:root {
  --bg: #ffffff;
  --surface: #f8fafc;
  --surface-2: #f1f5f9;
  --border: #e5e7eb;
  --border-2: #d1d5db;
  --text: #0f172a;
  --text-2: #334155;
  --muted: #64748b;
  --accent: #4f46e5;
  --accent-hover: #4338ca;
  --accent-light: #eef2ff;
  --accent-soft: #e0e7ff;
  --success: #16a34a;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 4px 12px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.05);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img, svg { display: block; max-width: 100%; }

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

/* ==================== NAV ==================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  gap: 32px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 17px;
}
.brand-mark { display: inline-flex; }
.nav-links {
  display: flex; gap: 32px; flex: 1;
  margin-left: 16px;
}
.nav-links a {
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.link {
  font-size: 14px; font-weight: 500; color: var(--text-2);
  transition: color .15s ease;
}
.link:hover { color: var(--text); }

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14.5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .1s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(79, 70, 229, 0.25), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 6px 16px -4px rgba(79, 70, 229, 0.4); }
.btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: var(--border-2); background: var(--surface); }
.btn-block { width: 100%; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-light);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--accent-soft);
}
.pill-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

/* ==================== HEADINGS ==================== */
h1, h2, h3, h4 {
  margin: 0;
  letter-spacing: -0.025em;
  color: var(--text);
  font-weight: 700;
}
h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  font-weight: 800;
}
h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.15;
}
h3 { font-size: 24px; line-height: 1.2; }
h4 { font-size: 18px; line-height: 1.3; font-weight: 600; }
.hl { color: var(--accent); }

/* ==================== HERO ==================== */
.hero {
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 700px 320px at 20% 10%, rgba(79, 70, 229, 0.08), transparent 60%),
    radial-gradient(ellipse 600px 320px at 90% 40%, rgba(99, 102, 241, 0.05), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-copy h1 { margin: 20px 0 20px; }
.hero-copy h1 .hl { display: inline; }
.lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 0 32px;
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-row.centered { justify-content: center; }
.hero-meta {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 18px;
  font-size: 14px;
  color: var(--muted);
  flex-wrap: wrap;
}
.hero-meta strong { color: var(--text); font-weight: 600; }
.hero-meta .bar {
  width: 1px; height: 16px;
  background: var(--border);
}

/* Hero visual */
.hero-visual {
  position: relative;
}
.window {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.window-bar {
  height: 40px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 0 14px;
  gap: 6px;
}
.window-bar .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dot.d1 { background: #fb7185; }
.dot.d2 { background: #fbbf24; }
.dot.d3 { background: #34d399; }
.window-title {
  margin-left: 14px;
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 500;
}
.window-body { padding: 20px; display: grid; gap: 16px; }
.status-row { }
.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(22, 163, 74, 0.08);
  color: var(--success);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
}
.metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.metric-head {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.metrics { display: grid; gap: 10px; }
.metric { display: grid; grid-template-columns: 80px 1fr 28px; align-items: center; gap: 10px; font-size: 13px; }
.m-label { color: var(--text-2); font-weight: 500; }
.m-bar {
  height: 6px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.m-bar > div {
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
}
.m-val { font-weight: 600; text-align: right; color: var(--text); }
.clip-list { display: grid; gap: 6px; }
.clip-head {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.clip {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
}
.clip .play { color: var(--accent); font-size: 10px; }
.clip .dur { color: var(--muted); font-size: 12px; font-weight: 500; }
.primary-cta {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
.float-card {
  position: absolute;
  bottom: 24px; left: -24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
}
.fc-row { display: flex; align-items: center; gap: 12px; }
.fc-icon {
  width: 36px; height: 36px;
  background: rgba(22, 163, 74, 0.1);
  color: var(--success);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 18px;
}
.fc-title { font-size: 14px; font-weight: 600; }
.fc-sub { font-size: 12px; color: var(--muted); }

/* ==================== LOGOS ==================== */
.logos {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
  background: var(--bg);
}
.logos-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}
.logos-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 48px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-2);
  opacity: 0.85;
}

/* ==================== SECTIONS ==================== */
.section { padding: 110px 0; }
.section.soft { background: var(--surface); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head p {
  margin: 16px auto 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-2);
  max-width: 640px;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--accent-light);
  padding: 6px 12px;
  border-radius: 999px;
}

/* ==================== STATS (problem) ==================== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: var(--shadow-sm);
}
.stat {
  padding: 32px 28px;
  text-align: left;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 12px;
}
.stat-num span {
  font-size: 0.5em;
  color: var(--muted);
  font-weight: 500;
  margin-left: 2px;
}
.stat-label {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.5;
}

/* ==================== PILLARS (platform) ==================== */
.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.pillar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  display: block;
  color: inherit;
}
.pillar:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pillar-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 16px;
}
.pillar h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 14px;
}
.pillar p {
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 22px;
}
.pillar-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--accent);
}
.arrow {
  transition: transform .15s ease;
}
.pillar:hover .arrow { transform: translateX(4px); }

/* ==================== FEATURES ==================== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s ease, transform .2s ease;
}
.feature:hover { border-color: var(--border-2); transform: translateY(-2px); }
.section.soft .feature { background: #fff; }
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature h4 {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 600;
}
.feature p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

/* ==================== STEPS ==================== */
.steps {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.steps > li:nth-child(odd) {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  height: 100%;
  display: flex; flex-direction: column;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 18px;
}
.steps h4 { margin-bottom: 10px; font-size: 20px; font-weight: 600; }
.steps p { color: var(--text-2); font-size: 15px; line-height: 1.55; margin: 0; }
.step-arrow {
  font-size: 24px;
  color: var(--border-2);
  font-weight: 500;
}

/* ==================== WHY ==================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}
.why-num {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 18px;
  font-feature-settings: "tnum";
}
.why h4 {
  font-size: 19px;
  margin-bottom: 10px;
  font-weight: 600;
}
.why p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-2);
  margin: 0;
}

/* ==================== PRICING ==================== */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.plan {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex; flex-direction: column;
  position: relative;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.plan:hover { border-color: var(--border-2); }
.plan.featured {
  border-color: var(--accent);
  border-width: 2px;
  padding: 35px 31px;
  box-shadow: 0 24px 48px -12px rgba(79, 70, 229, 0.16);
  transform: translateY(-8px);
}
.plan-badge {
  position: absolute; top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.plan-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.plan-price {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.plan-price span {
  font-size: 16px;
  color: var(--muted);
  font-weight: 500;
  margin-left: 4px;
}
.plan-line {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 24px;
}
.plan-list {
  list-style: none;
  padding: 24px 0 0;
  margin: 24px 0 0;
  border-top: 1px solid var(--border);
  flex: 1;
}
.plan-list li {
  padding: 8px 0;
  font-size: 14.5px;
  color: var(--text-2);
  display: flex; gap: 10px;
  line-height: 1.5;
}
.plan-list li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  background: var(--accent-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") center/12px no-repeat;
  border-radius: 50%;
  margin-top: 2px;
}

/* ==================== CTA BAND ==================== */
.cta-band {
  padding: 80px 0 110px;
}
.cta-card {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute; top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.1), transparent 60%);
  pointer-events: none;
}
.cta-card h2 { color: #fff; margin-bottom: 12px; }
.cta-card p {
  color: rgba(255,255,255,0.85);
  font-size: 17px;
  margin: 0;
  max-width: 500px;
}
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; position: relative; }
.cta-band .btn-primary {
  background: #fff;
  color: var(--accent);
}
.cta-band .btn-primary:hover { background: var(--surface); color: var(--accent-hover); }
.cta-band .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.3);
  box-shadow: none;
}
.cta-band .btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 64px;
}
.footer-brand p {
  color: var(--text-2);
  font-size: 14.5px;
  margin: 18px 0;
  line-height: 1.5;
}
.trust-line {
  display: flex; flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 500;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer-h {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.footer-cols a, .footer-cols span {
  display: block;
  font-size: 14px;
  color: var(--text-2);
  padding: 5px 0;
  transition: color .15s ease;
}
.footer-cols a:hover { color: var(--accent); }
.footer-foot {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 540px; margin: 0 auto; }
  .float-card { left: -8px; }
  .pillars { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; gap: 16px; }
  .plan.featured { transform: none; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border); }
  .steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .step-arrow { transform: rotate(90deg); justify-self: center; }
  .cta-card { grid-template-columns: 1fr; padding: 40px 32px; }
  .cta-actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-cta .link { display: none; }
  .nav-inner { gap: 16px; }
  .section { padding: 80px 0; }
  .hero { padding: 64px 0 56px; }
  .stats-row { grid-template-columns: 1fr; padding: 0; border: none; background: transparent; }
  .stat { border-right: none !important; border-bottom: 1px solid var(--border); background: #fff; border-radius: var(--radius); margin-bottom: 12px; border: 1px solid var(--border); }
  .logos-row { gap: 28px; font-size: 16px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .float-card { display: none; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-meta { gap: 10px; font-size: 13px; }
  .hero-meta .bar { display: none; }
  .footer-cols { grid-template-columns: 1fr; }
  .cta-card { padding: 32px 24px; }
}
