/* PRX Holdings - Dark Mode Theme (NiceHash Inspired) */

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

:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --bg-card: #1a1f35;
    --bg-hover: #222842;

    --accent-gold: #d4af37;
    --accent-gold-dark: #b8941f;
    --accent-silver: #c0c0c0;
    --accent-blue: #3b82f6;

    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --border: #2d3748;
    --border-light: #374151;

    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    --glow-gold: rgba(212, 175, 55, 0.3);
    --glow-blue: rgba(59, 130, 246, 0.2);
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

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

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

/* Buttons */
.btn-primary, .btn-outline, .btn-card, .btn-telegram {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 15px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    color: var(--bg-primary);
    box-shadow: 0 4px 20px var(--glow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px var(--glow-gold);
}

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

.btn-outline:hover {
    border-color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.1);
}

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

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0 100px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, var(--glow-gold) 0%, transparent 70%);
    opacity: 0.15;
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    color: var(--accent-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff, var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats-inline {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-bottom: 48px;
}

.stat-inline {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-card);
    padding: 20px 30px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.stat-icon {
    font-size: 32px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-gold);
}

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

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 48px;
}

.trust-badges {
    display: flex;
    gap: 32px;
    justify-content: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 14px;
}

.trust-icon {
    font-size: 20px;
}

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

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

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

/* Marketplace Cards */
.marketplace {
    background: var(--bg-secondary);
}

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

.mining-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.mining-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.mining-card.featured {
    border-color: var(--accent-gold);
    box-shadow: 0 0 40px var(--glow-gold);
}

.mining-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-dark));
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(100, 116, 139, 0.3);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.featured-badge {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.miner-icon {
    font-size: 40px;
}

.card-header h3 {
    font-size: 24px;
    margin-bottom: 4px;
}

.miner-model {
    color: var(--text-muted);
    font-size: 14px;
}

.card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.card-stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.card-stat .stat-label {
    font-size: 12px;
    color: var(--text-muted);
}

.card-stat .stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.card-pricing {
    margin-bottom: 24px;
}

.price-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.price-label {
    font-size: 12px;
    color: var(--text-muted);
}

.price-old {
    font-size: 16px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-main {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.price-amount {
    font-size: 42px;
    font-weight: 800;
    color: var(--accent-gold);
}

.price-currency {
    font-size: 18px;
    color: var(--text-secondary);
}

.price-discount {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.card-profits {
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.profit-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.profit-row + .profit-row {
    border-top: 1px solid var(--border);
}

.profit-value {
    color: var(--success);
    font-weight: 700;
}

.btn-card {
    width: 100%;
    text-align: center;
    background: var(--bg-hover);
    color: var(--text-primary);
}

.mining-card.featured .btn-card {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
    color: var(--bg-primary);
}

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

.marketplace-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
}

/* How It Works */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 32px;
    align-items: center;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s;
}

.step-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-4px);
}

.step-number {
    font-size: 14px;
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 16px;
}

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

.step-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

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

.step-arrow {
    font-size: 32px;
    color: var(--accent-gold);
}

/* Contact */
.contact {
    background: var(--bg-secondary);
}

.contact-box {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(59, 130, 246, 0.1));
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 64px;
    text-align: center;
}

.contact-box h2 {
    font-size: 40px;
    margin-bottom: 16px;
}

.contact-box p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-telegram {
    background: #0088cc;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-telegram:hover {
    background: #006ba1;
    transform: translateY(-2px);
}

.telegram-icon {
    font-size: 20px;
}

/* Footer */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    padding: 80px 0 40px;
}

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

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.compliance-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.compliance-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 13px;
}

.flag {
    font-size: 20px;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

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

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

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

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

.local-badge-footer {
    color: var(--accent-gold);
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 32px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 13px;
    margin: 8px 0;
}

.footer-disclaimer {
    max-width: 800px;
    margin: 16px auto 0;
    font-style: italic;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1200px) {
    .marketplace-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto 40px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .step-arrow {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 40px;
    }

    .hero-stats-inline {
        flex-direction: column;
        gap: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .trust-badges {
        flex-direction: column;
        gap: 16px;
    }

    .nav-links {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
