/*
===========================================================
Red Pearl Enterprises
Index Page
Production CSS
Part 1
===========================================================
*/

/*=========================================================
Root Variables
=========================================================*/

:root{

    --primary:#ff2d55;
    --primary-light:#ff5374;
    --secondary:#ff8a00;

    --bg:#05070d;
    --bg-secondary:#0a1020;

    --glass:rgba(255,255,255,.08);
    --glass-border:rgba(255,255,255,.12);

    --text:#ffffff;
    --text-light:rgba(255,255,255,.75);
    --text-fade:rgba(255,255,255,.55);

    --radius:28px;

    --shadow-lg:
        0 25px 80px rgba(0,0,0,.45);

    --transition:
        .35s cubic-bezier(.175,.885,.32,1.275);

}

/*=========================================================
Reset
=========================================================*/

*,
*::before,
*::after{

    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;

    min-height:100vh;

    position:relative;

    -webkit-font-smoothing:antialiased;

}

/*=========================================================
Selection
=========================================================*/

::selection{

    background:var(--primary);

    color:#fff;

}

/*=========================================================
Scrollbar
=========================================================*/

::-webkit-scrollbar{

    width:11px;

}

::-webkit-scrollbar-track{

    background:#06070f;

}

::-webkit-scrollbar-thumb{

    border-radius:30px;

    background:linear-gradient(
            180deg,
            var(--primary),
            var(--secondary)
    );

}

::-webkit-scrollbar-thumb:hover{

    background:var(--primary-light);

}

/*=========================================================
Background
=========================================================*/

.background{

    position:fixed;

    inset:0;

    overflow:hidden;

    z-index:-5;

}

/*=========================================================
Particle Canvas
=========================================================*/

#particles{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    z-index:-3;

}

/*=========================================================
Animated Gradient Orbs
=========================================================*/

.gradient{

    position:absolute;

    border-radius:50%;

    filter:blur(140px);

    opacity:.45;

    animation:float 18s ease-in-out infinite;

}

.gradient-one{

    width:420px;
    height:420px;

    background:#ff2355;

    top:-120px;
    left:-120px;

}

.gradient-two{

    width:500px;
    height:500px;

    background:#2b6dff;

    right:-180px;
    top:15%;

    animation-delay:4s;

}

.gradient-three{

    width:420px;
    height:420px;

    background:#ff9800;

    bottom:-160px;
    left:40%;

    animation-delay:7s;

}

/*=========================================================
Grid Overlay
=========================================================*/

.grid-overlay{

    position:absolute;

    inset:0;

    background-image:

        linear-gradient(
            rgba(255,255,255,.03) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255,255,255,.03) 1px,
            transparent 1px
        );

    background-size:55px 55px;

    mask-image:radial-gradient(circle at center,
            rgba(0,0,0,1),
            transparent 90%);

    animation:gridMove 18s linear infinite;

}

/*=========================================================
Navigation
=========================================================*/

.navbar{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:82px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 8%;

    z-index:1000;

    backdrop-filter:blur(18px);

    background:rgba(5,8,18,.30);

    border-bottom:1px solid rgba(255,255,255,.05);

}

.nav-left{

    display:flex;

    align-items:center;

    gap:18px;

}


.top-logo{

    width:58px;
    height:58px;

    object-fit:cover;

    border-radius:50%;

    border:2px solid rgba(255,255,255,.12);

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

    box-shadow:
        0 0 0 4px rgba(255,255,255,.03),
        0 8px 24px rgba(0,0,0,.35),
        0 0 20px rgba(255,45,85,.15);

    transition:all .35s ease;

    user-select:none;

}

.top-logo:hover{

    transform:scale(1.08) rotate(8deg);

    box-shadow:
        0 0 0 5px rgba(255,45,85,.12),
        0 12px 35px rgba(255,45,85,.30),
        0 0 40px rgba(255,45,85,.25);

}

.nav-right{

    display:flex;

    align-items:center;

}

.login-btn{

    text-decoration:none;

    color:#fff;

    font-weight:600;

    padding:14px 34px;

    border-radius:50px;

    border:1px solid rgba(255,255,255,.12);

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

    backdrop-filter:blur(12px);

    transition:var(--transition);

}

.login-btn:hover{

    background:var(--primary);

    border-color:transparent;

    transform:translateY(-3px);

    box-shadow:
        0 12px 30px
        rgba(255,45,85,.45);

}

/*=========================================================
Hero
=========================================================*/

.hero{

    width:100%;

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding-top:110px;

    padding-left:8%;

    padding-right:8%;

}

/*=========================================================
Glass Card Container
=========================================================*/

.glass-card{

    width:min(980px,100%);

    position:relative;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    text-align:center;

    padding:80px 70px;

}

/*=========================================================
Floating Animation
=========================================================*/

@keyframes float{

    0%{

        transform:
            translateY(0)
            translateX(0);

    }

    25%{

        transform:
            translateY(-35px)
            translateX(25px);

    }

    50%{

        transform:
            translateY(25px)
            translateX(-15px);

    }

    75%{

        transform:
            translateY(-20px)
            translateX(40px);

    }

    100%{

        transform:
            translateY(0)
            translateX(0);

    }

}

/*=========================================================
Grid Animation
=========================================================*/

@keyframes gridMove{

    from{

        transform:translateY(0);

    }

    to{

        transform:translateY(55px);

    }

}
/*
===========================================================
Red Pearl Enterprises
Index Page
Production CSS
Part 2
===========================================================
*/

/*=========================================================
Glass Card
=========================================================*/

.glass-card{

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

    border:1px solid rgba(255,255,255,.10);

    border-radius:36px;

    backdrop-filter:blur(26px);

    -webkit-backdrop-filter:blur(26px);

    box-shadow:
        0 30px 80px rgba(0,0,0,.45),
        inset 0 1px 0 rgba(255,255,255,.08);

    overflow:hidden;

    isolation:isolate;

    transition:all .45s ease;

}

.glass-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:
        linear-gradient(
            130deg,
            rgba(255,255,255,.08),
            transparent 30%,
            transparent 70%,
            rgba(255,255,255,.03)
        );

    pointer-events:none;

    z-index:-1;

}

.glass-card:hover{

    transform:translateY(-8px);

    box-shadow:
        0 45px 120px rgba(0,0,0,.55),
        0 0 60px rgba(255,45,85,.10);

}

/*=========================================================
Logo
=========================================================*/

.logo{

    width:150px;

    height:150px;

    border-radius:50%;

    object-fit:cover;

    margin-bottom:35px;

    box-shadow:
        0 0 45px rgba(255,45,85,.25);

    animation:logoFloat 6s ease-in-out infinite;

    transition:all .4s ease;

}

.logo:hover{

    transform:scale(1.08) rotate(4deg);

    box-shadow:
        0 0 80px rgba(255,45,85,.40);

}

/*=========================================================
Tag
=========================================================*/

.tag{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    margin-bottom:28px;

    padding:10px 24px;

    border-radius:999px;

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

    border:1px solid rgba(255,255,255,.10);

    color:rgba(255,255,255,.82);

    font-size:.80rem;

    letter-spacing:3px;

    text-transform:uppercase;

    font-weight:700;

}

.tag::before{

    content:"";

    width:8px;

    height:8px;

    border-radius:50%;

    background:var(--primary);

    box-shadow:
        0 0 12px var(--primary);

}

/*=========================================================
Heading
=========================================================*/

.hero h1{

    font-size:clamp(3.2rem,7vw,5.8rem);

    font-weight:900;

    line-height:1.05;

    margin-bottom:22px;

    letter-spacing:-2px;

}

.hero h1 span{

    background:
        linear-gradient(
            90deg,
            #ff2d55,
            #ff7b00,
            #ff2d55
        );

    background-size:300%;

    background-clip:text;

    -webkit-text-fill-color:transparent;

    animation:gradientText 8s linear infinite;

}

/*=========================================================
Subtitle
=========================================================*/

.subtitle{

    max-width:760px;

    color:var(--text-light);

    font-size:1.12rem;

    line-height:1.9;

    margin-bottom:34px;

}

/*=========================================================
Animated Changing Text
=========================================================*/

.changing-text{

    min-height:36px;

    display:flex;

    justify-content:center;

    align-items:center;

    margin-bottom:48px;

    overflow:hidden;

}

#changingText{

    font-size:1.15rem;

    font-weight:600;

    color:#ffffff;

    opacity:.92;

    letter-spacing:.4px;

    animation:textFade 4s infinite;

}

/*=========================================================
Buttons
=========================================================*/

.button-group{

    display:flex;

    gap:22px;

    flex-wrap:wrap;

    justify-content:center;

    align-items:center;

}

/*=========================================================
Primary Button
=========================================================*/

.primary-button{

    position:relative;

    overflow:hidden;

    cursor:pointer;

    border:none;

    outline:none;

    padding:18px 42px;

    border-radius:60px;

    color:#fff;

    font-size:1rem;

    font-weight:700;

    letter-spacing:.3px;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            #ff6b35
        );

    transition:all .35s ease;

    box-shadow:
        0 18px 40px rgba(255,45,85,.35);

}

.primary-button::before{

    content:"";

    position:absolute;

    top:0;

    left:-120%;

    width:60%;

    height:100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.55),
            transparent
        );

    transform:skewX(-25deg);

    transition:.8s;

}

.primary-button:hover::before{

    left:150%;

}

.primary-button:hover{

    transform:translateY(-5px);

    box-shadow:
        0 28px 55px rgba(255,45,85,.45);

}

.primary-button:active{

    transform:scale(.97);

}

/*=========================================================
Secondary Button
=========================================================*/

.secondary-button{

    position:relative;

    overflow:hidden;

    cursor:pointer;

    padding:18px 40px;

    border-radius:60px;

    border:1px solid rgba(255,255,255,.14);

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

    color:#fff;

    backdrop-filter:blur(16px);

    font-size:1rem;

    font-weight:600;

    transition:all .35s ease;

}

.secondary-button:hover{

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

    border-color:rgba(255,255,255,.30);

    transform:translateY(-5px);

    box-shadow:
        0 20px 40px rgba(0,0,0,.35);

}

.secondary-button:active{

    transform:scale(.97);

}

/*=========================================================
Fade In Animation
=========================================================*/

.hero>*{

    animation:fadeUp .9s ease both;

}

.hero>*:nth-child(2){

    animation-delay:.12s;

}

.hero>*:nth-child(3){

    animation-delay:.24s;

}

.hero>*:nth-child(4){

    animation-delay:.36s;

}

.hero>*:nth-child(5){

    animation-delay:.48s;

}

/*=========================================================
Keyframes
=========================================================*/

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

@keyframes gradientText{

    0%{

        background-position:0%;

    }

    100%{

        background-position:300%;

    }

}

@keyframes textFade{

    0%{

        opacity:0;

        transform:translateY(15px);

    }

    20%{

        opacity:1;

        transform:translateY(0);

    }

    80%{

        opacity:1;

        transform:translateY(0);

    }

    100%{

        opacity:0;

        transform:translateY(-15px);

    }

}

@keyframes logoFloat{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-10px);

    }

    100%{

        transform:translateY(0);

    }

}
/*
===========================================================
Red Pearl Enterprises
Index Page
Production CSS
Part 3
===========================================================
*/

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

.about-section{

    width:100%;

    padding:120px 8%;

    display:flex;

    justify-content:center;

    align-items:center;

}

.about-card{

    width:min(1100px,100%);

    padding:70px;

    border-radius:32px;

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

    backdrop-filter:blur(24px);

    -webkit-backdrop-filter:blur(24px);

    border:1px solid rgba(255,255,255,.08);

    text-align:center;

    transition:all .4s ease;

    box-shadow:
        0 25px 60px rgba(0,0,0,.25);

}

.about-card:hover{

    transform:translateY(-8px);

    border-color:rgba(255,45,85,.25);

    box-shadow:
        0 35px 80px rgba(0,0,0,.35);

}

.about-card h2{

    font-size:2.6rem;

    font-weight:800;

    margin-bottom:25px;

    letter-spacing:-1px;

}

.about-card p{

    max-width:850px;

    margin:auto;

    color:var(--text-light);

    line-height:2;

    font-size:1.08rem;

}

/*=========================================================
Footer
=========================================================*/

footer{

    width:100%;

    padding:45px 8%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    border-top:1px solid rgba(255,255,255,.08);

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

    backdrop-filter:blur(15px);

}

footer p{

    color:var(--text-fade);

    font-size:.92rem;

    letter-spacing:.5px;

}

/*=========================================================
Utility Classes
=========================================================*/

.hidden{

    display:none !important;

}

.no-select{

    user-select:none;

    -webkit-user-select:none;

}

.center{

    display:flex;

    justify-content:center;

    align-items:center;

}

.text-gradient{

    background:linear-gradient(
        90deg,
        var(--primary),
        var(--secondary)
    );

     background-clip:text;

    -webkit-text-fill-color:transparent;

}

/*=========================================================
Hover Glow
=========================================================*/

.glow{

    transition:.4s ease;

}

.glow:hover{

    box-shadow:
        0 0 45px rgba(255,45,85,.30);

}

/*=========================================================
Smooth Image Rendering
=========================================================*/

img{

    display:block;

    max-width:100%;

}

/*=========================================================
Anchor
=========================================================*/

a{

    color:inherit;

}

/*=========================================================
Focus
=========================================================*/

button:focus-visible,
a:focus-visible{

    outline:2px solid var(--primary);

    outline-offset:4px;

}

/*=========================================================
Responsive
=========================================================*/

@media (max-width:1200px){

    .glass-card{

        padding:70px 50px;

    }

}

@media (max-width:992px){

    .navbar{

        padding:0 6%;

    }

    .hero{

        padding-left:6%;

        padding-right:6%;

    }

    .glass-card{

        padding:60px 40px;

    }

    .about-card{

        padding:55px;

    }

}

@media (max-width:768px){

    .navbar{

        height:72px;

        padding:0 20px;

    }

    .top-logo{

        height:42px;

    }

    .login-btn{

        padding:12px 24px;

        font-size:.92rem;

    }

    .hero{

        padding-top:100px;

        min-height:auto;

        padding-bottom:60px;

    }

    .glass-card{

        padding:45px 28px;

        border-radius:24px;

    }

    .logo{

        width:115px;

        height:115px;

    }

    .tag{

        font-size:.72rem;

        letter-spacing:2px;

        padding:9px 18px;

    }

    .subtitle{

        font-size:1rem;

        line-height:1.8;

    }

    #changingText{

        font-size:1rem;

    }

    .button-group{

        flex-direction:column;

        width:100%;

        gap:18px;

    }

    .primary-button,
    .secondary-button{

        width:100%;

        max-width:340px;

    }

    .about-section{

        padding:90px 20px;

    }

    .about-card{

        padding:35px 25px;

    }

    .about-card h2{

        font-size:2rem;

    }

    footer{

        flex-direction:column;

        gap:10px;

        text-align:center;

    }

}

@media (max-width:480px){

    .hero h1{

        font-size:2.5rem;

    }

    .subtitle{

        font-size:.95rem;

    }

    .glass-card{

        padding:35px 22px;

    }

    .logo{

        width:95px;

        height:95px;

    }

    .about-card h2{

        font-size:1.8rem;

    }

    .about-card p{

        font-size:.96rem;

        line-height:1.8;

    }

}

/*=========================================================
Large Displays
=========================================================*/

@media (min-width:1700px){

    .glass-card{

        max-width:1150px;

    }

    .hero h1{

        font-size:6.5rem;

    }

    .subtitle{

        font-size:1.3rem;

    }

}

/*=========================================================
Reduced Motion
=========================================================*/

@media (prefers-reduced-motion:reduce){

    *,
    *::before,
    *::after{

        animation-duration:.01ms !important;

        animation-iteration-count:1 !important;

        transition-duration:.01ms !important;

        scroll-behavior:auto !important;

    }

}