/* ===== Tokens ===== */
:root {
  --color-bg: #ffffff;
  --color-bg-gray: #f6f7f9;
  --color-dark: #0b0c0e;
  --color-dark-alt: #15171b;
  --color-accent: #5b6bf0;
  --color-accent-hover: #4a59e0;
  --color-text: #15171b;
  --color-text-muted: #6b7080;
  --color-text-inverse: #ffffff;
  --color-text-inverse-muted: rgba(255, 255, 255, 0.6);
  --color-border: #e6e8ec;
  --color-border-dark: rgba(255, 255, 255, 0.1);
  --color-success: #22c07d;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --radius-card: 14px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgba(11, 12, 14, 0.04), 0 4px 16px rgba(11, 12, 14, 0.05);
  --shadow-btn: 0 2px 8px rgba(91, 107, 240, 0.28);
  --container-max: 1120px;
  --container-narrow: 780px;
  --nav-height: 64px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.container.narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: 72px 0;
}

.section-white {
  background: var(--color-bg);
}

.section-gray {
  background: var(--color-bg-gray);
}

.section-dark {
  background: var(--color-dark);
  color: var(--color-text-inverse);
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-sub {
  margin-top: 10px;
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.section-dark .section-sub {
  color: var(--color-text-inverse-muted);
}

.section-cta {
  text-align: center;
  margin-top: 36px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: var(--shadow-btn);
}

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

.btn-sm {
  font-size: 0.9rem;
  padding: 9px 18px;
}

.btn-lg {
  font-size: 1.05rem;
  padding: 14px 28px;
}

.btn-arrow {
  transition: transform 0.18s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.nav-inner {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--color-text);
  text-decoration: none;
}

.nav-logo {
  display: inline-flex;
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 8px;
  background: var(--color-accent);
  color: #fff;
}

/* ===== Hero ===== */
.hero {
  padding: 96px 0 104px;
}

.hero-inner {
  max-width: 760px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-accent);
  background: rgba(91, 107, 240, 0.08);
  border: 1px solid rgba(91, 107, 240, 0.2);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 6.5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero-sub {
  margin-top: 20px;
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--color-text-muted);
  max-width: 560px;
}

.hero .btn {
  margin-top: 32px;
}

.hero-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ===== Pains ===== */
.pain-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
}

.pain-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  font-weight: 500;
}

.pain-icon {
  flex-shrink: 0;
  display: inline-flex;
  width: 38px;
  height: 38px;
  padding: 9px;
  border-radius: 10px;
  background: var(--color-bg-gray);
  color: var(--color-text-muted);
}

/* ===== Features ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}

.feature-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(11, 12, 14, 0.04), 0 10px 28px rgba(11, 12, 14, 0.08);
}

.feature-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 11px;
  background: rgba(91, 107, 240, 0.1);
  color: var(--color-accent);
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* ===== Video ===== */
.video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-dark-alt);
  border: 1px solid var(--color-border-dark);
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--color-text-inverse-muted);
  font-weight: 500;
}

.video-play {
  display: inline-flex;
  width: 64px;
  height: 64px;
  padding: 18px 15px 18px 21px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--color-border-dark);
  color: #fff;
}

.video-caption {
  margin-top: 16px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-inverse-muted);
}

/* ===== Qualification ===== */
.qual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
  align-items: start;
}

.qual-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.qual-card-negative {
  background: transparent;
  box-shadow: none;
}

.qual-card-negative .check-item {
  color: var(--color-text-muted);
}

.qual-title {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
}

.check-icon {
  flex-shrink: 0;
  display: inline-flex;
  width: 24px;
  height: 24px;
  padding: 4px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(34, 192, 125, 0.12);
  color: var(--color-success);
}

.cross-icon {
  background: rgba(107, 112, 128, 0.12);
  color: var(--color-text-muted);
}

/* ===== Booking ===== */
.booking-wrap {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-dark-alt);
  border: 1px solid var(--color-border-dark);
  min-height: 700px;
}

.booking-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-inverse-muted);
  font-weight: 500;
}

.booking-wrap iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 700px;
  border: none;
  display: block;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.booking-wrap iframe.is-loaded {
  opacity: 1;
}

.booking-note {
  margin-top: 16px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-inverse-muted);
}

/* ===== FAQ ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
}

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

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.faq-chevron {
  flex-shrink: 0;
  display: inline-flex;
  width: 20px;
  height: 20px;
  color: var(--color-text-muted);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-item p {
  padding: 0 22px 18px;
  color: var(--color-text-muted);
}

/* ===== Footer ===== */
.footer {
  background: var(--color-dark);
  color: var(--color-text-inverse);
  padding: 48px 0;
}

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

.footer-brand {
  font-weight: 700;
  font-size: 1.05rem;
}

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

.footer-links a {
  color: var(--color-text-inverse-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.18s ease;
}

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

.footer-copy {
  font-size: 0.85rem;
  color: var(--color-text-inverse-muted);
}

/* ===== Thank-you page ===== */
.thanks-check {
  display: inline-flex;
  width: 64px;
  height: 64px;
  padding: 16px;
  border-radius: 50%;
  background: rgba(34, 192, 125, 0.12);
  color: var(--color-success);
  margin-bottom: 24px;
}

.thanks-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 36px;
  text-align: left;
}

.thanks-steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
}

.thanks-step-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(91, 107, 240, 0.1);
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 700;
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== Mobile ===== */
@media (max-width: 640px) {
  .section {
    padding: 56px 0;
  }

  .hero {
    padding: 64px 0 72px;
  }

  .feature-grid,
  .qual-grid {
    grid-template-columns: 1fr;
  }

  .nav-brand span:last-child {
    font-size: 0.95rem;
  }
}
