* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: #f8fafc;
    background:
        radial-gradient(circle at top left, rgba(14, 165, 233, 0.15), transparent 32%),
        linear-gradient(135deg, #020617 0%, #071529 50%, #0c203c 100%);
    overflow-x: hidden;
}

a {
    color: inherit;
}

.background-grid {
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.08;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 50px 50px;
}

.hero,
.cards,
.features,
.disclaimer,
footer {
    width: min(1280px, calc(100% - 2rem));
    margin: 0 auto;
}

.hero {
    min-height: 78vh;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 3rem;
    align-items: center;
    padding: 5rem 0 3rem;
}

.hero-left {
    max-width: 42rem;
}

.badge {
    display: inline-block;
    padding: 0.65rem 1rem;
    border: 1px solid #38bdf8;
    border-radius: 999px;
    color: #38bdf8;
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
}

.hero h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.7rem, 6vw, 5rem);
    line-height: 1.02;
}

.hero p,
.disclaimer p,
.card p {
    color: #c7d7f0;
    line-height: 1.75;
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary,
.card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-primary,
.card a {
    padding: 0.95rem 1.4rem;
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-secondary {
    padding: 0.95rem 1.4rem;
    border: 1px solid #38bdf8;
    color: #38bdf8;
    background: rgba(255, 255, 255, 0.03);
}

.btn-primary:hover,
.btn-secondary:hover,
.card a:hover {
    transform: translateY(-2px);
}

.chart {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    height: 22rem;
    justify-content: center;
}

.candle {
    width: 1.7rem;
    border-radius: 0.55rem;
    box-shadow: 0 0 22px rgba(255, 255, 255, 0.08);
}

.green {
    background: #00e676;
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.55);
}

.red {
    background: #ff5c5c;
    box-shadow: 0 0 20px rgba(255, 92, 92, 0.55);
}

.h100 { height: 100px; }
.h130 { height: 130px; }
.h160 { height: 160px; }
.h180 { height: 180px; }
.h220 { height: 220px; }
.h250 { height: 250px; }

.ticker {
    overflow: hidden;
    padding: 0.9rem 0;
    background: rgba(255, 255, 255, 0.04);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ticker-content {
    white-space: nowrap;
    display: inline-block;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-right: 2rem;
    white-space: nowrap;
}

.ticker-symbol {
    font-weight: 700;
}

.ticker-meta {
    color: #94a3b8;
    font-size: 0.82rem;
}

@keyframes ticker {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}

.nav {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    padding: 1.8rem 0 0;
}

.nav a {
    text-decoration: none;
    color: #fff;
    padding: 0.85rem 1.1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
    padding: 3rem 0 1rem;
}

.card,
.features,
.disclaimer {
    background: rgba(2, 6, 23, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.card {
    padding: 1.4rem;
}

.card h2,
.features h2,
.disclaimer h2 {
    margin-top: 0;
}

.card a {
    margin-top: 0.5rem;
}

.features,
.disclaimer {
    padding: 1.4rem;
    margin-top: 1.2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
}

.feature-grid div {
    padding: 0.95rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.disclaimer ul {
    margin: 1rem 0 0;
    padding-left: 1.25rem;
    color: #dbeafe;
    line-height: 1.7;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 2rem 0 3rem;
    flex-wrap: wrap;
    color: #cbd5e1;
}

footer a {
    text-decoration: none;
}

@media (max-width: 960px) {
    .hero,
    .cards,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 3.2rem;
    }
}
