@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

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

:root {
  --ink:       oklch(13% 0.015 260);
  --ink-mid:   oklch(32% 0.018 260);
  --ink-soft:  oklch(52% 0.012 260);
  --ink-mute:  oklch(72% 0.008 260);
  --ink-faint: oklch(88% 0.005 260);
  --bg:        oklch(98.5% 0.004 255);
  --bg-warm:   oklch(97% 0.006 255);
  --bg-mid:    oklch(95% 0.007 255);
  --accent:    oklch(56% 0.22 248);
  --accent-lo: oklch(93% 0.06 248);
  --accent2:   oklch(60% 0.19 165);
  --accent2-lo:oklch(93% 0.05 165);
  --hero-bg:   oklch(13% 0.015 260);

  --font-head: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;

  --max: 1160px;
  --nav-h: 68px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 32px;
  border-bottom: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s;
}
.nav.scrolled {
  background: rgba(13,13,20,0.96);
  backdrop-filter: blur(12px);
  border-color: rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.3px;
  flex-shrink: 0;
}
.nav-logo span { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  flex: 1;
}
.nav-links a {
  color: oklch(80% 0.01 260);
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  transition: color 0.15s;
}
.nav-links a:hover { color: #fff; }
.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.18s;
  white-space: nowrap;
}
.btn-ghost {
  color: oklch(80% 0.01 260);
  background: transparent;
}
.btn-ghost:hover { color: #fff; }
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: oklch(50% 0.22 248); transform: translateY(-1px); }
.btn-primary-dark {
  background: var(--accent);
  color: #fff;
}
.btn-primary-dark:hover { background: oklch(50% 0.22 248); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink-faint);
}
.btn-outline:hover { border-color: var(--ink-mute); }
.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-outline-light:hover { border-color: rgba(255,255,255,0.5); }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-xl { padding: 16px 32px; font-size: 17px; border-radius: 8px; }

/* ── SECTIONS ── */
section { position: relative; }
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}
.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 72px 0; }
.section-pad-lg { padding: 120px 0; }

/* ── LABELS ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.eyebrow-light { color: oklch(75% 0.15 248); }
.eyebrow-light .eyebrow-dot { background: oklch(75% 0.15 248); }

/* ── TYPE ── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.h-display {
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.05;
}
.h-section {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
}
.h-sub {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 600;
}
.h-card {
  font-size: 20px;
  font-weight: 600;
}
.lead {
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 400;
}
.lead-light {
  color: oklch(72% 0.01 260);
}

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

/* ── CARDS ── */
.card {
  background: var(--bg);
  border: 1px solid var(--ink-faint);
  border-radius: var(--r-lg);
  padding: 28px;
}
.card-dark {
  background: oklch(18% 0.016 260);
  border: 1px solid oklch(22% 0.016 260);
  border-radius: var(--r-lg);
  padding: 28px;
}

/* ── STEPS ── */
.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent-lo);
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── CHECK LIST ── */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 16px;
}
.check-list li::before {
  content: '';
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-lo);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9l3.5 3.5L14 6' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── DIVIDER ── */
.divider {
  border: none;
  border-top: 1px solid var(--ink-faint);
  margin: 0;
}

/* ── FOOTER ── */
.footer {
  background: var(--hero-bg);
  color: oklch(60% 0.01 260);
  padding: 64px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid oklch(22% 0.015 260);
}
.footer-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin-bottom: 14px;
  display: block;
}
.footer-logo span { color: var(--accent); }
.footer-desc { font-size: 14px; line-height: 1.65; max-width: 260px; }
.footer-col-title {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: oklch(58% 0.01 260);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

/* ── HERO EDITOR MOCKUP ── */
.editor-mock {
  background: oklch(16% 0.016 260);
  border: 1px solid oklch(24% 0.018 260);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  font-family: var(--font-body);
}
.editor-topbar {
  background: oklch(14% 0.015 260);
  border-bottom: 1px solid oklch(22% 0.016 260);
  height: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
}
.editor-dots { display: flex; gap: 6px; }
.editor-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.editor-dot:nth-child(1) { background: oklch(60% 0.18 30); }
.editor-dot:nth-child(2) { background: oklch(70% 0.18 80); }
.editor-dot:nth-child(3) { background: oklch(65% 0.2 145); }
.editor-title {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: oklch(50% 0.01 260);
}
.editor-body {
  display: flex;
  height: 380px;
}
.editor-sidebar {
  width: 48px;
  background: oklch(15% 0.015 260);
  border-right: 1px solid oklch(21% 0.016 260);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
  gap: 10px;
}
.editor-tool {
  width: 32px; height: 32px;
  border-radius: 6px;
  background: oklch(20% 0.016 260);
  display: flex;
  align-items: center;
  justify-content: center;
}
.editor-tool.active { background: var(--accent); }
.editor-tool svg { width: 16px; height: 16px; }
.editor-canvas {
  flex: 1;
  background: oklch(20% 0.014 260);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.editor-canvas-inner {
  background: #fff;
  width: 340px;
  height: 280px;
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.canvas-banner-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, oklch(28% 0.08 248) 0%, oklch(22% 0.06 260) 100%);
}
.canvas-banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.canvas-banner-line1 {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}
.canvas-banner-line2 {
  font-size: 11px;
  color: oklch(75% 0.1 248);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 6px;
}
.canvas-banner-accent {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent);
}
.canvas-ruler-h {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 18px;
  background: oklch(18% 0.014 260);
  border-bottom: 1px solid oklch(25% 0.016 260);
}
.canvas-ruler-v {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 18px;
  background: oklch(18% 0.014 260);
  border-right: 1px solid oklch(25% 0.016 260);
}
.canvas-grid-overlay {
  position: absolute;
  inset: 18px;
  background-image:
    linear-gradient(oklch(28% 0.014 260) 1px, transparent 1px),
    linear-gradient(90deg, oklch(28% 0.014 260) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.4;
  pointer-events: none;
}
.canvas-selection-box {
  position: absolute;
  border: 1.5px solid var(--accent);
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(37,99,235,0.3);
}
.canvas-handle {
  position: absolute;
  width: 8px; height: 8px;
  background: #fff;
  border: 1.5px solid var(--accent);
  border-radius: 1px;
  transform: translate(-50%, -50%);
}
.editor-right {
  width: 200px;
  background: oklch(15% 0.015 260);
  border-left: 1px solid oklch(21% 0.016 260);
  padding: 14px;
  overflow: hidden;
}
.panel-section {
  margin-bottom: 16px;
}
.panel-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: oklch(45% 0.01 260);
  margin-bottom: 8px;
}
.panel-row {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}
.panel-input {
  flex: 1;
  height: 26px;
  background: oklch(20% 0.016 260);
  border: 1px solid oklch(26% 0.018 260);
  border-radius: 4px;
  padding: 0 8px;
  font-size: 11px;
  color: oklch(75% 0.01 260);
}
.panel-swatch {
  width: 26px; height: 26px;
  border-radius: 4px;
  border: 1px solid oklch(26% 0.018 260);
  flex-shrink: 0;
}
.panel-preview-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: oklch(20% 0.016 260);
  border: 1px solid oklch(30% 0.08 165);
  border-radius: 6px;
  padding: 8px 10px;
  margin-top: 12px;
}
.panel-preview-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent2); }
.panel-preview-text { font-size: 11px; color: var(--accent2); font-weight: 500; }
.panel-font-preview {
  background: oklch(19% 0.015 260);
  border-radius: 4px;
  padding: 6px 8px;
  font-size: 12px;
  color: oklch(70% 0.01 260);
  margin-bottom: 6px;
}

/* ── PROBLEM SECTION ── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.problem-card {
  background: oklch(97% 0.005 255);
  border: 1px solid var(--ink-faint);
  border-radius: var(--r-lg);
  padding: 28px;
}
.problem-icon {
  width: 44px; height: 44px;
  background: oklch(94% 0.03 30);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* ── FEATURE FAMILIES ── */
.feature-tab-nav {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--ink-faint);
  margin-bottom: 40px;
}
.feature-tab {
  padding: 12px 20px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.15s;
}
.feature-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.feature-tab:hover:not(.active) { color: var(--ink); }
.feature-panel { display: none; }
.feature-panel.active { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat-card {
  border: 1px solid var(--ink-faint);
  border-radius: var(--r-md);
  padding: 22px;
  transition: border-color 0.15s;
}
.feat-card:hover { border-color: var(--accent); }
.feat-card-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--accent-lo);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.feat-card-icon.teal { background: var(--accent2-lo); }
.feat-card-icon.amber { background: oklch(93% 0.05 80); }
.feat-name { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.feat-desc { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }

/* ── AI SECTION ── */
.ai-section {
  background: var(--hero-bg);
  color: #fff;
}
.ai-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ai-card {
  background: oklch(18% 0.016 260);
  border: 1px solid oklch(24% 0.018 260);
  border-radius: var(--r-md);
  padding: 22px;
  transition: border-color 0.2s;
}
.ai-card:hover { border-color: oklch(45% 0.15 248); }
.ai-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: oklch(55% 0.15 248);
  margin-bottom: 8px;
}
.ai-card-name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}
.ai-card-desc {
  font-size: 13px;
  color: oklch(60% 0.01 260);
  line-height: 1.55;
}

/* ── TRUST / LOGOS ── */
.logo-strip {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}
.logo-pill {
  height: 36px;
  padding: 0 20px;
  background: var(--bg-mid);
  border: 1px solid var(--ink-faint);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}

/* ── TESTIMONIALS ── */
.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--ink-faint);
  border-radius: var(--r-lg);
  padding: 28px;
}
.testimonial-body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 20px;
}
.testimonial-meta { display: flex; gap: 12px; align-items: center; }
.testimonial-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent-lo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}
.testimonial-name { font-size: 14px; font-weight: 600; }
.testimonial-role { font-size: 13px; color: var(--ink-soft); }

/* ── PRICING ── */
.pricing-card {
  border: 2px solid var(--accent);
  border-radius: var(--r-xl);
  padding: 48px;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}
.pricing-price {
  font-family: var(--font-head);
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.pricing-price-currency { font-size: 28px; font-weight: 500; vertical-align: super; }
.pricing-price-period { font-size: 20px; font-weight: 400; color: var(--ink-soft); }

/* ── FINAL CTA ── */
.cta-section {
  background: var(--accent);
  color: #fff;
}

/* ── HOW IT WORKS ── */
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.how-steps::after {
  content: '';
  position: absolute;
  top: 18px; left: calc(12.5% + 18px);
  right: calc(12.5% + 18px);
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--accent) 0, var(--accent) 8px, transparent 8px, transparent 16px);
  z-index: 0;
}
.how-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.how-step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.how-step-title { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.how-step-desc { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

/* ── WHY CHOOSE ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.why-card {
  display: flex;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--ink-faint);
  border-radius: var(--r-md);
  align-items: flex-start;
}
.why-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--accent-lo);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── INTEGRATION LOGOS ── */
.int-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-mid);
  border: 1px solid var(--ink-faint);
  border-radius: var(--r-md);
  padding: 14px 18px;
}
.int-icon {
  width: 32px; height: 32px;
  border-radius: 6px;
  background: var(--accent-lo);
  display: flex;
  align-items: center;
  justify-content: center;
}
.int-name { font-size: 15px; font-weight: 600; }
.int-type { font-size: 12px; color: var(--ink-soft); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .grid-3, .problem-grid, .why-grid { grid-template-columns: 1fr 1fr; }
  .ai-grid { grid-template-columns: 1fr 1fr; }
  .how-steps { grid-template-columns: 1fr 1fr; }
  .how-steps::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-panel.active { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-3, .grid-2, .problem-grid, .ai-grid, .why-grid, .how-steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .feature-panel.active { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 32px 24px; }
  .container { padding: 0 20px; }
}
