/* ── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0b0d11;
  --bg-card:   #12151c;
  --bg-card-h: #181c26;
  --border:    rgba(255,255,255,.07);
  --accent:    #6c8bff;
  --accent-glow: rgba(108,139,255,.25);
  --text:      #e2e6f0;
  --text-muted:#8892a4;
  --radius:    12px;
  --font:      'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--accent); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 8px;
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all .2s ease;
  border: 1.5px solid transparent;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--primary:hover { background: #7d9bff; border-color: #7d9bff; transform: translateY(-1px); box-shadow: 0 6px 20px var(--accent-glow); }
.btn--outline  { color: var(--text); border-color: var(--border); background: transparent; }
.btn--outline:hover  { border-color: var(--accent); color: var(--accent); }
.btn--ghost    { color: var(--text-muted); background: transparent; border-color: transparent; }
.btn--ghost:hover    { color: var(--text); }
.btn--full     { width: 100%; justify-content: center; }

/* ── Section labels ───────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

/* ── Nav ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0;
  transition: background .3s, box-shadow .3s;
}
.nav--scrolled {
  background: rgba(11,13,17,.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav__logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -.02em;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a:not(.btn) {
  color: var(--text-muted);
  text-decoration: none;
  font-size: .9375rem;
  transition: color .2s;
}
.nav__links a:not(.btn):hover { color: var(--text); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 160px 0 120px;
  text-align: center;
}
.hero__inner { position: relative; z-index: 1; }
.hero__badge {
  display: inline-block;
  background: rgba(108,139,255,.12);
  color: var(--accent);
  border: 1px solid rgba(108,139,255,.25);
  border-radius: 100px;
  font-size: .8125rem;
  font-weight: 500;
  padding: 5px 16px;
  margin-bottom: 28px;
}
.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 24px;
}
.hero__sub {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 520px;
  margin: 0 auto 40px;
}
.hero__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Glow blob */
.hero__glow {
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(108,139,255,.18) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Services ─────────────────────────────────────────────── */
.services {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.services .section-title { margin-bottom: 48px; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: background .2s, border-color .2s, transform .2s;
}
.card:hover {
  background: var(--bg-card-h);
  border-color: rgba(108,139,255,.3);
  transform: translateY(-3px);
}
.card__icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(108,139,255,.12);
  border-radius: 10px;
  margin-bottom: 20px;
  color: var(--accent);
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 10px; }
.card p  { color: var(--text-muted); font-size: .9375rem; line-height: 1.6; }

/* ── Contact ──────────────────────────────────────────────── */
.contact {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
}
.contact__copy p {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: .9375rem;
}
.contact__detail {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: .9375rem;
}
.contact__detail svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }

/* Form */
.contact__form { display: flex; flex-direction: column; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__group { display: flex; flex-direction: column; gap: 6px; }
.form__group label {
  font-size: .8125rem;
  font-weight: 500;
  color: var(--text-muted);
}
.form__group input,
.form__group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  color: var(--text);
  font-family: var(--font);
  font-size: .9375rem;
  outline: none;
  transition: border-color .2s;
  resize: vertical;
}
.form__group input::placeholder,
.form__group textarea::placeholder { color: #3d4657; }
.form__group input:focus,
.form__group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer p { color: var(--text-muted); font-size: .875rem; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav__links { gap: 16px; }
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .nav__links a:not(.btn) { display: none; }
}
