/* ===================================================
   ИНВЕРСИВНЫЙ АЛХИМИК 4.2 — Visual Standard
   Colors: #1A1F2B (deep navy), #D4AF37 (gold)
   Fonts: Cormorant Garamond (headings), Manrope (body)
=================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=Manrope:wght@300;400;500;600;700&display=swap');

:root {
  --bg-primary:    #1A1F2B;
  --bg-secondary:  #141820;
  --bg-card:       #1E2535;
  --gold:          #D4AF37;
  --gold-light:    #E8CC6A;
  --gold-dark:     #A88B1E;
  --text-primary:  #E8E4DA;
  --text-muted:    #8A8FA0;
  --border:        rgba(212, 175, 55, 0.18);
  --shadow-gold:   0 0 40px rgba(212, 175, 55, 0.12);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold);
  line-height: 1.2;
  font-weight: 600;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1.2rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); margin-bottom: 0.8rem; }
p  { margin-bottom: 1rem; }
a  { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-light); }

/* ---- LAYOUT ---- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- HEADER / NAV ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 24, 32, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.logo span { color: var(--text-primary); font-weight: 300; }
nav { display: flex; gap: 6px; flex-wrap: wrap; }
nav a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}
nav a:hover, nav a.active {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
}

/* ---- HERO ---- */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(212,175,55,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

/* ---- ANSWER-FIRST BLOCK (GEO) ---- */
.answer-first {
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 24px 28px;
  margin: 40px 0;
  font-size: 1.05rem;
  line-height: 1.8;
}
.answer-first-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.answer-first-label::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--gold);
}

/* ---- CONTENT SECTIONS (Явь / Навь / Правь) ---- */
.section { padding: 60px 0; }
.section-alt { background: var(--bg-secondary); }
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
}
.three-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.block-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.block-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: var(--shadow-gold);
}
.block-card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}
.block-card h3 { color: var(--gold); }
.block-card p  { color: var(--text-muted); font-size: 0.95rem; }

/* ---- GEO TABLE (E-E-A-T) ---- */
.geo-table-wrap { overflow-x: auto; margin: 32px 0; }
.geo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.geo-table th {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  text-align: left;
  padding: 14px 20px;
  border-bottom: 2px solid var(--border);
  background: var(--bg-secondary);
}
.geo-table td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
  color: var(--text-primary);
  vertical-align: top;
}
.geo-table td:first-child {
  color: var(--text-muted);
  font-weight: 500;
  width: 40%;
}
.geo-table tr:last-child td { border-bottom: none; }
.geo-table tr:hover td { background: rgba(212, 175, 55, 0.03); }

/* ---- PRICE CARD ---- */
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  max-width: 480px;
  margin: 40px auto;
  box-shadow: var(--shadow-gold);
}
.price-amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.price-period { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 28px; }
.price-features { list-style: none; text-align: left; margin-bottom: 32px; }
.price-features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(212,175,55,0.08);
  font-size: 0.95rem;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.price-features li::before { content: '✦'; color: var(--gold); flex-shrink: 0; font-size: 0.7rem; margin-top: 4px; }

/* ---- STEPS LIST ---- */
.steps-list { list-style: none; margin: 28px 0; }
.steps-list li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.steps-list li:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps-list li p { color: var(--text-muted); font-size: 0.95rem; margin: 4px 0 0; }

/* ---- CTA BUTTON ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 16px 36px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
}
.btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212,175,55,0.35);
  color: var(--bg-primary);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover {
  background: rgba(212,175,55,0.1);
  color: var(--gold);
  box-shadow: none;
}
.cta-section {
  text-align: center;
  padding: 80px 0;
  background: var(--bg-secondary);
}
.cta-section p { color: var(--text-muted); max-width: 560px; margin: 0 auto 32px; font-size: 1.05rem; }

/* ---- STATS ROW ---- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin: 48px 0;
}
.stat-item {
  background: var(--bg-card);
  padding: 32px 24px;
  text-align: center;
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; line-height: 1.4; }

/* ---- FOOTER ---- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--text-muted); font-size: 0.88rem; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}

/* ---- DIVIDER ---- */
.divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 24px 0;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .header-inner { flex-direction: column; height: auto; padding: 16px 0; gap: 12px; }
  nav { justify-content: center; }
  .hero { padding: 60px 0 48px; }
  .footer-inner { flex-direction: column; }
  .footer-bottom { flex-direction: column; }
  .price-card { padding: 32px 24px; }
}
