* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #030712;
    color: #f0f4ff;
    line-height: 1.5;
    overflow-x: hidden;
}

:root {
    --primary: #3b71fe;
    --primary-dark: #1e4fd0;
    --accent: #17c6aa;
    --accent-glow: rgba(23, 198, 170, 0.4);
    --bg-deep: #0a0f1e;
    --bg-card: rgba(18, 26, 40, 0.7);
    --border-light: rgba(59, 113, 254, 0.25);
    --text-muted: #9aa9c1;
    --gradient-1: linear-gradient(145deg, #0f1a2f, #0a1020);
    --gradient-btn: linear-gradient(90deg, #3b71fe, #17c6aa);
    --font-display: 'Space Grotesk', sans-serif;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* glass card */
.glass-card {
    background: rgba(12, 20, 35, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(59, 113, 254, 0.2);
    border-radius: 2rem;
    box-shadow: 0 20px 40px -20px #000000, 0 0 0 1px rgba(23, 198, 170, 0.1) inset;
}

/* buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
}

.btn-primary {
    background: var(--gradient-btn);
    border: none;
    box-shadow: 0 10px 25px -8px #3b71fe;
    color: #fff;
    font-weight: 600;
}

.btn-primary:hover {
    transform: scale(1.02) translateY(-3px);
    box-shadow: 0 20px 30px -10px #3b71fe;
}

.btn-outline {
    border: 1.5px solid var(--accent);
    background: transparent;
    color: white;
}

.btn-outline:hover {
    background: rgba(23, 198, 170, 0.1);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* header */
header {
    position: sticky;
    top: 1.5rem;
    z-index: 100;
    margin: 1.5rem auto 0;
    max-width: 1300px;
    width: 95%;
    background: rgba(6, 12, 24, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 80px;
    border: 1px solid rgba(59, 113, 254, 0.35);
    padding: 0.7rem 1.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 15px 35px -10px #030712;
}



.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-links li a {
    text-decoration: none;
    color: #e0e8ff;
    font-weight: 500;
    transition: 0.2s;
    font-size: 1.05rem;
}

.nav-links li a:hover {
    color: white;
    text-shadow: 0 0 8px var(--accent);
}

.btn-connect {
    background: rgba(59, 113, 254, 0.2);
    padding: 0.6rem 1.8rem;
    border-radius: 40px;
    border: 1px solid rgba(23, 198, 170, 0.5);
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: 0.2s;
    cursor: pointer;
}

.btn-connect:hover {
    background: rgba(59, 113, 254, 0.4);
    border-color: var(--accent);
}

.hamburger {
    display: none;
    font-size: 2.2rem;
    color: white;
    cursor: pointer;
}

/* mobile nav */
@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(3, 7, 18, 0.98);
        backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: center;
        gap: 3rem;
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 99;
    }

    .nav-links.show {
        transform: translateX(0);
    }

    .hamburger {
        display: block;
        z-index: 100;
    }

    .nav-links li a {
        font-size: 1.8rem;
    }

    .btn-connect {
        padding: 1rem 2.5rem;
        font-size: 1.5rem;
    }
}

/* hero */
.hero {
    padding: 3rem 0 4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff, #b0ddff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    background: var(--gradient-btn);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--accent);
    padding-left: 1.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    border-radius: 2.5rem;
    padding: 2rem;
    box-shadow: 0 25px 40px -15px #000, 0 0 0 1px rgba(23, 198, 170, 0.2) inset;
}

.market-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.market-row:last-child {
    border-bottom: none;
}

.pair {
    font-weight: 500;
}

.price {
    font-family: var(--font-display);
    font-weight: 600;
}

.change {
    color: #2ecc71;
    background: rgba(46, 204, 113, 0.1);
    padding: 0.2rem 0.9rem;
    border-radius: 40px;
}

.change.neg {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

/* stats bar */
.stats-bar {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4rem;
    padding: 2rem 1rem;
    margin: 3rem 0;
    border: 1px solid rgba(59, 113, 254, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, #b0d0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* features */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin: 4rem 0 2rem;
}

.section-title span {
    background: var(--gradient-btn);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: var(--bg-card);
    border-radius: 2rem;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(59, 113, 254, 0.15);
    transition: 0.2s;
    text-align: center;
}

.feature-item:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(23, 198, 170, 0.1);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.2rem;
    color: var(--accent);
}

/* markets table (simplified) */
.markets-panel {
    background: var(--bg-card);
    border-radius: 2.5rem;
    padding: 2rem;
    margin: 3rem 0;
    border: 1px solid rgba(59, 113, 254, 0.2);
}

.market-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: 1rem 0;
    color: var(--text-muted);
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.market-row-lg {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: 1rem 0;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

/* ========= ENHANCED ROADMAP (LARGER) ========= */
.roadmap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    margin: 4rem 0 5rem;
}

.roadmap-step {
    flex: 1 1 260px;
    background: linear-gradient(145deg, #121e30, #0c1424);
    border-radius: 2.5rem;
    padding: 2.8rem 2rem;
    text-align: center;
    border: 1px solid rgba(59, 113, 254, 0.25);
    box-shadow: 0 25px 40px -20px #000000, 0 0 0 1px rgba(23, 198, 170, 0.2) inset;
    transition: transform 0.2s;
    position: relative;
    overflow: hidden;
}

.roadmap-step:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 30px 50px -20px #3b71fe;
}

.roadmap-step::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient-btn);
}

.roadmap-icon {
    font-size: 3.2rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    background: rgba(23, 198, 170, 0.15);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.roadmap-step h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #fff, #b0e0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.roadmap-step p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 220px;
    margin: 0 auto;
    line-height: 1.4;
}

/* FAQ */
.faq-grid {
    max-width: 900px;
    margin: 3rem auto;
}

.faq-item {
    background: rgba(18, 26, 40, 0.5);
    border-radius: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(59, 113, 254, 0.2);
}

.faq-question {
    padding: 1.5rem 2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 2rem 1.5rem 2rem;
    color: var(--text-muted);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* footer */
footer {
    border-top: 1px solid rgba(59, 113, 254, 0.2);
    padding: 3rem 0 2rem;
    margin-top: 5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-right: 2rem;
}

.social i {
    font-size: 1.6rem;
    margin: 0 0.7rem;
    color: #adc0ff;
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .market-header,
    .market-row-lg {
        grid-template-columns: 1.5fr 1fr 1fr 0.8fr;
        font-size: 0.9rem;
    }

    footer {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .roadmap-step {
        padding: 2rem 1.5rem;
    }

    .roadmap-step h3 {
        font-size: 1.8rem;
    }

    .roadmap-icon {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
    }
}