:root {
  color-scheme: dark;
  --bg: #060a12;
  --card: #121925;
  --line: #253243;
  --text: #e8edf5;
  --muted: #9fb0c2;
  --brand: #6dd3ff;
  --brand-2: #9b7dff;
  --brand-3: #43ffd2;
  --hero-glow: rgba(109, 211, 255, 0.32);
}

* { box-sizing: border-box; }

.tone-cyan { --tone-rgb: 109, 211, 255; }
.tone-violet { --tone-rgb: 155, 125, 255; }
.tone-mint { --tone-rgb: 67, 255, 210; }
.tone-amber { --tone-rgb: 255, 188, 92; }

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background:
    radial-gradient(circle at 10% -20%, rgba(90, 119, 255, 0.28) 0%, rgba(0, 0, 0, 0) 42%),
    radial-gradient(circle at 95% 0%, rgba(61, 255, 221, 0.18) 0%, rgba(0, 0, 0, 0) 36%),
    radial-gradient(circle at top, #132036 0%, var(--bg) 58%);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

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

main { position: relative; z-index: 2; }

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px) saturate(150%);
  background: rgba(9, 14, 24, 0.7);
  border-bottom: 1px solid var(--line);
  z-index: 10;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.topbar.is-scrolled {
  background: rgba(8, 14, 24, 0.86);
  border-color: rgba(139, 220, 255, 0.32);
  box-shadow: 0 8px 28px rgba(5, 10, 20, 0.48);
}

.topbar-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-weight: 800;
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}

.brand span { color: var(--brand); }

.brand-logo {
  height: 34px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 12px rgba(112, 213, 255, 0.32));
}

.brand-logo-footer {
  height: 28px;
  opacity: .95;
}

.nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
}

.nav a {
  position: relative;
  transition: color .2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.nav a:hover {
  color: #d7f4ff;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.auth-zone { display: flex; gap: 10px; }

.primary-btn, .link-btn, .chip {
  border-radius: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary-btn {
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  color: #04121c;
  border-color: rgba(176, 244, 255, 0.55);
  box-shadow: 0 8px 30px rgba(109, 211, 255, 0.35);
  transition: transform .25s ease, box-shadow .25s ease;
}

.link-btn, .chip {
  background: transparent;
  color: var(--text);
}

.link-btn {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(7px);
}

.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 34px rgba(109, 211, 255, 0.45);
}

.hero {
  padding: 66px 0 52px;
  position: relative;
}

.hero-inner {
  max-width: 780px;
  position: relative;
  z-index: 3;
}

.hero-shell {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.4fr .75fr;
  gap: 24px;
  align-items: stretch;
}

.hero-fx .hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black 25%, transparent 75%);
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(45px);
  opacity: .65;
  pointer-events: none;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .14;
  background-image: radial-gradient(rgba(255, 255, 255, 0.35) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
  mix-blend-mode: soft-light;
}

.cursor-glow {
  position: fixed;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(130, 223, 255, 0.25) 0%, rgba(130, 223, 255, 0) 68%);
  transition: opacity .3s ease;
}

.orb-a {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle at 40% 30%, rgba(109, 211, 255, .8), rgba(109, 211, 255, 0));
  left: -120px;
  top: -40px;
  animation: driftA 9s ease-in-out infinite alternate;
}

.orb-b {
  width: 390px;
  height: 390px;
  background: radial-gradient(circle at 60% 50%, rgba(155, 125, 255, .75), rgba(155, 125, 255, 0));
  right: -90px;
  top: 20px;
  animation: driftB 11s ease-in-out infinite alternate;
}

@keyframes driftA {
  0% { transform: translateY(0) translateX(0); }
  100% { transform: translateY(30px) translateX(28px); }
}

@keyframes driftB {
  0% { transform: translateY(0) translateX(0) scale(1); }
  100% { transform: translateY(-25px) translateX(-18px) scale(1.05); }
}

.title-glow {
  background: linear-gradient(95deg, #f3fbff, #95e8ff 35%, #8fcbff 52%, #c5b3ff 72%, #f3fbff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleShift 8s linear infinite;
  text-shadow: 0 0 24px rgba(129, 221, 255, 0.28);
}

@keyframes titleShift {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

.eyebrow {
  color: #83cdf1;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: 12px;
}

h1 {
  margin: 8px 0 12px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
}

h2 { margin-top: 0; }

.lead {
  color: var(--muted);
  font-size: 18px;
  margin: 0;
}

.search-row {
  display: flex;
  gap: 10px;
  margin: 22px 0 18px;
}

.hero-pills {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pill {
  border: 1px solid rgba(138, 228, 255, 0.35);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #c7ecff;
  background: rgba(14, 23, 37, 0.62);
  backdrop-filter: blur(8px);
}

.search-glass {
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(129, 221, 255, 0.22);
  background: rgba(11, 17, 29, 0.5);
  backdrop-filter: blur(9px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.search-row input {
  flex: 1;
  min-width: 0;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0f1723;
  color: var(--text);
}

.search-row button {
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid #72d9ff;
  background: var(--brand);
  color: #02101a;
  font-weight: 700;
  cursor: pointer;
}

.stats-grid,
.cards-four,
.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stats-grid {
  overflow: visible;
  position: relative;
  z-index: 6;
}

.stats-grid article,
.card,
.model-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(19, 28, 43, .95), rgba(12, 18, 30, .92));
  padding: 16px;
}

.stats-glass article {
  background: rgba(12, 19, 31, 0.62);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(var(--tone-rgb, 134, 232, 255), 0.30);
  position: relative;
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.35),
    0 0 28px rgba(var(--tone-rgb, 134, 232, 255), 0.16);
}

.stats-grid strong { display: block; font-size: 26px; }
.stats-grid span { color: var(--muted); font-size: 14px; }

.formats-stat {
  cursor: help;
  overflow: visible;
}

.formats-tooltip {
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  transform: translateX(-50%) translateY(8px);
  min-width: 280px;
  width: min(380px, 72vw);
  border: 1px solid rgba(92, 241, 201, 0.45);
  border-radius: 14px;
  background: rgba(7, 14, 24, 0.92);
  backdrop-filter: blur(10px);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.48),
    0 0 26px rgba(92, 241, 201, 0.22);
  padding: 12px;
  z-index: 25;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .24s ease, transform .24s ease, visibility .24s ease;
}

.formats-tooltip::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  transform: translateX(-50%) rotate(45deg);
  border-left: 1px solid rgba(92, 241, 201, 0.45);
  border-top: 1px solid rgba(92, 241, 201, 0.45);
  background: rgba(7, 14, 24, 0.92);
}

.formats-title {
  margin: 0 0 9px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #97ffe3;
}

.formats-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.formats-cloud span {
  border: 1px solid rgba(123, 255, 220, 0.28);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  letter-spacing: .03em;
  color: #dcfff5;
  background: rgba(255, 255, 255, 0.03);
}

.formats-stat:hover .formats-tooltip,
.formats-stat:focus .formats-tooltip,
.formats-stat:focus-within .formats-tooltip,
.formats-stat.is-open .formats-tooltip {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.formats-stat:hover,
.formats-stat:focus,
.formats-stat:focus-within,
.formats-stat.is-open {
  z-index: 50;
}

.section { padding: 40px 0; }
.section.top-gap { padding-top: 56px; }
.section.alt { background: rgba(255, 255, 255, 0.01); }
.section-soft {
  position: relative;
}
.section-soft::before {
  content: "";
  position: absolute;
  inset: 8% 0 auto;
  height: 55%;
  background: radial-gradient(circle at 25% 30%, rgba(73, 233, 199, .11), transparent 40%),
              radial-gradient(circle at 75% 70%, rgba(123, 150, 255, .14), transparent 42%);
  pointer-events: none;
}

.signal-strip {
  padding: 6px 0 16px;
}

.marquee {
  border-radius: 999px;
  border: 1px solid rgba(132, 222, 255, 0.32);
  background: rgba(10, 17, 28, 0.55);
  backdrop-filter: blur(8px);
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(2, 7, 17, 0.45);
}

.marquee-track {
  display: flex;
  gap: 36px;
  padding: 10px 18px;
  width: max-content;
  animation: marqueeMove 34s linear infinite;
}

.marquee-track span {
  color: #c7ebff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
}

@keyframes marqueeMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.muted { color: var(--muted); }

.section-headline {
  margin-bottom: 14px;
}

.cards-four .card h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.cards-four .card p {
  margin: 0;
  color: var(--muted);
}

.cards-shine .card {
  --tone-rgb: 136, 224, 255;
  position: relative;
  overflow: hidden;
  border-color: rgba(var(--tone-rgb), 0.30);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.cards-shine .card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 180%;
  background: linear-gradient(120deg, transparent, rgba(var(--tone-rgb), 0.26), transparent);
  transform: rotate(16deg);
  transition: left .45s ease;
}

.cards-shine .card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--tone-rgb), 0.62);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.3),
    0 0 34px rgba(var(--tone-rgb), 0.26);
}

.cards-shine .card:hover::after {
  left: 130%;
}

.model-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.badge {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #8cd6f8;
  margin: 0 0 8px;
}

.model-card h3, .card h2 { margin: 0 0 10px; }
.model-card p { margin: 0; color: var(--muted); }

.model-grid-rich .model-card {
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.model-grid-rich .model-card::before {
  content: "";
  position: absolute;
  inset: -30% -40% auto;
  height: 80%;
  background: radial-gradient(circle at center, rgba(127, 213, 255, .13), transparent 65%);
  pointer-events: none;
}

.model-grid-rich .model-card:hover {
  transform: translateY(-4px);
  border-color: rgba(129, 221, 255, 0.44);
  box-shadow: 0 18px 36px rgba(0, 0, 0, .32);
}

.js-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(20px) scale(.985);
  transition: opacity .7s ease, transform .7s ease;
}

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

.chips {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.guide-list {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.text-link {
  color: var(--brand);
  font-weight: 600;
}

.article { max-width: 820px; }

.article-block {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 18px;
}

.article-block p {
  color: var(--muted);
  margin-bottom: 0;
}

.cta-row {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.cta-banner {
  border: 1px solid rgba(132, 224, 255, 0.28);
  border-radius: 18px;
  padding: 24px;
  background:
    linear-gradient(140deg, rgba(20, 31, 48, .78), rgba(14, 20, 35, .85)),
    radial-gradient(circle at 10% 20%, rgba(109, 211, 255, .18), transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(155, 125, 255, .16), transparent 44%);
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 20px 45px rgba(3, 8, 18, .5);
}

.cta-banner h2 {
  margin: 2px 0 0;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 3;
}

.hero-card,
.mini-card {
  --tone-rgb: 137, 226, 255;
  border: 1px solid rgba(var(--tone-rgb), 0.28);
  background: rgba(11, 17, 29, 0.55);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.4),
    0 0 24px rgba(var(--tone-rgb), 0.14);
}

.hero-card {
  padding: 16px;
}

.hero-card h3 {
  margin: 0 0 8px;
}

.hero-card p {
  margin: 0;
  color: var(--muted);
}

.hero-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mini-card {
  padding: 14px;
}

.mini-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.mini-card strong {
  margin-top: 4px;
  display: block;
  font-size: 18px;
}

.mini-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mini-list li {
  border: 1px solid rgba(var(--tone-rgb, 137, 226, 255), 0.28);
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #d8f4ff;
  background: rgba(255, 255, 255, 0.02);
}

.hero-spectrum {
  position: relative;
  min-height: 126px;
  border: 1px solid rgba(139, 225, 255, .42);
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 20%, rgba(125, 237, 255, .16), transparent 45%),
    rgba(10, 17, 28, .72);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow:
    inset 0 0 22px rgba(120, 224, 255, .14),
    0 0 28px rgba(120, 224, 255, .18);
}

.spectrum-ring {
  position: relative;
  width: 136px;
  height: 136px;
  border-radius: 999px;
  background:
    conic-gradient(from 0deg, rgba(67, 255, 210, .95), rgba(109, 211, 255, .95), rgba(155, 125, 255, .95), rgba(67, 255, 210, .95));
  box-shadow:
    0 0 22px rgba(118, 222, 255, .45),
    0 0 40px rgba(118, 222, 255, .2);
  animation: spinRing 3.8s linear infinite;
}

.spectrum-ring::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(124, 233, 255, .22), rgba(124, 233, 255, 0) 70%);
  filter: blur(6px);
  z-index: -1;
}

.spectrum-ring::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 999px;
  background: rgba(8, 14, 22, .94);
  border: 1px solid rgba(137, 224, 255, .16);
}

.spectrum-core {
  position: absolute;
  text-align: center;
}

.spectrum-core span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.spectrum-core strong {
  font-size: 32px;
  line-height: 1.1;
  background: linear-gradient(90deg, #9ce9ff, #caafff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 16px rgba(137, 228, 255, .35);
}

@keyframes spinRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.pagination {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.pagination a { color: var(--brand); }

.footer {
  margin-top: 60px;
  border-top: 1px solid var(--line);
  padding: 30px 0 16px;
  background: #0a121b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 18px;
}

.footer-grid h4 { margin: 0 0 10px; }
.footer-grid a {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
}

.footer-copy {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 980px) {
  .nav { display: none; }
  .hero-shell { grid-template-columns: 1fr; }
  .model-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid,
  .cards-four,
  .detail-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-mini-grid { grid-template-columns: 1fr 1fr; }
  .cursor-glow { display: none; }
}

@media (max-width: 640px) {
  .container { width: min(1120px, calc(100% - 26px)); }
  .hero-mini-grid,
  .model-grid,
  .stats-grid,
  .cards-four,
  .detail-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .search-row { flex-direction: column; }
  .cta-row { flex-direction: column; }
  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-pills { gap: 8px; }
  .hero-pill { font-size: 11px; }
}
