/* ============================================================
   NEXUS LANDING — СТИЛИ
   Чтобы изменить цвет кнопок: найди --accent и замени
   Чтобы изменить фон: найди --bg-dark и замени
   ============================================================ */

:root {
  --bg-dark:    #0D0D1A;
  --bg-card:    #13131F;
  --bg-card2:   #1A1A2E;
  --accent:     #7C3AED;
  --accent-light: #A78BFA;
  --accent-glow: rgba(124, 58, 237, 0.35);
  --text:       #ffffff;
  --text-muted: rgba(255,255,255,0.55);
  --text-faint: rgba(255,255,255,0.3);
  --border:     rgba(255,255,255,0.08);
  --border-accent: rgba(124, 58, 237, 0.3);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* STARS & COMET — рисуются через canvas в index.html */
#stars-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* AMBIENT GLOW TOP */
body::after {
  content: '';
  position: fixed;
  top: -300px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 700px;
  background: radial-gradient(ellipse, rgba(100,60,200,0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* UTILS */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 10;
}

.section { padding: 90px 0; }
.section-alt { background: rgba(255,255,255,0.02); }

.section-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 14px;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 48px;
}

.accent { color: var(--accent-light); }

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #7C3AED, #5B21B6);
  color: #fff;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  box-shadow: 0 0 40px var(--accent-glow);
  transition: all 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(124,58,237,0.55);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: 1px solid var(--border-accent);
  border-radius: 12px;
  color: var(--accent-light);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  background: rgba(124,58,237,0.08);
  text-decoration: none;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: rgba(124,58,237,0.15);
  border-color: rgba(124,58,237,0.5);
}

/* CARDS */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.2s;
}

.card:hover { border-color: rgba(124,58,237,0.3); }

/* DIVIDER */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ============================================================
   NAVBAR
   ============================================================ */
nav {
  position: relative;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 60px;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  background: rgba(13,13,26,0.8);
  position: sticky;
  top: 0;
}

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

.nav-logo-img { height: 32px; }

.nav-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}

.nav-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #fff;
}

.nav-tagline {
  font-size: 10px;
  color: var(--text-faint);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 1px;
}

.nav-btn {
  padding: 9px 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  background: transparent;
  transition: all 0.2s;
}

.nav-btn:hover { border-color: rgba(255,255,255,0.25); color: #fff; }

/* ============================================================
   БЛОК 1 — HERO
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 90px 60px 70px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139,92,246,0.12);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  color: rgba(180,150,255,0.9);
  width: fit-content;
  margin-bottom: 24px;
}

.pulse {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,100% { opacity:1; box-shadow: 0 0 0 0 rgba(139,92,246,0.4); }
  50% { opacity:0.7; box-shadow: 0 0 0 5px rgba(139,92,246,0); }
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, #A78BFA, #7C3AED);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 460px;
}

.hero-cta { display: flex; flex-direction: column; gap: 14px; }

.hero-note {
  display: flex;
  gap: 0;
  font-size: 13px;
  color: var(--text-faint);
}

.hero-note span + span::before { content: ' · '; }

/* Phone mockup */
.phone-wrap {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.phone {
  width: 270px;
  background: var(--bg-card2);
  border-radius: 36px;
  border: 1.5px solid rgba(255,255,255,0.1);
  padding: 18px 14px 22px;
  box-shadow: 0 0 0 8px rgba(255,255,255,0.03), 0 40px 80px rgba(0,0,0,0.6);
  position: relative;
}

.phone-notch {
  width: 60px; height: 5px;
  background: rgba(255,255,255,0.12);
  border-radius: 3px;
  margin: 0 auto 16px;
}

.phone-header {
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}

.phone-header .name { font-size: 13px; font-weight: 600; }
.phone-header .status { font-size: 11px; color: var(--text-faint); margin-top: 2px; }

.bubble {
  background: rgba(255,255,255,0.05);
  border-radius: 4px 14px 14px 14px;
  padding: 10px 12px;
  margin-bottom: 10px;
}

.bubble-title {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-light);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.bubble p { font-size: 11.5px; color: rgba(255,255,255,0.7); line-height: 1.5; }

.bubble-time { font-size: 10px; color: var(--text-faint); text-align: right; margin-top: 4px; }

.phone-cta-btn {
  background: rgba(124,58,237,0.2);
  border: 1px solid var(--border-accent);
  border-radius: 10px;
  padding: 9px;
  font-size: 12px;
  color: var(--accent-light);
  text-align: center;
  margin-top: 4px;
}

/* Paradigms bar */
.paradigms-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0 40px 60px;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}

.paradigm-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-faint);
  background: rgba(255,255,255,0.02);
}

/* ============================================================
   БЛОК 2 — БОЛЬ
   ============================================================ */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.pain-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.pain-icon { font-size: 28px; margin-bottom: 14px; }
.pain-title { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.pain-text { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   БЛОК 3 — КАК РАБОТАЕТ
   ============================================================ */
.steps { display: flex; flex-direction: column; gap: 0; margin-top: 48px; }

.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.step:last-child { border-bottom: none; }

.step-num {
  width: 52px; height: 52px;
  background: rgba(124,58,237,0.15);
  border: 1px solid var(--border-accent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-light);
  flex-shrink: 0;
}

.step-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step-text { font-size: 15px; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   БЛОК 4 — ПРОДУКТ
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.product-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
}

.product-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.tag-free { background: rgba(34,197,94,0.15); color: #4ADE80; }
.tag-paid { background: rgba(124,58,237,0.15); color: var(--accent-light); }
.tag-sub  { background: rgba(234,179,8,0.15); color: #FDE047; }

.product-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.product-text { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.product-tier { font-size: 12px; color: var(--text-faint); margin-top: 12px; }

/* ============================================================
   БЛОК 5 — КОНТРОЛЬ
   ============================================================ */
.control-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.control-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.control-icon { font-size: 32px; margin-bottom: 16px; }
.control-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.control-text { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   БЛОК 6 — ДЛЯ КОГО
   ============================================================ */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.audience-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}

.audience-icon { font-size: 28px; flex-shrink: 0; }
.audience-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.audience-text { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ============================================================
   БЛОК 7 — ТАРИФЫ
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  transition: border-color 0.2s;
}

.pricing-card.featured {
  border-color: var(--border-accent);
  background: linear-gradient(135deg, rgba(124,58,237,0.08), var(--bg-card));
}

.pricing-popular {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #7C3AED, #5B21B6);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-name { font-size: 14px; font-weight: 600; color: var(--text-muted); margin-bottom: 8px; }
.pricing-price { font-size: 42px; font-weight: 800; margin-bottom: 4px; }
.pricing-note { font-size: 13px; color: var(--text-faint); margin-bottom: 24px; }

.pricing-commission {
  background: rgba(124,58,237,0.1);
  border: 1px solid var(--border-accent);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 24px;
}

.pricing-commission .rate { font-size: 22px; font-weight: 800; color: var(--accent-light); }
.pricing-commission .rate-note { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.pricing-features li .check { color: #4ADE80; flex-shrink: 0; font-size: 15px; }
.pricing-features li .cross { color: rgba(255,255,255,0.2); flex-shrink: 0; }

.pricing-note-bottom {
  text-align: center;
  font-size: 14px;
  color: var(--text-faint);
  margin-top: 32px;
}

/* ============================================================
   БЛОК 8 — ПЕРВЫЕ 50 КОУЧЕЙ
   ============================================================ */
.founders-block {
  background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(91,33,182,0.08));
  border: 1px solid var(--border-accent);
  border-radius: 24px;
  padding: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.founders-block::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 400px; height: 300px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.founders-emoji { font-size: 48px; margin-bottom: 16px; }
.founders-title { font-size: 36px; font-weight: 800; margin-bottom: 14px; }
.founders-sub { font-size: 17px; color: var(--text-muted); max-width: 520px; margin: 0 auto 36px; }

.founders-perks {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.perk {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 14px;
}

.perk-icon { font-size: 18px; }

.founders-counter {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 20px;
}

.founders-counter strong { color: var(--accent-light); }

/* ============================================================
   БЛОК 9 — МЕЖДУНАРОДНЫЕ ПЛАТЕЖИ
   ============================================================ */
.payments-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 48px;
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
}

.payment-method-icon { font-size: 22px; }
.payment-method-name { font-size: 15px; font-weight: 600; }
.payment-method-note { font-size: 12px; color: var(--text-faint); margin-top: 1px; }

.payments-text h3 { font-size: 26px; font-weight: 700; margin-bottom: 16px; }
.payments-text p { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; }

/* ============================================================
   БЛОК 10 — FAQ
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 48px; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 22px 28px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-arrow { font-size: 18px; color: var(--accent-light); transition: transform 0.2s; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding: 0 28px 22px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.faq-item.open .faq-answer { display: block; }

/* ============================================================
   БЛОК 11 — ОТЗЫВЫ (placeholder)
   ============================================================ */
.testimonials-placeholder {
  text-align: center;
  padding: 60px;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: 20px;
  color: var(--text-faint);
  font-size: 16px;
  margin-top: 48px;
}

/* ============================================================
   БЛОК 12 — ФИНАЛЬНЫЙ CTA
   ============================================================ */
.final-cta {
  text-align: center;
  padding: 100px 40px;
  position: relative;
  z-index: 10;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta h2 { font-size: 48px; font-weight: 800; margin-bottom: 18px; letter-spacing: -1px; }
.final-cta p { font-size: 18px; color: var(--text-muted); margin-bottom: 40px; }

.final-cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.final-form {
  display: flex;
  justify-content: center;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.final-form input {
  flex: 1;
  min-width: 220px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 18px;
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}

.final-form input::placeholder { color: var(--text-faint); }
.final-form input:focus { border-color: var(--border-accent); }

.final-form button {
  background: linear-gradient(135deg, #7C3AED, #5B21B6);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
}

.footer-brand { font-size: 16px; font-weight: 700; letter-spacing: 2px; color: rgba(255,255,255,0.5); }
.footer-copy { font-size: 13px; color: var(--text-faint); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 60px 30px 40px; }
  .phone-wrap { display: none; }
  nav { padding: 18px 30px; }
  .section { padding: 60px 0; }
  .container { padding: 0 24px; }
  .pain-grid, .control-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .products-grid, .audience-grid, .payments-grid { grid-template-columns: 1fr; }
  .founders-block { padding: 36px 24px; }
  .final-cta h2 { font-size: 34px; }
  footer { flex-direction: column; gap: 10px; text-align: center; padding: 24px; }
}
