*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins', sans-serif;
}

body{
    margin:0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg,#0b0f1a,#101a2e);
    color:white;
}


/* Container */
.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* HEADER */
header{
    position: relative;   /* THÊM DÒNG NÀY */
    z-index: 9999;        /* tăng cao lên */
    padding:20px 0;
    backdrop-filter: blur(10px);
}

.nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

/* Logo */
.logo-text{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:28px;
    font-weight:800;
    background: linear-gradient(45deg,#00f5ff,#6a00ff);
    text-decoration: none;
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.logo-text img{
    width:36px;
    height:36px;
    object-fit:contain;
}


/* Menu */
.menu{
    display:flex;
    align-items:center;
    gap:10px;
    list-style:none;
}

.menu a{
    text-decoration:none;
    color:#cfd3ff;
    font-weight:400;
    transition:0.3s;
}

.menu a:hover{
    color:#00f5ff;
}

.menu li {
    position: relative;
}

.menu li > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: #cfd3ff;
    font-weight: 500;
    transition: 0.3s;
}

.menu li > a:hover {
    color: #00f5ff;
}


/* Buttons */
.btn-primary{
    background:linear-gradient(45deg,#00f5ff,#6a00ff);
    padding:10px 20px;
    margin-right: 10px;
    border-radius:30px;
    text-decoration:none;
    color:white;
    font-weight:600;
    transition:0.3s;
    box-shadow:0 0 15px rgba(0,245,255,0.5);
}

.btn-primary:hover{
    transform:translateY(-3px);
    box-shadow:0 0 25px rgba(0,245,255,0.8);
}

.btn-outline{
    border:1px solid #6a00ff;
    padding:10px 20px;
    border-radius:30px;
    text-decoration:none;
    color:white;
    margin-right:10px;
    transition:0.3s;
}

.btn-outline:hover{
    background:#6a00ff;
}

.big{
    padding:14px 28px;
    font-size:16px;
}

/* HERO */
.hero{
    padding:100px 0;
}

.hero-wrapper{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:40px;
}

.hero-left{
    flex:1;
}

.hero-left h1{
    font-size:56px;
    font-weight:800;
    margin-bottom:20px;
}

.hero-left h1 span{
    background: linear-gradient(45deg,#00f5ff,#6a00ff);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.hero-left p{
    color:#cfd3ff;
    font-size:18px;
    margin-bottom:30px;
    line-height:1.6;
}

/* Right Side */
.hero-right{
    flex:1;
    position:relative;
    text-align:center;
    z-index: 1;
}
    
.hero-right img{
    width:380px;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 0 40px rgba(0,245,255,0.5));
    position: relative;
    z-index: 1;
}

.circle-glow{
    position:absolute;
    width:400px;
    height:400px;
    background: radial-gradient(circle, rgba(0,245,255,0.3), transparent 70%);
    border-radius:50%;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    z-index:-1;
}

/* ===== DROPDOWN ARROW XỊN ===== */
.dropdown:hover > a {
    color: #00f5ff;
}

/* Mũi tên */
.arrow {
    width: 8px;
    height: 8px;
    border-right: 1.9px solid #fff;
    border-bottom: 1.9px solid #fff;
    transform: rotate(45deg); /* mặc định chỉa xuống */
    transition: transform 0.3s ease;
}

/* Hover vùng rộng hơn */
.dropdown:hover > a {
    /* background: rgba(255,255,255,0.05); */
    border-radius: 6px;
}

/* Khi hover thì mũi tên xoay lên */
.dropdown:hover .arrow {
    transform: rotate(-135deg);
    border-right: 1.9px solid #00f5ff;
    border-bottom: 1.9px solid #00f5ff;
}


/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 60px;
    left: -150px;
    width: 600px;
    background: #141a2e;
    padding: 30px;
    border-radius: 15px;
    display: flex;
    gap: 40px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    z-index: 1000;
}

.mega-menu.single {
    flex-direction: column;
    width: 350px;
    left: 0;
}

.dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    top: 50px;
}

.mega-col h4 {
    color: #888;
    margin-bottom: 15px;
    font-weight: 500;
}

.mega-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.mega-item i {
    font-size: 20px;
    color: #00f5ff;
    margin-top: 5px;
}

.mega-item h5 {
    margin: 0;
    font-size: 15px;
}

.mega-item p {
    font-size: 13px;
    color: #aaa;
}

.mega-item:hover {
    transform: translateX(5px);
    color: #00f5ff;
}


/* Animation */
@keyframes float{
    0%{transform:translateY(0px);}
    50%{transform:translateY(-20px);}
    100%{transform:translateY(0px);}
}

/* Responsive */
@media(max-width:900px){
    .hero-wrapper{
        flex-direction:column;
        text-align:center;
    }

    .menu{
        display:none;
    }
}


.platforms{
    display:flex;
    gap:60px;
    margin-bottom:30px;
    color:#ccc;
}

.more-link{
    color:#00f5ff;
    text-decoration:none;
}


.preview-wrapper {
    position: relative;
    width: 600px;     /* cố định width */
    height: 420px;    /* cố định height */
}

.preview-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    /* transform: scale(0.95); */
    transition: opacity 0.4s ease;
}

.preview-img.active {
    opacity: 1;
    /* transform: scale(1); */
}

/* button */

.switch-btn {
    margin-top: 25px;
    margin-right: 10px;
    display: flex;
    justify-content: center;   /* CĂN GIỮA */
    gap: 40px;
}


.btn {
    padding: 10px 20px;        /* tăng vùng click */
    cursor: pointer;
    color: #aaa;
    display: inline-block;     /* để padding hoạt động đúng */
    border-radius: 8px;
    transition: 0.3s ease;
}

.btn:hover {
    background: rgba(0,245,255,0.08);
}


.btn.active {
    color: #00f5ff;
    border-bottom: 2px solid #00f5ff;
}

/* Section */
.faq-section {
    padding: 100px 0;
    /* background: linear-gradient(180deg, #0b1426, #0a0f1c); */
    text-align: center;
}

.faq-title {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 60px;
}

/* Container */
.faq-container {
    width: 70%;
    margin: auto;
    text-align: left;
}

/* Item */
.faq-item {
    background: #141c2f;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: #1b243a;
}

/* Question */
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 25px;
    cursor: pointer;
    font-size: 22px;
    font-weight: 500;
    color: #ffffff;
}

/* Number */
.faq-number {
    width: 32px;
    height: 32px;
    border: 1px solid #2c3553;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 18px;
    color: #9aa4bf;
}

/* Text alignment */
.faq-text {
    flex: 1;
    margin-left: 15px;
}

/* Icon */
.faq-icon {
    font-size: 22px;
    color: #9aa4bf;
    transition: 0.3s;
}

/* Answer */
.faq-answer {
    margin-top: 7px;
    margin-bottom: 5px;
    margin-left: 30px;
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    font-size: 18px;
    color: #9aa4bf;
    line-height: 1.6;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

/* Active state */
.faq-item.active {
    background: #1f2a44;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 20px 25px;
}

.faq-item.active .faq-icon {
    color: #00f5ff; /* vàng kiểu Binance */
}

/* CTA Section */
.cta-section {
    background: #233565;
    padding: 100px 20px;
    text-align: center;
}

.cta-section h2 {
    font-size: 42px;
    color: #ffffff;
    margin-bottom: 30px;
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
}

.cta-btn {
    background: #00f5ff;
    border: none;
    padding: 15px 45px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
}

.cta-btn:hover {
    background: #00f5ff;
    transform: translateY(-3px);
}



/* Footer */
.footer {
    background: #0a0f1c;
    padding: 70px 0 30px 0;
    color: #9aa4bf;
}

.footer-container {
    width: 85%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-col {
    display: flex;
    flex-direction: column;
}


.footer-col h3 {
    color: #ffffff;
    margin-bottom: 18px;
    font-size: 18px;
}

.footer-col a {
    display: block;
    text-decoration: none;
    color: #9aa4bf;
    margin-bottom: 10px;
    font-size: 16px;
    transition: 0.3s;
}

.footer-col a:hover {
    color: #00f5ff;
    transform: translateX(5px);
}

.socials span {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
}

.socials span:hover {
    color: #00f5ff;
}

/* Bottom */
.footer-bottom {
    text-align: center;
    border-top: 1px solid #1c243a;
    padding-top: 20px;
    font-size: 13px;
    color: #6c789a;
}

/* Community Icons */
.socials {
    display: grid;
    grid-template-columns: repeat(3, 45px);
    gap: 18px 22px; /* row gap - column gap */
    margin-top: 5px;
}

.socials div {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px; /* Thu nhỏ icon */
    color: #ffffff;
    cursor: pointer;
    transition: 0.3s ease;
}

.socials div:hover {
    color: #00f5ff;
    background: rgba(0,245,255,0.08);
    transform: scale(0.9);
}


.reveal-left{
    opacity:0;
    transform:translateX(-100px);
    transition:all 1s ease;
}

.reveal-right{
    opacity:0;
    transform:translateX(100px);
    transition:all 1s ease;
}

.reveal-left.active,
.reveal-right.active{
    opacity:1;
    transform:translateX(0);
}
