/* Security Check Overlay */
.security-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  /* НЕ блокируем клики — пользователь может нажать кнопку сквозь оверлей */
  pointer-events: none;
}
.security-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}
/* Центральный контент оверлея — не кликабелен */
.security-content {
  text-align: center;
  max-width: 400px;
  padding: 20px;
  pointer-events: none;
}
.security-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--surface-2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 24px;
}
.security-content h2 {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--text);
}
.security-content p {
  font-size: 14px;
  color: var(--text-muted);
}
@keyframes spin {
  to { transform: rotate(360deg); }
}


:root {
  --bg: #000000;
  --surface: #0A0A0A;
  --surface-2: #141414;
  --primary: #FFFFFF;
  --accent: #2563EB;
  --accent-muted: rgba(37, 99, 235, 0.12);
  --border: rgba(255, 255, 255, 0.08);
  --text: #FFFFFF;
  --text-muted: #71717A;
  --radius: 12px;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Text Selection */
::selection {
  background: rgba(37, 99, 235, 0.4); /* var(--accent) with opacity */
  color: #fff;
}

img {
  -webkit-user-drag: none;
  pointer-events: none;
}

.container { max-width: 1000px; margin: 0 auto; padding: 0 24px; }

/* ── Navigation ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1000px; margin: 0 auto;
  padding: 14px 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.logo { display: flex; align-items: center; gap: 8px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 700;
  text-decoration: none; cursor: pointer; transition: all 0.2s; border: none; font-family: inherit;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.btn-primary { background: var(--primary); color: var(--bg); }
.btn-primary:hover { filter: brightness(0.9); }
.btn-hero {
  background: var(--primary); color: var(--bg);
  padding: 14px 28px; font-size: 16px; border-radius: 10px;
}
.btn-hero:hover { filter: brightness(0.9); transform: translateY(-1px); }
.btn-ghost-outline {
  background: transparent; color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 14px 20px; border-radius: 10px; font-size: 14px;
}
.btn-ghost-outline:hover { background: var(--surface); color: var(--text); }
.btn-secondary { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--border); }
.btn-full { width: 100%; }

/* ── Animations ── */
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-12px); } 100% { transform: translateY(0px); } }
@keyframes pulseGlow {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
}
@keyframes pulseGlowTop {
  0% { transform: translateX(-50%) scale(1); opacity: 0.5; }
  50% { transform: translateX(-50%) scale(1.15); opacity: 0.9; }
  100% { transform: translateX(-50%) scale(1); opacity: 0.5; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ── Hero ── */
.hero {
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 600px;
  background: radial-gradient(circle, var(--accent-muted) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
  animation: pulseGlowTop 10s ease-in-out infinite;
}

/* ── Sea Glow (controlled by JS scroll) ── */
.sea-wave-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -30%);
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.5) 0%, rgba(56, 189, 248, 0.25) 45%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  filter: blur(48px);
  pointer-events: none;
  will-change: transform, opacity, filter;
}

@keyframes seaWave {
  0% { transform: translate(-50%, -40%) scale(1); background: radial-gradient(circle at bottom, rgba(14, 165, 233, 0.2) 0%, transparent 60%); }
  50% { transform: translate(-50%, -50%) scale(1.1); background: radial-gradient(circle at bottom, rgba(56, 189, 248, 0.3) 0%, transparent 60%); }
  100% { transform: translate(-50%, -40%) scale(1); background: radial-gradient(circle at bottom, rgba(14, 165, 233, 0.2) 0%, transparent 60%); }
}

@media (max-width: 768px) {
  .sea-wave-glow {
    top: 40%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle at top, rgba(125, 211, 252, 0.2) 0%, transparent 60%);
    animation: skyDrift 10s ease-in-out infinite alternate;
  }
}

@keyframes skyDrift {
  0% { transform: translate(-60%, -50%) scale(1); background: radial-gradient(circle at top, rgba(125, 211, 252, 0.2) 0%, transparent 60%); }
  50% { transform: translate(-40%, -50%) scale(1.1); background: radial-gradient(circle at top, rgba(186, 230, 253, 0.25) 0%, transparent 60%); }
  100% { transform: translate(-60%, -50%) scale(1); background: radial-gradient(circle at top, rgba(125, 211, 252, 0.2) 0%, transparent 60%); }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.25);
  color: #10B981; padding: 5px 12px; border-radius: 100px;
  font-size: 12px; font-weight: 700; margin-bottom: 24px;
  animation: fadeInUp 0.6s ease;
}
.hero-title {
  font-size: 60px; font-weight: 900; line-height: 1.05;
  margin-bottom: 20px; letter-spacing: -0.03em;
  animation: fadeInUp 0.6s ease 0.1s backwards;
}
.hero-sub {
  font-size: 16px; color: var(--text-muted); margin-bottom: 28px;
  max-width: 420px; line-height: 1.7;
  animation: fadeInUp 0.6s ease 0.2s backwards;
}
.hero-price-row {
  display: flex; align-items: baseline; gap: 8px; margin-bottom: 32px;
  animation: fadeInUp 0.6s ease 0.25s backwards;
}
.hero-price { font-size: 32px; font-weight: 900; }
.hero-price-sub { font-size: 14px; color: var(--text-muted); }
.hero-cta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.3s backwards;
}

/* ── Stats Bar ── */
.stats-bar {
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap;
}
.stat-item { text-align: center; padding: 8px 40px; }
.stat-value { font-size: 28px; font-weight: 900; letter-spacing: -0.02em; }
.stat-label { font-size: 12px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; margin-top: 2px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ── Sections ── */
.section-header { text-align: center; margin-bottom: 48px; }
.section-title { font-size: 38px; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 12px; }
.section-sub { font-size: 16px; color: var(--text-muted); }

/* ── Features ── */
.features { padding: 90px 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.feature-icon { color: var(--text); margin-bottom: 16px; }
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ── How it works ── */
.how-it-works { padding: 90px 0; }
.steps-grid {
  display: flex; align-items: center; gap: 0; justify-content: center; flex-wrap: wrap;
}
.step-card {
  flex: 1; min-width: 220px; max-width: 280px;
  text-align: center; padding: 32px 24px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
}
.step-number {
  font-size: 40px; font-weight: 900; color: rgba(255,255,255,0.08);
  line-height: 1; margin-bottom: 16px;
}
.step-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.step-arrow { color: var(--text-muted); padding: 0 16px; flex-shrink: 0; }

/* ── Pricing ── */
.pricing { padding: 90px 0; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px; max-width: 700px; margin: 0 auto;
}
.pricing-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px 28px;
  display: flex; flex-direction: column; gap: 8px;
}
.pricing-card--highlight {
  border-color: rgba(139,92,246,0.5);
  background: linear-gradient(145deg, #0D0A18, #0A0A0A);
  box-shadow: 0 0 60px rgba(139,92,246,0.08);
}
.pricing-badge {
  font-size: 10px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 8px;
}
.pricing-badge--accent { color: var(--accent); }
.pricing-price { font-size: 48px; font-weight: 900; line-height: 1; }
.pricing-period { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; flex: 1; }
.pricing-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text);
}
.pricing-features li svg { color: var(--accent); flex-shrink: 0; }

/* ── FAQ ── */
.faq { padding: 90px 0; }
.faq-list { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 20px; cursor: pointer; font-size: 15px; font-weight: 600;
  transition: background 0.2s;
}
.faq-q:hover { background: var(--surface-2); }
.faq-icon { transition: transform 0.3s ease; flex-shrink: 0; color: var(--text-muted); }
.faq-a {
  padding: 0 20px; font-size: 14px; color: var(--text-muted); line-height: 1.7;
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-a a { color: var(--accent); text-decoration: none; }
.faq-item.open .faq-a { max-height: 200px; padding: 0 20px 18px; }
.faq-item.open .faq-icon { transform: rotate(180deg); }

/* ── CTA Section ── */
.cta-section { padding: 60px 0 90px; }
.cta-box {
  position: relative; text-align: center;
  background: var(--surface); border: 1px solid rgba(139,92,246,0.2);
  border-radius: 20px; padding: 60px 40px; overflow: hidden;
}
.cta-glow {
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 400px; height: 300px;
  background: radial-gradient(circle, rgba(139,92,246,0.2) 0%, transparent 65%);
  pointer-events: none;
}
.cta-title { font-size: 40px; font-weight: 900; margin-bottom: 12px; position: relative; }
.cta-sub { font-size: 16px; color: var(--text-muted); margin-bottom: 32px; position: relative; }

/* ── Footer ── */
.footer { padding: 48px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 32px; gap: 32px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-tagline { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.footer-links { display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: flex-end; max-width: 620px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { text-align: center; font-size: 13px; color: var(--text-muted); padding-top: 24px; border-top: 1px solid var(--border); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero { padding: 60px 0 50px; }
  .hero-title { font-size: 38px; }
  .hero .container { flex-direction: column !important; }
  .hero-content { display: flex; flex-direction: column; align-items: flex-start; }
  .hero-image { display: none !important; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .pricing-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 0; }
  .stat-item { padding: 8px 20px; }
  .section-title { font-size: 28px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { align-items: flex-start; justify-content: flex-start; max-width: none; }
  .cta-title { font-size: 28px; }

  /* Навигация на мобиле */
  .nav-inner { padding: 12px 16px; }
  .nav-actions { display: flex; align-items: center; }
  .nav-actions .btn { padding: 8px 14px; font-size: 13px; }

  /* Hero CTA кнопки */
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; text-align: center; justify-content: center; font-size: 15px; }

  /* Контейнер */
  .container { padding: 0 16px; }

  /* CTA блок */
  .cta-box { padding: 40px 20px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 30px; }
  .hero-sub { font-size: 14px; }
  .stat-item { padding: 8px 12px; }
  .stat-value { font-size: 22px; }
  .nav-inner { padding: 10px 12px; }
  .nav-actions .btn { padding: 7px 12px; font-size: 12px; }
}

/* ── Auth Page Mobile ── */
@media (max-width: 480px) {
  .auth-page { padding: 16px; max-width: 100%; }
  .auth-box { padding: 24px 16px; border-radius: 16px; }
  .auth-methods { gap: 10px; }
  .auth-btn { padding: 12px 16px; font-size: 13px; }
  .modal { padding: 24px 16px; border-radius: 12px; }
  .modal-input { padding: 10px 12px; }
}

/* ── Auth Page (Login) ── */
.auth-body {
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.auth-page {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 380px;
  padding: 24px;
}
.auth-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.auth-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
  text-align: center;
}
.auth-logo { margin-bottom: 24px; }
.auth-sub { color: var(--text-muted); font-size: 14px; margin-top: -4px; }
.auth-methods { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.auth-terms {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 16px;
  margin-bottom: 24px;
}
.auth-back {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}
.auth-back:hover { color: var(--text); }

/* ── Marquee Section ── */
.marquee-section {
  padding: 40px 0 60px;
  background: var(--bg);
  overflow: hidden;
}
.marquee-title {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 32px;
}
.marquee-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 1.75rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}
.marquee-track {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.75rem;
  width: max-content;
  animation: scrollMarquee 30s linear infinite;
}
@keyframes scrollMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 0.875rem)); }
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
  transition: color 0.3s;
}
.marquee-item:hover { color: var(--text); }
.marquee-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: opacity 0.3s, filter 0.3s;
}
.marquee-item:hover .marquee-logo {
  opacity: 1;
  filter: grayscale(0%);
}

/* ── Security Overlay (duplicate fix) ── */
.security-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  pointer-events: none;
}
.security-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}
.security-content {
  text-align: center;
  max-width: 400px;
  padding: 20px;
}
.security-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid var(--surface-2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 24px;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.security-content h2 {
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 700;
}
.security-content p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 30px;
}
.security-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #10B981;
  font-weight: 600;
  background: rgba(16,185,129,0.1);
  padding: 6px 12px;
  border-radius: 20px;
}


/* ═══════════════════════════════════════════════════════════════════
   Tap reliability fix — гарантируем что кнопки кликабельны на мобиле
   ═══════════════════════════════════════════════════════════════════ */

.nav-actions .btn,
.hero-cta .btn,
.cta-box .btn,
.footer-links a {
  position: relative;
  z-index: 10;
  -webkit-tap-highlight-color: rgba(255,255,255,0.1);
  touch-action: manipulation;
  cursor: pointer;
}

/* Гарантируем что nav всегда сверху */
.nav { z-index: 100; }

/* Если security-overlay вдруг где-то остался в кэше — точно не блокирует */
.security-overlay { display: none !important; }


/* ─── Nav Links (новые ссылки в шапке) ─── */
.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.18s, background 0.18s;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.04); }
@media (max-width: 720px) {
  .nav-hide-sm { display: none !important; }
}

/* ─── Pricing ─── */
.pricing { padding: 80px 0; position: relative; }
.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #60a5fa;
  background: rgba(37,99,235,0.10);
  border: 1px solid rgba(37,99,235,0.25);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
  margin: 0 auto 36px;
  max-width: 540px;
  line-height: 1.5;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
}

.price-card {
  position: relative;
  background: linear-gradient(180deg, #141414 0%, rgba(10,10,10,0.6) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.25s, box-shadow 0.25s;
}
.price-card:hover {
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-4px);
}
.price-card.price-pro {
  border-color: rgba(37,99,235,0.35);
  background: linear-gradient(180deg, rgba(37,99,235,0.10) 0%, rgba(10,10,10,0.6) 100%);
  box-shadow: 0 14px 40px rgba(37,99,235,0.18);
}
.price-card.price-pro:hover {
  border-color: rgba(37,99,235,0.55);
  box-shadow: 0 20px 50px rgba(37,99,235,0.28);
}
.price-card.price-pro::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 100% 0%, rgba(37,99,235,0.15), transparent 60%);
  pointer-events: none;
}
.price-card > * { position: relative; z-index: 1; }

.price-best {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(180deg, #2563EB, #1D4ED8);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(37,99,235,0.35);
}

.price-card-head { padding-top: 6px; }
.price-tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.price-amount {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}
.price-num {
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
  background: linear-gradient(180deg, #fff 0%, #c7c7c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.price-cur {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-muted);
}
.price-suffix {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 4px;
}
.price-period {
  font-size: 13px;
  color: var(--text-muted);
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.price-features li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: var(--text-soft, #94a3b8);
  line-height: 1.5;
}
.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(16,185,129,0.15);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}

.price-btn {
  width: 100%;
  text-align: center;
  padding: 14px;
  font-size: 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.pricing-note {
  text-align: center;
  margin-top: 28px;
  font-size: 13px;
  color: var(--text-muted);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* ─── Contacts ─── */
.contacts { padding: 60px 0 80px; }
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
}
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  background: linear-gradient(180deg, #141414 0%, rgba(10,10,10,0.5) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.25s;
}
.contact-card:hover {
  border-color: rgba(37,99,235,0.35);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.45);
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(37,99,235,0.14);
  border: 1px solid rgba(37,99,235,0.25);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { stroke: currentColor; }
.contact-text { min-width: 0; }
.contact-title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.contact-sub {
  font-size: 13px;
  color: #60a5fa;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 4px;
}
.contact-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 720px) {
  .pricing, .contacts { padding: 56px 0; }
  .price-card { padding: 24px 20px; }
  .price-num { font-size: 48px; }
}


/* ─── About section ─── */
.about { padding: 70px 0 30px; }
.about-grid {
  max-width: 760px;
  margin: 0 auto;
  background: linear-gradient(180deg, #141414 0%, rgba(10,10,10,0.5) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 40px 36px;
}
.about-text p {
  color: var(--text-soft, #94a3b8);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 16px;
}
.about-sub {
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 28px 0 12px;
}
.about-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.about-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-soft, #94a3b8);
  margin-bottom: 8px;
}
.about-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2563EB;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
.about-list-num { counter-reset: about-num; }
.about-list-num li { padding-left: 32px; }
.about-list-num li::before {
  counter-increment: about-num;
  content: counter(about-num);
  width: auto; height: auto;
  background: transparent;
  box-shadow: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: #60a5fa;
  top: 4px;
  left: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(37,99,235,0.12);
  border: 1px solid rgba(37,99,235,0.25);
  border-radius: 6px;
}
.about-note {
  margin-top: 24px;
  padding: 14px 16px;
  background: rgba(37,99,235,0.06);
  border-left: 3px solid rgba(37,99,235,0.4);
  border-radius: 0 10px 10px 0;
  font-size: 13.5px;
  color: var(--text-muted);
}
@media (max-width: 720px) {
  .about { padding: 48px 0 20px; }
  .about-grid { padding: 28px 22px; border-radius: 18px; }
}



/* ──────────────────────────────────────────────────────────────────
   Реферальная секция (партнёрка)
   ────────────────────────────────────────────────────────────────── */

.referral-section {
  padding: 56px 0;
  position: relative;
  z-index: 1;
}

.ref-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.10) 0%, rgba(124, 58, 237, 0.08) 100%);
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 22px;
  padding: 38px 44px;
  position: relative;
  overflow: hidden;
}
.ref-banner::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.ref-banner-text { position: relative; z-index: 1; }
.ref-banner-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #60A5FA;
  margin-bottom: 12px;
}
.ref-banner-title {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 14px;
}
.ref-banner-desc {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0 0 22px;
  max-width: 620px;
}
.ref-banner-desc b { color: #fff; font-weight: 700; }

.ref-banner-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ref-banner-visual {
  position: relative;
  z-index: 1;
}
.ref-banner-icon {
  width: 120px;
  height: 120px;
  border-radius: 26px;
  background: linear-gradient(135deg, #2563EB, #7C3AED);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 18px 50px rgba(37, 99, 235, 0.40);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .referral-section { padding: 50px 0; }
  .ref-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 22px;
    gap: 22px;
  }
  .ref-banner-title { font-size: 24px; }
  .ref-banner-desc { font-size: 13.5px; }
  .ref-banner-cta { justify-content: center; }
  .ref-banner-icon { width: 84px; height: 84px; margin: 0 auto; border-radius: 20px; }
  .ref-banner-icon svg { width: 44px; height: 44px; }
}

/* ── Stat row ── */

.ref-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
@media (max-width: 768px) {
  .ref-stats-row { grid-template-columns: repeat(3, 1fr); gap: 8px; }
}
.ref-banner-img {
  width: 260px;
  max-width: 100%;
  height: auto;
  display: block;
  animation: float 6s ease-in-out infinite;
}
@media (max-width: 768px) {
  .ref-banner-img { width: 190px; margin: 4px auto 0; }
}

.ref-stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}
.ref-stat-card:hover {
  border-color: rgba(37, 99, 235, 0.30);
  background: rgba(37, 99, 235, 0.04);
}
.ref-stat-num {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
}
.ref-stat-label {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}
@media (max-width: 480px) {
  .ref-stat-num { font-size: 22px; }
  .ref-stat-label { font-size: 11.5px; }
}


/* ══════════════════════════════════════════════════════════════════
   Features (переделка): контент слева + бьющееся сердце справа
   ══════════════════════════════════════════════════════════════════ */
.features { padding: 52px 0; }
.features-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  /* Голова и счётчик — только слева; сердце занимает СТРОКУ карточек, поэтому
     центрируется по центру списка фич, а не по всей колонке (иначе визуально
     уезжает вверх из-за заголовка). */
  grid-template-areas:
    "head    ."
    "counter ."
    "list    visual";
  column-gap: 32px;
  row-gap: 0;
  align-items: center;
}
.features-head   { grid-area: head; }
.users-counter   { grid-area: counter; }
.features-list   { grid-area: list; }
.features-visual { grid-area: visual; }
.features-head { margin-bottom: 14px; }
.features-head .section-title { text-align: left; margin-bottom: 8px; font-size: 30px; }
.features-sub {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
  margin: 0;
  max-width: none;
}

/* Счётчик пользователей */
.users-counter {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.users-counter-num {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, #60a5fa 0%, #2563EB 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.users-counter-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}

/* Список фич */
.features-list { display: flex; flex-direction: column; gap: 10px; }
.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 12px 15px;
  background: linear-gradient(180deg, #141414 0%, rgba(10,10,10,0.5) 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.2s, transform 0.2s;
}
/* hover-подсветка карточек «Почему LAMA» убрана по просьбе */
.feature-row-ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex-shrink: 0;
  background: rgba(37,99,235,0.14);
  border: 1px solid rgba(37,99,235,0.25);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-row-ic svg { width: 20px; height: 20px; }
.feature-row-tx h3 { font-size: 14.5px; font-weight: 800; color: #fff; margin-bottom: 2px; }
.feature-row-tx p { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; }

/* Медленно пульсирующее сердце */
.features-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
}
/* Синий фоновый блоб гасится тёмным фоном самой секции (см. .features), отдельный диск не нужен. */
.heart-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,63,94,0.55) 0%, rgba(244,63,94,0.22) 42%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
  animation: heartGlow 3s ease-in-out infinite;
}
.heart-beat {
  position: relative;
  z-index: 1;
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
  transform-origin: center;
  animation: heartPulse 3s ease-in-out infinite;
}
@keyframes heartPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.07); }
  100% { transform: scale(1); }
}
@keyframes heartGlow {
  0%, 100% { opacity: 0.5; transform: translate(-50%,-50%) scale(1); }
  50%      { opacity: 0.85; transform: translate(-50%,-50%) scale(1.08); }
}
/* Сердце пульсирует всегда, медленно (killswitch reduced-motion убран). */

@media (max-width: 768px) {
  .features { padding: 40px 0; }
  .features-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "counter" "list" "visual";
    column-gap: 0;
    row-gap: 18px;
  }
  .features-head .section-title { text-align: center; }
  .features-sub { text-align: center; }
  .users-counter { justify-content: center; }
  .users-counter-num { font-size: 36px; }
  .features-visual { min-height: 200px; }
  .heart-beat { width: 170px; }
  .heart-glow { width: 200px; height: 200px; }
}


/* ══════════════════════════════════════════════════════════════════
   Новый стиль: стеклянные/металлик карточки (FAQ + партнёрка)
   ══════════════════════════════════════════════════════════════════ */
.faq { padding: 56px 0; }
.faq-item {
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.faq-item:hover { border-color: rgba(255,255,255,0.18); }
.faq-item.open {
  border-color: rgba(37,99,235,0.42);
  background: linear-gradient(180deg, rgba(37,99,235,0.08) 0%, rgba(255,255,255,0.015) 100%);
}
.faq-q { font-weight: 700; }

/* Партнёрка — лёгкая металлик-обводка сверху для «премиум» вида */
.ref-banner {
  border-top: 1px solid rgba(255,255,255,0.14);
}
.ref-stat-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid rgba(255,255,255,0.09);
}
.ref-stat-card:hover { border-color: rgba(255,255,255,0.2); }


/* FAQ в две колонки: вопросы слева, картинка справа */
.faq-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.faq-main .section-header { text-align: left; margin-bottom: 22px; }
.faq-main .section-title { text-align: left; }
.faq-main .section-sub { text-align: left; margin: 0; max-width: none; }
.faq-main .faq-list { max-width: none; margin: 0; }
.faq-visual { display: flex; align-items: center; justify-content: center; }
.faq-img { width: 300px; max-width: 100%; height: auto; display: block; animation: float 6s ease-in-out infinite; }
@media (max-width: 900px) {
  .faq-layout { grid-template-columns: 1fr; gap: 22px; }
  .faq-main .section-header,
  .faq-main .section-title,
  .faq-main .section-sub { text-align: center; }
  .faq-visual { display: none; }
}


/* ══════════════════════════════════════════════════════════════════
   Партнёрка под новый стиль: тёмное стекло + металлик-хайлайт (без синего)
   ══════════════════════════════════════════════════════════════════ */
.ref-banner {
  background: linear-gradient(180deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.015) 55%, rgba(255,255,255,0.035) 100%);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 20px 50px rgba(0,0,0,0.45);
}
.ref-banner::after {
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
}
.ref-banner-eyebrow {
  color: #cbd5e1;
  background: linear-gradient(90deg, #f1f5f9, #94a3b8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ref-stat-card {
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.ref-stat-num {
  background: linear-gradient(180deg, #ffffff 0%, #b8c0cc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ══════════════════════════════════════════════════════════════════
   HERO под новый стиль: металлик-кнопки, стеклянные ghost-кнопки,
   мягкий переход свечения ламы (без резкого края)
   ══════════════════════════════════════════════════════════════════ */

/* Заголовок — лёгкий серебристый градиент (остаётся ярким) */
.hero-title {
  background: linear-gradient(180deg, #ffffff 0%, #d3d9e2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #ffffff; /* fallback */
}

/* Главная CTA — металлик (хром/сталь), яркая как основное действие */
.btn-hero,
.hero-cta .btn-primary {
  background: linear-gradient(180deg, #ffffff 0%, #e2e7ee 46%, #bcc5d2 100%) !important;
  color: #0b0f14 !important;
  border: 1px solid rgba(255,255,255,0.55) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95),
              inset 0 -1px 0 rgba(0,0,0,0.10),
              0 8px 22px rgba(0,0,0,0.38) !important;
  font-weight: 800 !important;
}
.btn-hero:hover,
.hero-cta .btn-primary:hover {
  filter: brightness(1.05) !important;
  transform: translateY(-1px) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,1),
              0 12px 30px rgba(0,0,0,0.46) !important;
}

/* Вторичные кнопки в hero (Telegram / Скачать) — тёмное стекло */
.hero-cta .btn-ghost-outline {
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%) !important;
  color: var(--text) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.09) !important;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hero-cta .btn-ghost-outline:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.05) 100%) !important;
  border-color: rgba(255,255,255,0.26) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

/* Лама: без свечения и без тени — только анимация float (задана инлайн).
   Плавное затухание низа теперь ЗАПЕЧЕНО в саму картинку (l2.webp/l2.png),
   поэтому CSS-маска не нужна — оставляем только сброс фильтра. */
#sea-glow { display: none !important; }

.hero-image img {
  filter: none !important;
}
