/**
 * Chapters Widget Styles
 */

.salut-chapters {
    --primary: #282F47;
    --primary-light: #3a4460;
    --text-secondary: #6b7280;
    --white: #ffffff;

    width: 100%;
    padding: 100px 40px;
    background: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.salut-chapters__inner {
    max-width: 800px;
    margin: 0 auto;
}

/* Header */
.salut-chapters__header {
    text-align: center;
    margin-bottom: 56px;
}

.salut-chapters__headline {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 20px;
}

.salut-chapters__description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* List */
.salut-chapters__list {
    display: flex;
    flex-direction: column;
}

/* Item */
.salut-chapters__item {
    border-bottom: 1px solid #e5e7eb;
}

.salut-chapters__item:first-child {
    border-top: 1px solid #e5e7eb;
}

/* Item Header */
.salut-chapters__item-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.salut-chapters__item-header:hover {
    padding-left: 8px;
}

/* Number */
.salut-chapters__number {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.3;
    min-width: 28px;
}

/* Title */
.salut-chapters__title {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
}

/* Toggle */
.salut-chapters__toggle {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F2F2F3;
    border-radius: 50%;
    color: var(--primary);
    font-size: 18px;
    font-weight: 300;
    transition: all 0.3s ease;
}

.salut-chapters__toggle::before {
    content: "+";
}

.salut-chapters__item.active .salut-chapters__toggle {
    background: var(--primary);
    color: var(--white);
}

.salut-chapters__item.active .salut-chapters__toggle::before {
    content: "−";
}

/* Item Body */
.salut-chapters__item-body {
    display: none;
    padding: 0 0 24px 48px;
}

.salut-chapters__item.active .salut-chapters__item-body {
    display: block;
}

/* Text */
.salut-chapters__text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* Benefits */
.salut-chapters__benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.salut-chapters__benefit {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--primary);
}

.salut-chapters__benefit::before {
    content: "\2713";
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(40, 47, 71, 0.12);
    color: var(--primary);
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    margin-top: 1px;
}

/* CTA */
.salut-chapters__cta {
    margin-top: 56px;
    padding-top: 56px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.salut-chapters__cta-text {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.salut-chapters__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 2px 4px rgba(40, 47, 71, 0.2),
        0 4px 12px rgba(40, 47, 71, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.salut-chapters__cta-btn:hover {
    transform: translateY(-2px);
    color: #ffffff !important;
    box-shadow:
        0 4px 8px rgba(40, 47, 71, 0.25),
        0 8px 24px rgba(40, 47, 71, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .salut-chapters {
        padding: 64px 24px;
    }

    .salut-chapters__headline {
        font-size: 28px;
    }

    .salut-chapters__item-header {
        padding: 20px 0;
        gap: 16px;
    }

    .salut-chapters__item-header:hover {
        padding-left: 0;
    }

    .salut-chapters__title {
        font-size: 16px;
    }

    .salut-chapters__item-body {
        padding: 0 0 20px 0;
    }

    .salut-chapters__cta-btn {
        width: 100%;
        justify-content: center;
    }
}
