/*-------------------------------------------------
ROAR Website
Global Styles
-------------------------------------------------*/

/* Colors */
:root {
    --background: #FFFFFF;
    --surface: #f7f8fa;
    --surface-dark: #eceff3;
    --surface-blue: #f5f9ff;

    --text: #1f2937;
    --text-light: #6b7280;

    --blue: #1e90ff;
    --blue-dark: #1d4ed8;

    --border: #e5e7eb;

    --shadow: 
    0 30px 60px rgba(0, 0, 0, 0.18);

    --radius: 18px;

    --max-width: 1200px;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    font-family: "Inter", sans-serif;

    background: var(--background);

    color:var(--text);

    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
}

/* Images */
img{
    max-width: 100%;
    display: block;
}

/* Links */
a{
    text-decoration: none;
    color: inherit;
}

/* Lists */
ul{
    list-style: none;
}

/* Layout */
.container{

    width:min(92%, var(--max-width));

    margin:auto;

}

/* Sections */
section{

    padding: 120px 0;

}

/* Typography */
h1{
    font-size: clamp(3rem, 6vw, 5rem);

    line-height: 1.05;

    font-weight: 800;

    letter-spacing: -2px;

    margin-bottom: 24px;
}

h2{

    font-size: clamp(2rem, 4vw, 3rem);

    line-height: 1.1;

    font-weight: 700;

    margin-bottom: 16px;
}

h3{ 

    font-size: 1.35rem;

    margin-bottom: 14px;

}

p{ 

    font-size: 1.1rem;

    color:var(--text-light);

    max-width:700px;

    margin:0 auto;

}

/* Buttons */
.button{
    display:inline-flex;
    align-items:center;

    justify-content:center;

    padding: 16px 34px;

    border-radius:999px;

    font-weight:600;

    transition: .25s;

    cursor: pointer;
}

/* Primary */
.button-primary{
    background: var(--blue-dark);
    color: white;
}

.button-primary:hover{
    background: var(--blue-dark);
    transform:translateY(-2px);
}

/* Secondary */
.button-secondary{
    background:white;
    border:1px solid var(--border);
    color:var(--text);
}

.button-secondary:hover{
    background:var(--surface);
}

/* Disabled Buttons */

.button-disabled{

    opacity:.7;

    cursor:default;

    pointer-events:none;

}

.button-disabled:hover{

    transform:none;

    background:inherit;

}

/* Cards */
.card{
    background:white;
    border:1px solid var(--border);
    border-radius:var(--radius);
    padding:36px;
    box-shadow:var(--shadow);
    transition: .25s;
}

.card:hover{
    transform:translateY(-6px);
}

/* Grid */
.grid{
    display:grid;
    gap:32px;
}

/* Footer */
footer{
    padding:70px 0;
    background:var(--surface);
}

/* Responsive */
@media (max-width: 768px){
    section{
        padding: 80px 0;
    }
    p{
        font-size: 1rem;
    }
}

/*---------------------------------------------
Navigation
-----------------------------------------------*/

.header{
    position:sticky;

    top:0;

    background:rgba(255,255,255,.90);

    backdrop-filter:blur(14px);

    border-bottom:1px solid var(--border);

    z-index:1000;

    transition: 
        height .3s ease, 
        box-shadow .3s ease,
        background .3s ease;
}

header.scrolled{

    height: 64px;

    box-shadow:0 2px 20px rgba(0,0,0,.06);
}

.nav{
    display:flex;

    justify-content:space-between;

    align-items:center;

    height:80px;
}

.logo{
    display:flex;

    align-items:center;

    gap:12px;

    font-weight:700;

    font-size:1.25rem;
}

.logo img{
    width:50px;

    height:50px;
}

.nav-links{

    display:flex;

    align-items:center;

    gap:36px;

}

.nav-links a{

    color:var(--text-light);

    font-weight:500;

    transition:color .25s ease;

}

.nav-links a:hover{

    color:var(--blue);

}

/*---------------------------------------------
Hero
-----------------------------------------------*/

.hero{
    
    position:relative;

    overflow:hidden;

    min-height: 100vh;

    display:flex;

    align-items:center;

    background:

        radial-gradient(
            circle at 15% 25%,
            rgba(30,144,255,.25),
            transparent 38%
        ),

        radial-gradient(
            circle at 85% 15%,
            rgba(29,78,216,.10),
            transparent 42%
        ),

        radial-gradient(
            circle at 50% 100%,
            rgba(30,144,255,.08),
            transparent 45%
        ),

        linear-gradient(
            to bottom,
            #FFFFFF,
            #f6f9ff
        );

}

.hero-content{

    display:grid;

    grid-template-columns: 1fr 1fr;

    align-items:center;

    gap:120px;
}
.hero::before{

    content:"";

    position:absolute;

    width:300px;

    height:300px;

    background:#4fa3ff;

    opacity:.35;

    border-radius:50%;

    filter:blur(90px);

    top:-140px;

    right:-120px;

}

.hero::after{

    content:"";

    position:absolute;

    width:250px;

    height:250px;

    background:#1d4ed8;

    opacity:.20;

    border-radius:50%;

    filter:blur(70px);

    bottom:-140px;

    left:-120px;

}

.hero h1{

    font-size:clamp(3.8rem,7vw,6rem);

    line-height:.95;

    letter-spacing:-3px;

    margin-bottom: 32px;

    max-width: 650px;
}

.hero-text p{
    
    font-size:1.25rem;

    max-width: 520px;

    margin-bottom: 40px;

}

.hero-badge{

    display:inline-flex;
    align-items:center;
    gap:8px;

    padding:10px 18px;

    margin-bottom:28px;

    border-radius:999px;

    background:rgba(255,255,255,.75);

    border:1px solid rgba(29,78,216,.15);

    color:var(--blue-dark);

    font-size:.9rem;

    font-weight:700;

    letter-spacing:.04em;

    backdrop-filter:blur(12px)

}

.hero h1 span{

    color:var(--blue-dark)

}

.hero-trust{

    display:flex;

    gap:24px;

    flex-wrap:wrap;

    margin-top:28px;

    color:var(--text-light);

    font-size:.95rem;

    font-weight:500;

}

.hero-trust span{

    display:flex;

    align-items:center;

    gap:6px;

}

.hero-buttons{

    display:flex;

    gap:18px;

    margin-top:40px;

}

.hero-image{

    position:relative;
    
    display:flex;

    justify-content:center;

    align-items:center;

    min-height:700px;

}

.hero-image img{

    width:340px;

    border-radius:36px;
    
}

.phone{

    position:absolute;

    width:290px;

    border-radius:34px;

    transition:transform .35s ease;

}

.phone-center{

    width:320px;

    transform: translateX(0);

    z-index:3;
}

.phone-left{

    width: 290px;

    right:50%;

    transform: 
        translateY(30px)
        scale(.9);

    z-index:2;

}

.phone-right{

    width: 290px;

    left: 50%;

    transform:
        translateY(30px)
        scale(.7);

    z-index:3;

}

.hero-image:hover .phone-left{

    transform:
        translateX(-105px)
        scale(.9);

}

.hero-image:hover .phone-right{

    transform:
        translateX(115px)
        scale(.9);

}

.hero-image:hover .phone-center{

    transform:translateY(-8px);

}

@media(max-width:900px){

    .hero-content{

        grid-template-columns:1fr;

        text-align:center;
    }

    .hero-buttons{

        justify-content:center;

        flex-wrap:wrap;

    }

    .hero-image{
        margin-top:40px;
    }
}

/* ==========================================================
   Screenshots Section
========================================================== */

.screenshots{

    background:var(--surface);

    text-align:center;

    

}

.section-subtitle{

    margin:0 auto 60px auto;

    max-width:600px;

}

.screenshot-grid{

    display:grid;

    grid-template-columns:repeat(4, 1fr);

    gap:24px;

}

.screenshot-grid img{

    width:100%;

    border-radius:24px;

     box-shadow: var(--shadow);

    transition:.3s;

}

.screenshot-grid img:hover{

    transform:translateY(-8px) scale(1.02);

}

@media(max-width:1000px){

    .screenshot-grid{

        grid-template-columns:repeat(2, 1fr);

    }

}

@media(max-width:600px){

    .screenshot-grid{

        grid-template-columns:1fr;

    }

}

/* ==========================================================
   Features Section
========================================================== */

.features{

    border-top:1px solid var(--border);

    background:white;

    text-align:center;

}

.feature-grid{

    margin-top:70px;

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:30px;

}

.feature-card{

    padding:40px;

    border:1px solid var(--border);

    border-radius:24px;

    background:white;

    transition:.25s;

}

.feature-card:hover{

    transform:translateY(-6px);

}

.feature-icon{

    font-size:2.5rem;

    margin-bottom:24px;

}

@media(max-width:800px){

    .feature-grid{

        grid-template-columns:1fr;

    }

}

/* ==========================================================
   About
========================================================== */

.about{

    background:var(--surface-blue);

}

.about-content{

    max-width:800px;

    margin:auto;

    text-align:center;

}

.about p{

    margin:0 auto;

}

/* ==========================================================
   Download Section
========================================================== */

.download{

    border-top:1px solid var(--border);

    text-align:center;

}

.download p{

    text-align:center;

}

.download-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    margin-top:40px;

    flex-wrap:wrap;

}

/*---------------------------------------------
Footer
-----------------------------------------------*/

footer{

    background:var(--surface);

}

.footer-content{

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    text-align:center;

    gap:30px;

}

.footer-logo{

    display:flex;

    align-items:center;

    gap:12px;

    font-weight:700;

}

.footer-logo img{

    width:42px;

}

.footer-links{

    display:flex;

    gap:30px;

    flex-wrap:wrap;

}

.footer-links a{

    color:var(--text-light);

}

.footer-links a:hover{

    color:var(--blue);

}

.copyright{

    font-size:.9rem;

}

/*==========================================================
Privacy Page
==========================================================*/

.privacy-page{

    padding:120px 0;

    background:var(--surface);

}

.privacy-card{

    background:white;

    max-width:900px;

    margin:auto;

    padding:70px;

    border-radius:24px;

    border:1px solid var(--border);

    box-shadow:var(--shadow);

}

.privacy-card h1{

    margin-bottom:12px;

}

.privacy-card h2{

    margin-top:50px;

    margin-bottom:16px;

}

.privacy-card p{

    margin:18px 0;

    max-width:none;

}

.privacy-card ul{

    margin:18px 0 18px 24px;

    list-style:disc;

}

.privacy-card li{

    margin-bottom:12px;

    color:var(--text-light);

}

.privacy-card hr{

    margin:45px 0;

    border:none;

    border-top:1px solid var(--border);

}

.privacy-card strong{

    color:var(--text);

}

/*---------------------------------------------
Support Page
-----------------------------------------------*/

.support-hero{

    padding-top:180px;

    padding-bottom:90px;

    text-align:center;

    background:linear-gradient(
        to bottom,
        #ffffff,
        var(--surface-blue)
    );

}

.support-hero h1{

    margin-bottom:24px;

}

.support-hero p{

    margin:0 auto;

    max-width:700px;

}

.support-contact{

    background:white;

}

.support-card{

    max-width:700px;

    margin:auto;

    text-align:center;

}

.support-card .button{

    margin-top:28px;

}

.response-time{

    margin-top:28px;

}

.support-faq{

    background:var(--surface);

}

.support-faq h2{

    text-align:center;

    margin-bottom:50px;

}

.faq-list{

    max-width:850px;

    margin:auto;

}

.faq-item{

    background:white;

    border:1px solid var(--border);

    border-radius:16px;

    margin-bottom:18px;

    overflow:hidden;

}

.faq-item summary{

    cursor:pointer;

    padding:22px 28px;

    font-size:1.05rem;

    font-weight:600;

    list-style:none;

}

.faq-item summary::-webkit-details-marker{

    display:none;

}

.faq-item summary::after{

    content:"+";

    float:right;

    font-size:1.4rem;

    color:var(--blue-dark);

}

.faq-item[open] summary::after{

    content:"−";

}

.faq-item p{

    padding:0 28px 24px;

    margin:0;

    max-width:none;

}

.support-info{

    background:white;

}

.support-grid{

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

}

/*---------------------------------------------
Safety Disclaimer
-----------------------------------------------*/

.safety-disclaimer,
.homepage-disclaimer {
    padding: 3rem 0;
}

.disclaimer-card {
    background: #fff8e6;
    border: 1px solid #f2d27d;
    border-left: 6px solid #f5b301;
    border-radius: 16px;
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06)
}

.disclaimer-card h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.5rem;
}

.disclaimer-card p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.7;
}

.disclaimer-card p:last-child {
    margin-bottom: 0;
}

.disclaimer-card strong {
    color: #222;
}