/* ============================================
   FAQ Section — Homepage & Full Page
   ============================================ */

/* --- Homepage Two-Column FAQ Section --- */
.faq-section {
    padding: 80px 0 0px;
    background: #f8f9fb;
}

/* Left Column */
.faq-left-col {
    padding-right: 48px;
}

.faq-badge {
    display: inline-block;
    background: #fff3e8;
    color: #f97316;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    border: 1px solid #fddcb5;
    margin-bottom: 18px;
}

.faq-left-title {
    font-size: 34px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 18px;
}

.faq-left-title::after {
    content: '';
    display: block;
    width: 55px;
    height: 4px;
    background: #f97316;
    border-radius: 2px;
    margin-top: 16px;
}

.faq-left-desc {
    font-size: 15px;
    color: #64748b;
    line-height: 1.75;
    margin-bottom: 32px;
}

/* Stats */
.faq-stats {
    display: flex;
    gap: 28px;
    margin-bottom: 36px;
}

.faq-stat {
    display: flex;
    flex-direction: column;
}

.faq-stat-number {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.faq-stat-label {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Buttons */
.faq-left-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.faq-btn-primary {
    display: inline-block;
    padding: 11px 26px;
    background: #f97316;
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.faq-btn-primary:hover {
    background: #ea6c0a;
    color: #fff;
    text-decoration: none;
}

.faq-btn-outline {
    display: inline-block;
    padding: 11px 26px;
    background: transparent;
    color: #0f172a;
    border: 2px solid #0f172a;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.faq-btn-outline:hover {
    background: #0f172a;
    color: #fff;
    text-decoration: none;
}

/* Right Column */
.faq-right-col {
    padding-left: 20px;
}

/* --- Accordion Wrapper --- */
.faq-accordion {
    width: 100%;
}

/* --- Each FAQ Item (uses <details>) --- */
.faq-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    border: 1px solid #e8edf3;
    transition: box-shadow 0.2s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.faq-item[open] {
    border-color: #0f172a;
}

.faq-item summary {
    list-style: none;
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    user-select: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '\f067';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 13px;
    color: #f97316;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
    content: '\f068';
}

.faq-item[open] summary {
    color: #f97316;
    border-bottom: 1px solid #e8edf3;
}

.faq-answer {
    padding: 18px 24px 22px;
    font-size: 15px;
    color: #475569;
    line-height: 1.75;
}


/* ============================================
   Full FAQ Page — Category Tabs
   ============================================ */

/* ============================================
   FAQ Page Hero — Illustrated Style
   ============================================ */
.faq-page-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #0f2744 100%);
    padding: 150px 0 90px;
    color: #fff;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* ---- Decorative layer ---- */
.faq-hero-deco {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

/* Large "FAQ" background letters */
.faq-big-letters {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(100px, 18vw, 200px);
    font-weight: 900;
    letter-spacing: 12px;
    color: rgba(255,255,255,0.08);
    white-space: nowrap;
    line-height: 1;
    user-select: none;
}

/* Floating "?" marks */
.faq-float {
    position: absolute;
    font-size: 52px;
    font-weight: 900;
    color: #f97316;
    font-family: Georgia, serif;
    background: rgba(249,115,22,0.12);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(249,115,22,0.3);
    box-shadow: 0 8px 24px rgba(249,115,22,0.15);
}

.faq-float-q1 {
    top: 28%;
    left: 8%;
    animation: faq-float-anim 4s ease-in-out infinite;
    font-size: 40px;
    width: 70px;
    height: 70px;
}

.faq-float-q2 {
    top: 20%;
    right: 10%;
    animation: faq-float-anim 4s ease-in-out infinite 1.5s;
    font-size: 32px;
    width: 56px;
    height: 56px;
    background: rgba(249,115,22,0.08);
    border-color: rgba(249,115,22,0.2);
}

@keyframes faq-float-anim {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-14px); }
}

/* Speech bubbles */
.faq-bubble {
    position: absolute;
    backdrop-filter: blur(2px);
}

.faq-bubble-1 {
    width: 110px;
    height: 90px;
    top: 14%;
    right: 22%;
    border-radius: 50% 50% 50% 0;
    background: rgba(249,115,22,0.1);
    border: 1.5px solid rgba(249,115,22,0.2);
    animation: faq-bubble-anim 5s ease-in-out infinite;
}

.faq-bubble-2 {
    width: 65px;
    height: 55px;
    bottom: 30%;
    left: 14%;
    border-radius: 50% 50% 0 50%;
    animation: faq-bubble-anim 5s ease-in-out infinite 2s;
    background: rgba(249,115,22,0.07);
    border: 1px solid rgba(249,115,22,0.15);
}

@keyframes faq-bubble-anim {
    0%, 100% { transform: scale(1) translateY(0); }
    50%       { transform: scale(1.06) translateY(-8px); }
}

/* Decorative circles */
.faq-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(249,115,22,0.12);
}

.faq-circle-1 { width: 200px; height: 200px; top: -60px; left: -60px; border-color: rgba(249,115,22,0.1); }
.faq-circle-2 { width: 140px; height: 140px; bottom: 10%; right: 5%; border-color: rgba(249,115,22,0.07); }
.faq-circle-3 { width: 60px;  height: 60px;  top: 35%; left: 22%; background: rgba(249,115,22,0.05); border: none; }

/* ---- Content ---- */
.faq-hero-content {
    position: relative;
    z-index: 2;
}

.faq-hero-content .faq-badge {
    background: rgba(249,115,22,0.15);
    color: #fb923c;
    border-color: rgba(249,115,22,0.35);
    margin-bottom: 20px;
}

.faq-page-hero h1 {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.faq-page-hero p {
    font-size: 17px;
    color: rgba(255,255,255,0.82);
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto 34px;
}

.faq-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.faq-hero-btn-primary {
    display: inline-block;
    padding: 14px 34px;
    background: #f97316;
    color: #fff;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(249,115,22,0.45);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.faq-hero-btn-primary:hover {
    background: #ea6c0a;
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(249,115,22,0.5);
}

.faq-hero-btn-ghost {
    display: inline-block;
    padding: 14px 28px;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    background: rgba(255,255,255,0.05);
}

.faq-hero-btn-ghost:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.5);
    color: #fff;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-page-hero {
        padding: 130px 0 70px;
    }

    .faq-page-hero h1 {
        font-size: 30px;
    }

    .faq-page-hero p {
        font-size: 15px;
    }

    .faq-float-q1 { left: 2%; }
    .faq-float-q2 { right: 2%; }
    .faq-bubble-1 { width: 80px; height: 80px; }
    .faq-bubble-2 { display: none; }
}

.faq-full-section {
    padding: 60px 0 80px;
    background: #f8f9fb;
}

/* Category Filter Tabs */
.faq-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.faq-tab-btn {
    padding: 9px 22px;
    border: 2px solid #e2e8f0;
    background: #fff;
    color: #475569;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.faq-tab-btn:hover,
.faq-tab-btn.active {
    background: #0f172a;
    border-color: #0f172a;
    color: #fff;
}

/* Category Group */
.faq-group {
    display: none;
}

.faq-group.active {
    display: block;
}

.faq-group-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

/* Contact CTA strip at bottom of full page */
.faq-contact-strip {
    background: #0f172a;
    padding: 50px 0;
    text-align: center;
    color: #fff;
}

.faq-contact-strip h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
}

.faq-contact-strip p {
    color: #94a3b8;
    margin-bottom: 24px;
    font-size: 15px;
}

.faq-contact-strip a {
    display: inline-block;
    padding: 13px 34px;
    background: #f97316;
    color: #fff;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.faq-contact-strip a:hover {
    background: #ea6c0a;
    color: #fff;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 991px) {
    .faq-left-col {
        padding-right: 15px;
        margin-bottom: 44px;
    }

    .faq-right-col {
        padding-left: 15px;
    }

    .faq-left-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 55px 0 0px;
    }

    .faq-left-title {
        font-size: 26px;
    }

    .faq-stats {
        gap: 20px;
    }

    .faq-stat-number {
        font-size: 24px;
    }

    .faq-item summary {
        font-size: 15px;
        padding: 16px 18px;
    }

    .faq-answer {
        padding: 14px 18px 18px;
    }

    .faq-page-hero h1 {
        font-size: 28px;
    }

    .faq-tabs {
        gap: 8px;
    }
}

/* ============================================
   Product Page FAQ — Compact Section
   ============================================ */
.faq-product-section {
    padding: 70px 0 80px;
    background: #f8f9fb;
}

.faq-product-section .faq-product-header {
    text-align: center;
    margin-bottom: 48px;
}

.faq-product-section .faq-badge {
    margin-bottom: 14px;
}

.faq-product-section .faq-product-title {
    font-size: 30px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}

.faq-product-section .faq-product-title::after {
    content: '';
    display: block;
    width: 55px;
    height: 4px;
    background: #f97316;
    border-radius: 2px;
    margin: 14px auto 0;
}

.faq-product-section .faq-product-desc {
    font-size: 15px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.faq-product-section .faq-accordion {
    max-width: 860px;
    margin: 0 auto;
}

.faq-product-section .faq-contact-cta {
    text-align: center;
    margin-top: 44px;
}

/* Secondary button — plain dark */
.faq-product-section .faq-contact-cta a {
    display: inline-block;
    padding: 13px 30px;
    background: #0f172a;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin: 6px 8px;
    transition: background 0.2s ease, transform 0.2s ease;
    vertical-align: middle;
}

.faq-product-section .faq-contact-cta a:hover {
    background: #1e293b;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Primary CTA — Book a Free Demo */
@keyframes faq-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.55); }
    70%  { box-shadow: 0 0 0 12px rgba(249, 115, 22, 0); }
    100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}

.faq-product-section .faq-contact-cta a.cta-orange {
    background: #f97316;
    padding: 15px 36px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 18px rgba(249, 115, 22, 0.45);
    animation: faq-pulse 2s ease-in-out infinite;
    position: relative;
}

.faq-product-section .faq-contact-cta a.cta-orange::before {
    content: '🚀 ';
    font-style: normal;
}

.faq-product-section .faq-contact-cta a.cta-orange:hover {
    background: #ea6c0a;
    box-shadow: 0 6px 24px rgba(249, 115, 22, 0.55);
    transform: translateY(-3px);
    animation: none;
}

.faq-product-section .faq-contact-cta .cta-note {
    display: block;
    margin-top: 12px;
    font-size: 12px;
    color: #94a3b8;
}

.faq-product-section .faq-contact-cta .cta-note i {
    color: #22c55e;
    margin-right: 4px;
}

/* Blog FAQ */
.faq-blog-section {
    padding: 60px 0 70px;
    background: #f8f9fb;
    border-top: 1px solid #e2e8f0;
}

.faq-blog-section .faq-product-header {
    text-align: center;
    margin-bottom: 36px;
}

.faq-blog-section .faq-product-title {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
}

.faq-blog-section .faq-product-title::after {
    content: '';
    display: block;
    width: 45px;
    height: 3px;
    background: #f97316;
    border-radius: 2px;
    margin: 12px auto 0;
}

.faq-blog-section .faq-product-desc {
    font-size: 15px;
    color: #64748b;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.65;
}

.faq-blog-section .faq-accordion {
    max-width: 760px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .faq-product-section {
        padding: 50px 0 60px;
    }

    .faq-product-section .faq-product-title {
        font-size: 24px;
    }

    .faq-blog-section {
        padding: 45px 0 55px;
    }
}
