/* ==========================================
   SHAHINSHAH.IN
   VERSION 2.0
========================================== */

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

:root{

    --primary:#2563eb;
    --primary-dark:#1d4ed8;

    --text:#1e293b;
    --muted:#64748b;

    --background:#f8fafc;
    --surface:#ffffff;

    --border:#e2e8f0;

    --radius:14px;

    --shadow:0 12px 35px rgba(15,23,42,.08);

}

/* ==========================================
   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.7;

}

a{

    color:inherit;

    text-decoration:none;

}

img{

    max-width:100%;
    display:block;

}

/* ==========================================
   CONTAINER
========================================== */

.container{

    width:min(1100px,92%);
    margin:auto;

}

/* ==========================================
   HEADER
========================================== */

header{

    background:#ffffff;

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

    position:sticky;

    top:0;

    z-index:1000;

}

header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:22px 0;

}

/* ==========================================
   LOGO
========================================== */

.logo{

    font-size:2rem;

    font-weight:700;

    letter-spacing:-1px;

}

/* ==========================================
   NAVIGATION
========================================== */

nav{

    display:flex;

    gap:38px;

}

nav a{

    font-size:1rem;

    font-weight:500;

    position:relative;

    transition:.25s;

}

nav a:hover{

    color:var(--primary);

}

nav a.active{

    color:var(--primary);

}

nav a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--primary);

    transition:.25s;

}

nav a:hover::after,

nav a.active::after{

    width:100%;

}

/* ==========================================
   HERO
========================================== */

.hero{

    padding:110px 0;

    text-align:center;

}

.subtitle{

    color:var(--primary);

    font-size:1rem;

    font-weight:600;

    margin-bottom:20px;

}

.hero h1{

    font-size:4.5rem;

    line-height:1.05;

    letter-spacing:-2px;

    margin-bottom:30px;

}

.description{

    max-width:760px;

    margin:auto;

    color:var(--muted);

    font-size:1.25rem;

}

/* ==========================================
   BUTTON
========================================== */

.button{

    display:inline-block;

    margin-top:45px;

    background:var(--primary);

    color:#fff;

    padding:16px 38px;

    border-radius:999px;

    font-weight:600;

    transition:.3s;

}

.button:hover{

    background:var(--primary-dark);

    transform:translateY(-3px);

}

/* ==========================================
   FEATURES
========================================== */

.features{

    padding-bottom:120px;

}

.features h2{

    text-align:center;

    font-size:2.3rem;

    margin-bottom:55px;

}

/* ==========================================
   FEATURE GRID
========================================== */

.feature-grid{

    display:grid;

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

    gap:30px;

}

.feature{

    background:#fff;

    padding:38px;

    border-radius:var(--radius);

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

    transition:.3s;

}

.feature:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow);

}

.feature h3{

    font-size:1.6rem;

    margin-bottom:18px;

}

.feature p{

    color:var(--muted);

}

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

footer{

    background:#fff;

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

}

.footer{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:35px 0;

}

.footer h3{

    margin-bottom:6px;

}

.footer p{

    color:var(--muted);

}

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

@media(max-width:900px){

    header .container{

        flex-direction:column;

        gap:18px;

    }

    nav{

        flex-wrap:wrap;

        justify-content:center;

        gap:22px;

    }

    .hero{

        padding:80px 0;

    }

    .hero h1{

        font-size:3rem;

    }

    .description{

        font-size:1.05rem;

    }

    .feature-grid{

        grid-template-columns:1fr;

    }

    .footer{

        flex-direction:column;

        text-align:center;

        gap:15px;

    }

}
