:root {
  --bg-0: #05060d;
  --bg-1: #0a1023;
  --bg-2: #150a2f;
  --surface: rgba(16, 22, 43, 0.74);
  --surface-strong: rgba(12, 17, 34, 0.9);
  --line: rgba(112, 146, 255, 0.25);
  --text: #e8edff;
  --muted: #9fabcf;
  --blue: #2f88ff;
  --cyan: #44ddff;
  --violet: #8a5dff;
  --radius: 18px;
  --max: 1240px;
  --shadow: 0 18px 45px rgba(4, 8, 22, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Rajdhani", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 8% -5%, #113053 0%, transparent 42%),
    radial-gradient(circle at 93% 8%, #2a0e45 0%, transparent 34%), linear-gradient(160deg, var(--bg-0), var(--bg-1) 56%, var(--bg-2));
  overflow-x: hidden;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image: linear-gradient(rgba(90, 119, 238, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 119, 238, 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at 52% 24%, black 24%, transparent 84%);
}

.bg-radial {
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -2;
  filter: blur(68px);
  opacity: 0.25;
}

.bg-radial-a {
  background: var(--cyan);
  top: -170px;
  left: -120px;
  animation: driftA 12s ease-in-out infinite;
}

.bg-radial-b {
  background: var(--violet);
  right: -140px;
  bottom: -200px;
  animation: driftB 15s ease-in-out infinite;
}

@keyframes driftA {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(56px, 32px);
  }
}

@keyframes driftB {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-58px, -24px);
  }
}

.container {
  width: min(100% - 2.4rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: 92px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(90deg, rgba(6, 16, 33, 0.9), rgba(5, 10, 32, 0.86) 52%, rgba(15, 8, 39, 0.9));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(112, 145, 255, 0.2);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(94, 183, 255, 0.8), rgba(155, 109, 255, 0.75), transparent);
}

.nav-wrap {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: auto;
  height: 40px;
  max-width: 32vw;
  display: block;
  filter: drop-shadow(0 0 20px rgba(90, 166, 255, 0.48));
}

.main-nav {
  display: flex;
  gap: 0.45rem;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.02rem;
  padding: 0.42rem 0.66rem;
  border-radius: 10px;
  transition: color 0.22s ease, background-color 0.22s ease;
}

.main-nav a:hover {
  color: #f0f4ff;
  background: rgba(88, 112, 197, 0.22);
}

.main-nav a.is-active {
  color: #f0f4ff;
  background: rgba(88, 112, 197, 0.28);
  border: 1px solid rgba(117, 176, 255, 0.35);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  line-height: 1.15;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  color: var(--cyan);
  font-weight: 700;
}

.hero {
  padding-top: 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 1rem;
  align-items: stretch;
}

.hero-logo {
  width: min(640px, 100%);
  height: auto;
  display: block;
  margin-top: 0.7rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 34px rgba(79, 146, 255, 0.5));
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

.slogan {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.66rem);
  font-weight: 700;
  color: #dce5ff;
}

.hero-text,
.section-text,
.phase-card p,
.era-card p,
.feature-card p,
.final-cta p,
.loop-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 1.08rem;
}

.hero-text {
  margin-top: 0.86rem;
  max-width: 62ch;
}

.hero-metrics {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.hero-metrics article {
  border: 1px solid rgba(110, 138, 242, 0.26);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(17, 25, 48, 0.75), rgba(13, 19, 36, 0.7));
  padding: 0.8rem;
}

.hero-metrics span {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
}

.hero-metrics strong {
  display: block;
  margin-top: 0.25rem;
  color: #f0f4ff;
  font-family: "Orbitron", sans-serif;
  font-size: 0.96rem;
}

.hero-actions {
  margin-top: 1.35rem;
  display: flex;
  gap: 0.82rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 700;
  min-height: 44px;
  padding: 0.68rem 1.14rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  color: #041022;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 11px 30px rgba(66, 150, 255, 0.38);
}

.btn-secondary {
  color: var(--text);
  border-color: rgba(129, 164, 255, 0.4);
  background: rgba(28, 40, 80, 0.36);
}

.btn-ghost {
  color: var(--text);
  border-color: rgba(111, 166, 255, 0.56);
  background: rgba(19, 36, 75, 0.42);
  box-shadow: inset 0 0 0 1px rgba(141, 115, 255, 0.16);
}

.hero-years {
  margin-top: 1.1rem;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem;
}

.year-line {
  position: absolute;
  left: 4%;
  right: 4%;
  top: 24px;
  height: 2px;
  background: linear-gradient(90deg, rgba(68, 221, 255, 0.6), rgba(138, 93, 255, 0.65));
  opacity: 0.7;
}

.year-node {
  position: relative;
  z-index: 1;
  border-radius: 10px;
  border: 1px solid rgba(109, 133, 218, 0.28);
  background: rgba(12, 20, 39, 0.75);
  padding: 0.48rem;
  text-align: center;
}

.year-node span {
  display: block;
  font-family: "Orbitron", sans-serif;
  font-size: 0.9rem;
  color: #d5defc;
}

.year-node p {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.year-node.done {
  border-color: rgba(87, 194, 255, 0.55);
}

.year-node.active {
  border-color: rgba(150, 96, 255, 0.62);
  box-shadow: 0 0 18px rgba(137, 94, 255, 0.28);
}

.hero-product {
  border: 1px solid rgba(108, 145, 255, 0.33);
  border-radius: var(--radius);
  padding: 1.06rem;
  background: linear-gradient(170deg, rgba(11, 20, 43, 0.9), rgba(14, 14, 35, 0.78));
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-product::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 5% 10%, rgba(68, 221, 255, 0.16), transparent 34%),
    radial-gradient(circle at 90% 10%, rgba(138, 93, 255, 0.16), transparent 34%);
}

.panel-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.panel-head p {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: 0.98rem;
}

.panel-head span {
  color: var(--muted);
  font-size: 0.84rem;
}

.panel-stats {
  margin-top: 0.9rem;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.56rem;
}

.panel-stats article {
  border-radius: 11px;
  border: 1px solid rgba(123, 145, 227, 0.3);
  background: rgba(17, 24, 45, 0.8);
  padding: 0.7rem;
}

.panel-stats span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.panel-stats strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.02rem;
  font-family: "Orbitron", sans-serif;
}

.panel-era {
  margin-top: 0.8rem;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(108, 132, 220, 0.26);
  border-radius: 12px;
  background: rgba(11, 17, 35, 0.78);
  padding: 0.72rem;
}

.panel-era-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.panel-era-head p,
.panel-era-head strong {
  margin: 0;
  font-size: 0.9rem;
}

.status-bar {
  height: 8px;
  width: 100%;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(93, 109, 182, 0.3);
  margin-top: 0.5rem;
}

.status-bar.big {
  height: 10px;
}

.status-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  box-shadow: 0 0 14px rgba(72, 137, 255, 0.6);
  transition: width 0.55s ease;
}

.panel-era ol {
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 0.38rem;
  flex-wrap: wrap;
}

.panel-era li {
  padding: 0.32rem 0.46rem;
  font-size: 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(110, 140, 232, 0.26);
  color: var(--muted);
}

.panel-era li.done {
  color: #d4efff;
  border-color: rgba(77, 199, 255, 0.5);
  background: rgba(61, 170, 242, 0.16);
}

.panel-era li.active {
  color: #efe6ff;
  border-color: rgba(153, 103, 255, 0.5);
  background: rgba(135, 90, 250, 0.16);
}

.panel-machines {
  position: relative;
  z-index: 1;
  margin-top: 0.74rem;
  display: grid;
  gap: 0.56rem;
}

.panel-machines article {
  border-radius: 11px;
  border: 1px solid rgba(114, 137, 223, 0.3);
  background: rgba(13, 22, 44, 0.76);
  padding: 0.66rem;
}

.panel-machines p {
  margin: 0;
  color: #eaf0ff;
  font-weight: 700;
}

.panel-machines span {
  color: var(--muted);
  font-size: 0.85rem;
}

.panel-upgrade {
  margin-top: 0.8rem;
  width: 100%;
  min-height: 42px;
  border-radius: 11px;
  border: 1px solid rgba(92, 180, 255, 0.5);
  background: linear-gradient(130deg, rgba(33, 138, 241, 0.2), rgba(140, 81, 255, 0.24));
  color: #f1f6ff;
  font-family: inherit;
  font-weight: 700;
}

.section-head {
  max-width: 860px;
  display: grid;
  gap: 0.46rem;
}

h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.4rem);
}

.section-text {
  margin-top: 0.84rem;
  margin-bottom: 1.35rem;
  max-width: 72ch;
}

.preview {
  padding-top: 68px;
}

.preview-dashboard {
  display: grid;
  gap: 0.84rem;
}

.dashboard-main {
  border: 1px solid rgba(120, 155, 255, 0.35);
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(12, 20, 45, 0.92), rgba(10, 15, 33, 0.88));
  padding: 1rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.dashboard-main::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 8% 10%, rgba(68, 221, 255, 0.15), transparent 33%),
    radial-gradient(circle at 92% 12%, rgba(138, 93, 255, 0.16), transparent 34%);
}

.dashboard-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.dashboard-label {
  margin: 0;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

.dashboard-head h3 {
  margin-top: 0.26rem;
  font-size: 1.1rem;
}

.dashboard-build {
  border: 1px solid rgba(125, 173, 255, 0.35);
  border-radius: 999px;
  padding: 0.2rem 0.56rem;
  color: #d6e9ff;
  background: rgba(57, 138, 231, 0.14);
  font-size: 0.78rem;
}

.dashboard-metrics {
  position: relative;
  z-index: 1;
  margin-top: 0.86rem;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.56rem;
}

.dashboard-metrics article {
  border: 1px solid rgba(111, 138, 227, 0.3);
  border-radius: 11px;
  background: rgba(14, 23, 46, 0.84);
  padding: 0.66rem;
}

.dashboard-metrics span {
  display: block;
  color: var(--muted);
  font-size: 0.79rem;
}

.dashboard-metrics strong {
  display: block;
  margin-top: 0.18rem;
  font-family: "Orbitron", sans-serif;
  font-size: 0.92rem;
}

.dashboard-era {
  position: relative;
  z-index: 1;
  margin-top: 0.74rem;
  border: 1px solid rgba(111, 138, 227, 0.3);
  border-radius: 12px;
  background: rgba(12, 19, 38, 0.8);
  padding: 0.72rem;
}

.dashboard-era-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
}

.dashboard-era-head p,
.dashboard-era-head strong {
  margin: 0;
  font-size: 0.9rem;
}

.dashboard-era ol {
  margin: 0.62rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 0.36rem;
  flex-wrap: wrap;
}

.dashboard-era li {
  padding: 0.28rem 0.42rem;
  font-size: 0.76rem;
  border-radius: 999px;
  border: 1px solid rgba(111, 141, 233, 0.3);
  color: var(--muted);
}

.dashboard-era li.done {
  color: #d8f4ff;
  border-color: rgba(81, 196, 255, 0.55);
  background: rgba(63, 169, 245, 0.16);
}

.dashboard-era li.active {
  color: #efe7ff;
  border-color: rgba(156, 105, 255, 0.55);
  background: rgba(136, 90, 250, 0.16);
}

.dashboard-bottom {
  position: relative;
  z-index: 1;
  margin-top: 0.74rem;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 0.74rem;
}

.dashboard-chart {
  border: 1px solid rgba(111, 138, 227, 0.3);
  border-radius: 12px;
  background: rgba(12, 19, 38, 0.8);
  padding: 0.72rem;
}

.dashboard-chart p {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: 0.9rem;
}

.chart-line {
  margin-top: 0.6rem;
  height: 126px;
  border-radius: 11px;
  border: 1px solid rgba(109, 132, 208, 0.3);
  background: linear-gradient(180deg, rgba(62, 138, 255, 0.14), rgba(53, 143, 255, 0.02)),
    repeating-linear-gradient(90deg, rgba(116, 142, 234, 0.12) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(0deg, rgba(116, 142, 234, 0.12) 0 1px, transparent 1px 18px);
  position: relative;
  overflow: hidden;
}

.chart-line::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 26%;
  height: 2px;
  background: linear-gradient(90deg, rgba(68, 221, 255, 0.2), rgba(68, 221, 255, 0.95), rgba(139, 97, 255, 0.92));
  box-shadow: 0 0 16px rgba(82, 170, 255, 0.65);
  transform-origin: left;
  animation: pulseLine 3.6s ease-in-out infinite;
}

@keyframes pulseLine {
  0%,
  100% {
    transform: scaleX(0.72);
  }
  50% {
    transform: scaleX(1);
  }
}

.dashboard-chart ul {
  margin: 0.66rem 0 0;
  padding-left: 1rem;
  color: var(--muted);
}

.dashboard-chart li + li {
  margin-top: 0.3rem;
}

.dashboard-actions {
  display: grid;
  gap: 0.5rem;
}

.dashboard-actions button {
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(112, 176, 255, 0.48);
  background: linear-gradient(135deg, rgba(49, 133, 239, 0.21), rgba(126, 81, 255, 0.22));
  color: #edf5ff;
  font-family: inherit;
  font-weight: 700;
}

.machine-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.74rem;
}

.machine-card,
.preview-card {
  border: 1px solid rgba(118, 145, 240, 0.28);
  border-radius: 14px;
  background: linear-gradient(170deg, rgba(17, 24, 47, 0.84), rgba(11, 18, 35, 0.72));
  padding: 0.92rem;
  box-shadow: var(--shadow);
}

.machine-top {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: center;
}

.machine-top p {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: 0.94rem;
}

.machine-top span {
  border: 1px solid rgba(121, 185, 255, 0.45);
  border-radius: 999px;
  padding: 0.16rem 0.44rem;
  font-size: 0.75rem;
  color: #d5ecff;
  background: rgba(58, 147, 236, 0.16);
}

.machine-card ul {
  list-style: none;
  margin: 0.64rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.36rem;
}

.machine-card li {
  display: flex;
  justify-content: space-between;
  gap: 0.46rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.machine-card li strong {
  color: #deebff;
  font-family: "Orbitron", sans-serif;
  font-size: 0.8rem;
}

.machine-card button {
  margin-top: 0.72rem;
  width: 100%;
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(112, 176, 255, 0.48);
  background: linear-gradient(135deg, rgba(49, 133, 239, 0.21), rgba(126, 81, 255, 0.22));
  color: #edf5ff;
  font-family: inherit;
  font-weight: 700;
}

.preview-side {
  grid-column: span 1;
}

.preview-title {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: 0.96rem;
}

.upgrade-item {
  margin-top: 0.64rem;
}

.upgrade-item span {
  display: block;
  color: #e7edff;
  font-size: 0.92rem;
}

.mini-bar {
  margin-top: 0.34rem;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(92, 110, 187, 0.3);
  overflow: hidden;
}

.mini-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
}

.loop {
  padding-top: 70px;
}

.loop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.72rem;
}

.loop-step {
  border: 1px solid rgba(114, 143, 243, 0.25);
  border-radius: 14px;
  padding: 0.96rem;
  background: linear-gradient(175deg, rgba(16, 24, 47, 0.86), rgba(11, 17, 34, 0.74));
  position: relative;
}

.loop-step span {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-family: "Orbitron", sans-serif;
  border: 1px solid rgba(108, 196, 255, 0.52);
  background: linear-gradient(140deg, rgba(68, 221, 255, 0.25), rgba(139, 97, 255, 0.28));
}

.loop-step h3 {
  margin-top: 0.6rem;
  margin-bottom: 0.4rem;
  font-size: 1.02rem;
}

.phase-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.74rem;
}

.phase-card {
  border: 1px solid rgba(114, 143, 243, 0.25);
  border-radius: 14px;
  padding: 1rem 0.9rem;
  background: linear-gradient(175deg, rgba(16, 24, 47, 0.86), rgba(11, 17, 34, 0.74));
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.phase-card:hover,
.era-card:hover,
.feature-card:hover,
.loop-step:hover {
  transform: translateY(-4px);
  border-color: rgba(108, 202, 255, 0.5);
  box-shadow: 0 14px 32px rgba(11, 18, 40, 0.5);
}

.phase-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(140deg, rgba(68, 221, 255, 0.25), rgba(139, 97, 255, 0.28));
  border: 1px solid rgba(107, 195, 255, 0.52);
  font-family: "Orbitron", sans-serif;
  font-size: 0.72rem;
  color: #ecf7ff;
  padding: 0 0.6rem;
}

.phase-card h3,
.era-card h3,
.feature-card h3 {
  margin-top: 0.66rem;
  margin-bottom: 0.44rem;
  font-size: 1.04rem;
}

.phase-card small {
  display: block;
  margin-top: 0.52rem;
  color: #9dc0ff;
  font-size: 0.84rem;
}

.era-progress-wrap {
  border: 1px solid rgba(119, 150, 244, 0.28);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(15, 23, 44, 0.84), rgba(10, 17, 32, 0.74));
  padding: 0.86rem;
}

.era-progress-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.era-progress-head p {
  margin: 0;
  color: var(--muted);
}

.era-progress-head strong {
  font-family: "Orbitron", sans-serif;
  font-size: 0.9rem;
}

.era-years {
  margin-top: 0.56rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
}

.era-years span {
  text-align: center;
  font-family: "Orbitron", sans-serif;
  font-size: 0.8rem;
  color: #d6dfff;
}

.era-timeline {
  margin-top: 0.88rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
}

.era-card {
  border-radius: 14px;
  border: 1px solid rgba(112, 140, 233, 0.27);
  background: var(--surface);
  padding: 0.92rem;
  min-height: 188px;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.era-tag {
  display: inline-block;
  border-radius: 999px;
  font-size: 0.76rem;
  padding: 0.26rem 0.54rem;
  margin-bottom: 0.5rem;
  border: 1px solid rgba(120, 147, 239, 0.33);
  color: #cbe4ff;
}

.era-retro {
  box-shadow: inset 0 0 0 1px rgba(81, 145, 255, 0.14);
}

.era-gamer {
  box-shadow: inset 0 0 0 1px rgba(154, 91, 255, 0.16);
}

.era-rigs {
  box-shadow: inset 0 0 0 1px rgba(86, 238, 255, 0.14);
}

.era-mobile {
  box-shadow: inset 0 0 0 1px rgba(89, 138, 255, 0.17);
}

.era-future {
  box-shadow: inset 0 0 0 1px rgba(177, 96, 255, 0.18);
}

.feature-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.74rem;
}

.feature-card {
  border-radius: 14px;
  border: 1px solid rgba(115, 145, 241, 0.27);
  background: linear-gradient(165deg, rgba(20, 28, 52, 0.86), rgba(11, 18, 35, 0.74));
  padding: 0.94rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.feature-chip {
  display: inline-flex;
  padding: 0.2rem 0.46rem;
  border-radius: 999px;
  border: 1px solid rgba(112, 196, 255, 0.5);
  background: rgba(63, 158, 236, 0.16);
  color: #d9f2ff;
  font-size: 0.72rem;
  font-family: "Orbitron", sans-serif;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(68, 221, 255, 0.8), rgba(139, 97, 255, 0.8));
  opacity: 0.8;
}

.final-cta {
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 10% 12%, rgba(68, 221, 255, 0.16), transparent 36%),
    radial-gradient(circle at 90% 10%, rgba(139, 97, 255, 0.16), transparent 34%);
}

.final-cta-wrap {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(121, 151, 247, 0.28);
  border-radius: 22px;
  text-align: center;
  padding: 2.4rem 1.2rem;
  background: linear-gradient(165deg, rgba(14, 20, 43, 0.88), rgba(10, 15, 30, 0.75));
  box-shadow: var(--shadow);
}

.final-cta-wrap p {
  max-width: 72ch;
  margin-inline: auto;
  margin-top: 0.84rem;
}

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

.site-footer {
  border-top: 1px solid rgba(121, 149, 242, 0.18);
  background: rgba(5, 9, 21, 0.74);
}

.footer-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.62s ease, transform 0.62s ease;
}

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

@media (max-width: 1180px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .loop-grid,
  .phase-grid,
  .era-timeline,
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .section {
    padding: 76px 0;
  }

  .hero {
    padding-top: 58px;
  }

  .brand-logo {
    height: 36px;
  }

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

  .year-line {
    display: none;
  }

  .loop-grid,
  .phase-grid,
  .era-timeline,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-metrics,
  .panel-stats,
  .dashboard-metrics {
    grid-template-columns: 1fr;
  }

  .dashboard-bottom {
    grid-template-columns: 1fr;
  }

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

  .footer-wrap {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 1rem 0;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 1.4rem, var(--max));
  }

  .brand-logo {
    height: 32px;
  }

  .loop-grid,
  .phase-grid,
  .era-timeline,
  .feature-grid,
  .machine-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }
}
