/* ===== RESET ===== */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial,Helvetica,sans-serif;
    background:#0d1117;
    color:#fff;
    line-height:1.7;
}

/* ===== NAVBAR ===== */
.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 40px;
    background:rgba(13,17,23,.92);
    backdrop-filter:blur(10px);
    z-index:1000;
}

.logo{
    display:flex;
    align-items:center;
    gap:12px;
    font-weight:bold;
    color:white;
}

.logo img{
    width:45px;
    height:45px;
    border-radius:50%;
}

.navbar ul{
    display:flex;
    list-style:none;
    gap:25px;
}

.navbar a{
    color:white;
    text-decoration:none;
    transition:.3s;
}

.navbar a:hover{
    color:#8b5cf6;
}

/* ===== HERO ===== */
.hero{
    text-align:center;
    padding-top:90px;
    background:linear-gradient(135deg,#0d1117,#1b1b2f,#6d28d9);
}

.banner{
    width:100%;
    height:260px;
    object-fit:cover;
    display:block;
}

.overlay{
    margin-top:-90px;
    padding:20px;
}

.profile{
    width:180px;
    height:180px;
    border-radius:50%;
    object-fit:cover;
    border:6px solid #8b5cf6;
    box-shadow:0 0 40px rgba(139,92,246,.6);
}

.hero h1{
    font-size:56px;
    margin-top:20px;
}

.hero h3{
    color:#c084fc;
    margin:15px 0;
}

.hero p{
    max-width:750px;
    margin:auto;
    color:#e5e7eb;
}

/* ===== BUTTONS ===== */
.buttons{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:15px;
    margin:35px 0;
}

.buttons a{
    background:#8b5cf6;
    color:white;
    padding:15px 28px;
    border-radius:50px;
    text-decoration:none;
    font-weight:bold;
    transition:.3s;
}

.buttons a:hover{
    background:#6d28d9;
    transform:translateY(-4px);
}

/* ===== SECTIONS ===== */
section{
    max-width:1100px;
    margin:auto;
    padding:80px 20px;
}

section h2{
    text-align:center;
    margin-bottom:40px;
    font-size:36px;
}

/* ===== GRID ===== */
.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:25px;
}

/* ===== CARD ===== */
.card{
    background:#1b1b2f;
    padding:25px;
    border-radius:18px;
    transition:.35s;
}

.card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(139,92,246,.35);
}

.card h3{
    color:#a78bfa;
    margin-bottom:10px;
}

.card p{
    color:#d1d5db;
}

/* ===== FOOTER ===== */
footer{
    background:#111827;
    text-align:center;
    padding:40px 20px;
}

footer h3{
    margin-bottom:10px;
}

footer p{
    color:#d1d5db;
}

/* ===== MOBILE ===== */
@media(max-width:768px){

.navbar{
    flex-direction:column;
    padding:15px;
}

.navbar ul{
    flex-wrap:wrap;
    justify-content:center;
    gap:12px;
    margin-top:10px;
}

.hero h1{
    font-size:34px;
}

.hero h3{
    font-size:20px;
}

.profile{
    width:140px;
    height:140px;
}

.buttons{
    flex-direction:column;
    align-items:center;
}

.buttons a{
    width:220px;
    text-align:center;
}
}/* Scroll Animation */
.hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.show {
    opacity: 1;
    transform: translateY(0);
}
/* ================= DARK/LIGHT TOGGLE ================= */

#theme-toggle{
    background:#7c3aed;
    color:white;
    border:none;
    padding:10px 15px;
    border-radius:50px;
    cursor:pointer;
    font-size:18px;
    transition:0.3s;
    margin-left:20px;
}

#theme-toggle:hover{
    background:#5b21b6;
    transform:scale(1.1);
}

/* Light Theme */

body.light-mode{
    background:#ffffff;
    color:#111111;
}

body.light-mode .navbar{
    background:#f4f4f4;
}

body.light-mode .card{
    background:#ffffff;
    color:#111111;
    border:1px solid #ddd;
}

body.light-mode a{
    color:#7c3aed;
}
/* ================= BACK TO TOP ================= */

#backToTop{
    position:fixed;
    bottom:25px;
    right:25px;
    display:none;
    background:#7c3aed;
    color:white;
    border:none;
    padding:12px 16px;
    border-radius:50%;
    font-size:20px;
    cursor:pointer;
    box-shadow:0 4px 10px rgba(0,0,0,.3);
    transition:.3s;
    z-index:1000;
}

#backToTop:hover{
    background:#5b21b6;
    transform:translateY(-4px);
}
/* ================= MOBILE MENU ================= */

.menu-toggle{
    display:none;
    font-size:30px;
    cursor:pointer;
    color:white;
}

/* Mobile */

@media (max-width:768px){

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
}

.navbar ul{
    display:none;
    width:100%;
    flex-direction:column;
    margin-top:15px;
    text-align:center;
}

.navbar ul.active{
    display:flex;
}

.menu-toggle{
    display:block;
}

#theme-toggle{
    margin-right:10px;
}

}
/* ================= SCROLL ANIMATIONS ================= */

.hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.show {
    opacity: 1;
    transform: translateY(0);
}
/* ================= AI SAAS DASHBOARD ================= */

#dashboard .card{
    transition:0.35s;
    border-radius:20px;
    overflow:hidden;
    position:relative;
}

#dashboard .card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,.2);
}

#dashboard .card::before{
    content:"NEW";
    position:absolute;
    top:15px;
    right:15px;
    background:#00c853;
    color:white;
    padding:5px 10px;
    border-radius:20px;
    font-size:12px;
    font-weight:bold;
}

#dashboard h3{
    font-size:24px;
}

#dashboard .btn{
    display:inline-block;
    margin-top:15px;
}
/* ===== Toast Notification ===== */

.toast{
position:fixed;
bottom:30px;
right:30px;
background:#16a34a;
color:white;
padding:15px 20px;
border-radius:12px;
font-weight:bold;
opacity:0;
transform:translateY(20px);
transition:all .4s ease;
z-index:9999;
box-shadow:0 10px 30px rgba(0,0,0,.25);
}

.toast.show{
opacity:1;
transform:translateY(0);
}
