:root {
  --bg: #0b1020;
  --bg-alt: #0f1529;
  --surface: #141b33;
  --surface-hover: #1a2340;
  --border: #243055;
  --text: #e8ecf6;
  --muted: #a3adc8;
  --accent: #22d3ee;
  --accent-2: #818cf8;
  --accent-ink: #04121a;
  --warning: #fbbf24;
  --radius: 14px;
  --max: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
a { color: var(--accent); }
a:hover { color: #67e8f9; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

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

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: .75em 1.4em;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { color: var(--accent-ink); background: #67e8f9; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(34, 211, 238, .25); }
.btn-small { padding: .5em 1.1em; font-size: .9375rem; }
.btn-large { padding: .95em 1.9em; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 16, 32, .85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.125rem; }
.logo:hover { color: var(--text); }
.logo .accent { color: var(--accent); }
.logo-mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-ink); font-size: .8125rem; font-weight: 800;
}

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 500; }
.site-nav a:not(.btn):hover { color: var(--text); }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .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: 110px 0 120px;
  text-align: center;
  background:
    radial-gradient(600px 300px at 20% 10%, rgba(34, 211, 238, .16), transparent 70%),
    radial-gradient(600px 320px at 85% 30%, rgba(129, 140, 248, .18), transparent 70%),
    var(--bg);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 820px; }
.hero h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); letter-spacing: -.02em; }
.gradient-text {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(1.0625rem, 2vw, 1.25rem); color: var(--muted); max-width: 640px; margin: 0 auto 2em; }
.hero-note { margin-top: 1em; font-size: .9375rem; color: var(--muted); }

.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .8125rem; font-weight: 700;
  color: var(--accent); margin-bottom: .75em;
}

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); letter-spacing: -.01em; }

.group-title { display: flex; align-items: center; gap: 12px; font-size: 1.375rem; margin: 0 0 20px; }
.grid + .group-title { margin-top: 56px; }
.group-icon {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: rgba(34, 211, 238, .12); color: var(--accent); font-size: 1.125rem;
}

.grid { display: grid; gap: 20px; }
.cards { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color .2s, background .2s, transform .2s;
}
.card:hover { border-color: rgba(34, 211, 238, .45); background: var(--surface-hover); transform: translateY(-2px); }
.card h3, .card h4 { font-size: 1.125rem; margin-bottom: .4em; }
.card p { color: var(--muted); margin: 0; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; }
.step h3 { font-size: 1.1875rem; }
.step p { color: var(--muted); margin: 0; }
.step-num {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--accent-ink); font-weight: 800; margin-bottom: 18px;
}

/* Why us */
.why-grid { grid-template-columns: repeat(3, 1fr); }
.card-feature {
  background: linear-gradient(160deg, rgba(34, 211, 238, .12), rgba(129, 140, 248, .10)), var(--surface);
  border-color: rgba(34, 211, 238, .4);
}
.card-feature h3 { font-size: 1.1875rem; }
.card-feature p { color: var(--text); opacity: .9; }


/* Contact */
.contact-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.contact-copy h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
.contact-copy p { color: var(--muted); }
.contact-email { margin-top: 1.5em; color: var(--text) !important; }
.contact-email + .contact-email { margin-top: 0; }
.contact-email a { font-weight: 600; word-break: break-word; }

.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 6px; }
.optional { color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  width: 100%;
  font: inherit; font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder { color: #6b7591; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(34, 211, 238, .2); }
.field textarea { resize: vertical; min-height: 110px; }
.field.invalid input, .field.invalid textarea { border-color: #f87171; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin: 14px 0 0; min-height: 1.5em; font-size: .9375rem; }
.form-status.success { color: #4ade80; }
.form-status.error { color: #f87171; }

/* Footer */
.site-footer { padding: 32px 0; border-top: 1px solid var(--border); color: var(--muted); font-size: .9375rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-inner p { margin: 0; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }

/* Responsive */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 760px) {
  .container { padding: 0 16px; }
  .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: 8px 16px 20px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--border); }
  .site-nav .btn { margin-top: 16px; text-align: center; }

  .hero { padding: 72px 0 84px; }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 40px; }
  .cards, .steps, .why-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
  .btn-large { width: 100%; }
}
