:root { --ink: #0f172a; --muted: #5b6475; --line: #e7e5e4; --bg: #fffdfb; --card: #ffffff; --accent: #c2410c; --violet: #7c3aed; --soft: #fff7ed; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, video { max-width: 100%; height: auto; display: block; }
.wrap { width: min(1160px, 100% - 32px); margin: 0 auto; }
.mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, #ea580c, #7c3aed); color: #fff; font-size: 18px; box-shadow: 0 6px 16px rgba(124, 58, 237, .28); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font-weight: 700; text-decoration: none; border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(194, 65, 12, .25); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.eyebrow { display: inline-block; padding: 4px 12px; border-radius: 99px; background: var(--soft); color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0; }
section { padding: 88px 0; }
.muted { color: var(--muted); }

/* Header */
header.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 253, 251, .85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; text-decoration: none; }
nav.links { display: flex; align-items: center; gap: 26px; font-weight: 600; font-size: 15px; }
nav.links a { text-decoration: none; color: var(--muted); }
nav.links a:hover { color: var(--ink); }
.top-cta { display: flex; gap: 10px; }
.top-cta .btn { padding: 9px 16px; font-size: 14px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 84px 0 72px; }
.hero::before { content: ''; position: absolute; inset: -30% -10% auto; height: 620px; background: radial-gradient(closest-side, rgba(234, 88, 12, .16), transparent), radial-gradient(closest-side at 80% 40%, rgba(124, 58, 237, .14), transparent); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.2vw, 62px); margin: 18px 0; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #ea580c, #7c3aed); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 560px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.video { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(15, 23, 42, .18); background: #111; aspect-ratio: 16 / 9; }
.video video { width: 100%; height: 100%; object-fit: cover; }

/* Logos / trust strip */
.strip { padding: 26px 0; border-block: 1px solid var(--line); background: #fff; }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; color: var(--muted); font-weight: 600; font-size: 15px; }

/* Features */
.center { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.center h2 { font-size: clamp(30px, 3.6vw, 42px); margin: 14px 0 12px; }
.feature > *, .hero-grid > *, .apps > * { min-width: 0; }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: center; padding: 34px 0; }
.feature.flip .copy { order: 2; }
.feature h3 { font-size: 28px; margin: 10px 0 12px; }
.feature ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.feature li { padding-left: 28px; position: relative; }
.feature li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 6px; background: var(--soft); color: var(--accent); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.shot { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(15, 23, 42, .12); background: #fff; }

/* Cards */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.card .ico { font-size: 26px; }
.card h3 { font-size: 19px; margin: 12px 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.packs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.pack { padding: 12px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 600; }
.pack small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }

/* Apps */
.apps { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.app { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--soft)); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.app:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(15, 23, 42, .1); }
.app h3 { font-size: 24px; }
.app span.go { margin-top: auto; font-weight: 700; color: var(--accent); }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.plan.hot { border: 2px solid var(--accent); box-shadow: 0 20px 50px rgba(194, 65, 12, .14); position: relative; }
.plan.hot::before { content: 'Most popular'; position: absolute; top: -12px; left: 24px; padding: 2px 10px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; }
.plan .price { font-size: 36px; font-weight: 800; letter-spacing: -.02em; }
.plan .price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14.5px; }
.plan li::before { content: '✓  '; color: var(--accent); font-weight: 800; }
.plan .btn { margin-top: auto; justify-content: center; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 4px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { margin: 10px 0 0; color: var(--muted); }

/* CTA + footer */
.cta-band { margin: 0 16px 80px; border-radius: 26px; padding: 64px 24px; text-align: center; color: #fff;
  background: radial-gradient(circle at 20% 20%, #fb923c 0, transparent 45%), radial-gradient(circle at 80% 90%, #8b5cf6 0, transparent 50%), linear-gradient(135deg, #c2410c, #6d28d9); }
.cta-band h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 12px; }
.cta-band p { opacity: .92; font-size: 18px; margin: 0 0 26px; }
.cta-band .btn-primary { background: #fff; color: var(--accent); }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
footer { border-top: 1px solid var(--line); padding: 34px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer a { text-decoration: none; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }

@media (max-width: 980px) {
  .hero-grid, .feature, .apps { grid-template-columns: minmax(0, 1fr); }
  .feature.flip .copy { order: 0; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .pricing { grid-template-columns: 1fr 1fr; }
  nav.links { display: none; }
}
@media (max-width: 600px) {
  section { padding: 60px 0; }
  .grid3, .pricing { grid-template-columns: 1fr; }
  .top-cta .btn-ghost { display: none; }
  .hero { padding-top: 48px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
  
/* ---------- Document → action (hero demo) ---------- */
.flow { display: grid; gap: 12px; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(15, 23, 42, .14); }
.flow-step { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: #fff; opacity: 0; transform: translateY(10px); animation: flow-in .5s ease forwards; }
.flow-step:nth-child(1) { animation-delay: .2s; }
.flow-step:nth-child(3) { animation-delay: 1.1s; }
.flow-step:nth-child(5) { animation-delay: 2.0s; }
.flow-arrow { text-align: center; color: var(--muted); font-size: 13px; font-weight: 600; opacity: 0; animation: flow-in .4s ease forwards; }
.flow-arrow:nth-child(2) { animation-delay: .8s; }
.flow-arrow:nth-child(4) { animation-delay: 1.7s; }
@keyframes flow-in { to { opacity: 1; transform: none; } }
.flow-label { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.file { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.file i { display: grid; place-items: center; width: 38px; height: 46px; border-radius: 6px; background: #fee2e2; color: #b91c1c; font-style: normal; font-size: 11px; font-weight: 800; }
.file small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: 14px; }
.facts b { display: block; font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.done { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.done li { display: flex; gap: 8px; }
.done li::before { content: '✓'; display: grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 99px; background: #dcfce7; color: #15803d; font-size: 12px; font-weight: 800; }
.done li:nth-child(n) { opacity: 0; animation: flow-in .35s ease forwards; }
.done li:nth-child(1) { animation-delay: 2.4s; } .done li:nth-child(2) { animation-delay: 2.65s; } .done li:nth-child(3) { animation-delay: 2.9s; }
.done li:nth-child(4) { animation-delay: 3.15s; } .done li:nth-child(5) { animation-delay: 3.4s; } .done li:nth-child(6) { animation-delay: 3.65s; }

/* ---------- Before / after ---------- */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.versus > div { padding: 26px; border-radius: 18px; border: 1px solid var(--line); background: #fff; }
.versus .after { border: 2px solid var(--accent); background: linear-gradient(180deg, #fff, var(--soft)); }
.versus h3 { font-size: 22px; margin-bottom: 14px; }
.versus ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--muted); }
.versus .big { font-size: 20px; font-weight: 700; line-height: 1.5; }
.versus .time { margin-top: 16px; font-weight: 700; }
.versus .before .time { color: #b91c1c; } .versus .after .time { color: #15803d; }

/* ---------- Use cases ---------- */
.usecase { padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; gap: 10px; }
.usecase .chain { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; }
.usecase .chain span { padding: 4px 10px; border-radius: 99px; background: var(--soft); color: #9a3412; font-weight: 600; }
.usecase .chain em { font-style: normal; color: var(--muted); }
.who { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.who span { padding: 10px 16px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-weight: 600; }
.who a { padding: 10px 16px; border-radius: 99px; background: var(--accent); color: #fff; font-weight: 700; text-decoration: none; }
.pricing.five { grid-template-columns: repeat(4, 1fr); }
.free-line { text-align: center; margin-top: 18px; color: var(--muted); }
@media (max-width: 980px) { .versus { grid-template-columns: 1fr; } .pricing.five { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .facts { grid-template-columns: 1fr; } .pricing.five { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .flow-step, .flow-arrow, .done li:nth-child(n) { opacity: 1; transform: none; animation: none; } }
