/* 
  ==========================================================================
  SMART PACKING PRO - Landing Page Styles
  ==========================================================================
  Pattern: App Store Style Landing + Scroll-Triggered Storytelling hybrid
  Style: Motion-Driven + Glassmorphism (dark hero, light body sections)
*/

/* ==========================================================================
   CSS Variables (Design Tokens)
   ========================================================================== */
:root {
  /* Colors */
  --primary: #0EA5E9;
  --primary-dark: #0284C7;
  --accent: #F97316;
  --accent-gold: #FBBF24;
  --bg-hero: #0A0E27;
  --bg-section: #F0F9FF;
  --bg-card: rgba(255, 255, 255, 0.08);
  --bg-card-light: rgba(255, 255, 255, 0.9);
  --text-primary: #0C4A6E;
  --text-on-dark: #F0F9FF;
  --text-muted: #475569;
  --border-glass: rgba(255, 255, 255, 0.15);
  --border-glass-light: rgba(12, 74, 110, 0.1);
  --green-success: #22C55E;

  /* Typography */
  --font-family: 'Plus Jakarta Sans', sans-serif;
  --text-hero: clamp(2.5rem, 6vw, 4.5rem);
  --text-h2: clamp(1.8rem, 4vw, 2.8rem);
  --text-h3: clamp(1.1rem, 2vw, 1.4rem);
  --text-body: 1rem;
  --text-small: 0.875rem;

  /* Spacing & Layout */
  --container-max-width: 1200px;
  --section-padding: 5rem 1.5rem;
  --nav-height: 80px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  color: var(--text-primary);
  background-color: var(--bg-section);
  line-height: 1.6;
  /* Prevent horizontal overflow on mobile from creating scroll confusion */
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  /* Prevent mobile browsers rubber-band / snap-back behaviour */
  overscroll-behavior-x: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

p, h1, h2, h3, h4, a, li, span {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-normal);
  pointer-events: auto;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

.logo,
.play-store-badge,
.footer-logo {
  pointer-events: auto;
}

.logo img,
.play-store-badge img,
.footer-logo img {
  pointer-events: auto;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1 {
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--text-h3);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

p {
  font-size: var(--text-body);
  margin-bottom: 1.5rem;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-gold { color: var(--accent-gold); }

/* ==========================================================================
   Layout & Components
   ========================================================================== */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-padding);
}

.section.dark {
  background-color: var(--bg-hero);
  color: var(--text-on-dark);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

.btn-accent {
  background-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.btn-accent:hover {
  background-color: #EA580C;
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid rgba(255,255,255,0.2);
  color: var(--text-on-dark);
}

.btn-outline:hover {
  border-color: var(--primary);
  background-color: rgba(14, 165, 233, 0.1);
}

.play-store-badge {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.play-store-badge:hover {
  transform: scale(1.05);
}

.play-store-badge img {
  height: 60px;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  background-color: #0A0E27;
}

.gradient-text {
  background: linear-gradient(135deg, #0EA5E9 0%, #F97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.badge-pro {
  background-color: rgba(251, 191, 36, 0.2);
  color: var(--accent-gold);
  border: 1px solid rgba(251, 191, 36, 0.5);
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 2rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.glass-card:hover {
  border-color: rgba(14, 165, 233, 0.4);
}

.glass-card-light {
  background: var(--bg-card-light);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass-light);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(12, 74, 110, 0.05);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.glass-card-light.hover-lift:hover {
  box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(10, 14, 39, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-on-dark);
}

.logo img {
  height: 36px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: rgba(240, 249, 255, 0.8);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: #fff;
}

.mobile-menu-btn {
  display: none;
  color: var(--text-on-dark);
  font-size: 1.5rem;
  padding: 0.25rem;
  border-radius: 8px;
  transition: background var(--transition-fast);
  z-index: 1010;
  position: relative;
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ── Mobile menu: open state ── */
@media (max-width: 768px) {
  /* Expand navbar height to accommodate dropdown */
  .navbar.menu-open {
    background: rgba(10, 14, 39, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    height: auto;
  }

  /* Show the nav links panel as a stacked dropdown */
  .navbar.menu-open .nav-links {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    padding: 0.5rem 1.5rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    animation: menuSlideDown 0.25s ease forwards;
  }

  .navbar.menu-open .nav-links li {
    width: 100%;
  }

  .navbar.menu-open .nav-links a {
    display: block;
    padding: 0.85rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(240, 249, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    width: 100%;
  }

  .navbar.menu-open .nav-links li:last-child a {
    border-bottom: none;
  }

  .navbar.menu-open .nav-links a:hover {
    color: var(--primary);
    padding-left: 0.5rem;
    transition: all 0.15s ease;
  }

  /* Show CTA button in mobile menu */
  .navbar.menu-open .nav-cta {
    display: block !important;
    padding: 0.75rem 1.5rem 1.25rem;
    width: 100%;
  }

  .navbar.menu-open .nav-cta .btn {
    width: 100%;
    justify-content: center;
  }

  /* Slide-down animation */
  @keyframes menuSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* nav-container must be flex-wrap to allow links panel below */
  .navbar.menu-open .nav-container {
    flex-wrap: wrap;
    height: auto;
    align-items: center;
    padding-top: 0;
  }
}

/* ==========================================================================
   Hero Section (S1)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

/* ===== Aurora Borealis Background Effect ===== */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  /* contain: layout+style ensures aurora bands CANNOT create
     overflow outside this box — critical for mobile scroll fix */
  contain: layout style;
  /* Deep vignette base so edges stay dark */
  background:
    radial-gradient(ellipse at 50% 110%, rgba(14, 165, 233, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 0% 100%, rgba(6, 182, 212, 0.06) 0%, transparent 50%);
}

/* Aurora band base */
.aurora-band {
  position: absolute;
  left: -30%;
  width: 160%;
  pointer-events: none;
  will-change: transform, opacity;
  border-radius: 50%;
  mix-blend-mode: screen;
  filter: blur(60px);
}

/* Band 1 — Teal / Cyan, sweeps from lower-left */
.aurora-1 {
  top: 5%;
  height: 260px;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(6, 182, 212, 0.0) 20%,
    rgba(6, 182, 212, 0.28) 40%,
    rgba(20, 184, 166, 0.22) 55%,
    rgba(6, 182, 212, 0.0) 75%,
    transparent 100%
  );
  animation: aurora-drift-1 18s ease-in-out infinite;
  animation-delay: 0s;
}

/* Band 2 — Emerald / Green, wider & slower */
.aurora-2 {
  top: 22%;
  height: 300px;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(16, 185, 129, 0.0) 15%,
    rgba(16, 185, 129, 0.20) 38%,
    rgba(52, 211, 153, 0.16) 58%,
    rgba(16, 185, 129, 0.0) 78%,
    transparent 100%
  );
  animation: aurora-drift-2 24s ease-in-out infinite;
  animation-delay: -6s;
}

/* Band 3 — Indigo / Purple, narrower, fast */
.aurora-3 {
  top: 40%;
  height: 200px;
  background: linear-gradient(
    108deg,
    transparent 0%,
    rgba(99, 102, 241, 0.0) 20%,
    rgba(139, 92, 246, 0.22) 42%,
    rgba(167, 139, 250, 0.15) 60%,
    rgba(99, 102, 241, 0.0) 78%,
    transparent 100%
  );
  animation: aurora-drift-3 14s ease-in-out infinite;
  animation-delay: -3s;
}

/* Band 4 — Blue accent, thin shimmer at top */
.aurora-4 {
  top: -2%;
  height: 180px;
  background: linear-gradient(
    95deg,
    transparent 0%,
    rgba(14, 165, 233, 0.0) 25%,
    rgba(56, 189, 248, 0.18) 48%,
    rgba(14, 165, 233, 0.12) 62%,
    rgba(14, 165, 233, 0.0) 80%,
    transparent 100%
  );
  animation: aurora-drift-4 20s ease-in-out infinite;
  animation-delay: -10s;
}

/* Keyframes — each band shifts horizontally + vertically with slight scale */
@keyframes aurora-drift-1 {
  0%   { transform: translateX(0%)   translateY(0px)  scaleY(1);   opacity: 0.85; }
  30%  { transform: translateX(8%)   translateY(18px) scaleY(1.06); opacity: 1; }
  60%  { transform: translateX(-5%)  translateY(-8px) scaleY(0.95); opacity: 0.7; }
  100% { transform: translateX(0%)   translateY(0px)  scaleY(1);   opacity: 0.85; }
}
@keyframes aurora-drift-2 {
  0%   { transform: translateX(0%)   translateY(0px)  scaleY(1);   opacity: 0.6; }
  25%  { transform: translateX(-10%) translateY(24px) scaleY(1.08); opacity: 0.9; }
  55%  { transform: translateX(6%)   translateY(-12px) scaleY(0.94); opacity: 0.65; }
  100% { transform: translateX(0%)   translateY(0px)  scaleY(1);   opacity: 0.6; }
}
@keyframes aurora-drift-3 {
  0%   { transform: translateX(0%)   translateY(0px)  scaleY(1);   opacity: 0.75; }
  40%  { transform: translateX(12%)  translateY(10px) scaleY(1.1);  opacity: 1; }
  70%  { transform: translateX(-8%)  translateY(-18px) scaleY(0.9); opacity: 0.55; }
  100% { transform: translateX(0%)   translateY(0px)  scaleY(1);   opacity: 0.75; }
}
@keyframes aurora-drift-4 {
  0%   { transform: translateX(0%)   translateY(0px)  scaleY(1);   opacity: 0.7; }
  35%  { transform: translateX(-6%)  translateY(14px) scaleY(1.05); opacity: 0.95; }
  65%  { transform: translateX(9%)   translateY(-6px) scaleY(0.96); opacity: 0.6; }
  100% { transform: translateX(0%)   translateY(0px)  scaleY(1);   opacity: 0.7; }
}

/* Reduced motion: freeze aurora */
@media (prefers-reduced-motion: reduce) {
  .aurora-band {
    animation: none !important;
  }
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(240, 249, 255, 0.8);
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.hero-cta-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  position: relative;
  width: 300px;
  border-radius: 40px;
  border: 8px solid #1a1f3c;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  z-index: 2;
  background: #000;
}

/* Float Animation */
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.float-device { animation: float 4s ease-in-out infinite; }




/* WOW Effect: Pulse */
@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(14, 165, 233, 0); }
  100% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0); }
}
.btn-pulse {
  animation: pulse-glow 2s infinite;
}

/* ==========================================================================
   Trust Bar (S2)
   ========================================================================== */
.trust-bar {
  background-color: #fff;
  border-bottom: 1px solid rgba(12, 74, 110, 0.05);
  padding: 2rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.trust-icon {
  font-size: 1.5rem;
  color: var(--primary);
}

.trust-title {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1.125rem;
}

.trust-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   Problem -> Solution (S3)
   ========================================================================== */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.checklist {
  margin-top: 2rem;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.checklist-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
}

.checklist-icon.bad {
  background-color: rgba(239, 68, 68, 0.1);
  color: #EF4444;
}

.checklist-icon.good {
  background-color: rgba(34, 197, 94, 0.1);
  color: var(--green-success);
}

.mockup-wrapper {
  position: relative;
  padding: 2rem;
}

.mockup-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
  z-index: -1;
}

/* ==========================================================================
   Features Bento (S4)
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.bento-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  padding: 0;
}

.bento-content {
  padding: 2rem;
  flex-grow: 1;
}

.bento-icon {
  display: inline-flex;
  padding: 0.75rem;
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary);
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.bento-image {
  margin-top: auto;
  border-top: 1px solid var(--border-glass);
  background: #111827;
  padding-top: 1.5rem;
  display: flex;
  justify-content: center;
  border-radius: 0 0 16px 16px;
}

.bento-image img {
  width: 70%;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -5px 15px rgba(0,0,0,0.3);
}

/* ==========================================================================
   Trip Genius AI Spotlight (S5)
   ========================================================================== */
.trip-genius-section {
  position: relative;
  overflow: hidden;
}

.trip-genius-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
}

.stack-mockup {
  position: relative;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.stack-mockup .phone-mockup {
  position: absolute;
  transition: transform var(--transition-normal);
}

.stack-mockup .phone-1 {
  transform: translateX(-60px) scale(0.9) rotate(-5deg);
  z-index: 1;
  opacity: 0.7;
}

.stack-mockup .phone-2 {
  transform: translateX(60px) scale(0.9) rotate(5deg);
  z-index: 1;
  opacity: 0.7;
}

.stack-mockup .phone-3 {
  z-index: 2;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.stack-mockup:hover .phone-1 { transform: translateX(-90px) scale(0.9) rotate(-8deg); opacity: 0.9; }
.stack-mockup:hover .phone-2 { transform: translateX(90px) scale(0.9) rotate(8deg); opacity: 0.9; }
.stack-mockup:hover .phone-3 { transform: translateY(-10px); }

/* ==========================================================================
   Screenshot Carousel (S6)
   ========================================================================== */
.carousel-container {
  margin-top: 3rem;
  position: relative;
  width: 100%;
  padding: 2rem 0;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  padding: 1rem 2rem 2rem 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.carousel-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.carousel-slide {
  width: 260px;
  flex-shrink: 0;
  scroll-snap-align: center;
  transition: transform var(--transition-normal);
}

.carousel-slide:hover {
  transform: scale(1.05);
}

.carousel-slide .phone-mockup {
  width: 100%;
  border-width: 6px;
  border-radius: 30px;
}

.carousel-caption {
  text-align: center;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}

/* ==========================================================================
   Security / Privacy (S7)
   ========================================================================== */
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.security-feature {
  text-align: center;
  padding: 2rem;
}

.security-icon {
  width: 64px;
  height: 64px;
  background: rgba(34, 197, 94, 0.1);
  color: var(--green-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.security-icon svg {
  width: 32px;
  height: 32px;
}

.security-images {
  display: flex;
  justify-content: center;
  gap: -40px; /* Overlap */
  margin-top: 4rem;
}

.security-images .phone-mockup {
  width: 250px;
  border-width: 6px;
}

.security-images .phone-mockup:first-child {
  transform: rotate(-5deg) translateY(20px);
  z-index: 1;
}

.security-images .phone-mockup:last-child {
  transform: rotate(5deg);
  z-index: 2;
}

/* ==========================================================================
   Pricing (S8)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 4rem auto 0;
}

.pricing-card {
  display: flex;
  flex-direction: column;
}

.pricing-header {
  text-align: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-glass-light);
  margin-bottom: 2rem;
}

.price-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.price-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.price-amount span {
  font-size: 1.25rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-card.pro {
  border: 2px solid var(--primary);
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(240,249,255,0.95) 100%);
  box-shadow: 0 15px 35px rgba(14, 165, 233, 0.15);
  transform: scale(1.02);
}

/* WOW Effect: Shiny Sweep on Pro Card */
.pricing-card.pro::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-20deg);
  animation: shine 4s infinite;
  pointer-events: none;
}

@keyframes shine {
  0% { left: -100%; }
  20% { left: 200%; }
  100% { left: 200%; }
}

.pricing-card.pro .price-title {
  color: var(--primary);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-features {
  flex-grow: 1;
  margin-bottom: 2rem;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.pricing-feature svg {
  color: var(--green-success);
  flex-shrink: 0;
}

.pricing-feature.disabled {
  color: var(--text-muted);
}
.pricing-feature.disabled svg {
  color: var(--text-muted);
}

.pricing-card .btn {
  width: 100%;
}

/* ==========================================================================
   Referral (S9)
   ========================================================================== */
.referral-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.step-card {
  text-align: center;
}

.step-number {
  width: 48px;
  height: 48px;
  background: rgba(249, 115, 22, 0.1);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 1.5rem;
}

.code-display {
  background: rgba(14, 165, 233, 0.1);
  border: 1px dashed var(--primary);
  padding: 1rem;
  border-radius: 8px;
  font-family: monospace;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-block;
  margin: 2rem 0;
  letter-spacing: 2px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: #050818;
  color: rgba(240, 249, 255, 0.6);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 32px;
  border-radius: 8px;
}

.footer-desc {
  max-width: 300px;
}

.footer-title {
  color: #fff;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

/* ==========================================================================
   Animations & Reveal System
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

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

.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }

.reveal-left.visible, .reveal-right.visible { transform: translateX(0); }

/* Disable animations for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
  :root {
    --text-hero: clamp(2rem, 5vw, 3.5rem);
  }

  .hero-container, .split-section {
    gap: 2rem;
  }
  
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-container, .split-section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual, .mockup-wrapper {
    order: -1;
  }
  
  .hero-ctas, .hero-cta-buttons, .checklist-item {
    align-items: center;
    justify-content: center;
    text-align: left;
  }
  
  .hero-subtitle {
    margin: 0 auto 2rem;
  }
  
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-grid, .security-grid, .pricing-grid, .referral-steps, .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .nav-links, .nav-cta {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .stack-mockup {
    height: 450px;
  }
  
  .stack-mockup .phone-1, .stack-mockup .phone-2 {
    display: none;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .btn, .play-store-badge {
    width: 100%;
  }
  
  .trust-grid {
    grid-template-columns: 1fr;
  }
}
