/* ============================================
   ОСНОВНЫЕ СТИЛИ
   ============================================ */

:root {
    --primary-color: #4CAF50;
    --primary-dark: #45a049;
    --primary-light: #81C784;
    --secondary-color: #2196F3;
    --accent-color: #FF9800;
    --danger-color: #F44336;
    --text-dark: #212121;
    --text-light: #757575;
    --bg-light: #F5F5F5;
    --bg-white: #FFFFFF;
    --border-color: #E0E0E0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo-icon {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   ГЕРОЙ СЕКЦИЯ
   ============================================ */

.hero {
    margin-top: 80px;
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight {
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.phone-mockup {
    position: relative;
    max-width: 300px;
    margin: 0 auto;
}

.phone-screen {
    background: #1a1a1a;
    border-radius: 30px;
    padding: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.app-preview {
    background: white;
    border-radius: 20px;
    padding: 20px;
    min-height: 500px;
}

.preview-header {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.preview-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.preview-block {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    border-left: 4px solid var(--primary-color);
}

/* Новый Hero с упражнением */
.hero-new .hero-tagline {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.hero-new .hero-title {
    font-size: 2.8rem;
    line-height: 1.3;
}

.hero-formula {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.formula-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}

.formula-arrow {
    font-size: 1.5rem;
    color: #FFD700;
    font-weight: 700;
}

.hero-note {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 1rem;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* Превью упражнения в телефоне */
.preview-exercise {
    text-align: center;
    padding: 40px 20px;
}

.exercise-question {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.exercise-answers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 2rem;
}

.exercise-answers .answer {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 12px;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
    cursor: pointer;
}

.exercise-answers .answer.correct {
    background: var(--primary-color);
    color: white;
}

.exercise-hint {
    font-size: 0.9rem;
    color: var(--text-light);
}

.phone-mockup.animated {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ============================================
   БОЛЬ → РЕШЕНИЕ
   ============================================ */

.pain-solution {
    background: var(--bg-light);
    padding: 80px 0;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pain-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.pain-icon, .solution-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.solution-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 1rem 0;
}

.pain-card h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.pain-card p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.5;
}

/* ============================================
   КАК ЭТО РАБОТАЕТ
   ============================================ */

.how-it-works {
    background: var(--bg-white);
    padding: 80px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    border: 2px solid transparent;
    transition: var(--transition);
}

.step-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.step-icon {
    font-size: 3rem;
    margin: 1rem 0;
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.step-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.steps-cta {
    text-align: center;
    margin-top: 3rem;
}

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

section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   ВОЗМОЖНОСТИ
   ============================================ */

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-description {
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   КАК ЭТО РАБОТАЕТ
   ============================================ */

.how-it-works {
    background: var(--bg-light);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

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

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

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

.step-content .inline-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.step-content .inline-link:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}

.hero-permissions-link {
    margin-top: 0.75rem;
    font-size: 0.95rem;
}

.hero-permissions-link .inline-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.hero-permissions-link .inline-link:hover {
    text-decoration: underline;
}

.start-step-extra-link {
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.download-permissions-note {
    text-align: center;
    margin: 0 auto 1rem;
    max-width: 520px;
}

.download-permissions-note .inline-link {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.download-permissions-note .inline-link:hover {
    color: #fff;
}

.faq-answer .inline-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.faq-answer .inline-link:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}

/* ============================================
   УПРАЖНЕНИЯ
   ============================================ */

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

.exercises-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.exercise-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.exercise-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.exercise-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.exercise-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.exercise-card p {
    opacity: 0.9;
    font-size: 0.95rem;
}

/* ============================================
   СКАЧАТЬ
   ============================================ */

.download {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.download .section-title,
.download .section-subtitle {
    color: white;
}

.download-content {
    max-width: 600px;
    margin: 0 auto;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
    align-items: center;
}

.btn-download {
    background: white;
    color: var(--primary-color);
    padding: 1.5rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 250px;
    justify-content: center;
}

.btn-download:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-large {
    padding: 1.5rem 3rem;
    font-size: 1.1rem;
}

.btn-small {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

.btn-icon {
    font-size: 2rem;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-label {
    font-size: 0.85rem;
    opacity: 0.8;
}

.btn-name {
    font-size: 1.2rem;
    font-weight: 700;
}

.download-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.info-icon {
    font-size: 1.2rem;
}

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

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

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   ФУТЕР
   ============================================ */

.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

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

.footer-note {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--bg-white);
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-new .hero-title {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-formula {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .formula-arrow {
        transform: rotate(90deg);
    }

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

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

    .phone-mockup {
        max-width: 250px;
    }

    .exercise-question {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

    .steps {
        gap: 1.5rem;
    }

    .step {
        flex-direction: column;
        text-align: center;
    }

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

    .download-buttons {
        width: 100%;
    }

    .btn-download {
        width: 100%;
        max-width: 300px;
    }

    .download-info {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

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

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 1.25rem 2rem;
    }
}

/* ============================================
   ВЫДЕЛЕНИЕ НОВЫХ/ИЗМЕНЕННЫХ ТЕКСТОВ
   ============================================ */

.new-content {
    color: #FF6600 !important;
    background: linear-gradient(to right, rgba(255, 102, 0, 0.1), transparent);
    padding: 2px 6px;
    border-radius: 4px;
    border-left: 3px solid #FF6600;
}

.new-content strong {
    color: #FF6600 !important;
}

.new-section {
    border: 3px solid #FF6600;
    box-shadow: 0 0 20px rgba(255, 102, 0, 0.3);
}

.new-label {
    display: inline-block;
    background: #FF6600;
    color: white;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    font-weight: 600;
    text-transform: uppercase;
}

.nav-menu a.new-content,
.footer-links a.new-content {
    color: #FF6600 !important;
    font-weight: 600;
    background: transparent;
    border-left: none;
    padding: 0;
}

.nav-menu a.new-content:hover {
    color: #FF8C00 !important;
}

/* ============================================
   СЕКЦИЯ "ЧТО ДАЛЬШЕ?"
   ============================================ */

.future-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 80px 0;
}

.future-section .section-title {
    color: white;
}

.future-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.future-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.future-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: #FF6600;
}

.future-card h3 {
    color: #FF6600;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.future-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.future-card ul {
    list-style: none;
    padding-left: 0;
}

.future-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: rgba(255, 255, 255, 0.85);
}

.future-card ul li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: #FF6600;
}

.future-highlight {
    background: linear-gradient(135deg, #FF6600 0%, #FF8C00 100%);
    border: none;
}

.future-highlight h3 {
    color: white;
}

.future-highlight ul li:before {
    color: white;
}

/* ============================================
   НОВЫЕ СТИЛИ ДЛЯ РАСШИРЕННЫХ РАЗДЕЛОВ
   ============================================ */

/* О приложении */
.about-section {
    background: var(--bg-white);
    padding: 80px 0;
    margin-top: 80px;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.benefit-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.benefit-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.about-stats-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.about-stats-box h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-stats-box ul {
    list-style: none;
    margin-bottom: 2rem;
}

.about-stats-box ul li {
    padding: 0.5rem 0;
    font-size: 1.05rem;
}

.demo-link-box {
    background: rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 1.5rem;
}

.demo-link-box p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.demo-link-box .btn {
    background: white;
    color: var(--primary-color);
}

/* Дисклеймер */
.disclaimer-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.disclaimer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.disclaimer-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--text-light);
    transition: var(--transition);
}

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

.disclaimer-card.warning {
    border-left-color: var(--danger-color);
}

.disclaimer-card.success {
    border-left-color: var(--primary-color);
}

.disclaimer-card.info {
    border-left-color: var(--secondary-color);
}

.disclaimer-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.disclaimer-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.disclaimer-card p {
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.disclaimer-card .tip {
    background: var(--bg-light);
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.95rem;
    margin-top: 1rem;
}

.disclaimer-card .warning-text {
    color: var(--danger-color);
    font-weight: 600;
}

.disclaimer-card .inline-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    margin-top: 0.5rem;
}

.disclaimer-card .inline-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

.check-list {
    list-style: none;
    padding-left: 0;
}

.check-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.check-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.disclaimer-footer {
    margin-top: 3rem;
    text-align: center;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.disclaimer-footer p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.disclaimer-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Начало работы */
.start-section {
    background: var(--bg-white);
    padding: 80px 0;
}

.start-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.start-step {
    display: flex;
    gap: 2rem;
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
    transition: var(--transition);
}

.start-step:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

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

.start-step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.start-step-content p {
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.start-step-content .inline-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.start-step-content .inline-link:hover {
    color: var(--primary-dark);
}

.free-mode-info {
    margin-top: 4rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    padding: 3rem;
    border-radius: 16px;
}

.free-mode-info h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.free-mode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.free-feature {
    display: flex;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.free-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.free-feature strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.free-feature p {
    font-size: 0.95rem;
    opacity: 0.95;
}

.upgrade-box {
    background: rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
    backdrop-filter: blur(10px);
}

.upgrade-box h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.upgrade-box .btn {
    margin-top: 1rem;
    background: white;
    color: var(--primary-color);
}

.tips-box {
    margin-top: 3rem;
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 16px;
}

.tips-box h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.tip-item {
    display: flex;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.tip-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.tip-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.tip-item p {
    line-height: 1.6;
    color: var(--text-dark);
}

.tip-item strong {
    color: var(--primary-color);
}

/* Примеры применения */
.examples-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.example-card {
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

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

.example-card.highlight {
    border: 2px solid var(--primary-color);
}

.example-header {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.example-icon {
    font-size: 2rem;
}

.example-header h3 {
    font-size: 1.3rem;
    margin: 0;
}

.example-content {
    padding: 2rem;
}

.example-problem,
.example-solution,
.example-result {
    margin-bottom: 1.5rem;
}

.example-problem strong,
.example-solution strong,
.example-result strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.result-list,
.solution-list {
    list-style: none;
    padding-left: 0;
}

.result-list li,
.solution-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.result-list li:before {
    content: '✅';
    position: absolute;
    left: 0;
}

.solution-list li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.statistics-box {
    margin-top: 3rem;
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.statistics-box h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

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

.stat-box {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.95rem;
}

.stats-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
}

.cta-box {
    margin-top: 3rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 3rem;
    border-radius: 16px;
}

.cta-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Страницы (permissions, documentation) */
.page-hero {
    margin-top: 80px;
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.page-description {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.95;
    line-height: 1.8;
}

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

/* Разрешения */
.permissions-intro {
    padding: 80px 0;
    background: var(--bg-white);
}

.permissions-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.permission-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.permission-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.permission-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.permission-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.permission-desc {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.permission-tech {
    font-size: 0.9rem;
    color: var(--text-light);
}

.important-note {
    background: #FFF3CD;
    border-left: 4px solid var(--accent-color);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
}

.important-note h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.important-note p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.important-note .inline-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

/* Инструкции для брендов */
.brand-instructions {
    padding: 80px 0;
    background: var(--bg-light);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.brand-card {
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.brand-header {
    background: var(--primary-color);
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-icon {
    font-size: 2rem;
}

.brand-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.brand-content {
    padding: 2rem;
}

.brand-content h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.instruction-steps {
    counter-reset: step-counter;
    list-style: none;
    padding-left: 0;
}

.instruction-steps > li {
    counter-increment: step-counter;
    margin-bottom: 1.5rem;
    padding-left: 3rem;
    position: relative;
}

.instruction-steps > li:before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.instruction-steps ul {
    margin-top: 0.5rem;
    margin-left: 1rem;
}

.video-placeholder {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    text-align: center;
}

.video-placeholder .coming-soon {
    color: var(--text-light);
    font-style: italic;
}

/* Видеоинструкции — реальные ссылки */
.video-links {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.video-links > p {
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.video-variant {
    margin-bottom: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border-color, #e0e0e0);
}

.video-variant:last-child {
    margin-bottom: 0;
}

.video-variant-label {
    font-size: 0.9rem;
    color: var(--text-secondary, #555);
    margin-bottom: 0.75rem;
}

.video-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-video {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-youtube {
    background: #FF0000;
    color: white;
}

.btn-youtube:hover {
    background: #cc0000;
    transform: translateY(-1px);
}

.btn-rutube {
    background: #1a1a2e;
    color: white;
}

.btn-rutube:hover {
    background: #16213e;
    transform: translateY(-1px);
}

/* Упражнения — три категории */
.exercises-category {
    margin-bottom: 3rem;
}

.exercises-category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.exercises-category-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark, #1a1a1a);
    margin: 0;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-free {
    background: rgba(76, 175, 80, 0.15);
    color: #2e7d32;
    border: 1px solid rgba(76, 175, 80, 0.4);
}

.badge-premium {
    background: rgba(255, 152, 0, 0.15);
    color: #e65100;
    border: 1px solid rgba(255, 152, 0, 0.4);
}

.badge-soon {
    background: rgba(156, 39, 176, 0.12);
    color: #7b1fa2;
    border: 1px solid rgba(156, 39, 176, 0.3);
}

.future-subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.future-subject-card {
    background: var(--bg-white, #fff);
    border: 2px dashed var(--border-color, #e0e0e0);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    opacity: 0.85;
}

.future-subject-card .exercise-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.future-subject-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark, #1a1a1a);
}

.future-subject-card p {
    font-size: 0.9rem;
    color: var(--text-light, #888);
}

/* Проблемы и решения */
.troubleshooting {
    padding: 80px 0;
    background: var(--bg-white);
}

.trouble-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.trouble-item {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid var(--danger-color);
}

.trouble-item h3 {
    color: var(--danger-color);
    margin-bottom: 1rem;
}

.trouble-item ul {
    margin-left: 1.5rem;
}

.trouble-item ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* CTA секция */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Документация */
.table-of-contents {
    padding: 60px 0;
    background: var(--bg-white);
}

.toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.toc-card {
    background: var(--bg-light);
    border-radius: 12px;
    transition: var(--transition);
    overflow: hidden;
}

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

.toc-card a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    text-decoration: none;
    color: var(--text-dark);
    text-align: center;
}

.toc-icon {
    font-size: 3rem;
}

.doc-section {
    padding: 80px 0;
}

.doc-content {
    max-width: 900px;
    margin: 0 auto;
}

.doc-item {
    margin-bottom: 3rem;
}

.doc-item h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.doc-item h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin: 1.5rem 0 1rem;
}

.doc-item p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.doc-list {
    margin-left: 2rem;
    line-height: 1.8;
}

.doc-list li {
    margin-bottom: 0.75rem;
}

.app-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.app-type-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.app-type-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.exercise-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.exercise-type {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
}

.exercise-type strong {
    display: block;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.exercise-type .recommendation {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0.25rem 0;
}

.warning-box {
    background: #FFF3CD;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.tip-box {
    background: #E8F5E9;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

/* Стратегии обучения */
.learning-strategies {
    margin-top: 3rem;
}

.strategy-card {
    background: var(--bg-white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
    overflow: hidden;
}

.strategy-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.strategy-icon {
    font-size: 2.5rem;
}

.strategy-header h3 {
    font-size: 1.8rem;
    margin: 0;
}

.strategy-content {
    padding: 2rem;
}

.strategy-content h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin: 1.5rem 0 0.75rem;
}

.strategy-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.result-note {
    background: #E3F2FD;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    border-left: 4px solid var(--secondary-color);
}

.adaptive-rules {
    margin-top: 1.5rem;
}

.adaptive-rules .rule {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.adaptive-rules .rule strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.general-learning-tips {
    margin-top: 4rem;
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 16px;
}

.general-learning-tips h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.tips-grid-doc {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tip-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.tip-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.tip-card p {
    line-height: 1.6;
    color: var(--text-dark);
}

/* Ошибки */
.mistakes-to-avoid {
    margin-top: 4rem;
}

.mistakes-to-avoid h3 {
    font-size: 2rem;
    color: var(--danger-color);
    margin-bottom: 2rem;
    text-align: center;
}

.mistake-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mistake-item {
    background: #FFEBEE;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--danger-color);
}

.mistake-item h4 {
    color: var(--danger-color);
    margin-bottom: 1rem;
}

/* Общие советы */
.general-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.general-tip-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.general-tip-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.general-tip-card ul {
    list-style: none;
    padding-left: 0;
}

.general-tip-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.general-tip-card ul li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.final-advice {
    margin-top: 4rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
}

.final-advice h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.highlight-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

/* Навигация - активная ссылка */
.nav-menu a.active {
    color: var(--primary-color);
}

/* ============================================
   ВСЕ ПРЕДМЕТЫ
   ============================================ */

.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.section-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.section-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.exercise-card,
.future-subject-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.exercise-card p,
.future-subject-card p {
    flex-grow: 1;
}

.subject-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    margin-top: 1.25rem;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.exercise-card .subject-card-link {
    background: rgba(255, 255, 255, 0.18);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.exercise-card .subject-card-link:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-2px);
}

.future-subject-card .subject-card-link {
    background: rgba(76, 175, 80, 0.08);
    color: var(--primary-dark);
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.future-subject-card .subject-card-link:hover {
    background: rgba(76, 175, 80, 0.15);
}

.subjects-catalog,
.subject-details-page {
    padding: 80px 0;
    background: var(--bg-white);
}

.subjects-catalog.alt-bg,
.subject-section.alt-bg {
    background: var(--bg-light);
}

.subject-group {
    margin-top: 3rem;
}

.subject-group + .subject-group {
    margin-top: 4rem;
}

.subject-group-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.subject-group-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
}

.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.subject-overview-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 1.75rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

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

.subject-overview-card.available-now {
    border-top: 4px solid var(--primary-color);
}

.subject-overview-card.coming-soon {
    border-top: 4px solid #9c27b0;
}

.subject-overview-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.subject-overview-icon {
    font-size: 2.5rem;
}

.subject-overview-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.subject-overview-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.subject-overview-card p {
    color: var(--text-light);
}

.subject-feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.subject-feature-list li {
    position: relative;
    padding-left: 1.2rem;
    color: var(--text-dark);
}

.subject-feature-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.subject-overview-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.subject-price-note {
    font-size: 0.95rem;
    color: var(--text-light);
}

.subject-overview-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.35rem;
    border-radius: 10px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.subject-overview-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.subject-overview-button.secondary {
    background: white;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
}

.subject-overview-button.secondary:hover {
    background: var(--bg-light);
}

.subject-intro-strip {
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    border-radius: 14px;
    background: rgba(76, 175, 80, 0.08);
    color: var(--text-dark);
}

.subject-hero-meta {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.subject-section {
    padding: 70px 0;
    background: var(--bg-white);
}

.subject-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    align-items: start;
}

.subject-main-card,
.subject-side-card,
.subject-summary-card {
    background: var(--bg-white);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 2rem;
}

.subject-main-card h2,
.subject-side-card h2,
.subject-summary-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.subject-main-card p,
.subject-side-card p,
.subject-summary-card p {
    color: var(--text-dark);
    line-height: 1.8;
}

.subject-info-list {
    list-style: none;
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.subject-info-list li {
    padding: 1rem 1.1rem;
    border-radius: 12px;
    background: var(--bg-light);
}

.subject-info-list strong {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--text-dark);
}

.subject-status-box {
    margin-top: 1.5rem;
    padding: 1.25rem;
    border-radius: 14px;
    background: rgba(33, 150, 243, 0.08);
    border: 1px solid rgba(33, 150, 243, 0.12);
}

.subject-status-box h3 {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.subject-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.subject-highlight {
    background: var(--bg-light);
    border-radius: 14px;
    padding: 1.25rem;
}

.subject-highlight strong {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--text-dark);
}

.subject-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.subject-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.subject-note {
    margin-top: 1.25rem;
    padding: 1.1rem 1.2rem;
    border-radius: 12px;
    background: #fff3cd;
    color: #7a5a00;
}

/* Адаптивность для новых секций */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .disclaimer-grid {
        grid-template-columns: 1fr;
    }
    
    .examples-grid {
        grid-template-columns: 1fr;
    }
    
    .brands-grid {
        grid-template-columns: 1fr;
    }
    
    .start-step {
        flex-direction: column;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-description {
        font-size: 1.1rem;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
    
    .strategy-header {
        flex-direction: column;
        text-align: center;
    }
    
    .general-tips-grid {
        grid-template-columns: 1fr;
    }

    .section-title-row,
    .subject-group-header,
    .subject-overview-footer {
        align-items: flex-start;
    }

    .subject-layout,
    .subject-highlights {
        grid-template-columns: 1fr;
    }

    .cases-preview-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Мини-превью кейсов ===== */
.cases-preview {
    background: var(--bg-light);
    padding: 3rem 0;
}

.cases-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.case-mini {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.case-mini-icon {
    font-size: 2rem;
    flex-shrink: 0;
    line-height: 1;
}

.case-mini strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.case-mini p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* ===== CTA перед дисклеймером ===== */
.pre-disclaimer-cta {
    background: linear-gradient(135deg, #f0faf0 0%, #e8f5e9 100%);
    border-top: 3px solid var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}




















