:root {
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --border: #E2E8F0;
  --text: #0F172A;
  --muted: #475569;
  --subtle: #64748B;
  --primary: #4F46E5;
  --primary-hover: #4338CA;
  --accent: #F43F5E;
  --emerald-bg: #ECFDF5;
  --emerald-text: #047857;
  --emerald-border: #A7F3D0;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.container { max-width: 1060px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 780px; margin: 0 auto; padding: 0 22px; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, #4F46E5, #312E81);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 600; color: var(--muted); }
.nav-links a:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}
.btn-sm { padding: 8px 14px; font-size: 13.5px; }
.btn-primary { background: var(--primary); color: #FFFFFF; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn-outline { background: var(--surface); color: var(--text); border-color: #CBD5E1; }
.btn-outline:hover { background: #F1F5F9; }

/* Hero */
.hero {
  padding: 72px 0 56px;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--emerald-bg);
  border: 1px solid var(--emerald-border);
  color: var(--emerald-text);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #10B981; }

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 820px;
  margin: 0 auto 18px;
}
.hero h1 span { color: var(--primary); }
.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 660px;
  margin: 0 auto 30px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}
.hero-note { font-size: 13px; color: var(--subtle); }

/* Visual Mockup */
.mockup-frame {
  margin: 44px auto 0;
  background: #0F172A;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
  text-align: left;
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 12px;
}
.m-dot { width: 11px; height: 11px; border-radius: 50%; background: #334155; }
.m-dot.r { background: #F43F5E; }
.m-dot.y { background: #F59E0B; }
.m-dot.g { background: #10B981; }
.m-url {
  margin-left: 10px;
  background: #1E293B;
  color: #94A3B8;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 6px;
  flex: 1;
  max-width: 380px;
}
.mockup-body {
  background: #F8FAFC;
  border-radius: 10px;
  display: grid;
  grid-template-columns: 230px 1fr;
  overflow: hidden;
  min-height: 320px;
}
.m-side {
  background: #FFFFFF;
  border-right: 1px solid var(--border);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.m-step {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 600;
}
.m-step.active { border-color: var(--primary); background: #EEF2FF; color: #3730A3; }
.m-stage {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.m-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.m-chip {
  background: #FFFFFF;
  border: 1px solid var(--border);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.m-chip.on { background: var(--primary); color: #fff; border-color: var(--primary); }
.m-chip.warn { background: #FFFBEB; color: #92400E; border-color: #FDE68A; }
.m-canvas {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
  position: relative;
  min-height: 210px;
}
.m-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 8px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  margin-bottom: 10px;
  font-size: 13px;
}
.blur-pill {
  background: repeating-linear-gradient(45deg, #94A3B8, #94A3B8 6px, #CBD5E1 6px, #CBD5E1 12px);
  color: transparent;
  border-radius: 4px;
  padding: 2px 12px;
  user-select: none;
}
.click-target {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #4F46E5;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  position: relative;
  box-shadow: 0 0 0 6px rgba(244, 63, 94, 0.25), 0 0 0 3px #F43F5E;
}

/* Sections */
.section { padding: 64px 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 40px; }
.section-head h2 { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.section-head p { color: var(--muted); font-size: 15.5px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.feat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}
.feat-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #EEF2FF;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 12px;
}
.feat-card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; }
.feat-card p { font-size: 14px; color: var(--muted); }

/* Comparison Table */
.table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--border); }
th { background: #F8FAFC; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--subtle); }
tr:last-child td { border-bottom: none; }
.col-sv { background: #EEF2FF; font-weight: 700; color: #312E81; }
.bad { color: #B91C1C; }
.good { color: #047857; font-weight: 700; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  max-width: 780px;
  margin: 0 auto;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 18px 40px rgba(79, 70, 229, 0.12);
  position: relative;
}
.popular-tag {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.price-tier { font-size: 15px; font-weight: 700; color: var(--muted); }
.price-num { font-size: 40px; font-weight: 800; margin: 8px 0 4px; letter-spacing: -0.03em; }
.price-num span { font-size: 15px; font-weight: 600; color: var(--subtle); }
.price-desc { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.price-list { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; font-size: 14px; }
.price-card .btn { margin-top: auto; width: 100%; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
}
.faq-item h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 6px; }
.faq-item p { font-size: 14px; color: var(--muted); }

/* Legal Pages */
.legal-card {
  margin: 40px auto 64px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
}
.legal-card h1 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.legal-updated { font-size: 13px; color: var(--subtle); margin-bottom: 24px; }
.legal-card h2 { font-size: 18px; font-weight: 700; margin: 24px 0 8px; }
.legal-card p, .legal-card li { font-size: 14.5px; color: var(--muted); margin-bottom: 10px; }
.legal-card ul { padding-left: 20px; }

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 30px 0;
  font-size: 13.5px;
  color: var(--subtle);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.footer-links { display: flex; gap: 18px; }
.footer-links a:hover { color: var(--text); }

@media (max-width: 720px) {
  .mockup-body { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
