:root {
  --bg: #06111e;
  --bg-soft: #0b1829;
  --bg-card: rgba(10, 23, 39, 0.84);
  --bg-card-strong: rgba(8, 19, 33, 0.94);
  --line: rgba(117, 170, 226, 0.18);
  --line-strong: rgba(117, 170, 226, 0.32);
  --text: #f5f8ff;
  --muted: #9eb3cb;
  --blue: #5bb9ff;
  --cyan: #60ecd9;
  --mint: #b3f4b8;
  --gold: #f5cb7a;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  --radius-xl: 32px;
  --radius-lg: 26px;
  --radius-md: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", "Noto Sans SC", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(91, 185, 255, 0.18), transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(96, 236, 217, 0.12), transparent 24%),
    radial-gradient(circle at 50% 100%, rgba(245, 203, 122, 0.08), transparent 28%),
    linear-gradient(180deg, #05101b 0%, #081321 45%, #050d17 100%);
}

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

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

.page-shell {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 72px;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(5, 15, 25, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

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

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(91, 185, 255, 0.28);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 16px;
  letter-spacing: 0.02em;
}

.brand-copy span {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

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

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.lang-switcher select {
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.lang-switcher option {
  color: #081321;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #04111d;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 18px 36px rgba(91, 185, 255, 0.26);
}

.button-secondary,
.button-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.hero {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 34px;
  align-items: center;
  padding: 90px 0 76px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.cta-card h2 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(46px, 7vw, 92px);
}

.hero-text,
.section-note,
.advantage-card p,
.privacy-card p,
.extension-card p,
.scene-card p,
.catalog-card li,
.cta-card p,
.floating-note span,
.metric-card span {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-points {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  color: #d9e7fb;
  line-height: 1.6;
}

.text-guide-link {
  color: inherit;
  text-decoration: none;
}

.text-guide-link:hover,
.text-guide-link:focus-visible {
  color: var(--text);
}

.hero-points li::before {
  content: "•";
  margin-right: 10px;
  color: var(--mint);
}

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

.metric-card,
.advantage-card,
.privacy-card,
.extension-card,
.scene-card,
.catalog-card,
.cta-card,
.signal-strip,
.device-card,
.floating-note {
  border: 1px solid var(--line);
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.metric-card {
  padding: 18px;
  border-radius: 22px;
}

.metric-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 24px;
}

.hero-visual {
  position: relative;
  min-height: 640px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
}

.hero-glow-one {
  inset: 0 auto auto 8%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(91, 185, 255, 0.55), rgba(91, 185, 255, 0));
}

.hero-glow-two {
  right: 2%;
  bottom: 8%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(96, 236, 217, 0.45), rgba(96, 236, 217, 0));
}

.device-card {
  position: absolute;
  inset: 54px 56px 84px 48px;
  padding: 20px;
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(15, 30, 48, 0.95), rgba(8, 17, 30, 0.95)),
    var(--bg-card-strong);
}

.device-header {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.device-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.device-screen {
  display: grid;
  gap: 18px;
}

.device-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.device-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.device-badge strong,
.floating-note strong {
  display: block;
  margin-bottom: 4px;
}

.device-badge span {
  color: var(--muted);
  font-size: 13px;
}

.message-stack {
  display: grid;
  gap: 14px;
}

.message-card {
  max-width: 86%;
  padding: 18px;
  border-radius: 22px;
}

.message-card.outbound {
  margin-left: auto;
  background: linear-gradient(135deg, rgba(91, 185, 255, 0.26), rgba(96, 236, 217, 0.18));
}

.message-card.inbound {
  background: rgba(255, 255, 255, 0.06);
}

.message-card p {
  margin: 0;
  line-height: 1.65;
}

.text-card-link {
  color: inherit;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.text-card-link:hover,
.text-card-link:focus-visible {
  transform: translateY(-2px);
  outline: none;
  border-color: var(--line-strong);
}

.message-label,
.story-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(96, 236, 217, 0.24);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.floating-note {
  position: absolute;
  width: 230px;
  padding: 18px;
  border-radius: 22px;
}

.note-top {
  top: 10px;
  right: 0;
}

.note-bottom {
  left: 0;
  bottom: 0;
}

.signal-strip {
  padding: 24px 28px;
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(91, 185, 255, 0.08), rgba(96, 236, 217, 0.06)),
    rgba(255, 255, 255, 0.02);
}

.signal-strip p {
  margin: 0;
  font-size: clamp(18px, 2vw, 24px);
  text-align: center;
  color: #dbe8fa;
  line-height: 1.6;
}

.guide-preview-section {
  padding-top: 72px;
}

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

.guide-highlight-card {
  display: block;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(96, 236, 217, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(13, 28, 46, 0.95), rgba(8, 18, 31, 0.95));
  box-shadow: var(--shadow);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.guide-highlight-card:hover,
.guide-highlight-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  outline: none;
}

.guide-highlight-card h3 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.15;
}

.guide-highlight-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.guide-highlight-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 6px 10px;
  border: 1px solid rgba(96, 236, 217, 0.24);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section {
  padding-top: 92px;
}

.section-dark {
  margin-top: 92px;
  padding: 48px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(96, 236, 217, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(9, 21, 36, 0.95), rgba(6, 14, 25, 0.95));
}

.section-heading {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

.section h2,
.cta-card h2 {
  font-size: clamp(32px, 5vw, 62px);
}

.advantage-grid,
.privacy-grid,
.extension-grid,
.scene-grid,
.catalog-grid {
  display: grid;
  gap: 18px;
}

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

.advantage-card,
.privacy-card,
.extension-card,
.scene-card,
.catalog-card {
  padding: 26px;
  border-radius: 28px;
}

.feature-entry {
  display: block;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.feature-entry:hover,
.feature-entry:focus-visible {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  outline: none;
}

.card-index {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--cyan);
  font-weight: 800;
}

.advantage-card h3,
.privacy-card h3,
.extension-card h3,
.scene-card h3,
.catalog-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.2;
}

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

.privacy-card-featured {
  background:
    radial-gradient(circle at top right, rgba(245, 203, 122, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(16, 32, 52, 0.95), rgba(9, 20, 33, 0.95));
  border-color: rgba(245, 203, 122, 0.22);
}

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

.icon-wrap {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(91, 185, 255, 0.16), rgba(96, 236, 217, 0.18));
}

.icon-wrap img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

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

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.filter-chip {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.filter-chip.is-active {
  border-color: var(--line-strong);
  background: linear-gradient(135deg, rgba(91, 185, 255, 0.22), rgba(96, 236, 217, 0.2));
}

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

.catalog-card ul {
  margin: 0;
  padding-left: 18px;
}

.card-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card-detail-link::after {
  content: "→";
}

.catalog-card li + li {
  margin-top: 10px;
}

.catalog-card.is-hidden {
  display: none;
}

.cta-section {
  padding-bottom: 24px;
}

.cta-card {
  padding: 38px;
  border-radius: 34px;
  text-align: center;
  background:
    radial-gradient(circle at top center, rgba(96, 236, 217, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(11, 23, 39, 0.95), rgba(7, 16, 29, 0.95));
}

.cta-card .button {
  margin-top: 10px;
}

@media (max-width: 1120px) {
  .hero,
  .advantage-grid,
  .privacy-grid,
  .extension-grid,
  .scene-grid,
  .catalog-grid,
  .guide-highlight-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 60px;
  }

  .hero h1 {
    max-width: none;
  }

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

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

  .device-card {
    inset: 44px 28px 96px 28px;
  }

  .floating-note {
    width: 200px;
  }
}

@media (max-width: 860px) {
  .topbar {
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    gap: 14px;
    overflow-x: auto;
  }

  .topbar-actions {
    width: 100%;
    justify-content: space-between;
  }

  .section-dark {
    padding: 30px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1220px);
  }

  .topbar {
    top: 10px;
    padding: 14px;
    border-radius: 18px;
  }

  .topbar-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero {
    gap: 24px;
    padding: 44px 0 56px;
  }

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

  .device-card {
    inset: 44px 14px 120px 14px;
    padding: 16px;
  }

  .floating-note {
    position: absolute;
    width: calc(100% - 20px);
    left: 10px;
  }

  .note-top {
    top: 0;
    right: auto;
  }

  .note-bottom {
    bottom: 0;
  }

  .section {
    padding-top: 74px;
  }

  .section-dark {
    margin-top: 74px;
    padding: 22px;
    border-radius: 24px;
  }

  .advantage-card,
  .privacy-card,
  .extension-card,
  .scene-card,
  .catalog-card,
  .cta-card {
    padding: 22px;
    border-radius: 24px;
  }

  .signal-strip {
    padding: 20px 18px;
    border-radius: 22px;
  }
}
