@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500;600&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --bg-base: #080F1A;
  --bg-surface: #0B192C;
  --bg-card: #0F1E33;
  --bg-card-hover: #132337;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(148, 163, 184, 0.12);
  --border-accent: rgba(242, 145, 0, 0.35);
  --accent-primary: #F29100;
  --accent-primary-hover: #D98200;
  --accent-secondary: #38BDF8;
  --accent-success: #10B981;
  --accent-rose: #F43F5E;
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Geist', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background-color: var(--bg-base);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Accessibility: skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--accent-primary);
  color: #000;
  padding: 8px 16px;
  font-weight: 700;
  border-radius: 8px;
  z-index: 9999;
  text-decoration: none;
  transition: top 200ms ease;
}
.skip-link:focus {
  top: 16px;
}

/* Focus states */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 3px;
}

/* Typography rules */
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

p, li, span {
  text-wrap: pretty;
}

.mono {
  font-family: 'Geist Mono', monospace;
}

/* Dark theme heading gradient */
.hero-gradient-text {
  background: linear-gradient(135deg, #FFFFFF 0%, #9B9B9B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.accent-gradient-text {
  background: linear-gradient(135deg, #F29100 0%, #FBBF24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Container */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Navbar */
.nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 25, 44, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 300ms ease;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border-accent);
  background: #FFF;
  object-fit: contain;
}

.nav-brand-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-primary);
  line-height: 1.1;
}

.nav-brand-subtitle {
  font-size: 11px;
  color: var(--text-muted);
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 200ms ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-primary);
}

/* Nav Actions Container */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Mobile Hamburger Toggle Button */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  cursor: pointer;
  padding: 0;
  transition: all 200ms ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}

.nav-toggle:hover {
  background: rgba(242, 145, 0, 0.12);
  border-color: rgba(242, 145, 0, 0.35);
  color: var(--accent-primary);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.2;
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle.is-active {
  background: rgba(242, 145, 0, 0.16);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.nav-toggle.is-active .icon-menu {
  display: none;
}

.nav-toggle.is-active .icon-close {
  display: block;
}

/* Mobile Navigation Drawer: ALWAYS hidden on desktop */
.nav-mobile-drawer {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(11, 25, 44, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-card);
  padding: 16px 20px 24px 20px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.7);
  flex-direction: column;
  gap: 4px;
  z-index: 49;
}

.nav-mobile-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 180ms ease;
  min-height: 46px;
}

.nav-mobile-link:hover, .nav-mobile-link.active {
  color: var(--accent-primary);
  background: rgba(242, 145, 0, 0.08);
}

.nav-mobile-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 10px 0;
}

.nav-mobile-cta {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  margin-top: 4px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 600;
  color: #080F1A;
  background-color: var(--accent-primary);
  border-radius: 12px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(242, 145, 0, 0.25);
  transition: all 400ms var(--ease-spring);
}

.btn-primary:hover {
  background-color: var(--accent-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 145, 0, 0.35);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  background-color: var(--bg-card);
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid var(--border-card);
  cursor: pointer;
  transition: all 400ms var(--ease-spring);
}

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

.btn-secondary:active {
  transform: scale(0.98);
}

/* Badge / Pills */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(242, 145, 0, 0.1);
  color: var(--accent-primary);
  border: 1px solid rgba(242, 145, 0, 0.25);
}

.pill-success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-success);
  border-color: rgba(16, 185, 129, 0.25);
}

/* Hero Section */
.hero-section {
  padding-top: 80px;
  padding-bottom: 64px;
  text-align: center;
}

.hero-content {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero-title {
  font-size: 48px;
  line-height: 1.15;
  margin-top: 20px;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.proof-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Mockup UI Component */
.mockup-wrapper {
  margin-top: 48px;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 20px;
  border: 1px solid var(--border-card);
  background: var(--bg-surface);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.mockup-header {
  height: 44px;
  background: #0A1626;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  padding: 0 16px;
  justify-content: space-between;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dot.red { background: #EF4444; }
.mockup-dot.yellow { background: #F59E0B; }
.mockup-dot.green { background: #10B981; }

.mockup-url-bar {
  font-size: 12px;
  font-family: 'Geist Mono', monospace;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 16px;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
}

.mockup-body {
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  text-align: left;
}

/* Stat Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 20px;
  transition: all 400ms var(--ease-spring);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(242, 145, 0, 0.25);
  transform: translateY(-2px);
}

.card-inner {
  background: rgba(8, 15, 26, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 8px; /* inner = outer (16) - gap (8) = 8px */
  padding: 12px;
}

/* Tagline Reveal Section */
.tagline-section {
  padding: 80px 20px;
  text-align: center;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: #070D17;
}

.tagline-box {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.tagline-text {
  font-size: 36px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--text-primary);
}

.tagline-word {
  display: inline-block;
  opacity: 0.3;
  transition: opacity 700ms var(--ease-spring), transform 700ms var(--ease-spring);
}

.tagline-word.active {
  opacity: 1;
}

/* Section styling */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}

.section-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: 32px;
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-description {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Benefit Cards Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 400ms var(--ease-spring);
}

.benefit-card:hover {
  border-color: rgba(242, 145, 0, 0.4);
  transform: translateY(-3px);
  background: var(--bg-card-hover);
}

.benefit-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(242, 145, 0, 0.12);
  border: 1px solid rgba(242, 145, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  margin-bottom: 16px;
}

.benefit-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.benefit-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Steps (How it Works) */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 24px;
  position: relative;
}

.step-number {
  font-family: 'Geist Mono', monospace;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 12px;
}

/* FAQ Accordion */
.faq-grid {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 300ms ease;
}

.faq-item:hover {
  border-color: rgba(242, 145, 0, 0.3);
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  text-align: left;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 300ms ease;
  color: var(--accent-primary);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

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

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

/* Final CTA Section */
.final-cta {
  background: var(--bg-surface);
  border-radius: 24px;
  border: 1px solid var(--border-card);
  padding: 48px 24px;
  text-align: center;
  margin-bottom: 80px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: #060B13;
  padding: 48px 0 32px 0;
  margin-top: auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand {
  max-width: 320px;
}

.footer-nav {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-column-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

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

.footer-column-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 200ms ease;
}

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

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

/* ==============================================================================
   Mobile & Cross-Device Responsiveness
   Optimized for all viewports: Desktop (1200px+), Tablet (768px-1024px),
   Mobile (360px-430px), and Ultra-Compact (320px-360px)
   ============================================================================== */

/* Tablet Responsive Optimization (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid .step-card:last-child {
    grid-column: span 2;
  }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mockup-body {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }
  .mockup-body .card {
    grid-column: span 12 !important;
  }
}

@media (max-width: 860px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* 1. Header / Navigation */
  .nav-container {
    height: 60px;
  }

  .nav-brand {
    gap: 8px;
    min-width: 0;
  }

  .nav-brand img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .nav-brand-title {
    font-size: 15px;
    letter-spacing: -0.01em;
  }

  .nav-brand-subtitle {
    font-size: 10px;
    line-height: 1.1;
    white-space: nowrap;
  }

  .nav-links {
    display: none !important;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-mobile-drawer.is-active {
    display: flex !important;
  }

  /* Nav CTA Button: Single line, compact, thumb-accessible */
  .nav-wrapper .btn-primary {
    padding: 7px 12px;
    font-size: 13px;
    border-radius: 10px;
    gap: 6px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(242, 145, 0, 0.2);
  }

  .nav-wrapper .btn-primary svg {
    width: 14px;
    height: 14px;
  }

  /* 2. Hero Section */
  .hero-section {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .pill {
    padding: 5px 12px;
    font-size: 11px;
    line-height: 1.3;
  }

  .desktop-only {
    display: none !important;
  }

  .hero-title {
    font-size: clamp(26px, 7.5vw, 36px);
    line-height: 1.2;
    margin-top: 16px;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
  }

  .hero-subtitle {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
    padding: 0 4px;
  }

  /* Hero Actions: Full width thumb targets */
  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 340px;
    margin: 0 auto 20px auto;
    gap: 10px;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    min-height: 48px;
    font-size: 15px;
    border-radius: 12px;
    justify-content: center;
  }

  /* Proof strip: Badge pills instead of broken bullet lines */
  .proof-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
  }

  .proof-sep {
    display: none !important;
  }

  .proof-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    color: var(--text-secondary);
  }

  /* 3. Mockup UI */
  .mockup-wrapper {
    margin-top: 28px;
    border-radius: 14px;
  }

  .mockup-header {
    height: 38px;
    padding: 0 10px;
  }

  .mockup-badge {
    display: inline-flex !important;
    font-size: 10px !important;
  }

  .mockup-body {
    padding: 12px;
    gap: 12px;
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }

  .card {
    padding: 20px 16px !important;
  }

  .mockup-body .card {
    grid-column: span 12 !important;
    padding: 14px !important;
    border-radius: 12px;
  }

  .mockup-body .card .mono {
    font-size: 20px !important;
  }

  /* 4. Tagline Section */
  .tagline-section {
    padding: 44px 16px;
  }

  .tagline-text {
    font-size: clamp(20px, 5.5vw, 26px);
    line-height: 1.4;
  }

  .tagline-text br {
    display: none;
  }

  /* 5. Sections & Typography */
  .section {
    padding: 44px 0;
  }

  .section-header {
    margin-bottom: 24px;
    padding: 0 4px;
  }

  .section-title {
    font-size: 24px;
    line-height: 1.25;
    margin-bottom: 12px;
  }

  .section-description {
    font-size: 14px;
    line-height: 1.55;
  }

  /* Benefits Grid */
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .benefit-card {
    padding: 18px;
    border-radius: 14px;
  }

  .benefit-title {
    font-size: 16px;
  }

  .benefit-text {
    font-size: 13px;
    line-height: 1.6;
  }

  /* Steps Section */
  .steps-section {
    padding: 32px 14px !important;
    border-radius: 18px !important;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .step-card {
    padding: 16px;
    border-radius: 14px;
  }

  /* 6. FAQ Section */
  .faq-item {
    margin-bottom: 10px;
    border-radius: 12px;
  }

  .faq-question {
    padding: 14px 16px;
    font-size: 14px;
    min-height: 48px;
  }

  .faq-answer {
    padding: 0 16px 14px 16px;
    font-size: 13px;
    line-height: 1.6;
  }

  /* 7. Final CTA Section */
  .final-cta {
    padding: 32px 16px;
    border-radius: 18px;
  }

  .final-cta h2 {
    font-size: 22px !important;
    line-height: 1.3;
  }

  .final-cta p {
    font-size: 14px !important;
    margin-bottom: 20px !important;
  }

  .final-cta .btn-primary {
    width: 100%;
    max-width: 320px;
    min-height: 48px;
    font-size: 16px !important;
    justify-content: center;
  }

  /* 8. Footer Section */
  .footer {
    padding: 36px 0 20px 0;
  }

  .footer-top {
    flex-direction: column;
    gap: 28px;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding-top: 20px;
  }
}

/* Extra small mobile devices (< 380px like Galaxy Fold, iPhone SE) */
@media (max-width: 380px) {
  .nav-brand-subtitle {
    display: none;
  }

  .nav-wrapper .btn-primary {
    padding: 6px 10px;
    font-size: 12px;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    font-size: 14px;
  }
}
