/* ========= Google Font ========= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#07111f;
    color:#fff;
    font-family:'Poppins',sans-serif;
    overflow-x:hidden;
}

a{
    text-decoration:none;
    color:white;
}

img{
    width:100%;
    display:block;
}

.container{
    width:1200px;
    max-width:90%;
    margin:auto;
}

/* ===== 背景光效 ===== */

.blur{
    position:fixed;
    border-radius:50%;
    filter:blur(180px);
    z-index:-1;
}

.blur1{
    width:300px;
    height:300px;
    background:#2f6cff;
    top:-100px;
    right:-50px;
}

.blur2{
    width:250px;
    height:250px;
    background:#8a2eff;
    left:-100px;
    top:600px;
}


/* ===== Header ===== */

header{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    z-index:1000;

    background:rgba(8,15,30,.7);
    backdrop-filter:blur(18px);

    border-bottom:1px solid rgba(255,255,255,.05);
}

.nav{
    height:80px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    font-size:24px;
    font-weight:700;
    color:#fff;
}

.logo i{
    color:#4f7fff;
}

nav{
    display:flex;
    gap:40px;
}

nav a{
    color:#9fa8c4;
    transition:.3s;
}

nav a:hover{
    color:white;
}


/* ===== Hero ===== */

.hero{
    padding-top:150px;
    min-height:100vh;
    display:flex;
    align-items:center;
}

.hero-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:80px;
}

.hero-left{
    flex:1;
}

.tag{
    display:inline-block;
    padding:10px 20px;
    border-radius:50px;

    background:rgba(79,127,255,.15);
    color:#5f8fff;

    margin-bottom:30px;
}

.hero-left h1{
    font-size:70px;
    line-height:1.2;
    margin-bottom:30px;
}

.hero-left p{
    color:#98a2bf;
    line-height:1.9;
    margin-bottom:40px;
}

.hero-list{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
    margin-bottom:50px;
}

.hero-list div{
    color:#dfe4ff;
}

.hero-list i{
    color:#4f7fff;
    margin-right:10px;
}

.hero-right{
    flex:1;
}

.screen{
    background:#111e34;
    padding:20px;
    border-radius:35px;

    box-shadow:
    0 20px 80px rgba(0,0,0,.5),
    0 0 80px rgba(79,127,255,.2);
}

.screen img{
    border-radius:25px;
}


/* ===== Button ===== */

.main-btn{
    border:none;
    padding:18px 40px;
    border-radius:60px;
    font-size:17px;
    font-weight:600;

    cursor:pointer;
    color:white;

    background:linear-gradient(
            90deg,
            #3973ff,
            #9358ff
    );

    box-shadow:
    0 15px 40px rgba(79,127,255,.35);

    transition:.4s;
}

.main-btn:hover{
    transform:translateY(-5px);
    box-shadow:
    0 20px 60px rgba(111,145,255,.5);
}

.main-btn i{
    margin-right:10px;
}


/* ===== title ===== */

.section-title{
    text-align:center;
    margin-bottom:70px;
}

.section-title span{
    color:#4d7cff;
    letter-spacing:3px;
    font-size:14px;
}

.section-title h2{
    margin-top:20px;
    font-size:52px;
}


/* ===== About ===== */

.about{
    padding:120px 0;
}

.cards{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.card{
    background:rgba(255,255,255,.03);

    border:1px solid rgba(255,255,255,.05);

    border-radius:30px;

    padding:50px 40px;

    transition:.4s;
}

.card:hover{
    transform:translateY(-10px);

    border-color:rgba(79,127,255,.4);

    box-shadow:
    0 20px 60px rgba(0,0,0,.5);
}

.card i{
    font-size:34px;
    color:#4f7fff;
}

.card h3{
    margin:30px 0 20px;
    font-size:28px;
}

.card p{
    color:#99a3bf;
    line-height:1.8;
}


/* ===== Method ===== */

.method{
    padding:120px 0;
}

.method-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.method-card{
    position:relative;

    background:rgba(255,255,255,.03);

    padding:50px;

    border-radius:30px;

    overflow:hidden;
}

.number{
    position:absolute;
    top:20px;
    right:30px;

    font-size:80px;
    color:rgba(255,255,255,.04);

    font-weight:700;
}

.method-card h3{
    font-size:30px;
    margin-bottom:25px;
}

.method-card p{
    color:#99a3bf;
    line-height:1.8;
}

/* ===== Community ===== */

.community{
    padding:120px 0;
}

.community-container{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:80px;
}

.community-left{
    flex:1;
}

.community-left span{
    color:#4f7fff;
    letter-spacing:3px;
    font-size:14px;
}

.community-left h2{
    margin:20px 0 30px;
    font-size:56px;
    line-height:1.2;
}

.community-left p{
    color:#99a3bf;
    line-height:1.9;
    margin-bottom:40px;
}

.community-list{
    display:flex;
    flex-direction:column;
    gap:20px;
    margin-bottom:40px;
}

.community-list div{
    color:#dfe4ff;
}

.community-list i{
    color:#4f7fff;
    margin-right:12px;
}

.community-right{
    flex:1;
}

.community-image{
    background:rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.05);
    border-radius:30px;
    overflow:hidden;

    box-shadow:
    0 20px 70px rgba(0,0,0,.4);
}

.community-image img{
    height:100%;
    object-fit:cover;
}



/* ===== Course ===== */

.course{
    padding:120px 0;
}

.course-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.course-card{
    background:rgba(255,255,255,.03);

    border:1px solid rgba(255,255,255,.05);

    padding:45px 35px;

    border-radius:30px;

    transition:.4s;
}

.course-card:hover{
    transform:translateY(-10px);

    border-color:rgba(79,127,255,.4);

    box-shadow:
    0 20px 60px rgba(0,0,0,.5);
}

.course-card i{
    font-size:34px;
    color:#4f7fff;
}

.course-card h3{
    margin:25px 0 20px;
    font-size:26px;
}

.course-card p{
    color:#99a3bf;
    line-height:1.8;
}



/* ===== CTA ===== */

.cta{
    padding:140px 0;
    text-align:center;
}

.cta h2{
    font-size:60px;
    margin-bottom:25px;
}

.cta p{
    color:#99a3bf;
    margin-bottom:50px;
}

.big-btn{
    font-size:18px;
    padding:22px 55px;
}



/* ===== Footer ===== */

footer{
    padding:80px 0;
    border-top:1px solid rgba(255,255,255,.05);
}

.footer-content{
    text-align:center;
}

.footer-logo{
    font-size:30px;
    font-weight:700;
    margin-bottom:30px;
}

.footer-logo i{
    color:#4f7fff;
}

.footer-links{
    display:flex;
    justify-content:center;
    gap:40px;

    margin-bottom:30px;
}

.footer-links a{
    color:#9fa8c4;
    transition:.3s;
}

.footer-links a:hover{
    color:white;
}

.copyright{
    color:#68718d;
}



/* ===== Reveal Animation ===== */

.reveal{
    opacity:0;
    transform:translateY(80px);
    transition:1s;
}

.reveal.active{
    opacity:1;
    transform:translateY(0);
}



/* ===== Responsive ===== */

@media(max-width:992px){

    .hero-container,
    .community-container{
        flex-direction:column;
    }

    .cards,
    .method-grid,
    .course-grid{
        grid-template-columns:1fr;
    }

    .hero-left h1{
        font-size:50px;
    }

    .community-left h2{
        font-size:42px;
    }

    .cta h2{
        font-size:42px;
    }

}


@media(max-width:768px){

    nav{
        display:none;
    }

    .hero{
        padding-top:120px;
    }

    .hero-left h1{
        font-size:38px;
    }

    .section-title h2{
        font-size:36px;
    }

    .community-left h2{
        font-size:34px;
    }

    .cta h2{
        font-size:34px;
    }

    .hero-list{
        grid-template-columns:1fr;
    }

}