@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

:root {
    --primary-color: #00e6b8;
    --primary-glow: rgba(0, 230, 184, 0.25);
    --bg-dark: #121212;
    --bg-surface: #1a1a1a;
    --border-color: rgba(255, 255, 255, 0.1);
    --text-primary: #f5f5f5;
    --text-secondary: #a0a0a0;
    --accent-gold: #FFD700;
    --accent-red: #ff4d4d;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
}

.container {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
}

section { padding: 80px 0; overflow: hidden; }
h1, h2, h3 { line-height: 1.3; font-weight: 700; color: var(--text-primary); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; text-align: center; margin-bottom: 1rem; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); text-align: center; margin-bottom: 2rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }
p { color: var(--text-secondary); margin-bottom: 1rem; }
strong { color: var(--text-primary); }

/* Анимации при скролване */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

/* Подобрен CTA бутон с анимация */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 var(--primary-glow); }
    70% { box-shadow: 0 0 0 15px rgba(0, 230, 184, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 230, 184, 0); }
}
.cta-button {
    display: inline-block;
    background: linear-gradient(90deg, #00e6b8, #00c4a1);
    color: #0d0d0d;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    animation: pulse 2s infinite;
}
.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    animation: none; /* Спира пулса при ховър */
    box-shadow: 0 8px 30px var(--primary-glow);
}

/* Hero Section - Full Screen */
.hero { 
    min-height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    padding: 30px 0; 
    background: radial-gradient(ellipse at top, #1c1c1c, var(--bg-dark)); 
    position: relative;
}
.hero .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    gap: 1.5rem;
}
.hero h1 {
    font-size: clamp(1.7rem, 4.5vw, 1.6rem);
    line-height: 1.2;
}
.hero .sub-headline { 
    font-size: clamp(0.95rem, 1.8vw, 1.1rem); 
    max-width: 815px; 
    margin: 0 auto; 
    text-align: center; 
    line-height: 1.4;
}
.hero .video-container {
    max-width: 500px;
    width: 100%;
    margin: 0.8rem auto;
}
.hero .cta-wrapper { 
    text-align: center; 
    margin-top: 0rem; 
}
.hero .cta-note { 
    display: block; 
    margin-top: 0.8rem; 
    font-size: 0.85rem; 
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 2.5rem;
}
.badge {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.badge strong { color: var(--primary-color); }

/* Responsive Video */
.video-container {
    position: relative;
    height: 0; 
    padding-bottom: 56.25%; /* 16:9 */
    border-radius: 12px; 
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    border: 2px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.video-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.8);
}
.video-container iframe { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
}

/* Секция с проблеми (карти) */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px; margin-top: 3rem;
}
.pain-card {
    background-color: var(--bg-surface);
    padding: 25px; border-radius: 12px;
    border: 1px solid var(--border-color);
}

/* Секция "Как работи" със SVG икони */
.how-it-works-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 4rem; }
.step-card {
    background-color: var(--bg-surface);
    padding: 30px; border-radius: 16px;
    text-align: center; border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-card:hover { transform: translateY(-10px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.step-icon {
    width: 50px; height: 50px;
    margin-bottom: 1.5rem; color: var(--primary-color);
}

/* НОВА СЕКЦИЯ "ДОКАЗАТЕЛСТВО" С TIMELINE */
.proof { background-color: var(--bg-surface); }
.proof-timeline {
    position: relative;
    max-width: 600px; margin: 3rem auto 0 auto;
}
/* Вертикалната линия */
.proof-timeline::after {
    content: '';
    position: absolute;
    width: 3px; background-color: var(--border-color);
    top: 0; bottom: 0; left: 20px;
}
.timeline-item {
    padding: 10px 0 30px 60px; position: relative;
}
/* Кръгчето на линията */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 15px; height: 15px;
    border-radius: 50%; background-color: var(--bg-dark);
    border: 3px solid var(--border-color);
    top: 15px; left: 13px; z-index: 1;
}
.timeline-item.loss::after { border-color: var(--accent-red); }
.timeline-item.win::after { border-color: var(--primary-color); }
.timeline-content {
    background: var(--bg-dark);
    padding: 20px; border-radius: 12px;
}
.timeline-content h4 { font-size: 1.1rem; margin-bottom: 10px; }
.timeline-content .status { font-weight: bold; }
.timeline-content .status-loss { color: var(--accent-red); }
.timeline-content .status-win { color: var(--primary-color); }

.final-result {
    background: linear-gradient(90deg, #00b38f, #009e7e);
    padding: 25px; border-radius: 12px; text-align: center;
    margin-top: 2rem; font-weight: 700; font-size: 1.2rem;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}
.final-result:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 179, 143, 0.3);
}
.final-result strong { display: block; font-size: 2rem; color: #fff; }

/* "Голямото твърдение" със златен акцент и ефекти */
.big-claim { 
    text-align: center; 
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
}
.big-claim::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(0, 230, 184, 0.03) 0%, transparent 50%);
    pointer-events: none;
    animation: floatingLights 8s ease-in-out infinite;
}
.big-claim::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(255, 215, 0, 0.02) 2deg, transparent 4deg);
    animation: slowRotate 20s linear infinite;
    pointer-events: none;
}
.big-claim .container {
    position: relative;
    z-index: 1;
}
.big-claim h3 {
    font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 800;
    max-width: 800px; margin: 0 auto; color: var(--accent-gold);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.4), 0 0 40px rgba(255, 215, 0, 0.2);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

@keyframes floatingLights {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(10px, -5px) scale(1.1); }
    66% { transform: translate(-5px, 10px) scale(0.9); }
}

@keyframes slowRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Оферта */
.offer-list {
    list-style: none; margin: 3rem auto 0 auto; max-width: 650px;
}
.offer-list li {
    font-size: 1.1rem; padding: 10px 10px 10px 40px;
    position: relative; margin-bottom: 1rem;
    background: var(--bg-surface); border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}
.offer-list li::before {
    content: '✓'; position: absolute; left: 15px; top: 12px;
    color: var(--primary-color); font-weight: bold;
}

/* FAQ */
.faq { background-color: var(--bg-surface); }
.faq details {
    background: var(--bg-dark); border-radius: 12px; margin-bottom: 1rem;
    border: 1px solid var(--border-color); transition: all 0.3s ease;
}
.faq details[open] { border-color: var(--primary-color); }
.faq summary {
    padding: 20px; font-weight: 600; font-size: 1.1rem;
    cursor: pointer; list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '+'; position: absolute; right: 20px; font-size: 1.8rem;
    color: var(--primary-color); transition: transform 0.3s ease-in-out; line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-answer { padding: 0 20px 20px 20px; border-top: 1px solid var(--border-color); margin-top: 10px; }

/* Final CTA Section */
.final-cta {
    text-align: center;
}
.final-cta h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}
.final-cta p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}
.final-cta .cta-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Футър */
.footer {
    background-color: var(--bg-dark); color: #888;
    text-align: center; padding: 40px 20px;
    font-size: 0.9em; border-top: 1px solid var(--border-color);
}

/* Floating Telegram Button */
.floating-telegram-btn {
    position: fixed;
    border-radius: 50%;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    animation: floatPulse 2s ease-in-out infinite;
}
.floating-telegram-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0088cc, #229ed9);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 136, 204, 0.4);
    transition: all 0.3s ease;
}
.floating-telegram-btn a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 136, 204, 0.6);
}
.floating-telegram-btn svg {
    width: 28px;
    height: 28px;
}

@keyframes floatPulse {
    0%, 100% {
        transform: translateY(0px);
        box-shadow: 0 4px 20px rgba(0, 136, 204, 0.4);
    }
    50% {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 136, 204, 0.5);
    }
}

/* Mobile Optimizations */
@media (max-width: 767px) {
    .hero {
        min-height: 100vh;
        padding: 15px 0;
    }
    .hero .container {
        gap: 1.2rem;
    }
    .hero h1 {
        margin-bottom: 0.8rem;
    }
    .hero .sub-headline {
        font-size: 1rem;
        line-height: 1.4;
    }
    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 0px;
        margin-top: 0.5rem;
    }
    .cta-button {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
    }
}

@media (min-width: 768px) {
    body { font-size: 17px; }
    section { padding: 100px 0; }
    .hero {
        min-height: 100vh;
    }
    .hero .container {
        gap: 1.8rem;
    }
    .hero .video-container {
        max-width: 740px;
    }
    .trust-badges {
        margin-top: 2rem;
    }
}

@media (min-width: 1200px) {
    .hero .video-container {
        max-width: 800px;
    }
    .hero h1 {
        font-size: 2.2rem;
         margin-top: 13px;
        margin-bottom: -14px;
    }
    .hero .sub-headline {
        font-size: 1.2rem;
    }
}