/* PEX Helper Landing — деловой стиль */

:root {
  --navy: #0c1222;
  --navy-2: #141d32;
  --navy-3: #1a2744;
  --blue: #3b82f6;
  --blue-d: #2563eb;
  --cyan: #06b6d4;
  --green: #10b981;
  --amber: #f59e0b;
  --red: #ef4444;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 4px 24px rgba(12, 18, 34, 0.08);
  --shadow-lg: 0 20px 60px rgba(12, 18, 34, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 88px; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: linear-gradient(165deg, #f0f4fa 0%, #fafbfc 35%, #f5f7fb 70%, #eef2f8 100%);
  background-attachment: fixed;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}
.container--wide {
  width: min(1320px, calc(100% - 32px));
}

/* ─── HEADER ─── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  background: rgba(12, 18, 34, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
.header.is-scrolled {
  background: rgba(12, 18, 34, 0.97);
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
  padding: 10px 0;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
}
.logo__icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.nav a:hover { color: var(--white); }
.nav__cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s !important;
}
.nav__cta:hover { background: var(--blue-d) !important; transform: translateY(-1px); }

.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-btn span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: 0.3s;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-d));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}
.btn--primary:hover { box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5); }
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn--outline:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.05); }
.btn--dark {
  background: var(--navy-2);
  color: var(--white);
}
.btn--block { width: 100%; }
.btn--sm { padding: 10px 18px; font-size: 13px; }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(59,130,246,0.18), transparent),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(6,182,212,0.12), transparent),
    radial-gradient(ellipse 50% 40% at 60% 80%, rgba(59,130,246,0.08), transparent);
}
.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 8s ease-in-out infinite;
}
.hero__orb--1 { width: 400px; height: 400px; background: rgba(59,130,246,0.15); top: -10%; right: -5%; }
.hero__orb--2 { width: 300px; height: 300px; background: rgba(6,182,212,0.1); bottom: 10%; left: -5%; animation-delay: -4s; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -20px); }
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(59,130,246,0.3);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: #93c5fd;
  margin-bottom: 24px;
  animation: fadeUp 0.8s var(--ease) both;
}
.hero__badge-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  animation: fadeUp 0.8s var(--ease) 0.1s both;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #93c5fd, var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__lead {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin-bottom: 32px;
  animation: fadeUp 0.8s var(--ease) 0.2s both;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
  animation: fadeUp 0.8s var(--ease) 0.3s both;
}
.hero__stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  animation: fadeUp 0.8s var(--ease) 0.4s both;
}
.hero__stat strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}
.hero__stat span {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.hero__card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(12px);
  animation: fadeUp 0.8s var(--ease) 0.25s both;
}
.hero__card-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.hero__card-price {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.hero__card-price small {
  font-size: 18px;
  font-weight: 600;
  color: #93c5fd;
}
.hero__card-note {
  font-size: 14px;
  color: var(--cyan);
  margin: 16px 0;
  padding: 10px 14px;
  background: rgba(6,182,212,0.1);
  border-radius: 8px;
  border-left: 3px solid var(--cyan);
}
.hero__card-note--gold {
  color: #fcd34d;
  background: rgba(245,158,11,0.1);
  border-color: var(--amber);
}

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

/* ─── SECTIONS ─── */
.section { padding: 100px 0; position: relative; }
.section--gray { background: linear-gradient(180deg, #eef2f7 0%, #f4f6fa 50%, #eaeff6 100%); }
.section--dark { background: var(--navy); color: var(--white); }

.section--pattern {
  background: linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(246,249,252,0.9) 100%);
}
.section--pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 8% 15%, rgba(59,130,246,0.11), transparent 55%),
    radial-gradient(ellipse 50% 40% at 92% 85%, rgba(6,182,212,0.09), transparent 50%),
    radial-gradient(ellipse 35% 30% at 70% 10%, rgba(99,102,241,0.06), transparent 45%);
}
.section--pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.65;
  background-image:
    linear-gradient(rgba(59,130,246,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, black 15%, transparent 80%);
  animation: patternShift 32s linear infinite;
}
@keyframes patternShift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(56px, 56px); }
}
.section--pattern > .container,
.section--pattern > .container--wide {
  position: relative;
  z-index: 1;
}
.section--gray.section--pattern {
  background: linear-gradient(180deg, #e8edf5 0%, #f0f4fa 45%, #e6ecf4 100%);
}
.section--gray.section--pattern::before {
  background:
    radial-gradient(ellipse 55% 45% at 95% 12%, rgba(59,130,246,0.12), transparent 55%),
    radial-gradient(ellipse 45% 35% at 5% 88%, rgba(6,182,212,0.1), transparent 50%);
}

.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 12px;
}
.section--dark .section__eyebrow { color: var(--cyan); }
.section__head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.15;
}
.section__head p {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.65;
}
.section__head a {
  color: var(--blue);
  font-weight: 600;
}
.section__head a:hover { text-decoration: underline; }
.section--dark .section__head p { color: rgba(255,255,255,0.6); }

/* reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── COMPAT ─── */
.compat-bar {
  background: var(--navy-2);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 16px 0;
}
.compat-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  text-align: center;
}
.compat-bar strong { color: var(--cyan); }

/* ─── BENEFITS ─── */
.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.benefit {
  padding: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.9) 100%);
  border: 1px solid rgba(59,130,246,0.1);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  backdrop-filter: blur(4px);
}
.benefit:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.benefit__icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(6,182,212,0.1));
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--blue);
}
.benefit__icon svg {
  width: 24px;
  height: 24px;
}
.benefit h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.benefit p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.55;
}

/* ─── COMPARE SLIDER ─── */
.section--compare { padding-bottom: 80px; }
.compare-wrap { position: relative; }

.compare-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  align-items: stretch;
}

.compare-tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: flex-start;
  margin-bottom: 0;
}
.compare-tab {
  padding: 12px 16px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  cursor: pointer;
  color: var(--gray-600);
  transition: all 0.2s;
  text-align: left;
  width: 100%;
}
.compare-tab:hover { border-color: var(--blue); color: var(--blue); }
.compare-tab.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(59,130,246,0.3);
}
.compare-tab--hint:not(.is-active) {
  animation: tabPulse 2.4s ease-in-out infinite;
}
@keyframes tabPulse {
  0%, 100% {
    border-color: var(--gray-200);
    box-shadow: none;
  }
  50% {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
  }
}

.compare-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  background: var(--gray-100);
  user-select: none;
}
.compare-frame__chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--navy-2);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.compare-frame__dots span {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-right: 4px;
}
.compare-frame__dots span:nth-child(1) { background: #ff5f57; }
.compare-frame__dots span:nth-child(2) { background: #febc2e; }
.compare-frame__dots span:nth-child(3) { background: #28c840; }
.compare-frame__url {
  flex: 1;
  margin-left: 12px;
  padding: 6px 14px;
  background: rgba(0,0,0,0.3);
  border-radius: 6px;
  font-size: 12px;
  font-family: var(--mono);
  color: rgba(255,255,255,0.5);
}
.compare-frame__labels {
  display: flex;
  gap: 8px;
}
.compare-frame__label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 4px;
}
.compare-frame__label--before { background: var(--gray-200); color: var(--gray-600); }
.compare-frame__label--after { background: var(--blue); color: var(--white); }

.compare-slider {
  position: relative;
  height: 75vh;
  min-height: 480px;
  max-height: 75vh;
  overflow: hidden;
  touch-action: none;
}
.compare-slider__layer {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  pointer-events: none;
  user-select: none;
}
.compare-slider__layer .pex-demo-zone {
  padding: 20px;
}
.compare-slider__layer--after { z-index: 2; }
.compare-static,
.compare-static * {
  pointer-events: none !important;
  cursor: default !important;
}

.compare-slider__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 48px;
  background: transparent;
  z-index: 10;
  transform: translateX(-50%);
  cursor: ew-resize;
  pointer-events: auto;
  touch-action: none;
}
.compare-slider__handle::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: var(--white);
  box-shadow: 0 0 24px rgba(0,0,0,0.35);
  pointer-events: none;
}
.compare-slider__handle-grip {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
  border: 2px solid var(--gray-200);
}
.compare-slider__handle-grip::after {
  content: '◀ ▶';
  font-size: 9px;
  letter-spacing: -1px;
  color: var(--gray-600);
}
.compare-slider__tooltip {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 14px;
  background: var(--navy-2);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  z-index: 12;
}
.compare-slider__tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--navy-2);
}
.compare-slider__tooltip.is-visible {
  opacity: 1;
  animation: tooltipBob 2.2s ease-in-out infinite;
}
@keyframes tooltipBob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-5px); }
}
.compare-hint {
  display: none;
}

/* ─── PLAY DEMO ─── */
.play-demo__chrome {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--gray-100);
}
.play-demo__admin { border-radius: 0; }
.play-demo__body {
  padding: 24px;
  max-width: 640px;
  margin: 0 auto;
}
.play-demo__tips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: center;
  list-style: none;
  margin-top: 20px;
  font-size: 13px;
  color: var(--gray-600);
}
.play-demo__tips li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.play-demo__tips strong {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  background: var(--gray-100);
  border-radius: 6px;
  font-size: 11px;
  color: var(--blue);
}

/* ─── MODULES ─── */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.module-card {
  padding: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,0.96) 0%, rgba(248,250,252,0.88) 100%);
  border: 1px solid rgba(59,130,246,0.1);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  backdrop-filter: blur(4px);
}
.module-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.module-card__icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(6,182,212,0.08));
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--blue);
  margin-bottom: 18px;
}
.module-card__icon svg { width: 26px; height: 26px; }
.module-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}
.module-card__where {
  font-size: 12px;
  color: var(--gray-400);
  margin-bottom: 16px;
}
.module-card__where code {
  font-family: var(--mono);
  font-size: 11px;
  background: var(--gray-100);
  padding: 2px 6px;
  border-radius: 4px;
}
.module-card ul {
  list-style: none;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.65;
}
.module-card li {
  padding: 6px 0;
  padding-left: 18px;
  position: relative;
}
.module-card li::before {
  content: '';
  position: absolute;
  left: 0; top: 13px;
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  opacity: 0.5;
}

/* ─── TIMER SHOWCASE ─── */
.feature-card--timer {
  grid-column: 1 / -1;
}
.timer-showcase {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
}
.timer-showcase__copy {
  padding: 32px 36px;
}
.timer-showcase__copy h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}
.timer-showcase__copy p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 20px;
}
.timer-showcase__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.timer-legend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-600);
  padding: 6px 12px;
  background: var(--gray-50);
  border-radius: 999px;
  border: 1px solid var(--gray-200);
}
.timer-legend i {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.timer-legend--none i { background: #28a745; }
.timer-legend--yellow i { background: #ffc107; }
.timer-legend--orange i { background: #fd7e14; }
.timer-legend--red i { background: #dc3545; }

.timer-showcase__demo {
  background: linear-gradient(160deg, var(--navy-2), var(--navy-3));
  padding: 28px;
  border-left: 1px solid rgba(255,255,255,0.06);
}
.timer-showcase__admin {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(0,0,0,0.25);
  border-radius: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}
.timer-showcase__admin span:first-child { flex: 1; }
.timer-showcase__bid {
  background: #f1f5f9;
  border-radius: 12px;
  padding: 24px;
}
.timer-showcase__levels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.timer-level-btn {
  padding: 8px 14px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  transition: all 0.2s;
}
.timer-level-btn:hover { border-color: var(--blue); color: var(--blue); }
.timer-level-btn.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.timer-showcase__bar {
  height: 8px;
  background: var(--gray-200);
  border-radius: 999px;
  margin-top: 16px;
  overflow: hidden;
}
.timer-showcase__bar-fill {
  height: 100%;
  width: 55%;
  border-radius: 999px;
  background: linear-gradient(90deg, #28a745, #ffc107, #fd7e14, #dc3545);
  transition: width 0.5s var(--ease);
}

/* ─── PAYMENTS SHOWCASE ─── */
.payments-showcase {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}
.payments-showcase__copy h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.15;
}
.payments-showcase__copy p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 14px;
}
.payments-showcase__copy p strong { color: var(--gray-800); }
.payments-showcase__points {
  list-style: none;
  margin-top: 24px;
}
.payments-showcase__points li {
  position: relative;
  padding: 10px 0 10px 22px;
  font-size: 14px;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-200);
}
.payments-showcase__points li::before {
  content: '';
  position: absolute;
  left: 0; top: 16px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.7;
}
.payments-showcase__frame {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  padding: 0;
}
.payments-showcase__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-800);
}
.payments-showcase__badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  background: rgba(59,130,246,0.1);
  color: var(--blue);
  border-radius: 999px;
}
.payments-showcase__list {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.payments-showcase__item {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.payments-showcase__item:hover {
  border-color: rgba(59,130,246,0.35);
  background: var(--white);
}
.payments-showcase__item.is-active {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 4px 16px rgba(59,130,246,0.12);
}
.payments-showcase__item--issue.is-active {
  border-color: var(--amber);
  box-shadow: 0 4px 16px rgba(245,158,11,0.15);
}
.payments-showcase__item-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.payments-showcase__amount {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
}
.payments-showcase__time {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gray-400);
}
.payments-showcase__comment {
  font-size: 13px;
  font-style: italic;
  color: var(--gray-600);
  margin-bottom: 6px;
  line-height: 1.45;
}
.payments-showcase__meta {
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
}
.payments-showcase__flag {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #92400e;
  background: #fef3c7;
  border-radius: 4px;
}
.payments-showcase__detail {
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(59,130,246,0.06), rgba(6,182,212,0.04));
  border-top: 1px solid var(--gray-200);
}
.payments-showcase__detail-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
  margin-bottom: 6px;
}
.payments-showcase__detail strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.5;
  font-family: var(--mono);
}
.payments-showcase__hint {
  margin-top: 14px;
  font-size: 12px;
  color: var(--gray-400);
  text-align: center;
}

.toast {
  position: fixed;
  bottom: 28px; right: 28px;
  padding: 14px 22px;
  background: var(--navy-2);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s;
  pointer-events: none;
}
.toast.is-show {
  transform: none;
  opacity: 1;
}

/* ─── FEATURES GRID ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.97) 0%, rgba(248,250,252,0.92) 100%);
  border: 1px solid rgba(59,130,246,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.3s;
  backdrop-filter: blur(4px);
}
.feature-card:hover { box-shadow: var(--shadow-lg); }
.feature-card__head {
  padding: 24px 28px 0;
}
.feature-card__tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 8px;
}
.feature-card__head h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card__head p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.55;
}
.feature-card__demo {
  padding: 24px 28px 28px;
}

/* ─── SECURITY ─── */
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.security-item {
  padding: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  transition: background 0.3s;
}
.security-item:hover { background: rgba(255,255,255,0.07); }
.security-item--hero {
  grid-column: 1 / -1;
  background: rgba(6,182,212,0.08);
  border-color: rgba(6,182,212,0.2);
  padding: 32px;
}
.security-item--wide {
  grid-column: 1 / -1;
}
.security-manifest {
  list-style: none;
  margin: 12px 0;
  font-size: 13px;
}
.security-manifest li {
  padding: 6px 0;
  color: rgba(255,255,255,0.7);
}
.security-manifest code {
  font-size: 11px;
}
.security-item h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.security-item p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}
.security-item code {
  font-family: var(--mono);
  font-size: 12px;
  background: rgba(0,0,0,0.3);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--cyan);
}

.security-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
  padding: 32px;
  background: rgba(0,0,0,0.2);
  border-radius: var(--radius);
}
.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 220px;
}
.flow-node {
  padding: 14px 20px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  font-size: 13px;
  text-align: center;
  width: 100%;
}
.flow-sample {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.5;
  padding: 10px 12px;
  border-radius: 8px;
  text-align: center;
  word-break: break-word;
  width: 100%;
}
.flow-sample--plain {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.12);
}
.flow-sample--cipher {
  background: rgba(0,0,0,0.35);
  color: var(--cyan);
  border: 1px dashed rgba(6,182,212,0.4);
  letter-spacing: 0.02em;
}
.flow-caption {
  font-size: 11px;
  color: var(--cyan);
  text-align: center;
  font-weight: 600;
}
.flow-arrow {
  color: var(--cyan);
  font-weight: 700;
  align-self: center;
  padding-top: 18px;
}

.flow-node--hi {
  background: rgba(6,182,212,0.15);
  border: 1px solid rgba(6,182,212,0.3);
}

/* ─── PRICING ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: start;
}
.pricing-list { list-style: none; }
.pricing-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 15px;
  color: var(--gray-600);
}
.pricing-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: rgba(16,185,129,0.1);
  color: var(--green);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}
.pricing-list--icons li::before { display: none; }
.pricing-list__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(6,182,212,0.1));
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--blue);
}
.pricing-list__icon svg {
  width: 20px;
  height: 20px;
}

.pricing-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.95) 100%);
  border: 2px solid var(--blue);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 20px 60px rgba(59,130,246,0.12);
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.pricing-card__price {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--navy);
  line-height: 1;
  margin: 16px 0 4px;
}
.pricing-card__price small {
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-600);
}
.pricing-card__period {
  font-size: 14px;
  color: var(--gray-400);
  margin-bottom: 24px;
}
.pricing-badge {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 12px;
}
.pricing-badge__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: currentColor;
  opacity: 0.85;
}
.pricing-badge__icon svg {
  width: 18px;
  height: 18px;
}
.pricing-badge--trial .pricing-badge__icon { background: rgba(16,185,129,0.15); color: #059669; }
.pricing-badge--ref .pricing-badge__icon { background: rgba(245,158,11,0.15); color: #d97706; }
.pricing-badge strong { display: block; margin-bottom: 2px; font-size: 14px; }
.pricing-badge--trial { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.pricing-badge--ref { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }

/* ─── CONTACT ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.contact-box {
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.contact-box a {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--blue-d);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.contact-box a:hover { color: var(--blue); }
.contact-box__tg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.5);
  padding: 32px 0;
  text-align: center;
  font-size: 13px;
}
.footer__note {
  margin-top: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

/* ─── HOW IT WORKS ─── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 32px 28px 28px;
  background: linear-gradient(145deg, rgba(255,255,255,0.96) 0%, rgba(248,250,252,0.9) 100%);
  border: 1px solid rgba(59,130,246,0.1);
  border-radius: var(--radius-lg);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
  backdrop-filter: blur(4px);
}
.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--white);
  font-weight: 800;
  font-size: 16px;
  border-radius: 12px;
  margin-bottom: 20px;
}
.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.step p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}
.step__tag {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 10px;
  background: var(--gray-100);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-600);
  font-family: var(--mono);
}

/* ─── FAQ ─── */
.faq {
  max-width: 720px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
  transition: box-shadow 0.3s;
}
.faq-item.is-open {
  box-shadow: var(--shadow);
  border-color: rgba(59,130,246,0.3);
}
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  color: var(--gray-800);
  cursor: pointer;
  transition: color 0.2s;
}
.faq-item__q:hover { color: var(--blue); }
.faq-item__icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gray-100);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 400;
  color: var(--blue);
  transition: transform 0.35s var(--ease), background 0.2s;
}
.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
  background: rgba(59,130,246,0.1);
}
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.faq-item.is-open .faq-item__a { max-height: 280px; }
.faq-item__a-inner {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.65;
}
.faq-item__a-inner code {
  font-family: var(--mono);
  font-size: 13px;
  background: var(--gray-100);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--navy);
}

/* ─── CTA BANNER ─── */
.cta-banner {
  position: relative;
  padding: 64px;
  background: linear-gradient(135deg, var(--navy-2), var(--navy-3));
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  color: var(--white);
}
.cta-banner__glow {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(59,130,246,0.25), transparent 70%);
  top: -50%; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.cta-banner h2 {
  position: relative;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.cta-banner p {
  position: relative;
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner .btn { position: relative; }

/* security flow animation */
.security-flow.is-visible .flow-step {
  animation: flowIn 0.6s var(--ease) both;
}
.security-flow.is-visible .flow-step:nth-child(1) { animation-delay: 0.1s; }
.security-flow.is-visible .flow-step:nth-child(3) { animation-delay: 0.25s; }
.security-flow.is-visible .flow-step:nth-child(5) { animation-delay: 0.4s; }
.security-flow.is-visible .flow-step:nth-child(7) { animation-delay: 0.55s; }
.security-flow.is-visible .flow-arrow {
  animation: flowIn 0.5s var(--ease) both;
}
.security-flow.is-visible .flow-arrow:nth-child(2) { animation-delay: 0.18s; }
.security-flow.is-visible .flow-arrow:nth-child(4) { animation-delay: 0.33s; }
.security-flow.is-visible .flow-arrow:nth-child(6) { animation-delay: 0.48s; }
@keyframes flowIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.flow-step, .flow-arrow { opacity: 0; }
.security-flow.is-visible .flow-step,
.security-flow.is-visible .flow-arrow { opacity: 1; }

/* nav active */
.nav a.is-active { color: var(--white); }
.nav a.is-active:not(.nav__cta) { box-shadow: inset 0 -2px 0 var(--cyan); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero__content { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .modules-grid { grid-template-columns: 1fr; }
  .timer-showcase { grid-template-columns: 1fr; }
  .timer-showcase__demo { border-left: none; border-top: 1px solid rgba(255,255,255,0.06); }
  .payments-showcase { grid-template-columns: 1fr; gap: 32px; }
  .features-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .compare-slider { height: min(75vh, 680px); }
  .flow-step { max-width: 100%; }
  .flow-arrow { padding-top: 0; }
  .compare-layout { grid-template-columns: 1fr; }
  .compare-tabs {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .compare-tab { width: auto; flex: 1 1 calc(50% - 4px); min-width: 140px; }
}
@media (max-width: 640px) {
  .nav {
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .menu-btn { display: block; }
  .benefits { grid-template-columns: 1fr; }
  .hero__stats { flex-direction: column; gap: 20px; }
  .compare-frame__labels { display: none; }
  .compare-frame__url { font-size: 10px; padding: 6px 8px; }
}
