:root {
  --bg: #0a0e1a;
  --bg-alt: #0f1424;
  --surface: #131a2e;
  --border: #232b45;
  --text: #e7eaf3;
  --text-muted: #9aa3bf;
  --sky: #38bdf8;
  --nova: #a855f7;
  --gradient: linear-gradient(120deg, var(--sky), var(--nova));
  --radius: 14px;
  --max-width: 1120px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--sky);
  margin-bottom: 10px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.logo-mark {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--gradient);
  display: inline-block;
}

.logo .accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text) !important;
}

.nav-cta:hover {
  border-color: var(--sky);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* Hero */
.hero {
  padding: 120px 0 100px;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(56, 189, 248, 0.14), transparent 70%),
    radial-gradient(40% 40% at 80% 20%, rgba(168, 85, 247, 0.12), transparent 70%);
}

.hero-inner {
  max-width: 760px;
  text-align: center;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  margin-bottom: 22px;
}

.hero-lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gradient);
  color: #0a0e1a;
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--sky);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

/* Sections generic */
section {
  padding: 96px 0;
}

section h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  margin-bottom: 44px;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--sky);
  transform: translateY(-2px);
}

.card-icon {
  font-size: 28px;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Work / case study */
.work {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.case-study {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}

.case-media img {
  width: 100%;
  border-radius: 24px;
  border: 1px solid var(--border);
}

.badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--sky);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}

.case-content h3 {
  font-size: 28px;
  margin-bottom: 14px;
}

.case-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.case-highlights {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.case-highlights li {
  position: relative;
  padding-left: 24px;
  color: var(--text-muted);
  font-size: 15px;
}

.case-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient);
}

/* About */
.about-inner {
  max-width: 680px;
}

.about-lead {
  color: var(--text-muted);
  font-size: 17px;
}

/* Contact */
.contact {
  text-align: center;
}

.contact-inner {
  max-width: 560px;
  margin: 0 auto;
}

.contact-lead {
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-inner {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

/* Responsive */
@media (max-width: 860px) {
  .case-study {
    grid-template-columns: 1fr;
  }
  .case-media {
    max-width: 160px;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    transform: translateY(-110%);
    opacity: 0;
    transition: all 0.25s ease;
    pointer-events: none;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .main-nav a {
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
  .main-nav a:last-child {
    border-bottom: none;
  }
  .nav-cta {
    margin-top: 8px;
    text-align: center;
  }
  .nav-toggle {
    display: flex;
  }
  .hero {
    padding: 90px 0 70px;
  }
  section {
    padding: 70px 0;
  }
}
