* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --chervonyi-red: #e4002b;
    --chervonyi-yellow: #ffcb05; 
    --success-green: #00D66F;
    --google-blue: #4285F4;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #a0a0a0;
    background: #121212;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.alert-bar { background: #1a1a1a; border-bottom: 1px solid rgba(228,0,43,0.3); color: white; padding: 16px; text-align: center; font-weight: 500; font-size: 14px; }
header { background: rgba(18,18,18,0.85); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255,255,255,0.08); padding: 20px 0; position: sticky; top: 0; z-index: 1000; }
.header-content { display: flex; justify-content: space-between; align-items: center; }
/* LOGO CSS CORRECTED HERE */
.logo img { 
    height: 32px; 
}
.cta-button {
    background: var(--chervonyi-red);
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 4px 24px rgba(228,0,43,0.4);
}
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(228,0,43,0.6);
}

.hero-section { padding: 100px 0 80px; background: #1a1a1a; position: relative; overflow: hidden; }
.hero-section::before { content: ''; position: absolute; top: -50%; left: 50%; transform: translateX(-50%); width: 800px; height: 800px; background: radial-gradient(circle, rgba(228,0,43,0.1), transparent 70%); }
.crisis-badge { display: inline-block; background: rgba(228,0,43,0.1); border: 1px solid var(--chervonyi-red); color: var(--chervonyi-red); padding: 12px 24px; border-radius: 100px; font-weight: 600; margin-bottom: 32px; }
h1 { font-size: 64px; line-height: 1.1; font-weight: 900; margin-bottom: 32px; color: #ffffff; }
.hero-subtitle { font-size: 22px; color: #b0b0b0; line-height: 1.6; }
.hero-subtitle strong { color: #ffffff; }

section { padding: 80px 0; }
.dark-gradient-bg { background-color: #121212; }
.section-title { font-size: 48px; font-weight: 900; text-align: center; margin-bottom: 16px; color: #ffffff; }
.section-subtitle { font-size: 20px; color: #808080; text-align: center; margin-bottom: 60px; max-width: 700px; margin-left: auto; margin-right: auto; }

.comparison-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.comparison-column { display: flex; flex-direction: column; gap: 16px; }
.comparison-header { padding: 12px 24px; font-size: 20px; font-weight: 700; color: #ffffff; border-radius: 12px; text-align: center; }
.comparison-header.google { background-color: var(--google-blue); }
.comparison-header.internal { background-color: var(--success-green); }
.comparison-header.gap { background-color: var(--chervonyi-red); }

.location-card { background-color: #1e1e1e; padding: 20px; border-radius: 12px; border-left: 5px solid; flex-grow: 1; transition: transform 0.3s; }
.location-card:hover { transform: translateY(-4px); }
.location-card.google { border-color: var(--google-blue); }
.location-card.internal { border-color: var(--success-green); }
.location-card.gap { border-color: var(--chervonyi-red); }
.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.location-name { font-weight: 600; font-size: 16px; color: #ffffff; display: flex; align-items: center; gap: 8px; }
.location-name::before { content: ''; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23808080'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E") no-repeat center; background-size: contain; flex-shrink: 0; }
.review-count { font-size: 13px; padding: 4px 12px; border-radius: 100px; background: #3a3a3c; color: #d0d0d0; font-weight: 500; white-space: nowrap; }
.rating-line { display: flex; align-items: baseline; gap: 12px; }
.rating-value { font-size: 32px; font-weight: 800; line-height: 1; }
.rating-value.good { color: var(--google-blue); }
.rating-value.bad { color: var(--chervonyi-red); }
.rating-value.positive { color: var(--success-green); }
.stars { color: #FFB800; font-size: 18px; }
.stars.text-positive { color: var(--success-green); font-size: 16px; font-weight: 600; }

.location-card.text-card { display: flex; flex-direction: column; justify-content: center; }
.location-card.text-card h3 { color: #ffffff; font-size: 18px; margin-bottom: 8px; }
.location-card.text-card p { font-size: 14px; line-height: 1.5; }

.summary-card { background-color: #1e1e1e; padding: 20px; border-radius: 12px; border-top: 2px dashed #3a3a3c; margin-top: auto; }
.summary-card p { font-size: 14px; font-style: italic; text-align: center; }
.summary-card.solution h3 { text-align: center; color: var(--chervonyi-red); margin-bottom: 8px; }
.summary-card.solution p { font-style: normal; }

.impact-section-wrapper { margin-top: 60px; }
.impact-banner-new { background-color: #1e1e1e; border-radius: 16px; padding: 40px; text-align: center; border: 1px solid #3a3a3c; }
.impact-banner-new h3 { color: #ffffff; font-size: 24px; margin-bottom: 8px; }
.impact-banner-new p { color: #a0a0a0; margin-bottom: 40px; }
.impact-stats-new { display: flex; justify-content: space-around; gap: 32px; }
.stat-item { flex: 1; }
.stat-label { font-size: 16px; font-weight: 500; color: #a0a0a0; margin-bottom: 12px !important; }
.stat-value { font-size: 48px; font-weight: 800; line-height: 1; }
.stat-value.negative { color: var(--chervonyi-red); }
.stat-value.positive { color: var(--chervonyi-yellow); }
.stat-subtitle { font-size: 14px; color: #808080; margin-top: 12px; }

.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.insight-card-new { background-color: #1e1e1e; padding: 40px; border-radius: 16px; border: 1px solid #3a3a3c; transition: all 0.3s; }
.insight-card-new:hover { transform: translateY(-8px); border-color: var(--chervonyi-red); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.insight-icon { width: 32px; height: 32px; stroke: var(--chervonyi-red); margin-bottom: 24px; }
.insight-card-new h4 { color: #ffffff; font-size: 20px; margin-bottom: 16px; }
.insight-metric { font-size: 40px; font-weight: 700; color: var(--chervonyi-red); margin-bottom: 16px; }
.insight-card-new p { font-size: 15px; line-height: 1.6; }
.source-note { font-size: 12px; color: #808080; font-style: italic; margin-top: 24px; }

.solution-spotlight-section { padding: 120px 0; background-color: #1a1a1a; border-top: 1px solid #3a3a3c; border-bottom: 1px solid #3a3a3c; }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 60px; }
.feature-card { background: #1e1e1e; padding: 48px; border-radius: 20px; border: 1px solid #3a3a3c; transition: all 0.3s; }
.feature-card:hover { transform: translateY(-8px); border-color: var(--chervonyi-red); box-shadow: 0 24px 64px rgba(228,0,43,0.25); }
.feature-icon { width: 64px; height: 64px; margin-bottom: 24px; }
.feature-card h3 { color: #ffffff; font-size: 26px; margin-bottom: 16px; }

.feature-badge { display: inline-block; background: rgba(228, 0, 43, 0.1); color: var(--chervonyi-red); padding: 6px 12px; border-radius: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; margin-bottom: 16px; }
.feature-highlight-box { background: rgba(228,0,43,0.1); border-left: 3px solid var(--chervonyi-red); border-radius: 8px; padding: 24px; margin: 24px 0; }
.feature-highlight-box h4 { color: #ffffff; font-size: 20px; font-weight: 700; margin: 0 0 12px 0; }
.feature-highlight-box p { color: #c0c0c0; font-size: 16px; line-height: 1.6; margin: 0; }

.demo-button { display: inline-flex; align-items: center; gap: 10px; background-color: #f0f0f0; color: #121212; padding: 12px 24px; border-radius: 8px; border: 1px solid #c0c0c0; font-weight: 600; font-size: 15px; cursor: pointer; transition: all 0.3s; margin-top: 24px; text-decoration: none; }
.demo-button svg polygon { fill: #121212; stroke: none; }
.demo-button:hover { background-color: #ffffff; border-color: #121212; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }

.faq-section { background: #121212; }
.faq-item { background: #1e1e1e; border-radius: 20px; padding: 40px; margin-bottom: 24px; border: 1px solid #3a3a3c; transition: all 0.3s; }
.faq-item:hover { transform: translateY(-5px); border-color: #555; }
.faq-question { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; }
.faq-number { font-size: 48px; font-weight: 900; color: var(--chervonyi-red); opacity: 0.6; line-height: 1; }
.faq-question h3 { font-size: 24px; font-weight: 700; color: #f0f0f0; }
.faq-answer { padding-left: 72px; color: #b0b0b0; font-size: 16px; }
.faq-answer strong { color: #ffffff; }
.faq-highlight-box { margin-top: 24px; padding: 24px; border-radius: 12px; }
.faq-highlight-box p { margin: 0; color: #f0f0f0; }
.faq-highlight-box.green { background: rgba(0, 214, 111, 0.1); border-left: 4px solid var(--success-green); }

.timeline-section { background: #1a1a1a; }
.timeline { max-width: 900px; margin: 60px auto 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 40px; top: 40px; bottom: 40px; width: 3px; background: var(--chervonyi-red); }
.timeline-item { display: flex; gap: 40px; margin-bottom: 60px; }
.timeline-marker { width: 80px; height: 80px; background: var(--chervonyi-red); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 900; z-index: 1; flex-shrink: 0; border: 3px solid #1a1a1a; }
.timeline-content { flex: 1; background: #1e1e1e; padding: 32px; border-radius: 16px; border: 1px solid #3a3a3c; }
.timeline-content h3 { color: #ffffff; font-size: 24px; margin-bottom: 12px;}

.final-cta { background: var(--chervonyi-red); color: white; text-align: center; padding: 100px 0; }
.final-cta h2 { font-weight: 900; margin:0; }
.cta-primary-large { background: #ffffff; color: var(--chervonyi-red); padding: 24px 56px; border-radius: 12px; text-decoration: none; font-weight: 900; font-size: 20px; display: inline-block; transition: all 0.3s; box-shadow: 0 12px 48px rgba(0,0,0,0.3); }
.cta-primary-large:hover { transform: translateY(-4px); box-shadow: 0 16px 64px rgba(0,0,0,0.5); }

footer { background: #000000; color: #808080; padding: 60px 0 30px; text-align: center; border-top: 1px solid #3a3a3c; }

.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); z-index: 10000; align-items: center; justify-content: center; backdrop-filter: blur(10px); }
.modal.active { display: flex; }
.modal.demo-modal .modal-content { background: transparent; border: none; box-shadow: none; width: 90%; max-width: 550px; height: 85vh; max-height: 800px; padding: 0; overflow: visible; position: relative; }
.modal.demo-modal .modal-body { background: #ffffff; border-radius: 44px; width: 100%; height: 100%; padding: 0; overflow: hidden; box-shadow: 0 15px 50px rgba(0,0,0,0.3); border: 8px solid #1c1c1e; box-sizing: border-box; }
.modal.demo-modal .modal-iframe { width: 100%; height: 100%; border: none; }
.modal-controls { position: absolute; top: -55px; right: 0; z-index: 10001; display: flex; gap: 12px; }
.modal-controls button { background: rgba(40, 40, 40, 0.7); backdrop-filter: blur(5px); border: none; color: white; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.modal-close { font-size: 24px; line-height: 1; }
.modal-close:hover { background: var(--chervonyi-red); transform: rotate(90deg); }
.modal-refresh:hover { background: #0066CC; transform: rotate(-180deg); }

@media (max-width: 968px) {
    h1 { font-size: 42px; }
    .comparison-grid, .features-grid, .impact-stats-new, .insight-grid { grid-template-columns: 1fr; }
    .timeline::before { left: 30px; }
    .timeline-marker { width: 60px; height: 60px; font-size: 24px; }
    .faq-question { align-items: flex-start; }
    .faq-number { font-size: 36px; }
    .faq-answer { padding-left: 0; margin-top: -16px; }
}

@media (max-width: 768px) {
    .modal.demo-modal .modal-content { width: 90%; height: 80vh; }
    .modal-controls { top: 0; right: 0; transform: translate(0, -120%); }
    .hero-section { padding: 60px 0; }
    h1 { line-height: 1.2; }
    .crisis-badge { padding: 10px 20px; font-size: 13px; margin-bottom: 24px; }
    .hero-subtitle { font-size: 18px; }
    .cta-button { padding: 10px 16px; font-size: 14px; }
    .logo img { height: 28px; }
    .section-title { font-size: 36px; line-height: 1.2; margin-bottom: 12px; }
    .section-subtitle { font-size: 16px; margin-bottom: 40px; }
    .final-cta h2 { font-size: 38px; }
    .feature-card h3, .timeline-content h3, .faq-question h3 { font-size: 22px; }
    .stat-value { font-size: 40px; }
}

.text-success { color: var(--chervonyi-yellow); }
.final-cta .text-success { color: #ffffff; }
