:root {
  --bg: #08090c;
  --bg-alt: #0d0f14;
  --surface: #12141a;
  --surface-2: #171a22;
  --border: #232733;
  --text: #eef0f4;
  --text-dim: #9aa1b1;
  --text-faint: #6b7180;
  --accent: #5eead4;
  --accent-2: #a78bfa;
  --radius: 14px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

h1, h2, h3, h4, .logo span { font-family: 'Space Grotesk', system-ui, sans-serif; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }

.bg-grid {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  z-index: -2; pointer-events: none;
}
.bg-glow {
  position: fixed; top: -20%; left: 50%; width: 1200px; height: 1200px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(94,234,212,0.10), rgba(167,139,250,0.06) 40%, transparent 70%);
  z-index: -1; pointer-events: none;
}

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(8,9,12,0.7);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; color: var(--text); }
.logo-mark { width: 32px; height: 32px; }
.accent { color: var(--accent); }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--text-dim); flex: 1; justify-content: center; }
.nav-links a:hover { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
  border: 1px solid var(--border); transition: all 0.2s ease; white-space: nowrap;
}
.btn-small { padding: 9px 16px; font-size: 13px; }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #06070a; border: none; }
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-ghost { background: var(--surface); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); border-color: #2e3340; }

/* HERO */
.hero { padding: 130px 24px 90px; max-width: var(--max); margin: 0 auto; }
.eyebrow {
  color: var(--accent); font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 18px;
}
.hero h1 { font-size: clamp(36px, 5.6vw, 60px); font-weight: 700; margin: 0 0 22px; line-height: 1.08; }
.hero-sub { font-size: clamp(16px, 2vw, 19px); color: var(--text-dim); max-width: 700px; margin: 0 0 36px; }
.hero-sub strong { color: var(--text); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-family: 'Space Grotesk', sans-serif; font-size: 32px; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 13px; color: var(--text-faint); max-width: 160px; }

/* SECTIONS */
.section { padding: 90px 24px; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-tag {
  color: var(--accent-2); font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 14px;
}
.section h2 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 22px; font-weight: 700; }
.lead { font-size: 17px; color: var(--text-dim); max-width: 720px; margin: 0 0 30px; }

/* SERVICES */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.service-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: border-color 0.2s ease, transform 0.2s ease;
}
.service-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.service-primary { background: linear-gradient(160deg, var(--surface), var(--surface-2)); border-color: #2c3142; }
.service-icon { font-size: 26px; display: block; margin-bottom: 12px; }
.service-card h3 { margin: 0 0 10px; font-size: 17px; }
.service-card p { margin: 0; font-size: 14px; color: var(--text-dim); }

/* APPROACH */
.approach-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.approach-num {
  display: block; font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 700;
  color: var(--accent); margin-bottom: 14px; letter-spacing: 0.05em;
}
.approach-item h4 { margin: 0 0 10px; font-size: 17px; }
.approach-item p { margin: 0; font-size: 14px; color: var(--text-dim); }

/* WORK */
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-bottom: 28px; }
.work-card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.work-card:hover { border-color: var(--accent); transform: translateY(-3px); background: var(--surface-2); }
.work-card h3 { margin: 0 0 10px; font-size: 18px; }
.work-card p { margin: 0 0 16px; font-size: 14px; color: var(--text-dim); flex: 1; }
.work-link { font-size: 13px; color: var(--accent-2); font-weight: 600; }
.view-all { margin-top: 4px; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.contact-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 22px; display: flex; flex-direction: column; gap: 6px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.contact-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.contact-label { font-size: 12px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.06em; }
.contact-value { font-size: 15px; font-weight: 600; word-break: break-word; overflow-wrap: anywhere; }

/* FOOTER */
.footer {
  text-align: center; padding: 40px 24px; font-size: 13px; color: var(--text-faint);
  border-top: 1px solid var(--border);
}
.footer-logo { width: 28px; height: 28px; display: block; margin: 0 auto 12px; opacity: 0.8; }
.footer-link { margin: 8px 0 0; }
.footer-link a { color: var(--accent-2); }
.footer-link a:hover { color: var(--accent); }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .hero { padding: 105px 20px 70px; }
  .section { padding: 64px 20px; }
  .hero-stats { gap: 32px; }
}
