:root {
  --bg: #0b1220;
  --bg-alt: #0f1a2e;
  --surface: #13203a;
  --border: #1f3050;
  --text: #e6edf7;
  --muted: #9aabc4;
  --accent: #22d3ee;
  --accent-2: #a3e635;
  --accent-ink: #04222a;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.container { width: min(1140px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(780px, 100% - 2.5rem); }
.muted { color: var(--muted); }
.accent { color: var(--accent); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: var(--accent-ink); padding: .5rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

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

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.4rem;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; border-radius: 999px; border: 2px solid var(--accent);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(34, 211, 238, .3); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); box-shadow: none; }
.btn-small { padding: .5rem 1rem; font-size: .9rem; }
.btn-large { padding: 1rem 1.8rem; font-size: 1.25rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 18, 32, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--text); font-size: 1.25rem; font-weight: 500; }
.brand:hover { text-decoration: none; }
.brand strong { color: var(--accent); font-weight: 800; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav a:not(.btn) { color: var(--muted); font-weight: 500; }
.site-nav a:not(.btn):hover { color: var(--text); text-decoration: none; }

.nav-toggle {
  display: none; background: none; border: 0; padding: .5rem; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 6rem 0 5rem;
  background:
    radial-gradient(800px 400px at 85% 10%, rgba(34, 211, 238, .15), transparent 60%),
    radial-gradient(600px 300px at 10% 90%, rgba(163, 230, 53, .08), transparent 60%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700;
  color: var(--accent-2); margin-bottom: .8rem;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.02em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--muted); font-size: .95rem; }
.hero-points li::before { content: "✓"; color: var(--accent-2); font-weight: 800; margin-right: .4rem; }

.terminal {
  background: #060b15; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transform: rotate(1.5deg);
}
.terminal-bar { display: flex; gap: 6px; padding: .7rem .9rem; background: #0d1628; border-bottom: 1px solid var(--border); }
.terminal-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ef4444; }
.terminal-bar i:nth-child(2) { background: #eab308; }
.terminal-bar i:nth-child(3) { background: #22c55e; }
.terminal pre { margin: 0; padding: 1.3rem 1.4rem; font-family: var(--mono); font-size: .95rem; line-height: 1.8; color: #cbd5e1; white-space: pre-wrap; }
.terminal .c { color: var(--muted); }
.terminal .ok { color: var(--accent-2); }
.terminal .hl { color: var(--accent); font-weight: 700; }
.cursor { display: inline-block; width: .55em; height: 1.1em; background: var(--accent); vertical-align: text-bottom; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Sections */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section-head { text-align: center; max-width: 40rem; margin: 0 auto 3rem; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.section-head p:last-child { color: var(--muted); }

.grid { display: grid; gap: 1.5rem; }
.services-grid { grid-template-columns: repeat(3, 1fr); }
.pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }

.card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.8rem; transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card h3 { font-size: 1.25rem; }
.card p { color: var(--muted); flex: 1; }
.icon {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 1.2rem;
  display: grid; place-items: center;
  background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .25);
}
.icon svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tag {
  align-self: flex-start; font-size: .78rem; font-weight: 700; letter-spacing: .03em;
  padding: .3rem .7rem; border-radius: 999px;
  background: rgba(154, 171, 196, .12); color: var(--muted);
}
.tag-pwyw { background: rgba(163, 230, 53, .14); color: var(--accent-2); }

.price-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem;
}
.price-card.featured {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 1px var(--accent-2), 0 20px 40px rgba(163, 230, 53, .08);
}
.price-label { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.price-card h3 { font-size: 1.7rem; }
.price-card.featured h3 { color: var(--accent-2); }
.price-card > p:not(.price-label) { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .5rem; }
.checks li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: .6rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: none; }
.steps li { position: relative; padding: 1.5rem; border-left: 2px solid var(--border); }
.step-num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; margin-bottom: 1rem;
}
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--muted); margin: 0; }

/* FAQ */
.faq {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: .8rem; overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 1.1rem 1.4rem; font-weight: 600; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--accent); transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 1.4rem 1.2rem; margin: 0; color: var(--muted); }

/* CTA */
.cta {
  padding: 4.5rem 0;
  background: linear-gradient(135deg, #0e7490, #155e75 40%, #0b1220);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta p { color: #cfeff6; margin: 0; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.cta .btn:not(.btn-ghost) { background: #fff; border-color: #fff; color: #0b1220; }
.cta .btn-ghost { border-color: rgba(255,255,255,.4); }

/* Footer */
.site-footer { padding: 3rem 0 6rem; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-inner .brand { margin-bottom: .6rem; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; font-weight: 600; }
.footer-bottom { margin-top: 2rem; font-size: .85rem; }

/* Mobile call button */
.mobile-call {
  display: none; position: fixed; bottom: 1rem; left: 1rem; right: 1rem; z-index: 60;
  align-items: center; justify-content: center; gap: .5rem;
  padding: 1rem; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 1.05rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
}
.mobile-call:hover { text-decoration: none; }
.mobile-call svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 480px; }
  .services-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: .5rem 1.25rem 1.25rem;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--border); }
  .site-nav .btn { margin-top: 1rem; }

  .hero { padding: 3.5rem 0 3rem; }
  .services-grid, .pricing-grid, .steps { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
  .footer-contact { align-items: flex-start; }
  .mobile-call { display: flex; }
}

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