/* ===========================
   ROOT VARIABLES
=========================== */

:root {

    --bg: #050505;
    --surface: #0d0d0d;
    --surface-2: #141414;

    --border: #242424;

    --text: #ffffff;
    --text-secondary: #b5b5b5;
    --text-muted: #707070;

    --accent: #5ea3ff;
    --accent-hover: #7db6ff;

    --success: #54d26d;
    --warning: #ffcb4c;
    --danger: #ff6b6b;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 24px;

    --shadow:
        0 8px 40px rgba(0,0,0,.45);

    --transition:
        .25s cubic-bezier(.4,0,.2,1);

    --max-width: 1200px;

}


/* ===========================
   RESET
=========================== */

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    background:var(--bg);

    color:var(--text);

    font-family:

    Inter,

    -apple-system,

    BlinkMacSystemFont,

    "Segoe UI",

    sans-serif;

    line-height:1.6;

    overflow-x:hidden;

}

img{

    display:block;

    max-width:100%;

}

video{

    display:block;

    max-width:100%;

}

a{

    color:inherit;

    text-decoration:none;

}

button{

    font:inherit;

    cursor:pointer;

    border:none;

}

ul{

    list-style:none;

}


/* ===========================
   SCROLLBAR
=========================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#090909;

}

::-webkit-scrollbar-thumb{

    background:#222;

    border-radius:100px;

}

::-webkit-scrollbar-thumb:hover{

    background:#444;

}


/* ===========================
   CONTAINERS
=========================== */

.container{

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

    margin:auto;

}

.section{

    padding:120px 0;

}

.section-title{

    margin-bottom:60px;

}

.section-title h2{

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

    font-weight:600;

    margin-bottom:12px;

}

.section-title p{

    color:var(--text-secondary);

}


/* ===========================
   TYPOGRAPHY
=========================== */

h1{

    font-size:clamp(3rem,8vw,5.5rem);

    line-height:1;

    font-weight:700;

}

h2{

    font-size:2.6rem;

    line-height:1.1;

}

h3{

    font-size:1.4rem;

    line-height:1.3;

}

p{

    color:var(--text-secondary);

    font-size:1.05rem;

}

strong{

    color:white;

}


/* ===========================
   BUTTONS
=========================== */

.primary-button{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    padding:16px 30px;

    border-radius:100px;

    background:var(--accent);

    color:white;

    transition:var(--transition);

    font-weight:600;

}

.primary-button:hover{

    background:var(--accent-hover);

    transform:translateY(-2px);

}

.secondary-button{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:15px 28px;

    border-radius:100px;

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

    transition:var(--transition);

}

.secondary-button:hover{

    border-color:var(--accent);

}


/* ===========================
   NAVBAR
=========================== */

header{

    position:fixed;

    top:0;

    width:100%;

    z-index:500;

}

nav{

    width:min(94%,1250px);

    margin:20px auto;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 30px;

    border-radius:18px;

    backdrop-filter:blur(18px);

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

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

}

.logo{

    font-size:1.15rem;

    font-weight:700;

}

.nav-links{

    display:flex;

    gap:36px;

}

.nav-links a{

    color:var(--text-secondary);

    transition:var(--transition);

}

.nav-links a:hover{

    color:white;

}


/* ===========================
   CARDS
=========================== */

.card{

    background:var(--surface);

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

    border-radius:var(--radius);

    overflow:hidden;

    transition:var(--transition);

}

.card:hover{

    transform:translateY(-8px);

    border-color:#444;

}

.card-content{

    padding:28px;

}


/* ===========================
   TAGS
=========================== */

.tag{

    display:inline-flex;

    align-items:center;

    padding:8px 14px;

    border-radius:999px;

    background:#141414;

    color:#b8b8b8;

    font-size:.85rem;

    border:1px solid #232323;

}

.tag.green{

    background:rgba(84,210,109,.12);

    color:var(--success);

}

.tag.yellow{

    background:rgba(255,203,76,.12);

    color:var(--warning);

}

.tag.blue{

    background:rgba(94,163,255,.12);

    color:var(--accent);

}


/* ===========================
   FOOTER
=========================== */

footer{

    padding:60px 0;

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

    text-align:center;

}

footer p{

    color:var(--text-muted);

}


/* ===========================
   LOADER
=========================== */

#loader{

    position:fixed;

    inset:0;

    background:var(--bg);

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:99999;

}

.loader-logo{

    font-size:3rem;

    font-weight:700;

    color:white;

}


/* ===========================
   UTILITIES
=========================== */

.hidden{

    display:none !important;

}

.center{

    text-align:center;

}

.flex{

    display:flex;

}

.grid{

    display:grid;

}

.rounded{

    border-radius:var(--radius);

}

.shadow{

    box-shadow:var(--shadow);

}


/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:900px){

    nav{

        padding:16px 20px;

    }

    .nav-links{

        gap:20px;

    }

    .section{

        padding:90px 0;

    }

}

@media(max-width:700px){

    .nav-links{

        display:none;

    }

    h1{

        font-size:3rem;

    }

    h2{

        font-size:2rem;

    }

}