/* ============================================
   ASTRO-PREMIUM LANDING PAGE STYLES
   ПОЛНАЯ ВЕРСИЯ
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700;900&family=Cormorant+Garamond:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --color-space-900: #0B0C15;
    --color-space-800: #1A1A2E;
    --color-gold-500: #D4AF37;
    --color-gold-400: #F4C430;
    --color-neon-gold: #FFD700;
    --color-white: #FFFFFF;
    --color-gray-400: #9CA3AF;
    
    --font-cinzel: 'Cinzel', serif;
    --font-garamond: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

/* === НАЧАЛО ФОНА === */
body {
    font-family: var(--font-body);
    background-color: #050508; /* Цвет подложки (на случай если картинка не прогрузится) */
    
    /* ЧИСТАЯ КАРТИНКА БЕЗ ЗАТЕМНЕНИЯ */
    background-image: url('../images/galaktikafon.jpg'');
    
    /* АДАПТИВНОСТЬ (чтобы не растягивало) */
    background-size: cover;       /* Заполняет экран, сохраняя пропорции */
    background-position: center;  /* Центрирует изображение */
    background-repeat: no-repeat; /* Не повторяет плиткой */
    background-attachment: fixed; /* Фиксирует фон при прокрутке */
    
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}
/* === КОНЕЦ ФОНА === */

/* === ИСПРАВЛЕННЫЙ ФОН (МАГ ЦЕЛИКОМ) === */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: #000;
}

.bg-image {
    width: 100%;
    height: 100%;
    //
    background-position: center center;
    background-repeat: no-repeat;
    /* ГЛАВНОЕ: contain сохраняет пропорции, чтобы маг был виден целиком */
    background-size: contain; 
    opacity: 0.8;
    animation: bgPulse 8s ease-in-out infinite;
    
    /* Виньетка: затемняем края, чтобы текст читался */
    mask-image: radial-gradient(circle, black 40%, transparent 90%);
    -webkit-mask-image: radial-gradient(circle, black 40%, transparent 90%);
}

@keyframes bgPulse {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.02); filter: brightness(1.1); }
}

/* Дополнительное затемнение для читаемости текста */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
    pointer-events: none;
}

/* ============================================
   КНОПКИ С ЯРКИМ НЕОНОМ
   ============================================ */

.btn {
    display: inline-block;
    padding: 18px 40px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    font-size: 17px;
    font-family: var(--font-cinzel);
    position: relative;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.2s ease;
    border-radius: 4px;
    box-shadow: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(139, 115, 85, 0.1) 2px, rgba(139, 115, 85, 0.1) 4px);
    pointer-events: none;
    z-index: 1;
    clip-path: inherit;
}

/* ЗОЛОТАЯ КНОПКА */
.btn-primary {
    background: linear-gradient(135deg, #E8D5B7 0%, #F4E8C1 50%, #D4C4A8 100%);
    color: #2C1810;
    clip-path: polygon(
        0% 2%, 2% 0%, 5% 2%, 8% 0%, 12% 3%, 15% 1%, 18% 3%, 22% 1%, 
        25% 3%, 28% 1%, 32% 3%, 35% 1%, 38% 3%, 42% 1%, 45% 3%, 48% 1%, 
        52% 3%, 55% 1%, 58% 3%, 62% 1%, 65% 3%, 68% 1%, 72% 3%, 75% 1%, 
        78% 3%, 82% 1%, 85% 3%, 88% 1%, 92% 3%, 95% 1%, 98% 3%, 100% 1%, 
        100% 98%, 98% 100%, 95% 98%, 92% 100%, 88% 97%, 85% 99%, 82% 97%, 
        78% 99%, 75% 97%, 72% 99%, 68% 97%, 65% 99%, 62% 97%, 58% 99%, 
        55% 97%, 52% 99%, 48% 97%, 45% 99%, 42% 97%, 38% 99%, 35% 97%, 
        32% 99%, 28% 97%, 25% 99%, 22% 97%, 18% 99%, 15% 97%, 12% 99%, 
        8% 97%, 5% 99%, 2% 97%, 0% 99%
    );
    border: 2px solid #8B7355;
}

/* НЕОН ПРИ НАВЕДЕНИИ */
/* === ЗАМЕНИТЕ ЭТИ БЛОКИ В ВАШЕМ CSS === */

/* 1. Кнопка .btn-primary (Светлая) */
.btn-primary:hover {
    transform: translateY(-2px);
    border-color: #ffffff; /* Цвет рамки */
    box-shadow: 
        0 0 10px #ffffff,
        0 0 20px #ffffff,
        0 0 40px #ffffff,
        inset 0 0 10px rgba(176, 38, 255, 0.5);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.btn-primary:active {
    transform: translateY(2px) scale(0.98);
    border-color: #ffffff; /* Светло-фиолетовый при нажатии */
    box-shadow: 
        0 0 15px #ffffff,
        0 0 30px #ffffff,
        0 0 60px #ffffff,
        inset 0 0 20px rgba(176, 38, 255, 0.7);
}

/* 2. Кнопка .btn-secondary (Темная) */
.btn-secondary {
    border-color: #ffffff;
    box-shadow:
        0 0 10px #ffffff,
        0 0 20px #ffffff,
        0 0 40px rgba(176, 38, 255, 0.4);
    color: #e0c0ff;
}
.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: #ffffff;
    box-shadow: 
        0 0 10px #ffffff,
        0 0 20px #ffffff,
        0 0 40px rgba(176, 38, 255, 0.4);
    color: #e0c0ff; /* Цвет текста становится светлее */
}

.btn-secondary:active {
    transform: translateY(2px);
    box-shadow: 
        0 0 15px #ffffff,
        0 0 30px #ffffff,
        0 0 50px rgba(176, 38, 255, 0.6);
}

/* 3. Анимация свечения (если есть класс btn-glow) */
@keyframes buttonGlow {
    0%, 100% { 
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    }
    50% { 
        box-shadow: 
            0 4px 15px rgba(0, 0, 0, 0.4),
            0 0 15px rgba(176, 38, 255, 0.3),
            0 0 25px rgba(176, 38, 255, 0.2);
    }
}

.btn-lg {
    padding: 20px 50px;
    font-size: 18px;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

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

/* ПРОЗРАЧНАЯ ШАПКА */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled {
    background: rgba(5, 5, 8, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

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

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

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.logo-text {
    font-family: var(--font-cinzel);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-gold-400);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    color: #ffffff;
    text-shadow:
        0 0 5px #ffffff,
        0 0 10px rgba(255,255,255,0.8),
        0 0 20px rgba(176,38,255,0.4);
}

.nav a:hover {
    color: #ffffff;
    text-shadow:
        0 0 8px #ffffff,
        0 0 15px rgba(255,255,255,0.9),
        0 0 30px rgba(176,38,255,0.6);
}

.header-btn {
    display: block;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--color-gold-400);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 180px 20px 100px;
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.5);
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 15px;
    margin-bottom: 24px;
    font-family: var(--font-cinzel);
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 24px;
    font-family: var(--font-cinzel);
    font-weight: 900;
    text-shadow: 0 4px 10px rgba(0,0,0,0.8);
}

.text-gold {
    color: var(--color-gold-400);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
}

.hero-subtitle {
    font-size: 20px;
    color: #ddd;
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-family: var(--font-body);
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 48px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-cinzel);
    font-size: 42px;
    font-weight: 900;
    color: var(--color-gold-400);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.stat-label {
    font-size: 14px;
    color: var(--color-gray-400);
}

.hero-trust {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-badge {
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 13px;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Sections */
.section-title {
    font-size: 42px;
    text-align: center;
    margin-bottom: 60px;
    color: var(--color-gold-400);
    font-family: var(--font-cinzel);
    font-weight: 900;
    position: relative;
    z-index: 2;
}

.problem, .features, .how-it-works, .reviews, .pricing, .faq, .cta {
    padding: 100px 20px;
    position: relative;
    z-index: 2;
}

.problem-grid, .features-grid, .reviews-grid, .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.problem-card, .feature-card, .review-card, .pricing-card {
    background: rgba(11, 12, 21, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.problem-card:hover, .feature-card:hover {
    border-color: var(--color-gold-500);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.problem-icon, .feature-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
}

.problem-card h3, .feature-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    font-family: var(--font-cinzel);
    font-weight: 700;
}

.problem-card p, .feature-card p {
    font-size: 15px;
    color: var(--color-gray-400);
    font-family: var(--font-body);
}

/* Stars */
.stars-bg .star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

.stars-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

/* Responsive */
@media (max-width: 768px) {
    .nav, .header-btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 140px 20px 80px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-lg {
        width: 100%;
        padding: 18px 36px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .section-title {
        font-size: 32px;
    }
}

@media (min-width: 1400px) {
    .container, .hero {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}
/* ============================================
   СТИЛИ ПЕРЕКЛЮЧАТЕЛЯ ЯЗЫКОВ
   ============================================ */

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 20px;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.lang-btn:hover, .lang-btn.active {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--color-gold-400);
    color: var(--color-gold-400);
}

.lang-sep {
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
}

/* Адаптив: на телефонах скрываем, чтобы не мешал */
@media (max-width: 768px) {
    .lang-switcher {
        display: none; 
    }
}
/* ФОН СО ЗВЕЗДАМИ */

.stars-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;

    

    z-index: -1;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;

    background: white;
    border-radius: 50%;

    animation: starMove linear infinite;
}

@keyframes starMove {
    from {
        transform: translateY(0px);
        opacity: 1;
    }

    to {
        transform: translateY(-100vh);
        opacity: 0;
    }
}

