*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #FFFFFF; --bg2: #F8F9FC; --bg3: #F0F2F8;
  --text: #0F0F1A; --text2: #4B5268; --text3: #8891A8;
  --accent: #4338CA; --accent-light: #EEF2FF; --accent-hover: #3730A3;
  --green: #16A34A; --green-light: #DCFCE7; --border: #E4E7EF; --radius: 10px;
}
html { scroll-behavior: smooth; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* NAV */
nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 0 48px; height: 62px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-size: 18px; font-weight: 700; color: var(--text); letter-spacing: -0.4px; text-decoration: none; }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; color: var(--text2); text-decoration: none; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.btn-nav { background: var(--accent) !important; color: #fff !important; padding: 8px 18px; border-radius: 7px; font-size: 13px !important; }
.btn-nav:hover { background: var(--accent-hover) !important; }

/* HERO */
.hero { padding: 96px 48px 80px; max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--accent-light); color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; margin-bottom: 24px; }
.eyebrow::before { content: '●'; font-size: 7px; }
h1 { font-family: 'DM Serif Display', serif; font-size: 48px; line-height: 1.1; letter-spacing: -0.5px; color: var(--text); margin-bottom: 20px; }
h1 em { font-style: italic; color: var(--accent); }
.hero-sub { font-size: 16px; color: var(--text2); line-height: 1.75; margin-bottom: 36px; max-width: 440px; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.btn-primary { background: var(--accent); color: #fff; padding: 13px 26px; border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background 0.15s, transform 0.1s; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text2); padding: 13px 20px; border-radius: 8px; font-size: 14px; font-weight: 500; text-decoration: none; border: 1.5px solid var(--border); display: inline-flex; align-items: center; gap: 8px; transition: border-color 0.15s, color 0.15s; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.hero-trust { margin-top: 24px; font-size: 12px; color: var(--text3); display: flex; align-items: center; gap: 6px; }
.hero-trust::before { content: '✓'; color: var(--green); font-weight: 700; }

/* TERMINAL */
.terminal { background: #FAFBFF; border: 1.5px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 28px rgba(67,56,202,0.07), 0 1px 4px rgba(0,0,0,0.04); }
.t-bar { background: var(--bg3); border-bottom: 1px solid var(--border); padding: 10px 16px; display: flex; align-items: center; gap: 10px; }
.t-dots { display: flex; gap: 6px; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #F87171; } .dot-y { background: #FBBF24; } .dot-g { background: #4ADE80; }
.t-title { font-size: 12px; color: var(--text3); font-family: 'JetBrains Mono', monospace; margin-left: 4px; }
.t-body { padding: 20px; min-height: 290px; display: flex; flex-direction: column; }

.suggestions p { font-size: 11px; color: var(--text3); font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 10px; }
.chip { display: block; width: 100%; text-align: left; background: var(--bg); border: 1px solid var(--border); border-radius: 7px; padding: 10px 13px; font-size: 12px; color: var(--text2); cursor: pointer; font-family: 'JetBrains Mono', monospace; margin-bottom: 8px; transition: border-color 0.12s, color 0.12s, background 0.12s; }
.chip:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }

.convo { display: none; flex-direction: column; gap: 14px; flex: 1; }
.convo.show { display: flex; }
.bubble-user { align-self: flex-end; background: var(--accent); color: #fff; padding: 9px 14px; border-radius: 8px 8px 2px 8px; font-size: 12px; max-width: 90%; font-family: 'JetBrains Mono', monospace; }
.bubble-ai { align-self: flex-start; background: var(--bg); border: 1px solid var(--border); padding: 12px 14px; border-radius: 2px 8px 8px 8px; font-size: 13px; max-width: 100%; line-height: 1.65; color: var(--text2); }
.ai-label { font-size: 10px; font-weight: 700; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 7px; display: flex; align-items: center; gap: 5px; }
.ai-label::before { content: '⬡'; font-size: 12px; }
.source { display: inline-flex; align-items: center; gap: 4px; background: var(--green-light); color: var(--green); font-size: 10px; font-weight: 600; font-family: 'JetBrains Mono', monospace; padding: 2px 8px; border-radius: 4px; margin: 8px 4px 0 0; cursor: pointer; }
.source::before { content: '↗'; }
.typing { display: flex; gap: 5px; padding: 4px 0; }
.td { width: 7px; height: 7px; border-radius: 50%; background: var(--text3); animation: bounce 1.2s infinite; }
.td:nth-child(2) { animation-delay: .2s; } .td:nth-child(3) { animation-delay: .4s; }
@keyframes bounce { 0%,60%,100% { opacity:.3; transform:translateY(0); } 30% { opacity:1; transform:translateY(-3px); } }

.t-input-row { display: flex; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); }
.t-input { flex:1; border: 1.5px solid var(--border); border-radius: 7px; padding: 8px 12px; font-size: 12px; font-family: 'JetBrains Mono', monospace; color: var(--text); outline: none; transition: border-color .12s; }
.t-input:focus { border-color: var(--accent); }
.t-input::placeholder { color: var(--text3); }
.t-send { background: var(--accent); color: #fff; border: none; border-radius: 7px; padding: 8px 14px; font-size: 14px; cursor: pointer; transition: background .12s; }
.t-send:hover { background: var(--accent-hover); }
.t-reset { font-size: 11px; color: var(--text3); cursor: pointer; background: none; border: none; padding: 6px 0 0; text-decoration: underline; align-self: flex-start; }

/* STATS */
.stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg2); padding: 56px 48px; }
.stats-inner { max-width: 1140px; margin: 0 auto; }
.stats-label { text-align: center; font-size: 11px; font-weight: 700; color: var(--text3); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 40px; }
.stats-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.stat { text-align: center; padding: 0 40px; }
.stat:not(:last-child) { border-right: 1px solid var(--border); }
.stat-n { font-family: 'DM Serif Display', serif; font-size: 52px; color: var(--text); line-height: 1; margin-bottom: 10px; }
.stat-n span { color: var(--accent); }
.stat-d { font-size: 13px; color: var(--text2); line-height: 1.55; }

/* SECTIONS */
section { padding: 96px 48px; }
.inner { max-width: 1140px; margin: 0 auto; }
.s-label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
h2 { font-family: 'DM Serif Display', serif; font-size: 38px; line-height: 1.18; letter-spacing: -.3px; color: var(--text); margin-bottom: 16px; max-width: 560px; }
.s-sub { font-size: 16px; color: var(--text2); max-width: 520px; line-height: 1.75; margin-bottom: 56px; }

/* HOW IT WORKS */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 36px; }
.step { position: relative; }
.step-num { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; position: relative; z-index: 1; }
.step-line { position: absolute; top: 18px; left: 38px; width: calc(100% - 20px); height: 1px; background: linear-gradient(to right, var(--accent), var(--border)); }
.step:last-child .step-line { display: none; }
.step h3 { font-size: 16px; font-weight: 600; margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--text2); line-height: 1.7; }
.step-tag { display: inline-block; margin-top: 14px; font-size: 11px; font-family: 'JetBrains Mono', monospace; color: var(--text3); background: var(--bg3); padding: 3px 9px; border-radius: 4px; }

/* FEATURES */
.feat-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.feat-card { background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 30px; transition: border-color .15s, box-shadow .15s; }
.feat-card:hover { border-color: var(--accent); box-shadow: 0 4px 16px rgba(67,56,202,.08); }
.feat-icon { width: 42px; height: 42px; border-radius: 9px; background: var(--accent-light); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 18px; }
.feat-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 9px; }
.feat-card p { font-size: 13px; color: var(--text2); line-height: 1.7; }
.feat-badge { display: inline-block; margin-top: 14px; font-size: 11px; font-weight: 600; color: var(--accent); background: var(--accent-light); padding: 3px 10px; border-radius: 20px; }

/* QUOTES */
.quotes-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 44px; }
.quote { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.stars { color: #F59E0B; font-size: 12px; letter-spacing: 2px; margin-bottom: 14px; }
.q-text { font-size: 14px; color: var(--text2); line-height: 1.75; margin-bottom: 18px; font-style: italic; }
.q-author { display: flex; align-items: center; gap: 10px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.q-name { font-size: 13px; font-weight: 600; }
.q-role { font-size: 12px; color: var(--text3); }

/* PRICING */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 56px; }
.plan { border: 1.5px solid var(--border); border-radius: 12px; padding: 30px; position: relative; transition: border-color .15s; }
.plan:hover { border-color: var(--accent); }
.plan.pop { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(67,56,202,.06); }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 14px; border-radius: 20px; white-space: nowrap; }
.plan-name { font-size: 12px; font-weight: 700; color: var(--text2); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 12px; }
.plan-price { margin-bottom: 6px; }
.plan-price .amt { font-family: 'DM Serif Display', serif; font-size: 44px; color: var(--text); }
.plan-price .per { font-size: 13px; color: var(--text3); }
.plan-desc { font-size: 13px; color: var(--text2); margin-bottom: 22px; min-height: 38px; }
hr { border: none; border-top: 1px solid var(--border); margin-bottom: 20px; }
.plan-feats { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.plan-feats li { font-size: 13px; color: var(--text2); display: flex; align-items: flex-start; gap: 9px; line-height: 1.5; }
.plan-feats li::before { content: '✓'; color: var(--green); font-weight: 700; font-size: 13px; flex-shrink: 0; }
.p-cta { display: block; text-align: center; text-decoration: none; padding: 11px; border-radius: 8px; font-size: 14px; font-weight: 600; transition: all .12s; }
.p-cta-main { background: var(--accent); color: #fff; }
.p-cta-main:hover { background: var(--accent-hover); }
.p-cta-sec { background: var(--bg2); color: var(--text); border: 1.5px solid var(--border); }
.p-cta-sec:hover { border-color: var(--accent); color: var(--accent); }

/* CTA BAND */
.cta-band { background: var(--text); padding: 88px 48px; text-align: center; }
.cta-band h2 { color: #fff; max-width: 100%; font-size: 40px; margin: 0 auto 18px; }
.cta-band p { color: rgba(255,255,255,.6); font-size: 16px; margin-bottom: 36px; }

/* FOOTER */
footer { border-top: 1px solid var(--border); padding: 36px 48px; display: flex; align-items: center; justify-content: space-between; }
.f-logo { font-size: 15px; font-weight: 700; color: var(--text); }
.f-logo span { color: var(--accent); }
.f-links { display: flex; gap: 24px; }
.f-links a { font-size: 13px; color: var(--text3); text-decoration: none; }
.f-links a:hover { color: var(--text2); }
.f-copy { font-size: 12px; color: var(--text3); }

.bg2 { background: var(--bg2); }
