/* =============================================================================
   NEARBY — HYPERLOCAL NEIGHBORHOOD SOCIAL NETWORK & ERRANDS
   Design System: Refined Modern Light Theme + Soft Slate Doodles Wallpaper
   Outfit Heading Typography + Plus Jakarta Sans Body Text, Pure SVGs, Polished UI
   ============================================================================= */

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

:root {
  /* Surface Tokens (Clean Light Theme) */
  --bg-main: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-alt: #f8fafc;
  --bg-input: #f1f5f9;

  /* Primary Brand Tokens */
  --emerald-primary: #10b981;
  --emerald-dark: #059669;
  --emerald-light: #34d399;
  --emerald-bg: #ecfdf5;
  --emerald-border: #a7f3d0;
  --emerald-glow: rgba(16, 185, 129, 0.15);

  --indigo-primary: #6366f1;
  --indigo-dark: #4f46e5;
  --indigo-light: #818cf8;
  --indigo-bg: #eef2ff;
  --indigo-border: #c7d2fe;

  --amber-primary: #d97706;
  --amber-light: #f59e0b;
  --amber-bg: #fffbeb;
  --amber-border: #fde68a;

  /* Typography Colors (High-Contrast for Impeccable Readability) */
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-light: #ffffff;

  /* Borders & Shadows */
  --border-subtle: #e2e8f0;
  --border-medium: #cbd5e1;

  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 8px -1px rgba(15, 23, 42, 0.05), 0 1px 4px -1px rgba(15, 23, 42, 0.02);
  --shadow-md: 0 10px 25px -4px rgba(15, 23, 42, 0.07), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 20px 40px -8px rgba(15, 23, 42, 0.1), 0 8px 16px -4px rgba(15, 23, 42, 0.03);

  /* Radius Tokens */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Modern Premium Typography */
  --font-heading: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  overflow-x: clip; /* clip does not break position: sticky */
  width: 100%;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
  overflow-x: clip; /* clip does not break position: sticky */
  min-height: 100vh;
  background-color: var(--bg-main);
}

/* Soft Slate Doodles Wallpaper Overlay (Visible yet Never Clashes with Text) */
.doodle-bg-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('assets/bg_doodles_light_soft.png');
  background-repeat: repeat;
  background-size: 540px auto;
  opacity: 0.13; /* Clean, subtle slate doodle strokes */
  pointer-events: none;
  z-index: 0;
}

/* Ambient Radial Glows */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.glow-1 {
  top: -100px;
  left: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.22) 0%, transparent 70%);
}

.glow-2 {
  top: 30%;
  right: -100px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, transparent 70%);
}

.glow-3 {
  bottom: 10%;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.16) 0%, transparent 70%);
}

/* -----------------------------------------------------------------------------
   CONTAINER & CORE TYPOGRAPHY
   ----------------------------------------------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section {
  padding: 85px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 50px;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--emerald-dark);
  background: var(--emerald-bg);
  border: 1px solid var(--emerald-border);
  padding: 5px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.section-tag.amber {
  color: var(--amber-primary);
  background: var(--amber-bg);
  border-color: var(--amber-border);
}

.section-tag.indigo {
  color: var(--indigo-dark);
  background: var(--indigo-bg);
  border-color: var(--indigo-border);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.section-desc {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.65;
}

.gradient-text {
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* -----------------------------------------------------------------------------
   BUTTONS
   ----------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
  border: none;
  line-height: 1.4;
}

.btn-primary {
  background: var(--emerald-primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

.btn-primary:hover {
  background: var(--emerald-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-outline {
  background: #ffffff;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
}

.btn-outline:hover {
  background: var(--bg-secondary);
  border-color: var(--border-medium);
  transform: translateY(-1px);
}

.btn-amber {
  background: var(--amber-light);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
}

.btn-amber:hover {
  background: var(--amber-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15.5px;
  border-radius: var(--radius-md);
}

/* -----------------------------------------------------------------------------
   SITE HEADER & NAVIGATION (SLEEK & COMPACT BAR WITH MAXIMIZED LOGO)
   ----------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 6px 0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
}

/* Maximized, Prominent Logo in Compact Bar */
.logo-icon-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  display: block;
  flex-shrink: 0;
  transform: scale(1.08);
  transform-origin: center left;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  line-height: 1;
}

/* Uniform, beautifully aligned tag pill */
.logo-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 2.5px 8px;
  background: var(--emerald-bg);
  color: var(--emerald-dark);
  border: 1px solid var(--emerald-border);
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 24px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
  padding: 6px 2px;
}

.nav-links a:hover {
  color: var(--emerald-dark);
}

.header-cta {
  display: flex;
  align-items: center;
}

/* Uniform Header Button */
.header-btn {
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: var(--emerald-primary);
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(16, 185, 129, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.header-btn:hover {
  background: var(--emerald-dark);
  transform: translateY(-1px);
}

/* -----------------------------------------------------------------------------
   HERO SECTION & BRAND MASTHEAD
   ----------------------------------------------------------------------------- */
.hero-section {
  padding: 60px 0 45px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Big Hero Brand Masthead */
/* Big Hero Brand Masthead */
.hero-brand-masthead {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.hero-logo-halo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-logo-halo::before {
  content: '';
  position: absolute;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.28) 0%, rgba(99, 102, 241, 0.15) 50%, transparent 75%);
  filter: blur(10px);
  z-index: 0;
  animation: haloPulse 4s ease-in-out infinite alternate;
}

@keyframes haloPulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.15); opacity: 1; }
}

.hero-logo-emblem {
  position: relative;
  z-index: 1;
  width: 88px;
  height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(16, 185, 129, 0.28));
  flex-shrink: 0;
  animation: emblemFloat 5s ease-in-out infinite alternate;
}

@keyframes emblemFloat {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-6px) rotate(-1.5deg); }
}

.hero-brand-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  background: var(--emerald-bg);
  border: 1px solid var(--emerald-border);
  border-radius: var(--radius-full);
  color: var(--emerald-dark);
  font-size: 12.5px;
  font-weight: 700;
  width: fit-content;
}

.hero-brand-sub {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.hero-subtitle {
  font-size: 16.5px;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 26px;
  max-width: 580px;
}

.hero-subtitle strong {
  color: var(--text-primary);
}

/* Social Community Chips (Pure SVG Icons) */
.hero-social-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: var(--shadow-xs);
}

.social-chip.emerald {
  border-color: var(--emerald-border);
  color: var(--emerald-dark);
  background: var(--emerald-bg);
}

.social-chip.amber {
  border-color: var(--amber-border);
  color: var(--amber-primary);
  background: var(--amber-bg);
}

.social-chip.indigo {
  border-color: var(--indigo-border);
  color: var(--indigo-dark);
  background: var(--indigo-bg);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.proof-item svg {
  color: var(--amber-primary);
}

.proof-item strong {
  color: var(--text-primary);
}

/* -----------------------------------------------------------------------------
   DUAL 3D PHONE SHOWCASE: POST A TASK & EARN/HELP (50/50 EQUAL PROMINENCE)
   ----------------------------------------------------------------------------- */
.device-showcase-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 540px;
}

/* Big Holographic 3D Logo Aura behind Deck */
.hero-holo-logo-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  pointer-events: none;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.holo-logo-watermark {
  width: 280px;
  height: 280px;
  object-fit: contain;
  opacity: 0.08;
  filter: blur(1px) drop-shadow(0 0 35px rgba(16, 185, 129, 0.4));
  animation: holoRotate 24s linear infinite;
}

@keyframes holoRotate {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.04); }
  100% { transform: rotate(360deg) scale(1); }
}

.mobile-perspective-switch {
  display: none;
}

.dual-phone-deck {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  position: relative;
  z-index: 1;
  width: 100%;
}

.phone-card-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
}

.phone-column-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--emerald-dark);
  background: #ffffff;
  border: 1px solid var(--emerald-border);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.phone-column-label.indigo {
  color: var(--indigo-dark);
  border-color: var(--indigo-border);
  background: #ffffff;
}

.phone-mockup-wrap {
  position: relative;
  width: 236px;
  height: 480px;
  background: #020617;
  border-radius: 36px;
  padding: 8px;
  box-shadow: 
    0 0 0 3px #334155,
    0 0 0 6px #0f172a,
    0 20px 45px -10px rgba(15, 23, 42, 0.35),
    0 0 30px rgba(16, 185, 129, 0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.phone-post-wrap {
  box-shadow: 
    0 0 0 3px #334155,
    0 0 0 6px #0f172a,
    0 20px 45px -10px rgba(15, 23, 42, 0.35),
    0 0 30px rgba(16, 185, 129, 0.18);
}

.phone-earn-wrap {
  box-shadow: 
    0 0 0 3px #334155,
    0 0 0 6px #0f172a,
    0 20px 45px -10px rgba(15, 23, 42, 0.35),
    0 0 30px rgba(99, 102, 241, 0.18);
}

.phone-mockup-wrap:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 
    0 0 0 3px #475569,
    0 0 0 6px #0f172a,
    0 25px 55px -10px rgba(15, 23, 42, 0.45),
    0 0 45px rgba(16, 185, 129, 0.25);
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 14px;
  background: #000000;
  border-radius: 8px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: #0f172a;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: opacity 0.25s ease;
}

/* Floating Clean Micro-Badges */
.floating-badge {
  position: absolute;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 8px 13px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 9px;
  z-index: 20;
  animation: floatCard 4s ease-in-out infinite alternate;
  white-space: nowrap;
}

.hero-post-badge {
  top: 12%;
  left: -24px;
  border-color: var(--emerald-border);
}

.hero-earn-badge {
  bottom: 12%;
  right: -24px;
  border-color: var(--amber-border);
  animation-delay: -2s;
}

@keyframes floatCard {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

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

.badge-icon.amber {
  background: var(--amber-bg);
  color: var(--amber-primary);
}

.badge-icon.success {
  background: var(--emerald-bg);
  color: var(--emerald-dark);
}

.badge-text-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.badge-text-sub {
  font-size: 10.5px;
  color: var(--text-secondary);
  line-height: 1.2;
}

/* Mockup Switcher Tabs */
.mockup-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.mockup-tab-btn {
  padding: 9px 16px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-xs);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.mockup-tab-btn:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.mockup-tab-btn.active {
  background: var(--emerald-bg);
  border-color: var(--emerald-border);
  color: var(--emerald-dark);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
}

/* -----------------------------------------------------------------------------
   BRAND SPOTLIGHT CARD: THE NEARBY HANDSHAKE (BIG PROMINENT LOGO CENTERPIECE)
   ----------------------------------------------------------------------------- */
.brand-symbol-section {
  padding: 30px 0 50px;
  position: relative;
  z-index: 1;
}

.brand-symbol-card {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  border: 1px solid var(--emerald-border);
  border-radius: var(--radius-2xl);
  padding: 44px 48px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: center;
  gap: 48px;
  position: relative;
  overflow: hidden;
}

.brand-symbol-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}

.brand-symbol-halo {
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, rgba(99, 102, 241, 0.15) 60%, transparent 80%);
  filter: blur(16px);
  z-index: 0;
  animation: haloPulse 5s ease-in-out infinite alternate;
}

.brand-symbol-big-img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(16, 185, 129, 0.35));
  position: relative;
  z-index: 1;
  animation: emblemFloat 6s ease-in-out infinite alternate;
}

.brand-symbol-tag {
  margin-top: 14px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--emerald-dark);
  background: #ffffff;
  border: 1px solid var(--emerald-border);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xs);
  position: relative;
  z-index: 1;
}

.brand-symbol-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.brand-symbol-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.brand-symbol-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.brand-symbol-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 10px;
}

.symbol-pillar-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  box-shadow: var(--shadow-xs);
}

.pillar-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-icon.emerald {
  background: var(--emerald-bg);
  color: var(--emerald-dark);
}

.pillar-icon.amber {
  background: var(--amber-bg);
  color: var(--amber-primary);
}

.pillar-icon.indigo {
  background: var(--indigo-bg);
  color: var(--indigo-dark);
}

.pillar-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.pillar-desc {
  font-size: 11.5px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Big Logo in Download CTA */
.cta-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}

.cta-logo-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(16, 185, 129, 0.4));
  animation: emblemFloat 5s ease-in-out infinite alternate;
}



/* -----------------------------------------------------------------------------
   FEATURE SPOTLIGHT: "PAID OR FREE — YOUR CHOICE"
   ----------------------------------------------------------------------------- */
.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.spotlight-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 38px 34px;
  box-shadow: var(--shadow-md);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spotlight-card.paid {
  border-top: 4px solid var(--emerald-primary);
}

.spotlight-card.volunteer {
  border-top: 4px solid var(--amber-light);
}

.spotlight-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.spotlight-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.spotlight-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.spotlight-icon.paid {
  background: var(--emerald-bg);
  color: var(--emerald-dark);
  border: 1px solid var(--emerald-border);
}

.spotlight-icon.volunteer {
  background: var(--amber-bg);
  color: var(--amber-primary);
  border: 1px solid var(--amber-border);
}

.spotlight-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
}

.spotlight-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-top: 4px;
}

.spotlight-badge.paid {
  background: var(--emerald-bg);
  color: var(--emerald-dark);
}

.spotlight-badge.volunteer {
  background: var(--amber-bg);
  color: var(--amber-primary);
}

.spotlight-desc {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.65;
}

.spotlight-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spotlight-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.spotlight-check {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.spotlight-check.amber {
  color: var(--amber-primary);
}

/* -----------------------------------------------------------------------------
   HOW IT WORKS (ORIGINAL WIDTH WITH TOP 70% SCREEN SHOWCASE)
   ----------------------------------------------------------------------------- */
#how-it-works {
  padding: 42px 0 36px;
}

#how-it-works .section-header {
  margin-bottom: 22px;
}

#how-it-works .section-title {
  font-size: clamp(24px, 2.6vw, 32px);
  margin-bottom: 6px;
}

#how-it-works .section-desc {
  font-size: 14.5px;
  line-height: 1.45;
  max-width: 620px;
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 992px) {
  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 22px 20px 0;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(16, 185, 129, 0.12), var(--shadow-md);
  border-color: rgba(16, 185, 129, 0.35);
}

.step-card-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.step-pill {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.1);
  color: var(--emerald-dark);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.step-category-pill {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-secondary);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.step-title {
  font-family: var(--font-heading);
  font-size: 18.5px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

.step-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Step Mockup Phone Screen Container (Original 280px Width, Top 70% Visible, Rest Submerged) */
.step-mockup-frame {
  width: 100%;
  max-width: 280px;
  height: 320px;
  margin: 14px auto 0;
  background: #0f172a;
  border-radius: 28px 28px 0 0;
  border: 5px solid #1e293b;
  border-bottom: none;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
  display: block;
  transition: transform 0.35s ease;
}

.step-phone-notch {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 5px;
  background: #000000;
  border-radius: 8px;
  z-index: 10;
  pointer-events: none;
}

.step-mockup-frame img {
  width: 100%;
  height: auto;
  min-height: 100%;
  border-radius: 23px 23px 0 0;
  display: block;
  transform: translateY(0);
  transition: transform 3.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.step-card:hover .step-mockup-frame {
  transform: translateY(-4px);
}

.step-card:hover .step-mockup-frame img {
  transform: translateY(calc(-100% + 320px));
  transition: transform 4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* -----------------------------------------------------------------------------
   ERRAND BOARD / CATEGORIES GRID
   ----------------------------------------------------------------------------- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

@media (max-width: 1100px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .categories-grid {
    grid-template-columns: 1fr;
  }
}

.category-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
}

.category-icon-wrap {
  width: 52px;
  height: 52px;
  background: rgba(16, 185, 129, 0.08);
  color: var(--emerald-primary);
  border: 1px solid rgba(16, 185, 129, 0.18);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.category-icon-wrap svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.category-card:hover .category-icon-wrap {
  background: var(--emerald-primary);
  color: #ffffff;
  border-color: var(--emerald-primary);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.28);
  transform: scale(1.04);
}

.category-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.category-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.category-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--emerald-dark);
}

/* -----------------------------------------------------------------------------
   INTERACTIVE APP TOUR (RICH STUDIO EXPERIENCE)
   ----------------------------------------------------------------------------- */
.tour-wrapper {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: 44px 48px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.tour-nav-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tour-tab-btn {
  padding: 10px 18px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-xs);
}

.tour-tab-btn:hover {
  background: var(--bg-secondary);
  border-color: var(--border-medium);
  transform: translateY(-1px);
}

.tour-tab-btn.active {
  background: var(--emerald-primary);
  color: #ffffff;
  border-color: var(--emerald-dark);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transform: translateY(-2px);
}

.tour-tab-btn.active .tour-tab-tag {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.tour-tab-title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.2;
}

.tour-tab-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.tour-content-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
}

.tour-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.tour-info-badge.emerald {
  background: var(--emerald-bg);
  color: var(--emerald-dark);
  border: 1px solid var(--emerald-border);
}

.tour-info-badge.indigo {
  background: var(--indigo-bg);
  color: var(--indigo-dark);
  border: 1px solid var(--indigo-border);
}

.tour-info-badge.amber {
  background: var(--amber-bg);
  color: var(--amber-primary);
  border: 1px solid var(--amber-border);
}

.tour-info-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-primary);
  line-height: 1.2;
}

.tour-info-desc {
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.tour-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 26px;
}

.tour-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.tour-check-icon {
  width: 22px;
  height: 22px;
  background: var(--emerald-bg);
  color: var(--emerald-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Tour KPI Quick Metrics Strip */
.tour-kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.tour-kpi-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: var(--shadow-xs);
}

.tour-kpi-val {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
}

.tour-kpi-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

.tour-preview-frame {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 530px;
}

.tour-phone {
  position: relative;
  width: 260px;
  height: 520px;
  background: #020617;
  border-radius: 38px;
  padding: 9px;
  box-shadow: 
    0 0 0 3px #334155,
    0 0 0 6px #0f172a,
    0 22px 50px -10px rgba(15, 23, 42, 0.4),
    0 0 40px rgba(16, 185, 129, 0.16);
  transition: transform 0.3s ease;
  z-index: 1;
}

.tour-phone:hover {
  transform: translateY(-4px);
}

.tour-phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 14px;
  background: #000000;
  border-radius: 8px;
  z-index: 10;
}

.tour-phone img {
  width: 100%;
  height: 100%;
  border-radius: 29px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Floating Badges on Tour Device */
.tour-floating-badge {
  position: absolute;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 9px 14px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 20;
  animation: floatCard 4s ease-in-out infinite alternate;
  white-space: nowrap;
}

.tour-float-top {
  top: 10%;
  left: -24px;
  border-color: var(--emerald-border);
}

.tour-float-bottom {
  bottom: 12%;
  right: -24px;
  border-color: var(--amber-border);
  animation-delay: -2s;
}

/* Bottom Specs Bar Inside Tour */
.tour-bottom-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.tour-spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}

.tour-spec-item svg {
  color: var(--emerald-dark);
  flex-shrink: 0;
}

/* -----------------------------------------------------------------------------
   COMMUNITY IMPACT & EARNINGS CALCULATOR
   ----------------------------------------------------------------------------- */
.calc-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  align-items: center;
}

.calc-control-group {
  margin-bottom: 26px;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
}

.calc-val-highlight {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  color: var(--emerald-dark);
  background: var(--emerald-bg);
  border: 1px solid var(--emerald-border);
  padding: 3px 12px;
  border-radius: var(--radius-full);
}

.custom-range-slider {
  width: 100%;
  -webkit-appearance: none;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  outline: none;
}

.custom-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--emerald-primary);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.35);
  border: 2px solid #ffffff;
  transition: transform 0.15s ease;
}

.custom-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-result-box {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid var(--emerald-border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  text-align: center;
  box-shadow: var(--shadow-xs);
}

.calc-result-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.calc-result-number {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  color: var(--emerald-dark);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.calc-result-karma {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--amber-primary);
  background: var(--amber-bg);
  border: 1px solid var(--amber-border);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 20px;
}

/* -----------------------------------------------------------------------------
   SAFETY SHIELD
   ----------------------------------------------------------------------------- */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.safety-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

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

.safety-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  background: var(--emerald-bg);
  color: var(--emerald-dark);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--emerald-border);
}

.safety-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.safety-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* -----------------------------------------------------------------------------
   TESTIMONIALS
   ----------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.stars-row {
  display: flex;
  gap: 4px;
  color: var(--amber-light);
}

.testimonial-quote {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  font-style: italic;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald-primary), var(--emerald-dark));
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.user-name {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--text-primary);
}

.user-role {
  font-size: 12px;
  color: var(--text-muted);
}

/* -----------------------------------------------------------------------------
   FAQ ACCORDION (REDESIGNED & HIGH POLISH)
   ----------------------------------------------------------------------------- */
.faq-wrapper {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: var(--border-medium);
}

.faq-item.active {
  border-color: var(--emerald-border);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.08);
  background: #ffffff;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.15s ease;
}

.faq-question:hover {
  color: var(--emerald-dark);
}

.faq-icon-svg {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon-svg {
  transform: rotate(180deg);
  color: var(--emerald-dark);
}

.faq-answer {
  display: none;
  padding: 0 24px 22px;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  display: block;
}

/* -----------------------------------------------------------------------------
   CTA BANNER
   ----------------------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-xl);
  padding: 56px 36px;
  text-align: center;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 3.8vw, 40px);
  font-weight: 800;
  margin-bottom: 14px;
  color: #ffffff;
}

.cta-banner p {
  font-size: 16px;
  color: #94a3b8;
  max-width: 620px;
  margin: 0 auto 30px;
}

/* -----------------------------------------------------------------------------
   FOOTER
   ----------------------------------------------------------------------------- */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 36px;
  margin-bottom: 44px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13.5px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 14px;
}

/* -----------------------------------------------------------------------------
   RESPONSIVE DESIGN
   ----------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-brand-masthead {
    justify-content: center;
  }

  .hero-subtitle {
    margin: 0 auto 28px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-social-chips {
    justify-content: center;
  }

  .hero-proof {
    justify-content: center;
  }

  .brand-symbol-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 36px 24px;
    gap: 32px;
  }

  .brand-symbol-content {
    align-items: center;
  }

  .brand-symbol-pillars {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .symbol-pillar-item {
    text-align: left;
  }

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

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

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

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

  .tour-content-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .tour-feature-list li {
    justify-content: center;
  }

  .calc-wrapper {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .dual-phone-deck {
    flex-direction: column;
    gap: 32px;
  }

  .phone-mockup-wrap {
    width: 250px;
    height: 500px;
  }

  .categories-grid,
  .testimonials-grid,
  .stats-grid,
  .safety-grid {
    grid-template-columns: 1fr;
  }

  .floating-badge {
    display: flex; transform: scale(0.7); transform-origin: top left;
  }

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

/* -----------------------------------------------------------------------------
   PHONE-OPTIMIZED STYLES (PIXEL 10 & SMARTPHONES < 600px)
   ----------------------------------------------------------------------------- */
@media (max-width: 600px) {
  .container {
    padding: 0 16px !important;
  }

  .section {
    padding: 44px 0 !important;
  }

  /* Header */
  .site-header {
    padding: 10px 0 !important;
  }
  .nav-wrap {
    padding: 0 12px !important;
  }
  .brand-logo .logo-text {
    font-size: 20px !important;
  }
  .header-btn {
    padding: 7px 12px !important;
    font-size: 13px !important;
  }

  /* Hero Section */
  .hero-section {
    padding: 24px 0 36px !important;
  }
  .hero-brand-masthead {
    margin-bottom: 14px !important;
    gap: 12px !important;
  }
  .hero-logo-emblem {
    width: 44px !important;
    height: 44px !important;
  }
  .hero-pill-badge {
    padding: 4px 10px !important;
    font-size: 11px !important;
  }
  .hero-brand-sub,
  .hero-social-chips,
  .hero-proof,
  #hero-secondary-cta {
    display: none !important;
  }
  .hero-title {
    font-size: 26px !important;
    line-height: 1.2 !important;
    margin-bottom: 10px !important;
  }
  .hero-subtitle {
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin-bottom: 18px !important;
    max-width: 340px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero-actions {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    margin-bottom: 12px !important;
  }
  .hero-actions .btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 13px 18px !important;
    font-size: 14.5px !important;
    box-sizing: border-box !important;
  }

  @keyframes mobileFadeIn {
    from { opacity: 0; transform: translateY(6px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }

  /* Dual Phone Mockup in Hero on Mobile (< 600px) */
  .device-showcase-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-height: auto !important;
    margin: 20px auto 0 !important;
    padding: 0 !important;
    position: relative !important;
  }
  .mobile-perspective-switch {
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 0 auto 28px !important;
    width: 100% !important;
    max-width: 320px !important;
  }
  .perspective-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    flex: 1 1 0 !important;
    padding: 9px 12px !important;
    border-radius: 9999px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    color: var(--text-secondary) !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
  }
  .perspective-pill.active.emerald {
    background: #10b981 !important;
    color: #ffffff !important;
    border-color: #10b981 !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35) !important;
  }
  .perspective-pill.active.indigo {
    background: #6366f1 !important;
    color: #ffffff !important;
    border-color: #6366f1 !important;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35) !important;
  }
  .dual-phone-deck {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 300px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: visible !important;
  }
  .phone-card-column {
    display: none !important;
    width: 100% !important;
    max-width: none !important;
    align-items: center !important;
  }
  .phone-card-column.mobile-active {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    animation: mobileFadeIn 0.25s ease-out !important;
  }
  .phone-column-label {
    display: none !important;
  }
  .phone-mockup-wrap {
    width: 236px !important;
    height: auto !important;
    border-radius: 38px !important;
    padding: 8px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    box-shadow: 
      0 0 0 2.5px #334155,
      0 0 0 6px #0f172a,
      0 20px 48px -10px rgba(15, 23, 42, 0.42),
      0 0 28px rgba(16, 185, 129, 0.16) !important;
  }
  .phone-mockup-wrap:hover {
    transform: none !important;
  }
  .phone-screen {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1080 / 2412 !important;
    border-radius: 30px !important;
    overflow: hidden !important;
    background: #0f172a !important;
    display: block !important;
  }
  .phone-screen img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center !important;
    display: block !important;
  }
  .phone-notch {
    width: 68px !important;
    height: 14px !important;
    top: 13px !important;
    border-radius: 8px !important;
  }
  .floating-badge {
    position: absolute !important;
    inset: auto !important;
    bottom: -16px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    animation: none !important;
    margin: 0 !important;
    width: calc(100% - 24px) !important;
    max-width: 240px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 12px !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3) !important;
    z-index: 30 !important;
    white-space: nowrap !important;
  }
  .phone-card-column {
    padding-bottom: 24px !important;
  }
  .mockup-tabs {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 8px !important;
    margin-top: 18px !important;
    padding: 4px 16px 10px !important;
    width: calc(100% + 32px) !important;
    margin-left: -16px !important;
    scrollbar-width: none !important;
    justify-content: flex-start !important;
  }
  .mockup-tabs::-webkit-scrollbar {
    display: none !important;
  }
  .mockup-tab-btn {
    flex: 0 0 auto !important;
    padding: 8px 14px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    border-radius: 9999px !important;
  }

  /* CTA Download Banner (#download) */
  .cta-banner {
    padding: 30px 16px 24px !important;
    border-radius: 20px !important;
    margin: 0 !important;
  }
  .cta-logo-wrap {
    margin-bottom: 12px !important;
  }
  .cta-logo-img {
    width: 46px !important;
    height: 46px !important;
  }
  .cta-banner h2 {
    font-size: 23px !important;
    line-height: 1.25 !important;
    margin-bottom: 10px !important;
  }
  .cta-banner p {
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    margin-bottom: 20px !important;
  }
  #direct-apk-download-btn,
  #playstore-beta-btn {
    width: 100% !important;
    justify-content: center !important;
    font-size: 14px !important;
    padding: 13px 14px !important;
    box-sizing: border-box !important;
    border-radius: 12px !important;
  }

  /* Fast 10-Second Setup Box */
  .cta-banner ol {
    padding-left: 18px !important;
    font-size: 12.5px !important;
    line-height: 1.6 !important;
  }

  /* Play Store Closed Beta Modal on Phone */
  .play-modal-overlay {
    padding: 10px !important;
  }
  .play-modal-card {
    padding: 20px 16px !important;
    border-radius: 18px !important;
    max-height: calc(100dvh - 36px) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .play-modal-close {
    top: 12px !important;
    right: 12px !important;
    width: 32px !important;
    height: 32px !important;
  }
  #play-modal-title {
    font-size: 17px !important;
    line-height: 1.2 !important;
  }
  .play-step-box {
    padding: 12px 12px !important;
    border-radius: 12px !important;
  }
  .play-step-box code {
    font-size: 10.5px !important;
    word-break: break-all !important;
  }
  .play-action-chip {
    width: 100% !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    padding: 9px 12px !important;
    font-size: 12px !important;
  }

  /* Footer */
  .site-footer {
    padding: 36px 0 20px !important;
  }
  .footer-grid {
    gap: 24px !important;
    margin-bottom: 24px !important;
  }
  .footer-bottom {
    flex-direction: column !important;
    gap: 12px !important;
    text-align: center !important;
  }
}

/* Social Section Scroll Effect */
#scroll-dark-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000000;
  pointer-events: none;
  z-index: 5;
  opacity: var(--scroll-darkness, 0);
  will-change: opacity;
}
#social {
  min-height: 100vh;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: color 0.3s ease;
  background-color: #000000; /* Prevent white background bleeding on exit fade */
}
#social .category-card {
  background: transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}
body.dark-mode-active #social .section-title,
body.dark-mode-active #social .section-desc,
body.dark-mode-active #social .category-name,
body.dark-mode-active #social .category-desc {
  color: #ffffff;
}
body.dark-mode-active #social .category-card {
  background: rgba(255, 255, 255, 0.05);
  border-top-color: var(--emerald-primary);
}
#social::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/bg_community_wallpaper.png');
  background-repeat: repeat;
  background-size: 400px;
  opacity: 0.15;
  pointer-events: none;
  z-index: -1;
  transition: opacity 0.3s ease;
}
body.dark-mode-active #social::before {
  opacity: 0.3;
}
#social-splash-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 20;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
#social-splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.splash-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.splash-content img {
  width: 130px;
  height: auto;
  margin-bottom: 18px;
  animation: pulseLogo 3s infinite alternate ease-in-out;
}
.splash-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: 1px;
}
.splash-content p {
  font-size: 1.2rem;
  color: var(--emerald-primary);
  margin: 0;
  font-weight: 500;
}
@keyframes pulseLogo {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}
.splash-logo-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-bottom: 24px;
}
.social-gradient-text {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 6px;
  margin: 0;
  background: linear-gradient(to right, #1E3A8A, #2563EB, #7C3AED, #C026D3, #EA580C, #F59E0B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.by-nearby-tag {
  margin-top: -8px;
  margin-right: -4px;
}
.by-text {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}
.nearby-text {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
}
.social-irl-pill {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 4px;
  padding: 12px 24px;
  border-radius: 24px;
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  margin-top: 10px;
  color: #ffffff; /* Make text visible on dark background */
}
.social-sticky-container {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#social-actual-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  box-sizing: border-box;
  opacity: 0;
  transform: scale(0.5);
  z-index: 10;
}
.social-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
  width: 100%;
  align-items: center;
}
.social-phone-column {
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-bezel {
  position: relative;
  padding: 10px;
  background: #111827;
  border: 2px solid #374151;
  border-radius: 40px;
  box-shadow: inset 0 0 0 1px #000, 0 30px 60px -15px rgba(0,0,0,0.8);
  display: inline-block;
  overflow: hidden;
}
.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #000000;
  border-radius: 12px;
  z-index: 10;
}
.phone-screen {
  overflow: hidden;
  border-radius: 30px;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone-screenshot {
  max-height: 600px;
  width: auto;
  max-width: 100%;
  display: block;
  opacity: 0.98;
}
.social-text-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  max-width: 500px;
  transform: scale(0.85);
  transform-origin: center left;
}
@media (max-width: 960px) {
  .social-grid-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .social-text-column {
    order: 1 !important;
    margin: 0 auto;
    transform: none;
  }
  .social-text-column .section-header, 
  .social-text-column .section-title, 
  .social-text-column .section-desc {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .social-phone-column {
    order: 2 !important;
  }
  .phone-screenshot {
    max-height: 500px;
  }
}
body.dark-mode-active .normal-logo {
  opacity: 0 !important;
}
body.dark-mode-active .gradient-logo {
  opacity: 1 !important;
}

/* Scroll Popup Effect for Phones */
.scale-in {
  transform: scale(0.5);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease-out;
  will-change: transform, opacity;
}
.scale-in.visible {
  transform: scale(1);
  opacity: 1;
}

.doodle-bg-layer {
  z-index: 6;
  transition: filter 0.5s ease, opacity 0.5s ease;
}
body.dark-mode-active .doodle-bg-layer {
  filter: invert(1);
  opacity: 0.15;
}



/* Responsive Visibility Toggles */
.mobile-only {
  display: none !important;
}
@media (max-width: 900px) {
  .desktop-only {
    display: none !important;
  }
  .mobile-only {
    display: block !important;
  }


 /* 1. GLOBAL TYPOGRAPHY SCALING */
  .section-title, .hero-title {
    font-size: 28px !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
  }
  .section-desc, .hero-subtitle {
    font-size: 15px !important;
    line-height: 1.5 !important;
    margin-bottom: 20px !important;
  }
  
  /* 2. NAVIGATION BAR (Fix overlapping Join Waitlist button & logo) */
  .site-header {
    padding: 10px 0 !important;
    margin-bottom: 0 !important;
  }
  .nav-wrap {
    justify-content: space-between !important;
    gap: 10px !important;
  }
  .logo-text {
    font-size: 20px !important;
  }
  .logo-tag {
    font-size: 9px !important;
    padding: 2px 6px !important;
    margin-left: 6px !important;
  }
  .header-btn {
    padding: 10px 16px !important;
    font-size: 14px !important;
    border-radius: 8px !important;
  }
  
  /* 3. HERO SECTION */
  .hero-section {
    padding-top: 20px !important;
  }
  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    padding-top: 0px !important;
  }
  .hero-social-chips {
    display: none !important;
  }
  .hero-proof {
    display: none !important;
  }
  .hero-content {
    text-align: center !important;
    align-items: center !important;
  }
  .hero-actions {
    flex-direction: column !important;
    width: 100% !important;
  }
  .hero-actions .btn {
    width: 100% !important;
  }
  
  .dual-phone-deck {
    flex-direction: column !important;
    align-items: center !important;
    gap: 30px !important;
  }
  .phone-card-column {
    width: 100% !important;
    max-width: 320px !important;
  }
  
  /* 4. INTERACTIVE APP TOUR (Horizontal Scrolling Tabs to fix vertical pile-up) */

  
  /* 5. IMPACT CALCULATOR */
  .spotlight-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .spotlight-card {
    padding: 20px !important;
  }
  
  .calculator-card {
    padding: 20px !important;
    margin-top: 30px !important;
  }
  




  
  /* Grid Layout Fixes */
  .social-grid-layout {
    display: flex !important;
    flex-direction: row !important;
    gap: 15px !important;
    align-items: center !important;
  }
  
  .social-grid-layout.mobile-reverse {
    flex-direction: row-reverse !important;
  }
  
  .social-phone-column {
    position: relative !important;
    order: 1 !important;
    width: calc(45% - 7.5px) !important;
    display: flex !important;
    justify-content: center !important;
    margin-bottom: 0 !important;
  }
  
  .social-text-column {
    order: 2 !important;
    width: calc(55% - 7.5px) !important;
    text-align: left !important;
  }
  
  /* Phone mockups inside Social */
  .phone-screenshot {
    max-height: 380px !important;
    width: auto !important;
    border-radius: 30px !important;
  }
  
  .phone-bezel {
    border-radius: 30px !important;
    padding: 6px !important;
    border-width: 2px !important;
  }
  
  /* The 2x2 Category Grid for Feature Cards */
  #social-actual-content .social-text-column > div:nth-child(2) {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }
  
  .category-card {
    padding: 14px !important;
    border-top-width: 3px !important;
  }
  
  .category-icon-wrap {
    width: 32px !important;
    height: 32px !important;
    padding: 6px !important;
    margin-bottom: 8px !important;
  }
  
  .category-name {
    font-size: 14px !important;
    line-height: 1.2 !important;
  }
  
  .category-desc {
    font-size: 12px !important;
    line-height: 1.4 !important;
  }
  
  /* Splash Text Alignment */
  .splash-content {
    padding: 20px !important;
  }
  
  .social-gradient-text {
    font-size: 40px !important;
    letter-spacing: 5px !important;
  }
  
  .by-nearby-tag {
    font-size: 14px !important;
    margin-top: -10px !important;
  }
  
  .splash-content img {
    height: 60px !important;
    width: auto !important;
    object-fit: contain !important;
  }
  
  /* Hide all floating badges to save real-estate */
  .floating-badge {
    display: none !important;
  }
  
  .tour-floating-badge {
    display: none !important;
  }

  /* MODERN MOBILE COMPONENT OVERHAUL */

  
  /* Ultra-Compact Mobile Tour Cards */
  .tour-mobile-wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    gap: 15px !important;
    padding-bottom: 20px !important;
    -webkit-overflow-scrolling: touch;
    width: calc(100% + 48px) !important;
    margin-left: -24px !important;
    /* (100vw - 82vw) / 2 = 9vw */
    padding-left: 9vw !important;
    padding-right: 9vw !important;
    min-height: 700px !important; /* PREVENTS PAGE JUMPING */
    align-items: flex-start !important;
  }
  .tour-mobile-wrapper::-webkit-scrollbar { display: none; }
  .tour-mobile-wrapper { -ms-overflow-style: none; scrollbar-width: none; }
  
  .tour-m-card {
    flex: 0 0 82% !important;
    scroll-snap-align: center;
    background: var(--bg-card) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: var(--radius-lg) !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-sm) !important;
    display: flex !important;
    flex-direction: column !important;
  }
  
  .tour-m-img-wrap {
    width: 100% !important;
    height: 130px !important; /* Default collapsed state */
    background: #0f172a !important;
    overflow: hidden !important;
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
  
  .tour-m-card.active-m-card .tour-m-img-wrap {
    height: 480px !important; /* Expanded state when centered */
  }
  
  .tour-m-card.active-m-card {
    border-color: var(--emerald-primary) !important;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15) !important;
  }
  
  .tour-m-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .tour-m-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center !important;
    opacity: 0.9 !important;
  }
  
  .tour-m-content {
    padding: 18px !important;
    display: flex !important;
    flex-direction: column !important;
  }
  
  .tour-m-tag {
    font-size: 10px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    margin-bottom: 8px !important;
  }
  .tour-m-tag.emerald { color: var(--emerald-dark) !important; }
  .tour-m-tag.indigo { color: var(--indigo-dark) !important; }
  .tour-m-tag.amber { color: var(--amber-primary) !important; }
  
  .tour-m-title {
    font-family: var(--font-heading) !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    margin-bottom: 6px !important;
    color: var(--text-primary) !important;
    line-height: 1.1 !important;
  }
  
  .tour-m-desc {
    font-size: 13px !important;
    color: var(--text-secondary) !important;
    line-height: 1.4 !important;
    margin-bottom: 15px !important;
  }
  
  .tour-m-pills {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-top: auto !important;
  }
  .tour-m-pills span {
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 4px 8px !important;
    background: var(--bg-secondary) !important;
    color: var(--text-secondary) !important;
    border-radius: var(--radius-full) !important;
    border: 1px solid var(--border-subtle) !important;
  }



  /* 2. Interactive Estimator (Sticky Glassmorphic Widget) */
  .calc-control-group {
    margin-bottom: 16px !important;
  }
  .calc-label {
    font-size: 13px !important;
    margin-bottom: 8px !important;
  }
  .calc-val-highlight {
    font-size: 13px !important;
  }

  .calc-wrapper {
    flex-direction: column !important;
    padding: 20px !important;
    border-radius: var(--radius-lg) !important;
    position: relative !important;
  }
  .calc-controls {
    border-right: none !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
  }
  .calc-result {
    position: relative !important;
    margin-top: 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-top: 1px solid var(--emerald-border) !important;
    border: 1px solid var(--emerald-border) !important;
    border-radius: var(--radius-md) !important;
    padding: 15px !important;
    box-shadow: 0 -10px 30px rgba(16,185,129,0.1) !important;
    margin: 0 !important;
    z-index: 10 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  .calc-result h3 { font-size: 14px !important; margin: 0 !important; }
  .calc-final-amount { font-size: 32px !important; margin: 0 !important; }

  /* 3. Safety Shield 2x2 Grid */
  .safety-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }
  .safety-card {
    padding: 16px 12px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .safety-icon {
    width: 40px !important;
    height: 40px !important;
    margin-bottom: 10px !important;
  }
  .safety-icon svg {
    width: 20px !important;
    height: 20px !important;
  }
  .safety-title {
    font-size: 14px !important;
    line-height: 1.2 !important;
    margin-bottom: 6px !important;
  }
  .safety-desc {
    font-size: 11px !important;
    line-height: 1.4 !important;
  }


  /* HORIZONTAL CAROUSELS FOR MOBILE (Reduce vertical scroll) */
  
  /* 1. Global Section Padding Reduction */
  .section {
    padding: 45px 0 !important;
  }
  

  /* 3. Paid vs Free (Spotlight Grid) Carousel */
  .spotlight-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    gap: 15px !important;
    padding-bottom: 20px !important;
    -webkit-overflow-scrolling: touch;
    width: calc(100% + 48px) !important;
    margin-left: -24px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  .spotlight-card {
    flex: 0 0 85% !important;
    scroll-snap-align: center;
    margin-top: 0 !important;
  }
  .spotlight-grid::-webkit-scrollbar { display: none; }
  .spotlight-grid { -ms-overflow-style: none; scrollbar-width: none; }

  /* 4. How It Works (3 Steps) Carousel */
  .how-it-works-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    gap: 15px !important;
    padding-bottom: 20px !important;
    -webkit-overflow-scrolling: touch;
    width: calc(100% + 48px) !important;
    margin-left: -24px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  .step-card {
    flex: 0 0 85% !important;
    scroll-snap-align: center;
  }
  .how-it-works-grid::-webkit-scrollbar { display: none; }
  .how-it-works-grid { -ms-overflow-style: none; scrollbar-width: none; }

  /* 5. Errand Board Categories Carousel */
  .categories-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    gap: 15px !important;
    padding-bottom: 20px !important;
    -webkit-overflow-scrolling: touch;
    width: calc(100% + 48px) !important;
    margin-left: -24px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  .category-card {
    flex: 0 0 75% !important;
    scroll-snap-align: center;
  }
  .categories-grid::-webkit-scrollbar { display: none; }
  .categories-grid { -ms-overflow-style: none; scrollbar-width: none; }

}

/* SOCIAL SCROLL DURATION */
.social-scroll-wrapper {
  height: 250vh;
}

@media (max-width: 900px) {
  .social-scroll-wrapper {
    height: 150vh !important;
  }
  
  /* Prevent overflow on mobile by hiding the redundant summary grid */
  #social-actual-content .social-text-column > div:nth-child(2) {
    display: none !important;
  }
  
  /* Expand phones to fill their side-by-side column */
  #social-actual-content .phone-bezel,
  .feature-section .phone-bezel {
    max-height: none !important;
    width: 100% !important;
    aspect-ratio: 9/19.5 !important;
    margin: 0 !important;
  }
  
  .feature-section .social-text-column,
  #social-actual-content .social-text-column {
    text-align: left !important;
    padding: 0 !important;
  }
  
  .feature-section .section-header,
  #social-actual-content .section-header {
    text-align: left !important;
  }
  
  .feature-section .section-title,
  #social-actual-content .section-title {
    font-size: 1.4rem !important;
    text-align: left !important;
  }
  
  .feature-section .section-desc,
  #social-actual-content .section-desc {
    font-size: 0.85rem !important;
    text-align: left !important;
  }

  
  #social-actual-content {
    padding: 0 24px !important;
  }
  
  #social-actual-content .social-text-column {
    text-align: left !important;
    padding: 0 !important;
  }
  
  #social-actual-content .section-header {
    text-align: center !important;
    margin-bottom: 0 !important;
  }
  
  #social-actual-content .section-title {
    font-size: 1.8rem !important;
  }


}

/* Amplify Button styles */
.amplify-btn {
  background: #10B981;
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  cursor: default;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

@media (max-width: 900px) {
  .amplify-btn-wrapper {
    margin-top: 10px !important;
  }
  .amplify-btn {
    padding: 8px 16px !important;
    font-size: 0.85rem !important;
    gap: 8px !important;
    border-radius: 20px !important;
  }
  .amplify-btn svg {
    width: 16px !important;
    height: 16px !important;
  }
}

@media (max-width: 900px) {
  .social-scroll-wrapper {
    height: 180vh !important; /* Normal sticky duration for smooth animation */
    margin-bottom: -25vh !important; /* Pull the next section UP into the empty space at the bottom of the 100vh container */
  }
}

/* Desktop-specific enlargement for Social Section text */
@media (min-width: 901px) {
  .feature-section .section-title,
  #social-actual-content .section-title {
    font-size: clamp(36px, 4.5vw, 54px) !important;
    margin-bottom: 20px !important;
  }

  .feature-section .section-desc,
  #social-actual-content .section-desc {
    font-size: 21px !important;
    line-height: 1.75 !important;
  }
  
  #social-actual-content .category-name {
    font-size: 1.3rem !important;
  }
  #social-actual-content .category-desc {
    font-size: 1.05rem !important;
  }
}

/* Live Glimpses Styling */
.live-glimpse-box {
  margin-top: 16px; 
  border-top: 1px solid rgba(16,185,129,0.2); 
  padding-top: 12px; 
  text-align: left;
}

.live-glimpse-header {
  display: flex; 
  align-items: center; 
  gap: 8px; 
  color: #10B981; 
  margin-bottom: 6px;
}

.live-glimpse-title {
  margin: 0; 
  font-size: 0.95rem; 
  font-weight: 600;
}

.live-glimpse-desc {
  margin: 0; 
  font-size: 0.8rem; 
  color: #a1a1aa; 
  line-height: 1.4;
}

@media (min-width: 901px) {
  .live-glimpse-box {
    margin-top: 24px;
    padding-top: 18px;
  }
  .live-glimpse-header svg {
    width: 24px;
    height: 24px;
  }
  .live-glimpse-title {
    font-size: 1.3rem;
  }
  .live-glimpse-desc {
    font-size: 1.05rem;
  }
}

/* Dark mode header override */
body.dark-mode-active .site-header {
  background: rgba(0, 0, 0, 0.25) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
}

body.dark-mode-active .nav-links a {
  color: #f1f5f9 !important;
}

body.dark-mode-active .nav-links a:hover {
  color: #ffffff !important;
}

body.dark-mode-active .nav-btn {
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

body.dark-mode-active .logo-text {
  color: #ffffff !important;
}

/* =============================================================================
   GOOGLE PLAY CLOSED BETA MODAL (OPTION B)
   ============================================================================= */
.play-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: playModalFadeIn 0.2s ease-out;
}

.play-modal-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  max-width: 520px;
  width: 100%;
  padding: 32px 28px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.05);
  animation: playModalSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: #ffffff;
}

.play-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.play-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: rotate(90deg);
}

.play-step-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 14px 16px;
  transition: all 0.2s ease;
}

.play-step-box:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

@keyframes playModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes playModalSlideUp {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* =============================================================================
   MOBILE HERO REFINEMENT (Smartphones < 600px - E.g. Pixel 10)
   Streamlines text density and brings the interactive app showcase into the primary viewport
   ============================================================================= */
@media (max-width: 600px) {
  .hero-section {
    padding: 16px 0 24px !important;
  }
  .hero-grid {
    gap: 16px !important;
  }
  .hero-brand-masthead {
    margin-bottom: 8px !important;
    justify-content: center !important;
  }
  .hero-logo-halo {
    display: none !important;
  }
  .hero-pill-badge {
    padding: 4px 10px !important;
    font-size: 11px !important;
  }
  .hero-brand-sub,
  .hero-social-chips,
  .hero-proof,
  #hero-secondary-cta {
    display: none !important;
  }
  .hero-title {
    font-size: 24px !important;
    line-height: 1.22 !important;
    letter-spacing: -0.01em !important;
    margin-bottom: 8px !important;
    max-width: 330px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero-title br {
    display: none !important;
  }
  .hero-subtitle {
    font-size: 13.5px !important;
    line-height: 1.45 !important;
    margin-bottom: 14px !important;
    max-width: 320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero-actions {
    margin-bottom: 10px !important;
    width: 100% !important;
  }
  .hero-actions .btn {
    padding: 12px 18px !important;
    font-size: 14px !important;
    width: 100% !important;
  }
  .mobile-perspective-switch {
    margin: 0 auto 16px !important;
  }
}

/* =============================================================================
   APP LAUNCH SPLASH SCREEN (Replicates Native Compose Light Theme SplashScreen)
   ============================================================================= */
.app-splash-screen {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  background-color: #eef2f6; /* Exact Compose SoftLightBg: Color(0xFFEEF2F6) */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s ease;
  user-select: none;
  -webkit-user-select: none;
  cursor: pointer;
}

.app-splash-screen.app-splash-fade-out {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.app-splash-doodles {
  position: absolute;
  inset: 0;
  background-image: url('assets/bg_splash_doodles_light.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.16;
  pointer-events: none;
}

.app-splash-glow {
  display: none !important;
}

.app-splash-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(-20px); /* Exactly matching Compose offset(y = (-20).dp) */
  text-align: center;
  padding: 0 32px; /* Exactly matching Compose padding(horizontal = 32.dp) */
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-splash-screen.app-splash-fade-out .app-splash-content {
  transform: translateY(-20px) scale(1.04);
}

.app-splash-logo-wrap {
  position: relative;
  width: 94px;
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-splash-logo {
  width: 94px;
  height: 94px;
  object-fit: contain;
  animation: splashLogoScale 1.4s ease-in-out infinite alternate;
  filter: drop-shadow(0 4px 14px rgba(16, 185, 129, 0.22));
}

.app-splash-title {
  margin: 4px 0 0; /* Exactly Spacer(modifier = Modifier.height(4.dp)) */
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 34px; /* Exactly 34.sp */
  font-weight: 800; /* ExtraBold */
  color: #1e293b; /* Exactly SoftLightTextPrimary */
  letter-spacing: -0.5px; /* Exactly -0.5.sp */
  line-height: 1.1;
  text-shadow: none;
}

.app-splash-tagline {
  margin: 6px 0 0; /* Exactly Spacer(modifier = Modifier.height(6.dp)) */
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px; /* Exactly 13.sp */
  font-weight: 500; /* Medium */
  color: #475569; /* Exactly SoftLightTextSecondary */
  letter-spacing: 0;
}

@keyframes splashLogoScale {
  0% {
    transform: scale(0.96);
  }
  100% {
    transform: scale(1.04);
  }
}

@keyframes splashGlowPulse {
  0% {
    transform: scale(0.85);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.15);
    opacity: 1;
  }
}



