/* ===== DESIGN TOKENS ===== */
:root {
  /* Colors */
  --color-bg: #0a0a1a;
  --color-bg-secondary: #111128;
  --color-surface: rgba(255, 255, 255, 0.04);
  --color-surface-hover: rgba(255, 255, 255, 0.08);
  --color-glass: rgba(255, 255, 255, 0.06);
  --color-glass-border: rgba(255, 255, 255, 0.1);
  --color-text-primary: #f0f0f5;
  --color-text-secondary: #a0a0b8;
  --color-text-muted: #6a6a85;
  --color-accent: #6c63ff;
  --color-accent-glow: rgba(108, 99, 255, 0.35);
  --color-accent-secondary: #00d4aa;
  --color-accent-secondary-glow: rgba(0, 212, 170, 0.3);
  --color-gradient-start: #6c63ff;
  --color-gradient-end: #00d4aa;
  --color-card-bg: rgba(17, 17, 40, 0.7);
  --color-danger: #ff4d6a;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

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

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
  --shadow-glow: 0 0 60px var(--color-accent-glow);
  --shadow-glow-sm: 0 0 30px var(--color-accent-glow);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== ANIMATED BACKGROUND ===== */
.bg-aurora {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-aurora::before,
.bg-aurora::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  animation: aurora-drift 12s ease-in-out infinite alternate;
}

.bg-aurora::before {
  width: 600px;
  height: 600px;
  background: var(--color-accent);
  top: -200px;
  right: -100px;
}

.bg-aurora::after {
  width: 500px;
  height: 500px;
  background: var(--color-accent-secondary);
  bottom: -150px;
  left: -100px;
  animation-delay: -6s;
}

.bg-aurora-extra {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.2;
  background: linear-gradient(135deg, #ff6b9d, #c44dff);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: aurora-pulse 8s ease-in-out infinite alternate;
}

@keyframes aurora-drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, 30px) scale(1.1); }
  100% { transform: translate(30px, -20px) scale(0.95); }
}

@keyframes aurora-pulse {
  0% { opacity: 0.15; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1.2); }
}

/* ===== GRID OVERLAY ===== */
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ===== NAVIGATION ===== */
/* ===== NAV BASE ===== */
.nav {
  position: fixed;
  inset: 0 auto auto 0;
  width: 100%;
  z-index: 100;
  padding: 1rem 2rem;
  transition: 0.4s ease;
}

.nav.scrolled {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10, 10, 26, 0.8);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}


/* ===== INNER ===== */
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ===== BRAND ===== */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: white;
  text-decoration: none;
  z-index: 2000;
}

.nav-logo {
  width: 36px;
  height: 36px;
}

/* ===== HAMBURGER ===== */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2000;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: white;
  transition: 0.3s;
}

/* ANIMATION */
.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== FULLSCREEN OVERLAY ===== */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 26, 0.98);
  backdrop-filter: blur(25px);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);

  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1500;
}

.nav-overlay.open {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

/* ===== CLOSE BUTTON ===== */
.nav-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease 0.1s, color 0.2s ease;
}

.nav-overlay.open .nav-close {
  opacity: 1;
}

.nav-close:hover {
  color: var(--color-accent);
}

.nav-close svg {
  width: 28px;
  height: 28px;
}

/* ===== NAV LINKS ===== */
.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.nav-links a {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  text-decoration: none;

  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

/* STAGGER */
.nav-overlay.open .nav-links a {
  opacity: 1;
  transform: translateY(0);
}

.nav-overlay.open li:nth-child(1) a { transition-delay: 0.1s; }
.nav-overlay.open li:nth-child(2) a { transition-delay: 0.15s; }
.nav-overlay.open li:nth-child(3) a { transition-delay: 0.2s; }
.nav-overlay.open li:nth-child(4) a { transition-delay: 0.25s; }
.nav-overlay.open li:nth-child(5) a { transition-delay: 0.3s; }
.nav-overlay.open li:nth-child(6) a { transition-delay: 0.35s; }

/* ===== DESKTOP ===== */
@media (min-width: 768px) {

  .nav-hamburger {
    display: none;
  }

  .nav-overlay {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: none;
    backdrop-filter: none;
    height: auto;
  }

  .nav-links {
    flex-direction: row;
    gap: 1.5rem;
  }

  .nav-links a {
    font-size: 0.9rem;
    opacity: 1;
    transform: none;
    color: #aaa;
  }

  .nav-links a:hover {
    color: white;
  }
}

/* ===== MAIN CONTENT ===== */
.main-content {
  position: relative;
  z-index: 1;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4xl) var(--space-xl) var(--space-3xl);
  text-align: center;
}

.hero-content {
  max-width: 800px;
  will-change: transform, opacity;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  background: var(--color-glass);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--color-accent-secondary);
  font-weight: 500;
  margin-bottom: var(--space-xl);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--color-accent-secondary);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto var(--space-2xl);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

/* ===== HERO ANIMATIONS ===== */
.animate-fade-in {
  opacity: 0;
  animation: anim-fade-in 0.8s ease-out forwards;
}

.animate-fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: anim-fade-in-up 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 0.15s !important; }
.delay-2 { animation-delay: 0.3s !important; }
.delay-3 { animation-delay: 0.45s !important; }

@keyframes anim-fade-in {
  to { opacity: 1; }
}

@keyframes anim-fade-in-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== BUTTONS ===== */
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-spring);
  position: relative;
  overflow: hidden;
}

.btn-store::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: 0.5s;
}

.btn-store:hover::before {
  left: 100%;
}

.btn-store--google {
  background: linear-gradient(135deg, var(--color-gradient-start), #8b5cf6);
  color: white;
  box-shadow: 0 4px 24px var(--color-accent-glow);
}

.btn-store--google:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 40px var(--color-accent-glow);
}

.btn-store--apple {
  background: var(--color-glass);
  border: 1px solid var(--color-glass-border);
  color: var(--color-text-primary);
  backdrop-filter: blur(10px);
}

.btn-store--apple:hover {
  background: var(--color-surface-hover);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.1);
}

.btn-store--official {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.btn-store--official::before {
  display: none;
}

.btn-store--official:hover {
  background: transparent !important;
  transform: translateY(-3px) scale(1.05);
  box-shadow: none !important;
}

.btn-store--official img {
  display: block;
  transition: filter 0.3s ease;
}

.btn-store--official:hover img {
  filter: brightness(1.1);
}

.btn-store .store-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-store .store-icon svg {
  width: 100%;
  height: 100%;
}

.btn-store .store-label {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}

.btn-store .store-label small {
  font-size: 0.65rem;
  font-weight: 400;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.btn-store .store-label span {
  font-size: 1rem;
  font-weight: 600;
}

.section {
  padding: var(--space-4xl) 0;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== FEATURE CARDS ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.feature-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: var(--transition-spring);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(108, 99, 255, 0.3);
  box-shadow: var(--shadow-glow-sm);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.15), rgba(0, 212, 170, 0.1));
  border: 1px solid rgba(108, 99, 255, 0.2);
  transition: transform var(--transition-spring), background var(--transition-smooth), box-shadow var(--transition-smooth);
}

.feature-card:hover .feature-icon {
  transform: scale(1.15) rotate(8deg);
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.25), rgba(0, 212, 170, 0.2));
  box-shadow: 0 10px 25px rgba(108, 99, 255, 0.25);
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}

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

/* ===== STATS SECTION ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-lg);
}

.stat-item {
  text-align: center;
  padding: var(--space-xl);
  background: var(--color-card-bg);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  transition: var(--transition-spring);
}

.stat-item:hover {
  transform: translateY(-4px);
  border-color: rgba(108, 99, 255, 0.25);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  transition: transform var(--transition-spring), filter var(--transition-smooth);
  display: inline-block;
}

.stat-item:hover .stat-number {
  transform: scale(1.15);
  filter: drop-shadow(0 0 12px var(--color-accent-glow));
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-top: var(--space-xs);
}

/* ===== PLATFORM TABS ===== */
.platform-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
}

.platform-tab {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-xl);
  background: var(--color-glass);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-full);
  color: var(--color-text-secondary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-spring);
}

.platform-tab:hover {
  background: var(--color-surface-hover);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--color-text-primary);
}

.platform-tab.active {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.2), rgba(0, 212, 170, 0.1));
  border-color: var(--color-accent);
  color: var(--color-text-primary);
}

.tab-svg-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ===== SCREENSHOT GALLERY ===== */
.section--no-pad-bottom {
  padding-bottom: 0;
}

.gallery-wrap {
  display: none;
  position: relative;
  width: 100%;
  padding-bottom: var(--space-3xl);
}

.gallery-wrap.active {
  display: block;
}

.gallery-track {
  display: flex;
  gap: var(--space-lg);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding: var(--space-xl) 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-slide {
  flex: 0 0 auto;
  transition: transform var(--transition-smooth), opacity var(--transition-smooth);
}

.gallery-slide img {
  height: 560px;
  width: auto;
  max-width: none;
  border-radius: var(--radius-lg);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: transform var(--transition-spring), box-shadow var(--transition-smooth);
  display: block;
}

.gallery-slide img:hover {
  transform: translateY(-8px) scale(1.03) rotate(-1deg);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.15),
    0 0 40px var(--color-accent-glow);
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  z-index: 1;
  padding: var(--space-3xl) var(--space-xl) var(--space-xl);
  border-top: 1px solid var(--color-glass-border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-3xl);
}

.footer-brand p {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  margin-top: var(--space-md);
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: var(--space-sm);
}

.footer-col a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

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

.footer-bottom {
  max-width: 1100px;
  margin: var(--space-2xl) auto 0;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-bottom a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-bottom a:hover {
  color: var(--color-text-secondary);
}

/* ===== POLICY / CONTENT PAGES ===== */
.page-content {
  padding: calc(80px + var(--space-3xl)) var(--space-xl) var(--space-3xl);
}

.page-content-inner {
  max-width: 800px;
  margin: 0 auto;
}

.page-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-sm);
  line-height: 1.15;
}

.page-content .page-date {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: var(--space-2xl);
}

.page-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-glass-border);
}

.page-content h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.page-content h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.page-content p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
  font-size: 1rem;
  line-height: 1.75;
}

.page-content ul, .page-content ol {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}

.page-content li {
  margin-bottom: var(--space-sm);
  line-height: 1.65;
}

.page-content a {
  color: var(--color-accent);
  text-decoration: none;
  transition: var(--transition-fast);
}

.page-content a:hover {
  color: var(--color-accent-secondary);
  text-decoration: underline;
}

.page-content .info-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin: var(--space-lg) 0;
}

.page-content .info-card p {
  margin-bottom: var(--space-sm);
}

.page-content .info-card p:last-child {
  margin-bottom: 0;
}

.page-content .steps-list {
  list-style: none;
  padding: 0;
  counter-reset: steps;
}

.page-content .steps-list li {
  counter-increment: steps;
  position: relative;
  padding-left: 50px;
  margin-bottom: var(--space-lg);
}

.page-content .steps-list li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: white;
}

.page-content .highlight-box {
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(0, 212, 170, 0.05));
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-lg);
  margin: var(--space-lg) 0;
}

.page-content .highlight-box p {
  margin-bottom: 0;
}

.page-content .data-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-lg) 0;
}

.page-content .data-table th,
.page-content .data-table td {
  text-align: left;
  padding: var(--space-md);
  border-bottom: 1px solid var(--color-glass-border);
  font-size: 0.95rem;
}

.page-content .data-table th {
  color: var(--color-text-primary);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.page-content .data-table td {
  color: var(--color-text-secondary);
}

/* ===== 404 PAGE ===== */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl);
}

.error-page h1 {
  font-family: var(--font-heading);
  font-size: 8rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-md);
}

.error-page h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.error-page p {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
  color: white;
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-spring);
}

.btn-back:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Staggered delays for cards */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 768px) {
  /* Reduce GPU-expensive aurora on mobile */
  .bg-aurora::before {
    width: 280px;
    height: 280px;
    filter: blur(60px);
  }

  .bg-aurora::after {
    width: 240px;
    height: 240px;
    filter: blur(50px);
  }

  .bg-aurora-extra {
    width: 180px;
    height: 180px;
    filter: blur(50px);
  }

  .nav-brand {
    position: relative;
    z-index: 1100;
  }

  .nav-links {
    gap: var(--space-2xl);
  }

  .nav-links a {
    font-size: 1.8rem;
    color: var(--color-text-primary);
  }

  .nav-hamburger {
    display: flex;
    position: relative;
    z-index: 1100;
  }

  .nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .nav-hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
  }

  .nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-slide img {
    height: 440px;
  }

  .gallery-track {
    padding: var(--space-md) var(--space-xl);
    gap: var(--space-md);
  }

  .gallery-wrap::before,
  .gallery-wrap::after {
    width: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .stats-row {
    grid-template-columns: 1fr;
  }

  .gallery-slide img {
    height: 360px;
  }

  .gallery-track {
    padding: var(--space-md) var(--space-lg);
    gap: var(--space-sm);
  }

  .gallery-wrap::before,
  .gallery-wrap::after {
    width: 24px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.6rem;
  }
}

/* Return to Top Button */
.return-to-top {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--color-accent);
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px var(--color-accent-glow);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), visibility 0.4s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    border: none;
    outline: none;
}

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

.return-to-top:hover {
    background-color: var(--color-accent-secondary);
    box-shadow: 0 12px 32px var(--color-accent-secondary-glow);
    transform: translateY(-4px) scale(1.05);
}

.return-to-top:active {
    transform: translateY(0) scale(0.95);
    box-shadow: var(--shadow-glow-sm);
}

.return-to-top svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    transition: transform 0.3s ease;
}

.return-to-top:hover svg {
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .return-to-top {
        bottom: var(--space-md);
        right: var(--space-md);
        width: 48px;
        height: 48px;
    }
}

@media (prefers-reduced-motion: reduce) {
  .bg-aurora::before,
  .bg-aurora::after,
  .bg-aurora-extra {
    animation: none;
  }
}