@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Cal+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

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

:root {
  --blue:        #2563eb;
  --blue-hover:  #1d4ed8;
  --blue-light:  #eff6ff;
  --blue-mid:    #dbeafe;
  --ink:         #0f172a;
  --ink-2:       #1e293b;
  --body:        #334155;
  --muted:       #64748b;
  --muted-2:     #94a3b8;
  --border:      #e2e8f0;
  --border-2:    #f1f5f9;
  --bg:          #ffffff;
  --bg-soft:     #f8fafc;
  --bg-dark:     #0f172a;
  --green:       #059669;
  --green-light: #ecfdf5;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-full: 100px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow:      0 4px 16px rgba(0,0,0,0.07), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:   0 20px 48px rgba(0,0,0,0.1), 0 8px 16px rgba(0,0,0,0.06);
  --max:         1160px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── CONTAINER ── */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

/* ── NAV ── */
.nav {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 30px;
  height: 30px;
  background: var(--blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-mark svg {
  width: 16px;
  height: 16px;
  fill: white;
}

.logo span { color: var(--blue); }

.nav-center {
  display: flex;
  align-items: center;
  gap: 4px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 14px;
  border-radius: var(--radius);
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover { color: var(--ink); background: var(--bg-soft); }
.nav-link.active { color: var(--ink); font-weight: 600; }

.nav-right { display: flex; align-items: center; gap: 10px; }

.btn-nav {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
  padding: 7px 16px;
  border-radius: var(--radius);
  transition: background 0.15s;
}
.btn-nav:hover { background: var(--blue-light); }

.btn-nav-fill {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: var(--blue);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 1px 3px rgba(37,99,235,0.3);
}
.btn-nav-fill:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,99,235,0.35);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  line-height: 1;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 1px 3px rgba(37,99,235,0.3);
}
.btn-primary:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,99,235,0.35);
}

.btn-secondary {
  background: var(--bg-soft);
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: var(--border-2);
  border-color: #cbd5e1;
}

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

/* ── HERO ── */
.hero {
  padding: 80px 0 72px;
  background: var(--bg);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  border: 1px solid var(--blue-mid);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero-eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

.hero-h {
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 20px;
}

.hero-h .accent { color: var(--blue); }

.hero-p {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-p strong { color: var(--ink); font-weight: 600; }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--muted-2);
}

.hero-trust-dot { color: var(--muted-2); }

/* HERO RIGHT — visual card */
.hero-visual {
  position: relative;
  overflow: visible;
  align-self: start;
  top: 0;
}

.hero-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.hero-card-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-card-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green);
  background: var(--green-light);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.session-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-2);
}
.session-row:last-child { border-bottom: none; padding-bottom: 0; }
.session-row:first-of-type { padding-top: 0; }

.session-row-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}

.sn-theory { background: #f1f5f9; color: #475569; }
.sn-lab    { background: var(--blue-light); color: var(--blue); }

.session-row-text {
  flex: 1;
  font-size: 0.85rem;
  color: var(--ink-2);
  font-weight: 500;
  line-height: 1.3;
}

.session-row-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-card-float {
  position: absolute;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
}

.float-1 {
  bottom: -20px;
  left: -32px;
}

.float-2 {
  top: -20px;
  right: -24px;
}

.float-icon {
  font-size: 1.2rem;
}

.float-text strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.float-text span {
  font-size: 0.72rem;
  color: var(--muted);
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide-x: 1px solid var(--border);
}

.stat-item {
  padding: 28px 32px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.stat-item:last-child { border-right: none; }

.stat-n {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-l {
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 500;
}

/* ── SECTION ── */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.section-h {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 560px;
}

.section-sub strong { color: var(--ink); font-weight: 600; }

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 24px;
}

/* ── CARDS ── */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 8px 24px rgba(37,99,235,0.07);
  transform: translateY(-2px);
}

.card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 18px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.3;
}

.card-body {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── GRID ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ── SESSION CARDS ── */
.s-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.s-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 4px 20px rgba(37,99,235,0.07);
  transform: translateY(-2px);
}

.s-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.s-num {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-2);
  letter-spacing: 0.04em;
}

.badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.badge-t { background: #f1f5f9; color: #475569; }
.badge-l { background: var(--blue-light); color: var(--blue); border: 1px solid var(--blue-mid); }

.s-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 8px;
}

.s-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}

.s-note {
  font-size: 0.8rem;
  color: var(--blue);
  font-weight: 500;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── PHASE ── */
.phase { margin-bottom: 64px; }
.phase:last-child { margin-bottom: 0; }

.phase-label-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.ph-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.ph-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.ph-note {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-left: auto;
  font-style: italic;
}

/* ── PROBLEM ROWS ── */
.problem-row {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 16px;
  align-items: start;
}
.problem-row:first-child { border-top: 1px solid var(--border); }

.p-dot {
  width: 7px; height: 7px;
  background: var(--blue);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

.p-strong {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
}

.p-body {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── BEFORE / AFTER ── */
.ba-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
}

.ba-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.ba-head {
  padding: 16px 24px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}

.ba-card.before .ba-head { background: var(--bg-soft); color: var(--muted); }
.ba-card.after  .ba-head { background: var(--blue-light); color: var(--blue); }

.ba-item {
  padding: 14px 24px;
  font-size: 0.875rem;
  line-height: 1.55;
  border-bottom: 1px solid var(--border-2);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.ba-item:last-child { border-bottom: none; }

.ba-card.before .ba-item { color: var(--muted); }
.ba-card.after  .ba-item { color: var(--ink-2); font-weight: 500; }

.ba-mark {
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.ba-card.before .ba-mark { color: var(--muted-2); }
.ba-card.after  .ba-mark { color: var(--blue); }

/* ── CTA SECTION ── */
.cta-section {
  background: var(--ink);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
  top: -200px; right: -100px;
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.1) 0%, transparent 70%);
  bottom: -150px; left: -50px;
  pointer-events: none;
}

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

.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #93c5fd;
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(37,99,235,0.25);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
}

.cta-h {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 18px;
}

.cta-h .accent { color: #60a5fa; }

.cta-body {
  font-size: 1.0625rem;
  color: #94a3b8;
  line-height: 1.75;
  margin-bottom: 36px;
}

.cta-body strong { color: #e2e8f0; font-weight: 500; }

.cta-note {
  font-size: 0.8125rem;
  color: #475569;
  margin-top: 14px;
}

/* ── FORMAT DETAILS ── */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.detail-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.detail-n {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}

.detail-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.detail-sub { font-size: 0.8125rem; color: var(--muted); line-height: 1.5; }

/* ── CHECKLIST ── */
.checklist { list-style: none; display: flex; flex-direction: column; gap: 0; }

.cl-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}
.cl-item:first-child { border-top: 1px solid var(--border); }

.cl-item strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 2px;
  font-size: 0.9375rem;
}

.cl-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}
.cl-yes { background: #dcfce7; color: #16a34a; }
.cl-no  { background: var(--bg-soft); color: var(--muted-2); border: 1px solid var(--border); }

/* ── FORM ── */
.form-group { display: flex; flex-direction: column; gap: 6px; }

label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

input, select, textarea {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

input::placeholder, textarea::placeholder { color: var(--muted-2); }

textarea { resize: vertical; min-height: 88px; line-height: 1.6; }

.form-hint { font-size: 0.78rem; color: var(--muted-2); }

/* ── FOOTER ── */
.footer {
  padding: 40px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
}

.footer-logo span { color: var(--blue); }

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

.footer-link {
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.15s;
}
.footer-link:hover { color: var(--ink); }

.footer-copy {
  font-size: 0.78rem;
  color: var(--muted-2);
  text-align: right;
}

/* ── DIVIDER ── */
hr { border: none; border-top: 1px solid var(--border); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .wrap { padding: 0 24px; }
  .nav  { padding: 0 24px; }
  .nav-center { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats-bar-inner { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr 1fr; }
  .ba-wrap { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; gap: 16px; }
  .footer-copy { text-align: left; }
  .footer-links { display: none; }
  .section { padding: 64px 0; }
  .ph-note { display: none; }
}

@media (max-width: 600px) {
  .hero-h { font-size: 2rem; }
  .stats-bar-inner { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .section-header-row { flex-direction: column; align-items: flex-start; }
}
