:root {
  --bg: #07040d;
  --bg-soft: #120b1f;
  --panel: #181024;
  --panel-2: #201331;
  --text: #fff7ff;
  --muted: #bfb0d5;
  --line: rgba(255, 255, 255, .12);
  --purple: #6a00ff;
  --violet: #9a48ff;
  --cyan: #39e4ff;
  --gold: #ffd25a;
  --pink: #ff4fd8;
  --green: #41ff91;
  --shadow: 0 26px 80px rgba(38, 0, 84, .48);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(106, 0, 255, .34), transparent 28rem),
    radial-gradient(circle at 86% 18%, rgba(57, 228, 255, .14), transparent 24rem),
    linear-gradient(180deg, #08040f 0%, #100817 44%, #050308 100%);
  color: var(--text);
  font-family: "Segoe UI", Tahoma, sans-serif;
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 4, 13, .78);
  backdrop-filter: blur(18px);
}

.nav__inner,
.section__inner,
.footer__inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 160px;
}

.brand img {
  width: 188px;
  height: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__links a {
  padding: 10px 13px;
  color: var(--muted);
  font-size: 15px;
  border-radius: 8px;
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, .08);
}

.nav__actions,
.cta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  font-weight: 800;
  color: var(--text);
  background: rgba(255, 255, 255, .08);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .32);
}

.btn--primary {
  color: #12051f;
  background: linear-gradient(135deg, var(--gold), #ff8f3d 44%, var(--pink));
  border-color: transparent;
  box-shadow: 0 18px 44px rgba(255, 79, 216, .28);
}

.btn--ghost {
  background: rgba(255, 255, 255, .04);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  color: var(--text);
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: end;
  padding: 74px 0 54px;
  background:
    linear-gradient(90deg, rgba(7, 4, 13, .96) 0%, rgba(7, 4, 13, .76) 45%, rgba(7, 4, 13, .22) 100%),
    var(--hero-image) center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-weight: 800;
  letter-spacing: 0;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 18px currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 1.03;
  letter-spacing: 0;
}

.lead {
  max-width: 690px;
  color: #e8ddf4;
  font-size: clamp(18px, 2vw, 22px);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 720px;
  margin-top: 42px;
}

.stat {
  border-top: 1px solid rgba(255, 255, 255, .22);
  padding-top: 14px;
}

.stat strong {
  display: block;
  color: var(--gold);
  font-size: 28px;
  line-height: 1.1;
}

.stat span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 82px 0;
}

.section--alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0));
}

.section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section__head h2,
.page-hero h1 {
  margin-bottom: 0;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section__head p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--muted);
}

.feature-grid,
.promo-grid,
.blog-grid,
.mini-grid,
.text-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.promo-card,
.blog-card,
.article-block,
.contact-panel,
.copy-panel,
.mini-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .035));
  box-shadow: var(--shadow);
}

.feature-card {
  overflow: hidden;
}

.feature-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.feature-card__body,
.promo-card,
.blog-card__body,
.article-block,
.contact-panel,
.copy-panel,
.mini-card {
  padding: 24px;
}

.feature-card h3,
.promo-card h3,
.blog-card h3,
.article-block h2,
.copy-panel h2,
.mini-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.28;
  letter-spacing: 0;
}

.feature-card p,
.promo-card p,
.blog-card p,
.article-block p,
.contact-panel p,
.copy-panel p,
.mini-card p {
  color: var(--muted);
}

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

.copy-panel {
  min-height: 100%;
}

.copy-panel h2 {
  font-size: clamp(26px, 3vw, 38px);
}

.copy-panel p:last-child,
.mini-card p:last-child {
  margin-bottom: 0;
}

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

.mini-card {
  min-height: 260px;
}

.mini-card h3 {
  color: var(--gold);
}

.split-band {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 36px;
  align-items: center;
}

.number-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.number-list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
}

.number-list span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  color: #10031c;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--green));
}

.number-list strong {
  display: block;
  margin-bottom: 4px;
}

.number-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.page-hero {
  padding: 88px 0 44px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(106, 0, 255, .26), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, .045), transparent);
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
}

.blog-card {
  overflow: hidden;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.blog-card__meta,
.article-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.article-stack {
  display: grid;
  gap: 24px;
}

.article-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 26px;
  align-items: center;
}

.article-block img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.promo-card {
  position: relative;
  min-height: 250px;
}

.promo-card::before {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
}

.contact-panel {
  max-width: 760px;
}

.contact-panel .cta-row {
  margin-top: 26px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 38px 0;
  background: #050308;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--muted);
}

.footer__links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

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

@media (max-width: 920px) {
  .nav__links,
  .nav__actions {
    position: fixed;
    left: 16px;
    right: 16px;
    display: none;
    background: rgba(13, 7, 22, .98);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav__links {
    top: 92px;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
  }

  .nav__actions {
    top: 335px;
    padding: 12px;
  }

  body.menu-open .nav__links,
  body.menu-open .nav__actions {
    display: flex;
  }

  .menu-toggle {
    display: inline-block;
  }

  .hero {
    min-height: 760px;
    background:
      linear-gradient(180deg, rgba(7, 4, 13, .86) 0%, rgba(7, 4, 13, .72) 52%, rgba(7, 4, 13, .96) 100%),
      var(--hero-image) center / cover no-repeat;
  }

  .hero__stats,
  .feature-grid,
  .promo-grid,
  .blog-grid,
  .mini-grid,
  .text-grid,
  .split-band,
  .article-block {
    grid-template-columns: 1fr;
  }

  .section__head {
    display: block;
  }

  .section__head p {
    margin-top: 12px;
  }

  .article-block img {
    max-width: 360px;
  }
}

@media (max-width: 560px) {
  .nav__inner,
  .section__inner,
  .footer__inner,
  .hero__content {
    width: min(100% - 24px, 1180px);
  }

  .brand img {
    width: 152px;
  }

  h1 {
    font-size: 40px;
  }

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

  .btn {
    width: 100%;
  }

  .hero__stats {
    margin-top: 28px;
  }
}
