/* ==========================================================
   CalcMathMan
   style.css
   Part 1
   Global • Navbar • Hero
========================================================== */

/* ---------- GOOGLE FONT ---------- */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- RESET ---------- */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* ---------- ROOT ---------- */

:root{

    --bg:#0f1117;
    --bg2:#171923;
    --card:#1f2330;
    --cardHover:#292f40;

    --text:#ffffff;
    --muted:#b8becf;

    --primary:#4f8cff;
    --primaryHover:#76a7ff;

    --border:#2b3142;

    --radius:18px;

}

/* ---------- BODY ---------- */

html{
    scroll-behavior:smooth;
}

body{

    background:linear-gradient(180deg,#0f1117,#171923);

    color:var(--text);

    font-family:'Inter',sans-serif;

    overflow-x:hidden;

}

/* ---------- SCROLLBAR ---------- */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#111;
}

::-webkit-scrollbar-thumb{
    background:#3a3f53;
    border-radius:20px;
}

::-webkit-scrollbar-thumb:hover{
    background:#555d78;
}

/* ---------- LINKS ---------- */

a{
    text-decoration:none;
    color:white;
}

/* ==========================================================
   NAVBAR
========================================================== */

header{

    width:100%;

    min-height:100vh;

    position:relative;

}

/* ---------- NAV ---------- */

nav{

    width:100%;

    height:80px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:0 8%;

    position:fixed;

    top:0;

    left:0;

    z-index:999;

    backdrop-filter:blur(18px);

    background:rgba(15,17,23,.75);

    border-bottom:1px solid rgba(255,255,255,.05);

}

/* ---------- LOGO ---------- */

.logo{

    display:flex;

    align-items:center;

    gap:14px;

}

.logo img{

    width:48px;
    height:48px;

    border-radius:14px;

}

.logo h2{

    font-size:24px;

    font-weight:700;

}

/* ---------- NAV LINKS ---------- */

.navButtons{

    display:flex;

    align-items:center;

    gap:35px;

}

.navButtons a{

    color:#d7dbea;

    font-size:15px;

    transition:.25s;

}

.navButtons a:hover{

    color:white;

}

/* ==========================================================
   HERO
========================================================== */

.hero{

    width:100%;

    min-height:100vh;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:120px 8% 80px;

    gap:70px;

}

/* ---------- LEFT ---------- */

.heroText{

    flex:1;

}

.heroText h1{

    font-size:65px;

    line-height:1.05;

    font-weight:800;

    margin-bottom:28px;

}

.heroText p{

    color:var(--muted);

    font-size:19px;

    line-height:1.8;

    max-width:620px;

    margin-bottom:40px;

}

/* ---------- BUTTONS ---------- */

.heroButtons{

    display:flex;

    gap:18px;

    flex-wrap:wrap;

}

.downloadBtn{

    display:flex;

    align-items:center;

    gap:10px;

    padding:15px 28px;

    border-radius:14px;

    background:var(--primary);

    color:white;

    font-weight:600;

    transition:.25s;

    box-shadow:0 10px 30px rgba(79,140,255,.25);

}

.downloadBtn:hover{

    background:var(--primaryHover);

    transform:translateY(-3px);

}

.githubBtn{

    display:flex;

    align-items:center;

    gap:10px;

    padding:15px 28px;

    border-radius:14px;

    border:1px solid var(--border);

    color:white;

    transition:.25s;

}

.githubBtn:hover{

    background:#23293a;

    transform:translateY(-3px);

}

/* ---------- HERO IMAGE ---------- */

.heroImage{

    flex:1;

    display:flex;

    justify-content:center;

    align-items:center;

}

.heroImage img{

    width:130%;

    max-width:500px;

    filter:drop-shadow(0 25px 60px rgba(0,0,0,.45));

    animation:float 4s ease-in-out infinite;

}

/* ---------- FLOAT ---------- */

@keyframes float{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-15px);

    }

    100%{

        transform:translateY(0);

    }

}

/* ---------- SECTION TITLES ---------- */

section{

    padding:90px 8%;

}

section h2{

    text-align:center;

    font-size:42px;

    margin-bottom:55px;

    font-weight:800;

}
/* ==========================================================
   CalcMathMan
   style.css
   Part 2
   Features • Gallery • Download Section
========================================================== */

/* ==========================================================
   FEATURES
========================================================== */

.features{
    width:100%;
    background:#131722;
}

.cards{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:30px;

}

.card{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:var(--radius);

    padding:35px;

    text-align:center;

    transition:.35s;

    cursor:pointer;

    position:relative;

    overflow:hidden;

}

.card::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        135deg,
        rgba(79,140,255,.08),
        transparent 70%
    );

    opacity:0;

    transition:.35s;

}

.card:hover{

    transform:translateY(-10px);

    background:var(--cardHover);

    box-shadow:0 20px 40px rgba(0,0,0,.35);

}

.card:hover::before{

    opacity:1;

}

.card svg{

    width:56px;

    height:56px;

    color:var(--primary);

    margin-bottom:22px;

}

.card h3{

    font-size:24px;

    margin-bottom:14px;

}

.card p{

    color:var(--muted);

    line-height:1.8;

    font-size:15px;

}

/* ==========================================================
   SCREENSHOTS
========================================================== */

.screenshots{

    background:#171923;

}

.gallery{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:30px;

}

.gallery img{

    width:20%;

    border-radius:20px;

    border:1px solid var(--border);

    transition:.35s;

    cursor:pointer;

    box-shadow:0 15px 35px rgba(0,0,0,.25);
    height: 100%;

}

.gallery img:hover{

    transform:translateY(-8px) scale(1.03);

    box-shadow:0 25px 55px rgba(0,0,0,.45);

}

/* ==========================================================
   SYSTEM REQUIREMENTS
========================================================== */

.requirements{

    background:#131722;

}

.requirements ul{

    max-width:700px;

    margin:auto;

    list-style:none;

}

.requirements li{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:14px;

    padding:18px 22px;

    margin-bottom:18px;

    font-size:17px;

    transition:.3s;

}

.requirements li:hover{

    background:var(--cardHover);

    transform:translateX(8px);

}

/* ==========================================================
   DOWNLOAD SECTION
========================================================== */

.downloadSection{

    background:linear-gradient(
        180deg,
        #171923,
        #0f1117
    );

    text-align:center;

}

.downloadSection h2{

    font-size:48px;

    margin-bottom:18px;

}

.downloadSection p{

    max-width:700px;

    margin:0 auto 45px;

    color:var(--muted);

    line-height:1.8;

    font-size:18px;

}

.downloadBtn.big{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    font-size:19px;

    padding:18px 42px;

    border-radius:18px;

    box-shadow:0 15px 35px rgba(79,140,255,.30);

}

.downloadBtn.big:hover{

    transform:translateY(-5px) scale(1.03);

}

/* ==========================================================
   DOWNLOAD INFO
========================================================== */

.downloadInfo{

    display:flex;

    justify-content:center;

    gap:35px;

    margin-top:60px;

    flex-wrap:wrap;

}

.infoCard{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:16px;

    padding:25px;

    min-width:220px;

    transition:.3s;

}

.infoCard:hover{

    background:var(--cardHover);

    transform:translateY(-8px);

}

.infoCard svg{

    width:36px;

    height:36px;

    color:var(--primary);

    margin-bottom:14px;

}

.infoCard h3{

    margin-bottom:10px;

    font-size:20px;

}

.infoCard p{

    color:var(--muted);

    line-height:1.7;

    font-size:15px;

}

/* ==========================================================
   DIVIDER
========================================================== */

.divider{

    width:120px;

    height:4px;

    background:var(--primary);

    border-radius:50px;

    margin:20px auto 50px;

    opacity:.8;

}
/* ==========================================================
   CalcMathMan
   style.css
   Part 2
   Features • Gallery • Download Section
========================================================== */

/* ==========================================================
   FEATURES
========================================================== */

.features{
    width:100%;
    background:#131722;
}

.cards{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:30px;

}

.card{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:var(--radius);

    padding:35px;

    text-align:center;

    transition:.35s;

    cursor:pointer;

    position:relative;

    overflow:hidden;

}

.card::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        135deg,
        rgba(79,140,255,.08),
        transparent 70%
    );

    opacity:0;

    transition:.35s;

}

.card:hover{

    transform:translateY(-10px);

    background:var(--cardHover);

    box-shadow:0 20px 40px rgba(0,0,0,.35);

}

.card:hover::before{

    opacity:1;

}

.card svg{

    width:56px;

    height:56px;

    color:var(--primary);

    margin-bottom:22px;

}

.card h3{

    font-size:24px;

    margin-bottom:14px;

}

.card p{

    color:var(--muted);

    line-height:1.8;

    font-size:15px;

}

/* ==========================================================
   SCREENSHOTS
========================================================== */

.screenshots{

    background:#171923;

}

.gallery{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:30px;

}

.gallery img{

    width:100%;

    border-radius:20px;

    border:1px solid var(--border);

    transition:.35s;

    cursor:pointer;

    box-shadow:0 15px 35px rgba(0,0,0,.25);

}

.gallery img:hover{

    transform:translateY(-8px) scale(1.03);

    box-shadow:0 25px 55px rgba(0,0,0,.45);

}

/* ==========================================================
   SYSTEM REQUIREMENTS
========================================================== */

.requirements{

    background:#131722;

}

.requirements ul{

    max-width:700px;

    margin:auto;

    list-style:none;

}

.requirements li{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:14px;

    padding:18px 22px;

    margin-bottom:18px;

    font-size:17px;

    transition:.3s;

}

.requirements li:hover{

    background:var(--cardHover);

    transform:translateX(8px);

}

/* ==========================================================
   DOWNLOAD SECTION
========================================================== */

.downloadSection{

    background:linear-gradient(
        180deg,
        #171923,
        #0f1117
    );

    text-align:center;

}

.downloadSection h2{

    font-size:48px;

    margin-bottom:18px;

}

.downloadSection p{

    max-width:700px;

    margin:0 auto 45px;

    color:var(--muted);

    line-height:1.8;

    font-size:18px;

}

.downloadBtn.big{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    font-size:19px;

    padding:18px 42px;

    border-radius:18px;

    box-shadow:0 15px 35px rgba(79,140,255,.30);

}

.downloadBtn.big:hover{

    transform:translateY(-5px) scale(1.03);

}

/* ==========================================================
   DOWNLOAD INFO
========================================================== */

.downloadInfo{

    display:flex;

    justify-content:center;

    gap:35px;

    margin-top:60px;

    flex-wrap:wrap;

}

.infoCard{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:16px;

    padding:25px;

    min-width:220px;

    transition:.3s;

}

.infoCard:hover{

    background:var(--cardHover);

    transform:translateY(-8px);

}

.infoCard svg{

    width:36px;

    height:36px;

    color:var(--primary);

    margin-bottom:14px;

}

.infoCard h3{

    margin-bottom:10px;

    font-size:20px;

}

.infoCard p{

    color:var(--muted);

    line-height:1.7;

    font-size:15px;

}

/* ==========================================================
   DIVIDER
========================================================== */

.divider{

    width:120px;

    height:4px;

    background:var(--primary);

    border-radius:50px;

    margin:20px auto 50px;

    opacity:.8;

}