/* ================================================================
   ФОРТОЧКА — Premium Animated Landing CSS v3
   Atmospheric dark UI · purple aurora · live brand vibe
   ================================================================ */

/* ── Design Tokens ─────────────────────────────────────────────── */
:root {
  --bg: #07070e;
  --bg-2: #0a0a16;
  --surface: #101020;
  --elevated: #171730;
  --border: rgba(255, 255, 255, 0.07);
  --border-accent: rgba(124, 106, 255, 0.32);
  --accent: #7c6aff;
  --accent-2: #a08eff;
  --accent-3: #4dd5ff;
  --accent-soft: rgba(124, 106, 255, 0.1);
  --accent-glow: rgba(124, 106, 255, 0.42);
  --text: #e7e7f3;
  --text-muted: #8a8aa6;
  --text-dim: #555570;
  --green: #00c97a;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration: 0.95s;
}

/* ── Global Reset ───────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

::selection {
  background: rgba(124, 106, 255, 0.35);
  color: #fff;
}

/* ── Scroll-reveal animations ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition:
    opacity var(--duration) var(--ease-out),
    transform var(--duration) var(--ease-out),
    filter var(--duration) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.stagger-1 { transition-delay: 0ms; }
.stagger-2 { transition-delay: 110ms; }
.stagger-3 { transition-delay: 220ms; }
.stagger-4 { transition-delay: 330ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .hero__aurora,
  .hero__particles,
  .window-frame,
  .window-glow,
  .window-shutter,
  .window-shutter__hinge,
  .hero__breeze::before,
  .breeze-wisp,
  .breeze-particle,
  .hero-logo--breath,
  .marquee__track,
  .hero-feat-card,
  .btn--glow::before,
  .btn--breeze {
    animation: none !important;
  }

  /* Keep static visual fallback for reduced motion */
  .window-shutter {
    transform: rotateY(-22deg);
  }
  .hero-logo--breath {
    transform: none;
    filter: drop-shadow(0 0 60px rgba(124, 106, 255, 0.5));
  }
}

/* ── Container ──────────────────────────────────────────────────── */
.container {
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  border: none;
  border-radius: var(--radius-xl);
  cursor: pointer;
  padding: 14px 30px;
  transition:
    filter 0.2s ease,
    box-shadow 0.3s ease,
    transform 0.18s var(--ease-out),
    background 0.25s ease,
    color 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
  isolation: isolate;
  overflow: hidden;
}

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

.btn-primary {
  background: linear-gradient(130deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  box-shadow: 0 8px 28px rgba(124, 106, 255, 0.28);
}

.btn-primary:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
  box-shadow:
    0 0 50px rgba(124, 106, 255, 0.55),
    0 12px 40px rgba(124, 106, 255, 0.3);
}

.btn-secondary {
  background: rgba(124, 106, 255, 0.04);
  color: var(--accent-2);
  border: 1.5px solid var(--border-accent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: var(--accent-soft);
  border-color: rgba(124, 106, 255, 0.55);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(124, 106, 255, 0.18);
}

.btn-sm {
  font-size: 0.875rem;
  padding: 10px 20px;
}

.btn-lg {
  font-size: 1.0625rem;
  padding: 18px 36px;
}

/* Animated sweeping glow on primary CTA */
.btn--glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: btn-sweep 3.6s ease-in-out infinite;
  z-index: -1;
}

@keyframes btn-sweep {
  0%   { left: -75%; }
  60%  { left: 125%; }
  100% { left: 125%; }
}

.btn-arrow {
  display: inline-block;
  font-weight: 400;
  transition: transform 0.3s var(--ease-bounce);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ── Site Header ────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 7, 14, 0.78);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
}

.site-header__logo {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  flex-shrink: 0;
}

.site-header__logo::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.35s var(--ease-out);
}

.site-header__logo:hover::after {
  width: 100%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-inline: auto;
}

.site-nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.site-nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}

.site-nav__link:hover {
  color: var(--text);
}

.site-nav__link:hover::after {
  width: 100%;
}

@media (max-width: 880px) {
  .site-nav { display: none; }
}

/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
  isolation: isolate;
}

/* ── Hero · Aurora gradient layers ──────────────────────────────── */
.hero__aurora {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  z-index: 0;
}

.hero__aurora--1 {
  width: 760px;
  height: 760px;
  top: -240px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center,
    rgba(124, 106, 255, 0.32) 0%,
    rgba(140, 100, 240, 0.14) 40%,
    transparent 65%
  );
  animation: aurora-drift-1 22s ease-in-out infinite;
}

.hero__aurora--2 {
  width: 540px;
  height: 540px;
  bottom: 10%;
  right: -160px;
  background: radial-gradient(ellipse at center,
    rgba(77, 213, 255, 0.16) 0%,
    rgba(100, 80, 240, 0.1) 50%,
    transparent 70%
  );
  animation: aurora-drift-2 26s ease-in-out infinite;
}

.hero__aurora--3 {
  width: 460px;
  height: 460px;
  bottom: 4%;
  left: -140px;
  background: radial-gradient(ellipse at center,
    rgba(160, 142, 255, 0.18) 0%,
    transparent 70%
  );
  animation: aurora-drift-3 30s ease-in-out infinite;
}

@keyframes aurora-drift-1 {
  0%, 100% { transform: translateX(-50%) translateY(0) scale(1); opacity: 1; }
  50%      { transform: translateX(-46%) translateY(36px) scale(1.06); opacity: 0.86; }
}

@keyframes aurora-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.88; }
  50%      { transform: translate(-30px, -22px) scale(1.08); opacity: 1; }
}

@keyframes aurora-drift-3 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
  50%      { transform: translate(28px, -14px) scale(1.05); opacity: 0.85; }
}

/* ── Hero · Subtle dot grid ─────────────────────────────────────── */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(124, 106, 255, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: center;
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 75%);
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

/* ── Hero · Window motif (фирменный символ — световой проём) ────── */
.hero__window {
  position: absolute;
  width: 320px;
  height: 320px;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
  perspective: 900px;
  transform-style: preserve-3d;
}

/* Mascot slot — placeholder под будущий ассет (Lottie/SVG/PNG)
   Замена: положить asset внутрь .hero__mascot и скрыть .window-frame.
   Размер совпадает с window-frame (320×320). */
.hero__mascot {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}

.hero__mascot:empty {
  display: none;
}

.window-frame {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(180, 162, 255, 0.42);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 50% 35%,
      rgba(200, 184, 255, 0.16) 0%,
      rgba(124, 106, 255, 0.08) 35%,
      transparent 70%
    ),
    linear-gradient(160deg,
      rgba(124, 106, 255, 0.06) 0%,
      rgba(77, 213, 255, 0.08) 100%
    );
  overflow: hidden;
  animation: window-breath 7s ease-in-out infinite;
  box-shadow:
    0 0 0 1px rgba(160, 142, 255, 0.14),
    0 0 80px rgba(124, 106, 255, 0.32),
    0 40px 120px rgba(124, 106, 255, 0.28),
    inset 0 0 80px rgba(160, 142, 255, 0.18);
}

/* Световой проём — луч изнутри, как солнце через раму */
.window-frame::before {
  content: '';
  position: absolute;
  width: 60%;
  height: 60%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(200, 184, 255, 0.16) 28%,
    rgba(124, 106, 255, 0.08) 55%,
    transparent 75%
  );
  filter: blur(10px);
  animation: window-light 8s ease-in-out infinite;
  z-index: 0;
}

/* Угловой блик — будто свет преломляется в стекле */
.window-frame::after {
  content: '';
  position: absolute;
  top: 12%;
  left: 12%;
  width: 28%;
  height: 22%;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.14) 0%,
    transparent 70%
  );
  border-radius: 4px;
  filter: blur(2px);
  z-index: 1;
}

@keyframes window-breath {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      0 0 0 1px rgba(160, 142, 255, 0.14),
      0 0 80px rgba(124, 106, 255, 0.32),
      0 40px 120px rgba(124, 106, 255, 0.28),
      inset 0 0 80px rgba(160, 142, 255, 0.18);
  }
  50% {
    transform: scale(1.03);
    box-shadow:
      0 0 0 1px rgba(180, 162, 255, 0.26),
      0 0 110px rgba(124, 106, 255, 0.5),
      0 56px 160px rgba(124, 106, 255, 0.42),
      inset 0 0 110px rgba(160, 142, 255, 0.32);
  }
}

@keyframes window-light {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.12); }
}

.window-pane {
  position: absolute;
  width: 50%;
  height: 50%;
  background: radial-gradient(ellipse at 30% 30%,
    rgba(180, 162, 255, 0.22) 0%,
    rgba(124, 106, 255, 0.08) 50%,
    transparent 80%
  );
  z-index: 2;
}

.window-pane--tl { top: 0; left: 0; }
.window-pane--tr { top: 0; right: 0; }
.window-pane--bl { bottom: 0; left: 0; }
.window-pane--br { bottom: 0; right: 0; }

.window-cross {
  position: absolute;
  background: rgba(200, 184, 255, 0.4);
  z-index: 3;
}

.window-cross--v {
  width: 2px;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 8px rgba(160, 142, 255, 0.4);
}

.window-cross--h {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  box-shadow: 0 0 8px rgba(160, 142, 255, 0.4);
}

.window-glow {
  position: absolute;
  inset: -80px;
  background: radial-gradient(ellipse at center,
    rgba(124, 106, 255, 0.42) 0%,
    rgba(160, 142, 255, 0.18) 35%,
    transparent 70%
  );
  filter: blur(24px);
  animation: window-pulse 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes window-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1);    }
  50%      { opacity: 1;    transform: scale(1.08); }
}

/* Орбитальные частицы вокруг форточки */
.window-orbit {
  position: absolute;
  inset: -40px;
  z-index: 1;
  pointer-events: none;
  border-radius: 50%;
}

.window-orbit__dot {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(200, 184, 255, 0.85);
  box-shadow: 0 0 12px rgba(160, 142, 255, 0.85);
  top: 50%;
  left: 50%;
  margin: -2.5px 0 0 -2.5px;
}

.window-orbit__dot--1 { animation: orbit-1 18s linear infinite; }
.window-orbit__dot--2 { animation: orbit-2 24s linear infinite; }
.window-orbit__dot--3 { animation: orbit-3 30s linear infinite reverse; background: rgba(77, 213, 255, 0.8); box-shadow: 0 0 10px rgba(77, 213, 255, 0.7); }
.window-orbit__dot--4 { animation: orbit-1 22s linear infinite reverse; width: 3px; height: 3px; }

@keyframes orbit-1 {
  0%   { transform: rotate(0deg)   translateX(220px) rotate(0deg);   }
  100% { transform: rotate(360deg) translateX(220px) rotate(-360deg); }
}

@keyframes orbit-2 {
  0%   { transform: rotate(120deg) translateX(195px) rotate(-120deg); }
  100% { transform: rotate(480deg) translateX(195px) rotate(-480deg); }
}

@keyframes orbit-3 {
  0%   { transform: rotate(240deg) translateX(245px) rotate(-240deg); }
  100% { transform: rotate(600deg) translateX(245px) rotate(-600deg); }
}

@media (max-width: 880px) {
  .hero__window {
    width: 220px;
    height: 220px;
    top: 8%;
  }
  .window-orbit { inset: -28px; }
  @keyframes orbit-1 {
    0%   { transform: rotate(0deg)   translateX(150px) rotate(0deg);   }
    100% { transform: rotate(360deg) translateX(150px) rotate(-360deg); }
  }
  @keyframes orbit-2 {
    0%   { transform: rotate(120deg) translateX(135px) rotate(-120deg); }
    100% { transform: rotate(480deg) translateX(135px) rotate(-480deg); }
  }
  @keyframes orbit-3 {
    0%   { transform: rotate(240deg) translateX(165px) rotate(-240deg); }
    100% { transform: rotate(600deg) translateX(165px) rotate(-600deg); }
  }
}

@media (max-width: 480px) {
  .hero__window {
    width: 180px;
    height: 180px;
    top: 6%;
    opacity: 0.7;
  }
  .window-orbit { display: none; }
}

/* ── Hero · Open shutter (приоткрытая верхняя правая створка) ──── */
.window-shutter {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 50%;
  border-radius: 0 16px 0 0;
  border: 1.5px solid rgba(190, 172, 255, 0.55);
  border-left: none;
  background:
    linear-gradient(135deg,
      rgba(220, 210, 255, 0.32) 0%,
      rgba(160, 142, 255, 0.16) 50%,
      rgba(180, 162, 255, 0.28) 100%
    ),
    radial-gradient(ellipse at 28% 32%,
      rgba(255, 255, 255, 0.18) 0%,
      transparent 65%
    );
  transform-origin: left center;
  transform: rotateY(-26deg);
  animation: shutter-sway 7s ease-in-out infinite;
  box-shadow:
    -10px 0 18px rgba(0, 0, 0, 0.34),
    0 0 28px rgba(180, 162, 255, 0.32),
    inset 0 0 22px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  pointer-events: none;
}

/* Glass corner highlight on shutter */
.window-shutter__highlight {
  position: absolute;
  top: 9%;
  left: 10%;
  width: 38%;
  height: 28%;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.24) 0%,
    transparent 75%
  );
  border-radius: 4px;
  filter: blur(2px);
}

/* Hinge highlight — vertical bright streak on hinge side */
.window-shutter__hinge {
  position: absolute;
  top: 0;
  left: -1px;
  width: 2.5px;
  height: 100%;
  background: linear-gradient(180deg,
    transparent,
    rgba(220, 210, 255, 0.65) 50%,
    transparent
  );
  filter: blur(0.5px);
  animation: hinge-glow 7s ease-in-out infinite;
}

@keyframes shutter-sway {
  0%, 100% { transform: rotateY(-26deg); }
  50%      { transform: rotateY(-34deg); }
}

@keyframes hinge-glow {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}

/* ── Hero · Digital breeze — мягкий цифровой воздух из окна ────── */
.hero__breeze {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 280px;
  height: 240px;
  margin-top: -36px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
}

/* Soft glow trail behind the breeze */
.hero__breeze::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(160, 142, 255, 0.1) 0%,
    rgba(124, 106, 255, 0.05) 50%,
    transparent 100%
  );
  filter: blur(22px);
  -webkit-mask: linear-gradient(180deg, #000 0%, transparent 95%);
          mask: linear-gradient(180deg, #000 0%, transparent 95%);
  animation: breeze-bg-pulse 8s ease-in-out infinite;
}

@keyframes breeze-bg-pulse {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}

/* Wisp — тонкие вертикальные потоки */
.breeze-wisp {
  position: absolute;
  top: 0;
  width: 1px;
  height: 180px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(200, 184, 255, 0.42) 25%,
    rgba(160, 142, 255, 0.18) 60%,
    transparent 100%
  );
  filter: blur(1px);
  opacity: 0;
  animation: wisp-flow 7s ease-in-out infinite;
}

.breeze-wisp--1 { left: 30%; animation-delay: 0s;   }
.breeze-wisp--2 { left: 50%; animation-delay: 2.3s; height: 220px; }
.breeze-wisp--3 { left: 70%; animation-delay: 4.5s; }

@keyframes wisp-flow {
  0%   { opacity: 0; transform: translateY(-30px) scaleY(0.7); }
  18%  { opacity: 0.85; }
  60%  { opacity: 0.45; }
  100% { opacity: 0; transform: translateY(40px) scaleY(1.1); }
}

/* Breeze particle — дрейфующая точка-воздух */
.breeze-particle {
  position: absolute;
  top: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(220, 210, 255, 0.95) 0%,
    rgba(160, 142, 255, 0.5) 45%,
    transparent 80%
  );
  filter: blur(0.5px);
  opacity: 0;
  animation: breeze-drift 6s ease-in-out infinite;
}

.breeze-particle--1 { left: 38%; animation-delay: 0s;   animation-duration: 6s;   }
.breeze-particle--2 { left: 58%; animation-delay: 1.2s; animation-duration: 7s;   }
.breeze-particle--3 { left: 28%; animation-delay: 2.8s; animation-duration: 5.5s; width: 3px; height: 3px; }
.breeze-particle--4 { left: 68%; animation-delay: 0.6s; animation-duration: 6.5s; }
.breeze-particle--5 { left: 48%; animation-delay: 3.2s; animation-duration: 7.2s; width: 5px; height: 5px;
  background: radial-gradient(circle, rgba(170, 220, 255, 0.85) 0%, rgba(77, 213, 255, 0.4) 45%, transparent 80%);
}
.breeze-particle--6 { left: 22%; animation-delay: 4s;   animation-duration: 5.8s; }
.breeze-particle--7 { left: 76%; animation-delay: 1.6s; animation-duration: 6.8s; width: 3px; height: 3px; }
.breeze-particle--8 { left: 50%; animation-delay: 5s;   animation-duration: 6s;   }

@keyframes breeze-drift {
  0%   { transform: translateY(0)    translateX(0);   opacity: 0;    }
  15%  { opacity: 0.95; }
  50%  { transform: translateY(120px) translateX(-12px); opacity: 0.65; }
  85%  { opacity: 0.35; }
  100% { transform: translateY(220px) translateX(8px); opacity: 0; }
}

/* ── Hero logo — субтильное "дыхание" от воздушного потока ─────── */
.hero-logo--breath {
  animation: logo-breath 8s ease-in-out infinite;
}

@keyframes logo-breath {
  0%, 100% {
    transform: translateY(0);
    filter: drop-shadow(0 0 60px rgba(124, 106, 255, 0.5));
  }
  50% {
    transform: translateY(-1.5px);
    filter: drop-shadow(0 0 88px rgba(160, 142, 255, 0.74));
  }
}

/* ── CTA "Открыть форточку" — синхронный glow с дыханием окна ──── */
.btn--breeze {
  animation: btn-breeze 7s ease-in-out infinite;
}

@keyframes btn-breeze {
  0%, 100% {
    box-shadow: 0 8px 28px rgba(124, 106, 255, 0.28);
  }
  50% {
    box-shadow:
      0 12px 44px rgba(124, 106, 255, 0.5),
      0 0 36px rgba(160, 142, 255, 0.32);
  }
}

/* Mobile — упрощённый breeze + статичный shutter */
@media (max-width: 880px) {
  .window-shutter {
    border-radius: 0 12px 0 0;
  }
}

@media (max-width: 480px) {
  .hero__breeze {
    width: 200px;
    height: 180px;
    margin-top: -28px;
  }
  .breeze-wisp--1,
  .breeze-wisp--3 { display: none; }
  .breeze-particle--5,
  .breeze-particle--6,
  .breeze-particle--7,
  .breeze-particle--8 { display: none; }
  .window-shutter {
    animation: none;
    transform: rotateY(-22deg);
  }
  .hero-logo--breath {
    animation: logo-breath-soft 8s ease-in-out infinite;
  }
  @keyframes logo-breath-soft {
    0%, 100% { filter: drop-shadow(0 0 50px rgba(124, 106, 255, 0.45)); }
    50%      { filter: drop-shadow(0 0 70px rgba(160, 142, 255, 0.65)); }
  }
}

/* ── Hero · Rising particles (свежий воздух) ────────────────────── */
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  bottom: -10px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(160, 142, 255, 0.65);
  box-shadow: 0 0 8px rgba(160, 142, 255, 0.6);
  opacity: 0;
  animation: particle-rise 14s linear infinite;
}

.particle--1  { left: 6%;   animation-delay: 0s;    animation-duration: 16s; }
.particle--2  { left: 14%;  animation-delay: 2s;    animation-duration: 13s; }
.particle--3  { left: 22%;  animation-delay: 5s;    animation-duration: 17s; width: 2px; height: 2px; }
.particle--4  { left: 31%;  animation-delay: 1s;    animation-duration: 14s; }
.particle--5  { left: 41%;  animation-delay: 7s;    animation-duration: 18s; width: 4px; height: 4px; background: rgba(77, 213, 255, 0.5); box-shadow: 0 0 10px rgba(77, 213, 255, 0.5); }
.particle--6  { left: 50%;  animation-delay: 3s;    animation-duration: 15s; }
.particle--7  { left: 58%;  animation-delay: 8s;    animation-duration: 13s; width: 2px; height: 2px; }
.particle--8  { left: 67%;  animation-delay: 4s;    animation-duration: 17s; }
.particle--9  { left: 76%;  animation-delay: 6s;    animation-duration: 16s; width: 4px; height: 4px; }
.particle--10 { left: 84%;  animation-delay: 2.5s;  animation-duration: 14s; }
.particle--11 { left: 92%;  animation-delay: 9s;    animation-duration: 18s; width: 2px; height: 2px; }
.particle--12 { left: 78%;  animation-delay: 11s;   animation-duration: 15s; background: rgba(77, 213, 255, 0.4); box-shadow: 0 0 8px rgba(77, 213, 255, 0.4); }

@keyframes particle-rise {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    transform: translateY(-50vh) translateX(20px);
    opacity: 0.85;
  }
  90% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(-100vh) translateX(-15px);
    opacity: 0;
  }
}

/* ── Hero · Content ─────────────────────────────────────────────── */
.hero__content {
  position: relative;
  z-index: 4;
  text-align: center;
  padding-block: 70px 60px;
  margin-top: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

@media (max-width: 880px) {
  .hero__content { margin-top: 120px; }
}

@media (max-width: 480px) {
  .hero__content { margin-top: 90px; }
}

.hero-tagline {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent-3));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: tagline-shimmer 6s linear infinite;
}

@keyframes tagline-shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-logo {
  font-size: clamp(3rem, 10vw, 6.75rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.96;
  background: linear-gradient(
    165deg,
    #ffffff 0%,
    #ddd8ff 28%,
    var(--accent) 62%,
    #baaeff 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 60px rgba(124, 106, 255, 0.5));
  position: relative;
}

.hero-line {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-top: -8px;
  background: linear-gradient(90deg, #fff 30%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  max-width: 580px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
}

.hero-desc--soft {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}

/* ── Hero · Trust chips ─────────────────────────────────────────── */
.hero-feature-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 14px;
}

.hero-feat-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(124, 106, 255, 0.18);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: float-card 5.5s ease-in-out infinite;
  cursor: default;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s var(--ease-out);
}

.hero-feat-card span {
  font-size: 1rem;
}

.hero-feat-card:hover {
  border-color: rgba(124, 106, 255, 0.45);
  background: rgba(124, 106, 255, 0.09);
  transform: translateY(-3px);
}

.hero-feat-card:nth-child(1) { animation-delay: 0.0s; }
.hero-feat-card:nth-child(2) { animation-delay: 0.8s; }
.hero-feat-card:nth-child(3) { animation-delay: 1.6s; }
.hero-feat-card:nth-child(4) { animation-delay: 2.4s; }

@keyframes float-card {
  0%, 100% { transform: translateY(0px);  }
  50%       { transform: translateY(-7px); }
}

/* ── Hero · Scroll hint ─────────────────────────────────────────── */
.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  opacity: 0.55;
  animation: scroll-hint-bob 2.4s ease-in-out infinite;
}

.scroll-hint__line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--accent));
}

.scroll-hint__text {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}

@keyframes scroll-hint-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.55; }
  50%      { transform: translateX(-50%) translateY(6px); opacity: 0.85; }
}

@media (max-width: 768px) {
  .hero__scroll-hint { display: none; }
}

/* ── Marquee — живая лента бренда ───────────────────────────────── */
.marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(124, 106, 255, 0.1);
  border-bottom: 1px solid rgba(124, 106, 255, 0.1);
  background:
    linear-gradient(90deg,
      var(--bg) 0%,
      rgba(124, 106, 255, 0.04) 50%,
      var(--bg) 100%
    );
  padding-block: 18px;
  --marquee-speed: 38s;
}

.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 100%);
}

.marquee::after {
  right: 0;
  background: linear-gradient(90deg, transparent 0%, var(--bg) 100%);
}

.marquee__track {
  display: inline-flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee-slide var(--marquee-speed) linear infinite;
  padding-left: 48px;
}

.marquee__item {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}

@keyframes marquee-slide {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Sections ───────────────────────────────────────────────────── */
.section {
  padding-block: 78px;
  position: relative;
}

.section--alt {
  background: var(--bg-2);
  background-image: radial-gradient(rgba(124, 106, 255, 0.04) 1px, transparent 1px);
  background-size: 30px 30px;
}

.section--accent-border {
  border-top: 1px solid rgba(124, 106, 255, 0.1);
  border-bottom: 1px solid rgba(124, 106, 255, 0.1);
  background: linear-gradient(180deg,
    rgba(124, 106, 255, 0.05) 0%,
    transparent 100%
  );
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 46px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--accent-2);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.125rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--text);
}

.section-desc {
  color: var(--text-muted);
  line-height: 1.72;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.how-steps--4 {
  grid-template-columns: repeat(4, 1fr);
}

.how-steps--5 {
  grid-template-columns: repeat(5, 1fr);
}

.how-step {
  position: relative;
  padding: 32px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition:
    border-color 0.3s ease,
    transform 0.3s var(--ease-out),
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.how-step::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent-soft) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.how-step::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    var(--accent),
    transparent
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.how-step:hover {
  border-color: var(--border-accent);
  transform: translateY(-6px);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(124, 106, 255, 0.22);
}

.how-step:hover::before,
.how-step:hover::after {
  opacity: 1;
}

.how-step--optional {
  border-style: dashed;
  opacity: 0.7;
}

.how-step--optional:hover {
  opacity: 1;
  border-style: solid;
}

.step-num {
  font-size: 2.75rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.8;
}

/* ── Cards Grid ─────────────────────────────────────────────────── */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

/* Install grid — 5 платформ, компактные карточки (clickable buttons) */
.install-grid .card {
  padding: 22px 18px;
  gap: 10px;
  /* Override <button> defaults */
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  color: inherit;
  width: 100%;
}

.install-grid .card:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

.install-grid .card-icon {
  width: 44px;
  height: 44px;
  font-size: 1.375rem;
}

.install-grid .card-title {
  font-size: 0.9375rem;
}

.install-grid .card-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.install-grid .card-arrow {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-size: 0.875rem;
  color: var(--text-dim);
  transition: transform 0.3s var(--ease-out), color 0.3s ease;
}

.install-grid .card[aria-expanded="true"] {
  border-color: var(--border-accent);
  background: linear-gradient(148deg,
    rgba(124, 106, 255, 0.12) 0%,
    var(--surface) 55%
  );
  box-shadow:
    0 0 0 1px rgba(124, 106, 255, 0.2),
    0 14px 40px rgba(124, 106, 255, 0.14);
}

.install-grid .card[aria-expanded="true"] .card-arrow {
  transform: rotate(180deg);
  color: var(--accent-2);
}

/* ── Install detail panel ──────────────────────────────────────── */
.install-details {
  margin-top: 28px;
  display: none;
}

.install-details.is-open {
  display: block;
}

.install-detail {
  background: linear-gradient(160deg,
    var(--elevated) 0%,
    rgba(124, 106, 255, 0.04) 100%
  );
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 32px 32px 28px;
  position: relative;
  animation: install-detail-fade 0.35s var(--ease-out);
}

.install-detail[hidden] {
  display: none;
}

@keyframes install-detail-fade {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .install-detail {
    animation: none;
  }
  .install-grid .card-arrow {
    transition: none;
  }
}

.install-detail__title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
}

.install-detail__steps {
  counter-reset: install-step;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.install-detail__steps li {
  counter-increment: install-step;
  position: relative;
  padding-left: 36px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text);
}

.install-detail__steps li::before {
  content: counter(install-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent-2);
  border: 1px solid rgba(124, 106, 255, 0.2);
  border-radius: 50%;
  font-size: 0.8125rem;
  font-weight: 700;
}

/* App-link — подсветка названий приложений в инструкциях */
.app-link {
  color: var(--accent-2);
  text-decoration: underline;
  text-decoration-color: rgba(160, 142, 255, 0.4);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
  /* Лёгкий external-link маркер */
  white-space: nowrap;
}

.app-link::after {
  content: " ↗";
  font-size: 0.75em;
  opacity: 0.65;
  margin-left: 1px;
}

.app-link:hover {
  color: #fff;
  text-decoration-color: var(--accent-2);
}

.app-link:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
  border-radius: 3px;
}

.install-detail__hint {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.install-detail__lead {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 14px;
}

.install-detail__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

@media (max-width: 600px) {
  .install-detail {
    padding: 24px 20px 22px;
  }
  .install-detail__cta {
    flex-direction: column;
  }
  .install-detail__cta .btn {
    width: 100%;
  }
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  transition:
    border-color 0.3s ease,
    transform 0.3s var(--ease-out),
    box-shadow 0.3s ease;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(124, 106, 255, 0.5),
    transparent
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.card:hover {
  border-color: var(--border-accent);
  transform: translateY(-6px);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(124, 106, 255, 0.18);
}

.card:hover::before {
  opacity: 1;
}

.card--accent {
  border-color: rgba(124, 106, 255, 0.16);
  background: linear-gradient(148deg,
    rgba(124, 106, 255, 0.07) 0%,
    var(--surface) 55%
  );
}

.card--accent:hover {
  border-color: var(--border-accent);
  transform: translateY(-7px);
  box-shadow:
    0 18px 56px rgba(124, 106, 255, 0.12),
    0 0 0 1px rgba(124, 106, 255, 0.1),
    inset 0 1px 0 rgba(124, 106, 255, 0.24);
}

.card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border: 1px solid rgba(124, 106, 255, 0.16);
  border-radius: var(--radius);
  font-size: 1.625rem;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-bounce), background 0.3s ease;
}

.card:hover .card-icon {
  transform: scale(1.08) rotate(-3deg);
  background: rgba(124, 106, 255, 0.14);
}

.card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Country card tag ───────────────────────────────────────────── */
.card--country {
  position: relative;
}

.card-tag {
  align-self: flex-start;
  margin-top: auto;
  padding: 4px 10px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(124, 106, 255, 0.2);
  border-radius: 100px;
}

.card-tag--soft {
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.06);
}

/* ── Plans Grid ─────────────────────────────────────────────────── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 28px;
}

.plan-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  transition:
    border-color 0.3s ease,
    transform 0.3s var(--ease-out),
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.plan-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg,
    transparent 30%,
    rgba(124, 106, 255, 0.45) 50%,
    transparent 70%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.plan-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-5px);
  box-shadow:
    0 14px 44px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(124, 106, 255, 0.14);
}

.plan-card:hover::after {
  opacity: 1;
}

.plan-card--trial {
  background: linear-gradient(150deg,
    rgba(0, 201, 122, 0.05) 0%,
    var(--surface) 55%
  );
  border-color: rgba(0, 201, 122, 0.18);
}

.plan-card--trial:hover {
  border-color: rgba(0, 201, 122, 0.45);
  box-shadow:
    0 14px 44px rgba(0, 201, 122, 0.08),
    inset 0 1px 0 rgba(0, 201, 122, 0.2);
}

.plan-card--featured {
  border-color: rgba(160, 142, 255, 0.55);
  background: linear-gradient(155deg,
    rgba(124, 106, 255, 0.18) 0%,
    var(--elevated) 60%
  );
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 0 0 1.5px rgba(160, 142, 255, 0.32),
    0 0 60px rgba(124, 106, 255, 0.18),
    0 32px 80px rgba(124, 106, 255, 0.16);
}

.plan-card--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg,
    transparent,
    var(--accent),
    var(--accent-2),
    var(--accent),
    transparent
  );
  opacity: 0.9;
  animation: featured-beam 4s ease-in-out infinite;
}

@keyframes featured-beam {
  0%, 100% { opacity: 0.6; width: 60%; }
  50%      { opacity: 1;   width: 90%; }
}

.plan-card--featured:hover {
  transform: translateY(-12px) scale(1.025);
  box-shadow:
    0 0 0 1.5px rgba(180, 162, 255, 0.55),
    0 0 80px rgba(124, 106, 255, 0.32),
    0 36px 96px rgba(124, 106, 255, 0.28),
    inset 0 1px 0 rgba(180, 162, 255, 0.4);
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  align-self: flex-start;
  box-shadow: 0 4px 16px rgba(124, 106, 255, 0.4);
}

.plan-badge--soft {
  background: rgba(0, 201, 122, 0.15);
  color: var(--green);
  border: 1px solid rgba(0, 201, 122, 0.3);
  box-shadow: none;
}

.plan-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.plan-price-main {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}

.plan-card--featured .plan-price-main {
  background: linear-gradient(135deg, #fff 30%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.plan-price-per-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

.plan-price-period {
  font-size: 0.8125rem;
  color: var(--accent-2);
  font-weight: 600;
  min-height: 1.2em;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.plan-features li {
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}

.plan-features li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.plans-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-dim);
  max-width: 540px;
  margin-inline: auto;
  line-height: 1.65;
}

.plans-tg {
  text-align: center;
  margin-top: 8px;
}

/* ── Privacy Badges ─────────────────────────────────────────────── */
.privacy-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 12px;
}

.privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 100px;
  background: rgba(0, 201, 122, 0.07);
  border: 1px solid rgba(0, 201, 122, 0.22);
  color: var(--green);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background 0.25s ease, transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}

.privacy-badge:hover {
  background: rgba(0, 201, 122, 0.13);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0, 201, 122, 0.16);
}

/* ── CTA box ────────────────────────────────────────────────────── */
.cta-box {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  padding: 56px 48px;
  background: linear-gradient(160deg,
    var(--elevated) 0%,
    rgba(124, 106, 255, 0.06) 100%
  );
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(124, 106, 255, 0.06),
    0 32px 80px rgba(0, 0, 0, 0.5),
    0 0 120px rgba(124, 106, 255, 0.08);
}

.cta-box__beam {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 2px;
  background: linear-gradient(90deg,
    transparent,
    var(--accent),
    var(--accent-2),
    transparent
  );
  animation: cta-beam-slide 4s ease-in-out infinite;
}

@keyframes cta-beam-slide {
  0%, 100% { width: 120px; opacity: 0.8; }
  50%      { width: 220px; opacity: 1; }
}

.cta-box__glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 420px;
  height: 280px;
  background: radial-gradient(ellipse at center,
    rgba(124, 106, 255, 0.18) 0%,
    transparent 65%
  );
  pointer-events: none;
  filter: blur(20px);
  animation: cta-glow-pulse 6s ease-in-out infinite;
}

@keyframes cta-glow-pulse {
  0%, 100% { opacity: 0.7; }
  50%      { opacity: 1; }
}

.cta-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--accent-2);
  position: relative;
}

.cta-title {
  font-size: clamp(1.875rem, 4.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  background: linear-gradient(160deg, var(--text) 10%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  max-width: 600px;
}

.cta-desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 460px;
  position: relative;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 6px;
  position: relative;
}

.cta-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
  position: relative;
}

.cta-chip {
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--accent-soft);
  color: var(--accent-2);
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid var(--border-accent);
}

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

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(16, 16, 32, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(124, 106, 255, 0.18);
  background: rgba(16, 16, 32, 0.7);
}

.faq-item details {
  width: 100%;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: color 0.25s ease;
}

.faq-item summary > span {
  flex: 1;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-dim);
  transition: color 0.3s ease, transform 0.3s var(--ease-out);
  flex-shrink: 0;
  margin-left: 16px;
  display: inline-block;
}

.faq-item details[open] summary {
  color: var(--accent-2);
}

.faq-item details[open] summary::after {
  content: "−";
  color: var(--accent-2);
  transform: rotate(180deg);
}

.faq-answer {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.75;
  padding: 0 24px 20px;
}

/* Smooth open animation via grid-rows trick on details */
.faq-item details[open] .faq-answer {
  animation: faq-fade-in 0.4s var(--ease-out);
}

@keyframes faq-fade-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Footer ─────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 36px;
  background: var(--bg);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--text-dim);
  gap: 16px;
}

.site-footer__brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.site-footer__logo {
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--text) 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.site-footer__tagline {
  color: var(--text-muted);
  font-style: italic;
}

.site-footer__legal {
  color: var(--text-dim);
}

/* ── Responsive: 1200px ─────────────────────────────────────────── */
@media (max-width: 1200px) {
  .how-steps--4,
  .how-steps--5 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Responsive: Tablet 1024px ──────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .how-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-steps--4,
  .how-steps--5 {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

/* ── Responsive: Mobile 768px ───────────────────────────────────── */
@media (max-width: 768px) {
  .section {
    padding-block: 60px;
  }

  .section-header {
    margin-bottom: 36px;
  }

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

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

  .how-steps,
  .how-steps--4,
  .how-steps--5 {
    grid-template-columns: 1fr;
  }

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

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

  .privacy-badges {
    flex-direction: column;
    align-items: center;
  }

  .cta-box {
    padding: 48px 28px;
  }

  .site-footer__inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .marquee {
    --marquee-speed: 30s;
  }
}

/* ── Responsive: Small mobile 480px ────────────────────────────── */
@media (max-width: 480px) {
  .section {
    padding-block: 48px;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .container {
    padding-inline: 16px;
  }

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

  .hero__content {
    padding-block: 60px 50px;
    gap: 22px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin-inline: auto;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-feature-cards {
    gap: 8px;
  }

  .hero-feat-card {
    font-size: 0.8125rem;
    padding: 8px 14px;
  }

  .cta-box {
    padding: 36px 22px;
    border-radius: var(--radius-lg);
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .site-header__inner {
    gap: 12px;
  }
}
