:root {
  color-scheme: light dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #f6f7f3;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --text: #11141b;
  --muted: #5c6472;
  --line: rgba(17, 20, 27, 0.16);
  --accent: #c79b00;
  --accent-2: #007b8f;
  --accent-3: #5f47d6;
  --shadow: 0 24px 70px rgba(16, 21, 32, 0.16);
  --radius: 8px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #101114;
  --surface: rgba(28, 30, 36, 0.82);
  --surface-strong: #17191f;
  --text: #f3f5f8;
  --muted: #aeb5c1;
  --line: rgba(255, 255, 255, 0.16);
  --accent: #e2b51a;
  --accent-2: #44c9de;
  --accent-3: #e155bd;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

[data-theme="cyber"] {
  color-scheme: dark;
  --bg: #05070b;
  --surface: rgba(7, 13, 18, 0.82);
  --surface-strong: #080d12;
  --text: #f8fbff;
  --muted: #9ca8b7;
  --line: rgba(255, 230, 0, 0.28);
  --accent: #ffe600;
  --accent-2: #00d9ff;
  --accent-3: #ff2db2;
  --shadow: 0 0 40px rgba(0, 217, 255, 0.18), 0 0 90px rgba(255, 230, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 24%, color-mix(in srgb, var(--accent-2) 18%, transparent), transparent 28rem),
    radial-gradient(circle at 78% 18%, color-mix(in srgb, var(--accent-3) 14%, transparent), transparent 25rem),
    linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--bg) 88%, black));
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(color-mix(in srgb, var(--line) 55%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--line) 55%, transparent) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.2;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

[data-theme="cyber"] body {
  background:
    radial-gradient(ellipse at 50% 110%, rgba(255, 230, 0, 0.22), transparent 34rem),
    radial-gradient(ellipse at 22% 36%, rgba(0, 217, 255, 0.2), transparent 30rem),
    radial-gradient(ellipse at 78% 22%, rgba(255, 45, 178, 0.18), transparent 28rem),
    linear-gradient(180deg, #020308, #05070b 46%, #020308);
}

[data-theme="cyber"] body::before {
  opacity: 0.42;
  animation: cyberGridPulse 5.5s ease-in-out infinite;
}

[data-theme="cyber"] body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(112deg, transparent 0 38%, rgba(0, 217, 255, 0.12) 45%, transparent 52%),
    linear-gradient(72deg, transparent 0 42%, rgba(255, 230, 0, 0.1) 48%, transparent 55%),
    linear-gradient(160deg, transparent 0 52%, rgba(255, 45, 178, 0.08) 58%, transparent 64%);
  background-size: 220% 220%;
  mix-blend-mode: screen;
  opacity: 0.72;
  animation: cyberBeamSweep 9s linear infinite;
}

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

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

.site-header,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
}

.brand img {
  width: 118px;
  height: 42px;
  object-fit: contain;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.theme-switcher {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(54px, 1fr));
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.theme-switcher button {
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}

.theme-switcher button[aria-pressed="true"] {
  color: #070707;
  background: var(--accent);
  box-shadow: 0 0 20px color-mix(in srgb, var(--accent) 45%, transparent);
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 56px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
  align-items: stretch;
  min-height: clamp(520px, 78vh, 760px);
  padding: 32px 0;
}

.hero-copy,
.hero-visual,
.section-band,
.signal-panel {
  position: relative;
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 6vw, 64px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 10ch;
  margin-bottom: 20px;
  font-size: clamp(3.2rem, 9vw, 7.8rem);
  line-height: 0.9;
}

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

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.hero-text {
  max-width: 56ch;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: #070707;
  background: var(--accent);
  border-color: transparent;
}

.button.secondary {
  color: var(--accent-2);
  background: color-mix(in srgb, var(--accent-2) 10%, transparent);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
  overflow: hidden;
  background: var(--surface-strong);
}

.hero-visual img {
  width: min(78%, 560px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 34px color-mix(in srgb, var(--accent-2) 36%, transparent));
}

.section-band,
.signal-panel {
  margin-top: 22px;
  padding: clamp(24px, 5vw, 46px);
}

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

.section-heading h2 {
  max-width: 720px;
  margin-bottom: 0;
}

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

.feature-card {
  position: relative;
  isolation: isolate;
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.feature-card p,
.signal-panel p {
  color: var(--muted);
  line-height: 1.6;
}

.metric {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--accent-2);
  font-size: 1.8rem;
  font-weight: 900;
}

.signal-panel {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.8fr);
  gap: 24px;
  align-items: center;
}

.signal-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.signal-list div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.signal-list dt {
  color: var(--accent);
  font-weight: 900;
}

.signal-list dd {
  margin: 0;
  color: var(--muted);
}

.capability-band {
  overflow: hidden;
}

.capability-band .section-heading {
  display: block;
}

.capability-band .section-heading h2 {
  max-width: none;
}

.capability-carousel {
  display: grid;
  gap: 16px;
}

.carousel-viewport {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.carousel-track {
  display: flex;
  transition: transform 220ms ease;
  will-change: transform;
}

.capability-card {
  display: grid;
  grid-template-rows: auto 1fr;
  flex: 0 0 100%;
  min-width: 100%;
  overflow: hidden;
  background: var(--surface-strong);
}

.capability-copy {
  padding: clamp(22px, 4vw, 38px);
}

.capability-visual {
  display: grid;
  place-items: center;
  min-width: 0;
  margin: 0;
  background: var(--surface-strong);
}

.capability-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.capability-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.58;
}

.carousel-controls {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
}

.carousel-arrow,
.carousel-dots button {
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--surface);
  cursor: pointer;
}

.carousel-arrow {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.7rem;
  line-height: 1;
}

.carousel-dots {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.carousel-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 50%;
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible,
.carousel-dots button:hover,
.carousel-dots button:focus-visible,
.carousel-dots button[aria-current="true"] {
  color: #070707;
  background: var(--accent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 42%, transparent);
}

[data-theme="cyber"] .brand span,
[data-theme="cyber"] h1,
[data-theme="cyber"] h2 {
  color: #f6f0ff;
  text-shadow:
    0 0 8px rgba(181, 92, 255, 0.78),
    0 0 20px rgba(255, 45, 178, 0.5),
    0 0 38px rgba(0, 217, 255, 0.22);
  animation: cyberNeonText 3.6s ease-in-out infinite;
}

[data-theme="cyber"] h3,
[data-theme="cyber"] .eyebrow,
[data-theme="cyber"] .metric,
[data-theme="cyber"] .signal-list dt {
  text-shadow:
    0 0 8px color-mix(in srgb, currentColor 72%, transparent),
    0 0 20px color-mix(in srgb, currentColor 34%, transparent);
  animation: cyberNeonAccent 4.2s ease-in-out infinite;
}

[data-theme="cyber"] .hero-copy,
[data-theme="cyber"] .hero-visual,
[data-theme="cyber"] .section-band,
[data-theme="cyber"] .signal-panel,
[data-theme="cyber"] .feature-card,
[data-theme="cyber"] .carousel-viewport {
  border-color: rgba(255, 230, 0, 0.42);
  box-shadow:
    0 0 0 1px rgba(0, 217, 255, 0.1) inset,
    0 0 28px rgba(0, 217, 255, 0.22),
    0 0 72px rgba(255, 230, 0, 0.16),
    0 34px 95px rgba(255, 45, 178, 0.12);
  animation: cyberPanelGlow 5.8s ease-in-out infinite;
}

[data-theme="cyber"] .hero-copy > *,
[data-theme="cyber"] .hero-visual > *,
[data-theme="cyber"] .section-band > *,
[data-theme="cyber"] .signal-panel > *,
[data-theme="cyber"] .feature-card > *,
[data-theme="cyber"] .carousel-viewport > * {
  position: relative;
  z-index: 1;
}

[data-theme="cyber"] .hero-copy::before,
[data-theme="cyber"] .hero-visual::before,
[data-theme="cyber"] .section-band::before,
[data-theme="cyber"] .signal-panel::before,
[data-theme="cyber"] .feature-card::before,
[data-theme="cyber"] .carousel-viewport::before {
  position: absolute;
  inset: auto 10% -34px;
  z-index: 0;
  height: 74px;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, transparent, rgba(255, 230, 0, 0.6), rgba(0, 217, 255, 0.65), rgba(255, 45, 178, 0.42), transparent);
  filter: blur(22px);
  opacity: 0.82;
  transform: perspective(180px) rotateX(58deg);
  animation: cyberUnderlight 4.4s ease-in-out infinite;
}

[data-theme="cyber"] .hero-copy::after,
[data-theme="cyber"] .hero-visual::after,
[data-theme="cyber"] .section-band::after,
[data-theme="cyber"] .signal-panel::after,
[data-theme="cyber"] .carousel-viewport::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(0, 217, 255, 0.11) 48%, transparent 54%),
    linear-gradient(240deg, transparent 0 50%, rgba(255, 230, 0, 0.08) 55%, transparent 61%);
  background-size: 260% 260%;
  opacity: 0.7;
  mix-blend-mode: screen;
  animation: cyberPanelSweep 6.8s linear infinite;
}

[data-theme="cyber"] .button.primary,
[data-theme="cyber"] .theme-switcher button[aria-pressed="true"],
[data-theme="cyber"] .carousel-dots button[aria-current="true"] {
  box-shadow:
    0 0 16px rgba(255, 230, 0, 0.72),
    0 0 42px rgba(255, 230, 0, 0.32);
  animation: cyberButtonPulse 3.2s ease-in-out infinite;
}

[data-theme="cyber"] .button.secondary,
[data-theme="cyber"] .carousel-arrow {
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.18);
}

@keyframes cyberNeonText {
  0%,
  100% {
    text-shadow:
      0 0 7px rgba(181, 92, 255, 0.7),
      0 0 18px rgba(255, 45, 178, 0.42),
      0 0 34px rgba(0, 217, 255, 0.2);
  }

  45% {
    color: #fbf7ff;
    text-shadow:
      0 0 10px rgba(220, 170, 255, 0.86),
      0 0 30px rgba(181, 92, 255, 0.66),
      0 0 58px rgba(255, 45, 178, 0.44);
  }

  68% {
    text-shadow:
      0 0 8px rgba(255, 45, 178, 0.66),
      0 0 24px rgba(135, 88, 255, 0.55),
      0 0 46px rgba(0, 217, 255, 0.24);
  }
}

@keyframes cyberNeonAccent {
  0%,
  100% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.28) saturate(1.18);
  }
}

@keyframes cyberPanelGlow {
  0%,
  100% {
    border-color: rgba(255, 230, 0, 0.34);
    box-shadow:
      0 0 0 1px rgba(0, 217, 255, 0.08) inset,
      0 0 24px rgba(0, 217, 255, 0.18),
      0 0 66px rgba(255, 230, 0, 0.12),
      0 34px 90px rgba(255, 45, 178, 0.1);
  }

  50% {
    border-color: rgba(0, 217, 255, 0.56);
    box-shadow:
      0 0 0 1px rgba(255, 230, 0, 0.18) inset,
      0 0 36px rgba(0, 217, 255, 0.3),
      0 0 94px rgba(255, 230, 0, 0.22),
      0 42px 120px rgba(255, 45, 178, 0.18);
  }
}

@keyframes cyberUnderlight {
  0%,
  100% {
    opacity: 0.62;
    transform: perspective(180px) rotateX(58deg) scaleX(0.88);
  }

  50% {
    opacity: 1;
    transform: perspective(180px) rotateX(58deg) scaleX(1.08);
  }
}

@keyframes cyberPanelSweep {
  from {
    background-position: 0% 50%;
  }

  to {
    background-position: 220% 50%;
  }
}

@keyframes cyberBeamSweep {
  from {
    background-position: 0% 35%;
  }

  to {
    background-position: 220% 65%;
  }
}

@keyframes cyberGridPulse {
  0%,
  100% {
    opacity: 0.28;
  }

  50% {
    opacity: 0.48;
  }
}

@keyframes cyberButtonPulse {
  0%,
  100% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.18) saturate(1.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-theme="cyber"] *,
  [data-theme="cyber"] *::before,
  [data-theme="cyber"] *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0 36px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .nav-links {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .theme-switcher {
    width: 100%;
  }

  .hero,
  .signal-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 22px, 1180px);
  }

  .brand span {
    font-size: 0.96rem;
  }

  .hero-copy {
    padding: 26px 20px;
  }

  .hero-visual {
    min-height: 280px;
  }

  .section-heading {
    display: block;
  }

  .signal-list div {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
