:root {
  --bg: #0b0b12;
  --surface: #12131c;
  --surface-2: #191b26;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f5f7fb;
  --muted: #a2acc4;
  --primary: #8b5cf6;
  --accent: #22d3ee;
  --pink: #fb7185;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --container: 1220px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(139, 92, 246, 0.2), transparent 28%),
    radial-gradient(circle at top right, rgba(34, 211, 238, 0.18), transparent 24%),
    linear-gradient(180deg, #090a10 0%, #0b0b12 100%);
  line-height: 1.65;
}

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

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

.container {
  width: min(var(--container), calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(9, 10, 16, 0.84);
  border-bottom: 1px solid var(--line);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  gap: 20px;
}

.site-nav a {
  color: var(--muted);
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #090a10;
  border: 0;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.button.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero,
.page-hero,
.section {
  padding: 74px 0;
}

.hero-grid,
.split,
.three-up,
.stats,
.footer-grid,
.article-grid {
  display: grid;
  gap: 18px;
}

.hero-grid,
.split {
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
}

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.24);
  color: var(--accent);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  line-height: 1.08;
}

h1 {
  font-size: clamp(42px, 6vw, 76px);
}

h2 {
  font-size: clamp(30px, 4vw, 50px);
}

h3 {
  font-size: 24px;
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

.hero-copy p {
  font-size: 18px;
  max-width: 720px;
}

.cta-row {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 16px;
  margin: 26px 0;
}

.panel,
.card,
.article,
.faq-item,
.contact-form-wrap,
.image-card {
  background: linear-gradient(180deg, rgba(25, 27, 38, 0.96), rgba(18, 19, 28, 0.96));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel,
.card,
.article,
.faq-item,
.contact-form-wrap {
  padding: 26px;
}

.image-card {
  overflow: hidden;
}

.image-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.metric strong {
  display: block;
  margin-bottom: 8px;
  font-size: 28px;
  color: var(--text);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.faq-item button {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding-top: 14px;
}

.faq-item.open .faq-answer {
  display: block;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
}

.contact-form textarea {
  min-height: 140px;
}

.status-text {
  min-height: 24px;
  color: var(--accent);
}

.site-footer {
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  grid-template-columns: 1.3fr 0.8fr 0.9fr;
}

.footer-note {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 920px) {
  .hero-grid,
  .split,
  .three-up,
  .stats,
  .footer-grid,
  .article-grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-nav {
    display: none;
    position: absolute;
    right: 18px;
    top: 70px;
    width: min(320px, calc(100% - 36px));
    padding: 18px;
    background: #10121c;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    flex-direction: column;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 680px) {
  .hero,
  .page-hero,
  .section {
    padding: 46px 0;
  }

  .hero-grid,
  .split,
  .three-up,
  .stats,
  .footer-grid,
  .article-grid,
  .cta-row {
    grid-template-columns: 1fr;
  }
}

/* ---- shared component additions ---- */
.section-head {
  max-width: 820px;
  margin-bottom: 28px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.stat {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.stat strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 26px;
}

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

.hero-card figure {
  overflow: hidden;
  border-radius: 18px;
  margin: 0 0 18px;
  border: 1px solid var(--line);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.metric-card {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.metric-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 24px;
}

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

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

.icon-badge {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 16px;
  background: rgba(139, 92, 246, 0.14);
  color: var(--primary);
  font-size: 20px;
  font-weight: 700;
}

.muted-box {
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.seo-tags {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.seo-chip {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

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

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

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

.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.12);
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-title {
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--text);
}

.footer-links {
  display: grid;
  gap: 10px;
}

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

@media (max-width: 920px) {
  .hero-stats,
  .feature-grid,
  .photo-grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .hero-stats,
  .feature-grid,
  .photo-grid,
  .steps,
  .seo-tags {
    grid-template-columns: 1fr;
  }
}
