:root {
  --background: #ffffff;
  --foreground: #171e2b;
  --primary: #ff5e00;
  --primary-dark: #e05500;
  --secondary: #fff4ef;
  --muted: #f3f4f6;
  --muted-fg: #6f7379;
  --border: #e2e5ea;
  --emerald: #059669;
  --amber: #d97706;
  --radius: 12px;
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --shadow-lg: 0 24px 48px -12px rgba(23, 30, 43, 0.12);
  --shadow-primary: 0 12px 32px -8px rgba(255, 94, 0, 0.35);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--foreground);
  background: var(--background);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; }

.text-emerald { color: var(--emerald); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.logo-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--primary); color: #fff; font-size: 13px; font-weight: 700;
  box-shadow: var(--shadow-primary);
}
.logo-tm { font-size: 10px; vertical-align: super; color: var(--muted-fg); }
.nav { display: flex; gap: 28px; font-size: 14px; font-weight: 500; }
.nav a:hover { color: var(--primary); transition: color 0.2s; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { width: 20px; height: 2px; background: var(--foreground); border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px; cursor: pointer;
  border: 1px solid transparent; transition: all 0.2s;
}
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-primary); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-outline { border-color: var(--border); color: var(--foreground); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-inverted { background: #fff; color: var(--primary); }
.btn-inverted:hover { background: var(--secondary); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { border-color: #fff; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 88px 0 96px;
  background: linear-gradient(to bottom, rgba(255, 94, 0, 0.05), #fff 60%);
}
.hero-glow {
  position: absolute; top: -160px; right: -120px; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(255, 94, 0, 0.16), rgba(255, 190, 80, 0.1) 45%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; position: relative; }
.badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--secondary); color: var(--primary);
  font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.1; margin-bottom: 20px; }
.hero-sub { font-size: 18px; color: var(--muted-fg); max-width: 480px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-proof { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--muted-fg); }
.avatar-stack { display: flex; }
.avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 999px;
  color: #fff; font-size: 11px; font-weight: 700;
  border: 2px solid #fff; margin-left: -8px;
}
.avatar:first-child { margin-left: 0; }
.avatar-sm { width: 30px; height: 30px; font-size: 10px; border: none; margin: 0; }

/* ---------- Chat mockup ---------- */
.chat-mockup {
  background: #fff; border: 1px solid var(--border); border-radius: 24px;
  box-shadow: var(--shadow-lg); overflow: hidden; max-width: 400px; margin-left: auto;
}
.chat-header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; background: #0c111c; color: #fff;
}
.chat-avatar {
  width: 38px; height: 38px; border-radius: 999px; background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.chat-meta { display: flex; flex-direction: column; line-height: 1.3; }
.chat-meta strong { font-size: 14px; }
.chat-meta span { font-size: 12px; color: #8b93a3; }
.chat-body { padding: 18px; background: var(--muted); }
.chat-time { text-align: center; font-size: 12px; color: var(--muted-fg); margin-bottom: 12px; }
.chat-message {
  background: #fff; border-radius: 4px 16px 16px 16px;
  padding: 16px; box-shadow: 0 2px 8px rgba(23, 30, 43, 0.08);
  animation: msg-in 0.6s ease 0.3s both;
}
@keyframes msg-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.msg-title { font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.msg-row { display: flex; justify-content: space-between; font-size: 13.5px; padding: 4px 0; }
.msg-row span { color: var(--muted-fg); }
.msg-divider { height: 1px; background: var(--border); margin: 10px 0; }
.msg-warning {
  display: flex; flex-direction: column; gap: 2px;
  background: #fef3c7; border: 1px solid #fde68a; border-radius: 10px;
  padding: 10px 12px; margin: 4px 0 10px;
}
.msg-warning-title { font-size: 12px; color: #92400e; font-weight: 600; }
.msg-warning strong { color: #b45309; font-size: 16px; }
.msg-advice {
  font-size: 13px; line-height: 1.5; color: var(--foreground);
  background: var(--secondary); border-radius: 10px; padding: 10px 12px; margin-bottom: 12px;
  border-left: 3px solid var(--primary);
}
.msg-actions { display: flex; gap: 8px; }
.msg-action-btn {
  flex: 1; text-align: center; padding: 8px 10px; border-radius: 8px;
  font-size: 12.5px; font-weight: 600; color: #2f6bb0; background: #e7f0f9; cursor: pointer;
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-muted { background: var(--muted); }
.section-title { font-size: clamp(28px, 3.5vw, 38px); text-align: center; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--muted-fg); max-width: 560px; margin: 0 auto 44px; }

/* ---------- Stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat-card {
  background: #fff; border: 1px solid var(--border); border-radius: 24px;
  padding: 32px 28px; text-align: center; transition: transform 0.25s, box-shadow 0.25s;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stat-value { font-family: var(--font-display); font-size: 44px; font-weight: 700; letter-spacing: -0.02em; }
.stat-label { font-weight: 600; margin-top: 6px; }
.stat-note { font-size: 14px; color: var(--muted-fg); margin-top: 4px; }

/* ---------- Tabs ---------- */
.tabs {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 8px; margin-bottom: 20px;
}
.tab {
  padding: 9px 16px; border-radius: 12px; border: none; background: transparent;
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  color: var(--muted-fg); cursor: pointer; transition: all 0.2s;
}
.tab:hover { color: var(--foreground); }
.tab.active { background: var(--secondary); color: var(--primary); box-shadow: 0 1px 4px rgba(23,30,43,0.08); }
.tab-panels {
  background: #fff; border: 1px solid var(--border); border-radius: 24px;
  padding: 40px; min-height: 220px;
}
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: msg-in 0.3s ease; }
.tab-panel h3 { font-size: 24px; margin-bottom: 12px; }
.tab-panel p { color: var(--muted-fg); max-width: 640px; margin-bottom: 10px; }
.tab-link { display: inline-block; margin-top: 10px; color: var(--primary); font-weight: 600; font-size: 14px; }
.tab-link:hover { text-decoration: underline; }

/* ---------- Steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 32px 28px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-num {
  display: inline-block; font-size: 12px; font-weight: 700; color: var(--primary);
  background: var(--secondary); border-radius: 999px; padding: 4px 12px; margin-bottom: 16px;
}
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--muted-fg); }

/* ---------- Before / After ---------- */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ba-col { border-radius: 24px; padding: 32px 28px; }
.ba-before { background: #fff; border: 1px solid var(--border); }
.ba-after { background: #0c111c; color: #fff; }
.ba-head { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin-bottom: 18px; }
.ba-before .ba-head { color: var(--muted-fg); }
.ba-col ul { display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.ba-before li { color: var(--muted-fg); padding-left: 20px; position: relative; }
.ba-before li::before { content: "—"; position: absolute; left: 0; color: #c2410c; font-weight: 700; }
.ba-after li { display: flex; gap: 10px; align-items: baseline; }
.check { color: var(--emerald); font-weight: 700; }
.ba-after .check { color: #34d399; }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 24px; background: #fff; }
.compare { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 760px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.compare thead th { font-family: var(--font-display); font-size: 13.5px; background: var(--muted); }
.compare tbody tr:last-child td { border-bottom: none; }
.compare .col-us { background: var(--secondary); }
.yes, .no, .maybe {
  display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
}
.yes { background: #d1fae5; color: #065f46; }
.no { background: #fee2e2; color: #991b1b; }
.maybe { background: #fef3c7; color: #92400e; }
.unique { background: var(--primary); color: #fff; }

/* ---------- Quotes ---------- */
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote {
  background: #fff; border: 1px solid var(--border); border-radius: 24px; padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
}
.quote blockquote { font-size: 14.5px; line-height: 1.65; color: var(--foreground); }
.quote figcaption { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  background: #fff; border: 1px solid var(--border); border-radius: 24px;
  padding: 32px 28px; display: flex; flex-direction: column; position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card-pro { border: 2px solid var(--primary); box-shadow: var(--shadow-primary); }
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.price-name { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin-bottom: 8px; }
.price-value { font-family: var(--font-display); font-size: 36px; font-weight: 700; letter-spacing: -0.02em; }
.price-value span { font-size: 15px; font-weight: 500; color: var(--muted-fg); }
.price-desc { font-size: 13.5px; color: var(--muted-fg); margin: 10px 0 20px; flex-grow: 0; }
.price-features { display: flex; flex-direction: column; gap: 10px; font-size: 14px; margin-bottom: 24px; flex-grow: 1; }
.price-features li { display: flex; gap: 10px; align-items: baseline; }

/* ---------- FAQ ---------- */
.accordion { display: flex; flex-direction: column; gap: 10px; }
.acc-item {
  background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
}
.acc-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 12px; padding: 18px 22px; font-weight: 600; font-size: 15px;
  transition: background 0.2s;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary:hover { background: var(--muted); }
.acc-item .chev { color: var(--primary); transition: transform 0.25s; font-size: 13px; }
.acc-item[open] .chev { transform: rotate(180deg); }
.acc-body { padding: 0 22px 20px; color: var(--muted-fg); font-size: 14.5px; }

/* ---------- CTA ---------- */
.cta-panel {
  background: linear-gradient(135deg, var(--primary), #f59e0b);
  border-radius: 32px; padding: 56px 40px; text-align: center; color: #fff;
  box-shadow: var(--shadow-primary);
}
.cta-panel h2 { font-size: clamp(26px, 3.5vw, 36px); margin-bottom: 12px; }
.cta-panel p { max-width: 560px; margin: 0 auto 28px; font-size: 16px; opacity: 0.95; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.cta-note { font-size: 13px; opacity: 0.85; }

/* ---------- Footer ---------- */
.footer { background: #0c111c; color: #8b93a3; padding: 56px 0 24px; }
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 13.5px; max-width: 280px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-head { color: #fff; font-weight: 600; margin-bottom: 4px; }
.footer-col a:hover { color: #fff; transition: color 0.2s; }
.footer-legal { border-top: 1px solid #1c2433; padding-top: 20px; font-size: 12.5px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .chat-mockup { margin: 0 auto; }
  .stats-grid, .steps-grid, .quotes-grid, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 16px 24px; gap: 14px;
  }
  .nav.open { display: flex; }
  .burger { display: flex; }
  .stats-grid, .steps-grid, .quotes-grid, .pricing-grid, .ba-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 64px; }
  .tab-panels { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .price-card-pro { margin-top: 12px; }
}
