/* --- GLOBAL --- */
body {
	font-family: 'Inter', sans-serif;
	color: #334155; /* Более мягкий темный цвет */
	background-color: #f8fafc;
	line-height: 1.7;
}

h1, h2, h3, h4, h5 {
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #0f172a;
}

/* --- HERO SECTION (ШАПКА) --- */
.hero-section {
	background: #0f172a; /* Глубокий черный/синий */
	color: #fff;
	padding: 80px 0;
	position: relative;
	overflow: hidden;
}

/* Исправление невидимого заголовка */
.text-white-50 { color: rgba(255, 255, 255, 0.6) !important; }
.hero-title {
	color: #fff; /* Белый цвет для заголовка */
	text-shadow: 0 4px 20px rgba(0,0,0,0.5); /* Тень для читаемости */
}

/* Кнопка купить */
.btn-primary-glow {
	background: linear-gradient(135deg, #3b82f6, #2563eb);
	border: none;
	box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
	transition: all 0.3s;
}
.btn-primary-glow:hover {
	transform: translateY(-3px);
	box-shadow: 0 20px 40px rgba(37, 99, 235, 0.6);
}

/* --- FEATURES (ПРЕИМУЩЕСТВА) --- */
.feature-box {
	background: #fff;
	padding: 30px;
	border-radius: 20px;
	box-shadow: 0 4px 6px rgba(0,0,0,0.02); /* Очень легкая тень */
	border: 1px solid #f1f5f9;
	height: 100%; /* Одинаковая высота */
	transition: all 0.3s;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.feature-box:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 40px rgba(0,0,0,0.08);
	border-color: #fff;
}
.feature-icon {
	width: 60px;
	height: 60px;
	background: #eff6ff; /* Светло-голубой */
	color: #2563eb;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	margin-bottom: 20px;
}

/* --- STEPS (ШАГИ) --- */
.step-card {
	background: transparent;
	border: none;
	text-align: center;
	position: relative;
	padding: 20px;
}
/* Линия между шагами (только на десктопе) */
@media (min-width: 992px) {
	.step-card::after {
		content: '';
		position: absolute;
		top: 50px;
		right: -50%;
		width: 100%;
		height: 2px;
		background: #e2e8f0;
		z-index: -1;
	}
	.col-md-4:last-child .step-card::after {
		display: none; /* У последнего шага нет линии */
	}
}
.step-number {
	width: 60px;
	height: 60px;
	background: #2563eb;
	color: #fff;
	border-radius: 50%;
	font-size: 1.5rem;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	box-shadow: 0 0 0 10px #eff6ff; /* Обводка */
	z-index: 2;
	position: relative;
}

/* --- FAQ (АККОРДЕОН) - V2.0 --- */
.faq-section {
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	background: #ffffff;
	border: 1px solid #f1f5f9;
	border-radius: 16px;
	margin-bottom: 12px; /* Отступ между вопросами */
	overflow: hidden;
	transition: all 0.3s ease;
}

.faq-item:hover {
	border-color: #e2e8f0;
	box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.faq-header {
	padding: 24px;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: 700;
	font-size: 1.1rem;
	color: #1e293b;
	user-select: none;
}

.faq-header .icon-toggle {
	width: 24px;
	height: 24px;
	background: #f1f5f9;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #64748b;
	font-size: 0.8rem;
	transition: transform 0.3s;
}

/* Когда открыт */
.faq-item.active .icon-toggle {
	transform: rotate(180deg);
	background: #eff6ff;
	color: #2563eb;
}

.faq-body {
	max-height: 0; /* Скрыто по умолчанию */
	overflow: hidden;
	transition: max-height 0.3s ease-out;
	padding: 0 24px;
	opacity: 0;
}

.faq-item.active .faq-body {
	padding-bottom: 24px; /* Показываем отступ снизу */
	opacity: 1;
	/* max-height будет задан через JS */
}

.faq-text {
	color: #64748b;
	line-height: 1.6;
	border-top: 1px solid #f8fafc;
	padding-top: 16px;
}



/* --- FEATURES (ПРЕИМУЩЕСТВА) - V3.0 --- */
/* --- FEATURES (ПРЕИМУЩЕСТВА) - V5.0 (Horizontal & Clean) --- */
.feature-card {
	background: #ffffff;
	border: 1px solid rgba(0,0,0,0.04); /* Едва заметная граница */
	border-radius: 16px;
	padding: 24px;
	height: 100%;
	transition: all 0.2s ease-in-out;
	display: flex; /* Горизонтальная компоновка */
	align-items: flex-start; /* Иконка сверху, если текста много */
	gap: 20px; /* Отступ между иконкой и текстом */
}

.feature-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 30px -5px rgba(0,0,0,0.06);
	border-color: rgba(37, 99, 235, 0.1); /* Легкий синий бордер при наведении */
}

/* Иконка */
.feature-icon {
	width: 52px;
	height: 52px;
	background: #f8fafc; /* Очень светлый серый */
	color: #475569; /* Темно-серый цвет иконки */
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.4rem;
	flex-shrink: 0; /* Чтобы не сжималась */
	transition: all 0.2s;
}

/* При наведении иконка становится чуть ярче, но без экстрима */
.feature-card:hover .feature-icon {
	background: #eff6ff; /* Светло-голубой */
	color: #2563eb; /* Синий */
}

/* Текстовая часть */
.feature-content {
	flex-grow: 1;
}

.feature-title {
	font-size: 1.1rem;
	font-weight: 700;
	color: #1e293b;
	margin-bottom: 6px;
	letter-spacing: -0.01em;
}

.feature-text {
	font-size: 0.95rem;
	color: #64748b;
	line-height: 1.5;
	margin: 0;
}



/* --- CTA V2 (PREMIUM BLOCK) --- */
.cta-v2 {
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

/* 1. СИНИЙ ГРАДИЕНТ */
.cta-v2.bg-gradient-blue {
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    color: #ffffff !important;
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.4);
}
.cta-v2.bg-gradient-blue::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

/* 2. ТЕМНЫЙ РЕЖИМ */
.cta-v2.bg-dark-mode {
    background: #0f172a;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.2);
}

/* 3. СВЕТЛЫЙ РЕЖИМ */
.cta-v2.bg-light-mode {
    background: #ffffff;
    color: #1e293b !important;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px -5px rgba(0,0,0,0.05);
}

/* ТИПОГРАФИКА */
.cta-v2-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: inherit; /* Наследует цвет от родителя */
}
.cta-v2-text {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    color: inherit;
}

/* --- КНОПКИ ВНУТРИ CTA --- */

/* Кнопка 1: Основная (Solid) */
.cta-v2 .btn-action-primary {
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, background 0.2s;
}
.cta-v2 .btn-action-primary:hover {
    transform: translateY(-3px);
}

/* Для ТЕМНОГО фона кнопка БЕЛАЯ */
.cta-v2.bg-gradient-blue .btn-action-primary,
.cta-v2.bg-dark-mode .btn-action-primary {
    background: #ffffff;
    color: #2563eb;
}
.cta-v2.bg-dark-mode .btn-action-primary:hover {
    background: #f8fafc;
}

/* Для СВЕТЛОГО фона кнопка СИНЯЯ */
.cta-v2.bg-light-mode .btn-action-primary {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
}
.cta-v2.bg-light-mode .btn-action-primary:hover {
    background: #1d4ed8;
}


/* Кнопка 2: Второстепенная (Outline) */
.cta-v2 .btn-action-outline {
    background: transparent;
    border: 2px solid;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 50px;
    transition: all 0.2s;
}

/* Для ТЕМНОГО фона обводка БЕЛАЯ */
.cta-v2.bg-gradient-blue .btn-action-outline,
.cta-v2.bg-dark-mode .btn-action-outline {
    border-color: rgba(255,255,255,0.4);
    color: #ffffff;
}
.cta-v2.bg-gradient-blue .btn-action-outline:hover,
.cta-v2.bg-dark-mode .btn-action-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #ffffff;
}

/* Для СВЕТЛОГО фона обводка СЕРАЯ */
.cta-v2.bg-light-mode .btn-action-outline {
    border-color: #cbd5e1;
    color: #64748b;
}
.cta-v2.bg-light-mode .btn-action-outline:hover {
    background: #f1f5f9;
    color: #334155;
    border-color: #94a3b8;
}



/* --- PREMIUM TIMER (Общие стили) --- */
.premium-timer {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 16px 28px;
    border-radius: 16px;
    margin-bottom: 2rem;
    width: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.timer-digits {
    font-family: 'Inter', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fbbf24;
    letter-spacing: 2px;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(251, 191, 36, 0.3);
}

.timer-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 4px;
    font-weight: 600;
    color: #fff;
}

.hero-section {
    padding-top: 100px;
    padding-bottom: 100px;
}

/* --- МОБИЛЬНАЯ ВЕРСИЯ (OPTIMIZED) --- */
@media (max-width: 991px) {
    
    /* 1. Общие отступы секции */
    .hero-section {
        padding-top: 20px !important;  
        padding-bottom: 40px !important;
        text-align: center;
    }

    /* 2. Заголовок и Текст */
    .hero-title {
        font-size: 2rem !important; 
        line-height: 1.1 !important;
        margin-bottom: 10px !important;
    }
    
    .lead {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem !important;
        opacity: 0.8;
    }

    /* 3. БЛОК ЦЕНЫ (Полная перестройка) */
    .price-container {
        flex-direction: column; /* Ставим элементы друг под друга */
        gap: 5px !important;
        margin-bottom: 1.5rem !important;
        justify-content: center;
    }

    /* Главная цена - КРУПНО */
    #mainPrice {
        font-size: 3rem !important; 
        line-height: 1;
        order: 1; 
    }

    /* Контейнер старой цены и скидки */
    #oldPriceContainer {
        order: 2; 
        justify-content: center;
        opacity: 0.9;
    }

    /* Старая цена */
    #oldPrice {
        font-size: 1.2rem !important;
        color: rgba(255,255,255,0.6) !important;
        font-weight: 400;
        position: relative;
    }
    #oldPrice::after {
        content: '';
        position: absolute;
        left: 0; top: 50%; width: 100%; height: 1px;
        background: rgba(255,255,255,0.6);
    }

    /* Бейдж скидки */
    #discountBadge {
        padding: 4px 8px !important;
        font-size: 0.8rem !important;
        align-self: center;
    }

    /* 4. ТАЙМЕР */
    .premium-timer {
        width: 100%;
        justify-content: center;
        padding: 10px 15px !important;
        margin-bottom: 1rem !important; 
        background: rgba(255,255,255,0.08); 
    }
    .timer-digits { font-size: 1.4rem; }
    .timer-label { font-size: 0.75rem; margin-bottom: 2px; }

    /* 5. КНОПКИ */
    .d-flex.gap-3 {
        gap: 0.75rem !important; 
        flex-direction: column;
    }
    
    .hero-section .btn {
        width: 100%;
        padding: 14px;
        font-size: 1.1rem;
    }

    /* 6. Картинка */
    .hero-img-container {
        margin-top: 30px;
        box-shadow: none; 
        border: 1px solid rgba(255,255,255,0.1);
    }
}

/* --- АДАПТИВНОСТЬ (DESKTOP) --- */
@media (min-width: 992px) {
    .hero-img-container {
        position: relative;
        margin-top: 0; 
        box-shadow: 0 20px 60px -10px rgba(0,0,0,0.5); 
        transform: perspective(1000px) rotateY(-5deg);
        transition: transform 0.5s;
    }
    .hero-img-container:hover {
        transform: perspective(1000px) rotateY(0);
    }
}






/* --- LANDING BACKGROUNDS (PALETTE) Под удаление  --- */

/* 1. Midnight (Глубокий черный) */
.bg-midnight { background: radial-gradient(circle at top, #1e293b, #0f172a); color: #fff; }

/* 2. Slate (Мягкий серый) */
.bg-slate { background: #f1f5f9; color: #334155; }

/* 3. Ocean (Градиент синего) */
.bg-ocean { background: linear-gradient(135deg, #0ea5e9, #2563eb); color: #fff; }

/* 4. Purple Haze (Фиолетовый) */
.bg-purple { background: linear-gradient(135deg, #8b5cf6, #6366f1); color: #fff; }

/* 5. Sunset (Оранжевый) */
.bg-sunset { background: linear-gradient(135deg, #f97316, #ea580c); color: #fff; }

/* 6. Emerald (Зеленый) */
.bg-emerald { background: linear-gradient(135deg, #10b981, #059669); color: #fff; }

/* 7. Dark Glass (Полупрозрачный темный) */
.bg-glass-dark { background: rgba(15, 23, 42, 0.95); color: #fff; backdrop-filter: blur(10px); }

/* 8. Light Glass (Стекло) */
.bg-glass-light { background: rgba(255, 255, 255, 0.8); border: 1px solid rgba(255,255,255,0.5); backdrop-filter: blur(10px); }

/* 9. Neon (Киберпанк) */
.bg-neon { background: #000; color: #fff; border-top: 1px solid #333; border-bottom: 1px solid #333; }

/* 10. Minimal (Чистый белый с рамкой) */
.bg-minimal { background: #fff; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }

/* Кнопки внутри цветных блоков */
.bg-midnight .btn-primary,
.bg-ocean .btn-primary,
.bg-purple .btn-primary {
	background: #fff;
	color: #0f172a;
	border: none;
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.bg-midnight .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.3); }