:root {
  --bg: #0a0e14;
  --bg-alt: #0e131c;
  --surface: #131a25;
  --surface-2: #1a2331;
  --border: #232e3f;
  --text: #e7ecf3;
  --muted: #93a1b5;
  --accent: #36d1c4;
  --accent-2: #5b8cff;
  --grad: linear-gradient(120deg, #36d1c4, #5b8cff);
  --radius: 14px;
  --maxw: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

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

.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--accent); color: #001; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: .95rem; padding: 11px 20px; border-radius: 10px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn--lg { padding: 14px 26px; font-size: 1rem; }
.btn--primary { background: var(--grad); color: #04121a; box-shadow: 0 6px 24px -8px var(--accent); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px var(--accent); }
.btn--ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,14,20,.8); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__logo { height: 30px; width: auto; display: block; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links > a:not(.btn) { color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav__links > a:not(.btn):hover { color: var(--text); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; }
.nav__toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 88px; }
.hero__inner { position: relative; z-index: 2; max-width: 760px; }
.hero__glow {
  position: absolute; top: -160px; right: -160px; width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(54,209,196,.22), transparent 60%);
  filter: blur(20px); z-index: 1;
}
.eyebrow {
  font-family: 'JetBrains Mono', monospace; text-transform: uppercase;
  letter-spacing: .14em; font-size: .78rem; color: var(--accent); margin-bottom: 14px;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 1.15rem; margin-top: 20px; max-width: 60ch; }
.hero__cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; }
.hero__stats strong { display: block; font-size: 1.5rem; }
.hero__stats span { color: var(--muted); font-size: .9rem; }

/* Sections */
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -.02em; margin-bottom: 8px; }

/* Grid + cards */
.grid { display: grid; gap: 22px; margin-top: 40px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .18s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card__icon { font-size: 1.8rem; margin-bottom: 14px; }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; }

/* Why */
.why { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.check { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.check li { position: relative; padding-left: 30px; color: var(--text); }
.check li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; display: grid; place-items: center;
  background: rgba(54,209,196,.15); color: var(--accent); border-radius: 6px; font-size: .8rem; font-weight: 700;
}
.terminal { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.terminal__bar { display: flex; gap: 8px; padding: 14px 16px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.terminal__bar span { width: 12px; height: 12px; border-radius: 50%; background: #3a4658; }
.terminal__bar span:first-child { background: #ff5f57; }
.terminal__bar span:nth-child(2) { background: #febc2e; }
.terminal__bar span:nth-child(3) { background: #28c840; }
.terminal pre { padding: 22px; overflow-x: auto; }
.terminal code { font-family: 'JetBrains Mono', monospace; font-size: .92rem; color: var(--accent); line-height: 1.9; }

/* About */
.about { max-width: 800px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact__list { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.contact__list li { display: grid; grid-template-columns: 90px 1fr; align-items: baseline; gap: 12px; }
.contact__list span { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.contact__list a:hover { color: var(--accent); }
.contact__form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; display: grid; gap: 16px; }
.contact__form label { display: grid; gap: 7px; font-size: .85rem; color: var(--muted); font-weight: 500; }
.contact__form input, .contact__form textarea {
  background: var(--bg); border: 1px solid var(--border); border-radius: 9px;
  padding: 11px 13px; color: var(--text); font: inherit; font-size: .95rem;
}
.contact__form input:focus, .contact__form textarea:focus { outline: none; border-color: var(--accent); }
.contact__note { color: var(--muted); font-size: .85rem; text-align: center; }
.contact__status { font-size: .9rem; text-align: center; margin-top: 4px; }
.contact__status.ok { color: var(--accent); }
.contact__status.err { color: #ff6b6b; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 36px 0; background: var(--bg-alt); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer p { color: var(--muted); font-size: .9rem; }
.footer__top { color: var(--muted); font-size: .9rem; }
.footer__top:hover { color: var(--accent); }

/* Responsive */
@media (max-width: 900px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .why, .contact { grid-template-columns: 1fr; gap: 36px; }
  .nav__links {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--bg-alt); border-bottom: 1px solid var(--border); padding: 20px 24px; gap: 16px;
    transform: translateY(-130%); transition: transform .25s ease;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__toggle { display: flex; }
  .btn { width: 100%; }
}
@media (max-width: 540px) {
  .grid--4 { grid-template-columns: 1fr; }
  .hero { padding: 64px 0; }
  .hero__stats { gap: 28px; }
}
