:root {
    --bg-dark: #0a0e17;
    --bg-card: #131722;
    --bg-hover: #1e222d;
    --text-primary: #e0e3eb;
    --text-secondary: #787b86;
    --accent-color: #2962ff;
    --accent-hover: #1e53e5;
    --up-color: #26a69a;
    --down-color: #ef5350;
    --border-color: #2a2e39;
    --gradient-hero: linear-gradient(135deg, #0a0e17 0%, #131722 100%);
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
}

.btn-outline {
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.btn-lg {
    padding: 12px 32px;
    font-size: 16px;
}

/* Header */
.site-header {
    background-color: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
    height: 70px;
    display: flex;
    align-items: center;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--accent-color);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 500;
}

.main-nav a:hover {
    color: var(--accent-color);
}

.header-actions {
    display: flex;
    gap: 15px;
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background: var(--gradient-hero);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #fff, #b0bec5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    position: relative;
    max-width: 600px;
}

.chart-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.chart-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 10px;
}

.symbol {
    font-weight: bold;
    color: #fff;
}

.timeframes {
    display: flex;
    gap: 10px;
}

.timeframes span {
    font-size: 12px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
}

.timeframes span.active {
    background-color: var(--accent-color);
    color: #fff;
}

#chart-container {
    height: 350px;
    width: 100%;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #fff;
}

.section-title p {
    color: var(--text-secondary);
    font-size: 18px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.feature-card .icon {
    font-size: 32px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
    color: #fff;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Markets Section */
.markets-section {
    padding: 60px 0;
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.market-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.market-item {
    background: var(--bg-dark);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.market-name {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
}

.market-price {
    display: block;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.market-change {
    font-size: 14px;
}

.up { color: var(--up-color); }
.down { color: var(--down-color); }

/* About Section */
.about-section {
    padding: 100px 0;
    text-align: center;
    background: radial-gradient(circle at center, #1e222d 0%, #0a0e17 70%);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 36px;
    margin-bottom: 25px;
    color: #fff;
}

.about-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 50px;
}

.stats {
    display: flex;
    justify-content: space-around;
}

.stat strong {
    display: block;
    font-size: 36px;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat span {
    color: var(--text-secondary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--accent-color);
    color: #fff;
}

.cta-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-section .btn {
    background-color: #fff;
    color: var(--accent-color);
}

.cta-section .btn:hover {
    background-color: #f0f0f0;
}

/* Footer */
.site-footer {
    background-color: #05080f;
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.disclaimer {
    font-size: 12px;
    opacity: 0.6;
    max-width: 600px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 40px;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .market-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none; /* Mobile menu implementation omitted for brevity */
    }
    
    .header-actions {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
}

