/* SENYUMTOTO CSS 04 - dipisahkan dari index.html */
.section-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* ==============================
   JUDUL BAGIAN
============================== */
.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #8b0000;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #d60000;
    text-shadow: 0 1px 0 #ffffff;
}

/* ==============================
   DESCRIPTION SECTION
============================== */
.description-section {
    background:
        radial-gradient(circle at 10% 15%, rgba(255,255,255,.95) 0 35px, transparent 37px),
        radial-gradient(circle at 17% 18%, rgba(255,255,255,.9) 0 28px, transparent 30px),
        radial-gradient(circle at 84% 12%, rgba(255,255,255,.9) 0 38px, transparent 40px),
        linear-gradient(180deg, #ffffff 0%, #fff0f0 55%, #ffd6d6 100%);
    padding: 30px;
    border-radius: 18px;
    border: 1px solid #ff9c9c;
    box-shadow:
        0 10px 28px rgba(180, 0, 0, 0.15),
        inset 0 1px 0 rgba(255,255,255,.95);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.description-section::before {
    content: "";
    position: absolute;
    top: -30px;
    left: -20px;
    width: 180px;
    height: 90px;
    background:
        radial-gradient(circle at 30% 65%, rgba(255,255,255,.9) 0 28px, transparent 30px),
        radial-gradient(circle at 55% 45%, rgba(255,255,255,.95) 0 38px, transparent 40px),
        radial-gradient(circle at 78% 65%, rgba(255,255,255,.9) 0 28px, transparent 30px);
    opacity: .65;
    pointer-events: none;
}

.description-content {
    line-height: 1.8;
    color: #6b3434;
    font-size: 16px;
    position: relative;
    z-index: 1;
}

.description-content p {
    margin-bottom: 20px;
}

.description-content strong {
    color: #a80000;
    font-weight: 700;
}

/* ==============================
   REVIEWS SECTION
============================== */
.reviews-section {
    background:
        linear-gradient(180deg, #ffffff 0%, #fff0f0 55%, #ffdede 100%);
    padding: 30px;
    border-radius: 18px;
    border: 1px solid #ffa7a7;
    box-shadow:
        0 10px 28px rgba(170, 0, 0, 0.14),
        inset 0 1px 0 rgba(255,255,255,.95);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.reviews-section::before {
    content: "";
    position: absolute;
    top: -35px;
    right: -25px;
    width: 220px;
    height: 110px;
    background:
        radial-gradient(circle at 25% 65%, rgba(255,255,255,.95) 0 30px, transparent 32px),
        radial-gradient(circle at 50% 45%, rgba(255,255,255,.95) 0 45px, transparent 47px),
        radial-gradient(circle at 78% 65%, rgba(255,255,255,.9) 0 32px, transparent 34px);
    opacity: .75;
    pointer-events: none;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.review-card {
    background:
        linear-gradient(145deg, rgba(255,255,255,.98), rgba(255,224,224,.95));
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #ffb9b9;
    border-left: 5px solid #d10000;
    box-shadow:
        0 6px 18px rgba(170, 0, 0, 0.12),
        inset 0 1px 0 rgba(255,255,255,.9);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    position: relative;
    overflow: hidden;
}

.review-card::after {
    content: "☁";
    position: absolute;
    right: 16px;
    top: 12px;
    color: rgba(210, 0, 0, .18);
    font-size: 42px;
    pointer-events: none;
}

.review-card:hover {
    transform: translateY(-6px);
    border-color: #ff6161;
    box-shadow:
        0 14px 28px rgba(190, 0, 0, 0.22),
        0 0 20px rgba(255, 133, 133, .35);
}

.reviewer-name {
    font-size: 18px;
    font-weight: 700;
    color: #9b0000;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.reviewer-name::before {
    content: "☁";
    font-size: 18px;
    color: #d60000;
}

.review-text {
    font-size: 15px;
    line-height: 1.7;
    color: #815050;
    font-style: italic;
    position: relative;
    z-index: 1;
}

/* ==============================
   FAQ SECTION
============================== */
.faq-section {
    background:
        radial-gradient(circle at 8% 10%, rgba(255,255,255,.95) 0 38px, transparent 40px),
        radial-gradient(circle at 14% 13%, rgba(255,255,255,.9) 0 28px, transparent 30px),
        radial-gradient(circle at 90% 8%, rgba(255,255,255,.95) 0 42px, transparent 44px),
        linear-gradient(180deg, #ffffff 0%, #fff0f0 55%, #ffd8d8 100%);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #ff9999;
    box-shadow:
        0 12px 32px rgba(175, 0, 0, 0.17),
        inset 0 1px 0 rgba(255,255,255,.95);
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(
        90deg,
        #ffffff,
        #ff7d7d,
        #c30000,
        #ff7d7d,
        #ffffff
    );
    background-size: 200% 100%;
    animation: skyGradientMove 5s ease infinite;
}

.faq-section::after {
    content: "";
    position: absolute;
    bottom: -45px;
    right: -30px;
    width: 250px;
    height: 130px;
    background:
        radial-gradient(circle at 22% 62%, rgba(255,255,255,.95) 0 38px, transparent 40px),
        radial-gradient(circle at 48% 42%, rgba(255,255,255,.98) 0 55px, transparent 57px),
        radial-gradient(circle at 78% 62%, rgba(255,255,255,.93) 0 40px, transparent 42px);
    opacity: .75;
    pointer-events: none;
}

@keyframes skyGradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.faq-section .section-title {
    font-size: 28px;
    font-weight: 800;
    color: #950000;
    margin-bottom: 35px;
    padding-bottom: 15px;
    position: relative;
    text-align: center;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    border-bottom: none;
    text-shadow: 0 2px 0 rgba(255,255,255,.9);
}

.faq-section .section-title::before {
    content: "☁";
    display: inline-block;
    margin-right: 10px;
    color: #e00000;
    font-size: 25px;
}

.faq-section .section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #cf0000, transparent);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(207, 0, 0, .4);
}

/* ==============================
   FAQ CONTAINER
============================== */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: relative;
    z-index: 1;
}

.faq-item {
    background:
        linear-gradient(145deg, rgba(255,255,255,.97), rgba(255,228,228,.95));
    border-radius: 15px;
    padding: 28px 30px;
    border: 1px solid #ffbcbc;
    position: relative;
    transition: all .3s ease;
    overflow: hidden;
    box-shadow:
        0 5px 15px rgba(165, 0, 0, .08),
        inset 0 1px 0 rgba(255,255,255,.95);
}

.faq-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #ff8a8a, #bd0000);
    opacity: .65;
    transition: opacity .3s ease, width .3s ease;
}

.faq-item::after {
    content: "☁";
    position: absolute;
    right: 20px;
    top: 10px;
    color: rgba(190, 0, 0, .12);
    font-size: 52px;
    pointer-events: none;
}

.faq-item:hover {
    transform: translateY(-4px);
    border-color: #ff7b7b;
    box-shadow:
        0 12px 27px rgba(180, 0, 0, .17),
        0 0 20px rgba(255, 114, 114, .25);
}

.faq-item:hover::before {
    opacity: 1;
    width: 7px;
}

/* ==============================
   FAQ QUESTION
============================== */
.faq-question {
    font-size: 18px;
    font-weight: 700;
    color: #8d1515;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    position: relative;
    z-index: 1;
}

.faq-question::before {
    content: "Q.";
    color: #c90000;
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    background: #ffe7e7;
    padding: 2px 7px;
    border-radius: 7px;
    border: 1px solid #ffa9a9;
}

/* ==============================
   FAQ ANSWER
============================== */
.faq-answer {
    position: relative;
    padding-left: 38px;
    z-index: 1;
}

.faq-answer::before {
    content: "A.";
    position: absolute;
    left: 0;
    top: 0;
    color: #ffffff;
    background: linear-gradient(180deg, #e00000, #9c0000);
    font-weight: 800;
    font-size: 15px;
    padding: 2px 7px;
    border-radius: 7px;
    box-shadow: 0 3px 8px rgba(160, 0, 0, .2);
}

.faq-answer p {
    font-size: 16px;
    line-height: 1.7;
    color: #845050;
    margin: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ==============================
   ANIMASI MASUK
============================== */
@keyframes cloudFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item {
    animation: cloudFadeIn .45s ease-out forwards;
    opacity: 0;
}

.faq-item:nth-child(1) {
    animation-delay: .1s;
}

.faq-item:nth-child(2) {
    animation-delay: .2s;
}

.faq-item:nth-child(3) {
    animation-delay: .3s;
}

.faq-item:nth-child(4) {
    animation-delay: .4s;
}

.faq-item:nth-child(5) {
    animation-delay: .5s;
}

/* ==============================
   RESPONSIVE TABLET
============================== */
@media (max-width: 768px) {
    .section-container {
        margin: 25px auto;
        padding: 0 15px;
    }

    .description-section,
    .reviews-section {
        padding: 24px 20px;
    }

    .faq-section {
        padding: 28px 20px;
        margin: 30px 0;
    }

    .faq-section .section-title {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .faq-item {
        padding: 22px 20px;
    }

    .faq-question {
        font-size: 16px;
        gap: 10px;
    }

    .faq-answer p {
        font-size: 15px;
    }

    .faq-question::before {
        font-size: 15px;
    }

    .faq-answer::before {
        font-size: 14px;
    }

    .faq-answer {
        padding-left: 36px;
    }
}

/* ==============================
   RESPONSIVE MOBILE
============================== */
@media (max-width: 480px) {
    .section-container {
        padding: 0 10px;
    }

    .description-section,
    .reviews-section,
    .faq-section {
        border-radius: 15px;
        padding: 20px 15px;
    }

    .section-title {
        font-size: 21px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .review-card {
        padding: 20px 17px;
    }

    .faq-section .section-title {
        font-size: 21px;
    }

    .faq-section .section-title::before {
        font-size: 20px;
    }

    .faq-item {
        padding: 18px 16px;
    }

    .faq-question {
        font-size: 15px;
    }

    .faq-answer p {
        font-size: 14px;
    }
}
