/* ===================================================
   REVLO WEBSITE - FOUNDATION STYLES
=================================================== */



*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
 font-family:"Inter",sans-serif;
 background:var(--bg);
 color:var(--text);
 overflow-x:hidden;
}
a{text-decoration:none;color:inherit}
ul{list-style:none}
button{font:inherit;cursor:pointer;border:none;background:none}
.container{width:min(92%,1280px);margin:auto}




/*==================================
            FAQ
===================================*/


.faq-section{
    position: relative;
    padding: clamp(80px, 10vw, 140px) 0;
    background: #F6F9FF;
    overflow: hidden;
}

.faq-section::before{
    content: "";
    position: absolute;
    top: -180px;
    left: 50%;
    width: 640px;
    height: 640px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,.075), transparent 70%);
    pointer-events: none;
}

.faq-section .container{
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/*=========================================
    SECTION HEADER
=========================================*/

.faq-section .section-header{
    max-width: 620px;
    margin: 0 auto 3.75rem;
    text-align: center;
}

.faq-section .section-tag{
    display: inline-flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--primary-dark);
    background: var(--primary-wash);
    border: 1px solid rgba(37,99,235,.22);
    padding: .5rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.25rem;
}

.faq-section h2{
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    line-height: 1.2;
    letter-spacing: -.01em;
    color: var(--ink);
    margin: 0;
}

/*=========================================
    FAQ LIST
=========================================*/

.faq-container{
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item{
    background: var(--paper-solid);
    border: 1px solid var(--ink-faint);
    border-radius: 16px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity .5s var(--ease),
        transform .5s var(--ease),
        border-color .3s var(--ease),
        box-shadow .3s var(--ease);
    transition-delay: calc(var(--faq-i, 0) * 80ms);
}

.faq-section.faq-inview .faq-item{
    opacity: 1;
    transform: translateY(0);
}

.faq-item:hover{
    border-color: rgba(37,99,235,.24);
}

.faq-item.active{
    border-color: rgba(37,99,235,.32);
    box-shadow: 0 20px 45px -26px rgba(16,33,58,.16);
}

/*=========================================
    QUESTION ROW
=========================================*/

.faq-question{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.4rem 1.75rem;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--ink);
    -webkit-tap-highlight-color: transparent;
}

.faq-question:focus-visible{
    outline: 2px solid var(--primary-dark);
    outline-offset: -2px;
    border-radius: 12px;
}

.faq-question i{
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: var(--primary-wash);
    color: var(--primary-dark);
    font-size: .78rem;
    transition:
        transform .35s var(--ease),
        background .35s var(--ease),
        color .35s var(--ease);
}

.faq-item.active .faq-question i{
    transform: rotate(45deg);
    background: linear-gradient(135deg, #60A5FA 0%, #2563EB 55%, #1D4ED8 100%);
    color: #fff;
}

/*=========================================
    ANSWER PANEL
    max-height is set inline by JS (scrollHeight),
    so the collapse/expand transition is smooth
    regardless of content length.
=========================================*/

.faq-answer{
    max-height: 0;
    overflow: hidden;
    padding: 0 1.75rem;
    font-family: var(--font-body);
    font-size: .95rem;
    line-height: 1.75;
    color: var(--ink-soft);
    transition: max-height .4s var(--ease), padding .4s var(--ease);
}

.faq-item.active .faq-answer{
    padding: 0 1.75rem 1.5rem;
}

/*=========================================
    RESPONSIVE
=========================================*/

@media (max-width: 640px){

    .faq-section{
        padding: 4.5rem 0;
    }

    .faq-section .container{
        padding: 0 1.25rem;
    }

    .faq-question{
        padding: 1.15rem 1.4rem;
        font-size: .95rem;
    }

    .faq-question i{
        width: 30px;
        height: 30px;
        font-size: .7rem;
    }

    .faq-answer{
        padding: 0 1.4rem;
        font-size: .9rem;
    }

    .faq-item.active .faq-answer{
        padding: 0 1.4rem 1.25rem;
    }
}

/*=========================================
    REDUCED MOTION
=========================================*/

@media (prefers-reduced-motion: reduce){

    .faq-item{
        transition: none !important;
        opacity: 1;
        transform: none;
    }

    .faq-question i,
    .faq-answer{
        transition: none !important;
    }
}




/*==========================================================
    REVLO — FINAL CTA
    Relies on the :root tokens declared in header.css
    (--ink, --paper, --primary, --primary-dark, --secondary,
    --alert, --alert-soft, --alert-dark, --success, --font-display,
    --font-body, --font-mono, --ease). Do not redeclare :root here.

    NOTE: delete the old .cta-section / .cta-box rules from
    foundation.css — same class names, old purple theme, will
    fight this file in the cascade.
==========================================================*/

.cta-section{
    padding: clamp(80px, 10vw, 130px) 0;
    background: var(--paper);
}

.cta-section .container{
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/*=========================================
    THE BOX — dark instrument-panel stage
=========================================*/

.cta-box{
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 88% 10%, rgba(96,165,250,.16), transparent 34%),
        linear-gradient(145deg, #071A33 0%, #0B2345 55%, #102F5C 100%);
    border-radius: 32px;
    padding: clamp(3.5rem, 7vw, 5.5rem) clamp(2rem, 6vw, 5rem);
    text-align: center;
    box-shadow:
        0 60px 120px -40px rgba(16,33,58,.48),
        0 20px 50px -20px rgba(37,99,235,.22);
}

/* faint instrument grid, matches hero/audience backdrops */

.cta-box::before{
    content: "";
    position: absolute;
    inset: -1px;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 75%);
    opacity: .5;
}

/* two slow-drifting glow blobs, amber + alert-red, echoing the
   hero section's ambient backdrop */
   
.cta-box::after{
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    background:
        radial-gradient(circle 320px at 20% 20%, rgba(37,99,235,.22), transparent 70%),
        radial-gradient(circle 360px at 82% 78%, rgba(59,130,246,.20), transparent 70%);
    animation: ctaGlowDrift 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ctaGlowDrift{
    0%, 100%{ transform: translate(0,0) scale(1); }
    50%{ transform: translate(14px,-10px) scale(1.06); }
}

/*=========================================
    CONTENT
=========================================*/

.cta-box h2{
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto 1.1rem;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    line-height: 1.18;
    letter-spacing: -.01em;
    color: #fff;
}

.cta-box p{
    position: relative;
    z-index: 2;
    max-width: 560px;
    margin: 0 auto 2.5rem;
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255,255,255,.62);
}

/*=========================================
    BUTTONS
    Scoped override so this doesn't depend
    on hero.css's .hero-buttons spacing.
=========================================*/

.cta-box .hero-buttons{
    position: relative;
    z-index: 2;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-box .btn-primary{
    background: linear-gradient(135deg, #60A5FA 0%, #2563EB 55%, #1D4ED8 100%);
    color: #fff;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.2),
        0 14px 34px rgba(37,99,235,.38),
        0 4px 10px rgba(29,78,216,.24);
    position: relative;
    overflow: hidden;
}

/* shimmer sweep across the primary button, on a loop */
.cta-box .btn-primary::before{
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(115deg, transparent, rgba(255,255,255,.35), transparent);
    transform: skewX(-18deg);
    animation: ctaShimmer 3.2s ease-in-out infinite;
}

@keyframes ctaShimmer{
    0%{ left: -60%; }
    45%{ left: 130%; }
    100%{ left: 130%; }
}

.cta-box .btn-primary:hover{
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.24),
        0 16px 38px rgba(37,99,235,.44),
        0 6px 14px rgba(29,78,216,.30);
    transform: translateY(-2px);
}

.cta-box .btn-outline{
    background: transparent;
    border-color: rgba(255,255,255,.22);
    color: #fff;
}

.cta-box .btn-outline:hover{
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.4);
    transform: translateY(-1px);
}

/*=========================================
    RESPONSIVE
=========================================*/

@media (max-width: 640px){

    .cta-section{
        padding: 4.5rem 0;
    }

    .cta-section .container{
        padding: 0 1.25rem;
    }

    .cta-box{
        padding: 3rem 1.5rem;
        border-radius: 24px;
    }

    .cta-box .hero-buttons{
        flex-direction: column;
        gap: .85rem;
    }

    .cta-box .hero-buttons .btn{
        width: 100%;
        justify-content: center;
    }
}

/*=========================================
    REDUCED MOTION
=========================================*/

@media (prefers-reduced-motion: reduce){

    .cta-box::after,
    .cta-box .btn-primary::before{
        animation: none !important;
    }
}

/*==================================
            FOOTER
===================================*/

.footer{

background:linear-gradient(180deg, #07111F 0%, #0B1730 100%);

color:white;

padding:90px 0 30px;

}

.footer-grid{

display:grid;

grid-template-columns:2fr 1fr 1fr 1fr;

gap:50px;

margin-bottom:50px;

}

.footer-grid h2{

font-size:34px;

margin-bottom:20px;

}

.footer-grid h4{

margin-bottom:20px;

}

.footer-grid a{

display:block;

margin-bottom:12px;

color:#CBD5E1;

}

.footer-grid p{

color:#94A3B8;

line-height:1.8;

}

.footer-bottom{

border-top:1px solid rgba(255,255,255,.08);

padding-top:25px;

text-align:center;

color:#94A3B8;

}

@media(max-width:900px){

.footer-grid{

grid-template-columns:1fr 1fr;

}

}

@media(max-width:600px){

.footer-grid{

grid-template-columns:1fr;

}

.cta-box{

padding:50px 30px;

}

.cta-box h2{

font-size:38px;

}

}

/*==========================================================
    REVLO BLUE — FOUNDATION POLISH
==========================================================*/

.footer-grid a{
    transition:color .2s ease, transform .2s ease;
}

.footer-grid a:hover{
    color:#60A5FA;
}

.faq-item{
    box-shadow:0 8px 24px rgba(16,33,58,.035);
}

.faq-item.active{
    box-shadow:
        0 20px 45px -26px rgba(16,33,58,.16),
        0 0 0 1px rgba(37,99,235,.035);
}