:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #0ea5e9;
    --accent: #22c55e;
    --dark: #0f172a;
    --darker: #020617;
    --light: #f8fafc;
    --gray: #64748b;
    --gray-dark: #334155;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--darker);
    color: var(--light);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--light);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--light);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 70px;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--light);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center top, rgba(99, 102, 241, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 60px;
}

/* Features Section */
.features {
    background: var(--dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--gray);
}

/* Specs Section */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.spec-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-table td {
    padding: 15px 0;
}

.spec-table td:first-child {
    color: var(--gray);
}

.spec-table td:last-child {
    text-align: right;
}

.halving-card h3 {
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.halving-timeline {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.halving-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border-left: 3px solid var(--gray-dark);
}

.halving-item.active {
    border-left-color: var(--accent);
    background: rgba(34, 197, 94, 0.1);
}

.halving-item .era {
    font-weight: 600;
}

.halving-item .blocks {
    color: var(--gray);
    font-size: 0.9rem;
}

.halving-item .reward {
    font-weight: 700;
    color: var(--accent);
}

/* Mining Section */
.mining {
    background: var(--dark);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.step {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 30px;
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step h3 {
    margin-top: 15px;
    margin-bottom: 15px;
}

.code-block {
    background: var(--darker);
    border-radius: 8px;
    padding: 15px;
    overflow-x: auto;
}

.code-block code {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.9rem;
    color: var(--accent);
    white-space: pre;
}

.step-note {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--gray);
}

/* Download Section */

/* Featured Download */
.featured-download {
    margin-bottom: 50px;
}

.featured-download-card {
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.15) 0%, rgba(245, 166, 35, 0.05) 100%);
    border: 2px solid #F5A623;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.featured-icon {
    font-size: 5rem;
    flex-shrink: 0;
}

.featured-content h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #F5A623;
}

.featured-content > p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.featured-buttons .btn-lg {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 40px;
    font-size: 1.1rem;
    background: #F5A623;
    color: #000;
    border: none;
}

.featured-buttons .btn-lg:hover {
    background: #d4920f;
}

.featured-buttons .btn-lg small {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 5px;
}

.featured-note {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--accent);
}

.subsection-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--gray);
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .featured-download-card {
        flex-direction: column;
        text-align: center;
    }
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.download-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
}

.download-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.download-card h3 {
    margin-bottom: 5px;
}

.download-card p {
    color: var(--gray);
    margin-bottom: 20px;
}

.source-card {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.requirements {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
}

.requirements h4 {
    margin-bottom: 15px;
}

.requirements ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.requirements li {
    color: var(--gray);
}

.requirements li::before {
    content: "✓ ";
    color: var(--accent);
}

/* Network Status */
.network-status {
    background: var(--dark);
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.status-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.status-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
}

.status-indicator.online {
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}

.status-indicator.offline {
    background: #ef4444;
}

.status-label {
    display: block;
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.status-value {
    font-size: 1.25rem;
    font-weight: 700;
}

/* Footer */
.footer {
    background: var(--darker);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--gray);
    margin-top: 15px;
}

.footer-links h4 {
    margin-bottom: 15px;
    font-size: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--light);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
}

/* Donate Section */
.footer-donate {
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-donate h4 {
    color: var(--light);
    margin-bottom: 10px;
    font-size: 1rem;
}

.footer-donate p {
    color: var(--gray);
    font-size: 0.9rem;
}

.donate-address {
    background: rgba(247, 147, 26, 0.2);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    display: inline-block;
    margin-top: 8px;
    border: 1px solid rgba(247, 147, 26, 0.4);
    user-select: all;
    cursor: pointer;
}

.donate-address:hover {
    background: rgba(247, 147, 26, 0.3);
    border-color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .navbar .btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-lg {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
