/* =========================================
   ПРЕМИУМ ЦВЕТОВА СХЕМА И ПРОМЕНЛИВИ
========================================= */
:root {
    --bg-main: #0a0b10;
    --bg-sec: #13151c; /* Малко по-светло от bg-main за открояване */
    --text-main: #ffffff; 
    --text-muted: #cbd5e1; 
    --accent: #38bdf8;
    --cta: #f97316;
    --cta-hover: #ea580c;
    --alert: #ef4444;
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    font-size: 20px; 
    font-weight: 500; 
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.2px;
}

/* =========================================
   ТИПОГРАФИЯ И ГЛОБАЛНИ ЕЛЕМЕНТИ
========================================= */
h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2.8rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 40px;
    color: #ffffff;
}

h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: 800;
}

p {
    margin-bottom: 28px;
    color: var(--text-muted);
}

strong {
    color: #ffffff;
    font-weight: 800; 
}

/* Перфектно центриран контейнер */
.container {
    max-width: 850px;
    margin: 0 auto;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

/* =========================================
   БУТОНИ
========================================= */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--cta), var(--cta-hover));
    color: #ffffff;
    font-weight: 900;
    font-size: 1.3rem; 
    text-decoration: none;
    padding: 22px 45px;
    border-radius: 8px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.3);
    margin: 40px auto 15px auto;
    cursor: pointer;
    border: none;
    letter-spacing: 1px;
    animation: pulse 2.5s infinite;
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(249, 115, 22, 0.5);
    animation: none;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(249, 115, 22, 0); }
    100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}

.guarantee-text {
    font-size: 1rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0;
    font-weight: 500;
}

/* =========================================
   СЕКЦИИ
========================================= */
.hero {
    background: linear-gradient(to bottom, rgba(10, 11, 16, 0.7), rgba(10, 11, 16, 1)), #13151c;
    background-position: center;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1; /* Гарантира, че hero е над разделителя на следващата секция */
}

.hero .reveal {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
    margin-bottom: 20px;
}

.hero h2 {
    font-size: 1.5rem; 
    color: var(--accent);
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.35rem; 
    max-width: 700px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #ffffff;
}

/* ПРОМЯНА: Секцията „Бруталната истина“ */
.brutal-truth-section {
    background-color: var(--bg-sec); /* Смяна на фона за открояване */
    position: relative;
    padding-top: 50px; /* Въздух за ъгловия разделител */
}

/* ПРОМЯНА: Добавяне на ъглов разделител отгоре */
.brutal-truth-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: var(--bg-main);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0); /* Създава ъглов ефект */
}

/* Настройки за заглавието на тази секция за перфектен контраст */
.brutal-truth-section h2 {
    color: var(--text-main);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.section-light { background-color: var(--bg-sec); }
.section-dark { background-color: var(--bg-main); }

/* =========================================
   АКЦЕНТИ И КАРТИ
========================================= */
.truth-box {
    background: var(--glass-bg);
    border-left: 4px solid var(--accent);
    padding: 35px 30px;
    border-radius: 0 8px 8px 0;
    margin: 40px 0;
    font-style: italic;
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    width: 100%;
    max-width: 750px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 50px;
    width: 100%;
}

@media(min-width: 768px) {
    .grid { grid-template-columns: repeat(2, 1fr); }
}

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: left;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.card h3 {
    color: var(--accent);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

/* =========================================
   TIMELINE
========================================= */
.timeline {
    margin-top: 50px;
    width: 100%;
    max-width: 700px;
}

.timeline-item {
    padding: 30px 35px;
    border-left: 4px solid var(--alert);
    position: relative;
    margin-bottom: 25px;
    background: var(--glass-bg);
    border-radius: 0 8px 8px 0;
    text-align: left;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background-color: var(--alert);
    border-radius: 50%;
    left: -11px;
    top: 35px;
    box-shadow: 0 0 10px var(--alert);
}

.timeline-item h3 {
    color: var(--alert);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* =========================================
   ОФЕРТАТА
========================================= */
.offer-box {
    background: linear-gradient(145deg, var(--bg-sec), #181a24);
    border: 1px solid var(--glass-border);
    padding: 60px 40px;
    border-radius: 16px;
    text-align: center;
    width: 100%;
    max-width: 650px;
    margin-top: 50px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    position: relative;
    overflow: hidden;
}

.offer-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--cta);
}

.offer-box ul {
    list-style: none;
    margin: 40px 0;
    text-align: left;
    display: inline-block;
}

.offer-box ul li {
    margin-bottom: 20px;
    font-size: 1.25rem;
    padding-left: 40px;
    position: relative;
    color: #ffffff;
    font-weight: 600;
}

.offer-box ul li::before {
    content: '✓';
    color: var(--cta);
    position: absolute;
    left: 0;
    top: -2px;
    font-size: 1.4rem;
    font-weight: 900;
}

/* =========================================
   АНИМАЦИИ
========================================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   МОБИЛНА ОПТИМИЗАЦИЯ
========================================= */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero h2 { font-size: 1.3rem; }
    h2 { font-size: 2.2rem; margin-bottom: 30px; }
    .hero p { font-size: 1.2rem; }
    body { font-size: 18px; } 
    .container { padding: 60px 20px; }
    .offer-box { padding: 40px 20px; }
    /* Мобилни настройки за открояващата секция */
    .brutal-truth-section::before { height: 50px; }
    .brutal-truth-section { padding-top: 60px; }
}

@media (max-width: 768px) {
    .btn {
        width: 100%; /* Заема цялата ширина на телефона */
        padding: 18px 10px;
        font-size: 1rem; /* Намали малко шрифта, за да се събере на един ред */
    }
    
    .guarantee-text {
        font-size: 0.9rem;
        margin-top: 5px;
    }
}


/* ФИКСИРАНЕ НА ВИДЕОТО - 100% ГАРАНТИРАНО 16:9 */
.video-container {
    width: 100%;
    max-width: 1000px; /* Оптимален размер за десктоп */
    margin: 40px auto;
    
    /* ТОВА Е КЛЮЧЪТ: Модерният начин за пропорция */
    aspect-ratio: 16 / 9; 
    
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    /* Премахваме всякакви остатъчни височини */
    height: auto !important; 
}

.video-container iframe {
    width: 100% !important;
    height: 100% !important;
    border: none;
    display: block;
}

/* Мобилна версия */
@media (max-width: 768px) {
    .video-container {
        width: 95%;
        margin: 25px auto;
    }
}

/* =========================================
   ФИКСИРАН БУТОН (STICKY CTA)
========================================= */
.sticky-btn {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 9999; /* Винаги най-отгоре */
    
    background: linear-gradient(135deg, var(--cta), var(--cta-hover));
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    font-size: 0.9rem;
    padding: 12px 25px;
    border-radius: 50px; /* Заоблен за по-модерен вид */
    text-transform: uppercase;
    letter-spacing: 1px;
    
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.4);
    transition: all 0.3s ease;
    
    /* Същата пулсираща анимация */
    animation: pulse-sticky 2.5s infinite;
}

.sticky-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(249, 115, 22, 0.6);
}

@keyframes pulse-sticky {
    0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(249, 115, 22, 0); }
    100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}

/* СКРИВАНЕ НА МОБИЛНИ (за да не пречи) */
@media (max-width: 1024px) {
    .sticky-btn {
        display: none;
    }
}

.hero-logo {
    /* ПРОМЯНА: Скъсяваме разстоянието до разделителя */
    padding-bottom: 0 !important; /* Убива всякакво вътрешно разстояние отдолу */
    margin-bottom: -15px !important; /* Леко премества логото надолу, по-близо до ръба */
    
    /* Запазваме останалото */
    position: relative; /* Или static, в зависимост от предишния дизайн */
    width: 170px;
    margin: 20px auto -100px !important;  /* Първият margin е за разстояние от текста горе */
    opacity: 0.6;
    transition: all 0.3s ease;
    z-index: 10;
}

.hero-logo img {
    width: 100%;
    height: auto;
    display: block;
}

/* Ефект при посочване (показва авторитет) */
.hero-logo:hover {
    opacity: 1; /* Става напълно плътно при hover */
    transform: scale(1.05); /* Леко се увеличава */
}

/* МОБИЛНА ОПТИМИЗАЦИЯ (АДАПТИРАНА) */
@media (max-width: 768px) {
    .hero-logo {
        position: relative; /* Превръщаме го от фиксиран в релативен елемент */
        bottom: 0;
        right: 0;
        margin: 25px auto -50px !important; /* Намаляваме разстоянието отгоре и отдолу */
        width: 100px;
    }
}

.text-left-block {
    text-align: left !important;
    max-width: 700px; /* Ограничаваме ширината, за да не се разпъва твърде много на десктоп */
    margin-left: auto;
    margin-right: auto; /* Тези двете центрират самия блок, но текстът вътре остава подравнен вляво */
}

.text-left-block p {
    margin-bottom: 15px;
    line-height: 1.6;
}