:root {
  --bg: #0b1020;
  --bg-alt: #0f152b;
  --surface: #141c38;
  --surface-2: #1a234a;
  --text: #e8ecf6;
  --muted: #9aa6c4;
  --brand: #4f8cff;
  --brand-2: #38d6c4;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 16px;
  --maxw: 1120px;
  --shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.4em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-2);
  margin-bottom: 0.8rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #07112a;
  font-weight: 600;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.98rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px var(--brand); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--surface); box-shadow: none; }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.9rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 16, 32, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 1.15rem; }
.brand-mark {
  width: 22px; height: 22px; border-radius: 7px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 18px -2px var(--brand);
}
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a { color: var(--muted); font-weight: 500; transition: color 0.15s ease; }
.nav-links a:hover { color: var(--text); }
.nav-links a.btn { color: #07112a; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.2s; }

/* Hero */
.hero {
  position: relative;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(60% 70% at 80% -10%, rgba(79, 140, 255, 0.18), transparent 60%),
    radial-gradient(50% 60% at 0% 10%, rgba(56, 214, 196, 0.12), transparent 60%);
  overflow: hidden;
}
.hero-inner { max-width: 760px; }
.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 1.8rem 0 2.6rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 2.4rem; margin: 0; padding-top: 1.6rem; border-top: 1px solid var(--border); }
.hero-stats dt { font-size: 1.9rem; font-weight: 800; background: linear-gradient(135deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats dd { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* Sections */
.section { padding: clamp(4rem, 8vw, 6rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.section-sub { color: var(--muted); margin: 0; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(79, 140, 255, 0.4); box-shadow: var(--shadow); }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--surface-2);
  color: var(--brand-2);
  font-size: 1.2rem; font-weight: 700;
  margin-bottom: 1.2rem;
}
.card p { color: var(--muted); }
.tick { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.tick li { position: relative; padding-left: 1.6rem; margin-bottom: 0.5rem; color: var(--text); font-size: 0.95rem; }
.tick li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--brand-2); font-weight: 700;
}

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.steps li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
}
.step-no { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; color: var(--brand); }
.steps h3 { margin: 0.8rem 0 0.4rem; }
.steps p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.about-grid p { color: var(--muted); }
.about-grid .btn { margin-top: 0.6rem; }
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.values li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  color: var(--muted);
}
.values strong { color: var(--text); }

/* CTA / Contact */
.section-cta {
  background:
    radial-gradient(50% 100% at 50% 0%, rgba(79, 140, 255, 0.16), transparent 70%),
    var(--bg-alt);
}
.cta-inner { max-width: 680px; margin: 0 auto; text-align: center; }
.cta-inner > p { color: var(--muted); margin-bottom: 2rem; }
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.field input, .field textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  color: var(--text);
  font: inherit;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.2);
}
.form-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form-status { margin: 0; font-size: 0.9rem; color: var(--brand-2); }
.form-status.error { color: #ff8a8a; }
.contact-alt { margin-top: 1.4rem; color: var(--muted); }
.contact-alt a { color: var(--brand-2); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 2.4rem 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; justify-content: space-between; }
.footer-tag { color: var(--muted); margin: 0; flex: 1; min-width: 200px; }
.footer-copy { color: var(--muted); font-size: 0.85rem; margin: 0; }

/* Responsive */
@media (max-width: 860px) {
  .cards, .steps { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 640px) {
  .nav-links {
    position: fixed;
    inset: 70px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 24px 1rem;
    transform: translateY(-130%);
    transition: transform 0.25s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { width: 100%; padding: 0.8rem 0; }
  .nav-links a.btn { margin-top: 0.5rem; justify-content: center; }
  .nav-toggle { display: flex; }
  .cards, .steps { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
}

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