/* ===============================================
   ОБЩИЕ СТИЛИ И ПЕРЕМЕННЫЕ
   =============================================== */

:root {
    --primary-color: #1a73e8;
    --primary-dark: #1557b0;
    --secondary-color: #34a853;
    --accent-color: #ea4335;
    --critical-red: #dc2626;
    --critical-dark: #991b1b;
    --warning-orange: #f59e0b;
    --success-green: #10b981;
    --text-dark: #202124;
    --text-light: #5f6368;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-critical: #fef2f2;
    --border-color: #dadce0;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-critical: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15), 0 5px 10px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

/* ===============================================
   ДОСТУП ПО ТОКЕНУ
   =============================================== */

body.locked {
    overflow: hidden;
}

.protected-content {
    min-height: 100vh;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

body.locked .protected-content {
    filter: blur(14px);
    opacity: 0;
    pointer-events: none;
}

.access-gate {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    background: radial-gradient(circle at 20% 20%, rgba(15, 23, 42, 0.96) 0%, rgba(2, 6, 23, 0.98) 65%, rgba(0, 0, 0, 0.98) 100%);
    z-index: 11000;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.access-gate.access-gate--hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.access-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    padding: 40px 32px;
    position: relative;
}

.access-card::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.6), rgba(118, 75, 162, 0.6));
    z-index: -1;
    opacity: 0.3;
}

.access-card__header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
    text-align: center;
}

.access-card__badge {
    display: inline-flex;
    align-self: center;
    padding: 6px 16px;
    border-radius: 9999px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    color: var(--primary-color);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(102, 126, 234, 0.35);
}

.access-card__header h1 {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.access-card__subtitle {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

.access-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.access-form__label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
}

.access-form__input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    font-size: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

.access-form__input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2);
}

.access-form__input::placeholder {
    color: rgba(32, 33, 36, 0.45);
}

.access-form__submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
}

.access-error {
    min-height: 18px;
    font-size: 14px;
    color: var(--critical-red);
    margin-top: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.access-error.access-error--visible {
    opacity: 1;
}

.access-noscript {
    margin-top: 18px;
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.2);
    color: var(--critical-red);
    font-size: 14px;
    text-align: center;
}

@media (max-width: 480px) {
    .access-card {
        padding: 32px 24px;
    }

    .access-card__header h1 {
        font-size: 22px;
    }

    .access-form__input {
        padding: 12px 14px;
        font-size: 15px;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===============================================
   НАВИГАЦИЯ
   =============================================== */

.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* ===============================================
   HERO СЕКЦИЯ
   =============================================== */

.hero {
    background: var(--gradient-primary);
    color: white;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, #a8edea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* ===============================================
   КНОПКИ
   =============================================== */

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 18px 48px;
    font-size: 18px;
}

/* ===============================================
   СЕКЦИИ
   =============================================== */

section {
    padding: 80px 0;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 60px;
}

/* ===============================================
   СРАВНЕНИЕ КОНКУРЕНТОВ
   =============================================== */

.comparison {
    background: var(--bg-white);
}

/* ================= Premium Compare ================= */
.premium-compare {
    background: var(--bg-white);
}

.pc-table th:first-child,
.pc-table td:first-child {
    position: sticky;
    left: 0;
    background: var(--bg-white);
    z-index: 1;
}

.brand-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
}
.brand-bcs { background: linear-gradient(90deg, #1a73e8, #2bb0ff); }
.brand-finam { background: linear-gradient(90deg, #f57c00, #ff9800); }
.brand-aton { background: linear-gradient(90deg, #ea4335, #ff6d5a); }

.brand-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 20px;
}
.brand-card {
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-md);
    background: var(--bg-light);
}
.brand-card .brand-card-header {
    font-weight: 700;
    margin-bottom: 10px;
}
.brand-card.brand-bcs .brand-card-header { color: #1a73e8; }
.brand-card.brand-finam .brand-card-header { color: #f57c00; }
.brand-card.brand-aton .brand-card-header { color: #dc2626; }

.mini-slide {
    margin-top: 24px;
    background: var(--bg-light);
    border-radius: 12px;
    padding: 20px;
}
.mini-journey {
    margin-top: 10px;
    padding-left: 18px;
}

.dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.card {
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--border-color);
}

.card-header h3 {
    font-size: 24px;
    font-weight: 700;
}

.card-aton .card-header {
    background: linear-gradient(135deg, #ea4335 0%, #ff6d5a 100%); /* красный */
    color: white;
    border-bottom: none;
}

.card-bcs .card-header {
    background: linear-gradient(135deg, #1a73e8 0%, #2bb0ff 100%); /* синий */
    color: white;
    border-bottom: none;
}

.card-finam .card-header {
    background: linear-gradient(135deg, #f57c00 0%, #ff9800 100%); /* оранжевый */
    color: white;
    border-bottom: none;
}

.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(255,255,255,0.3);
    color: white;
}

.badge-competitor {
    background: rgba(255,255,255,0.3);
}

.card-body {
    padding: 24px;
}

.metric {
    margin-bottom: 24px;
}

.metric-label {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
    font-weight: 500;
}

.metric-bar {
    height: 8px;
    background: var(--bg-light);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.metric-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 1s ease;
}

.card-bcs .metric-fill {
    background: linear-gradient(90deg, #1a73e8 0%, #2bb0ff 100%);
}

.card-finam .metric-fill {
    background: linear-gradient(90deg, #f57c00 0%, #ff9800 100%);
}

.card-aton .metric-fill {
    background: linear-gradient(90deg, #ea4335 0%, #ff6d5a 100%);
}

.metric-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.highlights {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.highlights h4 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.highlights ul {
    list-style: none;
}

.highlights li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-light);
}

.highlights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

/* Мобильный бейдж в карточках */
.mobile-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.mobile-badge .mobile-line {
    flex: 1;
    height: 6px;
    background: var(--bg-light);
    border-radius: 4px;
    overflow: hidden;
}

.mobile-badge .mobile-line span {
    display: block;
    height: 100%;
    background: var(--gradient-primary);
}

.card-aton .mobile-badge .mobile-line span { background: linear-gradient(90deg, #ea4335, #ff6d5a); }
.card-bcs .mobile-badge .mobile-line span { background: linear-gradient(90deg, #1a73e8, #2bb0ff); }
.card-finam .mobile-badge .mobile-line span { background: linear-gradient(90deg, #f57c00, #ff9800); }

/* Малый бейдж периода/источника */
.card-meta {
    text-align: right;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 8px;
}

/* Бегущий таймер */
.running-timer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.timer-value {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    color: var(--text-dark);
    letter-spacing: 2px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.card-aton .timer-value {
    background: linear-gradient(90deg, #ea4335, #ff6d5a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-bcs .timer-value {
    background: linear-gradient(90deg, #1a73e8, #2bb0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-finam .timer-value {
    background: linear-gradient(90deg, #f57c00, #ff9800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===============================================
   КРЕАТИВЫ
   =============================================== */

.creatives {
    background: var(--bg-light);
}

.creatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.creative-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.creative-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.creative-header {
    background: var(--gradient-primary);
    color: white;
    padding: 16px 24px;
    font-weight: 600;
    font-size: 16px;
}

.creative-content {
    padding: 24px;
}

.creative-text {
    font-size: 18px;
    font-style: italic;
    color: var(--text-dark);
    padding: 20px;
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    margin-bottom: 24px;
}

.analysis {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.analysis-section h4 {
    font-size: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.analysis-section ul {
    list-style: none;
}

.analysis-section li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    color: var(--text-light);
}

.analysis-section:first-child h4 {
    color: var(--secondary-color);
}

.analysis-section:first-child li::before {
    content: '+';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

.analysis-section:last-child h4 {
    color: var(--accent-color);
}

.analysis-section:last-child li::before {
    content: '−';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

/* ===============================================
   ВЫВОДЫ
   =============================================== */

.conclusion {
    background: var(--bg-white);
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.conclusion h3 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.conclusion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.conclusion-card {
    padding: 32px;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.conclusion-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.conclusion-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.conclusion-card h4 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.conclusion-card ul {
    list-style: none;
}

.conclusion-card li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-light);
}

.conclusion-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* ===============================================
   СТРАТЕГИЯ
   =============================================== */

.strategy {
    background: var(--bg-white);
}

.segments {
    margin-bottom: 80px;
}

.segments h3 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.segments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.segment-card {
    background: var(--bg-light);
    padding: 32px;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.segment-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.segment-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.segment-card h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.segment-card p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.segment-stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.stat {
    background: var(--bg-white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

/* ===============================================
   ВОРОНКА
   =============================================== */

.funnel h3 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
}

.funnel-container {
    max-width: 800px;
    margin: 0 auto;
}

.funnel-stage {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: var(--bg-light);
    padding: 32px;
    border-radius: 16px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.funnel-stage:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.funnel-number {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.funnel-content h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.funnel-content p {
    color: var(--text-light);
    margin-bottom: 16px;
}

.funnel-content ul {
    list-style: none;
}

.funnel-content li {
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-light);
    font-size: 14px;
}

.funnel-content li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: var(--primary-color);
    font-weight: 700;
}

.funnel-arrow {
    text-align: center;
    font-size: 32px;
    color: var(--primary-color);
    margin: 8px 0;
}

.funnel-final {
    background: var(--gradient-primary);
    color: white;
}

.funnel-final .funnel-number {
    background: white;
    color: var(--primary-color);
}

.funnel-final h4,
.funnel-final p,
.funnel-final li {
    color: white;
}

.funnel-final li::before {
    color: white;
}

/* ===============================================
   ИНФОРЕНЗИК
   =============================================== */

.inforensic {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.service-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.service-card ul {
    list-style: none;
    margin-bottom: 24px;
}

.service-card li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 18px;
}

.service-results {
    padding: 16px;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.service-results strong {
    color: var(--text-dark);
}

/* ===============================================
   CTA
   =============================================== */

.cta {
    text-align: center;
    background: var(--gradient-primary);
    padding: 60px 40px;
    border-radius: 16px;
    color: white;
}

.cta h3 {
    font-size: 36px;
    margin-bottom: 16px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.95;
}

/* ===============================================
   FOOTER
   =============================================== */

.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 16px;
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
}

/* ===============================================
   РЕАЛЬНАЯ СТАТИСТИКА
   =============================================== */

.stats {
    background: var(--bg-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.stats-card {
    background: var(--bg-light);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    padding: 24px;
}

.table-responsive {
    overflow-x: auto;
}

/* Закрепление первого столбца в таблице */
.stats-table.pc-table th:first-child,
.stats-table.pc-table td:first-child {
    position: sticky !important;
    left: 0 !important;
    background: #fff !important;
    z-index: 10 !important;
    box-shadow: 2px 0 4px rgba(0,0,0,0.05) !important;
}

.stats-table.pc-table thead th:first-child {
    background: #2c3e50 !important;
    z-index: 11 !important;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
}

.stats-table th,
.stats-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    white-space: nowrap;
}

.stats-table thead th {
    background: var(--bg-light);
    font-weight: 600;
}

.bar-cell {
    position: relative;
    --bar-color: var(--primary-color);
}

.bar-cell .bar {
    height: 8px;
    background: var(--bar-color);
    width: var(--bar);
    border-radius: 4px;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.06);
}

.bar-label {
    margin-left: 8px;
    font-weight: 600;
}

/* Цвета для брендов */
.row-aton .bar { background: linear-gradient(90deg, #ea4335, #ff6d5a); } /* красный градиент */
.row-finam .bar { background: linear-gradient(90deg, #f57c00, #ff9800); } /* оранжевый градиент */
.row-bcs .bar { background: linear-gradient(90deg, #1a73e8, #2bb0ff); }  /* синий градиент */

/* Channels table hover tips */
.channels-table .bar {
    position: relative;
}

.channels-table .bar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.05);
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.channels-table .bar:hover::after {
    opacity: 1;
}

.channels-table .bar-tip {
    position: absolute;
    top: -26px;
    right: 0;
    transform: translateX(50%);
    background: rgba(0,0,0,0.75);
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.channels-table .bar:hover .bar-tip {
    opacity: 1;
}

.bar-bcs { background: linear-gradient(90deg, #1a73e8, #2bb0ff); }
.bar-aton { background: linear-gradient(90deg, #ea4335, #ff6d5a); }
.bar-finam { background: linear-gradient(90deg, #f57c00, #ff9800); }

.wordstat-table .bar { height: 10px; border-radius: 5px; }

.stats-table.wide td:first-child,
.stats-table.wide th:first-child {
    position: sticky;
    left: 0;
    background: var(--bg-white);
}

.note {
    margin-top: 16px;
    color: var(--text-light);
    font-size: 14px;
}

/* Insights boxes */
.insights {
    margin: 20px 0 40px;
}

.insight-card {
    background: var(--bg-white);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    padding: 20px 24px;
}

.insight-card h4 {
    margin-bottom: 12px;
    color: var(--text-dark);
}

.insight-card ul {
    list-style: none;
    margin-bottom: 10px;
}

.insight-card li {
    padding: 6px 0 6px 20px;
    position: relative;
    color: var(--text-light);
}

.insight-card li::before {
    content: '•';
    position: absolute;
    left: 6px;
    color: var(--primary-color);
}

.insight-note {
    color: var(--text-light);
    margin-top: 6px;
}

.insight-conclusion {
    margin-top: 10px;
    font-weight: 600;
}

/* ===============================================
   АНИМАЦИИ
   =============================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===============================================
   АДАПТИВНОСТЬ
   =============================================== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 32px;
    }

    .nav-menu {
        gap: 16px;
        font-size: 14px;
    }

    .dashboard,
    .creatives-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .analysis {
        grid-template-columns: 1fr;
    }

    .conclusion-grid,
    .segments-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 80px 0 60px;
    }

    section {
        padding: 60px 0;
    }

    /* Hero адаптация для мобильных */
    .hero-title {
        font-size: 28px !important;
        line-height: 1.3;
    }

    .hero-subtitle-strategy,
    .hero-subtitle-secondary {
        font-size: 16px !important;
    }

    /* Section titles для мобильных */
    .section-title {
        font-size: 24px !important;
        line-height: 1.3;
    }

    .section-subtitle {
        font-size: 14px !important;
    }

    /* Turnover comparison - вертикальная компоновка */
    .turnover-company {
        padding: 16px;
    }

    .company-name-turn {
        font-size: 16px;
    }

    .turnover-bar {
        height: 40px;
    }

    .turnover-label {
        font-size: 14px;
    }

    /* Benefits cards - стек */
    .leader-benefits {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .benefit-card {
        padding: 16px;
    }

    /* Audience cards - стек */
    .current-audience {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .audience-card {
        padding: 20px;
    }

    /* Dashboard cards - одна колонка */
    .dashboard {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .card {
        margin-bottom: 16px;
    }

    /* Stats cards - одна колонка */
    .stats-grid {
        grid-template-columns: 1fr !important;
    }

    /* Tables - horizontal scroll */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .stats-table {
        font-size: 12px;
    }

    .stats-table th,
    .stats-table td {
        padding: 8px 10px;
        white-space: nowrap;
    }

    /* Traffic comparison - вертикальный layout */
    .traffic-company {
        grid-template-columns: 1fr !important;
        gap: 8px;
    }

    .company-name {
        text-align: left !important;
        font-size: 16px;
    }

    .traffic-bar {
        height: 40px;
    }

    .traffic-label {
        font-size: 14px;
    }

    .traffic-multiplier {
        font-size: 13px;
    }

    /* Engagement metrics - стек */
    .engagement-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .engagement-metric {
        min-height: auto;
        padding: 20px;
    }

    /* Timer comparison - вертикальный */
    .timer-comparison {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    .timer-value-large {
        font-size: 24px !important;
    }

    /* Pages comparison */
    .pages-bar {
        grid-template-columns: 60px 1fr;
        gap: 8px;
    }

    .pages-label {
        font-size: 14px;
    }

    .pages-fill {
        height: 32px;
        font-size: 14px;
    }

    /* Bounce comparison */
    .bounce-comparison {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    .bounce-circle {
        width: 60px;
        height: 60px;
        font-size: 14px;
        border-width: 4px;
    }

    /* Context investment cards */
    .context-investment {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .investment-card {
        padding: 24px;
    }

    .investment-amount {
        font-size: 32px !important;
    }

    .investment-amount::after {
        font-size: 12px;
        margin-left: 8px;
    }

    /* SEO comparison */
    .seo-comparison-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .seo-metric-card {
        min-height: auto;
        padding: 20px;
    }

    .seo-bar-item {
        grid-template-columns: 60px 1fr;
        gap: 6px 8px;
    }

    .seo-bar-outer {
        height: 28px;
    }

    .seo-bar-value {
        font-size: 12px !important;
    }

    /* SEO circles */
    .seo-traffic-circles {
        flex-direction: column;
        align-items: center;
    }

    .seo-circle-item {
        max-width: 100px;
    }

    .seo-circle {
        width: 90px;
        height: 90px;
        border-width: 4px;
    }

    .seo-circle-value {
        font-size: 16px !important;
    }

    /* SEO pages */
    .seo-pages-comparison {
        flex-direction: column;
        align-items: center;
    }

    .seo-pages-item {
        max-width: 100px;
    }

    .seo-pages-num {
        font-size: 24px;
    }

    /* Diagnosis dashboard */
    .diagnosis-dashboard {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .diagnosis-card {
        padding: 24px;
    }

    .diagnosis-icon {
        font-size: 24px;
    }

    .diagnosis-header h3 {
        font-size: 16px;
    }

    /* Paths comparison */
    .paths-comparison {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .path {
        padding: 20px;
    }

    .path-icon {
        font-size: 36px;
    }

    .path h5 {
        font-size: 18px;
    }

    /* Critical facts */
    .critical-facts {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .critical-fact {
        padding: 24px;
    }

    .critical-number {
        font-size: 40px !important;
    }

    .critical-icon {
        font-size: 40px;
    }

    /* Demand stats */
    .demand-stats {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .demand-stat {
        padding: 20px;
    }

    .demand-number {
        font-size: 32px;
    }

    .demand-label {
        font-size: 16px;
    }

    /* Brand cards */
    .brand-cards {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    .brand-card {
        padding: 16px;
    }

    /* Services grid */
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .service-card {
        padding: 24px;
    }

    .service-icon {
        font-size: 40px;
    }

    /* Conclusion grid */
    .conclusion-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .conclusion-card {
        padding: 20px;
    }

    /* Segments grid */
    .segments-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .segment-card {
        padding: 20px;
    }

    /* Funnel */
    .funnel-stage {
        flex-direction: column;
        padding: 20px;
        gap: 16px;
    }

    .funnel-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .funnel-content h4 {
        font-size: 18px;
    }

    /* Creatives grid */
    .creatives-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .creative-card {
        margin-bottom: 16px;
    }

    .creative-text {
        font-size: 16px;
        padding: 16px;
    }

    .analysis {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .btn-large {
        padding: 14px 32px;
        font-size: 16px;
    }

    /* Market problem */
    .market-problem {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .problem-box {
        padding: 20px;
        flex-direction: column;
    }

    .problem-icon {
        font-size: 24px;
    }

    .problem-box h4 {
        font-size: 16px;
    }

    /* Conclusion boxes */
    .conclusion-box {
        padding: 20px;
        margin-top: 24px;
    }

    .conclusion-box h4 {
        font-size: 20px;
    }

    .conclusion-box p {
        font-size: 15px;
    }

    .conclusion-highlight {
        font-size: 16px;
    }

    /* Final CTA */
    .final-cta {
        font-size: 16px;
        padding: 16px;
    }

    /* Insights */
    .insight-card {
        padding: 16px 20px;
    }

    .insight-card h4 {
        font-size: 16px;
    }

    .insight-card li {
        font-size: 14px;
    }

    /* Missed opportunities */
    .missed-opportunities {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .missed-number {
        font-size: 32px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }

    /* Navigation - простое меню для мобильных */
    .nav-menu {
        flex-wrap: wrap;
        gap: 12px;
        font-size: 13px;
        justify-content: center;
    }

    .navbar .container {
        flex-direction: column;
        gap: 16px;
        padding: 12px 16px;
    }

    .logo {
        font-size: 20px;
    }
}

/* ===============================================
   КРИТИЧЕСКИЕ СЕКЦИИ - НОВЫЙ ДИЗАЙН
   =============================================== */

/* Hero Strategy (новый стиль) */
.hero-strategy {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.gradient-text-strategy {
    background: linear-gradient(135deg, #fff 0%, #d1fae5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle-strategy {
    font-size: 22px;
    margin-bottom: 12px;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-subtitle-secondary {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.btn-strategy {
    background: white;
    color: var(--success-green);
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.8s ease 0.4s both;
    font-weight: 700;
}

.btn-strategy:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

/* Market Leader Section */
.market-leader {
    background: var(--bg-white);
    padding: 80px 0;
}

.leader-highlight {
    text-align: center;
    margin: 32px 0;
}

.leader-highlight h3 {
    font-size: 28px;
    color: var(--text-dark);
    font-weight: 700;
}

.turnover-comparison {
    margin: 48px 0;
}

.turnover-bar-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.turnover-company {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.turnover-company.champion {
    background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(5,150,105,0.1));
    padding: 20px;
    border-radius: 16px;
    border: 3px solid var(--success-green);
}

.turnover-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.company-name-turn {
    font-weight: 700;
    font-size: 20px;
    color: var(--text-dark);
}

.turnover-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
}

.champion-badge {
    background: linear-gradient(90deg, #10b981, #059669);
    color: white;
    box-shadow: var(--shadow-md);
}

.turnover-bar {
    height: 60px;
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.turnover-fill {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 1.5s ease;
    position: relative;
    border-radius: 12px;
}

.turnover-bar-aton-leader .turnover-fill {
    background: linear-gradient(90deg, #10b981, #059669);
}

.turnover-bar-bcs .turnover-fill {
    background: linear-gradient(90deg, #1a73e8, #2bb0ff);
}

.turnover-bar-finam .turnover-fill {
    background: linear-gradient(90deg, #f57c00, #ff9800);
}

.turnover-bar-vtb .turnover-fill {
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
}

.turnover-bar-tinkoff .turnover-fill {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.turnover-label {
    color: white;
    font-weight: 700;
    font-size: 18px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Малые бары - лейблы снаружи */
.turnover-bar-vtb .turnover-fill,
.turnover-bar-tinkoff .turnover-fill {
    justify-content: flex-start;
    padding-left: 12px;
}

.turnover-bar-vtb .turnover-label,
.turnover-bar-tinkoff .turnover-label {
    color: var(--text-dark);
    background: rgba(255,255,255,0.95);
    padding: 4px 10px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    font-size: 14px;
}

.source-note {
    margin-top: 16px;
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
}

.source-note a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.source-note a:hover {
    text-decoration: underline;
}

.leader-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.benefit-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px;
    border-radius: 12px;
    background: var(--bg-light);
    border-left: 5px solid;
}

.benefit-positive {
    border-left-color: var(--success-green);
    background: rgba(16,185,129,0.05);
}

.benefit-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.benefit-card p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    margin: 0;
}

/* Market Gap Section */
.market-gap {
    background: var(--bg-light);
    padding: 80px 0;
}

.current-audience {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 32px;
    align-items: center;
    margin: 48px 0;
}

.audience-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.audience-card.current {
    border-top: 5px solid var(--success-green);
}

.audience-card.emerging {
    border-top: 5px solid var(--warning-orange);
}

.audience-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.audience-traits,
.emerging-segments {
    list-style: none;
    margin-bottom: 20px;
}

.audience-traits li,
.emerging-segments li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
}

.audience-traits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: 700;
    font-size: 18px;
}

.emerging-segments li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--warning-orange);
    font-weight: 700;
    font-size: 18px;
}

.audience-conclusion {
    font-weight: 600;
    color: var(--success-green);
    font-size: 16px;
    margin-top: 16px;
}

.gap-arrow {
    font-size: 48px;
    text-align: center;
}

.market-problem {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
    margin: 48px 0;
}

.problem-box {
    background: var(--bg-critical);
    padding: 32px;
    border-radius: 12px;
    border-left: 5px solid var(--critical-red);
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.problem-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.problem-box h4 {
    font-size: 18px;
    color: var(--critical-red);
    font-weight: 700;
    margin: 0;
    line-height: 1.6;
}

.demand-evidence {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.demand-evidence h3 {
    font-size: 24px;
    margin-bottom: 32px;
    color: var(--text-dark);
}

.demand-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.demand-stat {
    padding: 32px;
    background: var(--bg-light);
    border-radius: 12px;
    border-top: 4px solid var(--primary-color);
}

.demand-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.demand-label {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.demand-source {
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
}

/* Hero Critical */
.hero-critical {
    background: var(--gradient-critical);
}

.alert-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 24px;
    border: 2px solid rgba(255,255,255,0.3);
    animation: pulse-border 2s ease-in-out infinite;
}

@keyframes pulse-border {
    0%, 100% {
        border-color: rgba(255,255,255,0.3);
    }
    50% {
        border-color: rgba(255,255,255,0.8);
    }
}

.gradient-text-critical {
    background: linear-gradient(135deg, #fff 0%, #ffcccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle-critical {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.btn-critical {
    background: white;
    color: var(--critical-red);
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.8s ease 0.4s both;
    font-weight: 700;
}

.btn-critical:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

/* Executive Summary */
.executive-summary {
    background: var(--bg-critical);
}

.critical-title {
    background: var(--gradient-critical);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.critical-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}

.critical-fact {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border-top: 5px solid var(--critical-red);
    transition: all 0.3s ease;
}

.critical-fact:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.critical-icon {
    font-size: 56px;
    margin-bottom: 16px;
}

.critical-number {
    font-size: 64px;
    font-weight: 900;
    color: var(--critical-red);
    margin-bottom: 16px;
    line-height: 1;
}

.critical-fact h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.critical-text {
    color: var(--text-light);
    line-height: 1.7;
}

.executive-conclusion {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border-left: 6px solid var(--critical-red);
}

.conclusion-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
}

/* Traffic Crisis */
.traffic-crisis {
    background: white;
}

.traffic-comparison {
    margin: 48px 0;
}

.traffic-bar-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.traffic-company {
    display: grid;
    grid-template-columns: 120px 1fr 180px;
    align-items: center;
    gap: 20px;
}

.company-name {
    font-weight: 700;
    font-size: 18px;
    text-align: right;
}

.traffic-bar {
    height: 60px;
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.traffic-fill {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 1.5s ease;
    position: relative;
    border-radius: 12px;
}

.traffic-bar-aton .traffic-fill {
    background: linear-gradient(90deg, #ea4335, #ff6d5a);
}

.traffic-bar-bcs .traffic-fill {
    background: linear-gradient(90deg, #1a73e8, #2bb0ff);
}

.traffic-bar-finam .traffic-fill {
    background: linear-gradient(90deg, #f57c00, #ff9800);
}

.traffic-label {
    color: white;
    font-weight: 700;
    font-size: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.traffic-multiplier {
    font-weight: 600;
    font-size: 16px;
}

.traffic-multiplier.baseline {
    color: var(--text-light);
}

.traffic-multiplier.danger {
    color: var(--warning-orange);
}

.traffic-multiplier.critical {
    color: var(--critical-red);
    font-weight: 700;
}

/* Improve readability for very small fills like ATON */
.traffic-bar-aton .traffic-fill {
    justify-content: flex-start; /* keep label visible even when width is tiny */
    padding-left: 12px;
}

.traffic-bar-aton .traffic-label {
    color: var(--critical-red);
    background: rgba(255,255,255,0.95);
    padding: 4px 10px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    font-size: 16px;
}

.conclusion-box {
    background: var(--bg-light);
    padding: 32px;
    border-radius: 16px;
    margin-top: 40px;
}

.critical-box {
    background: var(--bg-critical);
    border-left: 6px solid var(--critical-red);
}

.conclusion-box h4 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--critical-red);
}

.conclusion-box p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-dark);
}

.conclusion-highlight {
    margin-top: 20px;
    font-weight: 700;
    font-size: 18px;
    color: var(--critical-red);
}

.critical-list {
    list-style: none;
    margin: 20px 0;
}

.critical-list li {
    padding: 10px 0;
    padding-left: 32px;
    position: relative;
    font-size: 16px;
    line-height: 1.7;
}

.critical-list li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: var(--critical-red);
    font-weight: 900;
    font-size: 20px;
}

/* Engagement Crisis */
.engagement-crisis {
    background: var(--bg-light);
}

/* Keep this section visually isolated and above following content */
.engagement-crisis {
    position: relative;
    z-index: 1;
    padding-bottom: 100px; /* extra bottom spacing to prevent visual overlap */
}

.engagement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
    align-items: stretch; /* ensure equal heights */
    position: relative;
    z-index: 2; /* keep cards above any following content */
}

.engagement-metric {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    min-height: 360px; /* consistent height across cards */
}

/* Push the conclusion box lower and under the grid to avoid overlap artifacts */
.engagement-conclusion {
    position: relative;
    z-index: 0;
}

.engagement-conclusion .conclusion-box {
    margin-top: 72px; /* more air above the red box */
}

.engagement-metric h3 {
    font-size: 20px;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.timer-comparison {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.timer-item {
    text-align: center;
    padding: 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.timer-item:hover { transform: translateY(-2px); }

.timer-bcs { background: linear-gradient(135deg, rgba(26,115,232,0.06), rgba(43,176,255,0.06)); }

.timer-finam { background: linear-gradient(135deg, rgba(245,124,0,0.06), rgba(255,152,0,0.06)); }

.timer-aton-critical {
    background: linear-gradient(135deg, rgba(220,38,38,0.06), rgba(153,27,27,0.06));
    border: 1px solid var(--critical-red);
}

.timer-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-light);
}

.timer-value-large {
    font-size: 28px;
    font-weight: 900;
    font-family: 'Courier New', monospace;
    margin-bottom: 6px;
}

.timer-bcs .timer-value-large {
    color: #1a73e8;
}

.timer-finam .timer-value-large {
    color: #f57c00;
}

.timer-aton-critical .timer-value-large.critical-value {
    color: var(--critical-red);
}

.timer-subtext {
    font-size: 13px;
    color: var(--text-light);
}

/* Value pill highlights */
.value-pill {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 9999px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.value-pill-aton {
    background: linear-gradient(90deg, #ea4335, #ff6d5a);
}

.critical-subtext {
    color: var(--critical-red);
    font-weight: 700;
}

.pages-comparison {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pages-bar {
    display: grid;
    grid-template-columns: 80px 1fr;
    align-items: center;
    gap: 12px;
}

.pages-label {
    font-weight: 600;
    text-align: right;
}

.pages-fill {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: white;
    font-weight: 700;
    font-size: 18px;
    transition: width 1s ease;
}

.pages-fill-bcs {
    background: linear-gradient(90deg, #1a73e8, #2bb0ff);
}

.pages-fill-finam {
    background: linear-gradient(90deg, #f57c00, #ff9800);
}

.pages-fill-aton-critical {
    background: linear-gradient(90deg, #dc2626, #991b1b);
}

.bounce-comparison {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.bounce-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

.bounce-label {
    display: block;
    font-weight: 600;
    margin-bottom: 16px;
}

.bounce-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-size: 16px;
    font-weight: 900;
    border: 5px solid;
}

.bounce-good {
    border-color: var(--success-green);
    color: var(--success-green);
    background: rgba(16,185,129,0.1);
}

.bounce-ok {
    border-color: var(--warning-orange);
    color: var(--warning-orange);
    background: rgba(245,158,11,0.1);
}

.bounce-critical {
    border-color: var(--critical-red);
    color: var(--critical-red);
    background: rgba(220,38,38,0.1);
}

.bounce-status { font-size: 12px; font-weight: 600; }

.status-good {
    color: var(--success-green);
}

.status-ok {
    color: var(--warning-orange);
}

.status-critical {
    color: var(--critical-red);
}

/* Context Crisis */
.context-crisis {
    background: white;
}

.context-investment {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}

.investment-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all 0.3s ease;
}

.investment-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.investment-finam {
    border-top: 5px solid #f57c00;
}

.investment-bcs {
    border-top: 5px solid #1a73e8;
}

.investment-aton-critical {
    border-top: 5px solid var(--critical-red);
    background: var(--bg-critical);
}

.company-logo {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.investment-amount {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 24px;
    display: inline-flex;
    align-items: baseline;
    line-height: 1;
}

.investment-finam .investment-amount {
    color: #f57c00;
}

.investment-bcs .investment-amount {
    color: #1a73e8;
}

.investment-aton-critical .investment-amount.critical-zero {
    color: var(--critical-red);
}

/* Subtle badge to show that amounts are per-day */
.investment-amount::after {
    content: 'в день';
    font-size: 16px;
    font-weight: 700;
    color: var(--text-light);
    background: var(--bg-white);
    padding: 4px 10px;
    border-radius: 9999px;
    border: 1px solid var(--border-color);
    margin-left: 10px;
}

.investment-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-label {
    color: var(--text-light);
    font-weight: 500;
}

.detail-value {
    font-weight: 700;
    color: var(--text-dark);
}

.critical-details .detail-value {
    color: var(--critical-red);
}

.critical-stamp {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--critical-red);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    transform: rotate(15deg);
}

.missed-opportunities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    margin: 24px 0;
}

.missed-item {
    text-align: center;
    padding: 24px;
    background: white;
    border-radius: 12px;
    border: 2px dashed var(--critical-red);
}

.missed-number {
    font-size: 42px;
    font-weight: 900;
    color: var(--critical-red);
    margin-bottom: 8px;
}

.missed-label {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* SEO Crisis */
.seo-crisis {
    background: var(--bg-light);
}

.seo-comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
    align-items: stretch; /* keep cards equal height */
}

.seo-metric-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    min-height: 360px; /* consistent height across SEO cards */
}

.seo-metric-card h3 {
    font-size: 18px;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.seo-bar-chart {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.seo-bar-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 8px 12px;
}

.seo-bar-item .seo-company {
    grid-column: 1;
    grid-row: 1;
}

.seo-bar-item .seo-bar-outer {
    grid-column: 2;
    grid-row: 1;
}

.seo-bar-item .seo-multiplier {
    grid-column: 2;
    grid-row: 2;
}

.seo-bar-item.seo-critical {
    padding: 12px;
    background: var(--bg-critical);
    border-radius: 8px;
    margin: 0;
}

.seo-company {
    font-weight: 600;
    text-align: left;
    align-self: start;
}

.seo-bar-outer {
    height: 36px;
    background: var(--bg-light);
    border-radius: 8px;
    overflow: visible; /* allow value chips to be fully visible */
    position: relative;
}

.seo-bar-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: width 1.5s ease;
    position: relative; /* anchor for value chips if absolutely positioned later */
}

.seo-bar-finam {
    background: linear-gradient(90deg, #f57c00, #ff9800);
}

.seo-bar-bcs {
    background: linear-gradient(90deg, #1a73e8, #2bb0ff);
}

.seo-bar-aton {
    background: linear-gradient(90deg, #dc2626, #991b1b);
}

.seo-bar-value {
    color: white;
    font-weight: 700;
    font-size: 14px;
}

/* Плашки для узких баров БКС и АТОН */
.seo-bar-bcs .seo-bar-inner {
    justify-content: flex-start;
    padding-left: 8px;
}

.seo-bar-bcs .seo-bar-value {
    color: #1a73e8;
    background: rgba(255,255,255,0.95);
    padding: 3px 8px;
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
    font-size: 13px;
}

.seo-bar-aton .seo-bar-inner {
    justify-content: flex-start;
    padding-left: 8px;
}

.seo-bar-aton .seo-bar-value {
    color: var(--critical-red);
    background: rgba(255,255,255,0.95);
    padding: 3px 8px;
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
    font-size: 13px;
}

.seo-multiplier {
    font-size: 13px;
    color: var(--critical-red);
    font-weight: 700;
    margin-left: 12px;
}

.seo-traffic-circles {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.seo-circle-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    max-width: 140px;
}

.seo-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    border: 6px solid;
    flex-shrink: 0;
}

.seo-circle-finam {
    border-color: #f57c00;
    background: rgba(245,124,0,0.1);
}

.seo-circle-bcs {
    border-color: #1a73e8;
    background: rgba(26,115,232,0.1);
}

.seo-circle-aton-critical {
    border-color: var(--critical-red);
    background: rgba(220,38,38,0.1);
}

.seo-circle-value {
    font-size: 20px;
    font-weight: 900;
}

.seo-circle-finam .seo-circle-value {
    color: #f57c00;
}

.seo-circle-bcs .seo-circle-value {
    color: #1a73e8;
}

.seo-circle-aton-critical .seo-circle-value {
    color: var(--critical-red);
}

.seo-circle-label {
    font-weight: 600;
    color: var(--text-dark);
}

.critical-label {
    color: var(--critical-red);
}

.seo-pages-comparison {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.seo-pages-item {
    text-align: center;
    flex: 1;
    min-width: 0;
    max-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.seo-pages-item.seo-pages-critical {
    background: var(--bg-critical);
    padding: 12px;
    border-radius: 10px;
    margin: 0;
}

.seo-pages-num {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 4px;
}

.seo-pages-finam {
    color: #f57c00;
}

.seo-pages-bcs {
    color: #1a73e8;
}

.seo-pages-aton {
    color: var(--critical-red);
}

.seo-pages-company {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

.seo-pages-note {
    font-size: 12px;
    color: var(--text-light);
    font-style: italic;
}

/* Final Diagnosis */
.final-diagnosis {
    background: white;
}

.diagnosis-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}

.diagnosis-card {
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border-top: 6px solid;
}

.diagnosis-critical {
    background: var(--bg-critical);
    border-top-color: var(--critical-red);
}

.diagnosis-warning {
    background: rgba(245,158,11,0.1);
    border-top-color: var(--warning-orange);
}

.diagnosis-opportunity {
    background: rgba(16,185,129,0.1);
    border-top-color: var(--success-green);
}

.diagnosis-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.diagnosis-icon {
    font-size: 32px;
}

.diagnosis-header h3 {
    font-size: 20px;
    font-weight: 700;
}

.diagnosis-critical h3 {
    color: var(--critical-red);
}

.diagnosis-warning h3 {
    color: var(--warning-orange);
}

.diagnosis-opportunity h3 {
    color: var(--success-green);
}

.diagnosis-list {
    list-style: none;
}

.diagnosis-list li {
    padding: 12px 0;
    padding-left: 28px;
    position: relative;
    line-height: 1.6;
}

.diagnosis-critical li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: var(--critical-red);
    font-weight: 900;
    font-size: 18px;
}

.diagnosis-warning li::before {
    content: '⚠';
    position: absolute;
    left: 0;
    color: var(--warning-orange);
    font-size: 18px;
}

.diagnosis-opportunity li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: 900;
    font-size: 18px;
}

.final-box {
    margin-top: 48px;
}

.final-message {
    font-size: 20px;
    margin-bottom: 32px;
    text-align: center;
    font-weight: 600;
}

.paths-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin: 32px 0;
}

.path {
    padding: 32px;
    border-radius: 12px;
    border: 3px solid;
}

.path-bad {
    background: rgba(220,38,38,0.05);
    border-color: var(--critical-red);
}

.path-good {
    background: rgba(16,185,129,0.05);
    border-color: var(--success-green);
}

.path-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.path h5 {
    font-size: 20px;
    margin-bottom: 16px;
}

.path-bad h5 {
    color: var(--critical-red);
}

.path-good h5 {
    color: var(--success-green);
}

.path p {
    line-height: 1.7;
    color: var(--text-dark);
}

.final-cta {
    text-align: center;
    font-size: 20px;
    margin-top: 32px;
    padding: 24px;
    background: white;
    border-radius: 12px;
    border: 2px solid var(--critical-red);
}

/* Responsive для критических секций */
@media (max-width: 768px) {
    .critical-facts {
        grid-template-columns: 1fr;
    }

    .traffic-company {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .company-name {
        text-align: left;
    }

    .engagement-grid {
        grid-template-columns: 1fr;
    }

    .timer-comparison {
        flex-direction: column;
    }

    .context-investment {
        grid-template-columns: 1fr;
    }

    .seo-comparison-grid {
        grid-template-columns: 1fr;
    }

    .diagnosis-dashboard {
        grid-template-columns: 1fr;
    }

    .paths-comparison {
        grid-template-columns: 1fr;
    }

    .critical-number {
        font-size: 48px;
    }

    .investment-amount {
        font-size: 36px;
    }

    .current-audience {
        grid-template-columns: 1fr;
    }

    .gap-arrow {
        font-size: 32px;
        margin: 16px 0;
    }

    .leader-benefits {
        grid-template-columns: 1fr;
    }

    .market-problem {
        grid-template-columns: 1fr;
    }

    .demand-stats {
        grid-template-columns: 1fr;
    }
}

/* Path neutral style */
.path-neutral {
    background: rgba(100,100,100,0.05);
    border-color: var(--text-light);
}

.path-neutral h5 {
    color: var(--text-dark);
}

/* Opportunity box style */
.opportunity-box {
    background: rgba(16,185,129,0.05);
    border-left: 6px solid var(--success-green);
}

.opportunity-box h4 {
    color: var(--success-green);
}

/* Warning box style */
.warning-box {
    background: rgba(245,158,11,0.05);
    border-left: 6px solid var(--warning-orange);
}

.warning-box h4 {
    color: var(--warning-orange);
}

/* Balanced box style */
.balanced-box {
    background: var(--bg-light);
    border-left: 6px solid var(--primary-color);
}

.balanced-box h4 {
    color: var(--primary-color);
}

/* Title variants */
.key-title {
    background: var(--gradient-critical);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.opportunity-title {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.warning-title {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.balanced-title {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Analysis list style */
.analysis-list {
    list-style: none;
    margin: 20px 0;
}

.analysis-list li {
    padding: 10px 0;
    padding-left: 32px;
    position: relative;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
}

.analysis-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 20px;
}