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

:root {
  --navy: #0F1B2D;
  --navy-light: #162236;
  --navy-mid: #1a2b42;
  --blue: #0066FF;
  --blue-hover: #0052CC;
  --blue-glow: rgba(0, 102, 255, 0.15);
  --green: #059669;
  --green-light: #ECFDF5;
  --white: #FFFFFF;
  --off-white: #F8FAFC;
  --grey-50: #F1F5F9;
  --grey-100: #E2E8F0;
  --grey-200: #CBD5E1;
  --body-text: #334155;
  --muted: #64748B;
  --amber: #D97706;
  --amber-bg: #FEF3C7;
  --amber-light: #FFFBEB;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --shadow-card: 0 0 0 1px rgba(0,0,0,0.03), 0 2px 4px rgba(0,0,0,0.05), 0 12px 24px rgba(0,0,0,0.05);

  --max-w: 1200px;
  --section-pad: clamp(3.5rem, 8vw, 7rem);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--body-text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.section-label svg { width: 14px; height: 14px; }

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.section-subtext {
  font-size: var(--text-lg);
  color: var(--muted);
  max-width: 640px;
  line-height: 1.7;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--blue);
  color: var(--white);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05), 0 0 0 0 var(--blue-glow);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.1), transparent);
  pointer-events: none;
}

.btn-primary:hover {
  background: var(--blue-hover);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.35), 0 0 0 3px var(--blue-glow);
  transform: translateY(-1px);
}

.btn-primary:active { transform: translateY(0); }

.btn-primary.btn-lg {
  padding: 18px 40px;
  font-size: var(--text-lg);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--blue);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius);
  border: 1.5px solid var(--blue);
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(0, 102, 255, 0.06);
  transform: translateY(-1px);
}

.btn-secondary:active { transform: translateY(0); }

.final-cta .btn-secondary {
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
}

.final-cta .btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.4);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.05);
}

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  border-bottom: 1px solid var(--grey-100);
  transition: all 0.35s ease;
}

.nav.scrolled {
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

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

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-link:hover { color: var(--navy); }

.nav-cta {
  padding: 10px 22px;
  background: var(--blue);
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.nav-cta:hover { background: var(--blue-hover); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  transition: all 0.3s ease;
}

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

.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 1.5rem;
  flex-direction: column;
  gap: 0.5rem;
  border-bottom: 1px solid var(--grey-100);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  z-index: 99;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  display: block;
  padding: 12px 16px;
  color: var(--body-text);
  font-size: var(--text-base);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.mobile-menu a:hover { background: var(--grey-50); color: var(--navy); }

.mobile-menu .nav-cta {
  display: block;
  text-align: center;
  margin-top: 0.5rem;
  padding: 14px;
  color: var(--white);
}

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

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq {
  padding: var(--section-pad) 0;
  background: var(--off-white);
}

.faq-header {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--grey-100);
}

.faq-item:first-child { border-top: 1px solid var(--grey-100); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem 0;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}

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

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

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

.faq-icon svg { width: 16px; height: 16px; color: var(--muted); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
}

.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer-inner {
  padding-bottom: 1.25rem;
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */
.final-cta {
  padding: var(--section-pad) 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent);
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-4xl));
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.final-cta-sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.6);
  margin-bottom: 2.5rem;
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.lead-form input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: var(--text-base);
  transition: all 0.2s;
  outline: none;
}

.lead-form input::placeholder { color: rgba(255,255,255,0.35); }
.lead-form input:focus {
  border-color: var(--blue);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 3px var(--blue-glow);
}

.lead-form .btn-primary { width: 100%; padding: 16px; font-size: var(--text-base); }

.form-honeypot { position: absolute; left: -9999px; opacity: 0; }

.form-note {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.4);
  margin-bottom: 2rem;
}

.final-cta-buttons {
  margin-bottom: 0;
}

.final-cta-buttons .btn-primary {
  width: 100%;
  max-width: 400px;
}

.final-cta-buttons .form-note {
  margin-bottom: 0;
  margin-top: 1rem;
}

.final-cta-divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 2rem 0;
}

.final-cta-divider::before,
.final-cta-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.1);
}

.final-cta-divider span {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.walkthrough-section {
  margin-bottom: 2rem;
}

.walkthrough-section h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--white);
  margin-bottom: 0.5rem;
}

.walkthrough-sub {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
}

.lead-form .btn-secondary {
  width: 100%;
  padding: 16px;
  font-size: var(--text-base);
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
}

.lead-form .btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.4);
}

.founding-counter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(217, 119, 6, 0.1);
  border: 1px solid rgba(217, 119, 6, 0.2);
  border-radius: 100px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--amber);
}

.founding-counter svg { width: 16px; height: 16px; }

@media (min-width: 640px) {
  .lead-form {
    grid-template-columns: 1fr 1fr;
  }
  .lead-form .form-full { grid-column: 1 / -1; }
}

/* ============================================
   PRICING CARD (shared between LP and pricing page)
   ============================================ */
.pricing-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.founding-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  gap: 6px;
  padding: 6px 14px;
  background: var(--amber-bg);
  color: var(--amber);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 100px;
  margin: 0 auto 1.5rem;
}

.founding-badge svg { width: 14px; height: 14px; }

.value-stack { margin-bottom: 1.5rem; }

.value-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--grey-50);
}

.value-item:last-child { border-bottom: none; }

.value-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--body-text);
  font-weight: 500;
}

.value-item-left svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }

.value-item-price {
  font-size: var(--text-sm);
  color: var(--muted);
  text-decoration: line-through;
}

.pricing-divider {
  height: 1px;
  background: var(--grey-100);
  margin: 1.5rem 0;
}

.pricing-total-old {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--muted);
  text-decoration: line-through;
  margin-bottom: 0.5rem;
}

.pricing-amount {
  text-align: center;
  margin-bottom: 0.25rem;
}

.pricing-amount .price {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  color: var(--navy);
  line-height: 1;
}

.pricing-amount .period {
  font-size: var(--text-base);
  color: var(--muted);
  font-weight: 500;
}

.pricing-daily {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--muted);
  margin-bottom: 2rem;
}

.pricing-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.pricing-cta .btn-primary { width: 100%; }

.pricing-cta-note {
  font-size: var(--text-xs);
  color: var(--muted);
  text-align: center;
}

.pricing-lock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--grey-50);
  font-size: var(--text-xs);
  color: var(--muted);
}

.pricing-lock svg { width: 14px; height: 14px; }

.value-item-waived {
  background: var(--green-light);
  border-radius: var(--radius-sm);
  padding: 10px 1rem;
  border-bottom: none;
  margin-top: 0.5rem;
}

.value-item-price-waived {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.value-item-price-waived s {
  color: var(--muted);
  font-weight: 400;
  margin-right: 0.5rem;
}

.pricing-unlimited {
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--blue);
  margin-top: 0.5rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 2.5rem 0;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo img {
  height: 32px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.footer-logo:hover img {
  opacity: 0.9;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}

.footer-links a:hover { color: rgba(255,255,255,0.7); }

.footer-bottom {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.25);
}

/* Form success state */
.form-success {
  display: none;
  text-align: center;
  padding: 2rem 0;
}

.form-success.visible { display: block; }

.form-success-icon {
  width: 56px;
  height: 56px;
  background: rgba(5, 150, 105, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.form-success-icon svg { width: 28px; height: 28px; color: var(--green); }

.form-success h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--white);
  margin-bottom: 0.5rem;
}

.form-success p {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.6);
}
