/* ===================================================
   REVLO WEBSITE - FOUNDATION STYLES
=================================================== */



 /* saferlock */
/* :root{
  --primary:#6366F1;
  --secondary:#8080FF;
  --light:#EEF2FF;
  --bg:#FCFCFF;
  --surface:#FFFFFF;
  --text:#111827;
  --muted:#6B7280;
  --border:#E5E7EB;
  --shadow:0 20px 50px rgba(99,102,241,.12);
  --radius:18px;
  --transition:.35s ease;
}  */

*{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: #FCFAF8;
    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(232,124,18,.08), 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(232,124,18,.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(232,124,18,.24);
}

.faq-item.active{
    border-color: rgba(232,124,18,.32);
    box-shadow: 0 20px 45px -26px rgba(26,21,18,.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, var(--alert-soft) 0%, var(--alert) 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: var(--ink);
    border-radius: 32px;
    padding: clamp(3.5rem, 7vw, 5.5rem) clamp(2rem, 6vw, 5rem);
    text-align: center;
    box-shadow:
        0 60px 120px -40px rgba(26,21,18,.45),
        0 20px 50px -20px rgba(253,45,45,.18);
}

/* 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(232,124,18,.22), transparent 70%),
        radial-gradient(circle 360px at 82% 78%, rgba(253,45,45,.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, var(--alert-soft) 0%, var(--alert) 100%);
    color: #fff;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.2),
        0 14px 34px rgba(253,45,45,.38),
        0 4px 10px rgba(217,28,28,.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, var(--alert) 0%, var(--alert-dark) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.24),
        0 16px 38px rgba(253,45,45,.44),
        0 6px 14px rgba(217,28,28,.3);
    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:#111827;

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:#D1D5DB;

}

.footer-grid p{

color:#9CA3AF;

line-height:1.8;

}

.footer-bottom{

border-top:1px solid rgba(255,255,255,.08);

padding-top:25px;

text-align:center;

color:#9CA3AF;

}

@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;

}

}