:root {
  --bg: #140f0a;
  --bg-deep: #0c0907;
  --panel: rgba(31, 22, 15, 0.8);
  --panel-strong: rgba(27, 20, 14, 0.94);
  --panel-blue: rgba(31, 43, 62, 0.6);
  --text: #fff7e8;
  --muted: #d2c6b5;
  --gold: #d8ae54;
  --gold-bright: #f2d17a;
  --gold-soft: rgba(216, 174, 84, 0.18);
  --blue: #6f93be;
  --blue-bright: #97b8de;
  --blue-soft: rgba(111, 147, 190, 0.18);
  --line: rgba(255, 233, 190, 0.14);
  --line-strong: rgba(216, 174, 84, 0.3);
  --shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --container: min(1080px, calc(100% - 36px));
}

* {
  box-sizing: border-box;
}

html {
  font-size: 13px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Onest", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(216, 174, 84, 0.18), transparent 24%),
    radial-gradient(circle at 86% 12%, rgba(111, 147, 190, 0.2), transparent 20%),
    linear-gradient(180deg, #120d09 0%, #17100b 44%, #0d0a08 100%);
}

body.modal-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 233, 190, 0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 233, 190, 0.014) 1px, transparent 1px);
  background-size: 108px 108px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.52), transparent 82%);
}

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

button {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.page-glow {
  position: fixed;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  filter: blur(68px);
  opacity: 0.26;
  pointer-events: none;
  z-index: 0;
}

.page-glow-left {
  left: -12rem;
  top: 8rem;
  background: rgba(216, 174, 84, 0.2);
}

.page-glow-right {
  right: -10rem;
  top: 3rem;
  background: rgba(111, 147, 190, 0.18);
}

.page-pattern {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px),
    radial-gradient(circle at 72% 68%, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px);
  background-size: 220px 220px;
}

.site-header,
main {
  position: relative;
  z-index: 1;
}

.site-header {
  padding: 14px 0 0;
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 22px;
  border: 1px solid rgba(255, 236, 199, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 246, 225, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(18, 13, 10, 0.78);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  margin-right: auto;
}

.brand-mark {
  position: relative;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 251, 239, 0.45), transparent 36%),
    linear-gradient(135deg, var(--gold-bright), var(--gold) 62%, #9e7635);
  color: #160f09;
  font-family: "Unbounded", sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  box-shadow:
    0 10px 20px rgba(216, 174, 84, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 3px solid #120d09;
  border-radius: 18px;
  pointer-events: none;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-copy strong {
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 0;
  margin-right: 2px;
  color: #efe1cb;
}

.nav a {
  font-size: 0.84rem;
  transition: color 180ms ease;
}

.nav a:hover {
  color: var(--gold-bright);
}

.header-cta {
  flex: 0 0 auto;
  margin-left: 0;
}

.hero {
  padding: 40px 0 22px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 40px;
  align-items: center;
}

.hero-copy {
  padding: 28px 0;
}

.eyebrow,
.section-tag,
.card-label,
.plan-kicker,
.feature-index,
.plan-type {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: #f4e7d4;
  font-size: 0.86rem;
}

.eyebrow-dot,
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(216, 174, 84, 0.5);
}

.hero h1,
.section-head h2,
.ui-card h3,
.plan-card h3,
.feature-card h3,
.logo-stack span {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  letter-spacing: -0.03em;
}

.hero h1 {
  margin-top: 14px;
  max-width: 11ch;
  font-size: clamp(2.35rem, 4.9vw, 4.45rem);
  line-height: 0.94;
}

.hero-text,
.section-head p,
.ui-card p,
.plan-card p,
.feature-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.58;
}

.hero-text {
  max-width: 58ch;
  margin: 16px 0 0;
}

.hero-actions,
.button-stack,
.hero-note,
.visual-footer,
.chip-grid,
.toggle-grid,
.plan-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  margin-top: 22px;
  gap: 8px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

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

.button-primary {
  color: #140f09;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 250, 237, 0.5), transparent 24%),
    linear-gradient(135deg, #f8d98b 0%, var(--gold) 48%, #b78531 100%);
  border-color: rgba(255, 226, 167, 0.48);
  box-shadow:
    0 10px 24px rgba(216, 174, 84, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.46);
}

.button-primary:hover {
  box-shadow:
    0 14px 30px rgba(216, 174, 84, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.46);
}

.button-telegram {
  color: #eef6ff;
  background:
    linear-gradient(180deg, rgba(121, 158, 199, 0.86), rgba(73, 106, 149, 0.95));
  border-color: rgba(166, 199, 236, 0.34);
  box-shadow:
    0 10px 22px rgba(73, 106, 149, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.button-secondary,
.button-ghost {
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(24, 18, 14, 0.7);
  border-color: rgba(255, 236, 199, 0.12);
  backdrop-filter: blur(14px);
}

.button-ghost {
  color: #f6ddb0;
  border-style: dashed;
  border-color: rgba(216, 174, 84, 0.26);
}

.button-compact {
  min-height: 40px;
  padding: 0 14px;
}

.hero-note {
  margin-top: 16px;
}

.trial-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.trial-cta p {
  margin: 0;
  color: #d8ccb9;
  font-size: 0.88rem;
  line-height: 1.5;
}

.button-trial-launch {
  min-width: 208px;
}

.hero-note span,
.visual-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 236, 199, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #eadfcb;
  font-size: 0.8rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.card {
  border: 1px solid rgba(255, 236, 199, 0.1);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.06), rgba(255, 255, 255, 0.02)),
    var(--panel);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  width: min(100%, 560px);
  min-height: 560px;
  padding: 30px;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  left: -14%;
  top: -8%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(216, 174, 84, 0.14);
  filter: blur(60px);
}

.hero-card::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -12%;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(111, 147, 190, 0.14);
  filter: blur(58px);
}

.hero-planet-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 388px;
  padding-top: 22px;
}

.hero-badge {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  background: rgba(111, 147, 190, 0.14);
  border: 1px solid rgba(151, 184, 222, 0.18);
  color: #d8e8fb;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.planet-wrap {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.earth-scene {
  inset: 26px 0 34px;
}

.earth-aura {
  position: absolute;
  width: 352px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(111, 147, 190, 0.26) 0%, rgba(111, 147, 190, 0.1) 42%, rgba(111, 147, 190, 0) 72%);
  animation: auraPulse 6s ease-in-out infinite;
}

.planet-orbit {
  position: absolute;
  border-radius: 50%;
}

.orbit-1 {
  width: 322px;
  aspect-ratio: 1;
  border: 1px dashed rgba(161, 192, 239, 0.22);
  animation: spinSlow 20s linear infinite;
}

.orbit-2 {
  width: 266px;
  aspect-ratio: 1;
  border: 1px solid rgba(216, 174, 84, 0.12);
  animation: spinReverse 13s linear infinite;
}

.earth {
  position: relative;
  width: 246px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  transform: scale(1.12);
  animation: earthFloat 6.8s ease-in-out infinite;
  box-shadow:
    0 24px 58px rgba(6, 18, 38, 0.48),
    inset -26px -20px 38px rgba(8, 22, 49, 0.34),
    inset 22px 16px 34px rgba(220, 236, 255, 0.18);
}

.earth-map,
.earth-shade,
.earth-glare {
  position: absolute;
  inset: 0;
}

.earth-map {
  background-image: url("./assets/earth-texture.png");
  background-repeat: repeat-x;
  background-size: auto 100%;
  filter: brightness(1.05) saturate(0.92) contrast(0.94);
  animation: earthSpin 52s linear infinite;
}

.earth-shade {
  background:
    radial-gradient(circle at 22% 20%, rgba(255, 255, 255, 0.24), transparent 44%),
    radial-gradient(circle at 70% 74%, rgba(6, 19, 44, 0.3), rgba(6, 19, 44, 0) 50%),
    linear-gradient(110deg, rgba(0, 0, 0, 0) 46%, rgba(3, 12, 30, 0.28) 100%);
}

.earth-glare {
  inset: auto;
  width: 30%;
  aspect-ratio: 1;
  top: 10%;
  left: 14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0) 72%);
}

.floating-chip {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 4px;
  width: 186px;
  min-height: 76px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 236, 199, 0.1);
  background: rgba(18, 13, 10, 0.82);
  backdrop-filter: blur(16px);
}

.floating-chip strong {
  font-size: 0.86rem;
}

.floating-chip span {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.32;
}

.chip-fast {
  top: 18px;
  right: 10px;
}

.chip-online {
  left: 10px;
  bottom: 24px;
}

.chip-signal {
  right: 10px;
  bottom: 24px;
  background:
    linear-gradient(180deg, rgba(111, 147, 190, 0.12), rgba(216, 174, 84, 0.06)),
    rgba(18, 13, 10, 0.86);
}

.chip-devices {
  left: 10px;
  top: 78px;
  background:
    linear-gradient(180deg, rgba(216, 174, 84, 0.1), rgba(255, 255, 255, 0.03)),
    rgba(18, 13, 10, 0.86);
}

.visual-footer {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 18px;
}

.metrics {
  padding: 8px 0 24px;
}

.metrics-row,
.ui-grid,
.plans-grid,
.feature-grid {
  display: grid;
  gap: 18px;
}

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

.metric {
  padding: 18px;
}

.metric > strong {
  color: var(--gold-bright);
  font-family: "Unbounded", sans-serif;
  font-size: 0.78rem;
}

.metric p strong {
  color: var(--text);
  font-family: inherit;
  font-size: inherit;
}

.metric p {
  margin: 8px 0 0;
  color: #f1e2ce;
  font-size: 0.98rem;
  line-height: 1.42;
}

.section-head {
  padding-top: 42px;
}

.section-head h2 {
  margin-top: 10px;
  max-width: 13ch;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.02;
}

.section-head p {
  max-width: 64ch;
  margin: 12px 0 0;
}

.button-lab,
.plans,
.features {
  padding-bottom: 24px;
}

.ui-grid {
  grid-template-columns: 1.02fr 0.98fr;
  margin-top: 22px;
}

.ui-card,
.feature-card {
  padding: 22px;
}

.ui-card-top,
.plan-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.ui-card h3,
.plan-card h3,
.feature-card h3 {
  margin-top: 10px;
  font-size: 1.14rem;
  line-height: 1.22;
}

.plan-card h3 {
  min-height: 2.6em;
  font-size: 1.36rem;
}

.plan-card p {
  min-height: 4.8em;
}

.button-stack,
.chip-grid,
.toggle-grid {
  margin-top: 18px;
}

.chip-grid,
.toggle-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
}

.card-badge {
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: rgba(216, 174, 84, 0.12);
  border: 1px solid rgba(216, 174, 84, 0.18);
  color: #f7e4b8;
  font-size: 0.74rem;
}

.status-chip,
.choice-chip {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 236, 199, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(31, 22, 15, 0.72);
  color: #efe3cf;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  vertical-align: top;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.status-chip:hover,
.choice-chip:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 224, 156, 0.36);
  background:
    linear-gradient(180deg, rgba(216, 174, 84, 0.18), rgba(216, 174, 84, 0.08)),
    rgba(31, 22, 15, 0.88);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 248, 231, 0.14);
  color: #fff3d5;
}

.status-chip {
  cursor: default;
}

.choice-chip {
  cursor: pointer;
}

.choice-chip-active {
  border-color: rgba(255, 236, 199, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(31, 22, 15, 0.72);
  box-shadow: none;
  color: #efe3cf;
}

.status-gold,
.status-blue,
.status-dark,
.status-contrast {
  border-color: rgba(255, 236, 199, 0.12);
}

.status-gold {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(31, 22, 15, 0.72);
}

.status-blue {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(31, 22, 15, 0.72);
}

.status-dark {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(31, 22, 15, 0.72);
}

.status-contrast {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(31, 22, 15, 0.72);
}

.plans {
  padding: 56px 0 64px;
  background:
    radial-gradient(circle at 14% 18%, rgba(216, 174, 84, 0.12), transparent 30%),
    radial-gradient(circle at 78% 12%, rgba(111, 147, 190, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(255, 247, 232, 0.015), rgba(255, 247, 232, 0) 28%);
}

.plans-head .section-tag {
  background: rgba(216, 174, 84, 0.1);
  border-color: rgba(216, 174, 84, 0.22);
  color: #f1d894;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.plans-head h2 {
  max-width: 9ch;
  color: var(--text);
  font-size: clamp(2rem, 3.6vw, 3.6rem);
}

.plans-head p {
  color: var(--muted);
  max-width: 56ch;
}

.plans-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 24px;
  gap: 16px;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 18px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 246, 225, 0.04), rgba(255, 255, 255, 0.015)),
    linear-gradient(180deg, rgba(49, 37, 25, 0.96), rgba(28, 21, 15, 0.98));
  border: 1px solid rgba(255, 236, 199, 0.14);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 251, 240, 0.04);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 251, 240, 0.06);
}

.plan-card-featured {
  transform: none;
}

.plan-card-standard {
  border-color: rgba(255, 236, 199, 0.14);
}

.plan-card-plus {
  border-color: rgba(216, 174, 84, 0.3);
  background:
    radial-gradient(circle at top, rgba(216, 174, 84, 0.08), transparent 46%),
    linear-gradient(180deg, rgba(58, 43, 28, 0.98), rgba(28, 21, 15, 0.99));
}

.plan-topline {
  justify-content: flex-start;
}

.plan-kicker {
  padding: 8px 12px;
  background: rgba(216, 174, 84, 0.08);
  border-color: rgba(216, 174, 84, 0.18);
  color: #ecd18b;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.plan-type,
.plan-meta {
  display: none;
}

.plan-card h3 {
  min-height: 0;
  margin-top: 16px;
  font-size: 1.36rem;
  line-height: 1.12;
  color: var(--text);
}

.plan-device-copy {
  margin-top: 10px;
  color: #dcc9a7;
  font-size: 0.84rem;
  font-weight: 700;
}

.plan-price-lead {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-top: 18px;
}

.plan-price-lead strong {
  font-family: "Unbounded", sans-serif;
  font-size: 2rem;
  line-height: 1;
  color: var(--text);
}

.plan-price-lead span {
  padding-bottom: 0.22rem;
  color: #ccb99a;
  font-size: 0.92rem;
}

.price-table {
  display: grid;
  gap: 0;
  margin-top: 18px;
  padding: 10px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 236, 199, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    rgba(25, 18, 13, 0.44);
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 236, 199, 0.08);
  background: transparent;
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row span {
  color: #d2c0a5;
  font-size: 0.84rem;
}

.price-row strong {
  font-family: "Unbounded", sans-serif;
  font-size: 0.86rem;
  color: var(--text);
}

.plan-card-plus .price-row strong {
  color: #f1d894;
}

.plan-button {
  width: 100%;
  margin-top: auto;
  min-height: 46px;
  border-radius: 18px;
  font-size: 0.9rem;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(24, 18, 14, 0.78);
  border-color: rgba(255, 236, 199, 0.14);
  box-shadow: none;
}

.plan-button:hover {
  transform: translateY(-3px);
  color: #140f09;
  border-color: rgba(255, 226, 167, 0.48);
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 250, 237, 0.5), transparent 24%),
    linear-gradient(135deg, #f8d98b 0%, var(--gold) 48%, #b78531 100%);
  box-shadow:
    0 12px 28px rgba(216, 174, 84, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.plan-card:hover .plan-button {
  color: #140f09;
  border-color: rgba(255, 226, 167, 0.48);
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 250, 237, 0.5), transparent 24%),
    linear-gradient(135deg, #f8d98b 0%, var(--gold) 48%, #b78531 100%);
  box-shadow:
    0 12px 28px rgba(216, 174, 84, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.plan-button-accent {
  color: var(--text);
}

.plan-button-subtle {
  color: var(--text);
}

.plan-description {
  min-height: 0;
}

.plan-footnote {
  min-height: 4.8em;
  margin-top: 16px;
  color: var(--muted);
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 22px;
  padding-bottom: 46px;
}

.feature-index {
  color: #140f09;
  background: linear-gradient(135deg, #f7da91, var(--gold));
  border-color: rgba(255, 231, 172, 0.48);
}

.faq-section {
  padding: 18px 0 64px;
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.faq-item {
  border-radius: 24px;
  border: 1px solid rgba(255, 236, 199, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.05), rgba(255, 255, 255, 0.02)),
    var(--panel-strong);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-item[open] {
  border-color: rgba(216, 174, 84, 0.24);
}

.faq-question {
  position: relative;
  display: block;
  list-style: none;
  cursor: pointer;
  padding: 20px 62px 20px 20px;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  transform: translateY(-50%);
  background: rgba(216, 174, 84, 0.16);
  border: 1px solid rgba(216, 174, 84, 0.2);
  color: var(--gold-bright);
  font-size: 1.2rem;
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  content: "-";
}

.faq-answer {
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.58;
}

.trial-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
}

.trial-modal[hidden] {
  display: none;
}

.trial-modal-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(216, 174, 84, 0.16), transparent 28%),
    rgba(7, 5, 4, 0.76);
  backdrop-filter: blur(10px);
}

.trial-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  padding: 26px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.07), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, rgba(43, 31, 21, 0.98), rgba(24, 18, 13, 0.99));
  border: 1px solid rgba(255, 236, 199, 0.14);
}

.trial-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 236, 199, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1.45rem;
  cursor: pointer;
}

.trial-dialog-copy h3 {
  margin: 12px 0 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.04;
}

.trial-dialog-copy p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.trial-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.trial-field {
  display: grid;
  gap: 8px;
}

.trial-field span {
  color: #eeddbf;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.trial-input {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(255, 236, 199, 0.14);
  border-radius: 18px;
  background: rgba(20, 15, 10, 0.82);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.trial-input:focus {
  border-color: rgba(216, 174, 84, 0.44);
  box-shadow: 0 0 0 4px rgba(216, 174, 84, 0.12);
}

.trial-input::placeholder {
  color: rgba(210, 198, 181, 0.54);
}

.trial-submit {
  min-height: 52px;
}

.trial-submit[disabled] {
  cursor: wait;
  opacity: 0.8;
}

.trial-form-note {
  margin: -2px 0 0;
  color: #c7b89f;
  font-size: 0.84rem;
  line-height: 1.5;
}

.trial-status {
  min-height: 20px;
  color: #d8ccb9;
  font-size: 0.9rem;
  line-height: 1.5;
}

.trial-status.is-success {
  color: #f1d894;
}

.trial-status.is-error {
  color: #f3b6a2;
}

@keyframes earthFloat {
  0%,
  100% {
    transform: scale(1.12) translateY(0);
  }

  50% {
    transform: scale(1.12) translateY(-9px);
  }
}

@keyframes earthSpin {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: -492px 0;
  }
}

@keyframes auraPulse {
  0%,
  100% {
    opacity: 0.84;
    transform: scale(0.98);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes spinSlow {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes spinReverse {
  0% {
    transform: rotate(360deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

@media (max-width: 1080px) {
  .hero-layout,
  .ui-grid,
  .feature-grid,
  .metrics-row {
    grid-template-columns: 1fr;
  }

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

  .plan-card-featured {
    transform: none;
  }

  .section-head h2 {
    max-width: unset;
  }
}

@media (max-width: 780px) {
  .site-header {
    padding-top: 14px;
  }

  .header-shell {
    flex-wrap: wrap;
    justify-content: center;
  }

  .brand {
    margin-right: 0;
  }

  .nav {
    order: 3;
    justify-content: center;
    width: 100%;
    margin-right: 0;
  }

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

  .hero {
    padding-top: 24px;
  }

  .hero-copy {
    padding-top: 12px;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 8vw, 2.7rem);
  }

  .hero-card {
    min-height: 450px;
    padding: 22px;
  }

  .floating-chip {
    width: 168px;
    padding: 11px 13px;
  }

  .chip-fast {
    right: 10px;
  }

  .chip-online {
    left: 10px;
    bottom: 92px;
  }

  .chip-signal {
    right: 10px;
    bottom: 34px;
  }

  .chip-devices {
    left: 10px;
    top: 86px;
  }

  .earth {
    width: 214px;
    transform: scale(1.08);
  }

  .earth-aura {
    width: 308px;
  }

  .orbit-1 {
    width: 282px;
  }

  .orbit-2 {
    width: 234px;
  }
}

@media (max-width: 520px) {
  :root {
    --container: min(100% - 24px, 100%);
  }

  .header-shell,
  .metric,
  .ui-card,
  .plan-card,
  .feature-card,
  .hero-card {
    border-radius: 22px;
  }

  .button,
  .button-compact {
    width: 100%;
  }

  .hero-actions,
  .button-stack {
    flex-direction: column;
  }

  .trial-cta {
    align-items: stretch;
  }

  .trial-cta p {
    max-width: none;
  }

  .hero-note,
  .visual-footer,
  .chip-grid,
  .toggle-grid,
  .plan-meta {
    gap: 10px;
  }

  .faq-question {
    padding-right: 52px;
  }

  .hero-card {
    min-height: 390px;
  }

  .trial-dialog {
    padding: 22px 18px 18px;
  }

  .hero-planet-stage {
    min-height: 220px;
  }

  .earth {
    width: 188px;
    transform: scale(1.02);
  }

  .earth-aura {
    width: 256px;
  }

  .orbit-1 {
    width: 232px;
  }

  .orbit-2 {
    width: 192px;
  }

  .floating-chip {
    position: static;
    width: 100%;
    min-height: auto;
    margin-top: 12px;
  }

  .visual-footer {
    position: static;
    margin-top: 18px;
  }

  .section-head {
    padding-top: 32px;
  }

  .price-row {
    align-items: flex-start;
    flex-direction: column;
  }
}
