:root {
  --bg: #0b0f14;
  --bg-raised: #12181f;
  --bg-card: #141b23;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(95, 172, 243, 0.35);
  --text: #eaeef3;
  --text-muted: #93a1b0;
  --accent: #5facf3;
  --accent-strong: #86c3f7;
  --accent-ink: #06263f;
  --radius: 14px;
  --container: 1120px;
  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

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

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

img, svg { max-width: 100%; display: block; }

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p { color: var(--text-muted); margin: 0 0 1em; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 20, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand svg, .brand img { height: 44px; width: auto; }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--border-hover); }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }

/* ---------- hero ---------- */
.hero {
  padding: 96px 0 72px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(600px 300px at 85% -10%, rgba(95, 172, 243, 0.14), transparent 60%),
    var(--bg);
}
.hero-inner { max-width: 720px; }
.hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  letter-spacing: -0.5px;
}
.hero h1 span { color: var(--accent); }
.hero p.lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
}
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-meta {
  display: flex;
  gap: 28px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-meta div { font-family: var(--font-head); }
.hero-meta strong { display: block; font-size: 22px; color: var(--text); }
.hero-meta span { font-size: 13px; color: var(--text-muted); }

/* ---------- sections ---------- */
section { padding: 84px 0; border-bottom: 1px solid var(--border); }
section:last-of-type { border-bottom: none; }
.section-head { max-width: 620px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); }

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(95, 172, 243, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card h3 { font-size: 19px; }
.card p { margin-bottom: 0; font-size: 14.5px; }
.card ul { margin: 12px 0 0; padding-left: 18px; color: var(--text-muted); font-size: 14px; }
.card ul li { margin-bottom: 4px; }

/* ---------- partners strip ---------- */
.partners {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.partners .container {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.partners .label {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.badge-row { display: flex; gap: 12px; flex-wrap: wrap; }
.badge {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-raised);
  color: var(--text);
}

/* ---------- portfolio ---------- */
.work-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  text-decoration: none;
  display: block;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.work-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.work-card .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.work-card h3 { font-size: 19px; margin-bottom: 6px; }
.work-card p { font-size: 14.5px; margin-bottom: 0; }
.status-pill {
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  font-family: var(--font-head);
}
.status-live { background: rgba(95, 172, 243, 0.15); color: var(--accent-strong); }
.status-dev { background: rgba(255, 255, 255, 0.08); color: var(--text-muted); }

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.stat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-list .card { padding: 20px; }
.stat-list strong { display: block; font-size: 26px; font-family: var(--font-head); color: var(--accent); }
.stat-list span { font-size: 13px; color: var(--text-muted); }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.contact-item .icon {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 10px;
  background: rgba(95, 172, 243, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-item h3 { font-size: 15.5px; margin-bottom: 4px; }
.contact-item p { margin: 0; font-size: 14.5px; }
.contact-item a { color: var(--text); text-decoration: none; }
.contact-item a:hover { color: var(--accent); }

/* ---------- footer ---------- */
footer {
  padding: 40px 0;
}
footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
footer .brand svg, footer .brand img { height: 26px; }
footer p { margin: 0; font-size: 13px; color: var(--text-muted); }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .nav-links, .header-actions .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .hero { padding: 64px 0 48px; }
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 0;
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }
