:root {
  --bg: #0b1120;
  --bg-muted: #0f1729;
  --surface: #131c31;
  --border: #22304a;
  --text: #eef2f8;
  --text-dim: #a3b0c6;
  --accent: #33d6c0;
  --accent-dark: #1fae9c;
  --radius: 14px;
  --max-width: 1120px;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 16px;
  font-weight: 700;
}

p {
  margin: 0 0 12px;
  color: var(--text-dim);
}

/* Nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(11, 17, 32, 0.85);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.logo {
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--text);
  letter-spacing: -0.02em;
}

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

.nav__links {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.nav__links a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

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

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--accent);
  color: #06231f;
}

.btn--primary:hover {
  background: var(--accent-dark);
}

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

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

.btn--small {
  padding: 9px 18px;
  font-size: 0.875rem;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}

.btn--small:hover {
  border-color: var(--accent);
}

/* Hero */

.hero {
  padding: 96px 0 72px;
  background:
    radial-gradient(circle at 15% 0%, rgba(51, 214, 192, 0.12), transparent 45%),
    var(--bg);
}

.hero__inner {
  max-width: 780px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  letter-spacing: -0.02em;
}

.hero__lede {
  font-size: 1.1rem;
  max-width: 620px;
}

.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 44px;
}

.hero__stats {
  list-style: none;
  display: flex;
  gap: 40px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}

.hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__stats strong {
  font-size: 1.6rem;
  color: var(--text);
}

.hero__stats span {
  font-size: 0.85rem;
  color: var(--text-dim);
  max-width: 160px;
}

/* Sections */

.section {
  padding: 80px 0;
}

.section--muted {
  background: var(--bg-muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -0.01em;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.card, .service {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.card h3, .service h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--text);
}

.card p, .service p {
  margin: 0;
  font-size: 0.95rem;
}

/* Contacts */

.section--cta {
  text-align: center;
}

.contacts {
  max-width: 640px;
}

.contacts__lede {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.contacts .hero__cta {
  justify-content: center;
  margin-top: 24px;
}

.contacts__email {
  margin-top: 24px;
  font-size: 0.95rem;
}

.contacts__email a {
  color: var(--accent);
  text-decoration: none;
}

/* Footer */

.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Responsive */

@media (max-width: 860px) {
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .nav__links {
    display: none;
  }

  .hero {
    padding: 64px 0 48px;
  }

  .grid--3, .grid--2 {
    grid-template-columns: 1fr;
  }

  .hero__stats {
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 18px;
  }

  .hero__cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
