/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root{
    --bg:#09090f;
    --card:rgba(255,255,255,0.05);
    --border:rgba(255,255,255,0.1);

    --primary:#7c3aed;
    --secondary:#06b6d4;
    --success:#22c55e;

    --text:#f8fafc;
    --muted:#94a3b8;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
    font-family:'Poppins',sans-serif;
}

body{
    background:var(--bg);
    color:var(--text);
    overflow-x:hidden;
    min-height:100vh;
}

/* =====================
BACKGROUND EFFECTS
===================== */

.bg-gradient{
    position:fixed;
    inset:0;
    z-index:-3;

    background:
    radial-gradient(circle at 20% 20%,
    rgba(124,58,237,.25),
    transparent 35%),

    radial-gradient(circle at 80% 40%,
    rgba(6,182,212,.20),
    transparent 35%);
}

.bg-blur{
    position:fixed;
    border-radius:50%;
    filter:blur(120px);
    z-index:-2;
}

.blur-1{
    width:300px;
    height:300px;
    background:#7c3aed;
    top:-100px;
    left:-100px;
}

.blur-2{
    width:300px;
    height:300px;
    background:#06b6d4;
    right:-100px;
    bottom:-100px;
}

/* =====================
GLASS
===================== */

.glass{
    background:var(--card);

    backdrop-filter:blur(20px);

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

    border-radius:24px;
}

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

.navbar{
    position:sticky;
    top:0;

    z-index:1000;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:20px 8%;

    backdrop-filter:blur(30px);
    border-bottom:1px solid rgba(255,255,255,.08);
    background:rgba(9,9,15,.6);
}

.logo{
    font-size:1.8rem;
    font-weight:800;

    background:linear-gradient(
    90deg,
    var(--primary),
    var(--secondary));

    -webkit-background-clip:text;
    color:transparent;
}

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

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

.nav-links{
    display:flex;
    gap:30px;
}

.nav-links a{
    color:var(--muted);
    text-decoration:none;
    transition:.3s;
}

.nav-links a:hover{
    color:white;
}

.nav-btn,
.primary-btn{
    text-decoration:none;

    padding:12px 24px;

    border-radius:12px;

    background:
    linear-gradient(
    135deg,
    var(--primary),
    var(--secondary));

    color:white;

    font-weight:600;

    transition:.4s;
}

.nav-btn:hover,
.primary-btn:hover{
    transform:translateY(-4px);
}

.secondary-btn{
    padding:12px 24px;

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

    border-radius:12px;

    color:white;

    text-decoration:none;
}

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

.hero{
    min-height:90vh;

    display:flex;
    justify-content:center;
    align-items:center;

    text-align:center;

    padding:80px 8%;
}

.hero-content{
    max-width:850px;
}

.hero-badge{
    display:inline-block;

    margin-bottom:20px;

    padding:10px 18px;

    border-radius:50px;

    background:rgba(124,58,237,.15);

    border:1px solid rgba(124,58,237,.3);

    color:#c4b5fd;
}

.hero h1{
    font-size:4rem;
    line-height:1.1;
    margin-bottom:20px;
}

.hero p{
    color:var(--muted);
    line-height:1.8;
    font-size:1.1rem;
}

.hero-buttons{
    margin-top:35px;

    display:flex;
    justify-content:center;
    gap:15px;
}

/* =====================
SECTIONS
===================== */

section{
    padding:100px 8%;
}

.section-title{
    text-align:center;
    margin-bottom:50px;
}

.section-title h2{
    font-size:2.5rem;
    margin-bottom:10px;
}

.section-title p{
    color:var(--muted);
}

/* =====================
STATS
===================== */

.stats{
    display:grid;
    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:25px;
}

.stat-card{
    text-align:center;
    padding:35px;
}

.stat-card h2{
    font-size:2.4rem;
    margin-bottom:10px;
}

.stat-card p{
    color:var(--muted);
}

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

.feature-grid{
    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:25px;
}

.feature-card{
    text-decoration:none;
    color:white;

    padding:30px;

    transition:.4s;
}

.feature-card:hover{
    transform:
    translateY(-8px)
    scale(1.02);

    border-color:
    rgba(124,58,237,.5);
}

.feature-card h3{
    margin-bottom:12px;
}

.feature-card p{
    color:var(--muted);
}

/* =====================
AI PREVIEW
===================== */

.preview-container{
    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(250px,1fr));

    gap:20px;

    padding:35px;
}

.preview-item{
    text-align:center;
}

.preview-item span{
    font-size:2rem;
    font-weight:700;
}

/* =====================
TIMELINE
===================== */

.timeline-wrapper{
display:grid;
grid-template-columns:repeat(5,1fr);
gap:20px;
justify-content:center;
}
.timeline-card{
    min-width:220px;
    padding:25px;
}

/* =====================
ANALYTICS
===================== */

.chart-card{
    padding:30px;
}

canvas{
    width:100%;
}

/* =====================
CTA
===================== */

.cta-box{
    text-align:center;
    padding:60px 30px;
}

.cta-box h2{
    font-size:2.5rem;
    margin-bottom:15px;
}

.cta-box p{
    color:var(--muted);
    margin-bottom:25px;
}

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

footer{
    text-align:center;
    padding:40px 20px;
    border-top:1px solid var(--border);
}

footer p{
    color:var(--muted);
    margin-top:8px;
}

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

@media(max-width:768px){

    .hero h1{
        font-size:2.5rem;
    }

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

    .nav-links{
        display:none;
    }

    section{
        padding:80px 5%;
    }
}
