:root {
  --bg: #f7f6f2;
  --card: #ffffff;
  --ink: #0f172a;
  --ink-soft: #1f2937;
  --muted: #64748b;
  --muted-light: #94a3b8;
  --line: #e2e8f0;
  --accent: #0f766e;
  --accent-dark: #115e59;
  --accent-warm: #f97316;
  --accent-soft: #ecfeff;
  --shadow-sm: 0 6px 16px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 14px 32px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.16);
  --gradient-hero: linear-gradient(135deg, #0f766e 0%, #0ea5a5 45%, #f59e0b 100%);
}

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

body {
  font-family: 'Manrope', sans-serif;
  background: var(--bg);
  color: var(--ink-soft);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Fraunces', serif;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(40px, 6vw, 60px);
  font-weight: 800;
}

h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
}

h3 {
  font-size: 20px;
  font-weight: 700;
}

p {
  font-size: 16px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(247, 246, 242, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo img {
  height: 34px;
}

.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s ease;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 20px rgba(15, 118, 110, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--accent-dark);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-large {
  padding: 16px 28px;
  font-size: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero {
  padding: 150px 0 90px;
  background: var(--gradient-hero);
  color: #f8fafc;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0));
  opacity: 0.6;
}

.hero::before {
  top: -120px;
  left: -80px;
}

.hero::after {
  bottom: -140px;
  right: -100px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.hero-copy h1,
.hero-copy p,
.hero-copy strong {
  color: #fff;
}

.hero-subtitle {
  margin-top: 18px;
  font-size: 18px;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-item {
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
}

.hero-stats {
  margin-top: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.hero-visual {
  display: grid;
  gap: 18px;
}

.note-card,
.email-card {
  background: var(--card);
  border-radius: 20px;
  padding: 22px;
  color: var(--ink-soft);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.note-card {
  border-left: 4px solid var(--accent-warm);
  transform: rotate(-1.5deg);
}

.email-card {
  border-left: 4px solid var(--accent);
  transform: rotate(1deg);
}

.note-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.section {
  padding: 90px 0;
}

.section-subtitle {
  margin: 12px auto 40px;
  max-width: 640px;
  text-align: center;
  color: var(--muted);
  font-size: 18px;
}

.steps-grid,
.feature-grid,
.roadmap-grid,
.pricing-grid,
.testimonial-grid {
  display: grid;
  gap: 24px;
}

.steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.step-card {
  background: var(--card);
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.step-number {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 12px;
}

.demo {
  margin-top: 40px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.demo video {
  width: 100%;
  display: block;
}

.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature-card {
  background: var(--card);
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.proof {
  background: #0f172a;
  color: #f8fafc;
}

.proof h2,
.proof p,
.proof strong {
  color: #f8fafc;
}

.testimonial-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.testimonial-quote {
  font-size: 16px;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(248, 250, 252, 0.8);
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
}

.proof-cta {
  margin-top: 32px;
  text-align: center;
}

.proof-cta p {
  margin-top: 12px;
  color: rgba(248, 250, 252, 0.75);
}

.roadmap-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.roadmap-card {
  background: var(--card);
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.roadmap-tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.roadmap-tag.now {
  background: rgba(16, 185, 129, 0.14);
  color: #0f766e;
}

.roadmap-tag.next {
  background: rgba(14, 165, 233, 0.14);
  color: #0369a1;
}

.roadmap-tag.later {
  background: rgba(249, 115, 22, 0.16);
  color: #c2410c;
}

.roadmap-meta {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin-top: 20px;
}

.pricing {
  background: #fff;
}

.pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: stretch;
}

.pricing-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pricing-card.highlight {
  border-color: rgba(15, 118, 110, 0.4);
  box-shadow: var(--shadow-md);
}

.pricing-header p {
  color: var(--muted);
  font-size: 14px;
}

.price {
  font-size: 46px;
  font-weight: 700;
  color: var(--ink);
}

.price-note {
  font-size: 13px;
  color: var(--muted);
}

.pricing-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.pricing-card ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.pricing-card ul li::before {
  content: '✓';
  display: inline-flex;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.spots {
  font-size: 13px;
  color: var(--muted);
}

.pricing-meter {
  margin-top: 28px;
  background: var(--bg);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border: 1px solid var(--line);
}

.meter-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.meter-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
}

.faq-grid {
  display: grid;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin-top: 12px;
  color: var(--muted);
}

.final-cta {
  background: linear-gradient(135deg, #fff7ed 0%, #ecfeff 100%);
  text-align: center;
}

.cta-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 14px;
}

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

.exit-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.exit-popup-content {
  background: #fff;
  padding: 32px;
  border-radius: 20px;
  max-width: 420px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.exit-popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: none;
  background: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--muted);
}

.animate-up {
  opacity: 0;
  animation: rise 0.7s ease-out forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

  .hero {
    padding-top: 130px;
  }

  .hero-visual {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .pricing-meter {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .badge {
    font-size: 11px;
  }

  .note-card,
  .email-card {
    padding: 18px;
  }

  .section {
    padding: 70px 0;
  }
}
