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

:root {
    --bg: #080518;
    --bg2: #0f0828;
    --gold: #d4af37;
    --gold2: #f0d060;
    --purple: #7b2fff;
    --pink: #e84d6b;
    --text: #ddd6f0;
    --muted: #7a6e9a;
    --border: rgba(212,175,55,0.18);
    --radius: 20px;
    --font-head: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 0%, rgba(123,47,255,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(212,175,55,0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

#page { position: relative; z-index: 1; }

a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold2); }

img { max-width: 100%; height: auto; }

h1, h2, h3, h4 { font-family: var(--font-head); color: #fff; line-height: 1.2; }

/* ===== ШАПКА ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(8,5,24,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--gold) 0%, #b8922a 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 16px rgba(212,175,55,0.3);
}

.logo-text {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}

.logo-text span { color: var(--gold); }

.main-nav { display: flex; align-items: center; gap: 32px; }

.main-nav a {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: color 0.2s;
}

.main-nav a:hover { color: var(--gold); }

.nav-cta {
    background: linear-gradient(135deg, var(--gold) 0%, #b8922a 100%);
    color: #080518 !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600 !important;
    box-shadow: 0 4px 16px rgba(212,175,55,0.25);
}

.nav-cta:hover { box-shadow: 0 6px 24px rgba(212,175,55,0.4); color: #080518 !important; }

.mobile-menu-btn { display: none; background: none; border: none; color: var(--gold); font-size: 1.5rem; cursor: pointer; }

/* ===== HERO ===== */
.hero {
    padding: 32px 24px 60px;
    text-align: center;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212,175,55,0.08);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 8px 20px;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.75;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 48px;
}

.stat-item { text-align: center; }
.stat-num { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--gold); display: block; }
.stat-label { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.05em; }

/* ===== СЕКЦИИ ===== */
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
    display: inline-block;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 16px; }
.section-desc { color: var(--muted); max-width: 560px; margin: 0 auto; }

/* Разделитель */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border) 30%, var(--gold) 50%, var(--border) 70%, transparent 100%);
    margin: 0;
}

/* ===== КАРТОЧКИ СФЕР ===== */
.spheres-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.sphere-preview-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.sphere-preview-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.sphere-preview-card:hover {
    border-color: rgba(212,175,55,0.4);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.sphere-preview-card:hover::before { opacity: 1; }

.spc-icon { font-size: 2.2rem; margin-bottom: 12px; }
.spc-title { font-family: var(--font-head); font-size: 1.2rem; color: #fff; margin-bottom: 8px; }
.spc-text { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* ===== КАК ЭТО РАБОТАЕТ ===== */
.how-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}

.how-step { display: flex; flex-direction: column; align-items: center; text-align: center; }

.step-num {
    width: 56px;
    height: 56px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 16px;
    position: relative;
}

.step-num::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(212,175,55,0.2);
}

.step-title { font-family: var(--font-head); font-size: 1.1rem; color: #fff; margin-bottom: 8px; }
.step-text { font-size: 0.88rem; color: var(--muted); }

/* ===== ОТЗЫВЫ ===== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.review-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    position: relative;
}

.review-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 14px; letter-spacing: 2px; }
.review-text { color: var(--text); font-size: 0.9rem; line-height: 1.7; font-style: italic; margin-bottom: 18px; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, var(--purple) 0%, var(--pink) 100%);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: #fff; font-size: 0.9rem;
}
.review-name { color: #fff; font-weight: 600; font-size: 0.9rem; }
.review-date { color: var(--muted); font-size: 0.78rem; }

/* ===== ТАРИФЫ ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    align-items: start;
}

.price-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.price-card.featured {
    background: linear-gradient(135deg, rgba(212,175,55,0.08) 0%, rgba(123,47,255,0.08) 100%);
    border-color: var(--gold);
    transform: scale(1.03);
    box-shadow: 0 0 60px rgba(212,175,55,0.1);
}

.price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gold) 0%, #b8922a 100%);
    color: #080518;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 50px;
    white-space: nowrap;
}

.price-name { font-family: var(--font-head); font-size: 1.3rem; color: #fff; margin-bottom: 8px; }
.price-desc { color: var(--muted); font-size: 0.85rem; margin-bottom: 20px; }
.price-amount { font-family: var(--font-head); font-size: 2.5rem; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 6px; }
.price-period { color: var(--muted); font-size: 0.8rem; margin-bottom: 24px; }

.price-features { list-style: none; text-align: left; margin-bottom: 28px; }
.price-features li {
    color: var(--text);
    font-size: 0.88rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.price-features li::before { content: '✦'; color: var(--gold); flex-shrink: 0; margin-top: 2px; }

.price-btn {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, var(--gold) 0%, #b8922a 100%);
    color: #080518;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(212,175,55,0.2);
}

.price-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212,175,55,0.35);
    color: #080518;
    text-decoration: none;
}

.price-btn-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text);
    box-shadow: none;
}

.price-btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212,175,55,0.05);
}

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; }

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

.faq-question {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    user-select: none;
}

.faq-toggle { color: var(--gold); font-size: 1.2rem; transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }

.faq-answer {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
}

.faq-item.open .faq-answer { max-height: 400px; padding-top: 12px; }

/* ===== ПОДВАЛ ===== */
.site-footer {
    background: rgba(0,0,0,0.4);
    border-top: 1px solid var(--border);
    padding: 60px 24px 32px;
    margin-top: 80px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand p { color: var(--muted); font-size: 0.9rem; margin-top: 12px; line-height: 1.6; }

.footer-col h4 { color: #fff; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--muted); font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy { color: var(--muted); font-size: 0.82rem; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: var(--muted); font-size: 0.82rem; }
.footer-legal a:hover { color: var(--gold); }

/* ===== СТРАНИЦА ПОСТА ===== */
.entry-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 60px 24px;
}

.entry-content h1, .entry-content h2, .entry-content h3 { margin: 32px 0 14px; }
.entry-content p { margin-bottom: 18px; color: var(--text); }
.entry-content ul, .entry-content ol { margin: 0 0 18px 24px; color: var(--text); }
.entry-content li { margin-bottom: 8px; }

/* ===== МОБИЛКА ===== */
@media (max-width: 768px) {
    .main-nav { display: none; }
    .mobile-menu-btn { display: block; }
    .hero { padding: 60px 20px 60px; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .pricing-grid { grid-template-columns: 1fr; }
    .price-card.featured { transform: none; }
}

/* ===== WP СТАНДАРТ ===== */
.wp-block-image { margin: 24px 0; }
.aligncenter { text-align: center; }
.page-content, .entry-content { padding: 40px 24px; max-width: 900px; margin: 0 auto; }

/* ===== МАГИЯ — КОСМИЧЕСКОЕ СУЩЕСТВО ===== */
.cosmic-entity {
    position: absolute;
    top: -60px;
    right: -40px;
    width: 420px;
    height: 420px;
    pointer-events: none;
    opacity: 0.55;
    z-index: 0;
}

@media (max-width: 900px) {
    .cosmic-entity { width: 260px; height: 260px; right: -20px; top: -20px; opacity: 0.3; }
}
@media (max-width: 600px) {
    .cosmic-entity { display: none; }
}

.hero { position: relative; overflow: hidden; }

/* Пульсация ядра существа */
@keyframes entityPulse {
    0%, 100% { opacity: 0.55; transform: scale(1); }
    50% { opacity: 0.75; transform: scale(1.05); }
}
@keyframes entityBreathe {
    0%, 100% { r: 62; opacity: 0.8; }
    50% { r: 70; opacity: 1; }
}
@keyframes ring1Rotate { from { transform: rotate(0deg); transform-origin: 210px 210px; } to { transform: rotate(360deg); transform-origin: 210px 210px; } }
@keyframes ring2Rotate { from { transform: rotate(0deg); transform-origin: 210px 210px; } to { transform: rotate(-360deg); transform-origin: 210px 210px; } }

@keyframes particle1 { 0%,100%{transform:translate(0,0);opacity:0.7} 33%{transform:translate(-15px,-20px);opacity:1} 66%{transform:translate(10px,8px);opacity:0.5} }
@keyframes particle2 { 0%,100%{transform:translate(0,0);opacity:0.8} 50%{transform:translate(20px,-15px);opacity:0.4} }
@keyframes particle3 { 0%,100%{transform:translate(0,0);opacity:0.6} 40%{transform:translate(-10px,20px);opacity:1} 80%{transform:translate(15px,-8px);opacity:0.3} }
@keyframes particle4 { 0%,100%{transform:translate(0,0)} 60%{transform:translate(-20px,-15px)} }
@keyframes particle5 { 0%,100%{opacity:0.9;transform:scale(1)} 50%{opacity:0.3;transform:scale(0.5)} }

.entity-pulse { animation: entityPulse 4s ease-in-out infinite; }
.entity-breathe { animation: entityPulse 3s ease-in-out infinite; }
.ring-1 { animation: ring1Rotate 12s linear infinite; }
.ring-2 { animation: ring2Rotate 8s linear infinite; }
.particle-1 { animation: particle1 6s ease-in-out infinite; }
.particle-2 { animation: particle2 4s ease-in-out infinite; }
.particle-3 { animation: particle3 7s ease-in-out infinite; }
.particle-4 { animation: particle4 5s ease-in-out infinite; }
.particle-5 { animation: particle5 3s ease-in-out infinite; }

/* ===== УСИЛЕННАЯ АВРОРА В HERO ===== */
.hero::before {
    content: '';
    position: absolute;
    inset: -100px -200px;
    background:
        radial-gradient(ellipse 70% 50% at 80% 30%, rgba(123,47,255,0.15) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 10% 60%, rgba(212,175,55,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 60% at 50% 0%, rgba(168,85,247,0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: auroraShift 8s ease-in-out infinite alternate;
}

@keyframes auroraShift {
    0% { opacity: 0.6; transform: scale(1) rotate(-1deg); }
    100% { opacity: 1; transform: scale(1.05) rotate(1deg); }
}

.hero > * { position: relative; z-index: 1; }

/* ===== МЕРЦАНИЕ HERO BADGE ===== */
.hero-badge {
    animation: badgeGlow 3s ease-in-out infinite;
}
@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 0 0 rgba(212,175,55,0); }
    50% { box-shadow: 0 0 20px rgba(212,175,55,0.3); }
}

/* ===== ПУЛЬС КНОПКИ РАСЧЁТА ===== */
.calc-btn {
    position: relative;
}
.calc-btn::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--gold), #7b2fff);
    opacity: 0;
    z-index: -1;
    filter: blur(12px);
    animation: btnPulse 2.5s ease-in-out infinite;
}
@keyframes btnPulse {
    0%, 100% { opacity: 0; transform: scale(0.95); }
    50% { opacity: 0.4; transform: scale(1.05); }
}

/* ===== КАРТОЧКИ СФЕР — МАГИЧЕСКОЕ СВЕЧЕНИЕ ===== */
.sphere-preview-card:hover {
    box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 30px rgba(212,175,55,0.12);
}

/* ===== ГЛОБАЛЬНЫЙ ФОН — ТУМАННОСТЬ ===== */
body::after {
    content: '';
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(123,47,255,0.04) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: nebulaFloat 15s ease-in-out infinite alternate;
}
@keyframes nebulaFloat {
    0% { transform: translateX(-50%) translateY(0) scale(1); opacity: 0.5; }
    100% { transform: translateX(-50%) translateY(-40px) scale(1.1); opacity: 1; }
}

/* ===== ЧИСЛА КАЛЬКУЛЯТОРА — СВЕЧЕНИЕ ===== */
.sphere-number {
    text-shadow: 0 0 20px rgba(212,175,55,0.5);
}
.result-lp-badge span {
    box-shadow: 0 0 16px rgba(212,175,55,0.6);
}

/* ===== СОЛНЕЧНАЯ СИСТЕМА (canvas) ===== */
.solar-system-canvas {
    position: fixed;
    top: 70px;
    left: 0;
    width: 400px;
    height: 400px;
    pointer-events: none;
    z-index: 2;
    opacity: 0.85;
}
@media (max-width: 1300px) {
    .solar-system-canvas { width: 300px; height: 300px; opacity: 0.6; }
}
@media (max-width: 1000px) {
    .solar-system-canvas { width: 200px; height: 200px; opacity: 0.4; }
}
@media (max-width: 700px) {
    .solar-system-canvas { display: none; }
}

/* ===== МЛЕЧНЫЙ ПУТЬ (canvas, правая сторона) ===== */
.milkyway-canvas {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.7) 30%, rgba(0,0,0,1) 70%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.7) 30%, rgba(0,0,0,1) 70%);
    position: fixed;
    top: 0;
    right: 0;
    width: 340px;
    height: 100vh;
    pointer-events: none;
    z-index: 2;
    opacity: 0.65;
}
@media (max-width: 1300px) {
    .milkyway-canvas {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.7) 30%, rgba(0,0,0,1) 70%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.7) 30%, rgba(0,0,0,1) 70%); width: 220px; opacity: 0.45; }
}
@media (max-width: 1000px) {
    .milkyway-canvas {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.7) 30%, rgba(0,0,0,1) 70%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.7) 30%, rgba(0,0,0,1) 70%); display: none; }
}

/* ===== ЦИТАТА-МАЯК ===== */
.lighthouse-quote {
    padding: 60px 24px;
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}
.lq-inner {
    background: linear-gradient(135deg, rgba(123,47,255,0.08) 0%, rgba(212,175,55,0.05) 100%);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 24px;
    padding: 48px 40px;
    position: relative;
}
.lq-inner::before {
    content: '"';
    position: absolute;
    top: 16px;
    left: 32px;
    font-size: 6rem;
    color: rgba(212,175,55,0.1);
    font-family: Georgia, serif;
    line-height: 1;
}
.lq-stars { color: var(--gold, #d4af37); letter-spacing: 12px; font-size: 0.9rem; margin-bottom: 24px; }
.lq-text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.15rem, 3vw, 1.5rem);
    font-style: italic;
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
    margin: 0 0 28px;
    border: none;
    padding: 0;
}
.lq-text em { color: #d4af37; font-style: normal; }
.lq-methods { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.lq-method {
    background: rgba(212,175,55,0.08);
    border: 1px solid rgba(212,175,55,0.25);
    border-radius: 50px;
    color: #d4af37;
    font-size: 0.8rem;
    padding: 6px 16px;
}
@media (max-width: 600px) {
    .lq-inner { padding: 32px 20px; }
    .lq-text { font-size: 1.05rem; }
}

/* ===== МАТРИЦА СУДЬБЫ ===== */
.matrix-teaser { max-width: 1100px; margin: 0 auto; padding: 60px 24px; }
.section-desc {
    color: var(--muted, #8a7aaa);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 680px;
    margin: 12px auto 0;
}
.matrix-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.matrix-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(212,175,55,0.15);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    transition: all 0.3s;
}
.matrix-card:hover {
    border-color: rgba(212,175,55,0.4);
    transform: translateY(-4px);
    background: rgba(212,175,55,0.05);
}
.mc-icon { font-size: 2.2rem; color: #d4af37; margin-bottom: 12px; }
.matrix-card h4 { font-family: Georgia, serif; color: #fff; font-size: 1.05rem; margin: 0 0 10px; }
.matrix-card p { color: #8a7aaa; font-size: 0.88rem; line-height: 1.6; margin: 0; }
.cta-btn-main {
    display: inline-block;
    background: linear-gradient(135deg, #d4af37 0%, #b8922a 100%);
    color: #0d0720;
    font-weight: 700;
    font-size: 1rem;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 8px 32px rgba(212,175,55,0.3);
}
.cta-btn-main:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(212,175,55,0.45); color: #0d0720; text-decoration: none; }

/* Disclaimer in footer */
.footer-disclaimer {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 16px 0 0;
    margin-bottom: 16px;
}
.footer-disclaimer p {
    font-size: 7px;
    color: rgba(255,255,255,0.35);
    line-height: 1.6;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.footer-disclaimer a {
    color: rgba(255,255,255,0.5);
    text-decoration: underline;
}

/* ---- Философские цитаты между секциями ---- */
.philo-quote {
    text-align: center;
    padding: 18px 24px;
    margin: 0;
}
.philo-quote blockquote {
    display: inline-block;
    margin: 0;
    padding: 0;
    border: none;
    max-width: 640px;
}
.philo-quote blockquote p {
    color: rgba(196,181,253,0.65);
    font-size: 13px;
    font-style: italic;
    line-height: 1.7;
    margin: 0 0 4px;
}
.philo-quote blockquote cite {
    color: rgba(251,191,36,0.5);
    font-size: 11px;
    font-style: normal;
}
.philo-quote blockquote p::before { content: '\"'; }
.philo-quote blockquote p::after  { content: '\"'; }

/* ---- Кнопка прокрутки наверх ---- */
#scroll-top-btn {
    position: fixed;
    bottom: 32px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #4c1d95, #7c3aed);
    color: #fbbf24;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 9990;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s;
    box-shadow: 0 4px 20px rgba(124,58,237,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
#scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0);
}
#scroll-top-btn:hover {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    box-shadow: 0 6px 28px rgba(124,58,237,0.8);
}

/* ---- Кнопки прокрутки вверх/вниз ---- */
#scroll-nav {
    position: fixed;
    bottom: 28px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 9990;
}
#scroll-up-btn,
#scroll-dn-btn {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #4c1d95, #7c3aed);
    color: #fbbf24;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s, background 0.2s;
    box-shadow: 0 4px 18px rgba(124,58,237,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    pointer-events: none;
}
#scroll-up-btn.visible,
#scroll-dn-btn.visible {
    opacity: 1;
    pointer-events: auto;
}
@media (max-width: 480px) {
    #scroll-nav { right: 12px; bottom: 20px; }
    #scroll-up-btn, #scroll-dn-btn { width: 38px; height: 38px; font-size: 17px; }
}
#scroll-up-btn:hover,
#scroll-dn-btn:hover {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    box-shadow: 0 6px 24px rgba(124,58,237,0.8);
}


/* ========== СТРАНИЦА СПАСИБО ========== */
.spasibo-wrap {
    text-align: center;
    padding: 80px 24px 100px;
    max-width: 620px;
    margin: 0 auto;
}
.spasibo-icon {
    font-size: 3.5rem;
    color: #d4af37;
    margin-bottom: 20px;
    animation: pulse-star 2.5s ease-in-out infinite;
}
@keyframes pulse-star {
    0%,100% { text-shadow: 0 0 20px rgba(212,175,55,0.4); transform: scale(1); }
    50% { text-shadow: 0 0 40px rgba(212,175,55,0.9); transform: scale(1.1); }
}
.spasibo-title {
    font-family: Georgia, serif;
    font-size: 2.4rem;
    color: #d4af37;
    margin-bottom: 16px;
}
.spasibo-sub {
    color: #a59dc0;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 36px;
}
.spasibo-card {
    background: rgba(212,175,55,0.05);
    border: 1px solid rgba(212,175,55,0.18);
    border-radius: 20px;
    padding: 28px 32px;
    margin-bottom: 36px;
    text-align: left;
}
.spasibo-steps { display: flex; flex-direction: column; gap: 16px; }
.spasibo-step { display: flex; align-items: flex-start; gap: 14px; color: #ddd6f0; font-size: 0.95rem; line-height: 1.5; }
.step-num {
    flex-shrink: 0;
    width: 28px; height: 28px;
    background: linear-gradient(135deg, #d4af37, #b8922a);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.8rem; color: #080518;
}
.spasibo-quote {
    color: rgba(196,181,253,0.6);
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: 36px;
}
.spasibo-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
    background: linear-gradient(135deg, #d4af37, #b8922a);
    color: #080518;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: box-shadow 0.3s;
}
.btn-primary:hover { box-shadow: 0 6px 24px rgba(212,175,55,0.5); }
.btn-outline {
    background: transparent;
    color: #a78bfa;
    border: 1px solid rgba(167,139,250,0.4);
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}
.btn-outline:hover { border-color: #a78bfa; background: rgba(167,139,250,0.08); }
