/* YourBoxOffice - FAQ Page 2026 Design */
/* Modern, Minimalist Design System */
/* SCOPED: All styles only apply within .faq-2026 wrapper */

/* ============================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================ */
.faq-2026 {
    /* Brand Colors */
    --ybo-dark: #1c323a;
    --ybo-blue: #319eca;
    --ybo-blue-light: #4db3d9;
    --ybo-blue-dark: #2a8bb8;
    --ybo-yellow: #e3ba2d;
    --ybo-yellow-light: #edc94d;
    --ybo-yellow-dark: #c9a526;
    --ybo-grey: #e9f0f3;
    --ybo-grey-light: #f5f8fa;
    --ybo-grey-dark: #d0dce2;

    /* Neutral Colors */
    --color-white: #ffffff;
    --color-black: #000000;
    --color-text: #2d3748;
    --color-text-light: #64748b;
    --color-text-muted: #94a3b8;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(28, 50, 58, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(28, 50, 58, 0.1), 0 2px 4px -2px rgba(28, 50, 58, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(28, 50, 58, 0.1), 0 4px 6px -4px rgba(28, 50, 58, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(28, 50, 58, 0.1), 0 8px 10px -6px rgba(28, 50, 58, 0.1);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
}

/* ============================================
   HERO SECTION
   ============================================ */
.faq-2026 .page-hero-2026 {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: var(--space-24) var(--space-6);
    background: linear-gradient(160deg, #1c323a 0%, #234550 30%, #2a5565 50%, #234550 70%, #1c323a 100%);
}

.faq-2026 .page-hero-2026.hero-short {
    min-height: 350px;
    padding: var(--space-16) var(--space-6);
}

/* Decorative glowing orbs */
.faq-2026 .page-hero-2026::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(49, 158, 202, 0.2) 0%, transparent 60%);
    pointer-events: none;
    animation: faq-float 12s ease-in-out infinite;
}

.faq-2026 .page-hero-2026::after {
    content: '';
    position: absolute;
    bottom: -40%;
    right: -20%;
    width: 70%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(227, 186, 45, 0.12) 0%, transparent 60%);
    pointer-events: none;
    animation: faq-float 15s ease-in-out infinite reverse;
}

@keyframes faq-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -15px) scale(1.05); }
}

.faq-2026 .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    filter: blur(2px);
}

.faq-2026 .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(28, 50, 58, 0.3) 0%, rgba(28, 50, 58, 0.6) 100%);
}

.faq-2026 .hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
    padding: var(--space-8);
}

.faq-2026 .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-6);
    backdrop-filter: blur(10px);
}

.faq-2026 .hero-badge svg {
    width: 18px;
    height: 18px;
    color: var(--ybo-yellow);
}

.faq-2026 .hero-content h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    color: var(--color-white);
    margin: 0 0 var(--space-4) 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.faq-2026 .hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================
   CONTENT SECTION
   ============================================ */
.faq-2026 .faq-content-2026 {
    padding: var(--space-16) var(--space-6);
    background: var(--ybo-grey-light);
}

.faq-2026 .section-container {
    max-width: 900px;
    margin: 0 auto;
}

/* ============================================
   SEARCH BOX
   ============================================ */
.faq-2026 .faq-search-box {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    background: var(--color-white);
    border: 2px solid var(--ybo-grey-dark);
    border-radius: var(--radius-xl);
    padding: var(--space-4) var(--space-6);
    margin-bottom: var(--space-10);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.faq-2026 .faq-search-box:focus-within {
    border-color: var(--ybo-blue);
    box-shadow: 0 0 0 4px rgba(49, 158, 202, 0.1);
}

.faq-2026 .faq-search-box svg {
    width: 24px;
    height: 24px;
    color: var(--color-text-muted);
    flex-shrink: 0;
}

.faq-2026 .faq-search-box input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px;
    color: var(--color-text);
    outline: none;
}

.faq-2026 .faq-search-box input::placeholder {
    color: var(--color-text-muted);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-2026 .faq-accordion {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.faq-2026 .faq-item {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-2026 .faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-2026 .faq-item.expanded {
    box-shadow: var(--shadow-lg);
}

.faq-2026 .faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    width: 100%;
    padding: var(--space-6);
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition-base);
    /* Reset button styles */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    font-family: inherit;
}

.faq-2026 .faq-question:hover {
    background: var(--ybo-grey-light);
}

.faq-2026 .faq-question-text {
    font-size: 17px;
    font-weight: 600;
    color: var(--ybo-dark);
    line-height: 1.4;
}

.faq-2026 .faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--ybo-grey-light);
    border-radius: var(--radius-md);
    flex-shrink: 0;
    transition: all var(--transition-base);
}

.faq-2026 .faq-icon svg {
    width: 18px;
    height: 18px;
    color: var(--ybo-blue);
    transition: transform var(--transition-base);
}

.faq-2026 .faq-item.expanded .faq-icon {
    background: var(--ybo-blue);
}

.faq-2026 .faq-item.expanded .faq-icon svg {
    color: var(--color-white);
    transform: rotate(45deg);
}

.faq-2026 .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.3s ease;
    padding-top: 0;
}

.faq-2026 .faq-item.expanded .faq-answer {
    max-height: 2000px;
    padding-top: 0;
    transition: max-height 0.5s ease-in;
}

.faq-2026 .faq-answer-content {
    padding: 0 var(--space-6) var(--space-6) var(--space-6);
    color: var(--color-text-light);
    font-size: 15px;
    line-height: 1.7;
}

.faq-2026 .faq-answer-content p {
    margin: 0 0 var(--space-4) 0;
}

.faq-2026 .faq-answer-content p:last-child {
    margin-bottom: 0;
}

.faq-2026 .faq-answer-content a {
    color: var(--ybo-blue);
    text-decoration: none;
    font-weight: 500;
}

.faq-2026 .faq-answer-content a:hover {
    text-decoration: underline;
}

.faq-2026 .faq-answer-content ul,
.faq-2026 .faq-answer-content ol {
    margin: var(--space-4) 0;
    padding-left: var(--space-6);
}

.faq-2026 .faq-answer-content li {
    margin-bottom: var(--space-2);
}

/* ============================================
   NO RESULTS MESSAGE
   ============================================ */
.faq-2026 .faq-no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-16) var(--space-6);
    text-align: center;
}

.faq-2026 .faq-no-results svg {
    width: 64px;
    height: 64px;
    color: var(--color-text-muted);
    margin-bottom: var(--space-6);
}

.faq-2026 .faq-no-results h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--ybo-dark);
    margin: 0 0 var(--space-2) 0;
}

.faq-2026 .faq-no-results p {
    font-size: 15px;
    color: var(--color-text-light);
    margin: 0;
}

.faq-2026 .faq-no-results a {
    color: var(--ybo-blue);
    text-decoration: none;
    font-weight: 500;
}

.faq-2026 .faq-no-results a:hover {
    text-decoration: underline;
}

/* ============================================
   CONTACT CTA
   ============================================ */
.faq-2026 .faq-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
    background: linear-gradient(135deg, var(--ybo-dark) 0%, #234550 100%);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    margin-top: var(--space-12);
    box-shadow: var(--shadow-xl);
}

.faq-2026 .faq-cta-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-white);
    margin: 0 0 var(--space-2) 0;
}

.faq-2026 .faq-cta-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ============================================
   BUTTONS - 2026
   ============================================ */
.faq-2026 .btn-2026 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.faq-2026 .btn-2026-primary {
    background: var(--ybo-blue);
    color: var(--color-white);
    box-shadow: 0 4px 14px 0 rgba(49, 158, 202, 0.39);
}

.faq-2026 .btn-2026-primary:hover {
    background: var(--ybo-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(49, 158, 202, 0.45);
    color: var(--color-white);
    text-decoration: none;
}

.faq-2026 .btn-2026-lg {
    padding: var(--space-4) var(--space-8);
    font-size: 16px;
    border-radius: var(--radius-xl);
}

.faq-2026 .btn-2026 svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
/* Default visible state - ensures content shows even without JS */
.faq-2026 .animate-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* When JS is available, hide elements initially for animation */
.faq-2026.js-enabled .animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
}

.faq-2026.js-enabled .animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for FAQ items */
.faq-2026 .faq-item:nth-child(1) { transition-delay: 0.05s; }
.faq-2026 .faq-item:nth-child(2) { transition-delay: 0.1s; }
.faq-2026 .faq-item:nth-child(3) { transition-delay: 0.15s; }
.faq-2026 .faq-item:nth-child(4) { transition-delay: 0.2s; }
.faq-2026 .faq-item:nth-child(5) { transition-delay: 0.25s; }
.faq-2026 .faq-item:nth-child(6) { transition-delay: 0.3s; }
.faq-2026 .faq-item:nth-child(7) { transition-delay: 0.35s; }
.faq-2026 .faq-item:nth-child(8) { transition-delay: 0.4s; }
.faq-2026 .faq-item:nth-child(9) { transition-delay: 0.45s; }
.faq-2026 .faq-item:nth-child(10) { transition-delay: 0.5s; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .faq-2026 .page-hero-2026.hero-short {
        min-height: 300px;
        padding: var(--space-12) var(--space-4);
    }

    .faq-2026 .hero-content {
        padding: var(--space-4);
    }

    .faq-2026 .hero-content h1 {
        font-size: 28px;
    }

    .faq-2026 .hero-description {
        font-size: 16px;
    }

    .faq-2026 .faq-content-2026 {
        padding: var(--space-10) var(--space-4);
    }

    .faq-2026 .faq-search-box {
        padding: var(--space-3) var(--space-4);
    }

    .faq-2026 .faq-question {
        padding: var(--space-5);
    }

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

    .faq-2026 .faq-answer-content {
        padding: 0 var(--space-5) var(--space-5) var(--space-5);
        font-size: 14px;
    }

    .faq-2026 .faq-cta {
        flex-direction: column;
        text-align: center;
        padding: var(--space-8);
    }

    .faq-2026 .faq-cta-content h3 {
        font-size: 20px;
    }

    .faq-2026 .btn-2026-lg {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .faq-2026 .hero-badge {
        font-size: 12px;
        padding: var(--space-1) var(--space-3);
    }

    .faq-2026 .faq-icon {
        width: 28px;
        height: 28px;
    }

    .faq-2026 .faq-icon svg {
        width: 14px;
        height: 14px;
    }
}
