/* ConvertCanvas — marketing site */
:root {
  --bg: #0a0e14;
  --bg-raised: #111722;
  --bg-card: #151d2b;
  --border: #243145;
  --text: #eef2f8;
  --text-dim: #94a3b8;
  --accent: #f97316;
  --accent-soft: rgba(249, 115, 22, 0.12);
  --accent-2: #38bdf8;
  --radius: 14px;
  --max: 1140px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 14, 20, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), #fbbf24);
  display: grid; place-items: center;
  color: #0a0e14; font-weight: 800; font-size: 0.95rem;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--text-dim); font-size: 0.95rem; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--accent); color: #0a0e14 !important;
  padding: 9px 18px; border-radius: 9px; font-weight: 600;
}
.nav-cta:hover { filter: brightness(1.08); }
@media (max-width: 760px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 72px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -200px 0 auto; height: 500px;
  background: radial-gradient(ellipse 60% 60% at 50% 20%, rgba(249, 115, 22, 0.14), transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-block; font-size: 0.8rem; color: var(--accent-2);
  border: 1px solid var(--border); background: var(--bg-raised);
  padding: 5px 14px; border-radius: 999px; margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  line-height: 1.12; letter-spacing: -0.02em; font-weight: 800;
  max-width: 820px; margin: 0 auto 20px;
}
.hero h1 .grad {
  background: linear-gradient(90deg, var(--accent), #fbbf24);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { font-size: 1.15rem; color: var(--text-dim); max-width: 620px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 14px 28px; border-radius: 10px;
  font-weight: 600; font-size: 1rem; transition: transform 0.12s, filter 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #0a0e14; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border: 1px solid var(--border); background: var(--bg-raised); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }

.hero-note { margin-top: 18px; font-size: 0.85rem; color: var(--text-dim); }

/* ---------- Section scaffolding ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-raised); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.eyebrow {
  color: var(--accent); font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 12px;
}
.section h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 14px;
}
.section-lead { color: var(--text-dim); max-width: 640px; margin-bottom: 48px; font-size: 1.05rem; }
.center { text-align: center; }
.center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: border-color 0.15s, transform 0.15s;
}
.card:hover { border-color: #35507a; transform: translateY(-2px); }
.card-icon {
  width: 44px; height: 44px; border-radius: 11px; margin-bottom: 16px;
  background: var(--accent-soft); display: grid; place-items: center;
  font-size: 1.25rem;
}
.card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.card p { color: var(--text-dim); font-size: 0.95rem; }

/* ---------- Widget showcase ---------- */
.widget-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 900px) { .widget-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .widget-grid { grid-template-columns: repeat(2, 1fr); } }
.widget-chip {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 16px;
  display: flex; align-items: center; gap: 10px; font-size: 0.92rem;
}
.widget-chip span:first-child { font-size: 1.1rem; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 28px; }
.step-num {
  counter-increment: step;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: #0a0e14;
  display: grid; place-items: center; font-weight: 800; margin-bottom: 16px;
}
.step-num::before { content: counter(step); }

/* ---------- Comparison ---------- */
.compare { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.compare th { color: var(--text-dim); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.compare td:first-child { color: var(--text-dim); }
.compare .yes { color: #4ade80; }
.compare .no { color: #f87171; }
.compare-wrap { overflow-x: auto; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }
.price-card { display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--accent); position: relative; }
.price-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #0a0e14; font-size: 0.75rem; font-weight: 700;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}
.price-name { font-size: 1.05rem; font-weight: 700; }
.price-amount { font-size: 2.4rem; font-weight: 800; margin: 10px 0 4px; }
.price-amount small { font-size: 0.95rem; font-weight: 500; color: var(--text-dim); }
.price-desc { color: var(--text-dim); font-size: 0.92rem; margin-bottom: 22px; }
.price-list { list-style: none; margin-bottom: 28px; flex: 1; }
.price-list li { padding: 7px 0 7px 26px; position: relative; font-size: 0.95rem; color: var(--text-dim); }
.price-list li::before { content: "✓"; position: absolute; left: 0; color: #4ade80; font-weight: 700; }
.price-card .btn { text-align: center; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.faq-item p { color: var(--text-dim); font-size: 0.96rem; }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center; padding: 88px 24px;
  background:
    radial-gradient(ellipse 55% 80% at 50% 100%, rgba(249, 115, 22, 0.16), transparent 70%),
    var(--bg-raised);
  border-top: 1px solid var(--border);
}
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-bottom: 14px; letter-spacing: -0.02em; }
.cta-band p { color: var(--text-dim); margin-bottom: 32px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 48px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); margin-bottom: 14px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 9px; }
.footer a { color: var(--text-dim); font-size: 0.93rem; }
.footer a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--text-dim); font-size: 0.85rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
