/* ================================================================
   Editors' Choice Application — Luxury Bright & Luminous Theme
   State-of-the-art Web Aesthetics with Multi-Library Dynamic Motion
   ================================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

/* ── Design Tokens (Bright & Luminous) ── */
:root {
  /* Bright Accent Colors */
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;
  --primary-300: #93c5fd;
  --primary-400: #60a5fa;
  --primary-500: #3b82f6;
  --primary-600: #4f46e5;
  --primary-700: #4338ca;
  --primary-800: #3730a3;
  --primary-900: #1e1b4b;

  --accent-cyan: #06b6d4;
  --accent-teal: #0d9488;
  --accent-pink: #ec4899;
  --accent-rose: #f43f5e;
  --accent-purple: #8b5cf6;
  --accent-amber: #f59e0b;
  --accent-emerald: #10b981;

  /* Bright Backgrounds & Glassmorphism */
  --bg-main: #f8faff;
  --bg-secondary: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --bg-glass: rgba(255, 255, 255, 0.78);
  --bg-glass-heavy: rgba(255, 255, 255, 0.9);

  /* Borders */
  --border-light: rgba(226, 232, 240, 0.85);
  --border-glass: rgba(255, 255, 255, 0.95);
  --border-glow: rgba(79, 70, 229, 0.25);

  /* Typography / Text Colors */
  --text-main: #0f172a;       /* Deep Slate 900 */
  --text-muted: #475569;      /* Slate 600 */
  --text-subtle: #64748b;     /* Slate 500 */
  --text-light: #94a3b8;      /* Slate 400 */

  /* Vibrant Luxury Gradients */
  --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #3b82f6 50%, #06b6d4 100%);
  --gradient-accent: linear-gradient(135deg, #ec4899 0%, #8b5cf6 50%, #4f46e5 100%);
  --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  --gradient-text: linear-gradient(135deg, #3730a3 0%, #4f46e5 35%, #06b6d4 70%, #ec4899 100%);
  --gradient-badge: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
  --gradient-button: linear-gradient(135deg, #4f46e5 0%, #6366f1 50%, #06b6d4 100%);
  --gradient-button-hover: linear-gradient(135deg, #4338ca 0%, #4f46e5 50%, #0891b2 100%);

  /* Premium Multi-Layer Shadows for Light Background */
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-md: 0 8px 16px -4px rgba(15, 23, 42, 0.06), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 18px 30px -6px rgba(79, 70, 229, 0.08), 0 8px 12px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(79, 70, 229, 0.15), 0 12px 24px -8px rgba(6, 182, 212, 0.1);
  --shadow-glow: 0 0 35px rgba(79, 70, 229, 0.22);
  --shadow-glow-pink: 0 0 35px rgba(236, 72, 153, 0.22);

  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --space-4xl: 6.5rem;

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-full: 9999px;

  /* Layout */
  --container-max: 1240px;
  --header-height: 80px;
}

/* ── Reset & Base ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.08) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(6, 182, 212, 0.08) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(236, 72, 153, 0.04) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(139, 92, 246, 0.07) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(16, 185, 129, 0.05) 0px, transparent 50%);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* Subtle Animated Grid Overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-size: 36px 36px;
  background-image: 
    linear-gradient(to right, rgba(99, 102, 241, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(99, 102, 241, 0.035) 1px, transparent 1px);
  pointer-events: none;
  z-index: 0;
}

/* Background Glowing Aurora Orbs */
.bg-orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.65;
  animation: orbDrift 22s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

.orb:nth-child(1) {
  top: -10%;
  left: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(192, 132, 252, 0.15) 60%, transparent 80%);
  animation-duration: 20s;
}

.orb:nth-child(2) {
  top: 20%;
  right: -8%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.22) 0%, rgba(56, 189, 248, 0.12) 60%, transparent 80%);
  animation-duration: 26s;
  animation-delay: -5s;
}

.orb:nth-child(3) {
  bottom: 5%;
  left: 25%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.16) 0%, rgba(251, 191, 36, 0.12) 60%, transparent 80%);
  animation-duration: 24s;
  animation-delay: -10s;
}

@keyframes orbDrift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.08); }
  100% { transform: translate(-40px, 70px) scale(0.95); }
}

#particles-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

/* ── Typography & Gradients ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  font-weight: 800;
}

/* ── Common Container ── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-button);
  color: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.4), 0 4px 10px -2px rgba(6, 182, 212, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  background: var(--gradient-button-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 35px -6px rgba(79, 70, 229, 0.5), 0 6px 15px -2px rgba(6, 182, 212, 0.35);
  color: #ffffff;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: 0.75s ease;
}

.btn-primary:hover::after {
  left: 150%;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #ffffff;
  color: var(--primary-600);
  border-color: var(--primary-300);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
}

/* ═══════════════ HEADER ═══════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  transition: all 0.35s ease;
  display: flex;
  align-items: center;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.07);
  height: 72px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.logo:hover {
  transform: translateY(-1px);
}

.logo img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
  object-fit: cover;
  border: 2px solid #ffffff;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.company-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.company-abbr {
  font-size: 0.72rem;
  color: var(--text-subtle);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-600);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Language Selector */
.lang-selector {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-light);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  cursor: pointer;
}

.lang-btn:hover {
  background: #ffffff;
  border-color: var(--primary-300);
  box-shadow: var(--shadow-md);
}

.lang-btn svg {
  width: 14px;
  height: 14px;
  stroke: var(--text-subtle);
  transition: transform 0.25s ease;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 0.4rem;
  min-width: 160px;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 110;
  transform-origin: top right;
  animation: dropIn 0.2s ease forwards;
}

@keyframes dropIn {
  from { opacity: 0; transform: scale(0.95) translateY(-5px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.lang-dropdown.open {
  display: flex;
}

.lang-dropdown button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.85rem;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  text-align: left;
  transition: all 0.2s ease;
  width: 100%;
  cursor: pointer;
}

.lang-dropdown button:hover {
  background: var(--primary-50);
  color: var(--primary-600);
}

.lang-dropdown button.active {
  background: var(--primary-100);
  color: var(--primary-700);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 105;
}

.menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--text-main);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ═══════════════ HERO SECTION ═══════════════ */
.hero {
  position: relative;
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: var(--space-4xl);
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.15rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-700);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.1);
  margin-bottom: 1.5rem;
}

.hero-text h1 {
  font-size: 3.4rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.hero-text p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 540px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  width: 100%;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary-700);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-subtle);
  margin-top: 0.25rem;
}

/* Hero Visual / Phone Showcase */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-phone-mockup {
  position: relative;
  width: 350px;
  height: 680px;
  margin: 0 auto;
  user-select: none;
}

/* ── Interactive Swipe Hint Badge ── */
.phone-hint-badge {
  position: absolute;
  top: -42px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-full);
  padding: 0.35rem 1rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--primary-700);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.15);
  white-space: nowrap;
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  animation: pulseHint 3s infinite ease-in-out;
}

@keyframes pulseHint {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-3px); }
}

/* ── Apple iPhone 16 Pro Physical Hardware Titanium Buttons ── */
.phone-hardware-btn {
  position: absolute;
  background: linear-gradient(180deg, #717075 0%, #48474b 50%, #353438 100%);
  border-radius: 3px 0 0 3px;
  z-index: 5;
  box-shadow: inset -1px 0 1px rgba(255, 255, 255, 0.25), -2px 0 5px rgba(0, 0, 0, 0.4);
}

/* Action Button (Left Top) */
.hw-action {
  top: 115px;
  left: -5px;
  width: 5px;
  height: 28px;
  border-radius: 3px 0 0 3px;
}

/* Volume Up (Left Middle-High) */
.hw-vol-up {
  top: 160px;
  left: -5px;
  width: 5px;
  height: 52px;
  border-radius: 3px 0 0 3px;
}

/* Volume Down (Left Middle-Low) */
.hw-vol-down {
  top: 224px;
  left: -5px;
  width: 5px;
  height: 52px;
  border-radius: 3px 0 0 3px;
}

/* Side / Power Button (Right) */
.hw-power {
  top: 175px;
  right: -5px;
  width: 5px;
  height: 80px;
  border-radius: 0 3px 3px 0;
  box-shadow: inset 1px 0 1px rgba(255, 255, 255, 0.25), 2px 0 5px rgba(0, 0, 0, 0.4);
}

/* ── Real Apple iPhone 16 Pro Titanium Chassis Frame ── */
.phone-frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000000;
  border-radius: 54px;
  /* Natural Titanium Multi-layered Outer Bezel */
  border: 11px solid #1c1c1e;
  outline: 2.5px solid #8e8d92;
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 35px 85px -15px rgba(15, 23, 42, 0.4),
    0 15px 35px -8px rgba(79, 70, 229, 0.25),
    inset 0 0 0 2px #0a0a0c;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Speaker Ear-piece Micro-slit */
.phone-speaker-slit {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: #1e1e24;
  border-radius: 3px;
  z-index: 45;
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.8);
}

/* ── iOS 18 Status Bar & Dynamic Island ── */
.phone-status-bar {
  height: 48px;
  padding: 10px 1.35rem 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 800;
  color: #0f172a;
  position: relative;
  z-index: 40;
  flex-shrink: 0;
}

.phone-clock {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', var(--font-heading), sans-serif;
  letter-spacing: -0.01em;
  font-weight: 800;
  font-size: 0.85rem;
}

/* Apple Dynamic Island */
.dynamic-island {
  position: absolute;
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
  width: 116px;
  height: 29px;
  background: #000000;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.55rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  z-index: 50;
  transition: all 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dynamic-island:hover,
.dynamic-island.expanded {
  width: 220px;
  height: 38px;
  border-radius: 22px;
  padding: 0 0.85rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.island-camera {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #1e293b, #030712);
  box-shadow: inset 0 0 2px #38bdf8;
  flex-shrink: 0;
}

.island-content {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
}

.island-wave {
  display: flex;
  align-items: center;
  gap: 2.5px;
}

.island-wave span {
  width: 2px;
  height: 8px;
  background: #22d3ee;
  border-radius: 2px;
  animation: waveBar 1.2s ease-in-out infinite alternate;
}
.island-wave span:nth-child(2) { height: 13px; animation-delay: 0.2s; background: #818cf8; }
.island-wave span:nth-child(3) { height: 7px; animation-delay: 0.4s; background: #ec4899; }

@keyframes waveBar {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1.3); }
}

.island-text {
  font-size: 0.68rem;
  color: #f8fafc;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.phone-icons {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: #0f172a;
}

.ios-signal-5g {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Authentic iOS Battery Glyph */
.ios-battery {
  width: 22px;
  height: 11px;
  border: 1.5px solid #0f172a;
  border-radius: 3.5px;
  padding: 1px;
  position: relative;
  display: flex;
  align-items: center;
}

.ios-battery::after {
  content: '';
  position: absolute;
  right: -3.5px;
  top: 2.5px;
  width: 2px;
  height: 4px;
  background: #0f172a;
  border-radius: 0 1px 1px 0;
}

.ios-battery-level {
  width: 82%;
  height: 100%;
  background: #10b981;
  border-radius: 1.5px;
}

/* ── Swiper Container inside Phone Screen ── */
.phone-swiper {
  width: 100%;
  flex: 1;
  position: relative;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-slide {
  height: 100%;
  padding: 0.75rem 1rem 85px !important;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  overflow-y: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.phone-slide::-webkit-scrollbar { display: none; }

/* ── App Header Bar (iOS Style) ── */
.slide-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  flex-shrink: 0;
}

.slide-app-identity {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.slide-app-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
  flex-shrink: 0;
}
.slide-app-icon svg { width: 100%; height: 100%; display: block; }

.slide-app-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.slide-app-cat {
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--primary-600);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.slide-get-btn {
  background: #0f172a;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.15);
}
.slide-get-btn:hover {
  background: var(--primary-600);
  transform: scale(1.05);
}

/* ── Apple iOS Segmented Control (Pill Switcher) ── */
.ios-segmented-control {
  display: flex;
  background: rgba(226, 232, 240, 0.75);
  border-radius: 10px;
  padding: 2.5px;
  margin-bottom: 0.75rem;
  gap: 2px;
  flex-shrink: 0;
}

.seg-btn {
  flex: 1;
  padding: 0.35rem 0;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.seg-btn.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

/* ── Smart AI Tool Chips (iOS 18) ── */
.photos-tools-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 0.65rem;
  overflow-x: auto;
  scrollbar-width: none;
  flex-shrink: 0;
}
.photos-tools-row::-webkit-scrollbar { display: none; }

.p-tool-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  background: rgba(241, 245, 249, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.p-tool-chip:hover {
  background: #ffffff;
  color: #0f172a;
}
.p-tool-chip.active {
  background: #007aff;
  color: #ffffff;
  border-color: #007aff;
  box-shadow: 0 2px 6px rgba(0, 122, 255, 0.3);
}

/* ── Slide 1: Apple Photos Grid with Real Images ── */
.slide-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
  margin-bottom: 0.65rem;
}

.gallery-photo-card {
  height: 104px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 6px;
  background: #1e293b;
}

.gallery-photo-card:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
}

.photo-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  z-index: 1;
}

.gallery-photo-card:hover .photo-card-img {
  transform: scale(1.06);
}

.photo-overlay {
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
}

.photo-badge {
  font-size: 0.58rem;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.gallery-like-btn {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease;
  z-index: 3;
}
.gallery-like-btn:hover { transform: scale(1.15); }

.photo-caption {
  font-size: 0.65rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
  z-index: 3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.65) 100%);
  margin: -6px;
  padding: 8px 6px 4px;
}

/* AI Magic Action Bar */
.ios-action-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.55rem;
  background: linear-gradient(135deg, #4f46e5 0%, #8b5cf6 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 0.25rem;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.ios-action-bar:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.45);
}

/* ── Scrollable Photos Sections (Vuốt lên) ── */
.photos-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.9rem 0 0.45rem;
  flex-shrink: 0;
}

.psh-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: #0f172a;
}

.psh-action {
  font-size: 0.68rem;
  font-weight: 700;
  color: #007aff;
  cursor: pointer;
}

/* Featured Memories Card */
.memory-hero-card {
  position: relative;
  height: 135px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
  margin-bottom: 0.75rem;
  cursor: pointer;
  flex-shrink: 0;
  background: #1e293b;
}

.memory-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.memory-hero-card:hover .memory-card-img {
  transform: scale(1.05);
}

.memory-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.78) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px;
  color: #ffffff;
}

.memory-pill {
  font-size: 0.58rem;
  font-weight: 800;
  color: #fde047;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.memory-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 1px;
}

.memory-subtitle {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.85);
}

.memory-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  border: none;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.64rem;
  font-weight: 800;
  margin-top: 6px;
  align-self: flex-start;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  transition: transform 0.15s ease;
}
.memory-play-btn:hover {
  transform: scale(1.05);
  background: #ffffff;
}

/* Smart Collections Grid */
.photos-collections-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.65rem;
  flex-shrink: 0;
}

.collection-pill-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 7px 9px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.collection-pill-btn:hover {
  background: var(--primary-50);
  border-color: var(--primary-300);
  transform: translateX(2px);
}

.cp-icon {
  font-size: 0.85rem;
}

.cp-name {
  font-size: 0.68rem;
  font-weight: 700;
  color: #0f172a;
  flex: 1;
  margin: 0 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cp-count {
  font-size: 0.62rem;
  font-weight: 700;
  color: #94a3b8;
}

.photos-scroll-hint {
  text-align: center;
  font-size: 0.62rem;
  color: #94a3b8;
  font-weight: 700;
  padding: 4px 0 10px;
  flex-shrink: 0;
}



/* ── Slide 2: Apple Reminders ── */
.reminders-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.summary-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 0.5rem 0.55rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 52px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.summary-box:hover,
.summary-box.active {
  border-color: var(--primary-400);
  background: var(--primary-50);
}

.sb-header {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #475569;
}

.sb-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.sb-dot.blue { background: #3b82f6; }
.sb-dot.orange { background: #f97316; }
.sb-dot.green { background: #10b981; }

.sb-count {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.task-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.task-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.7rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.task-item:hover {
  border-color: var(--primary-300);
  transform: translateX(2px);
}

.task-checkbox {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  color: #ffffff;
}

.task-item.checked {
  background: #f8fafc;
  color: #94a3b8;
}
.task-item.checked .task-title {
  text-decoration: line-through;
  color: #94a3b8;
}
.task-item.checked .task-checkbox {
  background: #10b981;
  border-color: #10b981;
}

.task-details {
  display: flex;
  flex-direction: column;
  gap: 1px;
  overflow: hidden;
}

.task-title {
  font-size: 0.76rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.task-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.63rem;
  color: #64748b;
  font-weight: 600;
}

.dot-tag {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.dot-tag.red { background: #ef4444; }
.dot-tag.purple { background: #8b5cf6; }
.dot-tag.blue { background: #3b82f6; }
.dot-tag.green { background: #10b981; }

.ios-add-task-btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  border: none;
  color: var(--primary-600);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 0.45rem 0.25rem;
  cursor: pointer;
  margin-top: 0.2rem;
  transition: transform 0.15s ease;
}
.ios-add-task-btn:hover { transform: translateX(2px); }

/* ── Slide 3: Apple Music Player ── */
.apple-audio-badge {
  font-size: 0.65rem;
  font-weight: 800;
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
}

.music-cover-wrapper {
  margin: 0.4rem auto 0.25rem;
  display: flex;
  justify-content: center;
}

.music-cover {
  width: 125px;
  height: 125px;
  border-radius: 50%;
  background: 
    radial-gradient(circle, #2d3748 0%, #1a202c 30%, #0f172a 100%),
    repeating-radial-gradient(circle, transparent 0, transparent 4px, rgba(255,255,255,0.06) 4px, rgba(255,255,255,0.06) 5px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 12px 28px rgba(0, 0, 0, 0.3),
    0 0 0 5px #0f172a,
    0 0 0 7px rgba(99, 102, 241, 0.25);
  animation: spinVinyl 12s linear infinite;
}

@keyframes spinVinyl {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.vinyl-center-hole {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat;
  border: 4px solid #0f172a;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.5), 0 2px 6px rgba(0,0,0,0.25);
  position: relative;
  transition: background-image 0.3s ease;
}
.vinyl-center-hole::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #0f172a;
  box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.music-equalizer {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3.5px;
  height: 24px;
  margin: 0.35rem 0 0.5rem;
}

.eq-bar {
  width: 3.5px;
  background: linear-gradient(180deg, #ec4899, #8b5cf6);
  border-radius: 4px;
  height: 6px;
  transition: height 0.2s ease;
}

.playing .eq-bar:nth-child(1) { animation: eqAnim 0.7s infinite alternate; }
.playing .eq-bar:nth-child(2) { animation: eqAnim 0.9s infinite alternate 0.15s; }
.playing .eq-bar:nth-child(3) { animation: eqAnim 0.6s infinite alternate 0.3s; }
.playing .eq-bar:nth-child(4) { animation: eqAnim 1.1s infinite alternate 0.1s; }
.playing .eq-bar:nth-child(5) { animation: eqAnim 0.75s infinite alternate 0.25s; }
.playing .eq-bar:nth-child(6) { animation: eqAnim 0.85s infinite alternate 0.4s; }
.playing .eq-bar:nth-child(7) { animation: eqAnim 0.65s infinite alternate 0.2s; }

@keyframes eqAnim {
  0% { height: 5px; }
  100% { height: 22px; }
}

/* Scrubbable Scrubber Bar */
.music-scrubber-box {
  width: 100%;
  margin-bottom: 0.65rem;
}

.scrubber-bar {
  width: 100%;
  height: 4px;
  background: #e2e8f0;
  border-radius: 4px;
  position: relative;
  cursor: pointer;
}

.scrubber-fill {
  height: 100%;
  background: var(--primary-600);
  border-radius: 4px;
}

.scrubber-thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: #ffffff;
  border: 2px solid var(--primary-600);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.scrubber-times {
  display: flex;
  justify-content: space-between;
  font-size: 0.63rem;
  font-weight: 700;
  color: #94a3b8;
  margin-top: 3px;
}

/* Music Controls */
.music-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
}

.music-sub-btn {
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}
.music-sub-btn:hover { color: var(--primary-600); }

.music-step-btn {
  background: transparent;
  border: none;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease;
}
.music-step-btn:hover { transform: scale(1.15); }

.music-play-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #0f172a;
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.music-play-btn:hover {
  background: var(--primary-600);
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
}

/* ── Apple Music Interactive Playlist Section ── */
.music-playlist-section {
  margin-top: 0.95rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  display: flex;
  flex-direction: column;
}

.playlist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.55rem;
  padding: 0 0.15rem;
}

.ph-title-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ph-title {
  font-size: 0.76rem;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ph-badge {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-600);
}

.ph-quality {
  font-size: 0.62rem;
  font-weight: 700;
  color: #8b5cf6;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.2);
  padding: 1px 7px;
  border-radius: 6px;
}

.playlist-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.song-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.55rem;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.7);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.song-item:hover {
  background: #f8faff;
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateX(2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.song-item.active {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.09) 0%, rgba(236, 72, 153, 0.06) 100%);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.12);
}

.song-num-box {
  width: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  flex-shrink: 0;
}

.song-item.active .song-num {
  display: none;
}

.song-playing-bars {
  display: none;
  align-items: flex-end;
  gap: 1.5px;
  height: 12px;
}

.song-item.active .song-playing-bars {
  display: flex;
}

.song-playing-bars span {
  width: 2px;
  height: 4px;
  background: var(--primary-600);
  border-radius: 2px;
}

.song-item.active.playing .song-playing-bars span:nth-child(1) {
  animation: miniEq 0.6s infinite alternate;
}
.song-item.active.playing .song-playing-bars span:nth-child(2) {
  animation: miniEq 0.8s infinite alternate 0.15s;
}
.song-item.active.playing .song-playing-bars span:nth-child(3) {
  animation: miniEq 0.5s infinite alternate 0.3s;
}

@keyframes miniEq {
  0% { height: 3px; }
  100% { height: 12px; }
}

.song-thumb {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
  background: #1e293b;
}

.song-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.song-item:hover .song-thumb-img {
  transform: scale(1.08);
}

.song-info {
  flex: 1;
  min-width: 0;
}

.song-title {
  font-size: 0.76rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.song-item.active .song-title {
  color: var(--primary-600);
  font-weight: 800;
}

.song-artist {
  font-size: 0.65rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  margin-top: 1px;
}

.song-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
}

.song-badge {
  font-size: 0.56rem;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.05);
  color: #475569;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.song-item.active .song-badge {
  background: rgba(99, 102, 241, 0.12);
  color: var(--primary-700);
  border-color: rgba(99, 102, 241, 0.25);
}

.song-time {
  font-size: 0.62rem;
  font-weight: 600;
  color: #94a3b8;
}

/* ── Slide 4: Apple Passwords & Face ID Enclave ── */
.vault-container {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.faceid-scanner-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0.2rem auto 0.6rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 16px;
  transition: background 0.2s ease;
}
.faceid-scanner-box:hover {
  background: rgba(99, 102, 241, 0.05);
}

.faceid-icon-bracket {
  position: relative;
  width: 36px;
  height: 36px;
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
}

.faceid-scan-laser {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  top: 10%;
  animation: laserSweep 2s ease-in-out infinite alternate;
}

@keyframes laserSweep {
  0% { top: 15%; opacity: 0.4; }
  50% { opacity: 1; }
  100% { top: 85%; opacity: 0.4; }
}

.faceid-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #475569;
  margin-top: 5px;
}

.pin-display {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.pin-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid #cbd5e1;
  transition: all 0.2s ease;
}

.pin-dot.filled {
  background: var(--primary-600);
  border-color: var(--primary-600);
  transform: scale(1.15);
}

/* Authentic Apple iOS Numpad */
.numpad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  max-width: 220px;
  margin: 0 auto;
}

.numpad-btn {
  width: 52px;
  height: 52px;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(241, 245, 249, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.numpad-btn:hover {
  background: #ffffff;
  border-color: var(--primary-400);
  transform: scale(1.06);
}
.numpad-btn:active {
  background: var(--primary-100);
  transform: scale(0.94);
}

.np-num {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.np-alpha {
  font-size: 0.52rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.08em;
  margin-top: 1px;
}

.numpad-btn.np-special {
  color: var(--primary-600);
  font-size: 1rem;
}

/* Decrypted Vault View */
.vault-unlocked-state {
  animation: fadeIn 0.3s ease-out;
}

.vault-unlocked-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.vault-shield-badge {
  font-size: 0.68rem;
  font-weight: 800;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
}

.vault-relock-btn {
  background: #ef4444;
  color: #ffffff;
  border: none;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
}

.vault-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.vault-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
  box-shadow: var(--shadow-sm);
}

.vcr-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.vcr-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.vcr-icon.apple { background: #000; color: #fff; }
.vcr-icon.github { background: #24292e; color: #fff; }
.vcr-icon.key { background: #fef3c7; color: #d97706; }

.vcr-title {
  font-size: 0.74rem;
  font-weight: 700;
  color: #0f172a;
}
.vcr-user {
  font-size: 0.63rem;
  color: #64748b;
}

.vcr-status {
  font-size: 0.65rem;
  font-weight: 800;
  color: #10b981;
}

.vcr-copy-btn {
  background: var(--primary-50);
  border: 1px solid var(--primary-200);
  color: var(--primary-700);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.vcr-copy-btn:hover {
  background: var(--primary-600);
  color: #fff;
}

/* ── Apple iOS 18 Home Indicator Bar ── */
.phone-home-indicator {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 4.5px;
  background: #0f172a;
  border-radius: 100px;
  z-index: 90;
  pointer-events: none;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

/* ── Apple iOS Persistent Floating Bottom Tab Bar (Nổi lên trên) ── */
.phone-bottom-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  padding: 8px 0 18px 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.phone-bottom-nav .ios-tab-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  padding: 0 0.5rem;
}

.phone-bottom-nav .ios-tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #94a3b8;
  font-size: 0.65rem;
  font-weight: 700;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 3px 12px;
  border-radius: 12px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.phone-bottom-nav .ios-tab-item:hover {
  color: #475569;
  transform: translateY(-1px);
}

.phone-bottom-nav .ios-tab-item:active {
  transform: scale(0.92);
}

.phone-bottom-nav .ios-tab-item svg {
  width: 20px;
  height: 20px;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.phone-bottom-nav .ios-tab-item.active {
  color: #007aff;
}

.phone-bottom-nav .ios-tab-item.active svg {
  transform: scale(1.12);
  color: #007aff;
}


/* ═══════════════ SECTION COMMON ═══════════════ */
section {
  position: relative;
  z-index: 2;
  padding: var(--space-4xl) 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* ═══════════════ APPS SECTION ═══════════════ */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.app-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-lg);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
}

.app-card:hover {
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-xl), 0 0 25px rgba(79, 70, 229, 0.15);
  border-color: rgba(99, 102, 241, 0.35);
}

.app-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.app-badge.editors {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

.app-badge.top {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #b45309;
  border: 1px solid #fcd34d;
}

.app-badge.new {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  color: #15803d;
  border: 1px solid #86efac;
}

.app-card-header {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 1.25rem;
}

.app-icon {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.12), 0 4px 8px -2px rgba(15, 23, 42, 0.05);
  flex-shrink: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
}

.app-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.app-card:hover .app-icon {
  transform: translateY(-4px) scale(1.06) rotate(1deg);
  box-shadow: 0 18px 36px -4px rgba(79, 70, 229, 0.25), 0 0 20px rgba(6, 182, 212, 0.18);
}

.app-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.2rem;
}

.app-category {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-600);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.app-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.app-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: auto;
}

.app-store-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 0.8rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.app-store-btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.app-store-btn:hover {
  background: var(--primary-50);
  color: var(--primary-700);
  border-color: var(--primary-300);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ═══════════════ FEATURES SECTION ═══════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), 0 0 30px rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.3);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 24px -4px rgba(15, 23, 42, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.06);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  background: transparent;
  border: none;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 20px;
  filter: drop-shadow(0 6px 12px rgba(15, 23, 42, 0.1));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover .feature-icon {
  transform: translateY(-4px) scale(1.08) rotate(3deg);
  box-shadow: 0 16px 32px -4px rgba(99, 102, 241, 0.25);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ═══════════════ PRIVACY & SECURITY SECTIONS ═══════════════ */
.privacy-grid, .security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.privacy-card, .security-card {
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

.privacy-card:hover, .security-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(99, 102, 241, 0.3);
}

.privacy-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.privacy-card-header .icon, .security-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 0;
  box-shadow: 0 8px 20px -3px rgba(15, 23, 42, 0.12), 0 3px 8px -2px rgba(15, 23, 42, 0.06);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
  border: none;
}

.privacy-card:hover .icon,
.security-card:hover .security-icon {
  transform: translateY(-3px) scale(1.08) rotate(3deg);
  box-shadow: 0 14px 28px -4px rgba(99, 102, 241, 0.22);
}

.privacy-card-header .icon svg,
.security-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 18px;
  filter: drop-shadow(0 4px 10px rgba(15, 23, 42, 0.1));
}

/* Privacy Icon Accents */
.priv-collection {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 1px solid #bfdbfe;
  color: #2563eb;
}
.priv-usage {
  background: linear-gradient(135deg, #f5f3ff, #ede9fe);
  border: 1px solid #ddd6fe;
  color: #7c3aed;
}
.priv-storage {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border: 1px solid #a7f3d0;
  color: #059669;
}
.priv-rights {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1px solid #fde68a;
  color: #d97706;
}
.priv-cookies {
  background: linear-gradient(135deg, #fff1f2, #ffe4e6);
  border: 1px solid #fecdd3;
  color: #e11d48;
}
.priv-children {
  background: linear-gradient(135deg, #ecfeff, #cffafe);
  border: 1px solid #a5f3fc;
  color: #0891b2;
}

.security-icon {
  margin-bottom: 1.25rem;
}

/* Security Icon Accents */
.sec-encrypt {
  background: linear-gradient(135deg, #eef2ff, #e0e7ff);
  border: 1px solid #c7d2fe;
  color: #4f46e5;
  box-shadow: 0 6px 14px rgba(79, 70, 229, 0.15);
}
.sec-soc {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  border: 1px solid #a7f3d0;
  color: #059669;
  box-shadow: 0 6px 14px rgba(16, 185, 129, 0.15);
}
.sec-audit {
  background: linear-gradient(135deg, #ecfeff, #cffafe);
  border: 1px solid #a5f3fc;
  color: #0891b2;
  box-shadow: 0 6px 14px rgba(6, 182, 212, 0.15);
}
.sec-bounty {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1px solid #fde68a;
  color: #d97706;
  box-shadow: 0 6px 14px rgba(245, 158, 11, 0.15);
}
.sec-mfa {
  background: linear-gradient(135deg, #fdf2f8, #fce7f3);
  border: 1px solid #fbcfe8;
  color: #db2777;
  box-shadow: 0 6px 14px rgba(236, 72, 153, 0.15);
}
.sec-residency {
  background: linear-gradient(135deg, #f5f3ff, #ede9fe);
  border: 1px solid #ddd6fe;
  color: #7c3aed;
  box-shadow: 0 6px 14px rgba(124, 58, 237, 0.15);
}

.privacy-card h3, .security-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.privacy-card p, .security-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.privacy-date {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.92rem;
  color: var(--text-subtle);
}

.privacy-date strong {
  color: var(--primary-700);
  font-weight: 700;
}

/* Compliance Badges */
.compliance-section {
  margin-top: 3.5rem;
  text-align: center;
}

.compliance-section h3 {
  font-size: 1.35rem;
  margin-bottom: 1.75rem;
}

.compliance-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.compliance-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.compliance-badge:hover {
  border-color: var(--primary-300);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.compliance-badge .check {
  color: #10b981;
  font-weight: 800;
}

/* ═══════════════ SUPPORT & CONTACT ═══════════════ */
.support-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.support-tabs button {
  padding: 0.7rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  transition: all 0.25s ease;
  cursor: pointer;
}

.support-tabs button:hover {
  background: #ffffff;
  color: var(--primary-600);
}

.support-tabs button.active {
  background: var(--gradient-button);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 20px -4px rgba(79, 70, 229, 0.35);
}

.support-content {
  display: none;
}

.support-content.active {
  display: block;
  animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* FAQ List */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
}

.faq-toggle {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--primary-600);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open .faq-answer {
  max-height: 250px;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Contact Wrapper */
.contact-wrapper {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2.5rem;
}

.contact-form {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text-main);
  transition: all 0.25s ease;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-info {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.contact-info-item {
  display: flex;
  flex-direction: column;
}

.contact-info-item .label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-600);
  margin-bottom: 0.2rem;
}

.contact-info-item .value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

/* ═══════════════ FOOTER ═══════════════ */
.footer {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 4.5rem 0 2rem;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 1rem 0 1.5rem;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-50);
  color: var(--primary-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  transition: all 0.25s ease;
  border: 1px solid var(--primary-100);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.social-links a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}

.social-links a:hover {
  background: var(--primary-600);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(79, 70, 229, 0.35);
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col ul a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-col ul a:hover {
  color: var(--primary-600);
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--primary-500);
}

.newsletter-form button {
  padding: 0.7rem 1.15rem;
  background: var(--primary-600);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  transition: background 0.2s ease;
}

.newsletter-form button:hover {
  background: var(--primary-700);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-subtle);
}

/* ═══════════════ COOKIE BANNER & BACK TO TOP ═══════════════ */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 520px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-xl);
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transform: translateY(150%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.cookie-banner a {
  color: var(--primary-600);
  font-weight: 600;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
}

.cookie-actions button {
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
}

.cookie-actions .accept {
  background: var(--primary-600);
  color: #ffffff;
}

.cookie-actions .decline {
  background: var(--primary-50);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-button);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: bold;
  box-shadow: 0 10px 25px -4px rgba(79, 70, 229, 0.4);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 30px -4px rgba(79, 70, 229, 0.5);
}

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-text {
    align-items: center;
  }
  .hero-text p {
    max-width: 600px;
  }
  .apps-grid, .features-grid, .privacy-grid, .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-xl);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .hero-text h1 {
    font-size: 2.4rem;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .apps-grid, .features-grid, .privacy-grid, .security-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Ocean Toggle Button */
.ocean-toggle-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-full);
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-700);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.08);
  z-index: 99;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ocean-toggle-btn:hover {
  background: #ffffff;
  color: var(--primary-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.2);
}


/* ═══════════════ DEDICATED SUBPAGES (PRIVACY & SECURITY) ═══════════════ */
.page-hero {
  padding-top: calc(var(--header-height) + 2.5rem);
  padding-bottom: 3.5rem;
  background: linear-gradient(180deg, rgba(238, 242, 255, 0.6) 0%, rgba(248, 250, 255, 0) 100%);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-subtle);
  margin-bottom: 1.25rem;
}

.breadcrumbs a {
  color: var(--primary-600);
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.page-hero-inner {
  max-width: 820px;
}

.page-hero-inner h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.page-hero-inner p {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.page-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-subtle);
}

.page-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-full);
  font-weight: 700;
  color: var(--primary-700);
  box-shadow: var(--shadow-sm);
}

/* Page Layout with Sticky Sidebar */
.subpage-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3.5rem;
  padding: 4rem 0 6rem;
  align-items: flex-start;
}

.toc-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
}

.toc-title {
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary-700);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toc-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.toc-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  display: block;
}

.toc-link:hover, .toc-link.active {
  background: var(--primary-50);
  color: var(--primary-700);
  transform: translateX(4px);
}

/* Legal Content Body */
.legal-content {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.legal-section {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  scroll-margin-top: calc(var(--header-height) + 2rem);
}

.legal-section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.legal-num {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #4f46e5, #06b6d4);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

.legal-section h2 {
  font-size: 1.55rem;
  color: var(--text-main);
}

.legal-section p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.legal-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.legal-section ul li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.legal-section ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #10b981;
  font-weight: 800;
}

/* Callout Box */
.callout-box {
  background: linear-gradient(135deg, rgba(238, 242, 255, 0.9), rgba(240, 253, 250, 0.9));
  border-left: 4px solid var(--primary-600);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.callout-box h4 {
  font-size: 1.05rem;
  color: var(--primary-800);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.callout-box p {
  margin-bottom: 0;
  font-size: 0.93rem;
  color: var(--text-main);
}

/* Security Pillars / Architectures */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.pillar-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-300);
  box-shadow: var(--shadow-md);
}

.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 8px 18px -3px rgba(15, 23, 42, 0.1);
  transition: transform 0.3s ease;
  background: transparent;
  border: none;
}

.pillar-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 16px;
  filter: drop-shadow(0 4px 8px rgba(15, 23, 42, 0.1));
}

.pillar-card:hover .pillar-icon {
  transform: scale(1.08) rotate(3deg);
}

.pillar-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.pillar-card p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* Responsive for Subpage */
@media (max-width: 992px) {
  .subpage-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .toc-sidebar {
    position: relative;
    top: 0;
  }
  .pillar-grid {
    grid-template-columns: 1fr;
  }
  .page-hero-inner h1 {
    font-size: 2.5rem;
  }
}

