﻿/* Modern Complete FAQ Design - Perfecttio Edition
   Created: 2025-11-18 18:14:33 by rihardmens
   Updated with Perfecttio Brand Colors & Enhanced Styling
*/

:root {
    /* 🧡 PERFECTTIO ORANGE */
    --perfecttio-orange-50: #fff5f0;
    --perfecttio-orange-100: #ffe6d9;
    --perfecttio-orange-200: #ffc9ad;
    --perfecttio-orange-300: #ffa680;
    --perfecttio-orange-400: #ff8554;
    --perfecttio-orange-500: #FF6B35;
    --perfecttio-orange-600: #e65a28;
    --perfecttio-orange-700: #cc4a1c;
    --perfecttio-orange-800: #b33a11;
    --perfecttio-orange-900: #992a05;
    /* ⚫ PERFECTTIO BLACK */
    --perfecttio-black-50: #f5f5f5;
    --perfecttio-black-100: #e8e8e8;
    --perfecttio-black-200: #d1d1d1;
    --perfecttio-black-300: #b0b0b0;
    --perfecttio-black-400: #888888;
    --perfecttio-black-500: #666666;
    --perfecttio-black-600: #4a4a4a;
    --perfecttio-black-700: #2d2d2d;
    --perfecttio-black-800: #1a1a1a;
    --perfecttio-black-900: #0d0d0d;
    /* ⚪ PERFECTTIO NEUTRAL */
    --perfecttio-gray-50: #fafafa;
    --perfecttio-gray-100: #f4f4f5;
    --perfecttio-gray-200: #e4e4e7;
    --perfecttio-gray-300: #d4d4d8;
    --perfecttio-gray-400: #a1a1aa;
    --perfecttio-gray-500: #71717a;
    --perfecttio-gray-600: #52525b;
    --perfecttio-gray-700: #3f3f46;
    --perfecttio-gray-800: #27272a;
    --perfecttio-gray-900: #18181b;
    /* 🔥 PERFECTTIO GRADIENTS */
    --gradient-perfecttio: linear-gradient(135deg, #FF6B35 0%, #ff8554 50%, #ffa680 100%);
    --gradient-perfecttio-dark: linear-gradient(135deg, #e65a28 0%, #FF6B35 100%);
    --gradient-perfecttio-soft: linear-gradient(135deg, rgba(255, 107, 53, 0.2) 0%, rgba(255, 133, 84, 0.1) 100%);
    /* 🎨 FAQ Mappings */
    --faq-bg-primary: var(--perfecttio-black-900);
    --faq-bg-secondary: var(--perfecttio-black-800);
    --faq-accent: var(--perfecttio-orange-500);
    --faq-accent-hover: var(--perfecttio-orange-600);
    --faq-text-primary: var(--perfecttio-gray-50);
    --faq-text-secondary: var(--perfecttio-gray-300);
    --faq-text-muted: var(--perfecttio-gray-400);
    --faq-border: var(--perfecttio-gray-800);
}

/* ========== MAIN SECTION ========== */

.faq-modern {
    background: radial-gradient(ellipse at top, rgba(255, 107, 53, 0.08) 0%, transparent 60%), linear-gradient(180deg, var(--faq-bg-primary) 0%, var(--faq-bg-secondary) 50%, var(--faq-bg-primary) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

    .faq-modern::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 20% 30%, rgba(255, 107, 53, 0.12) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(255, 133, 84, 0.08) 0%, transparent 50%);
        pointer-events: none;
    }

    /* Decorative top line */
    .faq-modern::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--faq-accent), transparent);
        opacity: 0.4;
    }

.faq-modern-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

/* ========== HEADER SECTION ========== */

.faq-modern-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

    .faq-modern-header h1 {
        font-size: 4.5rem;
        font-weight: 900;
        background: var(--gradient-perfecttio);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin-bottom: 25px;
        line-height: 1.1;
        letter-spacing: -0.03em;
    }

.faq-lead {
    font-size: 1.45rem;
    color: var(--faq-text-secondary);
    margin-bottom: 18px;
    font-weight: 600;
    line-height: 1.6;
}

.faq-sub {
    font-size: 1.15rem;
    color: var(--faq-text-muted);
    margin-bottom: 35px;
    line-height: 1.7;
}

.faq-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: var(--gradient-perfecttio);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

    .faq-cta-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(255, 107, 53, 0.45);
    }

    .faq-cta-btn i {
        transition: transform 0.3s ease;
        font-size: 1.1rem;
    }

    .faq-cta-btn:hover i {
        transform: translateX(5px);
    }

/* ========== CATEGORY HEADER ========== */

.faq-category {
    margin-bottom: 70px;
}

.faq-category-header {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    margin-bottom: 40px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.6), rgba(26, 26, 26, 0.4));
    backdrop-filter: blur(10px);
    border-radius: 18px;
    border: 1px solid var(--faq-border);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

    /* Animated gradient border effect */
    .faq-category-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient-perfecttio);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .faq-category-header:hover::before {
        opacity: 1;
    }

    .faq-category-header:hover {
        border-color: rgba(255, 107, 53, 0.3);
        box-shadow: 0 8px 25px rgba(255, 107, 53, 0.1);
    }

.faq-cat-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-perfecttio-soft);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--faq-accent);
    font-size: 2.2rem;
    flex-shrink: 0;
    border: 2px solid rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.faq-category-header:hover .faq-cat-icon {
    transform: scale(1.05) rotate(-5deg);
    background: var(--gradient-perfecttio);
    color: white;
}

.faq-category-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient-perfecttio);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    line-height: 1.2;
}

.faq-category-header p {
    font-size: 1.05rem;
    color: var(--faq-text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ========== FAQ LIST ========== */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ========== FAQ CARD ========== */

.faq-card {
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.5), rgba(26, 26, 26, 0.3));
    backdrop-filter: blur(10px);
    border: 1px solid var(--faq-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

    /* Left accent bar */
    .faq-card::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: var(--gradient-perfecttio);
        transform: scaleY(0);
        transition: transform 0.3s ease;
    }

    .faq-card:hover {
        border-color: rgba(255, 107, 53, 0.4);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
        transform: translateX(4px);
    }

    .faq-card.active {
        border-color: rgba(255, 107, 53, 0.6);
        background: linear-gradient(135deg, rgba(42, 42, 42, 0.7), rgba(255, 107, 53, 0.08));
        box-shadow: 0 8px 25px rgba(255, 107, 53, 0.15);
    }

        .faq-card.active::before {
            transform: scaleY(1);
        }

/* ========== FAQ BUTTON ========== */

.faq-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 30px;
    background: transparent;
    border: none;
    color: var(--faq-text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

    .faq-btn:hover {
        background: rgba(255, 107, 53, 0.06);
    }

.faq-card.active .faq-btn {
    background: rgba(255, 107, 53, 0.1);
}

.faq-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--gradient-perfecttio-soft);
    border-radius: 50%;
    color: var(--faq-accent);
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
    border: 2px solid rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.faq-card.active .faq-num {
    background: var(--gradient-perfecttio);
    color: white;
    border-color: var(--faq-accent);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.faq-title {
    flex: 1;
    color: var(--faq-text-secondary);
    transition: color 0.3s ease;
}

.faq-card.active .faq-title {
    color: var(--faq-text-primary);
}

.faq-btn i {
    color: var(--faq-text-muted);
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}

.faq-card:hover .faq-btn i {
    color: var(--faq-accent);
}

.faq-card.active .faq-btn i {
    color: var(--faq-accent);
    transform: rotate(180deg);
}

/* ========== FAQ ANSWER ========== */

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-top: 1px solid transparent;
}

.faq-card.active .faq-answer {
    max-height: 3000px;
    border-top-color: rgba(255, 107, 53, 0.25);
}

.faq-answer {
    padding: 0 30px;
    padding-left: 94px;
}

.faq-card.active .faq-answer {
    padding-top: 28px;
    padding-bottom: 32px;
}

.faq-answer p {
    color: var(--faq-text-secondary);
    line-height: 1.85;
    font-size: 1.02rem;
    margin: 0 0 16px 0;
}

    .faq-answer p:last-child {
        margin-bottom: 0;
    }

/* Highlight links in answers */
.faq-answer a {
    color: var(--faq-accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

    .faq-answer a:hover {
        border-bottom-color: var(--faq-accent);
    }

/* ========== CONTACT CTA SECTION ========== */

.faq-contact-section {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 133, 84, 0.06));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 20px;
    padding: 75px;
    text-align: center;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

    /* Animated background glow */
    .faq-contact-section::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
        animation: pulse 6s ease-in-out infinite;
    }

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.faq-contact-inner {
    position: relative;
    z-index: 1;
}

    .faq-contact-inner h2 {
        font-size: 2.8rem;
        font-weight: 900;
        background: var(--gradient-perfecttio);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin-bottom: 20px;
    }

    .faq-contact-inner p {
        font-size: 1.25rem;
        color: var(--faq-text-secondary);
        margin-bottom: 40px;
        line-height: 1.7;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

.faq-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: var(--gradient-perfecttio);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.15rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.35);
    position: relative;
    overflow: hidden;
}

    .faq-contact-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.5s ease;
    }

    .faq-contact-btn:hover::before {
        left: 100%;
    }

    .faq-contact-btn:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 35px rgba(255, 107, 53, 0.5);
    }

    .faq-contact-btn i {
        transition: transform 0.3s ease;
        font-size: 1.2rem;
    }

    .faq-contact-btn:hover i {
        transform: translateX(6px);
    }

/* ========== RESPONSIVE DESIGN ========== */

@media (max-width: 1024px) {
    .faq-modern-container {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .faq-modern-container {
        padding: 0 20px;
    }

    .faq-modern-header h1 {
        font-size: 3rem;
    }

    .faq-lead {
        font-size: 1.25rem;
    }

    .faq-category-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 22px;
        padding: 35px 25px;
    }

        .faq-category-header h2 {
            font-size: 1.8rem;
        }

    .faq-btn {
        padding: 20px 22px;
        gap: 16px;
    }

    .faq-answer {
        padding: 0 22px;
        padding-left: 22px;
    }

    .faq-card.active .faq-answer {
        padding-top: 22px;
        padding-bottom: 28px;
    }

    .faq-contact-section {
        padding: 55px 35px;
    }

    .faq-contact-inner h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .faq-modern-container {
        padding: 0 15px;
    }

    .faq-modern-header h1 {
        font-size: 2.4rem;
    }

    .faq-modern-header {
        margin-bottom: 50px;
    }

    .faq-btn {
        padding: 18px 18px;
        font-size: 1rem;
    }

    .faq-num {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .faq-title {
        font-size: 1rem;
    }

    .faq-contact-section {
        padding: 45px 25px;
    }

    .faq-contact-inner h2 {
        font-size: 2rem;
    }

    .faq-contact-inner p {
        font-size: 1.1rem;
    }

    .faq-cat-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
}
