/* ─── VARIABLES ─────────────────────────────────────────────────────────── */
:root {
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --blue-light: #EFF6FF;
  --blue-border: #BFDBFE;
  --text: #111827;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --bg: #FFFFFF;
  --bg-gray: #F9FAFB;
  --border: #E5E7EB;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ─── RESET ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
input { font-family: var(--font); }
img { max-width: 100%; }

/* ─── LAYOUT ─────────────────────────────────────────────────────────────── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── BUTTONS ────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.18s, transform 0.12s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-primary.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-primary.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-primary.btn-full { width: 100%; padding: 12px; font-size: 15px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.btn-ghost:hover { color: var(--text); background: var(--bg-gray); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  font-weight: 600;
  border-radius: 8px;
  padding: 12px;
  font-size: 15px;
  transition: border-color 0.15s, color 0.15s;
  cursor: not-allowed;
  opacity: 0.7;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--blue);
  font-weight: 700;
  border-radius: 8px;
  transition: opacity 0.15s, transform 0.12s;
}
.btn-white:hover { opacity: 0.92; transform: translateY(-1px); }
.btn-white.btn-lg { padding: 14px 36px; font-size: 16px; }

/* ─── NAV ────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.nav.scrolled {
  border-color: var(--border);
  box-shadow: 0 1px 12px rgba(0,0,0,0.05);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark {
  width: 34px;
  height: 34px;
  background: var(--blue);
  color: #fff;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.5px;
}
.logo-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.logo-white .logo-name { color: #fff; }
.logo-white .logo-mark { background: rgba(255,255,255,0.2); color: #fff; border: 1px solid rgba(255,255,255,0.3); }

.nav-links {
  display: flex;
  gap: 4px;
  flex: 1;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--text); background: var(--bg-gray); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.lang-btn {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: color 0.15s, border-color 0.15s;
  letter-spacing: 0.3px;
}
.lang-btn:hover { color: var(--blue); border-color: var(--blue); }

/* ─── HERO ───────────────────────────────────────────────────────────────── */
.hero {
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #EFF6FF 0%, #ffffff 55%);
}
.hero-bg-blob {
  position: absolute;
  top: -80px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #DBEAFE 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-text { max-width: 520px; }

.badge {
  display: inline-flex;
  align-items: center;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid var(--blue-border);
  margin-bottom: 24px;
}

.hero-text h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 36px;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}
.hero-hint {
  font-size: 13px;
  color: var(--text-light);
}

/* ─── WIDGET DEMO ────────────────────────────────────────────────────────── */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  position: relative;
}

.chat-window {
  width: 320px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--blue);
}
.chat-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.chat-avatar {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.chat-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.chat-status {
  font-size: 11px;
  color: rgba(255,255,255,0.75);
}
.chat-close-btn {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  padding: 2px 6px;
  border-radius: 4px;
  transition: color 0.15s;
  cursor: default;
}

.chat-messages {
  padding: 16px 14px;
  min-height: 220px;
  max-height: 260px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Message bubbles */
.msg {
  display: flex;
  animation: msgIn 0.35s ease both;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.msg-bot .msg-bubble {
  background: var(--bg-gray);
  color: var(--text);
  border-radius: 4px 14px 14px 14px;
  padding: 10px 13px;
  font-size: 13px;
  line-height: 1.5;
  max-width: 85%;
}
.msg-user {
  justify-content: flex-end;
}
.msg-user .msg-bubble {
  background: var(--blue);
  color: #fff;
  border-radius: 14px 4px 14px 14px;
  padding: 10px 13px;
  font-size: 13px;
  line-height: 1.5;
  max-width: 85%;
}
.typing-dots {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 14px;
  background: var(--bg-gray);
  border-radius: 4px 14px 14px 14px;
  width: fit-content;
  animation: msgIn 0.3s ease both;
}
.typing-dots span {
  width: 6px;
  height: 6px;
  background: var(--text-light);
  border-radius: 50%;
  animation: dot 1.2s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dot {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

.chat-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid var(--border);
}
.chat-input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--text-light);
  outline: none;
  background: var(--bg-gray);
  cursor: default;
}
.chat-send-btn {
  width: 32px;
  height: 32px;
  background: var(--blue);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: default;
}

/* FAB */
.fab-wrap {
  position: relative;
  margin-top: 16px;
  margin-right: 24px;
  width: 52px;
  height: 52px;
  align-self: flex-end;
}
.fab-pulse {
  position: absolute;
  inset: -6px;
  background: var(--blue);
  border-radius: 50%;
  opacity: 0.18;
  animation: fabPulse 2.4s ease-out infinite;
}
@keyframes fabPulse {
  0%   { transform: scale(0.85); opacity: 0.22; }
  50%  { transform: scale(1.15); opacity: 0.10; }
  100% { transform: scale(0.85); opacity: 0.22; }
}
.fab-btn {
  width: 52px;
  height: 52px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,99,235,0.4);
  cursor: default;
  position: relative;
  z-index: 1;
}

/* ─── STATS BAR ──────────────────────────────────────────────────────────── */
.stats-bar {
  background: var(--blue);
  padding: 28px 0;
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.stat {
  flex: 1;
  text-align: center;
  max-width: 200px;
}
.stat-val {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-lbl {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
  margin: 0 40px;
}

/* ─── SECTION COMMON ─────────────────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.section-header p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
}

/* ─── HOW IT WORKS ───────────────────────────────────────────────────────── */
.how {
  padding: 80px 0;
  background: var(--bg-gray);
}
.steps {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.step {
  flex: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
}
.step-connector {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 12px;
}
.step-num {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 11px;
  font-weight: 800;
  color: var(--blue);
  background: var(--blue-light);
  border-radius: 100px;
  padding: 2px 8px;
  letter-spacing: 0.5px;
}
.step-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 16px;
}
.step h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── FEATURES ───────────────────────────────────────────────────────────── */
.features {
  padding: 80px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  border-color: var(--blue-border);
  box-shadow: 0 4px 20px rgba(37,99,235,0.08);
}
.feature-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.feature-header h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── PRICING ────────────────────────────────────────────────────────────── */
.pricing {
  padding: 80px 0;
  background: var(--bg-gray);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 740px;
  margin: 0 auto;
}
.pricing-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
}
.pricing-free {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
}
.pricing-pro {
  opacity: 0.85;
}
.plan-badge {
  display: inline-block;
  background: var(--bg-gray);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.plan-name {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}
.plan-amount {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1.5px;
}
.plan-period {
  font-size: 15px;
  color: var(--text-muted);
}
.plan-soon {
  font-size: 24px;
  color: var(--text-muted);
}
.plan-tagline {
  font-size: 13px;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 28px;
}
.plan-features {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plan-features li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 22px;
  position: relative;
}
.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

/* ─── CTA SECTION ────────────────────────────────────────────────────────── */
.cta-section {
  background: var(--blue);
  padding: 80px 0;
}
.cta-inner {
  text-align: center;
}
.cta-section h2 {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
.footer {
  background: #0F172A;
  padding: 64px 0 0;
}
.footer-inner {
  display: flex;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand {
  flex: 1.2;
}
.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  margin-top: 14px;
  line-height: 1.6;
  max-width: 240px;
}
.footer-links {
  display: flex;
  gap: 64px;
  flex: 1;
  justify-content: flex-end;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding: 20px 0;
}
.footer-bottom span {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

/* ─── SUBPAGE COMMON ─────────────────────────────────────────────────────── */
.page-hero {
  padding: 100px 0 64px;
  background: linear-gradient(160deg, #EFF6FF 0%, #ffffff 60%);
  border-bottom: 1px solid var(--border);
}
.page-hero-sm { padding: 80px 0 48px; }
.page-hero-inner { max-width: 640px; }
.page-hero-label {
  display: inline-flex;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid var(--blue-border);
  margin-bottom: 20px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.page-hero h1 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1.2px;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
}
.page-section { padding: 72px 0; }
.page-section.bg-gray { background: var(--bg-gray); }
.narrow { max-width: 760px; }

.legal-updated {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 8px;
}

/* Nav active link */
.nav-links a.active { color: var(--blue); font-weight: 600; }

/* ─── DETAILED STEPS (how-it-works) ─────────────────────────────────────── */
.detailed-steps { display: flex; flex-direction: column; gap: 0; }
.detailed-step { display: flex; gap: 32px; padding: 48px 0; border-bottom: 1px solid var(--border); }
.detailed-step:last-child { border-bottom: none; }
.ds-num {
  font-size: 48px;
  font-weight: 900;
  color: var(--blue-border);
  line-height: 1;
  flex-shrink: 0;
  width: 60px;
  letter-spacing: -2px;
}
.ds-body { display: flex; gap: 20px; flex: 1; }
.ds-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.ds-content { flex: 1; }
.ds-content h2 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.ds-content p { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 12px; }
.ds-formats, .platforms-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.format-tag, .platform-tag {
  background: var(--bg-gray);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}
.ds-list {
  list-style: none;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ds-list li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
}
.ds-list li::before { content: '✓'; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.ds-divider { display: none; }

/* ─── TECH CARDS (how-it-works) ──────────────────────────────────────────── */
.tech-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tech-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.tech-num {
  width: 32px;
  height: 32px;
  background: var(--blue);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 16px;
}
.tech-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.tech-card p { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

/* ─── FAQ ────────────────────────────────────────────────────────────────── */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  gap: 16px;
}
.faq-q::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--text-muted);
  flex-shrink: 0;
  line-height: 1;
}
.faq-item.open .faq-q::after { content: '−'; color: var(--blue); }
.faq-item.open .faq-q { color: var(--blue); }
.faq-a { display: none; padding-bottom: 20px; }
.faq-item.open .faq-a { display: block; }
.faq-a p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ─── FEATURE CATEGORIES (features.html) ────────────────────────────────── */
.feat-category {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.feat-category:last-child { border-bottom: none; }
.feat-cat-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}
.feat-cat-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}
.feat-cat-header h2 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.feat-cat-header p { font-size: 14px; color: var(--text-muted); }
.feat-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feat-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.feat-check {
  width: 22px;
  height: 22px;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}
.feat-item strong { font-size: 14px; font-weight: 600; display: block; margin-bottom: 4px; }
.feat-item p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ─── COMPARISON TABLE (pricing.html) ───────────────────────────────────── */
.compare-table-wrap { overflow-x: auto; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.compare-table th {
  text-align: left;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 13px;
  border-bottom: 2px solid var(--border);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.compare-table th:nth-child(2),
.compare-table th:nth-child(3) { text-align: center; }
.compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.compare-table td:first-child { font-weight: 500; }
.compare-table td:nth-child(2),
.compare-table td:nth-child(3) { text-align: center; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: var(--bg-gray); }
.ct-check { color: var(--blue); font-weight: 700; font-size: 16px; }
.ct-dash { color: var(--text-light); }

/* ─── LEGAL CONTENT ──────────────────────────────────────────────────────── */
.legal-content { font-size: 15px; line-height: 1.8; color: var(--text); }
.legal-content h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 36px 0 12px;
  color: var(--text);
}
.legal-content p { margin-bottom: 12px; color: var(--text-muted); }
.legal-content ul { margin: 8px 0 16px 0; display: flex; flex-direction: column; gap: 8px; }
.legal-content ul li {
  padding-left: 18px;
  position: relative;
  font-size: 14px;
  color: var(--text-muted);
}
.legal-content ul li::before { content: '—'; position: absolute; left: 0; color: var(--text-light); }
.legal-content a { color: var(--blue); text-decoration: underline; }
.legal-content strong { color: var(--text); }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-text { max-width: 100%; }
  .hero-text h1 { font-size: 38px; }
  .hero-visual { align-items: center; }

  .steps {
    flex-direction: column;
    gap: 32px;
  }
  .step { padding: 0; }
  .step-connector { display: none; }

  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }

  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-links { gap: 32px; justify-content: flex-start; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero-text h1 { font-size: 30px; }
  .section-header h2 { font-size: 28px; }
  .cta-section h2 { font-size: 28px; }
  .hero-cta { flex-direction: column; align-items: flex-start; gap: 12px; }
}
