:root {
  color-scheme: light;
  --bg: #f5f6fa;
  --text: #0f172a;
  --muted: #475569;
  --card: rgba(255, 255, 255, 0.72);
  --border: rgba(148, 163, 184, 0.35);
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --font-body: "Manrope", "Aptos", "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Trebuchet MS", "Aptos", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
}

h1,
h2,
h3,
h4,
h5,
h6,
.logo,
.hero h1,
.section-heading h2 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

body {
  background: linear-gradient(160deg, #f8fafc 0%, #eef2ff 50%, #fdf2f8 100%);
  color: var(--text);
  min-height: 100vh;
}

/* Reserve shell space before header-template.js hydrates the nav. */
[data-site-header] {
  display: block;
  min-height: 68px;
}

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0 32px;
  position: relative;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.language-switcher label {
  font-weight: 600;
}

.language-switcher select {
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  color: var(--text);
}

.logo {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
  color: inherit;
  font-weight: 500;
}

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

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  border: 1px solid var(--border);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
  padding: 48px 0 64px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.1;
  margin-bottom: 18px;
}

.subhead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 20px;
}

.hero-bullets {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
  color: var(--muted);
}

.hero-bullets li::before {
  content: "•";
  color: var(--primary);
  margin-right: 8px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.mockup {
  width: min(360px, 100%);
  background: rgba(255, 255, 255, 0.76);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 20px;
  backdrop-filter: blur(16px);
}

.mockup-header {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #e2e8f0;
}

.mockup-body {
  display: grid;
  gap: 14px;
}

.mockup-row {
  background: rgba(248, 250, 252, 0.8);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  border: 1px solid var(--border);
}

.mockup-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.mockup-field {
  font-weight: 600;
  font-size: 14px;
}

.mockup-confirm {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.mockup-confirm::before {
  content: "●";
}

.mockup-footer {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}

.mockup-button {
  background: #0f172a;
  color: white;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.problem-solution {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 64px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
}

.card h2 {
  margin-bottom: 16px;
  font-size: 20px;
}

.card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.card li::before {
  content: "•";
  color: var(--primary);
  margin-right: 8px;
}

.section-heading {
  text-align: center;
  margin-bottom: 32px;
}

.section-heading h2 {
  font-size: clamp(28px, 3vw, 36px);
  margin-bottom: 10px;
}

.section-heading p {
  color: var(--muted);
  font-size: 16px;
}

.how {
  margin-bottom: 64px;
}

.video-examples {
  margin-bottom: 64px;
}

.video-carousel {
  display: flex;
  align-items: center;
  gap: 12px;
}

.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 12px;
  padding: 12px;
  flex: 1;
}

.carousel-track::-webkit-scrollbar {
  height: 8px;
}

.carousel-track::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.6);
  border-radius: 999px;
}

.carousel-track::-webkit-scrollbar-track {
  background: rgba(226, 232, 240, 0.6);
  border-radius: 999px;
}

.video-card {
  flex: 0 0 min(280px, 70vw);
  background: transparent;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  overflow: visible;
  aspect-ratio: 9 / 16;
  scroll-snap-align: center;
}

.video-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  display: block;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.carousel-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.18);
}

.carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}


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

.step-card {
  background: var(--card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 26px;
  box-shadow: var(--shadow);
  text-align: left;
  min-height: 200px;
}

.step-card h3 {
  margin: 18px 0 10px;
  font-size: 20px;
}

.step-card p {
  color: var(--muted);
  line-height: 1.5;
}

.icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: linear-gradient(135deg, #dbeafe, #f5d0fe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #1e1b4b;
}

.checklist {
  margin-bottom: 64px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  justify-items: center;
}

.check-item {
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  border: 1px solid var(--border);
  font-weight: 500;
  position: relative;
  max-width: 320px;
  width: 100%;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
}

.check-item::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 12px;
}

.check-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.check-item p {
  color: var(--muted);
  line-height: 1.5;
}

.pricing {
  margin-bottom: 64px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
  max-width: 420px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
  align-content: start;
  justify-items: stretch;
  grid-auto-rows: min-content;
}

.pricing-card h3 {
  font-size: 20px;
}

.pricing-subtitle {
  color: var(--muted);
  line-height: 1.5;
}

.pricing-credits {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.credit-amount {
  font-size: 40px;
  font-weight: 700;
}

.credit-label {
  color: var(--muted);
  font-weight: 600;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.pricing-features {
  display: grid;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  grid-template-columns: 1fr;
}

.pricing-feature {
  margin: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(219, 234, 254, 0.6));
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 16px;
  padding: 10px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.1);
  font-weight: 500;
}

.pricing-feature::before {
  content: "✓";
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.price-amount {
  font-size: 24px;
  font-weight: 700;
}

.price-currency {
  color: var(--muted);
  font-weight: 600;
}

.pricing-card.featured {
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.18);
}

.pricing-button {
  width: 100%;
  margin-top: 6px;
}

.who {
  margin-bottom: 72px;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.pill {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  font-weight: 500;
}

.cta {
  margin-bottom: 64px;
}

.cta-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(217, 70, 239, 0.12));
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  border: 1px solid rgba(99, 102, 241, 0.2);
  box-shadow: var(--shadow);
}

.cta-card h2 {
  font-size: clamp(28px, 3vw, 38px);
  margin-bottom: 12px;
}

.cta-card p {
  color: var(--muted);
  margin-bottom: 20px;
}

.footer {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-top: 32px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

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

.footer-meta {
  font-size: 13px;
}

.footer-bottom a,
.footer-meta a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom a:hover,
.footer-meta a:hover {
  color: var(--primary);
}

/* ── Hamburger button ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  flex-shrink: 0;
  transition: background 0.15s;
}
.hamburger:hover {
  background: rgba(0, 0, 0, 0.05);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% - 20px);
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    gap: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 8px 0;
    margin-top: 4px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    z-index: 200;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 0;
    color: var(--text);
  }
  .nav-links a:hover {
    background: rgba(37, 99, 235, 0.05);
  }
  .nav {
    flex-wrap: wrap;
  }
  .nav-actions {
    gap: 10px;
    justify-content: flex-end;
  }
  .language-switcher label {
    display: none;
  }
  .btn.btn-primary {
    padding: 8px 14px;
    font-size: 13px;
  }
}

@media (min-width: 901px) {
  .mockup-body {
    padding-left: 12px;
  }

  .mockup-footer {
    padding-left: 12px;
  }

  .check-grid {
    grid-template-columns: repeat(3, minmax(240px, 1fr));
  }

  .pricing-grid {
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    max-width: 1100px;
  }

  .pricing-card {
    padding: 32px;
  }

}

@media (max-width: 720px) {
  .page {
    padding: 24px 18px 48px;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

}

@media (max-width: 600px) {
  .video-carousel {
    gap: 8px;
  }

  .carousel-track {
    gap: 12px;
    padding: 8px;
    scroll-padding: 8px;
  }

  .video-card {
    flex-basis: 72vw;
    max-width: 240px;
    aspect-ratio: 9 / 16;
  }

  .carousel-btn {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }
}
