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

:root {
  --bg: #FBFCFE;
  --bg-2: #F1F5F9;
  --ink: #0B1220;
  --ink-2: #1E293B;
  --text: #334155;
  --slate: #64748B;
  --muted: #94A3B8;
  --line: #E3E9F0;
  --line-2: #D4DCE6;
  --card: #FFFFFF;
  --green: #15A06B;
  --green-deep: #0E7C52;
  --teal: #0EA5A5;
  --coral: #F97A52;
  --amber: #F5A623;
  --ink-grad: #0B1220;
  --grad: linear-gradient(120deg, #15A06B, #0EA5A5);
  --grad-warm: linear-gradient(120deg, #F97A52, #F5A623);
  --term-bg: #0C1322;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --fd: 'Space Grotesk', system-ui, sans-serif;
  --fb: 'Inter', system-ui, sans-serif;
  --fm: 'JetBrains Mono', ui-monospace, monospace;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--fb); background: var(--bg); color: var(--text); line-height: 1.65; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; background: var(--green); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(251,252,254,0.82); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 9px; font-family: var(--fd); font-weight: 700; font-size: 20px; color: var(--ink); letter-spacing: -0.02em; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--grad); display: grid; place-items: center; }
.brand-mark svg { width: 17px; height: 17px; }
.nav { display: none; }
.nav ul { display: flex; gap: 26px; align-items: center; }
.nav a { color: var(--slate); font-size: 14.5px; font-weight: 500; transition: color .15s; }
.nav a:hover { color: var(--ink); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--fd); font-weight: 600; font-size: 14.5px; padding: 11px 22px; border-radius: var(--radius-sm); cursor: pointer; border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s, border-color .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(11,18,32,.25); }
.btn-green { background: var(--grad); color: #fff; }
.btn-green:hover { box-shadow: 0 12px 30px rgba(21,160,107,.35); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--slate); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 4px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
@media (min-width: 940px) { .nav { display: block; } .nav-toggle { display: none; } }
.mobile-nav { display: none; border-top: 1px solid var(--line); }
.mobile-nav.open { display: block; }
.mobile-nav ul { flex-direction: column; padding: 10px 0; }
.mobile-nav a { display: block; padding: 12px 22px; color: var(--slate); font-weight: 500; }
@media (min-width: 940px) { .mobile-nav { display: none !important; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: 76px 60px; text-align: center; }
.hero::before { content: ""; position: absolute; top: -160px; left: 50%; transform: translateX(-50%); width: 900px; height: 520px; background: radial-gradient(ellipse, rgba(21,160,107,.12), transparent 62%); pointer-events: none; }
.hero-inner { position: relative; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 16px; font-size: 13px; color: var(--slate); margin-bottom: 26px; box-shadow: 0 2px 8px rgba(11,18,32,.04); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(21,160,107,.18); }
.hero h1 { font-family: var(--fd); font-size: clamp(38px, 7vw, 74px); font-weight: 700; line-height: 1.02; letter-spacing: -0.03em; color: var(--ink); margin-bottom: 22px; max-width: 15ch; margin-inline: auto; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: clamp(16px, 2.4vw, 20px); color: var(--slate); max-width: 56ch; margin: 0 auto 34px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* Terminal */
.terminal { max-width: 640px; margin: 48px auto 0; background: var(--term-bg); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 70px rgba(11,18,32,.25); border: 1px solid #1B2638; text-align: left; }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid #1B2638; }
.term-bar .d { width: 11px; height: 11px; border-radius: 50%; }
.d1{background:#ff5f57}.d2{background:#febc2e}.d3{background:#28c840}
.term-bar .t { margin-left: 8px; font-family: var(--fm); font-size: 12px; color: #5B6B85; }
.terminal pre { margin: 0; padding: 20px; font-family: var(--fm); font-size: 13px; line-height: 1.9; color: #C7D2E0; overflow-x: auto; }
.term-prompt { color: var(--green); } .term-flag { color: #7FB4FF; } .term-ok { color: #4ADE80; } .term-dim { color: #5B6B85; } .term-url { color: #5EEAD4; text-decoration: underline; }

/* Trust */
.trust { padding-block: 36px; border-block: 1px solid var(--line); background: var(--bg-2); }
.trust p { text-align: center; font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 20px; }
.trust-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px; align-items: center; }
.trust-logo { font-family: var(--fm); font-weight: 500; font-size: 15px; color: var(--slate); }

/* Section */
.section { padding-block: 80px; }
.section-head { max-width: 620px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-block; font-family: var(--fm); font-size: 13px; color: var(--green-deep); margin-bottom: 12px; }
.section-title { font-family: var(--fd); font-size: clamp(28px, 4.5vw, 42px); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); }
.section-title .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.section-head p { margin-top: 14px; color: var(--slate); font-size: 17px; }

/* Steps */
.steps { display: grid; grid-template-columns: 1fr; gap: 20px; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
.step-n { font-family: var(--fm); font-size: 13px; color: var(--green-deep); margin-bottom: 14px; }
.step-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--bg-2); display: grid; place-items: center; font-size: 24px; margin-bottom: 16px; }
.step h3 { font-family: var(--fd); font-size: 19px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--slate); line-height: 1.6; }

/* Feature grid */
.feat-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 600px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 920px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.feat:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(11,18,32,.08); border-color: transparent; }
.feat-ic { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; font-size: 22px; margin-bottom: 14px; }
.ic-green { background: rgba(21,160,107,.12); } .ic-teal { background: rgba(14,165,165,.12); } .ic-coral { background: rgba(249,122,82,.12); } .ic-amber { background: rgba(245,166,35,.12); } .ic-ink { background: var(--bg-2); }
.feat h3 { font-family: var(--fd); font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.feat p { font-size: 14px; color: var(--slate); line-height: 1.6; }

/* Showcase split */
.showcase { background: var(--ink); color: #fff; border-radius: 24px; overflow: hidden; }
.showcase-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 920px) { .showcase-grid { grid-template-columns: 1fr 1fr; } }
.showcase-copy { padding: 48px 40px; }
.showcase-copy .eyebrow { color: #5EEAD4; }
.showcase-copy h2 { font-family: var(--fd); font-size: clamp(26px,4vw,36px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 16px; line-height: 1.1; }
.showcase-copy p { color: #AEB9CC; font-size: 16px; margin-bottom: 22px; }
.showcase-feats { display: flex; flex-direction: column; gap: 12px; }
.showcase-feat { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: #C7D2E0; }
.showcase-feat .ck { width: 22px; height: 22px; border-radius: 6px; background: rgba(94,234,212,.18); color: #5EEAD4; display: grid; place-items: center; font-size: 13px; flex-shrink: 0; }
.showcase-visual { padding: 48px 40px; background: linear-gradient(160deg, #0F1A2E, #0B1220); display: grid; place-items: center; }
.deploy-card { width: 100%; background: var(--term-bg); border: 1px solid #1B2638; border-radius: 14px; padding: 22px; }
.deploy-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #1B2638; font-size: 13px; }
.deploy-row:last-child { border-bottom: 0; }
.deploy-row .badge { font-family: var(--fm); font-size: 11px; padding: 3px 9px; border-radius: 5px; }
.badge-ok { background: rgba(74,222,128,.16); color: #4ADE80; }
.badge-run { background: rgba(127,180,255,.16); color: #7FB4FF; }
.deploy-row .meta { color: #5B6B85; font-family: var(--fm); }
.deploy-row .name { color: #C7D2E0; font-weight: 500; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 820px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
.price { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(11,18,32,.03); }
.price.pop { border-color: var(--green); box-shadow: 0 16px 44px rgba(21,160,107,.16); position: relative; }
.price-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 5px 14px; border-radius: 999px; }
.price h3 { font-family: var(--fd); font-size: 19px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.price .ptag { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.price .pamount { font-family: var(--fd); font-size: 40px; font-weight: 700; color: var(--ink); line-height: 1; margin-bottom: 4px; }
.price .pamount small { font-size: 15px; color: var(--muted); font-weight: 400; }
.price .pcur { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.price ul { display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; flex: 1; }
.price li { font-size: 14px; color: var(--text); padding-left: 24px; position: relative; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.price .btn { width: 100%; justify-content: center; }
.note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 18px; }

/* CTA */
.cta-card { position: relative; overflow: hidden; border-radius: 24px; padding: 72px 32px; text-align: center; background: var(--grad); color: #fff; }
.cta-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 20%, rgba(255,255,255,.18), transparent 55%); pointer-events: none; }
.cta-card h2 { position: relative; font-family: var(--fd); font-size: clamp(28px,5vw,46px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px; }
.cta-card p { position: relative; font-size: 18px; max-width: 46ch; margin: 0 auto 30px; opacity: .95; }
.cta-card .btn-white { position: relative; background: #fff; color: var(--green-deep); }

/* FAQ */
.faq { max-width: 800px; margin-inline: auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 20px 24px; font-family: var(--fd); font-weight: 600; font-size: 16px; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 22px; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 24px 20px; color: var(--slate); font-size: 14.5px; line-height: 1.7; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-block: 56px 32px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { font-size: 14px; color: var(--slate); max-width: 34ch; }
.footer-col h4 { font-family: var(--fd); font-size: 13px; font-weight: 700; margin-bottom: 14px; color: var(--ink); }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: var(--slate); font-size: 14px; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
