/* DazeLink premium — Space Grotesk + DM Sans (UI UX Pro Max: Tech Startup)
   Style: Glassmorphism + Dark OLED + Aurora (VPN & Privacy palette) */

:root {
  --bg: #0a1018;
  --bg-elevated: #111926;
  --panel: rgba(18, 28, 42, 0.62);
  --panel-solid: #121c2a;
  --panel-soft: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(245, 180, 72, 0.4);
  --text: #f4f7fb;
  --muted: #93a0b4;
  --amber: #f0b429;
  --ember: #e07a2f;
  --green: #3dd68c;
  --danger: #f07167;
  --glass: rgba(255, 255, 255, 0.07);
  --glass-strong: rgba(255, 255, 255, 0.12);
  /* Layered "premium" shadow system: a crisp near-black contact shadow
     (grounds the element) + soft diffuse falloff, so panels read as
     lifted glass rather than one heavy blurred blob. */
  --shadow: 0 1px 1px rgba(2, 4, 9, 0.3), 0 10px 24px -10px rgba(2, 4, 9, 0.45), 0 34px 68px -22px rgba(2, 4, 9, 0.55);
  --shadow-sm: 0 1px 1px rgba(2, 4, 9, 0.28), 0 6px 16px -6px rgba(2, 4, 9, 0.4);
  /* Amber-tinted ambient shadows — tight contact + soft diffuse falloff (premium, not slab). */
  --shadow-amber-rest: 0 1px 1px rgba(20, 12, 4, 0.14), 0 5px 12px -5px rgba(240, 180, 41, 0.16), 0 14px 28px -14px rgba(224, 122, 47, 0.1);
  --shadow-amber-hover: 0 2px 2px rgba(20, 12, 4, 0.16), 0 7px 16px -6px rgba(240, 180, 41, 0.2), 0 18px 34px -14px rgba(224, 122, 47, 0.13);
  --shadow-amber-active: 0 2px 3px rgba(20, 12, 4, 0.18), 0 8px 18px -8px rgba(240, 180, 41, 0.24), 0 20px 38px -16px rgba(224, 122, 47, 0.16);
  --radius-lg: clamp(18px, 3vw, 28px);
  --radius-md: clamp(14px, 2.2vw, 18px);
  --header-h: 64px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --page-gutter: clamp(16px, 4vw, 48px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
  --font-display: "Space Grotesk", "DM Sans", system-ui, sans-serif;
  --font-body: "DM Sans", "Space Grotesk", system-ui, sans-serif;
  --font-price: "Space Grotesk", "DM Sans", system-ui, sans-serif;
  --font-serif: "Fraunces", "Space Grotesk", serif;
  --accent-glow: rgba(240, 180, 41, 0.22);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--safe-top) + 14px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color-scheme: dark;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.55;
  background:
    radial-gradient(ellipse 78% 50% at 84% -10%, rgba(240, 180, 41, 0.15), transparent 55%),
    radial-gradient(ellipse 60% 48% at -10% 86%, rgba(61, 214, 140, 0.08), transparent 55%),
    radial-gradient(ellipse 46% 38% at 46% 38%, rgba(56, 120, 210, 0.06), transparent 70%),
    linear-gradient(178deg, #070b12 0%, #0b121c 46%, #070b12 100%);
  background-attachment: fixed;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}

a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease-out); }
img, svg { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

.container {
  width: min(1080px, calc(100% - var(--page-gutter) - var(--safe-left) - var(--safe-right)));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* —— Reveal motion (progressive: visible by default, animate only with .js-reveal) —— */
.reveal,
.reveal-left,
.reveal-scale {
  opacity: 1;
  transform: none;
}
html.js-reveal .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
html.js-reveal .reveal-left:not(.is-visible) {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
html.js-reveal .reveal-scale:not(.is-visible) {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-spring);
}
html.js-reveal .reveal.is-visible,
html.js-reveal .reveal-left.is-visible,
html.js-reveal .reveal-scale.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.js-reveal .reveal,
  html.js-reveal .reveal-left,
  html.js-reveal .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .phone-ring,
  .phone-ring-outer,
  .phone-ring-inner,
  .phone-halo,
  .hero-blob,
  .hero-dust,
  .hero-orbit,
  .phone-glow,
  .phone-orb-ring,
  .phone-orb-core em,
  .phone-shine,
  .phone-live-dot,
  .phone-signal i,
  .phone-shell,
  .phone-contact-shadow,
  .phone-reflection,
  .phone-pedestal,
  .phone-frame-glint,
  .phone-route-dot,
  .phone-route-pulse,
  .phone-route-path,
  .phone-waveform span,
  .phone-spark,
  .billing-plan-card { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-top: var(--safe-top);
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  background: rgba(10, 16, 24, 0.72);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  background: rgba(10, 16, 24, 0.9);
}
.site-header .container {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(8px, 2vw, 20px);
  min-height: var(--header-h);
  padding: 10px 0;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(1.05rem, 2.5vw, 1.18rem);
  flex-shrink: 0;
}
.brand-mark {
  width: clamp(36px, 8vw, 42px);
  height: clamp(36px, 8vw, 42px);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(20, 12, 4, 0.35), 0 0 22px rgba(240, 180, 41, 0.3);
  flex-shrink: 0;
  background: transparent;
}
.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand-name { white-space: nowrap; }

.header-actions {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: clamp(6px, 1.5vw, 10px);
  flex-shrink: 0;
}
.header-nav {
  display: none;
  align-items: center;
  gap: clamp(4px, 1vw, 8px);
  margin-left: clamp(8px, 2vw, 24px);
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
}
.header-nav a {
  position: relative;
  padding: 8px 4px;
  color: var(--muted);
  font-size: 0.87rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.header-nav a::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 4px;
  height: 1px;
  background: linear-gradient(90deg, var(--amber), var(--ember));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease-out);
}
.header-nav a:hover { color: var(--text); }
.header-nav a:hover::after { transform: scaleX(1); }

.language-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.language-switcher {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.language-switcher::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: calc((100% - 6px) / 2);
  height: calc(100% - 6px);
  border-radius: 999px;
  background: linear-gradient(120deg, var(--amber), var(--ember));
  box-shadow: 0 1px 1px rgba(20, 12, 4, 0.3), 0 4px 12px -4px rgba(232, 168, 56, 0.4);
  transform: translateX(0);
  transition: transform 0.32s var(--ease-out);
  pointer-events: none;
}
.language-switcher.is-en::before { transform: translateX(100%); }
.language-switcher button {
  position: relative;
  z-index: 1;
  min-width: 48px;
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}
.language-switcher button.active { color: #1a1208; }

/* —— Main / hero —— */
main {
  padding: 0 var(--safe-left) clamp(40px, 8vw, 72px) var(--safe-right);
  padding-bottom: calc(clamp(40px, 8vw, 72px) + var(--safe-bottom));
}

/* Full-bleed hero shell: atmosphere spans viewport, fades into page — no boxed card. */
.hero-wrap {
  position: relative;
  margin-bottom: clamp(28px, 5vw, 48px);
  padding-bottom: clamp(8px, 1.5vw, 16px);
  overflow-x: clip;
}

.hero-wrap .hero-atmosphere {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  max-width: 100vw;
  height: calc(100% + clamp(48px, 8vw, 96px));
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 68%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 68%, transparent 100%);
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(20px, 4vw, 52px);
  align-items: center;
  min-height: min(72vh, 620px);
  padding: clamp(28px, 5vw, 56px) 0 clamp(20px, 3vw, 32px);
}
.hero-grid {
  position: absolute;
  inset: -10% -5%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 62% 70% at 68% 32%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 62% 70% at 68% 32%, #000 0%, transparent 72%);
  opacity: 0.55;
}
/* Ambient depth — soft edge falloff, no harsh rectangular vignette. */
.hero-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 80% at 50% 36%, transparent 42%, rgba(3, 5, 9, 0.18) 100%);
  pointer-events: none;
}
/* Fine dust / star field — CSS-only, no image weight */
.hero-dust {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 22%, rgba(255, 230, 180, 0.55), transparent),
    radial-gradient(1px 1px at 28% 68%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1.4px 1.4px at 48% 18%, rgba(240, 180, 41, 0.5), transparent),
    radial-gradient(1px 1px at 62% 54%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1.2px 1.2px at 74% 30%, rgba(255, 220, 160, 0.45), transparent),
    radial-gradient(1px 1px at 86% 72%, rgba(61, 214, 140, 0.35), transparent),
    radial-gradient(1.3px 1.3px at 18% 44%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 40% 82%, rgba(240, 180, 41, 0.4), transparent),
    radial-gradient(1.1px 1.1px at 92% 16%, rgba(255, 255, 255, 0.4), transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 68% at 70% 36%, #000 10%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 68% at 70% 36%, #000 10%, transparent 78%);
  animation: dust-twinkle 7.5s ease-in-out infinite;
}
@keyframes dust-twinkle {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.7; }
}
.hero-orbit {
  position: absolute;
  top: 8%;
  right: 4%;
  width: min(420px, 52vw);
  height: min(420px, 52vw);
  border-radius: 50%;
  border: 1px solid rgba(240, 180, 41, 0.1);
  box-shadow: inset 0 0 40px rgba(240, 180, 41, 0.04);
  -webkit-mask-image: linear-gradient(135deg, #000 20%, transparent 70%);
  mask-image: linear-gradient(135deg, #000 20%, transparent 70%);
  animation: orbit-spin 48s linear infinite;
  opacity: 0.7;
}
.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px rgba(240, 180, 41, 0.7);
}
.hero-orbit::before {
  width: 5px; height: 5px;
  top: 14%; right: 22%;
}
.hero-orbit::after {
  width: 3px; height: 3px;
  bottom: 28%; left: 18%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(61, 214, 140, 0.65);
}
@keyframes orbit-spin { to { transform: rotate(360deg); } }
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.5;
  contain: strict;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-blob { will-change: transform; }
}
.hero-blob-a {
  width: min(560px, 58vw);
  height: min(560px, 58vw);
  top: -18%;
  right: -6%;
  background: radial-gradient(circle at 42% 40%, rgba(240, 180, 41, 0.4), transparent 68%);
  animation: blob-drift-a 22s ease-in-out infinite;
}
.hero-blob-b {
  width: min(420px, 46vw);
  height: min(420px, 46vw);
  bottom: -22%;
  left: -8%;
  background: radial-gradient(circle at 55% 55%, rgba(61, 214, 140, 0.24), transparent 70%);
  animation: blob-drift-b 26s ease-in-out infinite;
}
.hero-blob-c {
  width: min(320px, 34vw);
  height: min(320px, 34vw);
  top: 32%;
  left: 36%;
  background: radial-gradient(circle at 50% 50%, rgba(56, 120, 210, 0.16), transparent 72%);
  animation: blob-drift-c 30s ease-in-out infinite;
  opacity: 0.4;
}
@keyframes blob-drift-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-3%, 4%) scale(1.08); }
}
@keyframes blob-drift-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4%, -3%) scale(1.06); }
}
@keyframes blob-drift-c {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-4%, -5%); }
}

.hero-copy { position: relative; z-index: 1; }
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 700;
  margin-bottom: 18px;
}
.hero .eyebrow i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 14px var(--amber);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}
.hero-title {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-weight: 560;
  font-size: clamp(2.15rem, 5.4vw, 3.85rem);
  letter-spacing: -0.015em;
  line-height: 1.06;
  margin-bottom: 18px;
  max-width: 15ch;
  color: var(--text);
  text-wrap: balance;
}
.hero .lede {
  color: var(--muted);
  font-size: clamp(0.98rem, 2vw, 1.15rem);
  max-width: 38ch;
  line-height: 1.55;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.hero-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 13px;
  font-weight: 700;
  font-size: 0.95rem;
}
.hero-cta .cta-primary {
  position: relative;
  color: #1a1208;
  background: linear-gradient(120deg, #ffd873, var(--amber) 55%, var(--ember));
  box-shadow: var(--shadow-amber-rest), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.22s var(--ease-out), box-shadow 0.32s ease;
}
.hero-cta .cta-primary:hover {
  box-shadow: var(--shadow-amber-hover), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.hero-cta .cta-ghost {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero-cta a:hover { transform: translateY(-2px); }
.hero-cta a:active { transform: translateY(0); }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}
.hero-trust i {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.6;
}

.phone-stage {
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  min-height: clamp(380px, 52vw, 580px);
  width: 100%;
  perspective: 1400px;
  transform-style: preserve-3d;
}
.phone-pedestal {
  position: absolute;
  bottom: 4%;
  width: min(220px, 48vw);
  height: min(220px, 48vw);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(240, 180, 41, 0.14), transparent 62%),
    radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.04), transparent 55%);
  filter: blur(18px);
  z-index: 0;
  pointer-events: none;
  animation: phone-pedestal-pulse 7s ease-in-out infinite;
}
@keyframes phone-pedestal-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.06); }
}
.phone-ring {
  position: absolute;
  width: min(320px, 68vw);
  height: min(320px, 68vw);
  border-radius: 50%;
  border: 1px solid rgba(240, 180, 41, 0.16);
  background:
    conic-gradient(from 0deg, rgba(240, 180, 41, 0.38), transparent 18%, transparent 82%, rgba(240, 180, 41, 0.38));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1.5px));
  animation: ring-sweep 16s linear infinite;
  pointer-events: none;
  opacity: 0.85;
}
.phone-ring-outer {
  position: absolute;
  width: min(380px, 78vw);
  height: min(380px, 78vw);
  border-radius: 50%;
  border: 1px dashed rgba(240, 180, 41, 0.1);
  box-shadow: inset 0 0 24px rgba(240, 180, 41, 0.04);
  animation: ring-sweep 28s linear infinite reverse;
  pointer-events: none;
  opacity: 0.55;
}
.phone-ring-inner {
  width: min(260px, 56vw);
  height: min(260px, 56vw);
  border-color: rgba(61, 214, 140, 0.12);
  background:
    conic-gradient(from 180deg, rgba(61, 214, 140, 0.28), transparent 24%, transparent 76%, rgba(61, 214, 140, 0.28));
  animation-duration: 22s;
  animation-direction: reverse;
  opacity: 0.65;
}
.phone-halo {
  position: absolute;
  width: min(300px, 64vw);
  height: min(420px, 84vw);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 28%, rgba(240, 180, 41, 0.26), transparent 58%),
    radial-gradient(ellipse at 50% 82%, rgba(61, 214, 140, 0.14), transparent 62%);
  filter: blur(32px);
  z-index: 0;
  pointer-events: none;
  animation: phone-halo-breathe 6.2s ease-in-out infinite;
}
@keyframes phone-halo-breathe {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}
@keyframes ring-sweep { to { transform: rotate(360deg); } }
.phone-spark {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px rgba(240, 180, 41, 0.8);
  z-index: 2;
  pointer-events: none;
  animation: spark-drift 5.8s ease-in-out infinite;
}
.phone-spark-a { top: 18%; right: 18%; animation-delay: 0s; }
.phone-spark-b {
  bottom: 26%; left: 16%;
  width: 3px; height: 3px;
  background: var(--green);
  box-shadow: 0 0 8px rgba(61, 214, 140, 0.75);
  animation-delay: 1.4s;
  animation-duration: 7.2s;
}
.phone-spark-c,
.phone-spark-d {
  display: none;
}
@keyframes spark-drift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.35; }
  40% { transform: translate(6px, -10px) scale(1.25); opacity: 1; }
  70% { transform: translate(-4px, 4px) scale(0.9); opacity: 0.55; }
}

.phone-glow {
  position: absolute;
  width: min(290px, 62vw);
  height: min(400px, 82vw);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 34%, rgba(240, 180, 41, 0.32), transparent 58%),
    radial-gradient(ellipse at 50% 72%, rgba(61, 214, 140, 0.16), transparent 66%);
  filter: blur(38px);
  z-index: 0;
  animation: phone-glow-pulse 4.6s ease-in-out infinite;
}
@keyframes phone-glow-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 0.78; transform: scale(1.04); }
}

/* Grounding shadow beneath the phone: breathes opposite the float animation
   so the phone reads as physically floating above a surface, not pasted on. */
.phone-contact-shadow {
  position: absolute;
  bottom: 6%;
  width: min(200px, 44vw);
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(2, 4, 9, 0.62), rgba(2, 4, 9, 0.22) 55%, transparent 76%);
  filter: blur(6px);
  z-index: 0;
  animation: phone-contact-breathe 5.5s ease-in-out infinite;
  pointer-events: none;
}
.phone-reflection {
  position: absolute;
  bottom: 2%;
  width: min(200px, 44vw);
  height: min(72px, 16vw);
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(240, 180, 41, 0.12), transparent 72%),
    radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.08), transparent 68%);
  filter: blur(2px);
  opacity: 0.55;
  transform: scaleY(-0.35) perspective(400px) rotateX(68deg);
  z-index: 0;
  pointer-events: none;
  animation: phone-reflection-breathe 5.5s ease-in-out infinite;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
}
@keyframes phone-contact-breathe {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(0.78); opacity: 0.42; }
}
@keyframes phone-reflection-breathe {
  0%, 100% { opacity: 0.5; transform: scaleY(-0.35) perspective(400px) rotateX(68deg) scale(1); }
  50% { opacity: 0.28; transform: scaleY(-0.35) perspective(400px) rotateX(68deg) scale(0.82); }
}

.phone-shell {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --scroll-y: 0px;
  width: min(272px, 54vw);
  aspect-ratio: 9 / 19;
  border-radius: clamp(32px, 6.4vw, 44px);
  padding: 3.5px;
  background:
    linear-gradient(155deg,
      rgba(255, 244, 220, 0.78) 0%,
      rgba(180, 195, 220, 0.35) 22%,
      rgba(42, 52, 68, 0.98) 55%,
      rgba(24, 32, 44, 0.98) 72%,
      rgba(61, 214, 140, 0.32) 100%);
  box-shadow:
    0 2px 2px rgba(2, 4, 9, 0.4),
    0 22px 38px -16px rgba(2, 4, 9, 0.58),
    0 52px 88px -28px rgba(2, 4, 9, 0.48),
    0 0 0 1px rgba(255, 255, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 48px rgba(240, 180, 41, 0.16),
    0 28px 56px -22px rgba(224, 122, 47, 0.16);
  position: relative;
  z-index: 2;
  transform:
    rotateY(calc(-11deg + var(--tilt-y)))
    rotateX(calc(5deg + var(--tilt-x)))
    translateY(calc(var(--scroll-y) * 1px));
  animation: phone-float 5.5s ease-in-out infinite;
  transition: box-shadow 0.45s var(--ease-out);
}
.phone-frame-glint {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.28) 0%,
    transparent 28%,
    transparent 72%,
    rgba(240, 180, 41, 0.14) 100%
  );
  pointer-events: none;
  z-index: 4;
  opacity: 0.38;
  animation: frame-glint 8s ease-in-out infinite;
}
@keyframes frame-glint {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.52; }
}
@media (prefers-reduced-motion: no-preference) {
  .phone-shell { will-change: transform; }
}
.phone-btn {
  position: absolute;
  background: linear-gradient(90deg, #1a2230, #0c121a);
  border-radius: 2px;
  z-index: 3;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.phone-btn-silent {
  left: -2px; top: 18%;
  width: 2px; height: 14px;
}
.phone-btn-vol-up {
  left: -2px; top: 28%;
  width: 2px; height: 28px;
}
.phone-btn-vol-down {
  left: -2px; top: 42%;
  width: 2px; height: 28px;
}
.phone-btn-power {
  right: -2px; top: 32%;
  width: 2px; height: 42px;
}
@keyframes phone-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}
.phone-stage:hover .phone-shell {
  box-shadow:
    0 2px 2px rgba(2, 4, 9, 0.42),
    0 24px 42px -16px rgba(2, 4, 9, 0.62),
    0 58px 96px -28px rgba(2, 4, 9, 0.52),
    0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 0 58px rgba(240, 180, 41, 0.22),
    0 32px 62px -20px rgba(224, 122, 47, 0.2);
}
.phone-bezel {
  height: 100%;
  border-radius: inherit;
  padding: 10px;
  background:
    linear-gradient(165deg, #222c3c 0%, #0b1018 46%, #141c28 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 2px 8px rgba(255, 255, 255, 0.04);
  position: relative;
}
.phone-island {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 36%;
  height: 13px;
  border-radius: 999px;
  background: linear-gradient(180deg, #080a0f, #030508);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.35);
  z-index: 2;
}
.phone-island::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle at 35% 35%, #6ec8ff, #1a4a7a 70%);
  box-shadow: 0 0 6px rgba(80, 160, 255, 0.55);
}
.phone-face {
  height: 100%;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 95% 48% at 50% 14%, rgba(240, 180, 41, 0.24), transparent 55%),
    radial-gradient(ellipse 70% 40% at 50% 78%, rgba(61, 214, 140, 0.12), transparent 60%),
    radial-gradient(ellipse 120% 80% at 50% 100%, rgba(56, 120, 210, 0.08), transparent 55%),
    linear-gradient(180deg, #1a2438 0%, #0e1522 52%, #0a1018 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 13px 13px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.phone-screen-grid {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 42%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 42%, #000 20%, transparent 78%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.65;
}
.phone-screen-vignette {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 120% 90% at 50% 50%, transparent 42%, rgba(2, 4, 9, 0.42) 100%);
  pointer-events: none;
  z-index: 2;
}
.phone-face::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 85% 55% at 50% 0%, rgba(255, 255, 255, 0.06), transparent 52%),
    radial-gradient(ellipse 90% 70% at 50% 100%, rgba(2, 4, 9, 0.35), transparent 68%);
  pointer-events: none;
  z-index: 1;
}
.phone-shine {
  position: absolute;
  inset: -40% -60%;
  background: linear-gradient(
    115deg,
    transparent 32%,
    rgba(255, 255, 255, 0.08) 48%,
    transparent 58%
  );
  animation: phone-shine 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 3;
}
.phone-scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    transparent 0 3px,
    rgba(255, 255, 255, 0.015) 3px 4px
  );
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
  mix-blend-mode: soft-light;
}
/* Cursor-reactive glare: --glare-x/--glare-y are set from the pointermove
   handler that already drives the tilt, so the highlight tracks the same
   input with no extra listeners. */
.phone-face::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 28%), rgba(255, 255, 255, 0.11), transparent 48%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 4;
}
.phone-stage:hover .phone-face::after { opacity: 0.72; }
@keyframes phone-shine {
  0%, 100% { transform: translateX(-18%) rotate(8deg); opacity: 0; }
  35% { opacity: 0.38; }
  55% { transform: translateX(28%) rotate(8deg); opacity: 0; }
}
.phone-status {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 6px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(244, 247, 251, 0.78);
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}
.phone-status-right {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.phone-wifi {
  width: 10px;
  height: 8px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  border: 1.4px solid rgba(244, 247, 251, 0.55);
  border-bottom: 0;
  position: relative;
  box-sizing: border-box;
  opacity: 0.85;
}
.phone-wifi::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--amber);
  transform: translateX(-50%);
  box-shadow: 0 0 4px rgba(240, 180, 41, 0.7);
}
.phone-signal {
  display: inline-flex;
  align-items: flex-end;
  gap: 1.5px;
  height: 10px;
}
.phone-signal i {
  display: block;
  width: 2.5px;
  border-radius: 1px;
  background: var(--amber);
  opacity: 0.35;
  animation: signal-bar 1.8s ease-in-out infinite;
}
.phone-signal i:nth-child(1) { height: 3px; animation-delay: 0s; }
.phone-signal i:nth-child(2) { height: 5px; animation-delay: 0.15s; }
.phone-signal i:nth-child(3) { height: 7px; animation-delay: 0.3s; }
.phone-signal i:nth-child(4) { height: 10px; animation-delay: 0.45s; opacity: 1; }
@keyframes signal-bar {
  0%, 100% { opacity: 0.35; }
  40% { opacity: 1; }
}
.phone-battery {
  width: 16px;
  height: 8px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  position: relative;
  box-sizing: border-box;
}
.phone-battery::before {
  content: "";
  position: absolute;
  inset: 1px;
  width: 70%;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--green), #7dffb5);
}
.phone-battery::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 2px;
  width: 1.5px;
  height: 3px;
  border-radius: 0 1px 1px 0;
  background: rgba(255, 255, 255, 0.4);
}
.phone-brand-row {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}
.phone-brand-mark {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.4px solid var(--amber);
  position: relative;
  box-shadow: 0 0 10px rgba(240, 180, 41, 0.35);
  flex-shrink: 0;
}
.phone-brand-mark::before {
  content: "D";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 0.48rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0;
}
.phone-brand-mark::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--amber);
  top: -1px;
  right: -1px;
  box-shadow: 0 0 4px rgba(240, 180, 41, 0.8);
}
.phone-brand {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 247, 251, 0.92);
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}
.phone-orb {
  position: relative;
  width: 98px;
  height: 98px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  z-index: 3;
}
.phone-orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(240, 180, 41, 0.4);
  box-shadow: 0 0 0 8px rgba(240, 180, 41, 0.06);
  animation: orb-ring 2.8s ease-in-out infinite;
}
.phone-orb-ring-delay {
  inset: -8px;
  border-color: rgba(61, 214, 140, 0.28);
  box-shadow: none;
  animation-delay: 0.7s;
  animation-duration: 3.4s;
}
.phone-orb-ring-outer {
  inset: -16px;
  border-color: rgba(240, 180, 41, 0.14);
  border-style: dashed;
  box-shadow: none;
  animation-delay: 1.2s;
  animation-duration: 4.2s;
  opacity: 0.7;
}
@keyframes orb-ring {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.45; }
}
.phone-orb-core {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 32% 28%, #fff4c8, transparent 42%),
    linear-gradient(145deg, #ffe08a, var(--amber) 42%, var(--ember));
  box-shadow:
    0 0 48px rgba(240, 180, 41, 0.62),
    0 0 0 1px rgba(255, 255, 255, 0.25),
    inset 0 2px 0 rgba(255, 255, 255, 0.55);
  color: #14100a;
  font-weight: 700;
  font-size: 0.74rem;
  font-family: var(--font-display);
  letter-spacing: 0.14em;
}
.phone-orb-core em {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.45), transparent 45%);
  animation: orb-core-glow 2.4s ease-in-out infinite;
}
@keyframes orb-core-glow {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
.phone-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(61, 214, 140, 0.1);
  border: 1px solid rgba(61, 214, 140, 0.28);
  color: var(--green);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  z-index: 2;
}
.phone-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: live-dot 1.6s ease-in-out infinite;
}
@keyframes live-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.75); }
}
.phone-meta {
  text-align: center;
  display: grid;
  gap: 4px;
  z-index: 2;
}
.phone-meta strong {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
}
.phone-meta small {
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.02em;
}
.phone-route {
  position: relative;
  width: 132px;
  max-width: 88%;
  height: 36px;
  margin: 8px auto 0;
  z-index: 2;
}
.phone-route svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.phone-route-path {
  fill: none;
  stroke: url(#routeGrad);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 4 5;
  animation: route-dash 4.2s linear infinite;
}
@keyframes route-dash {
  to { stroke-dashoffset: -18; }
}
.phone-route-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 180, 41, 0.35), transparent 68%);
  offset-path: path("M4 27 C 34 4, 60 32, 128 8");
  offset-rotate: 0deg;
  animation: route-travel 3.6s ease-in-out infinite;
  pointer-events: none;
}
.phone-waveform {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  height: 14px;
  margin: 6px 0 2px;
  z-index: 3;
  opacity: 0.55;
}
.phone-waveform span {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--amber), rgba(240, 180, 41, 0.35));
  animation: waveform-bar 1.4s ease-in-out infinite;
}
.phone-waveform span:nth-child(1) { height: 4px; animation-delay: 0s; }
.phone-waveform span:nth-child(2) { height: 8px; animation-delay: 0.12s; }
.phone-waveform span:nth-child(3) { height: 12px; animation-delay: 0.24s; }
.phone-waveform span:nth-child(4) { height: 6px; animation-delay: 0.36s; }
.phone-waveform span:nth-child(5) { height: 10px; animation-delay: 0.48s; }
.phone-waveform span:nth-child(6) { height: 7px; animation-delay: 0.6s; }
.phone-waveform span:nth-child(7) { height: 5px; animation-delay: 0.72s; }
@keyframes waveform-bar {
  0%, 100% { transform: scaleY(0.55); opacity: 0.45; }
  50% { transform: scaleY(1.15); opacity: 1; }
}
.phone-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 5px;
  width: 100%;
  margin-top: 8px;
  z-index: 3;
}
.phone-metrics div {
  padding: 8px 4px;
  border-radius: 11px;
  text-align: center;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
.phone-metrics div.is-pulse {
  border-color: rgba(240, 180, 41, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 12px rgba(240, 180, 41, 0.12);
}
.phone-metrics span {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  transition: color 0.3s ease;
}
.phone-metrics div.is-pulse span {
  color: #ffe08a;
}
.phone-metrics small {
  color: var(--muted);
  font-size: 0.5rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.phone-route-node {
  fill: var(--amber);
  filter: drop-shadow(0 0 3px rgba(240, 180, 41, 0.7));
}
.phone-route-node-end {
  fill: var(--green);
  filter: drop-shadow(0 0 3px rgba(61, 214, 140, 0.65));
}
.phone-route-label {
  position: absolute;
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 247, 251, 0.55);
}
.phone-route-label-a { left: -2px; bottom: -2px; }
.phone-route-label-b { right: -2px; top: -4px; color: rgba(61, 214, 140, 0.75); }
.phone-route-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px rgba(240, 180, 41, 0.85);
  offset-path: path("M4 27 C 34 4, 60 32, 128 8");
  offset-rotate: 0deg;
  animation: route-travel 3.6s ease-in-out infinite;
}
@keyframes route-travel {
  0% { offset-distance: 0%; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
.phone-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-top: 8px;
  z-index: 2;
}
.phone-chips span {
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 230, 180, 0.85);
  background: rgba(240, 180, 41, 0.1);
  border: 1px solid rgba(240, 180, 41, 0.22);
}
.phone-chips span:nth-child(2) {
  color: rgba(180, 230, 255, 0.85);
  background: rgba(90, 160, 220, 0.1);
  border-color: rgba(90, 160, 220, 0.22);
}
.phone-chips span:nth-child(3) {
  color: rgba(170, 255, 210, 0.9);
  background: rgba(61, 214, 140, 0.1);
  border-color: rgba(61, 214, 140, 0.28);
}
.phone-bar {
  display: flex;
  gap: 6px;
  margin-top: auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  z-index: 2;
}
.phone-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(240, 180, 41, 0.3);
}
.phone-bar i:nth-child(2) {
  background: var(--amber);
  box-shadow: 0 0 8px rgba(240, 180, 41, 0.65);
  animation: live-dot 2s ease-in-out infinite;
}

/* —— Panels —— */
.panel {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  isolation: isolate;
}
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, transparent 32%);
  pointer-events: none;
  z-index: -1;
}
.picker-panel,
.form-panel,
.result-panel,
.steps-panel,
.billing-panel,
.captcha-panel,
.legal-panel {
  padding: clamp(18px, 3.5vw, 30px);
}

h2, .legal-panel h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 3.2vw, 1.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.2;
}
p, li { color: var(--muted); }

.platform-picker,
.billing-section,
.flow-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 480px;
}
.platform-picker { margin-bottom: clamp(16px, 3vw, 24px); }
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 14px);
}
.platform-card {
  position: relative;
  min-height: clamp(72px, 14vw, 96px);
  padding: 16px 12px;
  cursor: pointer;
  border: 1px solid rgba(255, 236, 200, 0.22);
  border-radius: var(--radius-md);
  background: linear-gradient(120deg, var(--amber), var(--ember));
  color: #1a1208;
  text-align: center;
  box-shadow: var(--shadow-amber-rest);
  transition: transform 0.28s var(--ease-out), box-shadow 0.32s ease, background 0.28s ease, color 0.28s ease, border-color 0.28s ease;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}
.platform-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.4) 0%, transparent 46%);
  opacity: 0.7;
  pointer-events: none;
  mix-blend-mode: soft-light;
}
.platform-card:hover { box-shadow: var(--shadow-amber-hover); transform: translateY(-2px); }
.platform-card:active { transform: scale(0.98); }
.platform-grid.has-selection .platform-card {
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.platform-grid.has-selection .platform-card:hover { box-shadow: var(--shadow-sm); transform: none; }
.platform-grid.has-selection .platform-card.active {
  transform: translateY(-2px);
  background: linear-gradient(120deg, var(--amber), var(--ember));
  color: #1a1208;
  border-color: rgba(255, 236, 200, 0.28);
  box-shadow: var(--shadow-amber-active);
}
.platform-grid.has-selection .platform-card.active:hover { box-shadow: var(--shadow-amber-active); }
.platform-card strong {
  position: relative;
  z-index: 1;
  font-size: clamp(1.05rem, 2.8vw, 1.25rem);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hidden { display: none !important; }
.flow-section { display: grid; gap: 18px; }

.field { margin-bottom: 14px; }
label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.01em;
}

input, textarea, select {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 16px; /* iOS zoom prevent */
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
  color-scheme: dark;
}
select {
  background-color: #1a140e;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%23a89884' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
select option,
select optgroup {
  background-color: #1f1812;
  color: #f7f0e6;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, textarea:focus, select:focus {
  border-color: rgba(232, 168, 56, 0.7);
  box-shadow: 0 0 0 3px rgba(232, 168, 56, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

/* Custom dropdown — visible on dark Windows themes */
.dd {
  position: relative;
  width: 100%;
}
.dd-toggle {
  width: 100%;
  min-height: 52px;
  padding: 13px 40px 13px 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #1a140e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%23a89884' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
}
.dd-toggle:hover,
.dd.is-open .dd-toggle {
  border-color: rgba(232, 168, 56, 0.7);
  box-shadow: 0 0 0 3px rgba(232, 168, 56, 0.14);
}
.dd-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid rgba(232, 168, 56, 0.35);
  border-radius: 14px;
  background: #1f1812;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  max-height: 260px;
  overflow: auto;
}
.dd-menu[hidden] { display: none !important; }
.dd-option {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #f7f0e6;
  font-size: 0.98rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  box-shadow: none;
  min-height: 0;
}
.dd-option:hover,
.dd-option.is-active {
  background: rgba(232, 168, 56, 0.16);
  color: #fff;
}

button, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 700;
  transition: transform 0.22s var(--ease-out), opacity 0.2s ease, box-shadow 0.22s ease;
  -webkit-tap-highlight-color: transparent;
}
button:hover, .button:hover { transform: translateY(-2px); }
button:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.language-switcher button,
.dd-toggle,
.dd-option {
  min-height: 0;
  transform: none;
  box-shadow: none;
}
.language-switcher button {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.85rem;
}
.language-switcher button:hover { transform: none; }
.language-switcher button.active { color: #1a1208; }
.dd-toggle {
  min-height: 52px;
  padding: 13px 40px 13px 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #1a140e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%23a89884' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  justify-content: flex-start;
  text-align: left;
}
.dd-toggle:hover { transform: none; }
.dd-option {
  min-height: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: transparent;
  color: #f7f0e6;
  font-size: 0.98rem;
  font-weight: 500;
  justify-content: flex-start;
  text-align: left;
}
.dd-option:hover { transform: none; }
.button-primary,
button[type="submit"] {
  color: #1a1208;
  background: linear-gradient(120deg, var(--amber), var(--ember));
  box-shadow: var(--shadow-amber-rest);
  width: 100%;
}
.button-primary:hover,
button[type="submit"]:hover {
  box-shadow: var(--shadow-amber-hover);
}
.copy-button, .button-secondary {
  background: var(--panel-soft);
  color: var(--text);
  border: 1px solid var(--line);
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.button-loader {
  width: 18px; height: 18px;
  border: 2px solid rgba(26, 18, 8, 0.25);
  border-top-color: #1a1208;
  border-radius: 50%;
  display: none;
  animation: spin 0.7s linear infinite;
}
button.is-loading .button-loader { display: inline-block; }
button.is-loading .button-text { opacity: 0.7; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-note, .status-text {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}
.result-box { padding: 16px; margin-top: 12px; border-radius: var(--radius-md); background: var(--panel-soft); border: 1px solid rgba(246,239,230,0.08); }

.step-list { display: grid; gap: 12px; margin-top: 14px; }
.step-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--panel-soft);
  border: 1px solid rgba(246,239,230,0.08);
}
.step-number {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 14px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #1a1208;
  background: linear-gradient(120deg, var(--amber), var(--ember));
  font-family: var(--font-display);
}
.step-card strong { display: block; color: var(--text); margin-bottom: 4px; }

/* —— Billing —— */
.billing-section { margin: clamp(20px, 4vw, 36px) 0 8px; }
.billing-lede { color: var(--muted); margin-bottom: 12px; max-width: 42rem; font-size: 0.98rem; }
.trust-line {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0 0 18px;
  max-width: 42rem;
  opacity: 0.92;
}
.billing-faq {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  max-width: 42rem;
}
.billing-faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0 14px;
}
.billing-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}
.billing-faq summary::-webkit-details-marker { display: none; }
.billing-faq summary::after {
  content: "+";
  float: right;
  color: var(--amber);
  font-weight: 700;
}
.billing-faq details[open] summary::after { content: "−"; }
.billing-faq details p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}
.billing-faq details a { color: var(--amber); text-decoration: underline; text-underline-offset: 2px; }
.access-status {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.access-status.hidden { display: none !important; }
.access-status--trial {
  color: #dff8ea;
  border-color: rgba(61, 214, 140, 0.35);
  background: rgba(61, 214, 140, 0.1);
}
.access-status--ok {
  color: var(--text);
  border-color: rgba(240, 180, 41, 0.28);
  background: rgba(240, 180, 41, 0.08);
}
.access-status--warn {
  color: #ffd4ce;
  border-color: rgba(240, 113, 103, 0.35);
  background: rgba(240, 113, 103, 0.1);
}
.access-status--info {
  color: var(--muted);
}
.billing-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2.2vw, 16px);
  margin-bottom: 22px;
}
.billing-plan-card {
  --card-i: 0;
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: calc(var(--radius-md) + 2px);
  padding: clamp(18px, 3vw, 22px);
  background:
    linear-gradient(155deg,
      rgba(255, 255, 255, 0.18) 0%,
      rgba(255, 255, 255, 0.06) 38%,
      rgba(255, 255, 255, 0.03) 100%);
  backdrop-filter: blur(28px) saturate(1.55);
  -webkit-backdrop-filter: blur(28px) saturate(1.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 1px 1px rgba(2, 4, 9, 0.2),
    0 14px 30px -14px rgba(2, 4, 9, 0.5);
  cursor: pointer;
  overflow: hidden;
  transition:
    transform 0.35s var(--ease-out),
    border-color 0.3s ease,
    box-shadow 0.35s ease,
    background 0.3s ease;
  animation: glass-card-in 0.65s var(--ease-out) both;
  animation-delay: calc(var(--card-i) * 70ms);
}
@keyframes glass-card-in {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.billing-plan-glass {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(90% 70% at 8% 0%, rgba(255, 255, 255, 0.32), transparent 48%),
    linear-gradient(125deg, rgba(255, 255, 255, 0.14) 0%, transparent 42%);
  pointer-events: none;
  z-index: 0;
  opacity: 1;
}
.billing-plan-card > *:not(.billing-plan-glass) {
  position: relative;
  z-index: 1;
}
.billing-plan-card:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 180, 41, 0.5);
  background:
    linear-gradient(155deg,
      rgba(255, 255, 255, 0.24) 0%,
      rgba(255, 255, 255, 0.08) 45%,
      rgba(61, 214, 140, 0.06) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 2px 3px rgba(2, 4, 9, 0.25),
    0 22px 44px -18px rgba(2, 4, 9, 0.55),
    0 12px 30px -10px rgba(240, 180, 41, 0.22);
}
.billing-plan-card.is-selected {
  border-color: rgba(240, 180, 41, 0.7);
  background:
    linear-gradient(155deg,
      rgba(255, 220, 150, 0.22) 0%,
      rgba(255, 255, 255, 0.08) 42%,
      rgba(61, 214, 140, 0.08) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 240, 200, 0.4),
    0 0 0 1px rgba(240, 180, 41, 0.2),
    0 2px 3px rgba(2, 4, 9, 0.22),
    0 20px 40px -16px rgba(240, 180, 41, 0.28);
}
.billing-plan-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 2px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.billing-plan-card .price {
  color: var(--amber);
  font-family: var(--font-price);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.8vw, 1.75rem);
  margin: 12px 0 6px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.billing-plan-card .price span {
  font-size: 0.72em;
  font-weight: 600;
  opacity: 0.85;
  margin-left: 2px;
}
.billing-plan-days {
  color: var(--muted);
  font-size: 0.86rem;
}
.billing-form {
  display: grid;
  gap: 14px;
  max-width: min(440px, 100%);
}
.billing-docs {
  display: none;
}

.billing-legal {
  margin-top: 10px;
  font-size: 0.85rem;
}

.billing-legal a {
  color: var(--amber);
  border-bottom: 1px solid rgba(232, 168, 56, 0.35);
}

.billing-legal a:hover {
  border-bottom-color: var(--amber);
}

/* —— Footer —— */
.site-footer {
  margin-top: clamp(28px, 5vw, 48px);
  padding-top: clamp(20px, 3vw, 28px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}
.site-footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-meta { display: flex; flex-direction: column; gap: 12px; min-width: 0; flex: 1; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.footer-links a {
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}
.footer-links a:hover {
  color: var(--amber);
  border-bottom-color: rgba(232, 168, 56, 0.4);
}
.telegram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  flex-shrink: 0;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}
.telegram-link:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 168, 56, 0.5);
  background: rgba(232, 168, 56, 0.12);
}
.telegram-link svg { width: 18px; height: 18px; fill: currentColor; }

/* —— Legal / pricing pages —— */
.legal-wrap {
  width: min(820px, calc(100% - clamp(20px, 5vw, 40px)));
  margin: 0 auto;
  padding: clamp(20px, 4vw, 36px) 0 clamp(48px, 8vw, 80px);
  position: relative;
  z-index: 1;
}
.legal-wrap header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.legal-wrap .brand { font-size: 1.15rem; }
.legal-lede {
  color: var(--muted);
  margin-bottom: 28px;
  font-size: 1rem;
}
.legal-panel h2 {
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  margin: 26px 0 10px;
  color: var(--amber);
}
.legal-panel h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 16px 0 8px;
  color: var(--text);
}
.legal-panel p, .legal-panel li {
  margin-bottom: 8px;
  color: #e4d9cb;
  font-size: 0.96rem;
}
.legal-panel ul, .legal-panel ol {
  padding-left: 1.25rem;
  margin-bottom: 12px;
}
.legal-panel a { color: var(--amber); }
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}
.legal-nav a { color: var(--muted); }
.legal-nav a:hover { color: var(--amber); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}
.pricing-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 50%, rgba(240, 180, 41, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 3vw, 24px);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 1px 1px rgba(2, 4, 9, 0.22),
    0 18px 36px -16px rgba(2, 4, 9, 0.55);
  transition: transform 0.35s var(--ease-out), border-color 0.3s ease, box-shadow 0.35s ease;
}
.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 0% 0%, rgba(255, 255, 255, 0.18), transparent 42%);
  pointer-events: none;
}
.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 180, 41, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 2px 3px rgba(2, 4, 9, 0.28),
    0 26px 52px -20px rgba(2, 4, 9, 0.6),
    0 10px 24px -12px rgba(240, 180, 41, 0.2);
}
.pricing-card h2 { color: var(--text); margin-bottom: 6px; }
.pricing-card .price {
  font-family: var(--font-price);
  font-size: clamp(1.55rem, 3.5vw, 1.9rem);
  font-weight: 600;
  color: var(--amber);
  margin: 12px 0;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.note-box {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
}

/* —— Breakpoints (320–400 · 401–768 · 769–1024 · 1025+) —— */

/* JS perf-lite: reinforce mobile animation cuts when coarse/narrow */
html.perf-lite .hero-blob,
html.perf-lite .hero-dust,
html.perf-lite .hero-orbit,
html.perf-lite .phone-shell,
html.perf-lite .phone-shine,
html.perf-lite .phone-frame-glint,
html.perf-lite .phone-glow,
html.perf-lite .phone-halo,
html.perf-lite .phone-pedestal,
html.perf-lite .phone-ring-inner,
html.perf-lite .phone-route-path,
html.perf-lite .phone-route-dot,
html.perf-lite .phone-route-pulse,
html.perf-lite .phone-waveform span {
  animation: none !important;
}
html.perf-lite .phone-reflection,
html.perf-lite .phone-spark,
html.perf-lite .phone-scan,
html.perf-lite .phone-ring-outer,
html.perf-lite .phone-face::after {
  display: none !important;
}
html.perf-lite .phone-shell { will-change: auto; }
html.perf-lite .hero-blob { filter: blur(36px); will-change: auto; }

/* Touch / mobile perf: fewer blur layers, no mirror, static phone FX */
@media (max-width: 920px), (pointer: coarse) {
  body { background-attachment: scroll; }

  .site-header {
    backdrop-filter: blur(10px) saturate(1.1);
    -webkit-backdrop-filter: blur(10px) saturate(1.1);
    background: rgba(10, 16, 24, 0.9);
  }

  .hero-blob {
    filter: blur(36px);
    animation: none !important;
    will-change: auto;
  }
  .hero-dust,
  .hero-orbit { animation: none !important; }

  .phone-stage {
    contain: layout style paint;
    perspective: none;
  }
  .phone-shell { will-change: auto; }

  .phone-reflection,
  .phone-spark,
  .phone-scan,
  .phone-ring-outer { display: none !important; }

  .phone-shine,
  .phone-frame-glint,
  .phone-glow,
  .phone-halo,
  .phone-pedestal,
  .phone-ring-inner {
    animation: none !important;
  }
  .phone-shine {
    opacity: 0.18;
    transform: translateX(-6%) rotate(8deg);
  }
  .phone-frame-glint { opacity: 0.28; }
  .phone-glow {
    filter: blur(22px);
    opacity: 0.5;
  }
  .phone-halo {
    filter: blur(18px);
    opacity: 0.55;
  }
  .phone-pedestal {
    filter: blur(10px);
    opacity: 0.55;
  }

  .phone-face::after { display: none; }

  .phone-route-path,
  .phone-route-dot,
  .phone-route-pulse { animation: none !important; }
  .phone-route-dot,
  .phone-route-pulse { opacity: 0; }

  .phone-waveform span {
    animation: none !important;
    transform: scaleY(0.72);
    opacity: 0.48;
  }

  .phone-metrics div {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.05);
  }
}

@media (min-width: 1025px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(32px, 4vw, 64px);
  }
  .phone-shell {
    width: min(288px, 28vw);
  }
  .phone-stage {
    min-height: clamp(420px, 46vw, 620px);
  }
  .header-nav a {
    padding: 8px clamp(6px, 0.8vw, 12px);
  }
}

@media (min-width: 900px) {
  .header-nav { display: inline-flex; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .billing-plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .billing-plan-card {
    padding: clamp(14px, 2vw, 18px);
  }
  .billing-plan-card .price {
    font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  }
  .billing-plan-card strong {
    font-size: 0.95rem;
  }
  .platform-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    text-align: center;
    gap: clamp(18px, 4vw, 28px);
    padding-top: clamp(20px, 4vw, 36px);
  }
  .hero-title,
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero .eyebrow { justify-content: center; }
  .hero-cta { justify-content: center; }
  .hero-trust { justify-content: center; }
  .phone-stage {
    order: -1;
    min-height: clamp(300px, 58vw, 380px);
    margin-bottom: 4px;
  }
  .phone-ring { width: min(340px, 82vw); height: min(340px, 82vw); }
  .phone-ring-outer { width: min(400px, 92vw); height: min(400px, 92vw); }
  .phone-ring-inner { width: min(280px, 68vw); height: min(280px, 68vw); }
  .phone-halo { width: min(320px, 76vw); height: min(420px, 88vw); }
  .phone-glow { width: min(300px, 72vw); height: min(400px, 86vw); }
  .phone-contact-shadow { width: min(220px, 52vw); }
  .phone-reflection { width: min(220px, 52vw); }
  .phone-shell {
    width: min(224px, 56vw);
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    --scroll-y: 0;
    transform: rotateY(-2deg) rotateX(2deg) translateY(calc(var(--scroll-y) * 1px));
    animation: phone-float-mobile 6s ease-in-out infinite;
  }
  @keyframes phone-float-mobile {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -6px; }
  }
  .phone-stage:hover .phone-shell { box-shadow:
    0 2px 2px rgba(2, 4, 9, 0.42),
    0 20px 36px -14px rgba(2, 4, 9, 0.6),
    0 52px 88px -26px rgba(2, 4, 9, 0.52),
    0 0 0 1px rgba(255, 255, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 58px rgba(240, 180, 41, 0.2);
  }
  .platform-grid { grid-template-columns: 1fr; }
  .billing-plans,
  .pricing-grid { grid-template-columns: 1fr; }
}

@media (min-width: 401px) and (max-width: 920px) {
  .platform-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .platform-card {
    min-height: clamp(68px, 12vw, 88px);
    padding: 12px 8px;
  }
  .platform-card strong {
    font-size: clamp(0.92rem, 2.4vw, 1.1rem);
  }
}

@media (min-width: 641px) and (max-width: 920px) {
  .billing-plans,
  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .billing-plan-card .price {
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  }
}

@media (max-width: 768px) {
  .hero-title { max-width: 14ch; }
  .hero .lede { max-width: 34ch; }
}

@media (max-width: 640px) {
  :root {
    --header-h: 56px;
    --page-gutter: clamp(14px, 4.5vw, 24px);
  }
  .language-label { display: none; }
  .site-header .container { padding: 8px 0; gap: 8px; }
  .brand { gap: 8px; min-width: 0; }
  .brand-name {
    font-size: clamp(0.95rem, 4.2vw, 1.05rem);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .hero-title {
    font-size: clamp(1.85rem, 8.8vw, 2.45rem);
    max-width: 13ch;
  }
  .hero-wrap { margin-bottom: clamp(20px, 4vw, 32px); }
  .phone-stage { min-height: clamp(280px, 62vw, 340px); }
  .phone-shell {
    width: min(208px, 58vw);
    animation: phone-float-mobile 6s ease-in-out infinite;
  }
  .picker-panel, .form-panel, .result-panel, .steps-panel, .billing-panel, .captcha-panel {
    padding: 16px 14px;
    border-radius: 20px;
  }
  .button-row { flex-direction: column; }
  .button-row .button,
  .button-row .copy-button { width: 100%; }
  .step-card { grid-template-columns: 1fr; }
  .site-footer-inner { flex-direction: column; }
  .billing-form { max-width: 100%; }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta a { width: 100%; }
}

@media (max-width: 400px) {
  :root { --page-gutter: 14px; }
  .phone-shell { width: min(188px, 58vw); }
  .phone-stage { min-height: clamp(250px, 66vw, 300px); }
  .hero-cta a { min-height: 48px; font-size: 0.9rem; }
  .language-switcher button {
    min-width: 44px;
    min-height: 44px;
    padding: 0 10px;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
  }
}

@media (pointer: coarse) {
  .language-switcher button {
    min-width: 44px;
    min-height: 44px;
  }
  .header-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px clamp(6px, 1vw, 10px);
  }
  .platform-card {
    min-height: 72px;
  }
  .billing-faq summary {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .billing-plan-card,
  .platform-card,
  .hero-cta a,
  .telegram-link {
    touch-action: manipulation;
  }
  .telegram-link {
    width: 48px;
    height: 48px;
  }
  .footer-links a {
    padding: 6px 0;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
  }
}

@media (hover: none) {
  .billing-plan-card:hover,
  .pricing-card:hover,
  .platform-card:hover { transform: none; }
}

/* Blog (SEO content) — extends legal-wrap, does not alter landing hero */
.blog-page .blog-wrap { padding-bottom: 48px; }
.blog-article {
  line-height: 1.65;
  font-size: 1.02rem;
  color: var(--text);
}
.blog-article .blog-h1,
.blog-article h1 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2rem);
  line-height: 1.2;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.blog-article h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 1.6em 0 0.55em;
  color: var(--text);
}
.blog-article h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 1.25em 0 0.4em;
}
.blog-article p { margin: 0 0 0.9em; color: var(--muted); }
.blog-article p strong,
.blog-article li strong { color: var(--text); }
.blog-article ul,
.blog-article ol { margin: 0 0 1em 1.25em; color: var(--muted); }
.blog-article li { margin: 0.35em 0; }
.blog-article a { color: var(--amber); text-underline-offset: 2px; }
.blog-article a:hover { color: #ffc857; }
.blog-figure {
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
}
.blog-figure img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto;
}
.blog-figure.blog-figure--wide img {
  max-width: 720px;
}
.blog-figure figcaption {
  margin: 0;
  padding: 0.65rem 0.9rem 0.85rem;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.blog-pre {
  overflow: auto;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  margin: 0 0 1em;
  font-size: 0.9rem;
}
.blog-related {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.blog-related h2 { margin-top: 0; }
.blog-back { margin-top: 18px; color: var(--muted); }
.blog-back a { color: var(--amber); }
.blog-index-list { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.blog-index-item {
  margin: 0 0 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.blog-index-item:last-child { border-bottom: 0; }
.blog-index-item p { margin: 0.35em 0 0; }
