/* Стили для страницы "Упаковка онлайн-курса" */

/* Hero секция */
.course-packaging-hero {
    padding: 150px 20px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: var(--secondary-color);
}

.course-packaging-hero-content {
    max-width: var(--container-max-width);
    width: 100%;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

.course-packaging-hero-title {
    font-size: 56px;
    font-weight: var(--font-weight-extrabold);
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.course-packaging-hero-title .green {
    color: var(--primary-color);
}

.course-packaging-hero-text {
    font-size: 24px;
    font-weight: var(--font-weight-semibold);
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.course-packaging-hero-subtitle {
    font-size: 24px;
    font-weight: var(--font-weight-medium);
    color: var(--text-color);
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-style: italic;
}

.course-packaging-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.course-packaging-hero-btn.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 16px 40px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    transition: all var(--transition-normal);
    display: inline-block;
    font-size: 18px;
}

.course-packaging-hero-btn.secondary:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

/* Секция услуг */
.course-packaging-services {
    padding: 80px 20px;
}

.course-packaging-services .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.course-packaging-services-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.3;
    position: relative;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.course-packaging-services-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Аккордеон */
.course-packaging-accordion {
    width: 100%;
    max-width: 1000px;
}

.accordion-item {
    background: var(--white);
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.accordion-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--primary-color);
}

.accordion-header {
    width: 100%;
    padding: 25px 30px;
    background: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    transition: all var(--transition-normal);
    position: relative;
}

.accordion-header:hover {
    background: var(--primary-light);
}

/* Убираем эффект с иконки при hover */
.course-packaging-accordion .accordion-header:hover .accordion-icon {
    background: var(--primary-color);
    transform: none;
}

.accordion-header[aria-expanded="true"] {
    background: var(--primary-color);
    color: var(--white);
}

.accordion-header[aria-expanded="true"] .accordion-arrow i {
    color: var(--white);
}

.accordion-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.accordion-header[aria-expanded="true"] .accordion-icon {
    background: var(--primary-color);
}

.accordion-icon i {
    font-size: 20px;
    color: var(--white);
    transition: all var(--transition-normal);
}

.accordion-title {
    flex: 1;
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--secondary-color);
    margin: 0;
    line-height: 1.4;
    transition: all var(--transition-normal);
}

.accordion-header[aria-expanded="true"] .accordion-title {
    color: var(--white);
}

.accordion-arrow {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.accordion-arrow i {
    font-size: 16px;
    color: var(--primary-color);
    transition: all var(--transition-normal);
}

.accordion-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all var(--transition-normal);
    background: var(--white);
}

.accordion-content.active {
    max-height: 1000px;
    opacity: 1;
}

.accordion-list {
    list-style: none;
    padding: 0 30px 30px;
    margin: 0;
}

.accordion-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--secondary-color);
    line-height: 1.6;
    position: relative;
    padding-left: 25px;
}

.accordion-list li:last-child {
    border-bottom: none;
}

.accordion-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-weight: bold;
    font-size: 20px;
}

/* Секция преимуществ */
.course-packaging-advantages {
    padding: 80px 20px;
}

.course-packaging-advantages .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.course-packaging-advantages-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.3;
    position: relative;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.course-packaging-advantages-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin-bottom: 60px;
}

.advantage-item {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.advantage-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.advantage-item:hover::before {
    transform: scaleX(1);
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all var(--transition-normal);
}

.advantage-item:hover .advantage-icon {
    background: var(--primary-color);
    transform: scale(1.1);
}

.advantage-icon i {
    font-size: 32px;
    color: var(--primary-color);
    transition: all var(--transition-normal);
}

.advantage-item:hover .advantage-icon i {
    color: var(--white);
}

.advantage-item h3 {
    font-size: 20px;
    font-weight: var(--font-weight-semibold);
    color: var(--secondary-color);
    margin: 0 0 15px;
    line-height: 1.3;
}

.advantage-item p {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

.course-packaging-cta {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.course-packaging-cta-title {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--secondary-color);
    line-height: 1.4;
    margin: 0;
}

.brand-highlight {
    color: var(--primary-color);
}

.brand-on {
    color: var(--primary-color);
}

/* Секция цены */
.course-packaging-pricing {
    padding: 80px 20px;
    text-align: center;
}

.course-packaging-pricing-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.course-packaging-pricing-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--secondary-color);
    margin-bottom: 30px;
    line-height: 1.3;
    position: relative;
}

.course-packaging-pricing-title::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.course-packaging-pricing-subtitle {
    font-size: 18px;
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 40px;
}

.sales-contact-button {
    margin-top: 30px;
}

/* Улучшенные тени для аккордеона */
.accordion-item {
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.1);
}

.accordion-item:hover {
    box-shadow:
        0 20px 25px rgba(0, 0, 0, 0.1),
        0 10px 10px rgba(0, 0, 0, 0.04);
}

/* Адаптивность */
@media (max-width: 768px) {
    .course-packaging-hero-title {
        font-size: 42px;
    }

    .course-packaging-hero-text,
    .course-packaging-hero-subtitle {
        font-size: 20px;
    }

    .course-packaging-hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .course-packaging-hero-btn.secondary,
    .contact-btn {
        width: 100%;
        max-width: 280px;
        padding: 18px 30px;
        font-size: 16px;
        text-align: center;
    }

    .course-packaging-services-title,
    .course-packaging-advantages-title,
    .course-packaging-pricing-title {
        font-size: 2rem;
    }

    .accordion-header {
        padding: 20px 25px;
        gap: 15px;
    }

    .accordion-title {
        font-size: 16px;
    }

    .accordion-icon {
        width: 45px;
        height: 45px;
        border-radius: 10px;
    }

    .accordion-icon i {
        font-size: 18px;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .advantage-item {
        padding: 30px 20px;
    }

    .course-packaging-cta-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .course-packaging-hero {
        padding: 120px 15px 30px;
    }

    .course-packaging-hero-title {
        font-size: 36px;
    }

    .course-packaging-hero-text,
    .course-packaging-hero-subtitle {
        font-size: 18px;
    }

    .course-packaging-hero-btn.secondary,
    .contact-btn {
        max-width: 260px;
        padding: 16px 25px;
        font-size: 15px;
    }

    .accordion-header {
        padding: 18px 20px;
        gap: 12px;
    }

    .accordion-title {
        font-size: 14px;
    }

    .accordion-icon {
        width: 40px;
        height: 40px;
        border-radius: 8px;
    }

    .accordion-icon i {
        font-size: 16px;
    }

    .accordion-list {
        padding: 0 20px 20px;
    }

    .accordion-list li {
        font-size: 14px;
        padding: 10px 0;
        padding-left: 20px;
    }

    .advantage-item {
        padding: 25px 15px;
    }

    .advantage-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .advantage-icon i {
        font-size: 24px;
    }

    .advantage-item h3 {
        font-size: 18px;
    }

    .advantage-item p {
        font-size: 14px;
    }
}

/* Стили для брендинга */
.brand-highlight {
    color: var(--secondary-color);
    font-weight: var(--font-weight-bold);
}

.brand-on {
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
}