/* PRUHUB Signal — landing styles */
:root {
  --bg: #08090B;
  --bg-elevated: #0E1014;
  --bg-card: #12151A;
  --bg-card-hover: #161A21;
  --red: #F12632;
  --red-deep: #A30F1B;
  --red-soft: rgba(241, 38, 50, 0.14);
  --red-line: rgba(241, 38, 50, 0.45);
  --text: #F5F6F7;
  --muted: #969BA5;
  --muted-2: #6B7280;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-red: 0 0 40px rgba(241, 38, 50, 0.18);
  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --container: 1120px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
ul { list-style: none; }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

/* Draft banner */
.draft-banner {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, #3a0a0e, #1a0508 40%, #3a0a0e);
  border-bottom: 1px solid var(--red-line);
  color: #ffc9cc;
  font-size: 13px;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: 0.02em;
}

.draft-banner strong { color: #fff; }

/* Atmosphere */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 70% -10%, rgba(241, 38, 50, 0.16), transparent 55%),
    radial-gradient(ellipse 60% 40% at 10% 20%, rgba(163, 15, 27, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 30% at 90% 80%, rgba(241, 38, 50, 0.08), transparent 45%),
    linear-gradient(180deg, #08090B 0%, #0A0C10 50%, #08090B 100%);
}

.page-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  pointer-events: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(8, 9, 11, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, background 0.25s;
  overflow: visible;
}

/* Only when draft banner is present above the header */
.draft-banner + .site-header {
  top: 33px;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(8, 9, 11, 0.9);
}

.nav {
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  position: relative;
  z-index: 3;
  padding-right: 12px;
  background: linear-gradient(90deg, rgba(8, 9, 11, 0.98) 72%, rgba(8, 9, 11, 0));
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.brand-name span {
  color: var(--red);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-left: 6px;
  font-size: 0.78em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  max-width: 100%;
  flex-wrap: nowrap;
  overflow: visible;
  position: relative;
  z-index: 1;
  padding-inline: 4px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
  position: relative;
  z-index: 3;
  padding-left: 12px;
  background: linear-gradient(270deg, rgba(8, 9, 11, 0.98) 78%, rgba(8, 9, 11, 0));
}

.nav-actions .btn-sm {
  white-space: nowrap;
  box-sizing: border-box;
  padding-inline: 14px;
}

.lang-switch-host {
  display: flex;
  align-items: center;
}

.lang-flags {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.lang-flag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 42px;
  height: 32px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s;
}

.lang-flag-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.lang-flag-btn.is-active {
  color: #fff;
  background: var(--red-soft);
}

.lang-flag-img {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.lang-flag-code {
  line-height: 1;
}

.nav-login {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 10px;
  min-width: 4.5rem;
  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
}

.nav-login:hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  border-radius: 12px;
  font-weight: 600;
  font-family: var(--font-body);
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s, border-color 0.2s, color 0.2s;
  text-align: center;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--red);
  color: #fff;
  padding: 12px 22px;
  box-shadow: 0 8px 28px rgba(241, 38, 50, 0.35);
}

.btn-primary:hover {
  background: #ff3340;
  box-shadow: 0 10px 32px rgba(241, 38, 50, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  padding: 12px 22px;
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  border-color: rgba(241, 38, 50, 0.55);
  background: var(--red-soft);
}

.btn-sm { padding: 10px 16px; font-size: 0.9rem; }
.btn-lg { padding: 15px 26px; font-size: 1rem; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* Hero */
.hero {
  padding: 48px 0 24px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  right: -8%;
  top: 10%;
  width: 55%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(241, 38, 50, 0.16), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr);
  gap: 24px 40px;
  align-items: center;
  min-height: calc(100vh - 160px);
  min-height: calc(100svh - 160px);
}

.hero-copy {
  max-width: 540px;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  /* Reserve 2 lines across languages (long KY/KK words wrap in-place) */
  min-height: calc(2 * 1.08em);
  overflow-wrap: anywhere;
  word-break: normal;
}

.hero-title .line-accent {
  color: var(--red);
}

.hero-lead {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 46ch;
  /* Longest locales (KY/KK) ~4 lines — keep CTA Y-position stable */
  min-height: calc(4 * 1.65em);
}

.hero-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-cta .btn {
  width: 100%;
  min-height: 3.4rem;
  padding-inline: 14px;
  line-height: 1.25;
  white-space: normal;
  box-sizing: border-box;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-stage {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: min(620px, 78vh);
  margin-inline: auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-glow {
  position: absolute;
  inset: 8% 5% 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 55% 35%, rgba(241, 38, 50, 0.42), transparent 55%),
    radial-gradient(circle at 40% 75%, rgba(163, 15, 27, 0.28), transparent 50%);
  filter: blur(28px);
  animation: pulseGlow 5.5s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

.hero-mist {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg) 0%, transparent 22%),
    linear-gradient(270deg, var(--bg) 0%, transparent 18%),
    linear-gradient(180deg, transparent 55%, var(--bg) 96%);
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

.hero-person {
  position: relative;
  z-index: 1;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center bottom;
  background: transparent;
  pointer-events: none;
  user-select: none;
  animation: personIn 0.9s ease both;
}

@keyframes personIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

/* Feature strip */
.feature-strip {
  padding: 8px 0 48px;
}

.feature-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 8px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--border);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  min-width: 0;
}

.feature-item > div:last-child {
  min-width: 0;
  min-height: 2.7em;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--red-soft);
  border: 1px solid rgba(241, 38, 50, 0.25);
  color: var(--red);
  flex-shrink: 0;
}

.feature-icon svg { width: 20px; height: 20px; }

.feature-item strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 650;
}

.feature-item span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 52ch;
}

.section-head.center .section-lead {
  margin-inline: auto;
}

/* Smart mode */
.smart-board {
  max-width: 960px;
  margin: 0 auto 40px;
  padding: 28px 28px 32px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(241, 38, 50, 0.08), transparent 70%),
    var(--bg-card);
  border: 1px solid var(--border);
}

.smart-board-head {
  display: grid;
  grid-template-columns: 1fr 160px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.smart-side-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.smart-side-label.hub {
  text-align: center;
  color: #ff9ea4;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 0.88rem;
}

.smart-side-label.vpn {
  text-align: right;
  color: #ff9ea4;
}

.smart-diagram {
  display: grid;
  grid-template-columns: 1fr 160px 1fr;
  gap: 16px;
  align-items: stretch;
}

.route-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.route-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  min-height: 68px;
}

.route-card.direct {
  border-color: rgba(255, 255, 255, 0.1);
}

.route-card.vpn {
  border-color: rgba(241, 38, 50, 0.4);
  background: linear-gradient(90deg, rgba(241, 38, 50, 0.1), rgba(255, 255, 255, 0.02));
}

.route-card .icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  flex-shrink: 0;
}

.route-card.vpn .icon-box {
  color: #ff9ea4;
  background: rgba(241, 38, 50, 0.12);
}

.route-card strong {
  display: block;
  font-size: 0.95rem;
}

.route-card span {
  font-size: 0.78rem;
  color: var(--muted);
}

.route-hub {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

.route-lines {
  position: absolute;
  inset: 18% 0;
  pointer-events: none;
}

.route-lines .line {
  position: absolute;
  top: 50%;
  width: 42%;
  height: 2px;
  transform: translateY(-50%);
}

.route-lines .line.left {
  left: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
}

.route-lines .line.right {
  right: 0;
  background: linear-gradient(90deg, rgba(241, 38, 50, 0.15), rgba(241, 38, 50, 0.75));
  box-shadow: 0 0 10px rgba(241, 38, 50, 0.35);
}

.route-center {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 40%, rgba(241, 38, 50, 0.35), transparent 65%),
    #161A21;
  border: 1px solid rgba(241, 38, 50, 0.5);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-red);
  position: relative;
  z-index: 1;
}

.route-center .route-mark {
  width: 56px;
  height: 56px;
  display: block;
  object-fit: contain;
  border-radius: 14px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 960px;
  margin-inline: auto;
}

.stat {
  padding: 22px 18px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.stat span {
  color: var(--muted);
  font-size: 0.88rem;
}

/* Apps */
.platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.platform-pill svg {
  width: 18px;
  height: 18px;
  color: var(--text);
}

.devices-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 55% 55% at 50% 55%, rgba(241, 38, 50, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
  border: 1px solid var(--border);
  overflow: hidden;
  padding: 48px 24px 40px;
}

.devices-cluster {
  position: relative;
  width: min(720px, 100%);
  height: 340px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.device-laptop-wrap {
  position: relative;
  z-index: 2;
  width: min(460px, 70%);
  flex-shrink: 0;
}

.device-laptop {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px 12px 4px 4px;
  background: #15181e;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  padding: 10px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.device-laptop-screen {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  border-radius: 6px;
  background:
    radial-gradient(circle at 50% 30%, rgba(241, 38, 50, 0.22), transparent 55%),
    #0A0C10;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.laptop-ui {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.laptop-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.laptop-bar .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.laptop-bar .dot:first-child { background: #F12632; }
.laptop-bar strong { margin-left: 8px; font-weight: 700; }
.laptop-bar em { color: var(--red); font-style: normal; margin-left: 4px; }

.laptop-body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.laptop-power {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(241, 38, 50, 0.7);
  box-shadow: 0 0 24px rgba(241, 38, 50, 0.4);
  background: radial-gradient(circle at 50% 40%, rgba(241, 38, 50, 0.4), transparent 70%);
}

.laptop-meta {
  text-align: center;
}

.laptop-meta b {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 2px;
}

.laptop-meta span {
  color: var(--muted);
  font-size: 0.75rem;
}

.device-laptop-base {
  width: 108%;
  height: 10px;
  margin: 0 auto;
  margin-left: -4%;
  background: #1a1d24;
  border-radius: 0 0 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: none;
}

.device-phone-sm {
  position: absolute;
  bottom: 18px;
  width: 148px;
  height: 290px;
  border-radius: 22px;
  background: #12151A;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  padding: 8px;
  z-index: 3;
}

.device-phone-sm.left {
  left: 2%;
  transform: rotate(-7deg);
}

.device-phone-sm.right {
  right: 2%;
  transform: rotate(7deg);
}

.device-phone-sm-screen {
  height: 100%;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 35%, rgba(241, 38, 50, 0.35), transparent 55%),
    #0A0C10;
  display: grid;
  place-items: center;
}

.mini-ui {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.mini-ui span {
  font-size: 0.7rem;
  color: #7CFFB2;
  font-weight: 600;
}

.device-phone-sm-screen .mini-power {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--red);
  box-shadow: 0 0 16px rgba(241, 38, 50, 0.45);
  background: radial-gradient(circle at 50% 40%, rgba(241, 38, 50, 0.45), transparent 70%);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.step {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0.7;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(241, 38, 50, 0.35);
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Lifestyle */
.lifestyle {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 0.95fr);
  align-items: stretch;
  background:
    radial-gradient(ellipse 50% 80% at 78% 55%, rgba(241, 38, 50, 0.22), transparent 60%),
    linear-gradient(115deg, #0b0c10 0%, #08090B 48%, #0a0709 100%);
}

.lifestyle-media {
  position: relative;
  order: 2;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
}

.lifestyle-glow {
  position: absolute;
  width: 70%;
  height: 70%;
  left: 50%;
  top: 20%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 38, 50, 0.28), transparent 65%);
  filter: blur(24px);
  pointer-events: none;
}

.lifestyle-person {
  position: relative;
  z-index: 1;
  height: 100%;
  width: auto;
  max-width: 100%;
  max-height: 480px;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
  /* Soft blend into card — not a hard crop */
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 12%),
    linear-gradient(180deg, #000 78%, transparent 100%);
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 12%),
    linear-gradient(180deg, #000 78%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}

.lifestyle-content {
  position: relative;
  z-index: 2;
  order: 1;
  padding: 48px 28px 48px 40px;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lifestyle-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.15;
  margin-bottom: 12px;
}

.lifestyle-content p {
  color: var(--muted);
  margin-bottom: 24px;
}

/* Pricing */
.pricing-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  margin: -16px auto 32px;
  max-width: 54ch;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.plan {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, background 0.2s, box-shadow 0.2s;
  text-align: left;
  width: 100%;
}

.plan:hover {
  border-color: rgba(241, 38, 50, 0.35);
  background: var(--bg-card-hover);
}

.plan.selected {
  border-color: rgba(241, 38, 50, 0.7);
  box-shadow: 0 0 0 1px rgba(241, 38, 50, 0.35), var(--shadow-red);
  background: linear-gradient(180deg, rgba(241, 38, 50, 0.1), var(--bg-card));
}

.plan-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: 5px 9px;
  border-radius: 8px;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 650;
  margin-bottom: 6px;
}

.plan-desc {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 18px;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}

.plan-price small {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 4px;
}

.plan-meta {
  color: var(--muted-2);
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.plan-select {
  width: 100%;
  pointer-events: none;
}

.plan.selected .plan-select {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.limits-line {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 36px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border-strong);
}

.limits-line strong { color: var(--text); }

/* Checkout */
.checkout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: start;
}

.checkout-panel,
.summary-panel {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.checkout-panel h3,
.summary-panel h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 18px;
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.payment-option:hover { border-color: var(--border-strong); }

.payment-option.selected {
  border-color: rgba(241, 38, 50, 0.55);
  background: var(--red-soft);
}

.payment-option.disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: not-allowed;
  filter: grayscale(0.35);
}

.payment-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.payment-icon svg { width: 20px; height: 20px; }

.payment-info { flex: 1; }
.payment-name { font-weight: 650; font-size: 0.95rem; }
.payment-tags { color: var(--muted); font-size: 0.8rem; margin-top: 2px; }

.payment-radio {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  display: grid;
  place-items: center;
}

.payment-option.selected .payment-radio {
  border-color: var(--red);
  background: var(--red);
}

.payment-radio svg {
  width: 12px;
  height: 12px;
  opacity: 0;
  color: #fff;
}

.payment-option.selected .payment-radio svg { opacity: 1; }

.contact-hint {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.auto-renew-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  user-select: none;
}

.auto-renew-toggle input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}

.auto-renew-box {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  display: grid;
  place-items: center;
  background: transparent;
  color: #fff;
  transition: border-color 0.15s, background 0.15s;
}

.auto-renew-box svg {
  width: 12px;
  height: 12px;
  opacity: 0;
  transition: opacity 0.15s;
}

.auto-renew-toggle input:checked + .auto-renew-box {
  border-color: var(--red);
  background: var(--red);
}

.auto-renew-toggle input:checked + .auto-renew-box svg {
  opacity: 1;
}

.auto-renew-toggle:hover .auto-renew-box {
  border-color: rgba(241, 38, 50, 0.55);
}

.auto-renew-toggle input:focus-visible + .auto-renew-box {
  outline: 2px solid rgba(241, 38, 50, 0.45);
  outline-offset: 2px;
}

.contact-type-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.contact-type-btn {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  border-radius: 10px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
}

.contact-type-btn.selected {
  border-color: rgba(241, 38, 50, 0.55);
  background: var(--red-soft);
  color: #ffc9cc;
}

.contact-input {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 12px;
  padding: 13px 14px;
  outline: none;
}

.contact-input + .contact-input {
  margin-top: 10px;
}

.contact-input:focus {
  border-color: rgba(241, 38, 50, 0.55);
}

.contact-error {
  margin-top: 10px;
  color: #ff9ea4;
  font-size: 0.88rem;
}

.summary-plan {
  color: var(--muted);
  margin-bottom: 8px;
}

.summary-price {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}

.btn-pay {
  width: 100%;
  margin-bottom: 10px;
}

.btn-pay:disabled {
  opacity: 0.6;
  cursor: wait;
}

.btn-disclaimer {
  color: var(--muted-2);
  font-size: 0.8rem;
  text-align: center;
  margin-bottom: 18px;
}

.btn-disclaimer a {
  color: #ff9ea4;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.summary-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.summary-features svg {
  width: 16px;
  height: 16px;
  color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
}

.pay-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--muted-2);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.pay-logos span {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

/* Trust */
.trust-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr;
  gap: 16px;
}

.trust-card {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.trust-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.trust-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trust-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.92rem;
}

.trust-list .t-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--red-soft);
  color: var(--red);
  flex-shrink: 0;
}

.trust-list .t-icon svg { width: 16px; height: 16px; }

.review-stars {
  color: var(--red);
  letter-spacing: 2px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.review-text {
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.55;
  margin-bottom: 16px;
}

.review-author {
  color: var(--muted);
  font-size: 0.88rem;
}

.tg-support {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tg-support p {
  color: var(--muted);
  margin-bottom: 18px;
  flex: 1;
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 650;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

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

.faq-item summary::after {
  content: "+";
  color: var(--red);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1;
}

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

.faq-item p {
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  margin-top: 40px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.35));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 14px;
  max-width: 32ch;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  padding: 5px 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted-2);
  font-size: 0.85rem;
}

/* Reveal animations — visible by default if app.js never loads (Safari/MTU stalls) */
.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  html.js-ready .reveal:not(.is-visible) {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  html.js-ready .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
/* Header compact: avoid logo/nav/flags overlap on mid widths + long locales */
@media (max-width: 1240px) {
  .nav {
    grid-template-columns: auto auto;
    gap: 12px;
  }
  .nav-links {
    display: none;
  }
  .nav-login { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn-sm { min-width: 0; }
  .lang-flag-code { display: none; }
  .lang-flag-btn { min-width: 34px; padding: 0 6px; }
  .brand { background: none; padding-right: 0; }
  .nav-actions { background: none; padding-left: 0; }

  .nav-links.is-open {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(8, 9, 11, 0.96);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px 20px;
    gap: 4px;
    overflow: visible;
    z-index: 40;
    max-width: none;
  }
  .nav-links.is-open a {
    font-size: 1rem;
    padding: 12px 14px;
  }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 36px;
  }

  .hero-copy {
    max-width: none;
    text-align: center;
  }

  .hero-lead { margin-inline: auto; }
  .hero-cta {
    justify-content: stretch;
    grid-template-columns: 1fr;
    max-width: none;
  }
  .hero-title { min-height: 0; }
  .hero-lead { min-height: 0; }

  .hero-visual {
    min-height: 440px;
    max-width: 360px;
    margin-inline: auto;
  }

  .hero-stage {
    height: min(480px, 58vh);
  }


  .feature-strip-inner,
  .stats-row,
  .plans,
  .steps,
  .trust-grid,
  .checkout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-strip-inner { grid-template-columns: 1fr 1fr; }

  .smart-board {
    padding: 20px 16px 24px;
  }

  .smart-board-head,
  .smart-diagram {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .smart-side-label,
  .smart-side-label.vpn,
  .smart-side-label.hub {
    text-align: center;
  }

  .smart-board-head .smart-side-label:not(.hub) {
    display: none;
  }

  .route-hub {
    order: -1;
    min-height: auto;
    padding: 8px 0 4px;
  }

  .route-lines { display: none; }

  .route-center {
    margin: 0 auto;
  }

  .devices-stage {
    min-height: 360px;
    padding: 36px 16px 28px;
  }

  .devices-cluster {
    height: 300px;
  }

  .device-phone-sm {
    width: 110px;
    height: 220px;
  }

  .device-laptop-wrap {
    width: min(360px, 68%);
  }

  .lifestyle {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .lifestyle-media {
    min-height: 360px;
    order: 0;
  }

  .lifestyle-person {
    max-height: 400px;
  }

  .lifestyle-content {
    padding: 28px 24px 36px;
    order: 0;
  }
}

@media (max-width: 600px) {
  .container { width: min(100% - 28px, var(--container)); }
  .hero { padding-top: 36px; }
  .hero-visual { min-height: 380px; }
  .hero-stage { height: min(400px, 52vh); }
  .hero-mist {
    background:
      linear-gradient(90deg, var(--bg) 0%, transparent 14%),
      linear-gradient(270deg, var(--bg) 0%, transparent 14%),
      linear-gradient(180deg, transparent 50%, var(--bg) 96%);
  }
  .feature-strip-inner { grid-template-columns: 1fr; }
  .lifestyle-content { padding: 28px 20px 32px; }
  .lifestyle-media { min-height: 320px; }
  .lifestyle-person { max-height: 340px; }
  .device-phone-sm { display: none; }
  .devices-cluster { height: auto; }
  .device-laptop-wrap { width: min(420px, 92%); }
  .checkout-panel, .summary-panel { padding: 22px 18px; }

  /* Compact header — prevent flag/logo overlap + horizontal scroll */
  .nav {
    height: 60px;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .brand {
    gap: 8px;
    min-width: 0;
    max-width: 100%;
    padding-right: 0;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }
  .brand-name {
    font-size: 0.92rem;
    letter-spacing: 0.04em;
  }
  .nav-actions {
    gap: 6px;
    padding-left: 0;
    max-width: 100%;
  }
  .nav-actions .btn-sm {
    display: none; /* CTA lives in hero; frees header width */
  }
  .lang-flags {
    gap: 0;
    padding: 2px;
  }
  .lang-flag-btn {
    min-width: 30px;
    width: 30px;
    height: 28px;
    padding: 0;
  }
  .lang-flag-img {
    width: 16px;
    height: 16px;
  }
  .hero-title {
    font-size: clamp(1.85rem, 8.2vw, 2.4rem);
  }
  .hero-lead {
    font-size: 0.98rem;
    max-width: none;
  }
  .hero-cta {
    max-width: none;
  }
}

@media (max-width: 380px) {
  .brand-name span { display: none; }
  .lang-flag-btn {
    min-width: 28px;
    width: 28px;
    height: 26px;
  }
}
