:root {
  color-scheme: dark;
  --page: #060806;
  --page-blue: #070b09;
  --surface: #0d1210;
  --surface-soft: rgba(13, 18, 16, 0.74);
  --panel: #0b100e;
  --panel-2: #111814;
  --black: #040705;
  --ink: #edf6f1;
  --ink-2: #cad8d0;
  --on-accent: #07100c;
  --muted: #86938c;
  --muted-light: #59635e;
  --line: rgba(182, 255, 72, 0.11);
  --line-strong: rgba(182, 255, 72, 0.25);
  --mint: #3ff0b2;
  --mint-light: #09261c;
  --lime: #b6ff48;
  --violet: #36bfff;
  --violet-light: #0a2330;
  --coral: #ff745f;
  --red: #ff6078;
  --yellow: #ffd15a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --shadow-small: 0 14px 38px rgba(0, 0, 0, 0.28);
  --radius-xl: 48px;
  --radius: 34px;
  --radius-md: 24px;
  --radius-sm: 17px;
  --font: "Inter Tight", "SF Pro Display", "Segoe UI", Arial, sans-serif;
  --font-body: Inter, "SF Pro Text", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
  background: var(--page);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 8% 8%, rgba(63, 240, 178, 0.09), transparent 25rem),
    radial-gradient(circle at 92% 21%, rgba(54, 191, 255, 0.08), transparent 28rem),
    linear-gradient(180deg, #080c0a 0, var(--page-blue) 48rem, var(--page) 100%);
}

body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  content: "";
  background-image: radial-gradient(rgba(182, 255, 72, 0.16) 0.65px, transparent 0.65px);
  background-size: 9px 9px;
  mask-image: linear-gradient(to bottom, #000, transparent 38rem);
}

::selection {
  color: var(--on-accent);
  background: var(--lime);
}

button,
input,
textarea,
select {
  font: inherit;
}

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

button {
  cursor: pointer;
}

a {
  color: inherit;
}

svg,
i[data-lucide] {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

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

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid rgba(119, 112, 247, 0.45);
  outline-offset: 3px;
}

.app-shell {
  min-height: 100vh;
  overflow-x: clip;
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.14;
  pointer-events: none;
  animation: ambient-drift 16s ease-in-out infinite alternate;
}

.ambient--one {
  top: 24%;
  left: -18rem;
  background: var(--mint);
}

.ambient--two {
  right: -18rem;
  bottom: 8%;
  background: var(--violet);
  animation-delay: -7s;
}

@keyframes ambient-drift {
  to { transform: translate3d(5rem, 3rem, 0) scale(1.18); }
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  width: min(1240px, calc(100% - 30px));
  min-height: 68px;
  margin: 14px auto 0;
  padding: 9px 12px 9px 18px;
  border: 1px solid rgba(182, 255, 72, 0.13);
  border-radius: 999px;
  background: rgba(8, 12, 10, 0.86);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.42), inset 0 1px rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(20px) saturate(140%);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  width: fit-content;
  min-height: 44px;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 13px;
  color: var(--on-accent);
  background: var(--lime);
  transform: rotate(-4deg);
  transition: transform 220ms ease;
}

.brand:hover .brand-mark {
  transform: rotate(4deg) scale(1.04);
}

.brand-mark svg {
  width: 25px;
  height: 25px;
  stroke-width: 4.4;
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 950;
  letter-spacing: -0.035em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.56rem;
  font-weight: 820;
  letter-spacing: 0.13em;
}

.topnav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.topnav a {
  min-height: 42px;
  padding: 11px 17px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.91rem;
  font-weight: 760;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.topnav a:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.topnav a.active {
  color: var(--on-accent);
  background: var(--lime);
  box-shadow: 0 0 22px rgba(182, 255, 72, 0.12);
}

.top-actions {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.icon-button,
.login-pill,
.soft-button,
.primary-button,
.ghost-link,
.pay-button,
.hero-cta,
.hero-secondary {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 820;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.icon-button {
  width: 46px;
  color: var(--ink);
  background: var(--panel-2);
}

.login-pill {
  padding: 0 21px;
  color: var(--on-accent);
  background: var(--lime);
}

.login-pill:hover,
.primary-button:hover,
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(182, 255, 72, 0.14);
}

.soft-button,
.ghost-link,
.pay-button {
  padding: 0 17px;
  color: var(--ink);
  background: var(--panel-2);
}

.soft-button:hover,
.ghost-link:hover,
.pay-button:hover,
.icon-button:hover {
  background: #18221d;
  transform: translateY(-1px);
}

.primary-button,
.hero-cta {
  padding: 0 23px;
  color: var(--on-accent);
  background: var(--lime);
}

.primary-button:disabled,
.soft-button:disabled,
.pay-button:disabled,
.login-button:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

[data-busy="true"]::after {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  content: "";
  animation: spin 650ms linear infinite;
}

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

.page-grid {
  display: grid;
  width: min(1240px, calc(100% - 30px));
  margin: 0 auto;
  gap: 100px;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(460px, 0.95fr);
  gap: clamp(42px, 6vw, 96px);
  align-items: center;
  min-height: calc(100vh - 96px);
  padding: clamp(72px, 10vh, 118px) 18px 72px;
}

.hero-copy-block {
  min-width: 0;
  padding-bottom: 18px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--lime);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.live-dot {
  position: relative;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #2fbf75;
  box-shadow: 0 0 0 5px rgba(47, 191, 117, 0.12);
}

.live-dot::after {
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(47, 191, 117, 0.35);
  border-radius: inherit;
  content: "";
  animation: status-ping 2.1s ease-out infinite;
}

@keyframes status-ping {
  70%, 100% { opacity: 0; transform: scale(1.9); }
}

.hero-panel h1,
.story-heading h2,
.section-kicker h2,
.tariff-heading h2,
.page-intro h1,
.support-hero h1 {
  margin: 0;
  font-family: var(--font);
  font-weight: 950;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.hero-panel h1 {
  max-width: 750px;
  font-size: clamp(4.6rem, 7.25vw, 7.1rem);
  line-height: 0.87;
}

.hero-panel h1 span {
  color: var(--lime);
  text-shadow: 0 0 35px rgba(182, 255, 72, 0.12);
}

.hero-copy {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.45vw, 1.25rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-cta {
  min-height: 58px;
  padding: 0 27px;
}

.hero-cta svg {
  transition: transform 180ms ease;
}

.hero-cta:hover svg {
  transform: translateX(4px);
}

.hero-secondary {
  min-height: 58px;
  padding: 0 22px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(16, 24, 20, 0.78);
}

.hero-secondary:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 30px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-proof svg {
  width: 16px;
  height: 16px;
  color: var(--mint);
}

.hero-proof strong {
  color: var(--ink);
  font-weight: 780;
}

.hero-visual {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 650px;
  overflow: hidden;
  border-radius: 52px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 13%, rgba(182, 255, 72, 0.14), transparent 14rem),
    radial-gradient(circle at 8% 85%, rgba(54, 191, 255, 0.16), transparent 18rem),
    #070b09;
  border: 1px solid rgba(182, 255, 72, 0.12);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.5), inset 0 1px rgba(255,255,255,.035);
}

.visual-grid {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(182, 255, 72, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(182, 255, 72, 0.1) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at 50% 45%, #000 0, transparent 76%);
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  filter: blur(2px);
}

.hero-visual::before {
  top: -90px;
  right: -70px;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(204, 246, 107, 0.22);
  box-shadow: 0 0 0 34px rgba(204, 246, 107, 0.035), 0 0 0 70px rgba(204, 246, 107, 0.025);
}

.hero-visual::after {
  bottom: 130px;
  left: -100px;
  width: 260px;
  height: 260px;
  background: rgba(54, 191, 255, 0.13);
  filter: blur(55px);
}

.float-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 760;
  background: rgba(7, 12, 9, 0.84);
  box-shadow: 0 13px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
  animation: float 5s ease-in-out infinite;
}

.float-chip svg {
  width: 17px;
  height: 17px;
  color: var(--lime);
}

.float-chip--devices { top: 28px; left: 26px; }
.float-chip--speed { top: 72px; right: 22px; animation-delay: -2.4s; }

@keyframes float {
  50% { transform: translateY(-8px) rotate(1deg); }
}

.connection-card {
  position: absolute;
  z-index: 2;
  top: 100px;
  right: 45px;
  left: 45px;
  display: grid;
  justify-items: center;
  overflow: hidden;
  min-height: 382px;
  padding: 22px 24px 25px;
  border: 1px solid rgba(182, 255, 72, 0.14);
  border-radius: 37px;
  background: linear-gradient(150deg, rgba(30, 48, 38, 0.78), rgba(6, 10, 8, 0.78));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12), 0 22px 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.connection-card::after {
  position: absolute;
  z-index: 0;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(182,255,72,.75), transparent);
  box-shadow: 0 0 16px rgba(182,255,72,.32);
  animation: secure-scan 4.8s ease-in-out infinite;
}

.connection-card > * { position: relative; z-index: 1; }

@keyframes secure-scan {
  0%, 12% { top: 0; opacity: 0; }
  20% { opacity: .65; }
  72% { top: 100%; opacity: .25; }
  100% { top: 100%; opacity: 0; }
}

.connection-head {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 760;
}

.connection-head > span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.connection-head > svg {
  width: 18px;
  color: var(--lime);
}

.connection-core {
  position: relative;
  display: grid;
  width: 136px;
  height: 136px;
  margin-top: 8px;
  place-items: center;
}

.pulse {
  position: absolute;
  border: 1px solid rgba(204, 246, 107, 0.25);
  border-radius: 50%;
  animation: pulse-ring 3.4s ease-out infinite;
}

.pulse--one { inset: 4px; }
.pulse--two { inset: -22px; animation-delay: -1.7s; }

@keyframes pulse-ring {
  0% { opacity: 0; transform: scale(0.7); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.2); }
}

.core-icon {
  position: relative;
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border-radius: 28px;
  color: var(--on-accent);
  background: var(--lime);
  box-shadow: 0 0 45px rgba(204, 246, 107, 0.24);
  transform: rotate(-5deg);
}

.core-icon svg {
  width: 38px;
  height: 38px;
  stroke-width: 1.8;
}

.connection-message {
  display: grid;
  gap: 6px;
  text-align: center;
}

.connection-message strong {
  font-family: var(--font);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.connection-message span {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.78rem;
}

.device-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 15px;
}

.device-cloud span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.69rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.07);
}

.device-cloud svg {
  width: 14px;
  height: 14px;
}

.device-cloud .device-more {
  color: var(--on-accent);
  background: var(--mint);
}

.hero-card {
  position: absolute;
  z-index: 5;
  right: 24px;
  bottom: 22px;
  left: 24px;
  min-width: 0;
  padding: 17px;
  border: 1px solid rgba(182, 255, 72, 0.16);
  border-radius: 27px;
  color: var(--ink);
  background: rgba(7, 12, 9, 0.92);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.metrics-mini {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.metric-mini {
  display: grid;
  min-width: 0;
  gap: 4px;
  padding: 11px 8px;
  border-radius: 17px;
  text-align: center;
  background: rgba(255, 255, 255, 0.045);
}

.metric-mini strong {
  overflow: hidden;
  font-family: var(--font);
  font-size: clamp(0.82rem, 1vw, 0.98rem);
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-mini span,
.mini-label {
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.35;
}

.account-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
  margin-bottom: 12px;
}

.avatar {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 15px;
  color: var(--on-accent);
  background: var(--lime);
}

.account-name {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 2px;
}

.account-name strong,
.account-name span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-name strong { font-size: 0.88rem; }
.account-name span { color: var(--muted); font-size: 0.7rem; }

.value-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  padding: 8px;
  border: 1px solid rgba(182, 255, 72, 0.12);
  border-radius: 28px;
  background: rgba(10, 15, 12, 0.82);
  box-shadow: var(--shadow-small);
  backdrop-filter: blur(18px);
}

.value-strip > div {
  display: flex;
  min-width: 0;
  min-height: 68px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 17px;
  border-right: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 760;
  text-align: center;
}

.value-strip > div:last-child { border-right: 0; }

.value-strip svg {
  width: 18px;
  height: 18px;
  color: var(--lime);
}

.content-panel,
.side-panel {
  min-width: 0;
}

.main-panel {
  display: grid;
  gap: 105px;
}

.story-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  gap: 36px;
  align-items: end;
}

.story-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -18px;
}

.story-heading h2,
.section-kicker h2,
.tariff-heading h2 {
  font-size: clamp(3rem, 5.4vw, 5.6rem);
  line-height: 0.94;
}

.story-heading h2 span,
.tariff-heading h2 span,
.page-intro h1 span,
.support-hero h1 span {
  color: var(--mint);
}

.story-heading > p:last-child,
.section-kicker > p:last-child,
.tariff-heading > p,
.page-intro > div > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  margin-top: -65px;
}

.feature-card {
  position: relative;
  isolation: isolate;
  display: flex;
  min-width: 0;
  min-height: 345px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 38px;
  background: var(--surface);
  box-shadow: var(--shadow-small);
  transition: transform 260ms cubic-bezier(.2,.8,.2,1), box-shadow 260ms ease;
}

.feature-card:hover {
  z-index: 2;
  transform: translateY(-7px) rotate(-0.35deg);
  border-color: var(--line-strong);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42), 0 0 35px rgba(182, 255, 72, 0.035);
}

.feature-card--devices {
  grid-column: span 7;
  color: var(--ink);
  background:
    linear-gradient(rgba(182, 255, 72, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(182, 255, 72, 0.045) 1px, transparent 1px),
    var(--panel-2);
  background-size: 26px 26px;
}

.feature-card--speed {
  grid-column: span 5;
  color: #fff;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    var(--black);
  background-size: 24px 24px;
}

.feature-card--payment {
  grid-column: span 5;
  background: var(--surface);
}

.feature-card--support {
  grid-column: span 7;
  color: var(--ink);
  background:
    radial-gradient(circle at 100% 0, rgba(63, 240, 178, 0.14), transparent 16rem),
    #092019;
}

.feature-index {
  position: absolute;
  top: 25px;
  right: 27px;
  color: currentColor;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  opacity: 0.4;
}

.feature-icon,
.step-icon {
  display: grid;
  width: 51px;
  height: 51px;
  place-items: center;
  border-radius: 17px;
  color: var(--lime);
  border: 1px solid var(--line);
  background: rgba(182, 255, 72, 0.07);
}

.feature-card--speed .feature-icon {
  color: var(--lime);
  background: rgba(255, 255, 255, 0.08);
}

.feature-card > div:nth-of-type(2) {
  position: relative;
  z-index: 2;
  max-width: 72%;
}

.feature-card strong {
  display: block;
  max-width: 590px;
  font-family: var(--font);
  font-size: clamp(1.75rem, 2.6vw, 2.8rem);
  font-weight: 930;
  letter-spacing: -0.05em;
  line-height: 1;
}

.feature-card p {
  max-width: 520px;
  margin: 13px 0 0;
  color: currentColor;
  font-size: 0.91rem;
  line-height: 1.55;
  opacity: 0.66;
}

.feature-card > a {
  display: inline-flex;
  z-index: 2;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.76rem;
  font-weight: 880;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.feature-card > a svg { width: 16px; }

.device-stack {
  position: absolute;
  right: 27px;
  bottom: 27px;
  display: flex;
  align-items: end;
}

.device-stack span {
  display: grid;
  width: 72px;
  height: 72px;
  margin-left: -13px;
  place-items: center;
  border: 4px solid var(--panel-2);
  border-radius: 25px;
  color: #fff;
  background: var(--black);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.42);
  transform: rotate(var(--rotation, 0));
}

.device-stack span:nth-child(1) { --rotation: -9deg; }
.device-stack span:nth-child(2) { --rotation: 3deg; color: var(--on-accent); background: var(--violet); }
.device-stack span:nth-child(3) { --rotation: 9deg; background: #17211c; color: var(--ink); }
.device-stack span:nth-child(4) { --rotation: -2deg; background: var(--coral); font: 950 1.5rem var(--font); }

.speed-gauge {
  position: absolute;
  right: -25px;
  bottom: -45px;
  display: grid;
  width: 215px;
  height: 215px;
  place-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.025), 0 0 0 62px rgba(255, 255, 255, 0.018);
}

.speed-gauge span {
  position: absolute;
  inset: 12px;
  border: 2px solid transparent;
  border-top-color: var(--lime);
  border-right-color: var(--lime);
  border-radius: 50%;
  animation: gauge-spin 7s linear infinite;
}

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

.speed-gauge b {
  font: 950 3.1rem/0.9 var(--font);
  letter-spacing: -0.08em;
}

.speed-gauge small { margin-top: 7px; color: rgba(255,255,255,.5); }

.payment-orbit {
  position: absolute;
  right: 21px;
  bottom: 23px;
  display: flex;
  align-items: center;
}

.payment-orbit span {
  display: grid;
  width: 64px;
  height: 64px;
  margin-left: -10px;
  place-items: center;
  border: 4px solid var(--surface);
  border-radius: 22px;
  color: #fff;
  background: var(--black);
  box-shadow: var(--shadow-small);
}

.payment-orbit span:nth-child(2) { color: var(--on-accent); background: var(--violet); transform: rotate(6deg); }
.payment-orbit span:nth-child(3) { color: var(--on-accent); background: var(--lime); transform: rotate(-5deg); }

.steps-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: start;
  padding: clamp(36px, 6vw, 72px);
  border-radius: var(--radius-xl);
  color: #fff;
  border: 1px solid rgba(54, 191, 255, 0.16);
  background:
    linear-gradient(rgba(54, 191, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(54, 191, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 5% 100%, rgba(54, 191, 255, 0.18), transparent 22rem),
    radial-gradient(circle at 100% 0, rgba(182, 255, 72, 0.08), transparent 19rem),
    var(--black);
  background-size: 30px 30px, 30px 30px, auto, auto, auto;
  box-shadow: var(--shadow);
}

.steps-section .eyebrow { color: var(--lime); }

.section-kicker h2 {
  font-size: clamp(2.8rem, 4.8vw, 5.1rem);
}

.section-kicker > p:last-child {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.68);
}

.steps-grid {
  display: grid;
  gap: 10px;
}

.step-card {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-width: 0;
  min-height: 124px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 27px;
  background: rgba(255, 255, 255, 0.09);
  transition: transform 200ms ease, background 200ms ease;
}

.step-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateX(5px);
}

.step-card > span {
  align-self: start;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.67rem;
  font-weight: 900;
}

.step-icon {
  color: var(--on-accent);
  border-color: transparent;
  background: var(--lime);
}

.step-card > div:last-child {
  display: grid;
  gap: 7px;
}

.step-card strong {
  font-family: var(--font);
  font-size: 1.18rem;
  font-weight: 880;
  letter-spacing: -0.025em;
}

.step-card small {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
  line-height: 1.5;
}

.tariffs-section {
  display: grid;
  gap: 32px;
}

.section-heading,
.tariff-heading {
  display: flex;
  min-width: 0;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.tariff-heading > p {
  max-width: 350px;
  padding-bottom: 7px;
}

.tariff-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.34fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 29px;
  background: rgba(10, 15, 12, 0.86);
  box-shadow: var(--shadow-small);
  backdrop-filter: blur(16px);
}

.payment-choice,
.promo-box {
  display: grid;
  min-width: 0;
  gap: 9px;
  padding: 10px 13px;
}

.control-label {
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.payment-strip {
  display: flex;
  min-width: 0;
  gap: 7px;
}

.pay-button {
  min-height: 47px;
  color: var(--muted);
  background: var(--panel-2);
}

.pay-button.active {
  color: var(--on-accent);
  background: var(--lime);
  box-shadow: 0 8px 24px rgba(182, 255, 72, 0.12);
}

.pay-button.active svg { color: var(--on-accent); }

.pay-title-short { display: none; }

.promo-input {
  display: flex;
  height: 47px;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--panel-2);
  transition: border-color 180ms ease, background 180ms ease;
}

.promo-input:focus-within {
  border-color: rgba(182, 255, 72, 0.4);
  background: #151e19;
}

.promo-input svg { width: 17px; color: var(--muted); }

.promo-input input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.promo-input input::placeholder { color: #969ba0; }

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

.tariff-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 410px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(13, 18, 16, 0.88);
  box-shadow: var(--shadow-small);
  backdrop-filter: blur(14px);
  transition: transform 230ms cubic-bezier(.2,.8,.2,1), box-shadow 230ms ease;
}

.tariff-card:hover {
  z-index: 2;
  transform: translateY(-8px);
  border-color: var(--line-strong);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.43);
}

.tariff-card.featured {
  color: #fff;
  border-color: rgba(182, 255, 72, 0.42);
  background:
    radial-gradient(circle at 85% 12%, rgba(182, 255, 72, 0.14), transparent 10rem),
    var(--black);
}

.tariff-card.featured::before {
  position: absolute;
  top: 21px;
  right: 20px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--on-accent);
  background: var(--lime);
  content: "Выгодно";
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tariff-card h3 {
  max-width: calc(100% - 62px);
  margin: 0;
  font-family: var(--font);
  font-size: 1.18rem;
  font-weight: 880;
  letter-spacing: -0.035em;
}

.tariff-card__top {
  display: grid;
}

.plan-code {
  display: block;
  max-width: calc(100% - 76px);
  margin-bottom: 12px;
  color: var(--lime);
  font: 760 .61rem/1.3 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .08em;
}

.price-wrap { margin-top: 20px; }

.price {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  margin: 0;
  line-height: 1;
}

.price strong {
  max-width: 100%;
  overflow: hidden;
  font-family: var(--font);
  font-size: clamp(2.7rem, 4vw, 4rem);
  font-weight: 950;
  letter-spacing: -0.07em;
  text-overflow: ellipsis;
}

.price span {
  padding-bottom: 7px;
  font-size: 0.94rem;
  font-weight: 820;
}

.price-caption {
  display: block;
  min-height: 32px;
  margin-top: 8px;
  color: var(--muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.67rem;
  line-height: 1.4;
}

.featured .price-caption { color: rgba(255,255,255,.5); }

.tariff-meta {
  display: grid;
  gap: 10px;
  margin: 25px 0;
}

.tariff-meta span {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.tariff-meta span::before {
  color: #39a477;
  content: "✓";
  font-weight: 900;
}

.featured .tariff-meta span { color: rgba(255,255,255,.64); }
.featured .tariff-meta span::before { color: var(--lime); }

.tariff-card .primary-button {
  width: 100%;
  margin-top: auto;
}

.featured .primary-button {
  color: var(--on-accent);
  background: var(--lime);
}

.tariff-card--enter {
  animation: card-in 520ms both cubic-bezier(.2,.8,.2,1);
}

.tariff-card--enter:nth-child(2) { animation-delay: 60ms; }
.tariff-card--enter:nth-child(3) { animation-delay: 120ms; }
.tariff-card--enter:nth-child(4) { animation-delay: 180ms; }

@keyframes card-in {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
}

.payment-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: -12px 0 0;
  color: var(--muted);
  font-size: 0.77rem;
  text-align: center;
}

.payment-note svg { width: 17px; color: #3ba57d; }

.auth-panel {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(220px, .5fr) minmax(0, 1.5fr);
  gap: clamp(28px, 6vw, 80px);
  overflow: hidden;
  padding: clamp(32px, 5vw, 62px);
  border-radius: var(--radius-xl);
  color: #fff;
  background:
    radial-gradient(circle at 0 100%, rgba(54, 191, 255, 0.18), transparent 24rem),
    radial-gradient(circle at 100% 0, rgba(182, 255, 72, 0.1), transparent 20rem),
    var(--black);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.auth-panel::before {
  position: absolute;
  z-index: -1;
  right: -80px;
  bottom: -110px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(255,255,255,.02), 0 0 0 84px rgba(255,255,255,.015);
  content: "";
}

.auth-title {
  display: grid;
  align-content: center;
  gap: 12px;
}

.auth-title::before {
  color: var(--lime);
  content: "ЛИЧНОЕ ПРОСТРАНСТВО";
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: .15em;
}

.auth-title h2 {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(2.7rem, 5vw, 5.1rem);
  font-weight: 950;
  letter-spacing: -0.06em;
  line-height: .92;
}

.auth-title .badge { width: fit-content; }

.auth-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.auth-card {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 11px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 26px;
  background: rgba(255,255,255,.07);
}

.auth-card > strong {
  font-family: var(--font);
  font-size: 1.18rem;
  letter-spacing: -.025em;
}

.small-note {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.auth-panel .small-note { color: rgba(255,255,255,.55); }

.login-button {
  display: inline-flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: auto;
  padding: 0 17px;
  border: 0;
  border-radius: 999px;
  font-weight: 820;
  transition: transform 180ms ease, filter 180ms ease;
}

.login-button:hover { transform: translateY(-2px); filter: brightness(1.04); }
.login-button--telegram { color: #fff; background: #229ed9; }
.login-button--google { color: var(--ink); border: 1px solid var(--line); background: #17201c; }
.login-button--disabled { opacity: .5; cursor: not-allowed; }

.provider-mark {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
}

.provider-mark svg { width: 15px; height: 15px; }
.provider-mark--telegram { background: rgba(255,255,255,.18); }
.provider-mark--google { color: #7cb2ff; background: #202a25; font-weight: 900; }

.telegram-login-box,
.telegram-login-actions {
  display: grid;
  gap: 8px;
}

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

.telegram-reopen {
  min-width: 0;
  padding: 0;
  border: 0;
  color: var(--lime);
  font-size: .69rem;
  text-align: left;
  text-decoration: none;
  background: transparent;
}

.telegram-login-status {
  min-height: 1.2em;
  color: rgba(255,255,255,.56);
  font-size: .68rem;
  line-height: 1.4;
}

.telegram-login-status--error,
.telegram-login-status--expired { color: #ff9dad; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 25px;
  align-items: center;
  margin-bottom: 35px;
  padding: 27px 4px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: .8rem;
  text-align: center;
}

.site-footer > div {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
}

.site-footer > div a {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 730;
  text-decoration: none;
}

/* Account */
.account-panel,
.support-panel,
.admin-panel {
  display: grid;
  gap: 24px;
  padding: 70px 0 85px;
}

.page-intro {
  display: flex;
  min-height: 315px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  overflow: hidden;
  padding: clamp(34px, 6vw, 65px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--mint-light);
}

.page-intro--account {
  position: relative;
  background:
    linear-gradient(rgba(182,255,72,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(182,255,72,.03) 1px, transparent 1px),
    radial-gradient(circle at 92% 10%, rgba(54,191,255,.14), transparent 16rem),
    radial-gradient(circle at 5% 100%, rgba(182,255,72,.1), transparent 22rem),
    var(--panel);
  background-size: 28px 28px, 28px 28px, auto, auto, auto;
}

.page-intro--account::after {
  position: absolute;
  top: 35px;
  right: 55px;
  width: 130px;
  height: 130px;
  border: 1px solid var(--line-strong);
  border-radius: 38px;
  content: "";
  transform: rotate(12deg);
  box-shadow: 0 0 0 28px rgba(255,255,255,.12), 0 0 0 56px rgba(255,255,255,.08);
}

.page-intro > * { position: relative; z-index: 2; }

.page-intro h1 {
  max-width: 740px;
  font-size: clamp(3.3rem, 6.5vw, 6.5rem);
  line-height: .9;
}

.page-intro > div > p:last-child { max-width: 520px; margin-top: 24px; }

.ghost-link {
  flex: 0 0 auto;
  background: var(--panel-2);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stat-card,
.table-card,
.admin-card {
  min-width: 0;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(13,18,16,.86);
  box-shadow: var(--shadow-small);
  backdrop-filter: blur(14px);
}

.table-card__head,
.list-item__top,
.thread-head {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.table-card__head h3,
.stat-card h3,
.admin-card h3 {
  margin: 0;
  font-family: var(--font);
  font-size: 1.35rem;
  font-weight: 880;
  letter-spacing: -.035em;
}

.table-card__head .eyebrow { margin-bottom: 8px; }

.status-list,
.order-list,
.notification-list,
.user-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.status-line,
.list-item {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 15px;
  border-radius: 17px;
  background: var(--panel-2);
}

.status-line span,
.list-item p {
  margin: 0;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.45;
}

.status-line strong { font-size: .82rem; text-align: right; overflow-wrap: anywhere; }

.list-item {
  display: grid;
  align-items: stretch;
}

.list-item__top > strong { overflow-wrap: anywhere; }

.state-badge,
.badge {
  display: inline-flex;
  width: fit-content;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  padding: 4px 9px;
  border-radius: 999px;
  color: #72f6c5;
  border: 1px solid rgba(63,240,178,.15);
  background: #0b2d22;
  font-size: .63rem;
  font-weight: 850;
  white-space: nowrap;
}

.state-badge--warn { color: #ffd978; background: #33280d; }
.state-badge--error { color: #ff8799; background: #341219; }

.empty {
  display: grid;
  min-height: 126px;
  place-items: center;
  padding: 23px;
  border: 1px dashed var(--line-strong);
  border-radius: 22px;
  color: var(--muted);
  text-align: center;
}

.empty strong { display: block; color: var(--ink); }
.empty p { max-width: 440px; margin: 7px 0 0; font-size: .77rem; line-height: 1.5; }

/* Support */
.support-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr);
  gap: 40px;
  align-items: center;
  min-height: 510px;
  overflow: hidden;
  padding: clamp(36px, 6vw, 72px);
  border-radius: var(--radius-xl);
  color: #fff;
  background:
    linear-gradient(rgba(54,191,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(54,191,255,.03) 1px, transparent 1px),
    radial-gradient(circle at 0 100%, rgba(54,191,255,.17), transparent 28rem),
    radial-gradient(circle at 100% 0, rgba(182,255,72,.09), transparent 20rem),
    var(--black);
  background-size: 30px 30px, 30px 30px, auto, auto, auto;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.support-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 23px;
  color: var(--lime);
  font-size: .72rem;
  font-weight: 860;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.support-status > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(204,246,107,.1);
}

.support-hero h1 {
  max-width: 790px;
  font-size: clamp(3.3rem, 6vw, 6.3rem);
  line-height: .9;
}

.support-hero h1 span { color: var(--mint); }

.support-hero p {
  max-width: 620px;
  margin: 26px 0 30px;
  color: rgba(255,255,255,.62);
  line-height: 1.65;
}

.support-hero .primary-button { color: var(--on-accent); background: var(--lime); }

.support-visual {
  position: relative;
  min-height: 350px;
}

.support-visual::before {
  position: absolute;
  inset: 25px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(255,255,255,.025), 0 0 0 68px rgba(255,255,255,.015);
  content: "";
}

.support-bubble {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  box-shadow: 0 20px 40px rgba(0,0,0,.24);
}

.support-bubble--user {
  top: 45px;
  right: 12px;
  width: 68%;
  height: 104px;
  justify-content: center;
  gap: 8px;
  border-radius: 30px 30px 7px 30px;
  border: 1px solid var(--line);
  background: #17201c;
}

.support-bubble--user span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b5b8bf;
  animation: typing 1.2s ease-in-out infinite;
}

.support-bubble--user span:nth-child(2) { animation-delay: .15s; }
.support-bubble--user span:nth-child(3) { animation-delay: .3s; }

@keyframes typing { 50% { opacity: .35; transform: translateY(-5px); } }

.support-bubble--agent {
  bottom: 63px;
  left: 3px;
  width: 76%;
  min-height: 124px;
  gap: 14px;
  padding: 24px;
  border-radius: 30px 30px 30px 7px;
  color: var(--on-accent);
  background: var(--mint);
}

.support-bubble--agent svg { width: 30px; height: 30px; }
.support-bubble--agent strong { font: 900 1.22rem var(--font); }

.media-float {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--on-accent);
  font-size: .72rem;
  font-weight: 820;
  background: var(--lime);
  box-shadow: 0 13px 25px rgba(0,0,0,.22);
  animation: float 5s ease-in-out infinite;
}

.media-float svg { width: 16px; }
.media-float--image { top: 17px; left: 0; }
.media-float--video { right: 0; bottom: 35px; color: var(--on-accent); background: var(--violet); animation-delay: -2s; }

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

.support-guide-grid article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 15px;
  min-width: 0;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: rgba(13,18,16,.86);
  box-shadow: var(--shadow-small);
}

.support-guide-grid article > span {
  color: var(--lime);
  font-size: .66rem;
  font-weight: 900;
}

.support-guide-grid article > div { display: grid; gap: 6px; }
.support-guide-grid strong { font-family: var(--font); font-size: .98rem; letter-spacing: -.02em; }
.support-guide-grid small { color: var(--muted); font-size: .72rem; line-height: 1.45; }

.support-heading { margin-top: 38px; }
.support-heading h2,
.admin-panel .section-heading h2 { margin: 0; font: 950 clamp(2.5rem,5vw,4.7rem)/.95 var(--font); letter-spacing: -.055em; }

.support-layout {
  display: grid;
  grid-template-columns: minmax(260px, .34fr) minmax(0, 1fr);
  gap: 12px;
  min-height: 600px;
}

.ticket-list,
.ticket-thread {
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(13,18,16,.86);
  box-shadow: var(--shadow-small);
  backdrop-filter: blur(15px);
}

.ticket-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ticket-button {
  display: grid;
  min-width: 0;
  gap: 7px;
  padding: 16px;
  border: 1px solid transparent;
  border-radius: 19px;
  color: var(--ink);
  text-align: left;
  background: var(--panel-2);
  transition: transform 180ms ease, background 180ms ease;
}

.ticket-button:hover { transform: translateX(3px); }
.ticket-button.active { color: var(--on-accent); background: var(--lime); }
.ticket-button.active .mini-label { color: rgba(7,16,12,.65); }

.ticket-thread { display: flex; min-height: 0; flex-direction: column; }

.thread-head {
  padding: 7px 7px 15px;
  border-bottom: 1px solid var(--line);
}

.thread-head > div { display: grid; gap: 3px; }

.thread-body {
  display: flex;
  min-height: 330px;
  max-height: 540px;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding: 18px 6px;
  scrollbar-width: thin;
}

.message {
  display: grid;
  max-width: min(76%, 620px);
  gap: 7px;
  align-self: flex-start;
  padding: 14px 16px;
  border-radius: 20px 20px 20px 6px;
  color: var(--ink);
  background: var(--panel-2);
}

.message.user {
  align-self: flex-end;
  border-radius: 20px 20px 6px 20px;
  color: var(--on-accent);
  background: var(--lime);
}

.message.agent,
.message.api { background: var(--mint-light); }
.message.system { align-self: center; max-width: 90%; text-align: center; background: var(--violet-light); }

.message small { color: var(--muted); font-size: .62rem; }
.message.user small { color: rgba(7,16,12,.58); }
.message-text { font-size: .83rem; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }

.message-attachments {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.attachment {
  min-width: 0;
  overflow: hidden;
  border-radius: 13px;
}

.attachment--image { display: block; background: rgba(0,0,0,.08); }
.attachment--image img { display: block; width: 100%; max-height: 240px; object-fit: cover; }
.attachment--video { display: grid; gap: 5px; }
.attachment--video video { display: block; width: 100%; max-height: 290px; border-radius: 13px; background: #000; }
.attachment--video span { overflow: hidden; font-size: .63rem; text-overflow: ellipsis; white-space: nowrap; }
.attachment--file { display: flex; align-items: center; gap: 7px; padding: 10px; color: inherit; background: rgba(0,0,0,.07); font-size: .7rem; text-decoration: none; }

.thread-compose {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.compose-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
  align-items: end;
  min-width: 0;
  padding: 7px 7px 7px 14px;
  border: 1px solid transparent;
  border-radius: 22px;
  background: var(--panel-2);
}

.compose-field:focus-within { border-color: rgba(182,255,72,.4); background: #16201b; }

.compose-field textarea {
  min-width: 0;
  width: 100%;
  resize: vertical;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.attach-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 15px;
  background: #1b2721;
  cursor: pointer;
}

.attachment-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.file-selection {
  display: flex;
  grid-column: 1 / -1;
  min-width: 0;
  flex-wrap: wrap;
  gap: 6px;
}

.selected-file {
  display: inline-flex;
  min-width: 0;
  max-width: 100%;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 10px;
  color: var(--ink);
  background: #1b2721;
  font-size: .67rem;
}

.selected-file > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.selected-file svg { width: 14px; height: 14px; }
.selected-file small { color: var(--muted); white-space: nowrap; }
.upload-progress { grid-column: 1 / -1; min-height: 1em; color: var(--muted); font-size: .67rem; }

/* Admin */
.admin-panel > .section-heading { align-items: start; }

.segmented {
  display: flex;
  max-width: 100%;
  gap: 5px;
  overflow-x: auto;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(13,18,16,.82);
  scrollbar-width: none;
}

.segmented::-webkit-scrollbar { display: none; }

.segmented button {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: .75rem;
  font-weight: 770;
  white-space: nowrap;
}

.segmented button.active { color: var(--on-accent); background: var(--lime); }

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.admin-card { margin-bottom: 12px; }
.admin-stats .admin-card { margin: 0; }
.admin-card > strong { display: block; font: 950 clamp(1.8rem,3vw,3rem)/1 var(--font); letter-spacing: -.05em; }
.admin-card > span { display: block; margin-top: 8px; color: var(--muted); font-size: .73rem; }

.admin-table {
  width: 100%;
  margin-top: 15px;
  border-collapse: collapse;
  font-size: .75rem;
}

.admin-table th,
.admin-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  overflow-wrap: anywhere;
}

.admin-table th { color: var(--muted); font-size: .65rem; text-transform: uppercase; letter-spacing: .05em; }

.heatmap {
  display: grid;
  grid-template-columns: repeat(12, minmax(16px, 1fr));
  gap: 5px;
  overflow-x: auto;
  padding: 12px 0;
}

.heat-cell { aspect-ratio: 1; border-radius: 6px; background: var(--mint-light); }

.notify-form { display: grid; gap: 12px; }
.notify-form input,
.notify-form textarea,
.notify-form select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  outline: 0;
  color: var(--ink);
  background: var(--panel-2);
}

/* Modal and forms */
.modal {
  width: min(590px, calc(100% - 24px));
  max-height: calc(100vh - 24px);
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 35px;
  color: var(--ink);
  background: transparent;
}

.modal::backdrop {
  background: rgba(15,18,22,.64);
  backdrop-filter: blur(10px);
}

.modal[open] { animation: modal-in 220ms ease both; }

@keyframes modal-in {
  from { opacity: 0; transform: translateY(15px) scale(.98); }
}

.modal-surface {
  position: relative;
  display: grid;
  max-height: calc(100vh - 24px);
  gap: 17px;
  overflow-y: auto;
  padding: 31px;
  border: 1px solid var(--line-strong);
  border-radius: 35px;
  background: var(--panel);
  box-shadow: 0 35px 90px rgba(0,0,0,.3);
}

.modal-surface h3 {
  margin: 0;
  font: 930 2rem/1 var(--font);
  letter-spacing: -.045em;
}

.modal-copy,
.captcha-copy {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.5;
}

.modal-close {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 14px;
  color: var(--ink);
  background: var(--panel-2);
}

.modal-surface textarea,
.captcha-answer input {
  width: 100%;
  padding: 15px 16px;
  resize: vertical;
  border: 1px solid transparent;
  border-radius: 19px;
  outline: 0;
  color: var(--ink);
  background: var(--panel-2);
}

.modal-surface textarea:focus,
.captcha-answer input:focus { border-color: rgba(182,255,72,.45); background: #17211c; }

.file-picker {
  display: block;
  cursor: pointer;
}

.file-picker input { position: absolute; width: 1px; height: 1px; opacity: 0; }

.file-picker > span {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: 5px 12px;
  padding: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 20px;
  background: var(--panel-2);
  transition: border-color 180ms ease, background 180ms ease;
}

.file-picker:hover > span { border-color: var(--mint); background: var(--mint-light); }
.file-picker svg { grid-row: span 2; margin-top: 3px; }
.file-picker strong { font-size: .82rem; }
.file-picker small { color: var(--muted); font-size: .7rem; }

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.captcha-surface { gap: 20px; }

.captcha-image-wrap {
  position: relative;
  display: grid;
  min-height: 148px;
  place-items: center;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #121a16;
}

.captcha-image-wrap img { width: 100%; min-height: 148px; object-fit: cover; }

.captcha-refresh {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: var(--black);
}

.captcha-answer { display: grid; gap: 8px; }
.captcha-answer > span { color: var(--muted); font-size: .7rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.captcha-submit { width: 100%; }
.form-error { min-height: 1.2em; margin: -9px 0 0; color: var(--red); font-size: .74rem; }

.toast {
  position: fixed;
  z-index: 80;
  right: 20px;
  bottom: 20px;
  max-width: min(420px, calc(100% - 40px));
  padding: 14px 18px;
  border-radius: 17px;
  color: #fff;
  border: 1px solid var(--line-strong);
  background: var(--black);
  box-shadow: 0 18px 45px rgba(0,0,0,.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show { opacity: 1; transform: translateY(0); }
.toast[data-tone="error"] { background: #a82f43; }

@media (max-width: 1120px) {
  .hero-panel { grid-template-columns: minmax(0, 1fr) minmax(400px, .85fr); gap: 40px; }
  .hero-panel h1 { font-size: clamp(4.2rem, 7.3vw, 6rem); }
  .connection-card { right: 30px; left: 30px; }
  .feature-card > div:nth-of-type(2) { max-width: 80%; }
  .tariff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tariff-card { min-height: 385px; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 92px; }
  .topbar { grid-template-columns: auto 1fr auto; }
  .brand-copy small { display: none; }
  .topnav a { padding-inline: 12px; }
  .page-grid { gap: 76px; }
  .hero-panel { grid-template-columns: minmax(0, 1fr); min-height: auto; padding: 80px 20px 20px; }
  .hero-copy-block { text-align: center; }
  .hero-copy-block .eyebrow,
  .hero-actions,
  .hero-proof { justify-content: center; }
  .hero-copy { margin-right: auto; margin-left: auto; }
  .hero-visual { width: min(620px, 100%); min-height: 620px; margin: 5px auto 0; }
  .value-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-strip > div:nth-child(2) { border-right: 0; }
  .value-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .story-heading { grid-template-columns: minmax(0, 1fr); }
  .story-heading > p:last-child { max-width: 620px; }
  .feature-card--devices,
  .feature-card--speed,
  .feature-card--payment,
  .feature-card--support { grid-column: span 6; }
  .feature-card { min-height: 380px; }
  .feature-card > div:nth-of-type(2) { max-width: 100%; }
  .feature-card strong { font-size: 2rem; }
  .device-stack span { width: 58px; height: 58px; border-radius: 20px; }
  .steps-section { grid-template-columns: minmax(0,1fr); }
  .section-kicker { max-width: 680px; }
  .tariff-heading { display: grid; }
  .tariff-heading > p { max-width: 620px; }
  .tariff-controls { grid-template-columns: minmax(0,1fr); }
  .auth-panel { grid-template-columns: minmax(0,1fr); }
  .auth-title { max-width: 650px; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer p { display: none; }
  .support-hero { grid-template-columns: minmax(0,1fr); }
  .support-visual { width: min(480px,100%); min-height: 300px; margin: 0 auto; }
  .support-layout { grid-template-columns: minmax(0,1fr); }
  .ticket-list { flex-direction: row; overflow-x: auto; }
  .ticket-button { min-width: 220px; }
  .admin-panel > .section-heading { display: grid; }
  .admin-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 680px) {
  body { padding-bottom: 78px; }
  .topbar {
    position: sticky;
    top: 8px;
    grid-template-columns: 1fr auto;
    width: calc(100% - 16px);
    min-height: 60px;
    margin-top: 8px;
    padding: 7px 8px 7px 12px;
  }
  .brand-mark { width: 36px; height: 36px; }
  .topnav {
    position: fixed;
    z-index: 50;
    right: 8px;
    bottom: 8px;
    left: 8px;
    justify-content: stretch;
    overflow-x: auto;
    padding: 6px;
    border: 1px solid rgba(182,255,72,.14);
    border-radius: 999px;
    background: rgba(7,12,9,.93);
    box-shadow: 0 16px 46px rgba(0,0,0,.5);
    backdrop-filter: blur(18px);
    scrollbar-width: none;
  }
  .topnav::-webkit-scrollbar { display: none; }
  .topnav a { min-width: max-content; flex: 1; padding: 10px 13px; text-align: center; font-size: .75rem; }
  .top-actions { grid-column: 2; grid-row: 1; }
  .icon-button { width: 42px; min-height: 42px; }
  .login-pill { min-height: 42px; padding: 0 17px; font-size: .79rem; }
  .page-grid { width: calc(100% - 18px); gap: 62px; }
  .hero-panel { gap: 37px; padding: 55px 2px 5px; }
  .hero-panel h1 { font-size: clamp(3.25rem, 15.5vw, 5rem); }
  .hero-copy { margin-top: 21px; font-size: .96rem; line-height: 1.55; }
  .hero-actions { display: grid; grid-template-columns: minmax(0,1fr); }
  .hero-cta,
  .hero-secondary { width: 100%; min-height: 54px; }
  .hero-proof { gap: 9px 14px; }
  .hero-proof span { font-size: .76rem; }
  .hero-visual { min-height: 590px; border-radius: 38px; }
  .float-chip--devices { top: 18px; left: 14px; }
  .float-chip--speed { top: 58px; right: 12px; }
  .connection-card { top: 95px; right: 15px; left: 15px; min-height: 352px; padding: 20px 15px; border-radius: 29px; }
  .connection-core { width: 115px; height: 115px; }
  .core-icon { width: 71px; height: 71px; border-radius: 24px; }
  .device-cloud span { padding-inline: 8px; font-size: .63rem; }
  .hero-card { right: 13px; bottom: 13px; left: 13px; padding: 12px; border-radius: 22px; }
  .metrics-mini { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .account-row + .metrics-mini { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .metric-mini { padding: 8px 6px; }
  .value-strip { border-radius: 24px; }
  .value-strip > div { min-height: 62px; padding: 9px; font-size: .7rem; }
  .value-strip > div { display: grid; gap: 6px; }
  .main-panel { gap: 74px; }
  .story-heading .eyebrow { margin-bottom: -12px; }
  .story-heading h2,
  .section-kicker h2,
  .tariff-heading h2 { font-size: clamp(2.75rem, 13vw, 4.2rem); }
  .feature-grid { grid-template-columns: minmax(0,1fr); margin-top: -38px; }
  .feature-card--devices,
  .feature-card--speed,
  .feature-card--payment,
  .feature-card--support { grid-column: 1; }
  .feature-card { min-height: 340px; padding: 24px; border-radius: 29px; }
  .feature-card strong { font-size: 2rem; }
  .feature-card > div:nth-of-type(2) { max-width: 78%; }
  .feature-card--payment > div:nth-of-type(2) { max-width: 88%; }
  .device-stack { right: 20px; bottom: 20px; }
  .device-stack span { width: 55px; height: 55px; margin-left: -16px; border-width: 3px; }
  .speed-gauge { right: -42px; bottom: -50px; width: 200px; height: 200px; }
  .payment-orbit span { width: 56px; height: 56px; }
  .steps-section { gap: 34px; padding: 28px 18px; border-radius: 34px; }
  .step-card { grid-template-columns: auto minmax(0,1fr); min-height: auto; padding: 16px; }
  .step-card > span { grid-column: 1 / -1; }
  .step-icon { width: 47px; height: 47px; }
  .tariff-controls { padding: 7px; border-radius: 24px; }
  .payment-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .pay-button { min-width: 0; padding: 0 8px; font-size: .72rem; }
  .pay-title-full { display: none; }
  .pay-title-short { display: inline; overflow: hidden; text-overflow: ellipsis; }
  .tariff-grid { grid-template-columns: minmax(0,1fr); }
  .tariff-card { min-height: 365px; padding: 24px; border-radius: 29px; }
  .tariff-card:hover { transform: translateY(-3px); }
  .price strong { font-size: 3.45rem; }
  .payment-note { align-items: flex-start; }
  .auth-panel { padding: 28px 18px; border-radius: 34px; }
  .auth-title h2 { font-size: 3.5rem; }
  .auth-list { grid-template-columns: minmax(0,1fr); }
  .auth-card { padding: 18px; }
  .site-footer { grid-template-columns: minmax(0,1fr); justify-items: center; margin-bottom: 5px; text-align: center; }
  .site-footer > div { justify-content: center; }
  .account-panel,
  .support-panel,
  .admin-panel { padding: 48px 0 15px; }
  .page-intro { display: grid; min-height: 420px; align-content: end; padding: 28px 22px; border-radius: 34px; }
  .page-intro h1 { font-size: clamp(3.1rem,14vw,4.7rem); }
  .page-intro--account::after { top: 32px; right: 28px; }
  .ghost-link { width: 100%; }
  .dashboard-grid { grid-template-columns: minmax(0,1fr); }
  .stat-card,
  .table-card,
  .admin-card { padding: 20px; border-radius: 27px; }
  .table-card__head { align-items: flex-start; }
  .support-hero { min-height: auto; padding: 34px 21px; border-radius: 34px; }
  .support-hero h1 { font-size: clamp(3.15rem,14vw,5rem); }
  .support-hero .primary-button { width: 100%; }
  .support-visual { min-height: 275px; }
  .support-bubble--user { height: 87px; }
  .support-bubble--agent { min-height: 100px; padding: 18px; }
  .support-guide-grid { grid-template-columns: minmax(0,1fr); }
  .support-heading { align-items: end; }
  .support-heading .primary-button { width: 48px; min-height: 48px; padding: 0; }
  .support-heading .primary-button svg { margin: 0; }
  .support-heading .primary-button { font-size: 0; }
  .ticket-list,
  .ticket-thread { border-radius: 25px; }
  .ticket-button { min-width: 195px; }
  .thread-body { max-height: 480px; }
  .message { max-width: 88%; }
  .thread-compose { grid-template-columns: minmax(0,1fr); }
  .thread-compose > .primary-button { width: 100%; }
  .message-attachments { grid-template-columns: minmax(0,1fr); }
  .admin-panel > .section-heading { gap: 18px; }
  .segmented { width: 100%; }
  .admin-stats { grid-template-columns: minmax(0,1fr); }
  .admin-table { min-width: 660px; }
  .admin-card { overflow-x: auto; }
  .modal-surface { padding: 27px 19px 20px; border-radius: 28px; }
  .modal { border-radius: 28px; }
  .modal-actions > * { flex: 1; }
  .toast { right: 10px; bottom: 82px; max-width: calc(100% - 20px); }
}

@media (max-width: 390px) {
  .brand-copy strong { font-size: .85rem; }
  .hero-panel h1 { font-size: 3.2rem; }
  .float-chip { font-size: .67rem; }
  .float-chip--speed { display: none; }
  .connection-card { top: 72px; }
  .device-cloud span:nth-child(3) { display: none; }
  .feature-card > div:nth-of-type(2) { max-width: 90%; }
  .feature-card strong { font-size: 1.75rem; }
  .payment-strip { gap: 4px; }
  .pay-button { font-size: .66rem; }
  .site-footer > div { gap: 12px; }
  .support-bubble--agent strong { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .story-heading,
  .feature-card,
  .steps-section,
  .tariffs-section,
  .auth-panel,
  .support-guide-grid {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@supports (animation-timeline: view()) {
  .story-heading,
  .feature-card,
  .steps-section,
  .tariffs-section,
  .auth-panel,
  .support-guide-grid {
    animation: section-reveal linear both;
    animation-timeline: view();
    animation-range: entry 4% cover 24%;
  }

  @keyframes section-reveal {
    from { transform: translateY(26px) scale(.985); filter: brightness(.82); }
  }
}
