/* OUKE Machinery FAQ Section Styles */

/* Reset and Base Styles for FAQ Section */
.ouke-faq-section * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.ouke-faq-section {
    width: 100%;
    padding: 80px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
}

.ouke-faq-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styles */
.ouke-faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.ouke-faq-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a3a5c;
    letter-spacing: 2px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.ouke-faq-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2b5990 0%, #d32f2f 100%);
    border-radius: 2px;
}

.ouke-faq-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: #2b5990;
    margin: 30px 0 20px;
}

.ouke-faq-intro {
    font-size: 16px;
    color: #555;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

/* FAQ List */
.ouke-faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* FAQ Item */
.ouke-faq-item {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 5px solid #2b5990;
}

.ouke-faq-item:hover {
    box-shadow: 0 8px 25px rgba(43, 89, 144, 0.15);
    transform: translateY(-2px);
}

.ouke-faq-item.active {
    border-left-color: #d32f2f;
}

/* Question Styles */
.ouke-faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    transition: all 0.3s ease;
    user-select: none;
}

.ouke-faq-question:hover {
    background: #f8f9fb;
}

.ouke-faq-item.active .ouke-faq-question {
    background: linear-gradient(135deg, #2b5990 0%, #1a3a5c 100%);
}

.ouke-faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1a3a5c;
    margin: 0;
    padding-right: 20px;
    flex: 1;
    transition: color 0.3s ease;
}

.ouke-faq-item.active .ouke-faq-question h3 {
    color: #ffffff;
}

/* Icon Styles */
.ouke-faq-icon {
    font-size: 28px;
    font-weight: 300;
    color: #2b5990;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e8f0f8;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.ouke-faq-item.active .ouke-faq-icon {
    transform: rotate(45deg);
    background: #ffffff;
    color: #d32f2f;
}

/* Answer Styles */
.ouke-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8f9fb;
}

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

.ouke-faq-answer p,
.ouke-faq-answer ul {
    padding: 0 30px 25px;
    color: #444;
    font-size: 15px;
    line-height: 1.8;
}

.ouke-faq-answer p:first-child {
    padding-top: 20px;
}

.ouke-faq-answer ul {
    padding-left: 50px;
    padding-right: 30px;
    list-style: none;
}

.ouke-faq-answer ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
}

.ouke-faq-answer ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #2b5990;
    font-weight: bold;
}

.ouke-faq-answer strong {
    color: #1a3a5c;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ouke-faq-section {
        padding: 50px 15px;
    }

    .ouke-faq-title {
        font-size: 28px;
        letter-spacing: 1px;
    }

    .ouke-faq-subtitle {
        font-size: 18px;
    }

    .ouke-faq-intro {
        font-size: 14px;
    }

    .ouke-faq-question {
        padding: 20px 20px;
    }

    .ouke-faq-question h3 {
        font-size: 16px;
    }

    .ouke-faq-answer p,
    .ouke-faq-answer ul {
        padding: 0 20px 20px;
        font-size: 14px;
    }

    .ouke-faq-answer p:first-child {
        padding-top: 15px;
    }

    .ouke-faq-answer ul {
        padding-left: 40px;
    }

    .ouke-faq-icon {
        width: 30px;
        height: 30px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .ouke-faq-title {
        font-size: 24px;
    }

    .ouke-faq-subtitle {
        font-size: 16px;
    }

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

    .ouke-faq-answer p,
    .ouke-faq-answer ul {
        font-size: 13px;
    }
}

/* Print Styles */
@media print {
    .ouke-faq-section {
        background: white;
    }

    .ouke-faq-item {
        page-break-inside: avoid;
        border: 1px solid #ddd;
        margin-bottom: 20px;
    }

    .ouke-faq-answer {
        max-height: none !important;
    }

    .ouke-faq-icon {
        display: none;
    }
}
