/* ═══════════════════════════════════════════════════════════════════
   Tot Bot — styles.css
   Дизайн-система: тёмный, академический, строгий
   Бренд-палитра: тёмно-синий (#1B2A5B) + оранжевый (#F58220) + белый
   ═══════════════════════════════════════════════════════════════════ */

/* ── Google Fonts ────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

/* ── CSS Variables ───────────────────────────────────────────────── */
:root {
  /* Фоны */
  --bg-primary: #0A0F2C;
  --bg-secondary: #0E1538;
  --bg-card: #151D42;
  --bg-card-hover: #1C2650;
  --bg-input: #0C1230;

  /* Акценты (бренд) */
  --accent-primary: #F58220;
  --accent-primary-hover: #E0710A;
  --accent-secondary: #10B981;
  --accent-warning: #F59E0B;
  --accent-danger: #EF4444;
  --brand-blue: #1B2A5B;
  --brand-blue-light: #2A3F7A;

  /* Текст */
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-accent: #F58220;

  /* Границы */
  --border-default: #1C2650;
  --border-accent: #F58220;

  /* Тени */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(245, 130, 32, 0.12);

  /* Скругления */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Переходы */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Типографика */
  --font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-hero: clamp(2.5rem, 5vw, 4rem);
  --font-h1: clamp(1.75rem, 3.5vw, 2.5rem);
  --font-h2: clamp(1.25rem, 2.5vw, 1.75rem);
  --font-h3: clamp(1rem, 2vw, 1.25rem);
  --font-body: clamp(0.9rem, 1.5vw, 1.05rem);
  --font-small: clamp(0.8rem, 1.2vw, 0.875rem);
  --font-caption: 0.75rem;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

a {
  color: var(--text-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--accent-primary-hover); }

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Skip to content (a11y) */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--accent-primary);
  color: #fff;
  padding: 8px 16px;
  z-index: 9999;
  font-weight: 600;
}
.skip-to-content:focus { top: 0; }

/* ── Background Effects ──────────────────────────────────────────── */
body {
  background:
    /* Большой оранжевый блик — hero справа сверху */
    radial-gradient(ellipse 80% 50% at 80% 3%, rgba(245, 130, 32, 0.22) 0%, transparent 55%),
    /* Серебристо-белый блик — hero слева */
    radial-gradient(ellipse 60% 35% at 5% 10%, rgba(220, 225, 240, 0.09) 0%, transparent 50%),
    /* Оранжевый — features секция, по центру слева */
    radial-gradient(ellipse 70% 25% at 15% 32%, rgba(245, 130, 32, 0.16) 0%, transparent 50%),
    /* Серебристый блик — pricing справа */
    radial-gradient(ellipse 50% 30% at 90% 50%, rgba(220, 225, 240, 0.08) 0%, transparent 50%),
    /* Оранжевый — reviews снизу слева */
    radial-gradient(ellipse 60% 25% at 25% 72%, rgba(245, 130, 32, 0.18) 0%, transparent 50%),
    /* Серебристый блик — FAQ справа */
    radial-gradient(ellipse 40% 20% at 80% 85%, rgba(220, 225, 240, 0.07) 0%, transparent 50%),
    /* Основа — глубокий синий с переходом */
    linear-gradient(180deg, #080D28 0%, #0A0F2C 15%, #0E1538 35%, #0C1235 55%, #0E1538 70%, #0A0F2C 85%, #080D28 100%);
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(27, 42, 91, 0.3) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Bird footprint trail — placeholder dots */
.bird-trail {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 9999;
}
.bird-trail__step {
  position: absolute;
  width: 24px; height: 28px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.13;
}

/* ── Container ───────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
  position: relative;
  z-index: 1;
}

/* ── Section spacing ─────────────────────────────────────────────── */
.section {
  padding: 48px 0;
  position: relative;
}
@media (min-width: 768px) { .section { padding: 60px 0; } }
@media (min-width: 1200px) { .section { padding: 80px 0; } }
.section--compact { padding: 24px 0; }
@media (min-width: 768px) { .section--compact { padding: 32px 0; } }
@media (min-width: 1200px) { .section--compact { padding: 40px 0; } }

.section--alt {
  background: linear-gradient(
    180deg,
    var(--bg-primary) 0%,
    var(--bg-secondary) 8%,
    var(--bg-secondary) 92%,
    var(--bg-primary) 100%
  );
}

/* ── Section headers ─────────────────────────────────────────────── */
.section__tag {
  display: inline-block;
  background: rgba(245, 130, 32, 0.12);
  color: var(--accent-primary);
  font-size: var(--font-caption);
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.section__title {
  font-size: var(--font-h1);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
}

.section__subtitle {
  font-size: var(--font-body);
  color: var(--text-secondary);
  max-width: 640px;
}

.section__header {
  text-align: center;
  margin-bottom: 48px;
}
.section__header .section__subtitle {
  margin: 0 auto;
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: var(--font-body);
  cursor: pointer;
  border: none;
  outline: none;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-primary);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius-full);
}
.btn-primary:hover {
  background: var(--accent-primary-hover);
  transform: scale(1.02);
  box-shadow: var(--shadow-glow);
}
.btn-primary:active { transform: scale(0.98); }

.btn-secondary {
  background: transparent;
  color: var(--accent-primary);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-accent);
}
.btn-secondary:hover {
  background: rgba(245, 130, 32, 0.08);
}

.btn-sm {
  padding: 8px 18px;
  font-size: var(--font-small);
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Cards ───────────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition-base);
}
.card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-card);
}

/* ── Tags / Badges ───────────────────────────────────────────────── */
.tag {
  display: inline-block;
  background: rgba(245, 130, 32, 0.12);
  color: var(--accent-primary);
  font-size: var(--font-caption);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Inputs ──────────────────────────────────────────────────────── */
.input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: var(--font-body);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.input::placeholder { color: var(--text-muted); }
.input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.1);
}

textarea.input {
  resize: none;
  min-height: 48px;
  line-height: 1.5;
}

/* ── Focus Visible (a11y) ────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

/* ── Scrollbar ───────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: 4px; }

/* ═══════════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  z-index: 1000;
  background: rgba(10, 15, 44, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-base);
}
@media (min-width: 768px) { .nav { height: 64px; } }

.nav--scrolled {
  background: rgba(10, 15, 44, 0.95);
  border-bottom-color: var(--border-default);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav__logo {
  display: flex;
  align-items: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav__logo span { color: var(--accent-primary); }

.nav__links {
  display: none;
  gap: 28px;
}
@media (min-width: 768px) {
  .nav__links { display: flex; }
}

.nav__links a {
  color: var(--text-secondary);
  font-size: var(--font-small);
  font-weight: 500;
  padding: 4px 0 8px;
  position: relative;
  transition: color var(--transition-fast);
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-primary);
  transition: opacity var(--transition-fast);
}
.nav__links a:hover {
  color: var(--text-primary);
}
.nav__links a:hover::after {
  opacity: 0;
}

.nav__actions { display: flex; align-items: center; gap: 12px; }

.nav__burger {
  display: flex;
  width: 36px; height: 36px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
}
@media (min-width: 768px) { .nav__burger { display: none; } }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 280px; height: 100vh;
  background: var(--bg-secondary);
  z-index: 1001;
  padding: 80px 24px 24px;
  transition: right var(--transition-slow);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu.open { right: 0; }

.mobile-menu a {
  display: block;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-default);
}
.mobile-menu a:hover { color: var(--text-primary); }

.mobile-menu__close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}
.mobile-overlay.open { opacity: 1; pointer-events: auto; }

/* ═══════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 48px;
  position: relative;
  overflow: hidden;
}

/* Blur circles */
.hero::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 42, 91, 0.5) 0%, transparent 70%);
  top: -100px; left: -100px;
  filter: blur(80px);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 130, 32, 0.06) 0%, transparent 70%);
  bottom: -50px; right: -50px;
  filter: blur(60px);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 1200px) {
  .hero__grid { grid-template-columns: 55% 45%; gap: 48px; }
}

/* Hero text */
.hero__text { position: relative; z-index: 1; }

.hero__title {
  font-size: var(--font-hero);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 16px;
}
.accent { color: var(--accent-primary); }
.hero__title .accent { color: var(--accent-primary); }

.hero__subtitle {
  font-size: var(--font-body);
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}

/* Price row */
.hero__prices {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.price-item {
  font-size: var(--font-small);
  color: var(--text-secondary);
}
.price-item strong {
  color: var(--text-primary);
  font-weight: 700;
}
.price-item .old-price {
  color: var(--accent-danger);
  text-decoration: line-through;
  font-size: var(--font-caption);
  margin-right: 4px;
}

/* Social proof */
.hero__proof {
  font-size: var(--font-small);
  color: var(--text-muted);
}
.hero__proof strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero__fomo {
  font-size: var(--font-small);
  color: var(--accent-secondary);
  margin-top: 8px;
}
.hero__fomo strong { color: var(--text-primary); }
.fomo-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-secondary);
  animation: fomo-pulse 1.5s ease-in-out infinite;
  vertical-align: middle;
  margin-right: 4px;
}
@keyframes fomo-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ═══════════════════════════════════════════════════════════════════
   CHAT WIDGET
   ═══════════════════════════════════════════════════════════════════ */
.chat-card {
  background: linear-gradient(180deg, var(--bg-card) 0%, rgba(245,130,32,0.03) 50%, var(--bg-card) 100%);
  border: 1.5px solid var(--border-accent);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  position: relative;
  z-index: 3;
  transition: box-shadow var(--transition-base);
}
.chat-card:hover {
  box-shadow: var(--shadow-glow), 0 0 60px rgba(245, 130, 32, 0.15), 0 0 120px rgba(245, 130, 32, 0.08);
}

.chat-card__header {
  padding: 20px 20px 8px;
}
.chat-card__title {
  font-size: var(--font-h3);
  font-weight: 700;
  margin-bottom: 4px;
}
.chat-card__hint {
  font-size: var(--font-small);
  color: var(--text-muted);
}

#chat-area {
  height: 280px;
  overflow-y: auto;
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (max-width: 767px) { #chat-area { height: 120px; } }

/* Messages */
.msg {
  max-width: 82%;
  padding: 10px 16px;
  font-size: var(--font-small);
  line-height: 1.5;
  animation: msgIn 0.3s ease;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.msg--user {
  align-self: flex-end;
  background: var(--accent-primary);
  color: #fff;
  border-radius: 16px 16px 4px 16px;
}

.msg--bot {
  align-self: flex-start;
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-radius: 16px 16px 16px 4px;
  display: flex;
  gap: 8px;
}

.msg__avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Typing indicator */
.typing {
  display: flex;
  gap: 4px;
  padding: 14px 16px;
  align-self: flex-start;
}
.typing span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: typingPulse 1.4s infinite ease-in-out;
}
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingPulse {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* Chat input */
.chat-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--border-default);
  background: linear-gradient(90deg, var(--bg-input) 0%, rgba(245,130,32,0.04) 50%, var(--bg-input) 100%);
}

.chat-input textarea {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: var(--font-small);
  line-height: 1.5;
  resize: none;
  min-height: 24px;
  max-height: 72px;
  outline: none;
}
.chat-input textarea::placeholder { color: var(--text-muted); }

.chat-input__send {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent-primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}
.chat-input__file {
  cursor: pointer;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.chat-input__file:hover { color: var(--accent-primary); }

.chat-input__send:disabled { opacity: 0.4; pointer-events: none; }
.chat-input__send:hover:not(:disabled) { background: var(--accent-primary-hover); box-shadow: 0 0 15px rgba(245,130,32,0.4); }

/* Chat buttons (inline) */
.chat-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.chat-actions .btn { font-size: var(--font-caption); padding: 6px 14px; }

/* Mobile fullscreen chat */
@media (max-width: 767px) {
  .chat-card--fullscreen {
    position: fixed;
    inset: 0;
    z-index: 999;
    border-radius: 0;
    border: none;
    display: flex;
    flex-direction: column;
  }
  .chat-card--fullscreen #chat-area { flex: 1; height: auto; }
  .chat-card--fullscreen .chat-card__close {
    display: block;
    position: absolute;
    top: 12px; right: 12px;
  }
}
.chat-card__close {
  display: none;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 20px;
}

/* ═══════════════════════════════════════════════════════════════════
   FEATURES (Как это работает)
   ═══════════════════════════════════════════════════════════════════ */
.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) { .features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .features__grid { grid-template-columns: repeat(4, 1fr); } }

.feature-card {
  text-align: center;
  padding: 32px 20px;
}

.feature-card__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.feature-card__icon svg { width: 24px; height: 24px; }

.feature-card__title {
  font-size: var(--font-h3);
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card__text {
  font-size: var(--font-small);
  color: var(--text-secondary);
  line-height: 1.6;
}


/* ═══════════════════════════════════════════════════════════════════
   EXAMPLES (Примеры работ)
   ═══════════════════════════════════════════════════════════════════ */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}

.filter-tab {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(245, 130, 32, 0.35);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-family);
  font-size: var(--font-small);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.filter-tab:hover { border-color: var(--accent-primary); color: var(--text-primary); }
.filter-tab.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #fff;
}

.examples__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) { .examples__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .examples__grid { grid-template-columns: repeat(3, 1fr); } }

.example-card {
  overflow: hidden;
  transition: all var(--transition-base);
}
.example-card[data-hidden="true"] {
  display: none;
}

.example-card__stripe {
  height: 4px;
}

.example-card__body { padding: 20px; }

.example-card__topic {
  font-size: var(--font-h3);
  font-weight: 600;
  margin: 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.example-card__meta {
  display: flex;
  gap: 16px;
  font-size: var(--font-small);
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ═══════════════════════════════════════════════════════════════════
   PRICING (Цены)
   ═══════════════════════════════════════════════════════════════════ */
.pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}
@media (min-width: 768px) { .pricing__grid { grid-template-columns: repeat(3, 1fr); } }

.price-card {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card--accent {
  border: 2px solid var(--accent-primary);
  box-shadow: var(--shadow-glow);
}

.price-card__badge {
  position: absolute;
  top: -12px; right: 16px;
  background: var(--accent-primary);
  color: #fff;
  font-size: var(--font-caption);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.price-card__price {
  margin: 16px 0;
}
.price-card__price .amount {
  font-size: var(--font-h1);
  font-weight: 800;
}
.price-card__price .old {
  color: var(--accent-danger);
  text-decoration: line-through;
  font-size: var(--font-small);
  margin-right: 6px;
}
@media (max-width: 767px) {
  .price-card__price { display: flex; flex-direction: column; }
  .price-card__price .old { margin-bottom: 4px; margin-right: 0; }
}
.price-card__price .unit {
  font-size: var(--font-small);
  color: var(--text-muted);
}

.price-card__info {
  font-size: var(--font-small);
  color: var(--text-muted);
  margin-bottom: 16px;
}

.price-card__features {
  flex: 1;
  margin-bottom: 24px;
}
.price-card__features li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: var(--font-small);
  margin-bottom: 10px;
  color: var(--text-secondary);
}
.price-card__features li svg {
  width: 18px; height: 18px;
  color: var(--accent-secondary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Comparison */
.pricing__compare {
  margin-top: 40px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  text-align: center;
}
@media (max-width: 767px) {
  .pricing__compare { flex-direction: column; gap: 16px; }
}
.pricing__compare .vs {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--font-small);
  color: var(--text-muted);
  flex-shrink: 0;
}

.pricing__guarantee {
  text-align: center;
  margin-top: 24px;
  font-size: var(--font-small);
  color: var(--text-muted);
}
/* Promo code */
.promo-block { margin-bottom: 12px; }
.promo-toggle {
  font-size: var(--font-small);
  color: var(--text-accent);
  text-decoration: none;
  cursor: pointer;
}
.promo-toggle:hover { text-decoration: underline; }
.promo-form {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.promo-input {
  flex: 1;
  min-width: 140px;
  padding: 8px 12px;
  font-size: var(--font-small);
  text-transform: uppercase;
}
.promo-apply {
  padding: 8px 16px;
  font-size: var(--font-small);
}
.promo-result {
  width: 100%;
  font-size: var(--font-small);
  margin-top: 4px;
}
.promo-result.success { color: var(--accent-secondary); }
.promo-result.error { color: var(--accent-danger); }

.price-card__remaining {
  margin-top: 12px;
  font-size: var(--font-small);
  color: var(--text-secondary);
}
.price-card__remaining .remaining-num {
  color: var(--accent-warning);
}
.price-card__remaining.urgent {
  color: var(--accent-danger);
  animation: urgent-pulse 1.5s ease-in-out infinite;
}
@keyframes urgent-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.pricing__guarantee svg { width: 16px; height: 16px; vertical-align: -2px; margin-right: 4px; }

/* 3 Guarantees */
.guarantees {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 40px;
  text-align: center;
}
@media (max-width: 1199px) { .guarantees { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .guarantees { grid-template-columns: 1fr; gap: 16px; } }
.guarantee-item__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.guarantee-item__title {
  font-size: var(--font-h3);
  font-weight: 700;
  margin-bottom: 6px;
}
.guarantee-item__text {
  font-size: var(--font-small);
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ═══ Comparison ChatGPT vs Tot Bot ═══ */
.compare-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}
.compare-tab {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(245, 130, 32, 0.35);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-family);
  font-size: var(--font-small);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.compare-tab:hover { border-color: var(--accent-primary); color: var(--text-primary); }
.compare-tab.active { background: var(--accent-primary); color: #fff; border-color: var(--accent-primary); }

.compare-topic {
  text-align: center;
  font-size: var(--font-body);
  font-weight: 600;
  margin-bottom: 20px;
}

.compare-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 767px) { .compare-columns { grid-template-columns: 1fr; } }

.compare-col {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* ChatGPT — старая пожелтевшая бумажка с рябью и трещинами */
.compare-col--gpt {
  border: 1px solid rgba(115, 100, 65, 0.25);
  background: rgba(28, 24, 17, 0.45);
  position: relative;
}
/* Рябь — текстура старой бумаги */
.compare-col--gpt::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: 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.65' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.27;
  mix-blend-mode: soft-light;
}
/* Трещины и потёртости по краям */
.compare-col--gpt::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  z-index: 1;
  background:
    /* верхний левый — большая трещина */
    linear-gradient(130deg, rgba(180,160,90,0.3) 0px, transparent 35px) no-repeat 0 0,
    linear-gradient(145deg, rgba(160,140,70,0.15) 0px, transparent 55px) no-repeat 0 0,
    /* нижний правый — потёртость */
    linear-gradient(310deg, rgba(180,160,90,0.3) 0px, transparent 35px) no-repeat 100% 100%,
    linear-gradient(320deg, rgba(160,140,70,0.15) 0px, transparent 55px) no-repeat 100% 100%,
    /* верхний правый — мелкая трещина */
    linear-gradient(225deg, rgba(180,160,90,0.25) 0px, transparent 20px) no-repeat 100% 0,
    /* нижний левый — потёртость */
    linear-gradient(45deg, rgba(180,160,90,0.2) 0px, transparent 25px) no-repeat 0 100%,
    /* боковые потёртости */
    linear-gradient(90deg, rgba(160,140,70,0.1) 0px, transparent 15px) no-repeat 0 50%,
    linear-gradient(270deg, rgba(160,140,70,0.1) 0px, transparent 15px) no-repeat 100% 50%;
}
.compare-col--gpt .compare-col__header {
  background: rgba(100, 88, 48, 0.085);
  color: rgba(160, 148, 100, 0.52);
}
.compare-col--gpt .compare-col__body {
  color: rgba(180, 168, 128, 0.72);
}
/* Мигающий курсор — как зависший */
.compare-col--gpt .compare-col__body::after {
  content: '▌';
  animation: gpt-cursor 1s step-end infinite;
  color: rgba(220, 200, 140, 0.4);
}
@keyframes gpt-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Tot Bot — яркий, элитный */
.compare-col--bot {
  border: 1px solid var(--accent-primary);
  background: rgba(245, 130, 32, 0.04);
  box-shadow: 0 0 25px rgba(245, 130, 32, 0.36), 0 0 60px rgba(245, 130, 32, 0.18);
}
.compare-col--bot .compare-col__header {
  background: rgba(245, 130, 32, 0.1);
  color: var(--accent-primary);
}

/* Header — имитация тайтл-бара окна */
.compare-col__header {
  padding: 10px 16px;
  font-weight: 600;
  font-size: var(--font-small);
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.compare-col__header::before {
  content: '';
  display: flex;
  gap: 5px;
  width: 36px;
  height: 10px;
  background:
    radial-gradient(circle 4px, #64748B 99%, transparent) 0 0 / 10px 10px no-repeat,
    radial-gradient(circle 4px, #64748B 99%, transparent) 13px 0 / 10px 10px no-repeat,
    radial-gradient(circle 4px, #64748B 99%, transparent) 26px 0 / 10px 10px no-repeat;
  flex-shrink: 0;
  opacity: 0.5;
}
.compare-col--bot .compare-col__header::before {
  background:
    radial-gradient(circle 4px, #EF4444 99%, transparent) 0 0 / 10px 10px no-repeat,
    radial-gradient(circle 4px, #F59E0B 99%, transparent) 13px 0 / 10px 10px no-repeat,
    radial-gradient(circle 4px, #10B981 99%, transparent) 26px 0 / 10px 10px no-repeat;
  opacity: 1;
}

.compare-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.compare-dot--red { background: var(--text-muted); }
.compare-dot--green { background: var(--accent-primary); }

.compare-col__body {
  padding: 16px;
  font-size: var(--font-small);
  color: var(--text-secondary);
  line-height: 1.7;
  max-height: 300px;
  overflow-y: auto;
  white-space: pre-wrap;
  font-family: 'Courier New', monospace;
}
.compare-col--bot .compare-col__body {
  font-family: var(--font-family);
  color: var(--text-primary);
}
.compare-col__body::-webkit-scrollbar { width: 4px; }
.compare-col__body::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: 2px; }

.compare-col__tags {
  padding: 12px 16px;
  display: flex;
  transition: opacity 0.3s ease;
  flex-wrap: wrap;
  gap: 8px;
}
.compare-tag {
  font-size: var(--font-caption);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
}
.compare-tag--bad { background: rgba(239, 68, 68, 0.12); color: var(--accent-danger); }
.compare-tag--good { background: rgba(16, 185, 129, 0.12); color: var(--accent-secondary); }

/* What's Included */
.includes-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  text-align: center;
  margin-bottom: 24px;
}
@media (max-width: 767px) { .includes-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.includes-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.includes-item svg { color: var(--text-muted); }
.includes-item span { font-size: var(--font-small); color: var(--text-secondary); }
.includes-note {
  text-align: center;
  font-size: var(--font-caption);
  color: var(--text-muted);
}

/* CTA Telegram */
.cta-telegram {
  background: var(--bg-card);
  text-align: center;
}
.cta-telegram__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #2AABEE;
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  padding: 16px 32px;
  font-weight: 600;
  font-size: var(--font-body);
  text-decoration: none;
  transition: background var(--transition-fast);
}
.cta-telegram__btn:hover { background: #1E9AD6; color: #fff; }

/* Partner section */
.partner-section {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
  border-top: 2px solid rgba(245, 158, 11, 0.2);
  border-bottom: 2px solid rgba(245, 158, 11, 0.2);
}
.partner-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 767px) {
  .partner-grid { grid-template-columns: 1fr; }
  .partner-text .section__title,
  .partner-text .section__subtitle { text-align: center !important; }
  .partner-text { text-align: center; }
  .partner-text .btn { width: 100%; }
}
.partner-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.partner-feature {
  font-size: var(--font-body);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.partner-calc {
  padding: 28px;
  border-radius: var(--radius-xl);
}
.partner-calc__row {
  padding: 10px 0;
  font-size: var(--font-body);
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.partner-calc__row--mid {
  color: var(--text-primary);
  font-weight: 600;
}
.partner-calc__row--top {
  color: var(--accent-primary);
  font-weight: 700;
  font-size: var(--font-h3);
  border-bottom: none;
}

/* Before / After comparison */
.before-after {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-default);
}
@media (max-width: 767px) { .before-after { flex-direction: column; } }
.before-after__item {
  flex: 1;
  padding: 28px 24px;
}
.before-after__item--before {
  background: var(--bg-card);
}
.before-after__item--after {
  background: rgba(245, 130, 32, 0.06);
  border-left: 2px solid var(--accent-primary);
}
@media (max-width: 767px) {
  .before-after__item--after { border-left: none; border-top: 2px solid var(--accent-primary); }
}
.before-after__label {
  font-size: var(--font-h3);
  font-weight: 700;
  margin-bottom: 16px;
}
.before-after__item--before .before-after__label { color: var(--text-muted); }
.before-after__item--after .before-after__label { color: var(--accent-primary); }
.before-after__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.before-after__list li {
  font-size: var(--font-small);
  color: var(--text-secondary);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.before-after__list li:last-child { border-bottom: none; font-size: var(--font-body); margin-top: 8px; }
.before-after__vs {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-secondary);
}
@media (max-width: 767px) {
  .before-after__vs { padding: 10px 0; }
}

/* ═══════════════════════════════════════════════════════════════════
   REVIEWS (Отзывы)
   ═══════════════════════════════════════════════════════════════════ */
.reviews__rating {
  text-align: center;
  margin-bottom: 40px;
}
.reviews__score {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent-warning);
  line-height: 1;
}
.reviews__score-max {
  font-size: var(--font-body);
  color: var(--text-muted);
  font-weight: 400;
}
.reviews__stars { margin: 8px 0 4px; display: flex; align-items: center; justify-content: center; gap: 4px; }
.reviews__count { font-size: var(--font-small); color: var(--text-muted); }

/* Carousel */
.carousel-wrapper { position: relative; }

.carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }

.review-card {
  min-width: 320px;
  max-width: 340px;
  scroll-snap-align: start;
  flex-shrink: 0;
  padding: 24px;
}
@media (max-width: 767px) { .review-card { min-width: 280px; max-width: 300px; } }

.review-card__stars { display: flex; align-items: center; gap: 2px; margin-bottom: 12px; }

.review-card__text {
  font-size: var(--font-small);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-card__reply {
  background: var(--bg-input);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 12px;
  font-size: var(--font-caption);
  color: var(--text-muted);
}
.review-card__reply strong { color: var(--accent-primary); }

/* Reviews grid (expanded) */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1199px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .reviews-grid { grid-template-columns: 1fr; } }
.review-grid-card {
  min-width: unset !important;
  max-width: unset !important;
}

.review-card__divider {
  height: 1px;
  background: var(--border-default);
  margin-bottom: 12px;
}

.review-card__author { font-size: var(--font-small); font-weight: 600; }
.review-card__date { font-size: var(--font-caption); color: var(--text-muted); margin-top: 2px; }

/* Carousel arrows */
.carousel-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  color: var(--text-primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all var(--transition-fast);
}
.carousel-arrow:hover { border-color: var(--accent-primary); }
.carousel-arrow--left { left: -20px; }
.carousel-arrow--right { right: -20px; }
@media (min-width: 768px) { .carousel-arrow { display: flex; } }

/* Carousel dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border-default);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.carousel-dot.active { background: var(--accent-primary); width: 24px; border-radius: 4px; }

/* Review form */
.review-form {
  max-width: 600px;
  margin: 40px auto 0;
  padding: 24px;
}
.review-form__stars {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
}
.review-form__star {
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--border-default);
  transition: color var(--transition-fast);
  background: none;
  border: none;
}
.review-form__star.active,
.review-form__star:hover { color: var(--accent-warning); }

.review-form .input { margin-bottom: 12px; }

.review-form__checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-small);
  color: var(--text-muted);
  margin-bottom: 16px;
}

.review-form__note {
  font-size: var(--font-caption);
  color: var(--text-muted);
  margin-top: 8px;
}

/* ═══════════════════════════════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════════════════════════════ */
.faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-default);
}

.faq-item__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: var(--font-body);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  gap: 12px;
}
.faq-item__question:hover { color: var(--accent-primary); }

.faq-item__icon {
  width: 24px; height: 24px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
  color: var(--text-muted);
}
.faq-item.open .faq-item__icon { transform: rotate(45deg); color: var(--accent-primary); }

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), opacity var(--transition-base);
  opacity: 0;
}
.faq-item.open .faq-item__answer {
  max-height: 500px;
  opacity: 1;
}

.faq-item__answer p {
  padding: 0 0 20px;
  color: var(--text-secondary);
  font-size: var(--font-small);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border-default);
  padding: 48px 0 24px;
  position: relative;
  z-index: 2;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (min-width: 768px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; } }

.footer__brand-desc {
  font-size: var(--font-small);
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.6;
}

.footer__socials {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.footer__socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}
.footer__socials a:hover { border-color: var(--accent-primary); color: var(--accent-primary); }

.footer__heading {
  font-size: var(--font-small);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__links a {
  display: block;
  font-size: var(--font-small);
  color: var(--text-muted);
  padding: 4px 0;
}
.footer__links a:hover { color: var(--text-primary); }

.footer__bottom {
  border-top: 1px solid var(--border-default);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: var(--font-caption);
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════════
   MODALS
   ═══════════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 32px;
  max-width: 420px;
  width: 100%;
  position: relative;
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 20px;
}

.modal__title {
  font-size: var(--font-h2);
  font-weight: 700;
  margin-bottom: 8px;
}
.modal__subtitle {
  font-size: var(--font-small);
  color: var(--text-muted);
  margin-bottom: 24px;
}

.modal__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: var(--font-small);
}
.modal__divider::before,
.modal__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-default);
}

.btn-telegram {
  background: #2AABEE;
  color: #fff;
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-md);
  font-weight: 600;
}
.btn-telegram:hover { background: #229ED9; }

.modal__code {
  font-family: 'Courier New', monospace;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-primary);
  text-align: center;
  padding: 16px;
  background: var(--bg-input);
  border-radius: var(--radius-md);
  margin: 12px 0;
}

.modal__warning {
  font-size: var(--font-caption);
  color: var(--accent-warning);
  margin-bottom: 16px;
}

.modal__legal {
  font-size: var(--font-caption);
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.5;
}
.modal__legal a { color: var(--text-accent); }

/* ═══════════════════════════════════════════════════════════════════
   BACK TO TOP
   ═══════════════════════════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all var(--transition-base);
  box-shadow: 0 4px 16px rgba(245, 130, 32, 0.3);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--accent-primary-hover); transform: scale(1.05); }

/* ═══════════════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════════════════════════ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger > .animate-on-scroll:nth-child(1) { transition-delay: 0ms; }
.stagger > .animate-on-scroll:nth-child(2) { transition-delay: 100ms; }
.stagger > .animate-on-scroll:nth-child(3) { transition-delay: 200ms; }
.stagger > .animate-on-scroll:nth-child(4) { transition-delay: 300ms; }
.stagger > .animate-on-scroll:nth-child(5) { transition-delay: 400ms; }

/* Hero entrance */
.hero-enter { opacity: 0; transform: translateY(25px); transition: opacity 0.7s ease, transform 0.7s ease; }
.hero-enter.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════════════════
   LEGAL PAGES (offer, refund, privacy)
   ═══════════════════════════════════════════════════════════════════ */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 100px 20px 60px;
}
.legal-page h1 {
  font-size: var(--font-h1);
  font-weight: 800;
  text-align: center;
  margin-bottom: 8px;
}
.legal-page .legal-date {
  text-align: center;
  font-size: var(--font-small);
  color: var(--text-muted);
  margin-bottom: 40px;
}
.legal-page .placeholder {
  color: var(--text-muted);
  font-style: italic;
  padding: 40px;
  text-align: center;
  border: 1px dashed var(--border-default);
  border-radius: var(--radius-md);
}
.legal-page h2 {
  font-size: var(--font-h2);
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
}
.legal-page p, .legal-page li {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

/* ═══════════════════════════════════════════════════════════════════
   404 PAGE
   ═══════════════════════════════════════════════════════════════════ */
.page-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}
.page-404__code {
  font-size: 8rem;
  font-weight: 800;
  color: var(--accent-primary);
  line-height: 1;
  opacity: 0.3;
}
.page-404__text {
  font-size: var(--font-h2);
  margin: 16px 0 24px;
  color: var(--text-secondary);
}
