/* ================================================
   YummBU Landing Page — Ultra-Premium Stylesheet
   Crafted for Mobile Excellence & Visual Brilliance
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Chelsea+Market&family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* ========== RESET & BASE ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Brand Colors */
  --primary: #F26522;
  --primary-dark: #D4551A;
  --primary-light: #FF8A50;
  --primary-glow: rgba(242, 101, 34, 0.35);

  /* Fresh Campus Green Accents */
  --accent-green: #10B981;
  --accent-green-dark: #059669;
  --accent-green-light: #ECFDF5;
  --accent-green-glow: rgba(16, 185, 129, 0.32);

  /* Neutrals */
  --dark: #121316;
  --dark-900: #0A0B0E;
  --dark-800: #18191E;
  --dark-700: #22252C;
  --cream: #FFF9F2;
  --cream-dark: #FEEDDB;
  --white: #FFFFFF;

  /* Text */
  --text-primary: #121316;
  --text-secondary: #4A4E57;
  --text-muted: #757B88;
  --text-light: #A0A6B2;

  /* Borders */
  --border: rgba(0, 0, 0, 0.08);
  --border-light: rgba(255, 255, 255, 0.1);

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.16);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Typography */
  --font-brand: 'Chelsea Market', cursive, system-ui, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --nav-height: 72px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  border: none;
  outline: none;
  cursor: pointer;
  font-family: inherit;
  background: none;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Accessibility Focus */
*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ========== PULSE DOT (Green & Orange) ========== */
.pulse-dot-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreenAnim 2s infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes pulseGreenAnim {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.pulse-dot-orange {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 0 rgba(242, 101, 34, 0.7);
  animation: pulseOrangeAnim 2s infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes pulseOrangeAnim {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(242, 101, 34, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(242, 101, 34, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(242, 101, 34, 0); }
}

/* ========== NAVBAR (Separate Top Header Section — Zero Video Overlap) ========== */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Translucent Frosted Glass on Scroll */
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

/* Nav Brand & Top Row */
.nav-top-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #F26522 0%, #FF7A38 100%);
  color: #FFFFFF !important;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(242, 101, 34, 0.38);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
}

.nav-cta-btn svg {
  width: 13px;
  height: 13px;
  transition: transform 0.2s ease;
}

.nav-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(242, 101, 34, 0.5);
  color: #FFFFFF !important;
}

.nav-cta-btn:hover svg {
  transform: translateX(2px);
}

.nav-cta-mobile {
  display: none !important;
}

.nav-cta-desktop {
  display: inline-flex !important;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-brand .brand-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.nav-brand .brand-wordmark {
  height: 25px;
  width: auto;
}

/* Nav Links — Pure Bold Charcoal Black Text (No Buttons / No Pills) */
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  padding: 6px 2px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #111827 !important; /* Charcoal black */
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  text-shadow: none !important;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
  position: relative;
  cursor: pointer;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2.5px;
  background: #111827;
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
  color: #111827 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  opacity: 0.85;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.navbar.scrolled .nav-links a {
  color: #111827 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
  color: #111827 !important;
}

/* ========== HERO SECTION (Starts Under Navbar — Zero Overlap) ========== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 40px 20px;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #2b1408; /* Warm food tone fallback prevents black flash */
}

/* Raw, Pure Video (All heavy filter effects removed) */
.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none !important;
}

/* Zero Dark/White Film Over Video (Effects Removed) */
.hero-overlay {
  display: none !important;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 16px;
  max-width: 860px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Title — Chelsea Market, Bold with Solid Black Border & Orange BU */
.hero-title {
  font-family: var(--font-brand);
  font-size: clamp(3.6rem, 15vw, 7.5rem);
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.05;
  margin-bottom: 14px;
  opacity: 1;
  animation: heroFadeUp 0.8s ease forwards 0.2s;
  user-select: none;
}

.title-yumm {
  color: #FFFFFF;
  -webkit-text-stroke: 4.5px #000000;
  text-stroke: 4.5px #000000;
  paint-order: stroke fill;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.95));
  text-shadow:
    -3px -3px 0 #000000,
     3px -3px 0 #000000,
    -3px  3px 0 #000000,
     3px  3px 0 #000000,
    -4px  0   0 #000000,
     4px  0   0 #000000,
     0   -4px 0 #000000,
     0    4px 0 #000000;
}

.title-bu {
  color: #F26522;
  -webkit-text-stroke: 4.5px #000000;
  text-stroke: 4.5px #000000;
  paint-order: stroke fill;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.95));
  text-shadow:
    -3px -3px 0 #000000,
     3px -3px 0 #000000,
    -3px  3px 0 #000000,
     3px  3px 0 #000000,
    -4px  0   0 #000000,
     4px  0   0 #000000,
     0   -4px 0 #000000,
     0    4px 0 #000000;
}

/* Hero Tagline — Rewritten Cleanly with Outline */
.hero-tagline {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: clamp(1.2rem, 4.4vw, 1.9rem);
  color: #FFFFFF;
  margin-bottom: 34px;
  letter-spacing: 0.8px;
  -webkit-text-stroke: 1.2px #000000;
  text-stroke: 1.2px #000000;
  paint-order: stroke fill;
  text-shadow:
    -1.5px -1.5px 0 #000,
     1.5px -1.5px 0 #000,
    -1.5px  1.5px 0 #000,
     1.5px  1.5px 0 #000,
     0 4px 16px rgba(0, 0, 0, 0.85);
  opacity: 1;
  animation: heroFadeUp 0.8s ease forwards 0.4s;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 42px;
  background: linear-gradient(135deg, #F26522, #E04E0B);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
  box-shadow: 0 6px 30px var(--primary-glow);
  opacity: 1;
  animation: heroFadeUp 0.8s ease forwards 0.6s;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-cta:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 40px var(--primary-glow);
}

.hero-cta svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.hero-cta:hover svg {
  transform: translateX(3px);
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== COMMON SECTION STYLES ========== */
.section {
  padding: 96px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
  background: rgba(242, 101, 34, 0.08);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.label-dot-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 6px var(--accent-green);
}

.label-dot-orange {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 6px var(--primary);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.section-title-black {
  color: #111827 !important;
  font-weight: 800;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.7;
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ========== DOWNLOAD SECTION ========== */
.download-section {
  background: var(--cream);
  position: relative;
}

.download-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 20% 40%, rgba(242, 101, 34, 0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 60%, rgba(16, 185, 129, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.download-header {
  text-align: center;
  margin-bottom: 44px;
}

/* Premium Download Header Chip */
.premium-download-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 22px;
  background: linear-gradient(135deg, rgba(242, 101, 34, 0.1), rgba(16, 185, 129, 0.1));
  border: 1px solid rgba(242, 101, 34, 0.22);
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(242, 101, 34, 0.08);
}

.premium-download-chip .chip-sparkle {
  font-size: 0.95rem;
}

.premium-download-chip .chip-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--primary);
}

.premium-download-chip .chip-dot {
  color: var(--text-light);
  font-size: 0.8rem;
}

.premium-download-chip .chip-desc {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-green-dark);
}

.download-header .section-subtitle {
  margin: 0 auto;
}

/* Platform Tabs */
.platform-tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 38px;
  background: var(--white);
  padding: 6px;
  border-radius: var(--radius-full);
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.platform-tab {
  flex: 1;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-muted);
  background: transparent;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.platform-tab.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.platform-tab:hover:not(.active) {
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.03);
}

.tab-icon-svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.tab-user-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  display: inline-block;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.platform-tab.active .tab-user-logo {
  filter: brightness(0) invert(1);
}

/* Steps Grid */
.platform-content {
  display: none;
}

.platform-content.active {
  display: block;
  animation: contentFade 0.4s ease;
}

@keyframes contentFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1040px;
  margin: 0 auto 52px;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(242, 101, 34, 0.2);
}

.step-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

/* Authentic Official Logo Icons */
.step-icon-authentic {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.step-card:hover .step-icon-authentic {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.official-logo-svg {
  width: 36px;
  height: 36px;
  display: block;
}

.official-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}

.dots-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
}

.step-icon-green {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-green);
}

.step-card:hover .step-icon-green {
  background: var(--accent-green);
  color: var(--white);
}

.step-badge {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(242, 101, 34, 0.09);
  color: var(--primary);
}

.step-badge-green {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-green-dark);
}

.step-card-success {
  border-color: rgba(16, 185, 129, 0.35);
  background: linear-gradient(180deg, #FFFFFF 0%, #F5FDF9 100%);
}

.step-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.step-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Official App Store & Google Play Badges (Clean, Direct Badges with No Outer Capsule) */
.download-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.download-badge-link {
  display: inline-block !important;
  line-height: 0;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  width: auto !important;
  max-width: none !important;
  border-radius: 0 !important;
  transition: transform 0.25s ease;
}

.download-badge-link:hover {
  transform: translateY(-2px) scale(1.02);
}

.store-badge-img {
  height: 52px;
  width: auto;
  display: block;
  border-radius: 9px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  transition: box-shadow 0.25s ease;
}

.download-badge-link:hover .store-badge-img {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.42);
}

/* Authentic iOS Web App Badge (Matches Google Play Badge Dimensions & Finish) */
.ios-webapp-badge {
  display: inline-flex !important;
  align-items: center;
  background: #000000 !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 9px !important;
  height: 52px;
  padding: 0 18px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-sizing: border-box;
  cursor: pointer;
}

.ios-webapp-badge:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.42);
  border-color: rgba(255, 255, 255, 0.5) !important;
}

.store-badge-inner {
  display: flex;
  align-items: center;
  gap: 11px;
}

.badge-apple-icon {
  width: 25px;
  height: 25px;
  fill: #FFFFFF;
  flex-shrink: 0;
}

.badge-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.badge-sub-text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.badge-main-text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.1;
  letter-spacing: -0.2px;
}

/* ========== APP & HOW IT WORKS SECTION (Merged Unified Section) ========== */
.app-section,
.app-nav-section {
  background: #FFFFFF;
  position: relative;
  overflow: hidden;
  padding: 100px 0 90px;
}

.app-nav-header {
  text-align: center;
  margin-bottom: 56px;
}

.app-nav-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.6vw, 1.85rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 6px;
  margin-bottom: 12px;
  letter-spacing: -0.4px;
}

.app-nav-header .section-subtitle {
  margin: 0 auto;
}

/* Part 1: How It Works Flow Wrap (Generous Separation) */
.how-flow-wrap {
  margin-bottom: 76px;
  padding-bottom: 20px;
}

/* Part 2: App Screens Showcase (Spacious & Non-Congested) */
.app-screens-showcase {
  max-width: 1200px;
  margin: 0 auto 52px;
  padding: 10px 0;
}

/* 4 Staggered Columns with Generous Column Gap */
.app-screens-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 36px;
  row-gap: 30px;
  align-items: start;
}

.app-screen-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

/* Staggered Offset for 2nd and 4th card (Matching About Video 2 Stagger) */
.app-screen-stagger {
  margin-top: 40px;
}

/* Screen Card — Rounded, Dark Border, Realistic Shadow (Identical to .about-video-card) */
.screen-video-style-card {
  width: 100%;
  max-width: 255px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: #121316;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  margin-bottom: 22px;
}

.screen-video-style-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 48px rgba(242, 101, 34, 0.22);
  border-color: rgba(242, 101, 34, 0.4);
}

.screen-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.screen-card-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 260px;
  padding: 0 6px;
}

.screen-card-step {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary);
  background: rgba(242, 101, 34, 0.08);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  display: inline-block;
}

.screen-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.38;
}

.screen-card-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* App Nav Closing Line */
.app-nav-closing {
  text-align: center;
  max-width: 680px;
  margin: 24px auto 0;
  padding: 30px 24px;
  background: linear-gradient(135deg, rgba(242, 101, 34, 0.06), rgba(16, 185, 129, 0.06));
  border-radius: 20px;
  border: 1px solid rgba(242, 101, 34, 0.15);
}

.app-nav-closing-title {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.app-nav-closing-tagline {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.app-nav-closing-tagline span {
  color: var(--text-primary);
}

/* ========== ABOUT SECTION ========== */
.about-section {
  background: var(--dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(242, 101, 34, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
}

.about-text .brand-name-display {
  font-family: var(--font-brand);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.15;
  color: #FFFFFF;
  letter-spacing: 0.5px;
}

.about-text .brand-name-display .y-letter {
  display: inline-block;
  font-style: normal;
  color: var(--primary);
  margin-right: 3px;
}

.about-text .brand-tagline {
  font-size: 1.05rem;
  color: var(--primary-light);
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 0.3px;
}

.about-text .about-paragraph {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.85;
  margin-bottom: 24px;
}

.about-text .about-paragraph em {
  font-style: italic;
  color: var(--primary-light);
  font-weight: 600;
}

.about-text .about-closing {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.6px;
}

/* About Video Cards */
.about-videos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 9 / 14;
  max-height: 330px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.about-video-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(242, 101, 34, 0.35);
}

.about-video-card:nth-child(2) {
  margin-top: 32px;
}

.about-video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== HOW IT WORKS ========== */
.how-section {
  background: var(--white);
  position: relative;
}

.how-header {
  text-align: center;
  margin-bottom: 60px;
}

.how-header .section-subtitle {
  margin: 0 auto;
}

.how-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 1040px;
  margin: 0 auto;
}

.how-step {
  flex: 1;
  max-width: 220px;
  text-align: center;
  padding: 0 12px;
}

.how-step-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  transition: var(--transition);
  border: 2px solid var(--cream-dark);
}

.how-step:hover .how-step-icon {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.08);
}

.how-step:hover .how-step-icon svg {
  color: var(--white);
}

.how-step-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
  transition: var(--transition);
}

/* Step 04 — Enjoy (Green Accent Theme) */
.how-step-green .how-step-icon {
  background: var(--accent-green-light);
  border-color: rgba(16, 185, 129, 0.25);
}

.how-step-green .how-step-icon svg {
  color: var(--accent-green-dark);
}

.how-step-green:hover .how-step-icon {
  background: var(--accent-green);
  border-color: var(--accent-green);
}

.how-step-num {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: 1.2px;
}

.how-step-num-green {
  color: var(--accent-green-dark);
}

.how-step h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.how-step p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.how-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  padding-top: 22px;
  color: var(--text-light);
  flex-shrink: 0;
}

.how-arrow svg {
  width: 22px;
  height: 22px;
}

.how-closing {
  text-align: center;
  margin-top: 56px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

/* ========== SHOWCASE MID SECTION (D:\landing\ass\mid.png) ========== */
.showcase-mid-section {
  padding: 48px 0 60px;
  background: var(--dark-900);
}

.showcase-mid-card {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #111827;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-mid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  border-color: rgba(242, 101, 34, 0.4);
}

.showcase-mid-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ========== FOOTER — ULTRA-PREMIUM 3-COLUMN ARCHITECTURE ========== */
.footer {
  background: var(--dark-900);
  color: rgba(255, 255, 255, 0.65);
  position: relative;
  overflow: hidden;
  padding-top: 60px;
}

.footer-glow-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, var(--primary) 35%, var(--accent-green) 65%, transparent 95%);
  box-shadow: 0 0 16px var(--primary-glow);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-row .brand-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.footer-logo-row .brand-wordmark {
  height: 24px;
  width: auto;
}

.footer-brand-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
  max-width: 320px;
}

/* 3-Column Footer Grid: Explore, Legal & Trust, Contact & Support */
.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr;
  gap: 36px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.80rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 18px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.footer-nav-list li {
  margin-bottom: 12px;
}

.footer-nav-list a {
  display: inline-block;
  font-size: 0.90rem;
  color: rgba(255, 255, 255, 0.72);
  transition: all 0.2s ease;
  text-decoration: none;
}

.footer-nav-list a:hover {
  color: #FFFFFF;
  transform: translateX(3px);
}

/* Column 3: Contact & Support (Merged inside Footer) */
.footer-contact-col {
  display: flex;
  flex-direction: column;
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
  margin-bottom: 12px;
}

.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #C8D6CE;
  text-decoration: none;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease, opacity 0.2s ease;
  opacity: 0.88;
}

.footer-social-icon svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: currentColor;
  transition: transform 0.22s ease, fill 0.2s ease;
}

.footer-social-icon:hover {
  color: #FFFFFF;
  opacity: 1;
  transform: translateY(-2px) scale(1.12);
}

.footer-social-icon:hover svg {
  fill: #FFFFFF;
}

.footer-email-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s ease;
  word-break: break-all;
}

.footer-email-text:hover {
  color: var(--primary);
}

/* Security Strip */
.footer-security-strip {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.security-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.security-badge svg {
  width: 16px;
  height: 16px;
  fill: var(--accent-green);
  flex-shrink: 0;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
  padding: 22px 0 28px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.38);
}

/* ========== COOKIE BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(10, 11, 14, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--white);
  padding: 18px 0;
  transform: translateY(100%);
  transition: var(--transition-slow);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 260px;
}

.cookie-text p {
  font-size: 0.86rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

.cookie-text a {
  color: var(--primary-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 9px 22px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.86rem;
  transition: var(--transition);
  cursor: pointer;
}

.cookie-accept {
  background: var(--primary);
  color: var(--white);
}

.cookie-accept:hover {
  background: var(--primary-dark);
}

.cookie-reject {
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-reject:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

/* ============================================================
   RESPONSIVE DESIGN (Mobile-First Perfection)
   ============================================================ */

/* Tablet (max 1024px) */
@media (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .app-screens-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .screen-video-style-card {
    max-width: 210px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-videos {
    max-width: 360px;
    margin: 0 auto;
  }

  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Medium Tablet & Small Laptop (max 900px) */
@media (max-width: 900px) {
  .how-arrow {
    display: none;
  }

  .how-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }

  .how-step {
    max-width: none;
  }

  /* 2x2 Staggered Grid for App Screens (Matching About 2-Video Cards) */
  .app-screens-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 560px;
    margin: 0 auto;
  }

  .app-screen-stagger {
    margin-top: 28px;
  }

  .screen-video-style-card {
    max-width: 240px;
  }
}

/* Mobile (max 768px) — 2-Row Header Matching Hand-Drawn Sketch */
/* Mobile (max 768px) — Separate 2-Row Header Section (Zero Video Overlap) */
@media (max-width: 768px) {
  :root {
    --nav-height: 98px;
  }

  /* 2-Row Sticky Header Section Above Video */
  .navbar {
    position: sticky !important;
    top: 0;
    height: auto;
    min-height: 96px;
    background: #FFFFFF !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0;
    transition: background 0.3s ease, box-shadow 0.3s ease;
  }

  /* Soft Frosted Glass when scrolled */
  .navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07) !important;
  }

  .nav-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 8px;
    gap: 8px;
    height: auto;
  }

  /* Row 1: Brand on Left, Get Started CTA on Top-Right Corner (Above About Us) */
  .nav-top-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
  }

  .nav-cta-mobile {
    display: inline-flex !important;
    padding: 6px 14px !important;
    font-size: 0.74rem !important;
    letter-spacing: 0.4px;
    box-shadow: 0 3px 10px rgba(242, 101, 34, 0.35) !important;
  }

  .nav-cta-desktop {
    display: none !important;
  }

  .nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .nav-brand .brand-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
  }

  .nav-brand .brand-wordmark {
    height: 24px;
    width: auto;
    display: block !important;
  }

  /* Row 2: HOME  DOWNLOAD  ABOUT US (Horizontal row below logo) */
  .nav-links {
    display: flex !important;
    position: static !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 8px !important;
    padding: 0 !important;
    border: none !important;
    margin: 0 !important;
    background: none !important;
    box-shadow: none !important;
  }

  /* Pure Bold Charcoal Black Text (No Button / No Pill Look) */
  .nav-links a {
    flex: 1;
    text-align: center;
    padding: 6px 4px !important;
    font-size: 0.86rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #111827 !important; /* Charcoal black */
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    text-shadow: none !important;
    white-space: nowrap;
    transition: color 0.2s ease;
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: #111827 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    opacity: 0.85;
  }

  .navbar.scrolled .nav-links a {
    color: #111827 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  .navbar.scrolled .nav-links a:hover,
  .navbar.scrolled .nav-links a.active {
    color: #111827 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  /* Section Spacing */
  .section {
    padding: 68px 0;
  }

  /* Hero Section Mobile (Centered & Balanced — Starts Under Navbar) */
  .hero {
    min-height: calc(100vh - var(--nav-height));
    padding: 36px 16px;
  }

  .hero-title {
    font-size: clamp(3rem, 14vw, 4.6rem);
    letter-spacing: 0.5px;
    margin-bottom: 10px;
  }

  .hero-tagline {
    font-size: clamp(1.15rem, 4.8vw, 1.45rem);
    margin-bottom: 28px;
  }

  .hero-cta {
    padding: 15px 38px;
    font-size: 1.05rem;
  }

  /* Download Section Mobile */
  .platform-tabs {
    max-width: 320px;
    margin-bottom: 30px;
  }

  .platform-tab {
    padding: 10px 14px;
    font-size: 0.85rem;
  }

  .steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 36px;
  }

  .step-card {
    padding: 20px 14px;
  }

  .step-icon-wrap {
    width: 40px;
    height: 40px;
  }

  .step-icon-wrap svg {
    width: 20px;
    height: 20px;
  }

  .step-card h4 {
    font-size: 0.92rem;
  }

  .step-card p {
    font-size: 0.8rem;
  }

  /* Download Buttons Mobile (Direct Store Badges, No Outer Pill Container) */
  .download-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
    margin-bottom: 6px;
  }

  .download-badge-link {
    display: inline-block !important;
    width: auto !important;
    max-width: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
  }

  .store-badge-img {
    height: 48px;
    width: auto;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  }

  .ios-webapp-badge {
    height: 48px !important;
    padding: 0 14px !important;
    border-radius: 8px !important;
  }

  .badge-apple-icon {
    width: 22px !important;
    height: 22px !important;
  }

  .badge-sub-text {
    font-size: 7.5px !important;
  }

  .badge-main-text {
    font-size: 13.5px !important;
  }

  /* App & How It Works Section Mobile */
  .app-section,
  .app-nav-section {
    padding: 68px 0 52px;
  }

  .how-flow-wrap {
    margin-bottom: 48px;
  }

  .app-screens-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
    row-gap: 32px;
    max-width: 500px;
    margin: 0 auto;
  }

  .app-screen-stagger {
    margin-top: 24px;
  }

  .screen-video-style-card {
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  }

  .screen-card-title {
    font-size: 0.88rem;
    line-height: 1.35;
    margin-bottom: 6px;
  }

  .screen-card-desc {
    font-size: 0.78rem;
    line-height: 1.48;
  }

  .app-nav-closing {
    padding: 24px 16px;
    margin-top: 24px;
  }

  .app-nav-closing-tagline {
    font-size: 0.86rem;
    gap: 10px;
  }

  /* How it works Mobile */
  .how-steps {
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 300px;
    margin: 0 auto;
  }

  /* Showcase Mid Section Mobile */
  .showcase-mid-section {
    padding: 24px 0 40px;
  }

  .showcase-mid-card {
    border-radius: var(--radius-lg);
  }

  /* Footer Mobile — High-Class Professional 2-Column Links Grid + Clean Support */
  .footer {
    padding-top: 48px;
  }

  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 36px;
  }

  .footer-brand-box {
    align-items: flex-start;
    text-align: left;
  }

  .footer-brand-desc {
    max-width: 100%;
    font-size: 0.84rem;
  }

  /* Clean 2-Column Left-Aligned Grid for Explore & Legal */
  .footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
    text-align: left;
  }

  .footer-col {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
  }

  /* Contact column spans full width across both columns below */
  .footer-contact-col {
    grid-column: 1 / -1;
    margin-top: 8px;
  }

  .footer-heading {
    font-size: 0.74rem;
    letter-spacing: 1.2px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 12px;
  }

  .footer-nav-list li {
    margin-bottom: 10px;
  }

  .footer-nav-list a {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.72);
  }

  .footer-social-row {
    display: flex;
    align-items: center;
    gap: 16px;
    width: auto;
    margin-top: 4px;
    margin-bottom: 10px;
  }


  .security-badge {
    font-size: 0.74rem;
    padding: 8px 14px;
  }

  .cookie-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .cookie-actions {
    width: 100%;
    justify-content: center;
  }
}

/* Extra Small Phones (max 420px) */
@media (max-width: 420px) {
  .nav-container {
    padding: 8px 12px 6px;
    gap: 6px;
  }

  .nav-brand .brand-icon {
    width: 34px;
    height: 34px;
  }

  .nav-brand .brand-wordmark {
    height: 20px;
    display: block !important;
  }

  .nav-cta-mobile {
    padding: 5px 11px !important;
    font-size: 0.70rem !important;
    letter-spacing: 0.3px;
  }

  .nav-links {
    gap: 6px !important;
    justify-content: space-around !important;
  }

  .nav-links a {
    padding: 6px 8px !important;
    font-size: 0.80rem !important;
    letter-spacing: 0.4px;
    color: #111827 !important;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .app-screens-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 12px;
    row-gap: 28px;
  }

  .screen-video-style-card {
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
  }

  .screen-card-title {
    font-size: 0.82rem;
    line-height: 1.3;
  }

  .screen-card-desc {
    font-size: 0.72rem;
    line-height: 1.4;
  }

  .about-videos {
    grid-template-columns: 1fr;
    max-width: 240px;
  }

  .about-video-card:nth-child(2) {
    margin-top: 0;
  }

  .footer-social-row {
    grid-template-columns: 1fr;
  }
}

/* ========== LEGAL PAGES STYLES ========== */
.legal-page {
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 60px;
  min-height: 100vh;
}

.legal-page .container {
  max-width: 800px;
}

.legal-page h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.legal-page .legal-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.legal-page h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.legal-page h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.legal-page p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.legal-page ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 14px;
}

.legal-page li {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.legal-page a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page a:hover {
  color: var(--primary-dark);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 28px;
  transition: var(--transition-fast);
}

.legal-back:hover {
  gap: 10px;
}

.legal-back svg {
  width: 16px;
  height: 16px;
}
