/* ==========================
   RESET
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;

    background:
    radial-gradient(
        circle at top,
        #131d38 0%,
        #050505 40%
    );

    color:white;

    overflow-x:hidden;
}

img{
    display:block;
    max-width:100%;
}

.page{
    width:min(1500px,95vw);
    margin:auto;
}

/* ==========================
   GLOBAL
========================== */

section{
    padding:60px 0;
}

.section-header{

    text-align:center;

    max-width:850px;

    margin:0 auto 70px;
}

.section-header span{

    display:inline-block;

    padding:10px 18px;

    border-radius:999px;

    color:#60a5fa;

    background:
    rgba(96,165,250,.08);

    border:
    1px solid rgba(96,165,250,.18);

    margin-bottom:20px;
}

.section-header h2{

    font-size:
    clamp(2.5rem,5vw,4rem);

    margin-bottom:15px;
}

.section-header p{

    color:#94a3b8;

    line-height:1.9;
}

/* ==========================
   NAVBAR
========================== */

.navbar{
    height:90px;

    display:flex;

    align-items:center;
    justify-content:space-between;

    padding:0 40px;

    position:relative;

    z-index:100;
}

.logo{
    display:flex;
    align-items:center;
    gap:14px;
    position:relative;
}

.logo::before{

    content:'';

    position:absolute;

    width:70px;
    height:70px;

    left:-8px;
    top:-9px;

    border-radius:20px;

    background:
    radial-gradient(
        circle,
        rgba(59,130,246,.25),
        rgba(168,85,247,.15),
        transparent
    );

    filter:blur(18px);

    z-index:-1;
}

.logo img{
    width:52px;
    height:52px;
    border-radius:16px;

    transition:.4s ease;

    filter:
    drop-shadow(0 0 10px rgba(37,99,235,.6))
    drop-shadow(0 0 20px rgba(168,85,247,.4));
}

.logo img:hover{

    transform:
    scale(1.08)
    rotate(-4deg);

    filter:
    drop-shadow(0 0 18px rgba(37,99,235,.9))
    drop-shadow(0 0 35px rgba(168,85,247,.8));
}

.logo h2{
    font-size:34px;
    font-weight:800;

    text-shadow:
    0 0 15px rgba(59,130,246,.25);
}

.logo span{

    background:
    linear-gradient(
        135deg,
        #60a5fa,
        #a855f7
    );

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;

    text-shadow:
    0 0 20px rgba(168,85,247,.4);
}

.nav-links{

    display:flex;

    gap:36px;

    list-style:none;
}

.nav-links a{

    text-decoration:none;

    color:#cbd5e1;

    transition:.3s ease;
}

.nav-links a:hover{
    color:white;
}

.nav-links a.active{

    color:white;

    position:relative;
}

.nav-links a.active::after{

    content:'';

    position:absolute;

    left:0;
    bottom:-10px;

    width:100%;
    height:3px;

    border-radius:999px;

    background:
    linear-gradient(
        90deg,
        #3b82f6,
        #8b5cf6
    );
}

.notify-btn{

    border:none;

    cursor:pointer;

    color:white;

    font-weight:700;

    padding:14px 24px;

    border-radius:16px;

    background:
    linear-gradient(
        135deg,
        #2563eb,
        #8b5cf6
    );
}

/* ==========================
   MOBILE MENU
========================== */

.menu-btn{
    display:none;

    background:none;
    border:none;

    color:white;

    font-size:30px;
    cursor:pointer;

    transition:.3s ease;
}

.menu-btn.active{
    transform:rotate(90deg);
    color:#60a5fa;
}

.mobile-menu{
    display:none;
}

.mobile-menu.active{
    display:flex !important;
    flex-direction:column;
    gap:8px;

    position:absolute;
    top:90px;
    left:15px;
    right:15px;

    padding:20px;

    background:rgba(15,23,42,.95);
    backdrop-filter:blur(20px);

    border:1px solid rgba(96,165,250,.2);
    border-radius:24px;

    box-shadow:
    0 0 30px rgba(37,99,235,.25),
    0 0 60px rgba(168,85,247,.15);

    animation:menuSlide .35s ease;
    z-index:9999;
}

@keyframes menuSlide{
    from{
        opacity:0;
        transform:translateY(-20px) scale(.95);
    }
    to{
        opacity:1;
        transform:translateY(0) scale(1);
    }
}

.mobile-menu a{
    color:white;
    text-decoration:none;

    padding:14px 18px;

    border-radius:14px;

    transition:.3s ease;
}

.mobile-menu a:hover{
    background:rgba(96,165,250,.12);

    transform:translateX(8px);

    color:#60a5fa;
}

.mobile-menu button{
    margin-top:10px;
    padding:15px;
    border:none;
    border-radius:16px;
    color:white;
    font-weight:700;
    background:linear-gradient(135deg, #2563eb, #8b5cf6);
    box-shadow:0 0 20px rgba(59,130,246,.3);
}

/* ==========================
   HERO
========================== */

.hero{

    min-height:75vh;

    display:flex;

    align-items:center;
    justify-content:center;

    text-align:center;

    position:relative;

    overflow:hidden;
}

.hero-glow{

    position:absolute;

    width:700px;
    height:700px;

    border-radius:50%;

    background:
    radial-gradient(
        circle,
        rgba(59,130,246,.20),
        transparent 70%
    );

    filter:blur(60px);

    z-index:0;
}

.hero-content{

    position:relative;

    z-index:2;

    max-width:900px;
}

.hero-badge{

    display:inline-block;

    padding:12px 20px;

    border-radius:999px;

    color:#60a5fa;

    margin-bottom:30px;

    border:
    1px solid rgba(96,165,250,.25);

    background:
    rgba(96,165,250,.08);
}

.hero-logo{

    width:130px;
    height:130px;

    margin:0 auto 30px;

    border-radius:28px;
    
    animation:
    floatLogo 4s ease-in-out infinite;

    transition:
    transform .4s ease,
    filter .4s ease;

    cursor:pointer;
}

.hero-logo:hover{

    transform:
    scale(1.08)
    rotate(8deg);

    filter:
    drop-shadow(0 0 20px #3b82f6)
    drop-shadow(0 0 40px #a855f7);
}

@keyframes floatLogo{

    0%{transform:translateY(0);}
    50%{transform:translateY(-12px);}
    100%{transform:translateY(0);}
}

.hero h1{

    font-size:
    clamp(2.8rem,5vw,4.8rem);

    line-height:1.05;

    margin-bottom:24px;

    letter-spacing:-2px;


    background:
    linear-gradient(
        135deg,
        #ffffff,
        #cbd5e1,
        #60a5fa,
        #a855f7
    );

    background-size:300% 300%;

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;

    animation:
    gradientShift 6s ease infinite;
}

@keyframes gradientShift{

    0%{
        background-position:0% 50%;
    }

    50%{
        background-position:100% 50%;
    }

    100%{
        background-position:0% 50%;
    }

}

.hero p{

    max-width:700px;

    margin:auto;

    color:#cbd5e1;

    line-height:1.9;

    margin-bottom:35px;
}

.hero-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;
}

.primary-btn,
.secondary-btn{

    padding:18px 30px;

    border-radius:18px;

    text-decoration:none;

    font-weight:700;
}

.primary-btn{

    color:white;

    background:
    linear-gradient(
        135deg,
        #2563eb,
        #8b5cf6
    );
}

.secondary-btn{

    color:white;

    border:
    1px solid rgba(255,255,255,.12);
}

/* ==========================
   WHY MATHX
========================== */

.why-grid{

    display:grid;

    grid-template-columns:
    repeat(4,1fr);

    gap:25px;
}

.why-card{

    padding:35px 30px;

    text-align:center;

    border-radius:30px;

    background:
    rgba(255,255,255,.04);

    backdrop-filter:blur(20px);

    border:
    1px solid rgba(255,255,255,.08);

    transition:.35s ease;
}

.why-card:hover{

    transform:
    translateY(-8px);

    border-color:
    rgba(59,130,246,.25);

    box-shadow:
    0 0 40px rgba(59,130,246,.12);
}

.why-icon{

    width:80px;
    height:80px;

    margin:auto;
    margin-bottom:20px;

    display:flex;

    align-items:center;
    justify-content:center;

    border-radius:24px;

    font-size:32px;

    background:
    linear-gradient(
        135deg,
        rgba(59,130,246,.18),
        rgba(168,85,247,.18)
    );
}

.why-card h3{

    font-size:24px;

    margin-bottom:12px;
}

.why-card p{

    color:#94a3b8;

    line-height:1.8;
}

/* ==========================
   CREATOR SECTION
========================== */

.creator-section{

    padding-top:40px;
}

.creator-card{

    max-width:1000px;

    margin:auto;

    padding:50px;

    border-radius:36px;

    background:
    linear-gradient(
        135deg,
        rgba(37,99,235,.08),
        rgba(168,85,247,.08)
    );

    border:
    1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(20px);
}

.creator-badge{

    display:inline-block;

    padding:10px 18px;

    border-radius:999px;

    margin-bottom:25px;

    color:#60a5fa;

    background:
    rgba(96,165,250,.08);

    border:
    1px solid rgba(96,165,250,.18);
}

.creator-content h2{

    font-size:
    clamp(3rem,6vw,5rem);

    margin-bottom:12px;
}

.creator-content h3{

    font-size:24px;

    color:#cbd5e1;

    margin-bottom:30px;

    font-weight:500;
}

.creator-content p{

    color:#94a3b8;

    line-height:2;

    margin-bottom:20px;

    font-size:18px;
}

/* ==========================
   VISION
========================== */

.vision-section{

    padding-top:40px;
}

.vision-card{

    max-width:1000px;

    margin:auto;

    text-align:center;

    padding:70px 50px;

    border-radius:40px;

    background:
    linear-gradient(
        135deg,
        rgba(37,99,235,.12),
        rgba(168,85,247,.12)
    );

    border:
    1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(20px);
}

.vision-card span{

    display:inline-block;

    margin-bottom:20px;

    color:#60a5fa;
}

.vision-card h2{

    font-size:
    clamp(2.5rem,6vw,5rem);

    margin-bottom:25px;
}

.vision-card p{

    max-width:800px;

    margin:0 auto 20px;

    color:#cbd5e1;

    line-height:2;
}

/* ==========================
   STATS
========================== */

.stats-section{

    padding-top:40px;
}

.stats-grid{

    display:grid;

    grid-template-columns:
    repeat(4,1fr);

    gap:25px;
}

.stat-card{

    text-align:center;

    padding:40px 25px;

    border-radius:28px;

    background:
    rgba(255,255,255,.04);

    border:
    1px solid rgba(255,255,255,.08);

    transition:.35s ease;
}

.stat-card:hover{

    transform:
    translateY(-8px);

    border-color:
    rgba(59,130,246,.25);

    box-shadow:
    0 0 40px rgba(59,130,246,.12);
}

.stat-card h3{

    font-size:56px;

    margin-bottom:10px;

    background:
    linear-gradient(
        135deg,
        #60a5fa,
        #a855f7
    );

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.stat-card p{

    color:#94a3b8;

    font-size:18px;
}

/* ==========================
   ECOSYSTEM
========================== */

.ecosystem-section{
    padding-top:40px;
}

.ecosystem-grid{

    display:grid;

    grid-template-columns:
    repeat(3,1fr);

    gap:25px;
}

.eco-card{

    padding:35px;

    border-radius:30px;

    background:
    rgba(255,255,255,.04);

    border:
    1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(20px);

    transition:.35s ease;
}

.eco-card:hover{

    transform:
    translateY(-8px);

    border-color:
    rgba(168,85,247,.25);

    box-shadow:
    0 0 40px rgba(168,85,247,.12);
}

.eco-card span{

    font-size:42px;

    display:block;

    margin-bottom:20px;
}

.eco-card h3{

    font-size:24px;

    margin-bottom:12px;
}

.eco-card p{

    color:#94a3b8;

    line-height:1.8;
}

/* ==========================
   ROADMAP
========================== */

.roadmap-section{
    padding-top:40px;
}

.timeline{

    max-width:900px;

    margin:auto;

    display:flex;

    flex-direction:column;

    gap:25px;
}

.timeline-item{

    display:flex;

    gap:25px;

    align-items:flex-start;

    padding:30px;

    border-radius:28px;

    background:
    rgba(255,255,255,.04);

    border:
    1px solid rgba(255,255,255,.08);

    transition:.35s ease;
}

.timeline-item:hover{

    transform:translateY(-5px);

    border-color:
    rgba(59,130,246,.25);
}

.timeline-year{

    min-width:90px;

    font-size:22px;

    font-weight:800;

    color:#60a5fa;
}

.timeline-content h3{

    font-size:24px;

    margin-bottom:10px;
}

.timeline-content p{

    color:#94a3b8;

    line-height:1.8;
}

/* ==========================
   CTA
========================== */

.download-cta{

    padding-top:50px;

    padding-bottom:50px;
}

.cta-card{

    text-align:center;

    padding:80px 40px;

    border-radius:40px;

    background:
    linear-gradient(
        135deg,
        rgba(37,99,235,.18),
        rgba(168,85,247,.18)
    );

    border:
    1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(20px);
}

.cta-card span{

    display:block;

    color:#60a5fa;

    margin-bottom:15px;
}

.cta-card h2{

    font-size:
    clamp(2.5rem,6vw,4.5rem);

    margin-bottom:20px;
}

.cta-card p{

    max-width:700px;

    margin:auto;

    color:#cbd5e1;

    line-height:1.9;

    margin-bottom:35px;
}

.download-btn{

    border:none;

    cursor:pointer;

    color:white;

    font-weight:700;

    padding:18px 34px;

    border-radius:18px;

    background:
    linear-gradient(
        135deg,
        #2563eb,
        #8b5cf6
    );

    transition:.3s ease;
}

.download-btn:hover{

    transform:
    translateY(-4px);

    box-shadow:
    0 0 30px rgba(59,130,246,.35);
}

/* ==========================
   FOOTER
========================== */

footer{

    padding:40px 0 80px;

    text-align:center;
}

.footer-brand img{

    width:80px;

    margin:0 auto 25px;

    border-radius:22px;

    padding:8px;

    background:
    rgba(255,255,255,.03);

    border:
    1px solid rgba(255,255,255,.08);

    box-shadow:
    0 0 15px rgba(59,130,246,.25),
    0 0 30px rgba(168,85,247,.2);
}

.footer-brand h2{

    font-size:56px;

    font-weight:800;

    margin-bottom:16px;
}

.footer-brand p{

    color:#94a3b8;

    font-size:18px;

    max-width:650px;

    margin:auto;

    line-height:1.8;
}

/* ==========================
   REVEAL ANIMATION
========================== */

.reveal{

    opacity:0;

    transform:
    translateY(80px)
    scale(.97);

    filter:blur(8px);

    transition:
    opacity .9s ease,
    transform .9s ease,
    filter .9s ease;
}

.reveal.active{

    opacity:1;

    transform:
    translateY(0)
    scale(1);

    filter:blur(0);
}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:1100px){

    .why-grid{
        grid-template-columns:
        repeat(2,1fr);
    }

    .stats-grid{
        grid-template-columns:
        repeat(2,1fr);
    }

    .ecosystem-grid{
        grid-template-columns:
        repeat(2,1fr);
    }
}

@media(max-width:900px){

    .nav-links,
    .notify-btn{
        display:none;
    }

    .menu-btn{
        display:block;
    }

    .creator-card{
        padding:40px 30px;
    }
}

@media(max-width:768px){

    section{
        padding:80px 0;
    }

    .hero{
        min-height:auto;
        padding:40px 0;
    }

    .hero h1{
        font-size:48px;
    }

    .hero-buttons{
        flex-direction:column;
    }

    .primary-btn,
    .secondary-btn{
        width:100%;
        text-align:center;
    }

    .why-grid,
    .stats-grid,
    .ecosystem-grid{
        grid-template-columns:1fr;
    }

    .timeline-item{
        flex-direction:column;
        text-align:center;
    }

    .timeline-year{
        margin:auto;
    }

    .creator-content h2{
        font-size:42px;
    }

    .creator-content h3{
        font-size:20px;
    }

    .cta-card{
        padding:60px 25px;
    }

    .footer-brand h2{
        font-size:42px;
    }
}

@media(max-width:480px){

    .navbar{
        padding:0 16px;
    }

    .logo h2{
        font-size:26px;
    }

    .logo img{
        width:42px;
        height:42px;
    }

    .hero-logo{
        width:100px;
        height:100px;
    }

    .hero h1{
        font-size:38px;
    }

    .section-header h2{
        font-size:34px;
    }

    .stat-card h3{
        font-size:42px;
    }

    .footer-brand h2{
        font-size:36px;
    }
}

/* =====================================
   CUSTOM SCROLLBAR
===================================== */

::-webkit-scrollbar{
    width:6px;
}

::-webkit-scrollbar-track{
    background:#020617;
}

::-webkit-scrollbar-thumb{
    background:linear-gradient(
        180deg,
        #2563eb,
        #8b5cf6
    );

    border-radius:999px;

    border:1px solid rgba(255,255,255,.08);

    box-shadow:
    0 0 12px rgba(37,99,235,.5),
    0 0 20px rgba(139,92,246,.4);
}

::-webkit-scrollbar-thumb:hover{
    background:linear-gradient(
        180deg,
        #3b82f6,
        #a855f7
    );
}

::-webkit-scrollbar-corner{
    background:#020617;
}

.support-preview{
    padding:120px 20px;
    display:flex;
    justify-content:center;
}

.support-card{
    max-width:800px;
    width:100%;

    text-align:center;

    padding:50px;

    border-radius:28px;

    background:
    linear-gradient(
        135deg,
        rgba(15,23,42,.9),
        rgba(30,41,59,.8)
    );

    border:1px solid rgba(255,255,255,.08);

    transition:.4s ease;
}

.support-card:hover{
    transform:translateY(-8px);
    box-shadow:
    0 20px 50px rgba(37,99,235,.2);
}

.support-icon{
    font-size:3rem;
    margin-bottom:20px;
}

.support-card h2{
    font-size:2rem;
    margin-bottom:15px;
}

.support-card p{
    color:#94a3b8;
    line-height:1.8;
    margin-bottom:30px;
}

.support-btn{
    display:inline-block;

    padding:16px 32px;

    border-radius:14px;

    text-decoration:none;

    color:white;

    font-weight:600;

    background:
    linear-gradient(
        135deg,
        #2563eb,
        #8b5cf6
    );

    transition:.3s ease;
}

.support-btn:hover{
    transform:translateY(-3px);
}