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

:root {
    --primary-dark: #0a0e1a;
    --secondary-dark: #111827;
    --card-dark: #1a1f2e;
    --accent-cyan: #00d4aa;
    --accent-blue: #00a8e8;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --border-color: #2d3748;
    --gradient-primary: linear-gradient(135deg, #00d4aa 0%, #00a8e8 100%);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 30px;
}

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

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

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

.btn {
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    border: none;
    font-size: 14px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--primary-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 170, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--accent-cyan);
    border: 2px solid var(--accent-cyan);
}

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

.btn-large {
    padding: 15px 40px;
    font-size: 16px;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%2300d4aa" opacity="0.3"/></svg>');
    background-size: 50px 50px;
    opacity: 0.5;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text h1 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 212, 170, 0.2);
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: var(--secondary-dark);
}

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

.stat-item {
    text-align: center;
    padding: 30px;
    background: var(--card-dark);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Features Section */
.features {
    padding: 100px 0;
}

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

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

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

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

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

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 40px rgba(0, 212, 170, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
}

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

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

/* Trading Section */
.trading {
    padding: 100px 0;
    background: var(--secondary-dark);
}

.trading-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.trading-image img {
    width: 100%;
    border-radius: 12px;
}

.trading-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.trading-text p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.trading-list {
    list-style: none;
}

.trading-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-secondary);
}

.trading-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--card-dark) 0%, var(--secondary-dark) 100%);
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-section p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: var(--secondary-dark);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

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

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 20px;
    font-size: 14px;
}

.footer-links h4 {
    font-size: 16px;
    margin-bottom: 20px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

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

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 14px;
}

.sitemap-link {
    color: var(--accent-cyan);
    text-decoration: none;
}

/* Breadcrumb */
.breadcrumb {
    padding: 120px 0 40px;
    background: var(--secondary-dark);
}

.breadcrumb-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--accent-cyan);
}

.breadcrumb span {
    color: var(--accent-cyan);
}

/* Page Content */
.page-content {
    padding: 60px 0 100px;
}

/* About Page */
.about-section {
    padding: 60px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
}

.about-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    background: var(--card-dark);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.value-item h3 {
    color: var(--accent-cyan);
    margin-bottom: 10px;
}

/* News Page */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--card-dark);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

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

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 25px;
}

.news-date {
    color: var(--accent-cyan);
    font-size: 12px;
    margin-bottom: 10px;
}

.news-title {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-excerpt {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
}

.news-link {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
}

/* News Detail */
.news-detail {
    max-width: 800px;
    margin: 0 auto;
}

.news-detail-header {
    margin-bottom: 40px;
}

.news-detail-header h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.news-meta {
    display: flex;
    gap: 20px;
    color: var(--text-secondary);
    font-size: 14px;
}

.news-detail-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.news-detail-content p {
    margin-bottom: 20px;
}

.news-detail-content h2 {
    color: var(--text-primary);
    margin: 30px 0 15px;
    font-size: 24px;
}

/* Download Page */
.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.download-card {
    background: var(--card-dark);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s;
}

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

.download-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.download-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.download-card p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 25px;
}

/* Trade Page */
.trade-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}

.trade-table th,
.trade-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.trade-table th {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
}

.trade-table td {
    color: var(--text-primary);
}

.coin-cell {
    display: flex;
    align-items: center;
    gap: 15px;
}

.coin-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.coin-info h4 {
    font-size: 16px;
}

.coin-info span {
    color: var(--text-secondary);
    font-size: 12px;
}

.price-up {
    color: #00d4aa;
}

.price-down {
    color: #ef4444;
}

/* Sitemap Page */
.sitemap-section {
    padding: 60px 0;
}

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

.sitemap-category h3 {
    color: var(--accent-cyan);
    margin-bottom: 20px;
    font-size: 20px;
}

.sitemap-category ul {
    list-style: none;
}

.sitemap-category li {
    margin-bottom: 10px;
}

.sitemap-category a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.sitemap-category a:hover {
    color: var(--accent-cyan);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content,
    .trading-content,
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid,
    .news-grid,
    .download-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sitemap-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--secondary-dark);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .header-btns {
        display: none;
    }
    
    .hero-text h1 {
        font-size: 32px;
    }
    
    .features-grid,
    .news-grid,
    .download-grid,
    .stats-grid,
    .footer-grid,
    .sitemap-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}
