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

.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--indigo); color: #fff;
  padding: .5rem 1rem; border-radius: 0 0 8px 8px;
  font-size: .85rem; font-weight: 600; z-index: 9999;
  text-decoration: none; transition: top .1s;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 4px;
}

:root {
  --bg:          #080b14;
  --bg2:         #0d1120;
  --bg3:         #121828;
  --border:      #1e2840;
  --indigo:      #6366f1;
  --indigo-soft: rgba(99,102,241,0.12);
  --green:       #10b981;
  --pink:        #f472b6;
  --text:        #e2e8f0;
  --dim:         #94a3b8;
  --dimmer:      #475569;
  --mono: ui-monospace,'Cascadia Code','Source Code Pro','Fira Code',monospace;
  --sans: -apple-system,BlinkMacSystemFont,'Inter','Segoe UI',system-ui,sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); line-height: 1.6; min-height: 100vh; }
a { color: var(--indigo); text-decoration: none; }
a:hover { color: #818cf8; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,11,20,.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}
.nav-inner {
  max-width: 1120px; margin: 0 auto;
  height: 62px; display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: var(--mono); font-size: 1.05rem; font-weight: 700;
  color: var(--text); display: flex; align-items: center; gap: .3rem;
  letter-spacing: -.02em;
}
.logo em { color: var(--indigo); font-style: normal; }
.nav-right { display: flex; align-items: center; gap: .75rem; }
.lang-btn {
  display: flex; align-items: center;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 6px; overflow: hidden;
  font-family: var(--mono); font-size: .72rem;
}
.lang-btn button {
  padding: 4px 10px; background: none; border: none;
  color: var(--dim); cursor: pointer; transition: all .15s;
}
.lang-btn button.active { background: var(--indigo); color: #fff; }
.btn {
  display: inline-flex; align-items: center;
  padding: 8px 18px; border-radius: 8px;
  font-size: .875rem; font-weight: 500;
  cursor: pointer; transition: all .15s;
  border: 1px solid transparent; text-decoration: none;
}
.btn-ghost { background: none; border-color: var(--border); color: var(--dim); }
.btn-ghost:hover { border-color: var(--indigo); color: var(--indigo); }
.btn-primary { background: var(--indigo); color: #fff; }
.btn-primary:hover { background: #4f46e5; color: #fff; }
@media (max-width: 560px) { .btn-ghost { display: none; } }

/* ── LAYOUT ── */
.container { max-width: 1120px; margin: 0 auto; }
section { padding: 88px 2rem; }
.section-label {
  font-family: var(--mono); font-size: .72rem;
  color: var(--indigo); letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: .6rem;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 700; letter-spacing: -.025em; margin-bottom: .75rem;
}
.section-sub { color: var(--dim); font-size: 1rem; max-width: 520px; line-height: 1.7; }

/* ── HERO ── */
#hero {
  padding: 120px 2rem 96px;
  text-align: center; position: relative; overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute; top: -180px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(99,102,241,.14) 0%, transparent 68%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--indigo-soft);
  border: 1px solid rgba(99,102,241,.3);
  border-radius: 100px; padding: 4px 14px;
  font-size: .75rem; font-family: var(--mono); color: #a5b4fc;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800; letter-spacing: -.035em; line-height: 1.08;
  margin-bottom: 1.25rem;
}
.hero-title .accent { color: var(--indigo); }
.hero-sub {
  font-size: 1.1rem; color: var(--dim);
  max-width: 540px; margin: 0 auto 2.5rem; line-height: 1.75;
}
.hero-ctas { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 4rem; }
.btn-lg { padding: 13px 30px; font-size: 1rem; border-radius: 10px; }

/* terminal */
.terminal {
  background: #0d1117; border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  max-width: 680px; margin: 0 auto; text-align: left;
  box-shadow: 0 32px 90px rgba(0,0,0,.55);
}
.term-bar {
  background: #161b22; padding: 10px 16px;
  display: flex; align-items: center; gap: 6px;
  border-bottom: 1px solid var(--border);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red  { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }
.term-title { font-family: var(--mono); font-size: .72rem; color: var(--dimmer); margin-left: .5rem; }
.term-body { padding: 20px 24px; font-family: var(--mono); font-size: .8rem; line-height: 1.9; }
.tc { color: #6e7681; }
.tk { color: #a5b4fc; }
.tv { color: var(--green); }
.tu { color: var(--indigo); }
.ta { color: var(--pink); }
.tp { color: var(--dim); }
.tp::before { content: '$ '; color: var(--green); }
.term-response { padding-left: 0; color: var(--dim); }
.term-response::before { content: ''; }

/* ── HOW ── */
#how { background: var(--bg2); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 3rem;
}
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 14px; padding: 1.75rem;
}
.step-num { font-family: var(--mono); font-size: .7rem; color: var(--indigo); margin-bottom: .6rem; }
.step-icon { font-size: 1.6rem; margin-bottom: .6rem; }
.step h3 { font-size: .95rem; font-weight: 600; margin-bottom: .5rem; }
.step p { font-size: .82rem; color: var(--dim); line-height: 1.65; }

/* ── FEATURES ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem; margin-top: 3rem;
}
.feature {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 14px; padding: 1.5rem;
  transition: border-color .2s;
}
.feature:hover { border-color: rgba(99,102,241,.45); }
.feat-icon {
  width: 42px; height: 42px;
  background: var(--indigo-soft); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; margin-bottom: 1rem;
}
.feature h3 { font-size: .93rem; font-weight: 600; margin-bottom: .4rem; }
.feature p { font-size: .8rem; color: var(--dim); line-height: 1.65; }
.feature code {
  font-family: var(--mono); font-size: .72rem;
  color: #a5b4fc; background: var(--indigo-soft);
  padding: 2px 6px; border-radius: 4px;
}

/* ── PLANS ── */
#plans { background: var(--bg2); }
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem; margin-top: 3rem; align-items: start;
}
.plan {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 16px; padding: 1.75rem;
  display: flex; flex-direction: column; gap: .9rem;
}
.plan.featured { border-color: var(--indigo); background: rgba(99,102,241,.06); }
.plan-badge {
  font-family: var(--mono); font-size: .68rem;
  color: var(--indigo); background: var(--indigo-soft);
  border: 1px solid rgba(99,102,241,.3);
  border-radius: 100px; padding: 3px 10px; width: fit-content;
}
.plan-name { font-size: .95rem; font-weight: 700; }
.plan-price { font-size: 2rem; font-weight: 800; letter-spacing: -.035em; }
.plan-price small { font-size: .82rem; font-weight: 400; color: var(--dim); }
.plan-price-custom { font-size: 1.35rem; letter-spacing: -.02em; }
.plan-desc { font-size: .8rem; color: var(--dim); line-height: 1.55; }
.plan-feats { list-style: none; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.plan-feats li {
  font-size: .8rem; color: var(--dim);
  display: flex; gap: .5rem; align-items: flex-start;
}
.plan-feats li::before { content: '✓'; color: var(--green); font-size: .72rem; margin-top: 3px; flex-shrink: 0; }
.plan-cta { margin-top: .5rem; }
.btn-plan {
  display: block; width: 100%; text-align: center;
  padding: 10px; border-radius: 9px;
  font-size: .875rem; font-weight: 600;
  cursor: pointer; transition: all .15s;
  border: 1px solid var(--border);
  color: var(--dim); background: none; text-decoration: none;
}
.btn-plan:hover { border-color: var(--indigo); color: var(--indigo); }
.btn-plan.primary { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.btn-plan.primary:hover { background: #4f46e5; color: #fff; }

/* ── SECURITY ── */
.sec-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center; margin-top: 3rem;
}
@media (max-width: 768px) { .sec-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.compliance-list { display: flex; flex-direction: column; gap: .75rem; }
.comp-item {
  display: flex; align-items: center; gap: .85rem;
  padding: .85rem 1.1rem;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 10px; font-size: .85rem;
}
.comp-icon { font-size: 1.15rem; flex-shrink: 0; }
.comp-name { font-weight: 600; font-size: .85rem; }
.comp-desc { color: var(--dim); font-size: .75rem; margin-top: 1px; }
.sec-cta-wrap { margin-top: 1rem; }

/* ── FOOTER ── */
footer {
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 3.5rem 2rem;
}
.footer-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem;
}
@media (max-width: 640px) { .footer-inner { grid-template-columns: 1fr; gap: 2rem; } }
.footer-brand .logo { margin-bottom: .4rem; }
.footer-brand p { font-size: .8rem; color: var(--dim); margin-top: .5rem; max-width: 210px; line-height: 1.6; }
.footer-col h4 {
  font-size: .72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; color: var(--dimmer); margin-bottom: .9rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .45rem; }
.footer-col li a { font-size: .82rem; color: var(--dim); transition: color .15s; }
.footer-col li a:hover { color: var(--text); }
.footer-bottom {
  max-width: 1120px; margin: 2rem auto 0;
  padding-top: 1.5rem; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem;
}
.footer-bottom p { font-size: .72rem; color: var(--dimmer); font-family: var(--mono); }
