:root {
  --bg: #1c1f24;
  --bg-alt: #14171b;
  --surface: #252a30;
  --surface-2: #2d333b;
  --border: #3a414b;
  --text: #e8eaed;
  --text-muted: #9aa3ad;
  --blue: #4da3ff;
  --blue-dark: #1e6fd9;
  --radius: 10px;
  --maxw: 1080px;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

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

/* ---------- Header / Nav ---------- */

.site-header {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.3px;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
  text-decoration: none;
}

.nav-cta {
  background: var(--blue);
  color: #0b0f14 !important;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--blue-dark);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
}

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(1000px 400px at 80% -10%, rgba(30, 111, 217, 0.22), transparent 60%),
    linear-gradient(180deg, var(--bg-alt), var(--bg));
  padding: 96px 0 88px;
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  max-width: 760px;
  margin-bottom: 18px;
}

.hero h1 .accent {
  color: var(--blue);
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 32px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.15s ease, transform 0.1s ease;
}

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

.btn-primary {
  background: var(--blue);
  color: #0b0f14;
}

.btn-primary:hover {
  background: var(--blue-dark);
  color: #fff;
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
}

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

/* ---------- Sections ---------- */

.section {
  padding: 72px 0;
}

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

.section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  margin-bottom: 12px;
}

.section .intro {
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 40px;
}

/* ---------- Cards / grids ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

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

.card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(77, 163, 255, 0.12);
  color: var(--blue);
  margin-bottom: 14px;
}

.card .icon svg {
  width: 24px;
  height: 24px;
}

/* ---------- How it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  counter-reset: step;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -14px;
  left: 20px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: #0b0f14;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.step h3 {
  font-size: 1.05rem;
  margin: 8px 0 6px;
}

.step p {
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: #0b0f14;
  padding: 48px 0;
}

.cta-band h2 {
  margin-bottom: 8px;
}

.cta-band p {
  font-size: 1.05rem;
  margin-bottom: 20px;
  max-width: 560px;
}

.cta-band .btn-primary {
  background: #0b0f14;
  color: #fff;
}

.cta-band .btn-primary:hover {
  background: #1c1f24;
}

/* ---------- Contact / details list ---------- */

.detail-list {
  list-style: none;
}

.detail-list li {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.detail-list li:last-child {
  border-bottom: none;
}

.detail-list .label {
  color: var(--text-muted);
  min-width: 90px;
  font-weight: 600;
}

.detail-list a {
  color: var(--blue);
}

/* ---------- Service rows ---------- */

.service-row {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.service-row h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.service-row p {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 640px;
}

.service-row .price {
  color: var(--blue);
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 28px 0;
  margin-top: 40px;
  flex-shrink: 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---------- 404 ---------- */

.error-wrap {
  text-align: center;
  padding: 120px 20px;
}

.error-wrap h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  color: var(--blue);
}

.error-wrap p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .nav-links.open {
    max-height: 320px;
    padding: 8px 20px 16px;
  }

  .nav-links li {
    border-bottom: 1px solid var(--border);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    display: block;
    padding: 12px 0;
  }

  .nav-cta {
    text-align: center;
    margin-top: 8px;
  }

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