/* ==================================================
   REMOTEROLES HOMEPAGE CSS
   PART 1
================================================== */

:root{

    --bg:#0a0a0a;
    --surface:#111111;
    --surface2:#171717;
    --card:#1f1f1f;

    --border:#2d2d2d;

    --text:#fafafa;
    --muted:#a1a1aa;

    --primary:#8b5cf6;
    --primary2:#6366f1;

}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    background:var(--bg);
    color:var(--text);
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

.rr-container{
    width:100%;
    max-width:1280px;
    margin:auto;
    padding:0 20px;
}

.rr-homepage section{
    padding:90px 0;
}

/* ==================================================
   SECTION HEADING
================================================== */

.rr-section-heading{

    text-align:center;

    max-width:850px;

    margin:0 auto 60px;
}

.rr-section-heading span{

    display:inline-block;

    padding:10px 18px;

    border-radius:999px;

    background:rgba(139,92,246,.12);

    color:var(--primary);

    font-size:13px;

    font-weight:600;

    margin-bottom:18px;
}

.rr-section-heading h2{

    font-size:46px;

    line-height:1.2;

    margin-bottom:18px;

    color:#fff;
}

.rr-section-heading p{

    color:var(--muted);

    line-height:1.9;

    font-size:16px;
}

/* ==================================================
   HERO
================================================== */

.rr-home-hero{

    padding:120px 0;

    background:
    radial-gradient(circle at top right,#312e81 0%,transparent 35%),
    radial-gradient(circle at top left,#4c1d95 0%,transparent 25%),
    linear-gradient(180deg,#0a0a0a,#111111);

    position:relative;

    overflow:hidden;
}

.rr-home-hero-content{

    max-width:950px;

    margin:auto;

    text-align:center;
}

.rr-mini-badge{

    display:inline-block;

    padding:12px 22px;

    border-radius:999px;

    background:rgba(139,92,246,.15);

    border:1px solid rgba(139,92,246,.25);

    color:#c4b5fd;

    font-size:13px;

    font-weight:600;
}

.rr-home-hero h1{

    font-size:72px;

    line-height:1.1;

    font-weight:800;

    margin:28px 0;

    color:#fff;
}

.rr-home-hero p{

    max-width:850px;

    margin:auto;

    font-size:18px;

    line-height:1.9;

    color:var(--muted);
}

/* ==================================================
   SEARCH BOX
================================================== */

.rr-search-wrapper{

    max-width:1100px;

    margin:50px auto 0;
}

.rr-search-box{

    background:#171717;

    border:1px solid #2d2d2d;

    border-radius:30px;

    padding:24px;

    box-shadow:
    0 20px 50px rgba(0,0,0,.45);

    max-width:900px;

    margin:auto;
}

.rr-job-search-form{

    display:grid;

    grid-template-columns:1fr 1fr 220px;

    gap:15px;
}

.rr-search-field input{

    width:100%;

    height:64px;

    border-radius:18px;

    border:1px solid #262626;

    background:#0b0b0b;

    padding:0 20px;

    color:#fff;

    font-size:15px;

    transition:.25s ease;
}

.rr-search-field input:focus{

    outline:none;

    border-color:#8b5cf6;

    box-shadow:
    0 0 0 4px rgba(139,92,246,.12);
}

.rr-job-search-form button{

    height:64px;

    border:none;

    border-radius:18px;

    cursor:pointer;

    font-size:15px;

    font-weight:700;

    color:#fff;

    background:
    linear-gradient(
        135deg,
        #8b5cf6,
        #6366f1
    );

    transition:.25s ease;

    box-shadow:
    0 8px 25px rgba(139,92,246,.25);
}

.rr-job-search-form button:hover{

    transform:translateY(-2px);

    box-shadow:
    0 12px 30px rgba(139,92,246,.35);

    background:
    linear-gradient(
        135deg,
        #9f67ff,
        #7377ff
    );
}

.rr-job-search-form button:active{

    transform:translateY(0);
}
.rr-job-search-form button:hover{

    transform:translateY(-2px);
}


/* ==================================================
   STATS SECTION
================================================== */

.rr-home-stats{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:20px;

    margin-top:60px;
}

.rr-stat-box{

    background:#171717;

    border:1px solid #2d2d2d;

    border-radius:24px;

    padding:35px 20px;

    text-align:center;

    transition:.25s;

    box-shadow:
    0 10px 30px rgba(0,0,0,.15);
}

.rr-stat-box:hover{

    transform:translateY(-5px);

    border-color:#8b5cf6;
}

.rr-stat-box h3{

    font-size:38px;

    font-weight:800;

    color:#fff;

    margin-bottom:10px;
}

.rr-stat-box p{

    color:#a1a1aa;

    font-size:15px;
}

/* ==================================================
   ECOSYSTEM SECTION
================================================== */

.rr-ecosystem-section{

    background:#0d0d0d;
}

.rr-ecosystem-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:24px;
}

/* ==================================================
   UNIVERSAL CARD SYSTEM
================================================== */

.rr-ecosystem-card,
.rr-process-card,
.rr-trend-card,
.rr-testimonial-card{

    background:#171717;

    border:1px solid #2d2d2d;

    border-radius:26px;

    padding:32px;

    transition:.3s;

    position:relative;

    overflow:hidden;
}

.rr-ecosystem-card::before,
.rr-process-card::before,
.rr-trend-card::before,
.rr-testimonial-card::before{

    content:'';

    position:absolute;

    left:0;
    top:0;

    width:100%;
    height:3px;

    background:
    linear-gradient(
        90deg,
        #8b5cf6,
        #6366f1
    );

    opacity:0;
}

.rr-ecosystem-card:hover,
.rr-process-card:hover,
.rr-trend-card:hover,
.rr-testimonial-card:hover{

    transform:translateY(-8px);

    border-color:#8b5cf6;

    box-shadow:
    0 20px 50px rgba(0,0,0,.35);
}

.rr-ecosystem-card:hover::before,
.rr-process-card:hover::before,
.rr-trend-card:hover::before,
.rr-testimonial-card:hover::before{

    opacity:1;
}

/* ==================================================
   ECOSYSTEM CARD CONTENT
================================================== */

.rr-eco-icon{

    width:70px;
    height:70px;

    display:flex;

    align-items:center;
    justify-content:center;

    font-size:34px;

    border-radius:20px;

    background:
    linear-gradient(
        135deg,
        rgba(139,92,246,.15),
        rgba(99,102,241,.15)
    );

    margin-bottom:22px;
}

.rr-ecosystem-card h3{

    font-size:24px;

    color:#fff;

    margin-bottom:15px;
}

.rr-ecosystem-card p{

    color:#a1a1aa;

    line-height:1.9;

    font-size:15px;
}

/* ==================================================
   CONTENT BLOCK
================================================== */

.rr-content-section{

    background:#111111;
}

.rr-content-block{

    max-width:950px;

    margin:auto;

    background:#171717;

    border:1px solid #2d2d2d;

    border-radius:28px;

    padding:45px;
}

.rr-content-block p{

    color:#cbd5e1;

    line-height:2;

    margin-bottom:22px;

    font-size:17px;
}

.rr-content-block p:last-child{
    margin-bottom:0;
}


/* ==================================================
   HOW IT WORKS
================================================== */

.rr-process-section{

    background:#0a0a0a;
}

.rr-process-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:24px;
}

.rr-process-number{

    width:60px;
    height:60px;

    border-radius:50%;

    display:flex;

    align-items:center;
    justify-content:center;

    font-size:22px;

    font-weight:800;

    color:#fff;

    margin-bottom:22px;

    background:
    linear-gradient(
        135deg,
        #8b5cf6,
        #6366f1
    );

    box-shadow:
    0 10px 25px rgba(139,92,246,.35);
}

.rr-process-card h3{

    color:#fff;

    font-size:22px;

    margin-bottom:14px;
}

.rr-process-card p{

    color:#a1a1aa;

    line-height:1.9;

    font-size:15px;
}

/* ==================================================
   POPULAR REMOTE SEARCHES
================================================== */

.rr-popular-searches{

    background:#111111;
}

.rr-search-tags{

    display:flex;

    flex-wrap:wrap;

    justify-content:center;

    gap:14px;

    max-width:1200px;

    margin:auto;
}

.rr-search-tags a{

    display:inline-flex;

    align-items:center;
    justify-content:center;

    min-height:48px;

    padding:12px 20px;

    border-radius:999px;

    background:#171717;

    border:1px solid #2d2d2d;

    color:#fff;

    font-size:14px;

    font-weight:500;

    transition:.25s;
}

.rr-search-tags a:hover{

    transform:translateY(-3px);

    border-color:#8b5cf6;

    background:
    linear-gradient(
        135deg,
        rgba(139,92,246,.12),
        rgba(99,102,241,.12)
    );

    box-shadow:
    0 10px 25px rgba(139,92,246,.15);
}

/* ==================================================
   REMOTE WORK TRENDS
================================================== */

.rr-remote-trends-section{

    background:#0d0d0d;
}

.rr-trends-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:24px;
}

.rr-trend-icon{

    width:72px;
    height:72px;

    display:flex;

    align-items:center;
    justify-content:center;

    border-radius:22px;

    font-size:34px;

    margin-bottom:22px;

    background:
    linear-gradient(
        135deg,
        rgba(139,92,246,.12),
        rgba(99,102,241,.12)
    );
}

.rr-trend-card h3{

    color:#fff;

    font-size:22px;

    margin-bottom:15px;
}

.rr-trend-card p{

    color:#a1a1aa;

    line-height:1.9;

    font-size:15px;
}

/* ==================================================
   PREMIUM CARD SHADOWS
================================================== */

.rr-ecosystem-card,
.rr-process-card,
.rr-trend-card{

    box-shadow:
    0 10px 30px rgba(0,0,0,.18);
}

.rr-ecosystem-card:hover,
.rr-process-card:hover,
.rr-trend-card:hover{

    box-shadow:
    0 25px 60px rgba(0,0,0,.35);
}

/* ==================================================
   CONTENT EMPHASIS
================================================== */

.rr-content-block strong{

    color:#fff;
}

.rr-content-block a{

    color:#8b5cf6;

    text-decoration:none;
}

.rr-content-block a:hover{

    color:#a78bfa;
}


/* ==================================================
   TESTIMONIALS SECTION
================================================== */

.rr-testimonials-section{

    background:#111111;
}

.rr-testimonials-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:24px;
}

.rr-testimonial-card{

    text-align:center;
}

.rr-testimonial-avatar{

    width:90px;
    height:90px;

    margin:0 auto 20px;

    border-radius:50%;

    overflow:hidden;

    border:3px solid #8b5cf6;

    box-shadow:
    0 10px 25px rgba(139,92,246,.25);
}

.rr-testimonial-avatar img{

    width:100%;
    height:100%;

    object-fit:cover;
}

.rr-stars{

    color:#fbbf24;

    font-size:18px;

    letter-spacing:2px;

    margin-bottom:18px;
}

.rr-testimonial-card p{

    color:#d1d5db;

    line-height:1.9;

    font-size:15px;

    margin-bottom:24px;

    min-height:110px;
}

.rr-user strong{

    display:block;

    color:#fff;

    font-size:18px;

    margin-bottom:6px;
}

.rr-user span{

    color:#a1a1aa;

    font-size:14px;
}

/* ==================================================
   TESTIMONIAL HOVER
================================================== */

.rr-testimonial-card{

    background:#171717;

    border:1px solid #2d2d2d;

    border-radius:26px;

    padding:35px 30px;

    transition:.3s;
}

.rr-testimonial-card:hover{

    transform:translateY(-8px);

    border-color:#8b5cf6;

    box-shadow:
    0 25px 60px rgba(0,0,0,.35);
}

/* ==================================================
   FAQ SECTION
================================================== */

.rr-faq-section{

    background:#0a0a0a;
}

.rr-faq-grid{

    max-width:950px;

    margin:auto;
}

.rr-faq-item{

    background:#171717;

    border:1px solid #2d2d2d;

    border-radius:20px;

    margin-bottom:18px;

    overflow:hidden;

    transition:.25s;
}

.rr-faq-item:hover{

    border-color:#8b5cf6;
}

.rr-faq-question{

    position:relative;

    padding:24px 28px;

    cursor:pointer;

    font-size:17px;

    font-weight:700;

    color:#fff;
}

.rr-faq-question::after{

    content:"+";

    position:absolute;

    right:25px;

    top:50%;

    transform:translateY(-50%);

    color:#8b5cf6;

    font-size:26px;

    font-weight:700;
}

.rr-faq-answer{

    display:none;

    padding:0 28px 24px;

    color:#cbd5e1;

    line-height:1.9;

    font-size:15px;
}

.rr-faq-item.active{

    border-color:#8b5cf6;

    background:
    linear-gradient(
        180deg,
        #171717,
        #1b1b1b
    );
}

.rr-faq-item.active .rr-faq-answer{

    display:block;
}

.rr-faq-item.active .rr-faq-question::after{

    content:"−";
}

/* ==================================================
   FAQ SHADOW
================================================== */

.rr-faq-item.active{

    box-shadow:
    0 15px 40px rgba(139,92,246,.12);
}

/* ==================================================
   TABLET
================================================== */

@media(max-width:1100px){

    .rr-home-hero h1{
        font-size:58px;
    }

    .rr-home-stats{
        grid-template-columns:repeat(2,1fr);
    }

    .rr-ecosystem-grid,
    .rr-process-grid,
    .rr-trends-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .rr-testimonials-grid{
        grid-template-columns:1fr 1fr;
    }

}

/* ==================================================
   MOBILE
================================================== */

@media(max-width:768px){

    .rr-homepage section{
        padding:70px 0;
    }

    .rr-container{
        padding:0 15px;
    }

    .rr-home-hero{
        padding:90px 0;
    }

    .rr-home-hero h1{

        font-size:42px;

        line-height:1.15;
    }

    .rr-home-hero p{

        font-size:16px;

        line-height:1.8;
    }

    .rr-section-heading{

        margin-bottom:40px;
    }

    .rr-section-heading h2{

        font-size:32px;

        line-height:1.25;
    }

    .rr-section-heading p{

        font-size:15px;
    }

    /* SEARCH */

    .rr-job-search-form{

        grid-template-columns:1fr;
    }

    .rr-search-box{

        padding:15px;
    }

    .rr-search-field input,
    .rr-job-search-form button{

        height:58px;
    }

    /* STATS */

    .rr-home-stats{

        grid-template-columns:1fr;
    }

    .rr-stat-box{

        padding:28px 20px;
    }

    .rr-stat-box h3{

        font-size:34px;
    }

    /* ALL GRIDS */

    .rr-ecosystem-grid,
    .rr-process-grid,
    .rr-trends-grid,
    .rr-testimonials-grid{

        grid-template-columns:1fr;
    }

    .rr-content-block{

        padding:28px;
    }

    .rr-content-block p{

        font-size:15px;
    }

    /* SEARCH TAGS */

    .rr-search-tags{

        justify-content:flex-start;
    }

    .rr-search-tags a{

        font-size:13px;

        padding:10px 14px;
    }

    /* TESTIMONIAL */

    .rr-testimonial-card p{

        min-height:auto;
    }

    .rr-testimonial-avatar{

        width:80px;
        height:80px;
    }

    /* FAQ */

    .rr-faq-question{

        padding:20px;

        padding-right:50px;

        font-size:15px;
    }

    .rr-faq-answer{

        padding:0 20px 20px;
    }

}

/* ==================================================
   SMALL MOBILE
================================================== */

@media(max-width:480px){

    .rr-home-hero h1{

        font-size:34px;
    }

    .rr-mini-badge{

        font-size:12px;

        padding:10px 15px;
    }

    .rr-section-heading h2{

        font-size:28px;
    }

    .rr-stat-box h3{

        font-size:30px;
    }

    .rr-eco-icon,
    .rr-trend-icon{

        width:60px;
        height:60px;

        font-size:28px;
    }

    .rr-process-number{

        width:52px;
        height:52px;

        font-size:18px;
    }

}

/* ==================================================
   SCROLLBAR
================================================== */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#111111;
}

::-webkit-scrollbar-thumb{

    background:#8b5cf6;

    border-radius:20px;
}

/* ==================================================
   SELECTION
================================================== */

::selection{

    background:#8b5cf6;

    color:#fff;
}

/* ==================================================
   FINAL POLISH
================================================== */

.rr-stat-box,
.rr-ecosystem-card,
.rr-process-card,
.rr-trend-card,
.rr-testimonial-card,
.rr-content-block,
.rr-search-box,
.rr-faq-item{

    backdrop-filter:blur(10px);
}

.rr-home-hero,
.rr-ecosystem-section,
.rr-process-section,
.rr-content-section,
.rr-popular-searches,
.rr-remote-trends-section,
.rr-testimonials-section,
.rr-faq-section{

    position:relative;
}

.rr-homepage{

    overflow:hidden;
}