@font-face {
  font-family: "Ruberoid";
  src: url("../fonts/Ruberoid-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Ruberoid";
  src: url("../fonts/Ruberoid-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Ruberoid";
  src: url("../fonts/Ruberoid-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Ruberoid";
  src: url("../fonts/Ruberoid-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #02040a;
  --panel: rgba(5, 13, 27, 0.58);
  --panel-solid: #07101f;
  --text: #f4f8ff;
  --muted: #9ca9bd;
  --blue: #2f80ed;
  --cyan: #6bd0ff;
  --violet: #9d7bff;
  --line: rgba(107, 208, 255, 0.22);
  --line-strong: rgba(107, 208, 255, 0.48);
  --radius: 32px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  /* auto: иначе при refresh с #якорем страница «едет» сверху вниз */
  scroll-behavior: auto;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 35%, rgba(47, 128, 237, 0.1), transparent 30rem),
    radial-gradient(circle at 85% 68%, rgba(157, 123, 255, 0.08), transparent 28rem),
    var(--bg);
  font-family: "Ruberoid", Arial, sans-serif;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.16;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(107, 208, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 208, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: absolute;
  top: 22px;
  left: 50%;
  z-index: 100;
  width: max-content;
  max-width: calc(100% - 40px);
  transform: translateX(-50%);
}

.nav-shell {
  display: flex;
  gap: 2rem;
  padding: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #615a4d4d;
  border-radius: 2.5rem;
  background: #0000001a;
}


@supports (mask-composite: exclude) or (-webkit-mask-composite: xor) {
  .nav-shell {
    position: relative;
    border-color: transparent;
  }

  .nav-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    pointer-events: none;
    background: linear-gradient(115deg, rgba(107, 208, 255, .12), rgba(107, 208, 255, .55) 28%, rgba(107, 208, 255, .12) 58%, rgba(107, 208, 255, .3));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
  }
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 9.5rem;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 1rem;
  margin-left: auto;
  align-items: center;
}

.nav-links a {
  padding: .6rem .7rem .4rem;
  color: var(--silver);
  border: 1px solid transparent;
  border-radius: .5rem;
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nav-links a:hover {
  color: var(--atom);
  border-color: rgba(107, 208, 255, 0.42);
  background: rgba(47, 128, 237, 0.15);
}

.nav-links .nav-cta {
  margin-left: 0;
  padding: 1.125rem 1.5rem .95rem;
  color: var(--dope);
  border-color: rgba(107, 208, 255, 0.42);
  border-radius: 1rem;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.nav-links .nav-cta:hover {
  color: #fff;
  border-color: rgba(107, 208, 255, 0.8);
  background: rgba(47, 128, 237, 0.2);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: white;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
}

.nav-toggle::before {
  transform: translateY(-6px);
}

.nav-toggle::after {
  transform: translateY(6px);
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: 130px 24px 80px;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
}

.hero-video,
.hero-video-poster,
.hero-shade,
.hero-circuits,
.side-pattern {
  position: absolute;
  inset: 0;
}

.hero-video,
.hero-video-poster {
  z-index: -7;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0) scale(1.04);
}

.hero-video {
  opacity: 0.72;
  transition: opacity 240ms ease;
}

.hero-video-poster {
  z-index: -8;
  opacity: 0.72;
}

.hero-shade {
  z-index: -6;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 48% at 50% 47%, rgba(9, 42, 94, 0.15), rgba(1, 4, 10, 0.58) 58%, #02040a 100%),
    linear-gradient(180deg, rgba(2, 4, 10, 0.22) 0%, rgba(2, 4, 10, 0.5) 58%, #02040a 86%, #02040a 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 26vh;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(2, 4, 10, 0.72) 52%, #02040a 100%);
}

.hero-shade::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(900px, 86vw);
  height: min(520px, 62vw);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(107, 208, 255, 0.16), rgba(47, 128, 237, 0.05) 40%, transparent 72%);
  animation: breathe 6s ease-in-out infinite;
}

.side-pattern {
  z-index: -4;
  pointer-events: none;
  top: var(--hero-logo-center, 52%);
  bottom: auto;
  width: min(36vw, 600px);
  height: auto;
  aspect-ratio: 438 / 1080;
  transform: translateY(-50%);
  opacity: 0.8;
  object-fit: cover;
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 74%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 10%, black 74%, transparent);
}

.side-pattern.left {
  right: auto;
  left: clamp(-190px, -12vw, -100px);
}

.side-pattern.right {
  right: clamp(-190px, -12vw, -100px);
  left: auto;
  aspect-ratio: 474 / 1080;
}

svg.side-pattern {
  display: block;
}

/* Ultrawide: только rem заморожен (см. html.is-page-capped). Body на всю ширину — без чёрных полей. */
html.is-page-capped .side-pattern {
  width: min(36vw, 600px);
}

html.is-page-capped .hero-content {
  width: min(1040px, 56vw);
}

html.is-page-capped .hero-logo {
  width: min(940px, 50vw);
}

.side-pattern.side-signal {
  z-index: -2;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
  pointer-events: none;
  animation: signal-enter 0.45s ease 0.65s both;
}

.electric-circuit .pattern-lines path {
  stroke-dasharray: 100 100;
  animation: trace-enter 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) var(--trace-delay) both;
}

.electric-circuit .pattern-lines .trace-fuse {
  animation: trace-enter 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) var(--trace-delay) both,
    fuse-track 18s linear var(--cycle-delay) infinite;
}

.electric-circuit .pattern-nodes .trace-fuse.trace-end {
  animation: signal-enter 0.35s ease calc(var(--trace-delay) + 0.75s) both,
    fuse-end 18s linear var(--cycle-delay) infinite;
}

.electric-circuit .pattern-nodes .trace-fuse.trace-start {
  animation: signal-enter 0.35s ease var(--trace-delay) both,
    fuse-start 18s linear var(--cycle-delay) infinite;
}

.electric-circuit .pattern-signal {
  /* Near-zero dash + round caps = круг на центре пути, без «хвоста» на углах */
  stroke-dasharray: 0.001 99.999;
  stroke-width: 3.25;
  stroke-linecap: round;
  filter: drop-shadow(0 0 1.5px #fff) drop-shadow(0 0 4px #8fd8ff);
  animation-name: fuse-head;
  animation-fill-mode: both;
}

.electric-circuit .pattern-signal.trace-scan { animation-name: scan-head; }
.electric-circuit .pattern-pulse { animation-name: fuse-arrival; animation-fill-mode: both; }
.electric-circuit .pattern-pulse.trace-scan { animation-name: scan-arrival; }

@keyframes fuse-track {
  0%, 10% { stroke-dashoffset: 0; opacity: 1; }
  30% { stroke-dashoffset: -100; opacity: 1; }
  30.1%, 44.9% { stroke-dashoffset: -100; opacity: 0; }
  45% { stroke-dashoffset: 100; opacity: 0; }
  45.1% { opacity: 1; }
  65%, 100% { stroke-dashoffset: 0; opacity: 1; }
}

/* Те же offset, что у fuse-track на erase; на draw — 0→-100 к кончику 100→0 */
@keyframes fuse-head {
  0%, 9.9% { stroke-dashoffset: 0; opacity: 0; }
  10% { stroke-dashoffset: 0; opacity: 1; }
  30% { stroke-dashoffset: -100; opacity: 1; }
  30.1%, 44.9% { stroke-dashoffset: -100; opacity: 0; }
  45% { stroke-dashoffset: 0; opacity: 1; }
  65% { stroke-dashoffset: -100; opacity: 1; }
  65.1%, 100% { stroke-dashoffset: -100; opacity: 0; }
}

@keyframes scan-head {
  0%, 9.9% { stroke-dashoffset: 0; opacity: 0; }
  10% { stroke-dashoffset: 0; opacity: 1; }
  30% { stroke-dashoffset: -100; opacity: 1; }
  30.1%, 59.9% { stroke-dashoffset: -100; opacity: 0; }
  60% { stroke-dashoffset: 0; opacity: 1; }
  80% { stroke-dashoffset: -100; opacity: 1; }
  80.1%, 100% { stroke-dashoffset: -100; opacity: 0; }
}

@keyframes fuse-start {
  0%, 10%, 46%, 100% { opacity: 1; }
  11%, 45% { opacity: 0; }
}

@keyframes fuse-end {
  0%, 30%, 66%, 100% { opacity: 1; }
  31%, 65% { opacity: 0; }
}

@keyframes fuse-arrival {
  0%, 29%, 34%, 64%, 69%, 100% { opacity: 0; transform: scale(0.3); }
  30%, 65% { opacity: 1; transform: scale(0.5); }
  33%, 68% { opacity: 0; transform: scale(1.6); }
}

@keyframes scan-arrival {
  0%, 29%, 34%, 79%, 84%, 100% { opacity: 0; transform: scale(0.3); }
  30%, 80% { opacity: 1; transform: scale(0.5); }
  33%, 83% { opacity: 0; transform: scale(1.6); }
}

.electric-circuit .pattern-nodes circle {
  animation: signal-enter 0.35s ease calc(var(--trace-delay) + 0.75s) both;
}

@keyframes trace-enter {
  from { stroke-dashoffset: 100; }
  to { stroke-dashoffset: 0; }
}

@keyframes signal-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

.pattern-signal {
  fill: none;
  stroke: #f7fcff;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-dasharray: 0.001 99.999;
  filter: drop-shadow(0 0 1.5px #fff) drop-shadow(0 0 4px #8fd8ff);
  animation: pattern-flow linear infinite;
}

.pattern-pulse {
  fill: #f7fcff;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 5px #8fd8ff);
  animation: pattern-pulse linear infinite;
}

/* Не ставим play-state:paused до signals-ready — иначе линии уже тикают,
   а точки стартуют позже и навсегда отстают на углах. */
.side-signal:not(.signals-ready) .pattern-signal,
.side-signal:not(.signals-ready) .pattern-pulse {
  opacity: 0 !important;
}

.hero.is-quiet .pattern-signal,
.hero.is-quiet .pattern-pulse,
.hero.is-quiet .side-signal,
.hero.is-quiet .pattern-lines path,
.hero.is-quiet .pattern-nodes circle,
.hero.is-quiet .hero-shade::after,
.hero.is-quiet .hero-logo,
.hero.is-quiet h1 strong,
.hero.is-quiet .scroll-cue i {
  animation-play-state: paused;
}

.hero.is-quiet > .side-pattern * {
  animation-play-state: paused !important;
}

.card-big:not(.is-circuit-visible) .electric-circuit * {
  animation-play-state: paused !important;
}

/* Во время скролла глушим тяжёлые бесконечные анимации — меньше композитинга. */
html.is-scrolling .electric-circuit *,
html.is-scrolling .pattern-signal,
html.is-scrolling .pattern-pulse,
html.is-scrolling .item-swarm-fly,
html.is-scrolling .item-swarm-hero,
html.is-scrolling .item-swarm-softit,
html.is-scrolling .item-swarm-spark,
html.is-scrolling .item-swarm-ambience,
html.is-scrolling .hero-logo,
html.is-scrolling .scroll-cue i {
  animation-play-state: paused !important;
}

@media (prefers-reduced-motion: reduce) {
  .electric-circuit * {
    animation: none !important;
  }
  .electric-circuit .pattern-lines path,
  .electric-circuit .pattern-nodes circle,
  .hero > .side-signal {
    animation: none;
  }

  .pattern-signal,
  .pattern-pulse,
  .electric-circuit .pattern-signal,
  .electric-circuit .pattern-pulse {
    animation: none;
    opacity: 0;
  }
}

.hero-circuits {
  z-index: -3;
  width: 100%;
  height: 100%;
  opacity: 0.84;
  pointer-events: none;
}

.circuit-base {
  fill: none;
  stroke: rgba(107, 208, 255, 0.15);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.circuit-signal {
  fill: none;
  stroke: url("#signalGradient");
  stroke-width: 2.2;
  stroke-linecap: round;
  path-length: 100;
  stroke-dasharray: 1 99;
  vector-effect: non-scaling-stroke;
  filter: url("#electricGlow");
  animation: signal-flow 3.8s linear infinite;
}

.circuit-signal.delay-1 {
  animation-delay: -1.2s;
}

.circuit-signal.delay-2 {
  animation-delay: -2.4s;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  width: min(1040px, 92vw);
  margin-top: 10px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-kicker {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.chip {
  padding: 8px 12px;
  color: #c9e9ff;
  border: 1px solid rgba(107, 208, 255, 0.24);
  border-radius: 999px;
  background: rgba(5, 14, 29, 0.45);
  box-shadow: inset 0 0 20px rgba(47, 128, 237, 0.08);
  backdrop-filter: blur(12px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.chip.live::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse-dot 1.8s ease-in-out infinite;
}

.hero-logo {
  width: min(940px, 86vw);
  height: auto;
  filter:
    drop-shadow(0 12px 32px rgba(0, 0, 0, 0.75))
    drop-shadow(0 0 20px rgba(47, 128, 237, 0.28));
  animation: logo-float 6s ease-in-out infinite;
}

.hero-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-logo .hero-logo-mobile {
  display: none;
}

.hero h1 {
  margin: 28px 0 0;
  color: #c8c8d0;
  font-size: clamp(29px, 2.45vw, 40px);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-transform: uppercase;
}

.hero h1 span,
.hero h1 strong {
  display: block;
  background: none;
  font-size: 1em;
  font-weight: 600;
  -webkit-text-fill-color: currentColor;
}

.hero h1 span {
  color: #c8c8d0;
}

.hero h1 strong,
.server-command {
  color: #6bd0ff;
  background-image: linear-gradient(
    105deg,
    #6bd0ff 0%,
    #78d4ff 37%,
    #b7e8ff 44%,
    #f4fbff 48%,
    #ffffff 50%,
    #d2f1ff 53%,
    #4aa8ee 58%,
    #78d4ff 65%,
    #6bd0ff 100%
  );
  background-size: 270% 100%;
  background-position: 140% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: wipe-date-chrome 5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero h1 strong,
  .server-command {
    animation: none;
    background: none;
    -webkit-text-fill-color: currentColor;
  }
}

.hero-lead {
  max-width: 620px;
  margin: 18px auto 0;
  color: #aeb9ca;
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(107, 208, 255, 0.25);
  border-radius: 15px;
  color: #d9e5f5;
  background: rgba(7, 15, 29, 0.52);
  box-shadow: inset 0 0 24px rgba(47, 128, 237, 0.06);
  backdrop-filter: blur(14px);
  font-size: 13px;
  font-weight: 600;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(107, 208, 255, 0.65);
  box-shadow: 0 12px 36px rgba(47, 128, 237, 0.18);
}

.button.primary {
  color: #03101f;
  border-color: transparent;
  background: linear-gradient(120deg, #2f80ed, #77d4ff);
  box-shadow: 0 12px 42px rgba(47, 128, 237, 0.28);
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  z-index: 4;
  display: grid;
  gap: 8px;
  transform: translateX(-50%);
  color: rgba(207, 226, 247, 0.62);
  place-items: center;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 28px;
  background: linear-gradient(var(--cyan), transparent);
  animation: scroll-line 1.8s ease-in-out infinite;
}

.glass {
  border: 1px solid rgba(107, 208, 255, 0.16);
  background:
    linear-gradient(145deg, rgba(12, 27, 49, 0.66), rgba(3, 8, 17, 0.46)),
    rgba(3, 8, 17, 0.38);
  box-shadow:
    0 26px 80px rgba(0, 0, 0, 0.28),
    inset 0 1px rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(22px) saturate(130%);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
}

.rail-actions {
  display: flex;
  gap: 8px;
}

.rail-button {
  display: grid;
  width: 46px;
  height: 46px;
  color: #d5ecff;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 16, 30, 0.72);
  cursor: pointer;
  place-items: center;
  transition: border-color 180ms ease, background 180ms ease;
}

.rail-button:hover {
  border-color: var(--line-strong);
  background: rgba(47, 128, 237, 0.18);
}

.tech-card {
  position: relative;
  min-height: 390px;
  padding: 26px;
  border-radius: 30px;
  scroll-snap-align: start;
  overflow: hidden;
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.tech-card::before,
.feature-card::before,
.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  pointer-events: none;
  background: url("../images/pattern-left.svg") 120% 20% / 82% auto no-repeat;
  mix-blend-mode: screen;
  mask-image: linear-gradient(90deg, transparent 28%, black);
}

.tech-card::after,
.feature-card::after,
.bento-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 35%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 12px var(--cyan);
  animation: scan-border 5s linear infinite;
}

.tech-card:hover {
  z-index: 2;
  transform: translateY(-8px);
  border-color: rgba(107, 208, 255, 0.4);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.42), 0 0 32px rgba(47, 128, 237, 0.12);
}

.tech-card .card-index {
  position: relative;
  z-index: 2;
  color: #78cfff;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tech-image-wrap {
  position: relative;
  z-index: 2;
  display: grid;
  height: 190px;
  margin: 5px 0 2px;
  place-items: center;
}

.tech-image-wrap::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 128, 237, 0.28), transparent 68%);
  filter: blur(10px);
}

.tech-image {
  position: relative;
  width: 160px;
  height: 160px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.58));
  transition: transform 300ms ease;
}

.tech-card:hover .tech-image {
  transform: scale(1.08) translateY(-3px);
}

.tech-card h3 {
  position: relative;
  z-index: 2;
  margin: 10px 0 8px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.1;
}

.tech-card h3 span {
  color: var(--cyan);
}

.tech-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.feature-section::before {
  top: 18%;
  right: -180px;
}

.feature-card {
  position: relative;
  display: grid;
  min-height: 500px;
  padding: 52px;
  border-radius: 42px;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  overflow: hidden;
}

.feature-copy {
  position: relative;
  z-index: 2;
  max-width: 510px;
}

.feature-copy h3 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4vw, 60px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}

.feature-copy h3 span {
  color: var(--cyan);
}

.feature-copy p {
  margin: 0;
  max-width: 470px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.feature-points {
  display: flex;
  gap: 9px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.feature-points span {
  padding: 8px 11px;
  color: #bbd5ee;
  border: 1px solid rgba(107, 208, 255, 0.17);
  border-radius: 10px;
  background: rgba(107, 208, 255, 0.05);
  font-size: 10px;
  text-transform: uppercase;
}

.feature-visual {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 360px;
  place-items: center;
}

.feature-visual::before {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(107, 208, 255, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 46px rgba(107, 208, 255, 0.025),
    inset 0 0 55px rgba(47, 128, 237, 0.1);
  animation: core-ring 15s linear infinite reverse;
}

.feature-visual img {
  position: relative;
  width: min(360px, 90%);
  max-height: 360px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.58)) drop-shadow(0 0 24px rgba(157, 123, 255, 0.18));
  animation: core-float 5s ease-in-out infinite;
}

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

.mini-card {
  position: relative;
  display: grid;
  min-height: 190px;
  padding: 24px;
  border-radius: 26px;
  grid-template-columns: 1fr 110px;
  align-items: center;
  overflow: hidden;
}

.mini-card h4 {
  position: relative;
  z-index: 2;
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
}

.mini-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.mini-card img {
  position: relative;
  z-index: 2;
  width: 100px;
  height: 100px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 14px 16px rgba(0, 0, 0, 0.62));
}

.energy-section::before {
  bottom: 4%;
  left: -140px;
  background: radial-gradient(circle, rgba(157, 123, 255, 0.15), transparent 68%);
}

.bento-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.35fr 0.65fr;
}

.bento-column {
  display: grid;
  gap: 18px;
}

.bento-card {
  position: relative;
  min-height: 250px;
  padding: 34px;
  border-radius: 34px;
  overflow: hidden;
}

.bento-card.large {
  display: grid;
  min-height: 540px;
  grid-template-rows: auto 1fr;
}

.bento-card h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 10px;
  max-width: 520px;
  font-size: clamp(26px, 3vw, 43px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.04;
}

.bento-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: 430px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.bento-visual {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 300px;
  place-items: center;
}

.bento-visual img {
  width: min(520px, 90%);
  max-height: 360px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.62)) drop-shadow(0 0 22px rgba(107, 208, 255, 0.16));
}

.bento-small {
  display: grid;
  min-height: 290px;
  grid-template-columns: 1fr 150px;
  align-items: center;
}

.bento-small img {
  position: relative;
  z-index: 2;
  width: 150px;
  max-height: 180px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.62));
}

.tier-row {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 13px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.tier {
  display: grid;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(107, 208, 255, 0.16);
  border-radius: 12px;
  background: rgba(107, 208, 255, 0.05);
  place-items: center;
}

.tier img {
  width: 28px;
  height: 28px;
  image-rendering: pixelated;
}

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

.change-card {
  min-height: 220px;
  padding: 28px;
  border-radius: 28px;
}

.change-number {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 30px;
  color: #9edaff;
  border: 1px solid rgba(107, 208, 255, 0.22);
  border-radius: 13px;
  background: rgba(47, 128, 237, 0.09);
  place-items: center;
  font-size: 11px;
  font-weight: 600;
}

.change-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
}

.change-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.cta-section {
  padding-top: 70px;
  padding-bottom: 80px;
}

.cta-panel {
  position: relative;
  display: grid;
  min-height: 330px;
  padding: 54px;
  border-radius: 42px;
  place-items: center;
  text-align: center;
  overflow: hidden;
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: -50%;
  background:
    conic-gradient(from 180deg at 50% 50%, transparent, rgba(47, 128, 237, 0.13), transparent 22%, rgba(157, 123, 255, 0.1), transparent 48%);
  animation: rotate-slow 18s linear infinite;
}

.cta-panel::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: radial-gradient(circle at center, rgba(24, 62, 122, 0.34), rgba(3, 8, 17, 0.94) 68%);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content img {
  width: min(520px, 80vw);
  margin: 0 auto 20px;
  filter: drop-shadow(0 0 20px rgba(47, 128, 237, 0.22));
}

.cta-content h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.cta-content p {
  margin: 12px auto 24px;
  max-width: 510px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.footer {
  display: flex;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 24px 0 40px;
  align-items: center;
  justify-content: space-between;
  color: #6e7b8d;
  border-top: 1px solid rgba(107, 208, 255, 0.1);
  font-size: 11px;
}

.footer a {
  color: #9cb1c8;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pattern-flow {
  90%, 100% { stroke-dashoffset: -100; }
}

@keyframes pattern-pulse {
  0%, 88% { opacity: 0; transform: scale(0.2); }
  90% { opacity: 1; transform: scale(0.25); }
  95% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.35); }
}

@keyframes signal-flow {
  to {
    stroke-dashoffset: -100;
  }
}

@keyframes wipe-date-chrome {
  0%, 10% { background-position: 100% 50%; }
  40%, 100% { background-position: 0% 50%; }
}

@keyframes logo-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes core-float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-12px) scale(1.015);
  }
}

@keyframes node-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes breathe {
  0%,
  100% {
    opacity: 0.65;
    transform: translate(-50%, -50%) scale(0.95);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

@keyframes scroll-line {
  0% {
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
  }
  45% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: top;
  }
  55% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    opacity: 0;
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

@keyframes core-ring {
  to {
    transform: rotate(360deg);
  }
}

@keyframes scan-border {
  to {
    left: 110%;
  }
}

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

html.is-background *,
html.is-background *::before,
html.is-background *::after {
  animation-play-state: paused !important;
}
