/* * ==================== TWITCH BOOST PAGE - SEO OPTIMIZED STYLES ==================== */
/* * Современные стили 2025 года для страницы буста Twitch зрителей */

:root {
    /* * Twitch brand colors */
    --twitch-purple: #9146FF;
    --twitch-purple-dark: #772CE8;
    --twitch-purple-light: #A970FF;
    --twitch-success: #00F593;
    
    /* * Современные градиенты */
    --gradient-twitch: linear-gradient(135deg, #9146FF 0%, #772CE8 100%);
    --gradient-success: linear-gradient(135deg, #00F593 0%, #00C775 100%);
    
    /* * Shadows */
    --shadow-soft: 0 4px 12px rgba(145, 70, 255, 0.15);
    --shadow-medium: 0 8px 24px rgba(145, 70, 255, 0.25);
    --shadow-strong: 0 12px 36px rgba(145, 70, 255, 0.35);
}

/* * ==================== HERO SECTION IMPROVEMENTS ==================== */

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-muted);
    margin: 20px auto;
    max-width: 800px;
    line-height: 1.6;
    font-weight: 400;
}

/* * Trust badges в hero */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 25px 0;
    padding: 20px;
    background: rgba(145, 70, 255, 0.05);
    border-radius: 12px;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    border: 2px solid var(--twitch-purple-light);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--twitch-purple);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(145, 70, 255, 0.1);
}

.trust-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
    border-color: var(--twitch-purple);
    background: rgba(145, 70, 255, 0.05);
}

.trust-badge i {
    color: var(--twitch-purple);
    font-size: 16px;
}

/* * Hero statistics */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 30px 0;
    padding: 30px 0;
    border-top: 2px solid rgba(145, 70, 255, 0.1);
    border-bottom: 2px solid rgba(145, 70, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat-number {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--twitch-purple);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    font-weight: 500;
}

/* * Улучшенная кнопка CTA в стиле Twitch */
.btn-primary-twitch {
    background: var(--gradient-twitch) !important;
    color: white !important;
    border: none !important;
    box-shadow: var(--shadow-soft);
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary-twitch:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-medium);
}

.btn-primary-twitch:active {
    transform: translateY(-1px) scale(0.98);
}

/* * ==================== TABLE OF CONTENTS ==================== */

.toc-section {
    padding: 30px 0;
    background: rgba(145, 70, 255, 0.03);
    border-top: 1px solid rgba(145, 70, 255, 0.1);
    border-bottom: 1px solid rgba(145, 70, 255, 0.1);
}

.toc-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.toc-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--twitch-purple);
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.toc-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.toc-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(145, 70, 255, 0.05);
    border: 2px solid transparent;
    border-radius: 8px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.toc-link:hover {
    background: rgba(145, 70, 255, 0.1);
    border-color: var(--twitch-purple);
    color: var(--twitch-purple);
    transform: translateX(4px);
}

.toc-link i {
    color: var(--twitch-purple);
    font-size: 18px;
}

/* * ==================== CONTENT SECTIONS ==================== */

.content-section {
    padding: 60px 0;
    position: relative;
}

.content-section:nth-child(even) {
    background: rgba(145, 70, 255, 0.02);
}

.content-box {
    height: 100%;
    transition: all 0.3s ease;
}

.content-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.content-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--twitch-purple);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-title i {
    font-size: 1.75rem;
}

/* * Requirements list styling */
.requirements-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.requirements-list li {
    padding: 10px 0;
    padding-left: 35px;
    position: relative;
    color: var(--text-main);
    line-height: 1.6;
}

.requirements-list li i {
    position: absolute;
    left: 0;
    top: 12px;
    color: var(--twitch-success);
    font-size: 18px;
}

/* * Highlight box for important information */
.highlight-box {
    background: linear-gradient(135deg, rgba(145, 70, 255, 0.08) 0%, rgba(119, 44, 232, 0.05) 100%);
    border-left: 4px solid var(--twitch-purple);
}

/* * Stats comparison */
.stats-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.comparison-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.comparison-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.comparison-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.comparison-value.positive {
    color: var(--twitch-success);
}

.comparison-value.negative {
    color: #e74c3c;
}

/* * ==================== HOW IT WORKS SECTION ==================== */

.steps-container {
    display: grid;
    gap: 30px;
    margin: 40px 0;
}

.step-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid var(--twitch-purple-light);
}

.step-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-soft);
    border-left-color: var(--twitch-purple);
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-twitch);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    box-shadow: var(--shadow-soft);
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 12px;
}

.step-content p {
    color: var(--text-main);
    line-height: 1.8;
}

/* * Technical details boxes */
.technical-details {
    margin-top: 50px;
}

.detail-box {
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
}

.detail-box:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-4px);
}

.detail-box h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--twitch-purple);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-box h4 i {
    font-size: 1.5rem;
}

/* * ==================== FAQ SECTION ==================== */

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-soft);
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-main);
    padding: 20px 25px;
    margin: 0;
    background: rgba(145, 70, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(145, 70, 255, 0.1);
    color: var(--twitch-purple);
}

.faq-question i {
    color: var(--twitch-purple);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.faq-answer {
    padding: 25px;
}

.faq-answer p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-main);
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul,
.faq-answer ol {
    margin: 15px 0;
    padding-left: 25px;
}

.faq-answer li {
    margin-bottom: 10px;
    line-height: 1.8;
    color: var(--text-main);
}

.faq-answer li i {
    color: var(--twitch-success);
    margin-right: 8px;
}

/* * ==================== COMPARISON TABLE ==================== */

.comparison-table-wrapper {
    overflow-x: auto;
    margin: 40px 0;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 14px;
}

.comparison-table thead {
    background: var(--gradient-twitch);
    color: white;
}

.comparison-table th {
    padding: 20px 15px;
    text-align: left;
    font-weight: 600;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.comparison-table th:last-child {
    border-right: none;
}

.comparison-table th.highlight-column {
    background: linear-gradient(135deg, #00F593 0%, #00C775 100%);
    position: relative;
}

.comparison-table th.highlight-column::after {
    content: '⭐ BEST VALUE';
    position: absolute;
    top: -8px;
    right: 10px;
    background: #FFD700;
    color: #000;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
}

.comparison-table td {
    padding: 18px 15px;
    border-bottom: 1px solid #e0e0e0;
    border-right: 1px solid #f0f0f0;
    vertical-align: middle;
}

.comparison-table td:last-child {
    border-right: none;
}

.comparison-table tbody tr:hover {
    background: rgba(145, 70, 255, 0.03);
}

.comparison-table td.highlight-column {
    background: rgba(0, 245, 147, 0.08);
    font-weight: 600;
    border-left: 3px solid var(--twitch-success);
    border-right: 3px solid var(--twitch-success);
}

.comparison-table td.success {
    color: var(--twitch-success);
}

.comparison-table .fa-check-circle {
    color: var(--twitch-success);
    font-size: 18px;
}

.comparison-table .fa-times-circle {
    color: #e74c3c;
    font-size: 18px;
}

.comparison-table .fa-minus-circle {
    color: #f39c12;
    font-size: 18px;
}

/* * Comparison Summary Boxes */
.comparison-summary {
    margin-top: 50px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(145, 70, 255, 0.05) 0%, rgba(0, 245, 147, 0.05) 100%);
    border-radius: 12px;
}

.comparison-summary h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--twitch-purple);
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.comparison-summary h3 i {
    font-size: 2.5rem;
    color: #FFD700;
}

.summary-box {
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
    border-top: 4px solid var(--twitch-purple);
}

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

.summary-box h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 15px;
}

.summary-box p {
    color: var(--text-main);
    line-height: 1.8;
}

/* * ==================== RESPONSIVE DESIGN ==================== */

@media (max-width: 768px) {
    .trust-badges {
        gap: 10px;
        padding: 15px;
    }
    
    .trust-badge {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .step-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .stats-comparison {
        grid-template-columns: 1fr;
    }
    
    /* * Comparison table mobile */
    .comparison-table {
        font-size: 12px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
    }
    
    .comparison-table th.highlight-column::after {
        font-size: 8px;
        padding: 1px 6px;
        top: -6px;
        right: 5px;
    }
    
    .comparison-summary {
        padding: 20px;
    }
    
    .comparison-summary h3 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .summary-box {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .summary-box h4 {
        font-size: 1.25rem;
    }
}

/* * ==================== ANIMATIONS ==================== */

@keyframes pulse-twitch {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(145, 70, 255, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(145, 70, 255, 0);
    }
}

/* * Пульсация для важных элементов */
.btn-primary-twitch.pulse {
    animation: pulse-twitch 2s infinite;
}

/* * ==================== ACCESSIBILITY ==================== */

/* * Улучшенная видимость focus для keyboard navigation */
*:focus-visible {
    outline: 3px solid var(--twitch-purple);
    outline-offset: 2px;
    border-radius: 4px;
}

/* * Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

