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

:root{
    --bg:#050816;
    --card:rgba(255,255,255,.05);
    --border:rgba(255,255,255,.1);
    --primary:#38bdf8;
    --secondary:#8b5cf6;
    --text:#ffffff;
    --text-secondary:#94a3b8;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Inter',sans-serif;
}

html{
    scroll-behavior:smooth;
}

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

/* =========================
   BACKGROUND GLOW
========================= */

body::before{
    content:"";
    position:fixed;
    top:-150px;
    right:-150px;

    width:500px;
    height:500px;

    background:radial-gradient(
        circle,
        rgba(56,189,248,.4),
        transparent 70%
    );

    filter:blur(80px);
    z-index:-3;
}

/* =========================
   MOON
========================= */

body::after{
    content:"";
    position:fixed;

    top:120px;
    right:8%;

    width:320px;
    height:320px;

    border-radius:50%;

    background:
    radial-gradient(
        circle at 30% 30%,
        #ffffff,
        #dbeafe,
        #94a3b8
    );

    box-shadow:
        0 0 40px #38bdf8,
        0 0 80px #38bdf8,
        0 0 120px #38bdf8;

    z-index:-2;
}

/* =========================
   HEADER
========================= */

header{
    padding:20px 8%;
}

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

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

    padding:18px 35px;

    background:var(--card);

    backdrop-filter:blur(20px);

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

    border-radius:20px;
}

.logo img{
    display:block;
    max-width:100%;
    /* height:auto; */
}

/* =========================
   NAV LINKS
========================= */

.nav-links{
    list-style:none;
    display:flex;
    gap:35px;
}

.nav-links a{
    text-decoration:none;
    color:var(--text);
    font-weight:500;
    transition:.3s ease;
}

.nav-links a:hover{
    color:var(--primary);
}

/* =========================
   BUTTON
========================= */

.signup-btn{
    padding:12px 25px;

    border:none;
    border-radius:12px;

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

    color:white;
    font-weight:600;

    cursor:pointer;
    transition:.3s ease;
}

.signup-btn:hover{
    transform:translateY(-3px);
}

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

.hero{
    min-height:85vh;

    display:flex;
    align-items:center;

    padding:0 8%;

    position:relative;
}

/* =========================
   CRYPTO CHART
========================= */

.hero::before{
    content:"";

    position:absolute;
    left:0;
    bottom:0;

    width:100%;
    height:280px;

    background:linear-gradient(
        to top,
        rgba(56,189,248,.15),
        transparent
    );

    clip-path:polygon(
        0% 95%,
        10% 88%,
        20% 90%,
        30% 75%,
        40% 78%,
        50% 55%,
        60% 60%,
        70% 35%,
        80% 40%,
        90% 18%,
        100% 5%,
        100% 100%,
        0% 100%
    );
}

.hero-content{
    max-width:650px;
    position:relative;
    z-index:2;
}

.hero-content h1{
    font-size:clamp(2.8rem, 6vw, 5rem);
    line-height:1.1;
    margin-bottom:20px;
    font-weight:800;
}

.hero-content p{
    color:var(--text-secondary);
    font-size:1.1rem;
    line-height:1.8;
    margin-bottom:35px;
}

.hero-btn{
    padding:15px 35px;

    border:none;
    border-radius:12px;

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

    color:white;

    font-size:1rem;
    font-weight:600;

    cursor:pointer;
    transition:.3s ease;
}

.hero-btn:hover{
    transform:translateY(-5px);
}

/* =========================
   TABLET
========================= */

@media (max-width:992px){

    body::after{
        width:220px;
        height:220px;
        top:150px;
    }

    .nav-links{
        gap:20px;
    }

    .hero{
        min-height:75vh;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width:768px){

    header{
        padding:15px 5%;
    }

    .navbar{
        flex-direction:column;
        gap:20px;
        text-align:center;
    }

    .nav-links{
        flex-wrap:wrap;
        justify-content:center;
        gap:15px;
    }

    .hero{
        justify-content:center;
        text-align:center;
        padding:60px 5%;
        min-height:auto;
    }

    .hero-content{
        width:100%;
    }

    .hero-content p{
        font-size:1rem;
    }

    body::after{
        width:170px;
        height:170px;
        right:-30px;
        top:180px;
        opacity:.5;
    }
}

/* =========================
   SMALL PHONES
========================= */

@media (max-width:480px){

    .navbar{
        padding:15px;
    }

    .signup-btn{
        width:100%;
    }

    .hero-btn{
        width:100%;
    }

    .hero-content h1{
        line-height:1.2;
    }

    body::after{
        width:130px;
        height:130px;
        opacity:.3;
    }
}
/* =========================
   MARKETS SECTION
========================= */

.markets{
    padding: clamp(4rem, 8vw, 7rem) 5%;
}

.section-title{
    text-align:center;
    margin-bottom:3rem;
}

.section-title h2{
    font-size:clamp(2rem, 5vw, 3rem);
    margin-bottom:1rem;
}

.section-title p{
    color:#94a3b8;
    font-size:clamp(.9rem, 2vw, 1.1rem);
    max-width:600px;
    margin:auto;
}

/* =========================
   MARKET GRID
========================= */

.market-container{
    display:grid;
    grid-template-columns:
    repeat(auto-fit, minmax(280px, 1fr));

    gap:1.5rem;

    max-width:1200px;
    margin:auto;
}

/* =========================
   MARKET CARD
========================= */

.market-card{
    background:rgba(255,255,255,.05);

    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.1);

    border-radius:20px;

    padding:1.5rem;

    transition:.3s ease;
}

.market-card:hover{
    transform:translateY(-8px);
    border-color:#38bdf8;
    box-shadow:0 0 20px rgba(56,189,248,.2);
}

/* =========================
   CARD HEADER
========================= */

.coin-header{
    display:flex;
    justify-content:space-between;
    align-items:center;

    margin-bottom:1.5rem;
}

.coin-header h3{
    font-size:1.1rem;
    font-weight:600;
}

.coin-header span{
    font-weight:600;
}

/* =========================
   PRICE
========================= */

.market-card h2{
    font-size:clamp(1.5rem, 4vw, 2.2rem);
    margin-bottom:1rem;

    word-break:break-word;
}

/* =========================
   MARKET CAP
========================= */

.market-card p{
    color:#94a3b8;
    margin-bottom:.5rem;
    font-size:.95rem;
}

.market-card span{
    font-size:1rem;
}

/* =========================
   PRICE MOVEMENT
========================= */

.positive{
    color:#22c55e;
}

.negative{
    color:#ef4444;
}

/* =========================
   TABLET
========================= */

@media (max-width: 992px){

    .markets{
        padding:5rem 5%;
    }

    .market-container{
        gap:1.25rem;
    }

}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px){

    .markets{
        padding:4rem 5%;
    }

    .market-container{
        grid-template-columns:1fr;
    }

    .market-card{
        padding:1.25rem;
    }

    .coin-header h3{
        font-size:1rem;
    }

}

/* =========================
   SMALL PHONES
========================= */

@media (max-width: 480px){

    .section-title{
        margin-bottom:2rem;
    }

    .market-card{
        padding:1rem;
        border-radius:16px;
    }

    .coin-header{
        margin-bottom:1rem;
    }

    .market-card h2{
        font-size:1.4rem;
    }

}
.coin-info{
    display:flex;
    align-items:center;
    gap:12px;
}

.coin-info img{
    width:42px;
    height:42px;
    object-fit:contain;
}

.coin-info h3{
    margin:0;
    font-size:1rem;
}

.coin-info small{
    color:#94a3b8;
}

canvas{
    width:100% !important;
    height:80px !important;
    margin:20px 0;
}
/* =========================
   FEATURES SECTION
========================= */

.features{
    padding: clamp(4rem, 8vw, 7rem) 5%;
    background: transparent;
}

.features-container{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap:1.5rem;
    max-width:1200px;
    margin:auto;
}

/* =========================
   FEATURE CARD
========================= */

.feature-card{
    background: rgba(255,255,255,0.05);

    border: 1px solid rgba(255,255,255,0.1);

    backdrop-filter: blur(20px);

    border-radius: 20px;

    padding: 2rem;

    transition: 0.3s ease;

    text-align: left;
}

.feature-card:hover{
    transform: translateY(-10px);
    border-color: #38bdf8;
    box-shadow: 0 0 25px rgba(56,189,248,0.15);
}

/* ICON */

.feature-card .icon{
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* TITLE */

.feature-card h3{
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

/* TEXT */

.feature-card p{
    color: #94a3b8;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px){

    .feature-card{
        padding: 1.5rem;
        text-align: center;
    }

    .feature-card .icon{
        font-size: 2.2rem;
    }
}

@media (max-width: 480px){

    .features-container{
        grid-template-columns: 1fr;
    }
}
/* =========================
   FOOTER
========================= */

.footer{
    margin-top: 5rem;
    padding: 4rem 5% 2rem;

    background: rgba(255,255,255,0.03);

    border-top: 1px solid rgba(255,255,255,0.08);

    backdrop-filter: blur(20px);
}

/* MAIN FOOTER GRID */

.footer-container{
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: 2fr 3fr;

    gap: 3rem;
}

/* BRAND */

.footer-brand h2{
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer-brand p{
    color: #94a3b8;
    line-height: 1.6;
    max-width: 350px;
}

/* LINKS */

.footer-links{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-links h3{
    margin-bottom: 1rem;
    font-size: 1rem;
    color: white;
}

.footer-links a{
    display: block;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    transition: 0.3s;
}

.footer-links a:hover{
    color: #38bdf8;
}

/* BOTTOM BAR */

.footer-bottom{
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;

    border-top: 1px solid rgba(255,255,255,0.08);

    color: #94a3b8;
    font-size: 0.9rem;
}

/* =========================
   TABLET
========================= */

@media (max-width: 992px){

    .footer-container{
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p{
        margin: auto;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px){

    .footer-links{
        grid-template-columns: 1fr;
        text-align: center;
    }
}
/* =========================
   SCROLL ANIMATION BASE
========================= */

.fade-in{
    opacity:0;
    transform:translateY(30px);
    transition:all 0.8s ease;
}

.fade-in.show{
    opacity:1;
    transform:translateY(0);
}
html{
    scroll-behavior:smooth;
}
/* BUTTON GLOW EFFECT */
.hero-btn,
.signup-btn,
.cta-box button{
    position:relative;
    overflow:hidden;
}

.hero-btn::after,
.signup-btn::after,
.cta-box button::after{
    content:"";
    position:absolute;
    top:0;
    left:-100%;

    width:100%;
    height:100%;

    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.3),
        transparent
    );

    transition:0.5s;
}

.hero-btn:hover::after,
.signup-btn:hover::after,
.cta-box button:hover::after{
    left:100%;
}
::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-track{
    background:#050816;
}

::-webkit-scrollbar-thumb{
    background:#38bdf8;
    border-radius:10px;
}
/* =========================
   FAQ SECTION
========================= */

.faq{
    padding: clamp(4rem, 8vw, 7rem) 5%;
}

.faq-container{
    max-width: 900px;
    margin: auto;

    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* ITEM */

.faq-item{
    background: rgba(255,255,255,0.05);

    border: 1px solid rgba(255,255,255,0.1);

    border-radius: 15px;

    overflow: hidden;

    backdrop-filter: blur(20px);
}

/* QUESTION */

.faq-question{
    width: 100%;
    padding: 18px 20px;

    background: transparent;
    border: none;

    color: white;

    font-size: 1rem;

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

    cursor: pointer;
}

.faq-question span{
    font-size: 1.5rem;
    transition: 0.3s;
}

/* ANSWER */

.faq-answer{
    max-height: 0;
    overflow: hidden;

    padding: 0 20px;

    color: #94a3b8;

    line-height: 1.6;

    transition: max-height 0.4s ease, padding 0.4s ease;
}

/* ACTIVE STATE */

.faq-item.active .faq-answer{
    max-height: 200px;
    padding: 0 20px 20px;
}

.faq-item.active .faq-question span{
    transform: rotate(45deg);
}

/* MOBILE */

@media (max-width: 768px){

    .faq-question{
        font-size: 0.95rem;
    }

}
 ;
      cursor: pointer;
      font-weight: 600;
    }