/*==================================
        PROJECT SAMAVAR
===================================*/

/* Google Font */

@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;700;800&display=swap');

/*============== RESET ==============*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{

    scroll-behavior:smooth;

}

body{

    font-family:"Vazirmatn",sans-serif;

    background:#1c1c1c;

    color:#ffffff;

    overflow-x:hidden;

}

/*============== HEADER ==============*/

header{

    position:fixed;

    top:0;

    width:100%;

    z-index:999;

    background:rgba(13,13,13,.88);

    backdrop-filter:blur(18px);

    border-bottom:1px solid rgba(255,255,255,.08);

}

.navbar{

    width:90%;

    max-width:1200px;

    margin:auto;

    height:80px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

/*============== LOGO ==============*/

.logo{

    display:flex;

    align-items:center;

    gap:15px;

    text-decoration:none;

    color:white;

}

.logo img{

    width:58px;

    height:58px;

    border-radius:50%;

    object-fit:cover;

    transition:.4s;

}

.logo img:hover{

    transform:rotate(8deg) scale(1.05);

}

.logo span{

    font-size:22px;

    font-weight:700;

    letter-spacing:1px;

}

/*============== MENU ==============*/

.nav-menu{

    display:flex;

    list-style:none;

    gap:35px;

}

.nav-menu a{

    color:white;

    text-decoration:none;

    position:relative;

    transition:.3s;

}

.nav-menu a::after{

    content:"";

    position:absolute;

    right:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:white;

    transition:.3s;

}

.nav-menu a:hover::after{

    width:100%;

}

.nav-menu a:hover{

    opacity:.7;

}

/*============== HERO ==============*/

.hero{

    width:90%;

    max-width:1200px;

    margin:auto;

    min-height:100vh;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:70px;

}

.hero-text{

    flex:1;

}

.hero-top{

    color:#a3a3a3;

    margin-bottom:18px;

    font-size:17px;

    letter-spacing:3px;

    text-transform:uppercase;

}

.hero h1{

    font-size:72px;

    margin-bottom:25px;

    line-height:1.1;

}

.hero-description{

    color:#b5b5b5;

    line-height:2;

    max-width:520px;

    margin-bottom:45px;

}

/*============== BUTTONS ==============*/

.hero-buttons{

    display:flex;

    gap:20px;

}

.btn{

    padding:16px 38px;

    border-radius:50px;

    text-decoration:none;

    transition:.35s;

    font-weight:700;

}

/* دکمه اصلی */

.btn-dark{

    background:white;

    color:black;

}

.btn-dark:hover{

    transform:translateY(-5px);

    box-shadow:0 20px 35px rgba(255,255,255,.12);

}

/* دکمه دوم */

.btn-light{

    border:1px solid rgba(255,255,255,.25);

    color:white;

}

.btn-light:hover{

    background:white;

    color:black;

}

/*============== HERO IMAGE ==============*/

.hero-image{

    flex:1;

    display:flex;

    justify-content:center;

}

.hero-image img{

    width:430px;

    max-width:100%;

    border-radius:50%;

    animation:float 5s ease-in-out infinite;

    filter:drop-shadow(0 0 40px rgba(255,255,255,.08));

}

/*============== FLOAT ==============*/

@keyframes float{

0%{

transform:translateY(0);

}

50%{

transform:translateY(-18px);

}

100%{

transform:translateY(0);

}

}
/*==============================
            ABOUT
==============================*/

.about{

    width:90%;

    max-width:900px;

    margin:120px auto;

    text-align:center;

}

.about h2{

    font-size:42px;

    margin-bottom:25px;

    font-weight:700;

}

.about p{

    color:#bdbdbd;

    line-height:2.2;

    font-size:17px;

}


/*==============================
          FEATURES
==============================*/

.features{

    width:90%;

    max-width:1200px;

    margin:120px auto;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.card{

    background:#181818;

    border:1px solid rgba(255,255,255,.08);

    border-radius:25px;

    padding:45px 35px;

    text-align:center;

    transition:.35s;

}

.card:hover{

    transform:translateY(-12px);

    background:#202020;

    border-color:rgba(255,255,255,.25);

    box-shadow:0 20px 40px rgba(0,0,0,.4);

}

.card i{

    font-size:55px;

    color:white;

    margin-bottom:25px;

}

.card h3{

    margin-bottom:18px;

    font-size:24px;

}

.card p{

    color:#bdbdbd;

    line-height:2;

}


/*==============================
            JOIN
==============================*/

.join{

    width:90%;

    max-width:900px;

    margin:120px auto;

    text-align:center;

}

.join h2{

    font-size:42px;

    margin-bottom:20px;

}

.join p{

    color:#bdbdbd;

    margin-bottom:35px;

    line-height:2;

}

.join-btn{

    display:inline-flex;

    align-items:center;

    gap:12px;

    padding:18px 42px;

    background:white;

    color:black;

    border-radius:50px;

    text-decoration:none;

    font-weight:700;

    transition:.35s;

}

.join-btn:hover{

    transform:translateY(-6px);

    background:#e5e5e5;

    box-shadow:0 18px 35px rgba(255,255,255,.12);

}


/*==============================
            FOOTER
==============================*/

footer{

    margin-top:120px;

    padding:60px 20px;

    text-align:center;

    border-top:1px solid rgba(255,255,255,.08);

}

footer h3{

    font-size:24px;

    margin-bottom:15px;

}

footer p{

    color:#8c8c8c;

    margin:8px 0;

    line-height:1.8;

}


/*==============================
         SCROLLBAR
==============================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#111;

}

::-webkit-scrollbar-thumb{

    background:#444;

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#777;

}


/*==============================
        RESPONSIVE
==============================*/

@media (max-width:900px){

.navbar{

flex-direction:column;

height:auto;

padding:20px 0;

}

.nav-menu{

flex-wrap:wrap;

justify-content:center;

margin-top:20px;

gap:20px;

}

.hero{

flex-direction:column-reverse;

text-align:center;

padding-top:140px;

gap:40px;

}

.hero h1{

font-size:48px;

}

.hero-description{

margin:auto;

margin-bottom:35px;

}

.hero-buttons{

justify-content:center;

flex-wrap:wrap;

}

.hero-image img{

width:280px;

}

.features{

grid-template-columns:1fr;

}

.about h2,

.join h2{

font-size:34px;

}

.card{

padding:35px 25px;

}

}
/*==================================
        FINAL POLISH
===================================*/

/* Selection */

::selection{

    background:white;

    color:black;

}

/* Smooth Fade */

section{

    animation:fadeUp .8s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(35px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* Hero Title */

.hero h1{

    text-shadow:0 0 25px rgba(255,255,255,.08);

}

/* Cards */

.card{

    overflow:hidden;

    position:relative;

}

.card::before{

    content:"";

    position:absolute;

    top:-120%;

    left:-120%;

    width:250%;

    height:250%;

    background:linear-gradient(

        45deg,

        transparent,

        rgba(255,255,255,.04),

        transparent

    );

    transform:rotate(25deg);

    transition:.8s;

}

.card:hover::before{

    top:100%;

    left:100%;

}

.card h3{

    transition:.3s;

}

.card:hover h3{

    letter-spacing:1px;

}

/* Buttons */

.btn,

.join-btn{

    cursor:pointer;

}

.btn:active,

.join-btn:active{

    transform:scale(.97);

}

/* Hero Image */

.hero-image img{

    transition:.45s;

}

.hero-image img:hover{

    transform:scale(1.03);

    filter:

        brightness(1.05)

        drop-shadow(0 0 35px rgba(255,255,255,.15));

}

/* Navbar */

.nav-menu a{

    font-weight:500;

}

.nav-menu a:hover{

    letter-spacing:.5px;

}

/* Logo */

.logo span{

    transition:.3s;

}

.logo:hover span{

    opacity:.75;

}

/* About */

.about p{

    max-width:760px;

    margin:auto;

}

/* Footer */

footer{

    background:#090909;

}

footer h3{

    color:white;

}

footer p{

    transition:.3s;

}

footer p:hover{

    color:white;

}

/* Glass Effect */

.card{

    backdrop-filter:blur(18px);

}

/* Image */

img{

    user-select:none;

    -webkit-user-drag:none;

}

/* Links */

a{

    transition:.3s;

}

/* Layout */

section{

    padding-top:30px;

    padding-bottom:30px;

}

/* Desktop */

@media(min-width:1200px){

.hero h1{

    font-size:82px;

}

.hero-description{

    font-size:18px;

}

.card{

    padding:50px;

}

}

/* Tablet */

@media(max-width:768px){

.hero{

    gap:25px;

}

.hero h1{

    font-size:42px;

}

.hero-top{

    font-size:14px;

}

.hero-description{

    font-size:15px;

}

.card{

    border-radius:18px;

}

}

/* Mobile */

@media(max-width:480px){

.logo img{

    width:45px;

    height:45px;

}

.logo span{

    font-size:18px;

}

.hero h1{

    font-size:34px;

}

.hero-image img{

    width:220px;

}

.btn,

.join-btn{

    width:100%;

    justify-content:center;

}

.hero-buttons{

    flex-direction:column;

}

.about h2,

.join h2{

    font-size:28px;

}

.card{

    padding:28px 20px;

}

footer{

    padding:40px 15px;

}

}

/*==================================
            END
===================================*/