:root {
  color-scheme: dark;
  --bg: #050713;
  --bg-2: #090b1d;
  --panel: rgba(12, 16, 37, 0.78);
  --panel-strong: rgba(17, 22, 52, 0.92);
  --line: rgba(132, 151, 255, 0.2);
  --text: #f6f8ff;
  --muted: #aab4d6;
  --blue: #33d6ff;
  --violet: #9b5cff;
  --pink: #ff4fd8;
  --green: #4dffbf;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 10%, rgba(74, 104, 255, 0.28), transparent 30rem),
    radial-gradient(circle at 85% 20%, rgba(255, 79, 216, 0.14), transparent 28rem),
    linear-gradient(180deg, #050713 0%, #08091a 52%, #04050e 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 78%);
}

#aura-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  padding: 14px 0;
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.nav-cta,
.button {
  border: 1px solid var(--line);
  background: rgba(9, 12, 30, 0.72);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #030411;
  font-size: 0.72rem;
  font-weight: 900;
}

.site-nav {
  display: flex;
  gap: 6px;
  align-items: center;
  min-height: 44px;
  padding: 5px;
  border-radius: 999px;
}

.site-nav a,
.nav-cta {
  min-height: 34px;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.nav-cta:hover {
  color: var(--text);
  background: rgba(68, 97, 255, 0.16);
  transform: translateY(-1px);
}

.nav-cta {
  color: var(--text);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.72fr);
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: 70px 0 86px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.91;
  font-weight: 900;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  font-weight: 900;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.hero-copy,
.section-heading p,
.why-panel p,
.cta p {
  max-width: 690px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 50px;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  border-color: rgba(51, 214, 255, 0.8);
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #030411;
  box-shadow: 0 18px 56px rgba(51, 214, 255, 0.24);
}

.button.secondary {
  color: var(--text);
}

.hero-system {
  position: relative;
  min-height: 540px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(132, 151, 255, 0.24);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(18, 24, 60, 0.86), rgba(7, 9, 24, 0.72)),
    radial-gradient(circle at 50% 40%, rgba(51, 214, 255, 0.2), transparent 18rem);
  box-shadow: var(--shadow);
}

.hero-system::before {
  position: absolute;
  inset: -35%;
  content: "";
  background: conic-gradient(from 90deg, transparent, rgba(51, 214, 255, 0.18), transparent, rgba(155, 92, 255, 0.24), transparent);
  animation: spin 16s linear infinite;
}

.system-orbit {
  position: absolute;
  inset: 70px;
  border: 1px solid rgba(51, 214, 255, 0.18);
  border-radius: 50%;
}

.system-orbit span {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 22px var(--blue);
}

.system-orbit span:nth-child(1) {
  top: 18%;
  left: 6%;
}

.system-orbit span:nth-child(2) {
  top: 8%;
  right: 18%;
  background: var(--pink);
  box-shadow: 0 0 22px var(--pink);
}

.system-orbit span:nth-child(3) {
  right: 8%;
  bottom: 18%;
  background: var(--green);
  box-shadow: 0 0 22px var(--green);
}

.signal-card {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 14px;
  align-items: center;
  width: min(100%, 350px);
  margin: 0 0 18px auto;
  padding: 18px;
  border: 1px solid rgba(132, 151, 255, 0.2);
  border-radius: 18px;
  background: rgba(4, 6, 18, 0.72);
  backdrop-filter: blur(16px);
}

.signal-card:nth-of-type(3) {
  margin: 80px auto 18px 0;
}

.signal-card:nth-of-type(4) {
  margin-top: 82px;
}

.signal-card.active {
  border-color: rgba(51, 214, 255, 0.58);
  box-shadow: 0 0 40px rgba(51, 214, 255, 0.15);
}

.signal-card p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.signal-icon,
.service-icon {
  flex: 0 0 auto;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(51, 214, 255, 0.28);
  border-radius: 16px;
  background: rgba(51, 214, 255, 0.08);
}

.signal-icon::before,
.service-icon::before,
.check-icon::before {
  width: 22px;
  height: 22px;
  content: "";
  background: linear-gradient(135deg, var(--blue), var(--violet));
  clip-path: var(--icon-shape);
}

[data-icon="identity"],
[data-icon="brand"] {
  --icon-shape: polygon(50% 0, 95% 28%, 80% 88%, 50% 100%, 20% 88%, 5% 28%);
}

[data-icon="content"],
[data-icon="strategy"] {
  --icon-shape: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
}

[data-icon="growth"] {
  --icon-shape: polygon(0 72%, 30% 44%, 48% 58%, 100% 6%, 100% 34%, 50% 86%, 31% 72%, 10% 94%);
}

[data-icon="social"] {
  --icon-shape: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

[data-icon="optimize"] {
  --icon-shape: circle(42% at 50% 50%);
}

[data-icon="consult"] {
  --icon-shape: polygon(8% 10%, 92% 10%, 92% 66%, 58% 66%, 34% 94%, 38% 66%, 8% 66%);
}

[data-icon="video"] {
  --icon-shape: polygon(8% 12%, 68% 12%, 68% 36%, 100% 18%, 100% 82%, 68% 64%, 68% 88%, 8% 88%);
}

.metrics-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.metrics-band div {
  min-height: 120px;
  padding: 28px;
  background: rgba(10, 13, 32, 0.82);
}

.metrics-band strong {
  display: block;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 0.88rem;
}

.metrics-band span {
  font-size: 1.2rem;
  font-weight: 800;
}

.services,
.process,
.why,
.cta {
  padding: 118px 0 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.62fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

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

.service-card {
  position: relative;
  min-height: 328px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(132, 151, 255, 0.18);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(17, 22, 52, 0.9), rgba(7, 9, 24, 0.76));
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.service-card::after {
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 130px;
  height: 130px;
  content: "";
  border: 1px solid rgba(51, 214, 255, 0.18);
  border-radius: 50%;
  background: rgba(51, 214, 255, 0.05);
  transition: transform 220ms ease, opacity 220ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(51, 214, 255, 0.55);
  box-shadow: 0 22px 60px rgba(51, 214, 255, 0.11);
}

.service-card:hover::after {
  transform: scale(1.55);
  opacity: 0.75;
}

.service-card h3 {
  margin-top: 34px;
}

.service-card p {
  color: var(--muted);
  line-height: 1.7;
}

.service-card strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 26px;
  color: #dfe8ff;
  line-height: 1.55;
}

.service-card-wide {
  grid-column: span 3;
  min-height: 230px;
}

.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.process-step {
  min-height: 250px;
  padding: 24px;
  border: 1px solid rgba(132, 151, 255, 0.18);
  border-radius: 20px;
  background: rgba(11, 14, 34, 0.74);
}

.process-step span {
  display: inline-grid;
  width: 48px;
  height: 48px;
  margin-bottom: 34px;
  place-items: center;
  border-radius: 50%;
  background: rgba(51, 214, 255, 0.1);
  color: var(--blue);
  font-weight: 900;
}

.process-step p {
  color: var(--muted);
  line-height: 1.7;
}

.why-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.65fr);
  gap: 44px;
  align-items: center;
  padding: 44px;
  border: 1px solid rgba(132, 151, 255, 0.22);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(17, 22, 52, 0.9), rgba(6, 8, 22, 0.86)),
    radial-gradient(circle at 100% 0, rgba(155, 92, 255, 0.24), transparent 24rem);
  box-shadow: var(--shadow);
}

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

.why-list li {
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 72px;
  padding: 16px;
  border: 1px solid rgba(132, 151, 255, 0.18);
  border-radius: 18px;
  background: rgba(4, 6, 18, 0.44);
}

.check-icon {
  display: grid;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: rgba(77, 255, 191, 0.12);
}

.check-icon::before {
  width: 16px;
  height: 16px;
  background: var(--green);
  clip-path: polygon(12% 52%, 38% 78%, 88% 20%, 100% 32%, 40% 94%, 0 62%);
}

.cta {
  padding-bottom: 90px;
  text-align: center;
}

.cta h2,
.cta p {
  margin-right: auto;
  margin-left: auto;
}

.cta .hero-actions {
  justify-content: center;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 920px) {
  .site-nav {
    display: none;
  }

  .hero,
  .section-heading,
  .why-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  .hero-system {
    min-height: 460px;
  }

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

  .service-card-wide {
    grid-column: span 2;
  }

  .metrics-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header,
  .section-shell {
    width: min(100% - 22px, 1180px);
  }

  .brand {
    font-size: 0.92rem;
  }

  .nav-cta {
    padding-inline: 12px;
    font-size: 0.82rem;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.4rem);
  }

  .hero-copy,
  .section-heading p,
  .why-panel p,
  .cta p {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-system {
    min-height: 410px;
    padding: 18px;
    border-radius: 22px;
  }

  .system-orbit {
    inset: 64px 42px;
  }

  .signal-card,
  .signal-card:nth-of-type(3),
  .signal-card:nth-of-type(4) {
    width: 100%;
    margin: 0 0 12px;
  }

  .services,
  .process,
  .why,
  .cta {
    padding-top: 82px;
  }

  .services-grid,
  .process-track {
    grid-template-columns: 1fr;
  }

  .service-card,
  .process-step {
    min-height: auto;
  }

  .service-card-wide {
    grid-column: span 1;
  }

  .why-panel {
    padding: 24px;
    border-radius: 22px;
  }
}
