﻿/* --- PREMIUM DETAILS LANDING --- */

:root {
    --pd-bg: #f9f7f2;
    --pd-dark: #1a1a1a;
    --pd-accent: #d98c53;
    --pd-border: #e2ddd5;
}

.pd-wrapper {
    background-color: var(--pd-bg);
    font-family: 'Montserrat', sans-serif;
    color: var(--pd-dark);
}

.pd-section {
    padding: 100px 0;
}

.pd-bg-dark {
    background-color: var(--pd-dark);
}

.pd-bg-light {
    background-color: #f2efe9;
}

.pd-accent-text {
    color: var(--pd-accent) !important;
}

.bg-white {
    background-color: #ffffff !important;
}

/* ОБЩИЕ ЗАГОЛОВКИ */
.pd-heading {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .pd-heading i {
        text-transform: lowercase;
        font-style: italic;
        color: var(--pd-accent);
    }

.pd-divider {
    width: 80px;
    height: 1px;
    background-color: var(--pd-accent);
    margin-bottom: 30px;
}

/* 1. HERO */
.pd-hero {
    position: relative;
    height: 90vh;
    min-height: 700px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
}

.pd-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.pd-hero-content {
    position: relative;
    z-index: 2;
}

.pd-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pd-badge {
    border: 1px solid rgba(255,255,255,0.4);
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.border-accent {
    border-color: var(--pd-accent) !important;
}

.pd-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    letter-spacing: 2px;
    line-height: 1.1;
    margin-bottom: 30px;
}

.pd-hero-subtitle {
    font-size: 1.15rem;
    max-width: 650px;
    line-height: 1.6;
    font-weight: 300;
    opacity: 0.9;
}

.pd-hero-meta {
    display: flex;
    gap: 40px;
}

.pd-meta-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--pd-accent);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.pd-meta-value {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: bold;
}

/* КНОПКИ */
.pd-btn-filled {
    display: inline-block;
    background: var(--pd-accent);
    color: white;
    padding: 18px 45px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: 0.3s;
}

    .pd-btn-filled:hover {
        background: #c27a45;
        color: white;
    }

.pd-btn-outline {
    display: inline-block;
    border: 1px solid white;
    color: white;
    padding: 18px 45px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: 0.3s;
}

    .pd-btn-outline:hover {
        background: white;
        color: black;
    }

/* 2. ИНФО ПОЛОСА */
.pd-info-strip {
    border-bottom: 1px solid var(--pd-border);
    padding: 40px 0;
}

.pd-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--pd-dark);
    line-height: 1.4;
}

    .pd-info-item i {
        font-size: 2rem;
        color: var(--pd-accent);
        margin-bottom: 15px;
    }

/* 3. О ЧЕМ КУРС */
.pd-description-editorial {
    background-color: #fff; 
    padding: 40px;
    border-radius: 12px;
    border-left: 5px solid var(--pd-accent);
    box-shadow: 0 15px 40px rgba(0,0,0,0.04); /* Легкая, дорогая тень */

    font-size: 1.15rem; /* Сделали текст крупнее */
    line-height: 1.8;
    color: var(--pd-dark); /* Сделали текст черным, а не серым */
    font-weight: 500; /* Чуть жирнее для лучшей читаемости */
    white-space: pre-line; /* Сохраняет абзацы из базы данных */
}

.pd-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.pd-stat-box {
    padding: 40px 20px;
    text-align: center;
    border-color: var(--pd-border) !important;
}

.pd-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--pd-accent);
    line-height: 1;
    margin-bottom: 10px;
}

.pd-stat-desc {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

/* 4. ОСОБЕННОСТИ ФОРМАТА */
.pd-feature-card {
    background: var(--pd-bg);
    border: 1px solid var(--pd-border);
    padding: 40px 30px;
    height: 100%;
    transition: 0.3s;
}

    .pd-feature-card:hover {
        border-color: var(--pd-accent);
        background: #fff;
    }

.feat-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.feat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--pd-accent);
    line-height: 0.8;
    margin-right: 20px;
    opacity: 0.8;
}

.feat-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.feat-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* 5. КАК ВЫГЛЯДИТ КУРС (Слайдер) */
.pd-carousel-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.pd-carousel-inner {
    border-radius: 12px;
}

.pd-carousel-img {
    /* Ограничиваем высоту! Теперь фото будет занимать ~половину экрана по высоте */
    height: 55vh;
    max-height: 550px;
    min-height: 300px;
    object-fit: cover;
    filter: brightness(0.9);
}

/* Кастомизация боковых стрелок */
.pd-carousel-btn {
    width: 10%;
    opacity: 1;
}

    .pd-carousel-btn span {
        background-color: rgba(26, 26, 26, 0.5); /* Полупрозрачный черный круг */
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background-size: 40%;
        transition: 0.3s ease;
    }

    .pd-carousel-btn:hover span {
        background-color: var(--pd-accent); /* При наведении становится терракотовым */
        transform: scale(1.1);
    }

/* Кастомизация точек навигации внизу */
.pd-carousel-indicators {
    margin-bottom: 20px;
}

    .pd-carousel-indicators button {
        width: 10px !important;
        height: 10px !important;
        border-radius: 50%;
        background-color: #fff !important;
        opacity: 0.5;
        margin: 0 6px !important;
        border: none !important;
        transition: 0.3s;
    }

        .pd-carousel-indicators button.active {
            background-color: var(--pd-accent) !important;
            opacity: 1;
            transform: scale(1.2);
        }

/* 6. ПРОГРАММА (ТЕМНАЯ) */
.pd-sticky-sidebar {
    position: sticky;
    top: 120px;
}

.pd-module-item {
    padding-bottom: 50px;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.pd-mod-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.pd-mod-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--pd-accent);
    margin-right: 30px;
    margin-top: 5px;
}

.pd-mod-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin: 0;
}

.pd-lesson-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .pd-lesson-list li {
        padding: 15px 0;
        border-top: 1px solid rgba(255,255,255,0.05);
        font-size: 1rem;
        display: flex;
        align-items: center;
    }

        .pd-lesson-list li::before {
            content: "";
            width: 6px;
            height: 6px;
            background: var(--pd-accent);
            border-radius: 50%;
            margin-right: 20px;
        }

.pd-btn-outline-light {
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 15px 35px;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border-radius: 30px;
    transition: 0.3s;
}

    .pd-btn-outline-light:hover {
        background: #fff;
        color: var(--pd-dark);
    }

/* [НОВОЕ] 7. ЭКСПЕРТ (Компактный карточный) */
.pd-expert-compact {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid var(--pd-border);
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.pd-expert-avatar {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 50px;
    flex-shrink: 0;
    transition: 0.4s;
}

.pd-expert-name {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--pd-dark);
}

.pd-expert-bullets {
    list-style: none;
    padding: 0;
}

    .pd-expert-bullets li {
        padding: 6px 0;
        font-size: 0.95rem;
        color: #555;
    }

        .pd-expert-bullets li::before {
            content: "•";
            color: var(--pd-accent);
            margin-right: 15px;
            font-size: 1.5rem;
            vertical-align: middle;
            line-height: 0;
        }

.pd-link-underline {
    color: var(--pd-dark);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--pd-accent);
    padding-bottom: 3px;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

/* 8. БИЛЕТ */
.pd-ticket-card {
    background: #fff;
    border: 1px solid var(--pd-border);
}

.pd-ticket-header {
    padding: 40px;
    border-bottom: 1px solid var(--pd-border);
    text-align: center;
}

    .pd-ticket-header h3 {
        font-family: 'Playfair Display', serif;
        font-size: 1.5rem;
        letter-spacing: 2px;
        margin-bottom: 15px;
    }

.pd-ticket-price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--pd-accent);
    line-height: 1;
}

    .pd-ticket-price span {
        font-size: 1.2rem;
        font-weight: 400;
        color: #888;
    }

.pd-ticket-body {
    padding: 40px;
}

.pd-ticket-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

    .pd-ticket-features li {
        padding: 12px 0;
        border-bottom: 1px dashed #eee;
        font-size: 0.95rem;
        color: #444;
    }

        .pd-ticket-features li strong {
            color: var(--pd-dark);
        }

.pd-ticket-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--pd-bg);
    padding: 15px 20px;
    border-radius: 4px;
}

.pd-ticket-footer {
    padding: 0 40px 40px 40px;
}

.pd-btn-primary {
    background-color: var(--pd-dark);
    color: #fff;
    border: none;
    padding: 18px 40px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.4s ease;
}

    .pd-btn-primary:hover {
        background-color: var(--pd-accent);
    }

.pd-btn-disabled {
    background: #eee;
    color: #999;
    border: none;
    padding: 18px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* 9. FAQ */
.pd-faq-accordion .accordion-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--pd-border);
}

.pd-faq-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--pd-dark);
    padding: 25px 0;
    background: transparent !important;
    box-shadow: none !important;
}

    .pd-faq-btn:not(.collapsed) {
        color: var(--pd-accent);
    }

.pd-faq-body {
    padding: 0 0 30px 0;
    color: #555;
    line-height: 1.6;
}

.pd-faq-btn::after {
    filter: grayscale(100%);
}

.pd-faq-btn:not(.collapsed)::after {
    filter: invert(60%) sepia(40%) saturate(600%) hue-rotate(340deg);
}

@media (max-width: 991px) {
    .pd-hero-title {
        font-size: 3rem;
    }

    .pd-section {
        padding: 60px 0;
    }

    .pd-heading {
        font-size: 2.5rem;
    }

    .pd-sticky-sidebar {
        position: static;
        margin-bottom: 40px;
    }

    .pd-stat-box {
        padding: 20px 10px;
    }

    .pd-stat-num {
        font-size: 2.5rem;
    }

    .pd-expert-compact {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .pd-expert-avatar {
        margin-right: 0;
        margin-bottom: 30px;
        width: 200px;
        height: 200px;
    }

    .pd-expert-bullets li {
        text-align: left;
    }
}
