/* ========================================
   MALIMINES — Global Styles
   ======================================== */

:root {
    --primary: #00d4ff;
    --primary-dark: #0099cc;
    --accent: #7c3aed;
    --accent-light: #a78bfa;
    --gold: #f59e0b;
    --gold-dark: #d97706;
    --success: #10b981;
    --danger: #ef4444;
    --bg-dark: #0a0e17;
    --bg-card: #111827;
    --bg-card-hover: #1a2332;
    --bg-surface: #0f1521;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: #1e293b;
    --border-light: #334155;
    --gradient-1: linear-gradient(135deg, #00d4ff, #7c3aed);
    --gradient-2: linear-gradient(135deg, #7c3aed, #ec4899);
    --gradient-gold: linear-gradient(135deg, #f59e0b, #f97316);
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img { max-width: 100%; }

/* ========================================
   Particle Canvas
   ======================================== */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ========================================
   Typography
   ======================================== */
.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.accent { color: var(--primary); }

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-1);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-light);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 212, 255, 0.05);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--gradient-gold);
    color: #000;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.5);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

/* ========================================
   Navbar
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 14, 23, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 100;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-links a {
    padding: 8px 16px;
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 100;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    z-index: 1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius-full);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 36px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.hero-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    display: block;
}

.hero-stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-light);
}

/* Mining Rig Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mining-rig {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rig-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3), transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

.rig-core {
    width: 100px;
    height: 100px;
    background: var(--gradient-1);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    z-index: 2;
    box-shadow: 0 0 60px rgba(0, 212, 255, 0.4);
    animation: float 4s ease-in-out infinite;
}

.rig-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 212, 255, 0.15);
}

.rig-ring-1 {
    width: 180px;
    height: 180px;
    animation: spin 12s linear infinite;
    border-color: rgba(0, 212, 255, 0.2);
    border-top-color: var(--primary);
}

.rig-ring-2 {
    width: 260px;
    height: 260px;
    animation: spin 18s linear infinite reverse;
    border-color: rgba(124, 58, 237, 0.15);
    border-bottom-color: var(--accent);
}

.rig-ring-3 {
    width: 340px;
    height: 340px;
    animation: spin 25s linear infinite;
    border-color: rgba(0, 212, 255, 0.08);
    border-left-color: rgba(0, 212, 255, 0.3);
}

.hash-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hash-particle {
    position: absolute;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--primary);
    opacity: 0;
    animation: hashFloat 4s ease-in-out infinite;
}

.hash-particle:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.hash-particle:nth-child(2) { top: 30%; right: 10%; animation-delay: 0.7s; }
.hash-particle:nth-child(3) { bottom: 20%; left: 10%; animation-delay: 1.4s; }
.hash-particle:nth-child(4) { top: 15%; right: 25%; animation-delay: 2.1s; }
.hash-particle:nth-child(5) { bottom: 30%; right: 15%; animation-delay: 2.8s; }
.hash-particle:nth-child(6) { bottom: 10%; left: 35%; animation-delay: 3.5s; }

/* ========================================
   Sections
   ======================================== */
.section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.section-dark {
    background: var(--bg-surface);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius-full);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto;
}

/* ========================================
   Steps / How It Works
   ======================================== */
.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    flex: 1;
    max-width: 320px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-card:hover {
    border-color: rgba(0,212,255,0.3);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

.step-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.15;
    position: absolute;
    top: 12px;
    right: 20px;
}

.step-icon {
    width: 64px;
    height: 64px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.step-connector {
    color: var(--border-light);
    font-size: 1.2rem;
}

/* ========================================
   Features Grid
   ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative; overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; top: -40%; right: -20%;
    width: 120px; height: 120px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0,212,255,0.06) 0%, transparent 70%);
    opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.feature-card:hover::before { opacity: 1; }

.feature-card:hover {
    border-color: rgba(0,212,255,0.3);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.25), 0 0 30px rgba(0,212,255,0.08);
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.mobile-auth-links {
    display: none;
}

/* ========================================
   Packages
   ======================================== */

/* ========================================
   Plan Toggle & Trust Bar
   ======================================== */
.plan-toggle-wrap {
    display: flex; align-items: center; justify-content: center;
    gap: 16px; margin-bottom: 48px;
}
.plan-toggle-label {
    font-size: 0.88rem; font-weight: 600; color: var(--text-secondary);
}
.plan-save-badge {
    background: linear-gradient(135deg, rgba(16,185,129,0.12), rgba(16,185,129,0.06));
    border: 1px solid rgba(16,185,129,0.25);
    color: var(--success); font-size: 0.75rem; font-weight: 700;
    padding: 5px 14px; border-radius: var(--radius-full);
    display: flex; align-items: center; gap: 5px;
    animation: savePulse 2.5s ease-in-out infinite;
}
@keyframes savePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
.pricing-trust {
    display: flex; align-items: center; justify-content: center;
    gap: 32px; margin-top: 48px; flex-wrap: wrap;
}
.trust-item {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.82rem; font-weight: 600; color: var(--text-muted);
}
.trust-item i { color: var(--primary); font-size: 0.9rem; }

/* ========================================
   Packages Grid — Redesigned
   ======================================== */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    position: relative;
    max-width: 1080px;
    margin: 0 auto;
}

/* Bottom row: 2 cards centered */
.packages-grid .package-card:nth-child(4),
.packages-grid .package-card:nth-child(5) {
    max-width: 100%;
}
@media (min-width: 769px) {
    .packages-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    .packages-grid .package-card:nth-child(1),
    .packages-grid .package-card:nth-child(2),
    .packages-grid .package-card:nth-child(3) {
        grid-column: span 2;
    }
    .packages-grid .package-card:nth-child(4) {
        grid-column: 2 / 4;
    }
    .packages-grid .package-card:nth-child(5) {
        grid-column: 4 / 6;
    }
}

.package-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 24px 28px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.package-card-glow {
    position: absolute; top: -60%; left: -30%; right: -30%;
    height: 120px; border-radius: 50%;
    background: radial-gradient(ellipse, rgba(0,212,255,0.06) 0%, transparent 70%);
    pointer-events: none; transition: opacity 0.4s;
    opacity: 0;
}
.package-card:hover .package-card-glow { opacity: 1; }
.bronze-glow { background: radial-gradient(ellipse, rgba(205,127,50,0.08) 0%, transparent 70%); }
.popular-glow { background: radial-gradient(ellipse, rgba(0,212,255,0.1) 0%, transparent 70%); }
.gold-glow { background: radial-gradient(ellipse, rgba(245,158,11,0.1) 0%, transparent 70%); }
.ultimate-glow { background: radial-gradient(ellipse, rgba(168,85,247,0.12) 0%, transparent 70%); }

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* Package Header */
.package-header {
    text-align: center; margin-bottom: 20px;
}
.package-icon {
    width: 52px; height: 52px; border-radius: 16px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.3rem; margin-bottom: 12px;
    background: rgba(107,114,128,0.08); color: var(--text-muted);
    border: 1px solid rgba(107,114,128,0.12);
}
.package-icon.bronze-icon { background: rgba(205,127,50,0.1); color: #cd7f32; border-color: rgba(205,127,50,0.2); }
.package-icon.silver-icon { background: rgba(0,212,255,0.1); color: var(--primary); border-color: rgba(0,212,255,0.2); }
.package-icon.gold-icon { background: rgba(245,158,11,0.1); color: var(--gold); border-color: rgba(245,158,11,0.2); }
.package-icon.ultimate-icon { background: rgba(168,85,247,0.1); color: #a855f7; border-color: rgba(168,85,247,0.2); }

.package-tier {
    font-size: 1.05rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 1.5px;
    color: var(--text-primary); margin-bottom: 4px;
}
.package-tier-sub {
    font-size: 0.75rem; color: var(--text-muted); font-weight: 500;
}

/* Price */
.package-price {
    text-align: center; margin-bottom: 20px;
    padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.package-price .currency {
    font-size: 0.9rem; font-weight: 600;
    color: var(--text-secondary); vertical-align: super;
}
.package-price .amount {
    font-size: 2.4rem; font-weight: 900;
    font-family: 'JetBrains Mono', monospace; letter-spacing: -2px;
}
.package-price .period {
    font-size: 0.82rem; color: var(--text-muted); display: block; margin-top: 2px;
}

/* Hash Power Bar */
.package-hash-bar {
    position: relative; height: 32px;
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-full); margin-bottom: 12px;
    overflow: hidden; border: 1px solid rgba(255,255,255,0.04);
}
.hash-bar-inner {
    position: absolute; top: 0; left: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(0,212,255,0.15), rgba(0,212,255,0.25));
    border-radius: var(--radius-full);
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.hash-bar-inner.bronze-bar { background: linear-gradient(90deg, rgba(205,127,50,0.15), rgba(205,127,50,0.3)); }
.hash-bar-inner.popular-bar { background: linear-gradient(90deg, rgba(0,212,255,0.2), rgba(0,212,255,0.35)); }
.hash-bar-inner.gold-bar { background: linear-gradient(90deg, rgba(245,158,11,0.15), rgba(245,158,11,0.35)); }
.hash-bar-inner.ultimate-bar { background: linear-gradient(90deg, rgba(168,85,247,0.2), rgba(168,85,247,0.4)); }
.hash-bar-text {
    position: absolute; inset: 0; display: flex;
    align-items: center; justify-content: center;
    font-size: 0.78rem; font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-secondary); gap: 6px; z-index: 1;
}
.hash-bar-text i { font-size: 0.72rem; }

/* Multiplier Badge */
.package-multiplier {
    display: flex; align-items: center; justify-content: center;
    gap: 6px; padding: 6px 14px;
    background: rgba(0,212,255,0.06); border: 1px solid rgba(0,212,255,0.12);
    border-radius: var(--radius-full); margin-bottom: 18px;
    font-size: 0.75rem; font-weight: 700;
    color: var(--primary); letter-spacing: 0.5px; text-transform: uppercase;
}
.package-multiplier.gold-mult {
    background: rgba(245,158,11,0.06); border-color: rgba(245,158,11,0.15);
    color: var(--gold);
}
.package-multiplier.ultimate-mult {
    background: rgba(168,85,247,0.08); border-color: rgba(168,85,247,0.2);
    color: #a855f7;
}

/* Popular */
.package-popular {
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(0,212,255,0.1), inset 0 1px 0 rgba(0,212,255,0.1);
    transform: scale(1.03);
    z-index: 2;
}
.package-popular:hover { transform: scale(1.03) translateY(-8px); }
.package-popular .package-price .amount { color: var(--primary); }

/* Bronze */
.package-bronze { border-color: rgba(205,127,50,0.25); }
.package-bronze:hover { border-color: rgba(205,127,50,0.5); box-shadow: 0 20px 60px rgba(205,127,50,0.1); }

/* Gold */
.package-gold { border-color: rgba(245,158,11,0.3); }
.package-gold:hover { border-color: var(--gold); box-shadow: 0 20px 60px rgba(245,158,11,0.15); }
.package-gold .package-price .amount { color: var(--gold); }

/* Ultimate */
.package-ultimate {
    border-color: rgba(168,85,247,0.3);
    background: linear-gradient(165deg, rgba(168,85,247,0.06), rgba(59,130,246,0.03), var(--bg-card));
}
.package-ultimate:hover {
    border-color: #a855f7;
    box-shadow: 0 20px 60px rgba(168,85,247,0.15);
}
.package-ultimate .package-price .amount { color: #a855f7; }

/* Badges */
.package-badge {
    position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
    background: var(--gradient-1); color: #fff;
    font-size: 0.68rem; font-weight: 700;
    padding: 6px 20px; border-radius: 0 0 12px 12px;
    letter-spacing: 1px; white-space: nowrap;
}
.gold-badge { background: var(--gradient-gold) !important; color: #000 !important; }
.ultimate-badge { background: linear-gradient(135deg, #a855f7, #3b82f6) !important; color: #fff !important; }

/* Buttons */
.btn-ultimate { background: linear-gradient(135deg, #a855f7, #3b82f6); color: #fff; border: none; font-weight: 700; }
.btn-ultimate:hover { background: linear-gradient(135deg, #9333ea, #2563eb); box-shadow: 0 4px 24px rgba(168,85,247,0.4); transform: translateY(-2px); }

.pkg-btn {
    margin-top: auto; font-size: 0.88rem; font-weight: 700;
    padding: 14px 20px; border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.pkg-btn:hover { transform: translateY(-2px); }

/* Features */
.package-features {
    list-style: none; margin-bottom: 24px; flex: 1;
}
.package-features li {
    display: flex; align-items: center; gap: 10px;
    padding: 7px 0; font-size: 0.82rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255,255,255,0.02);
}
.package-features li:last-child { border-bottom: none; }
.package-features li i {
    font-size: 0.72rem; width: 18px; text-align: center; flex-shrink: 0;
}
.package-features li .fa-check { color: var(--success); }
.package-features li .fa-xmark { color: var(--text-muted); }
.package-features li.disabled { opacity: 0.35; }

/* ========================================
   Stats
   ======================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px 32px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.4s;
}

.stat-card:hover {
    border-color: rgba(0,212,255,0.25);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.25), 0 0 30px rgba(0,212,255,0.06);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card-featured {
    border-color: rgba(0, 212, 255, 0.25);
    background: linear-gradient(165deg, rgba(0, 212, 255, 0.04), var(--bg-card));
}

.stat-icon {
    width: 52px;
    height: 52px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
    margin: 0 auto 18px;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 14px;
    line-height: 1.2;
}

.stat-value-live {
    font-size: 1.3rem;
    color: var(--primary);
    word-break: break-all;
    line-height: 1.4;
    padding: 8px 0;
}

.stat-trend {
    font-size: 0.78rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.stat-trend.up {
    color: var(--success);
}

.live-pulse {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    display: inline-block;
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

.stat-crypto-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 4px;
}

.stat-crypto {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--text-secondary);
}

/* ========================================
   Testimonials
   ======================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card:hover {
    border-color: rgba(0,212,255,0.2);
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

.testimonial-stars {
    margin-bottom: 16px;
    color: var(--gold);
    font-size: 0.9rem;
    display: flex;
    gap: 2px;
}

.testimonial-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.testimonial-author strong {
    display: block;
    font-size: 0.92rem;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ========================================
   FAQ
   ======================================== */
.faq-container {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--bg-card);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(0,212,255,0.15);
}

.faq-item.active {
    border-color: rgba(0,212,255,0.2);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

.faq-question i {
    color: var(--text-muted);
    font-size: 0.8rem;
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(124, 58, 237, 0.05));
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.cta-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 36px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 80px 0 32px;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 16px;
    line-height: 1.6;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1rem;
}

.social-links a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.footer-links h4 {
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-badges {
    display: flex;
    gap: 20px;
}

.footer-badges span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-badges i {
    color: var(--success);
}

/* ========================================
   Animations
   ======================================== */
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes hashFloat {
    0% { opacity: 0; transform: translateY(10px); }
    20% { opacity: 0.6; }
    80% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-40px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   Dashboard Page Styles
   ======================================== */
.dashboard-page {
    padding-top: 80px;
}

.dashboard-header {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
    position: relative;
    z-index: 1;
}

.dash-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dash-welcome h1 {
    font-size: 1.6rem;
    font-weight: 700;
}

.dash-welcome p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.dash-actions {
    display: flex;
    gap: 12px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
    padding: 32px 0;
    position: relative;
    z-index: 1;
}

.dash-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
}

.dash-stat-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.dash-stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.dash-stat-header span {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.dash-stat-header i {
    color: var(--primary);
    font-size: 1.2rem;
}

.dash-stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 8px;
}

.dash-stat-change {
    font-size: 0.82rem;
    color: var(--success);
    display: flex;
    align-items: center;
    gap: 4px;
}

.mining-section {
    padding: 32px 0;
    position: relative;
    z-index: 1;
}

.mining-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.mining-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.mining-panel h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mining-panel h2 i {
    color: var(--primary);
}

.mine-btn {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--gradient-1);
    border: none;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 32px auto;
    box-shadow: 0 0 60px rgba(0, 212, 255, 0.3);
    transition: var(--transition);
    font-family: inherit;
    position: relative;
}

.mine-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 80px rgba(0, 212, 255, 0.5);
}

.mine-btn.mining-active {
    animation: miningPulse 1.5s ease-in-out infinite;
}

.mine-btn i {
    font-size: 2.5rem;
}

.mine-btn .mine-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes miningPulse {
    0%, 100% { box-shadow: 0 0 60px rgba(0, 212, 255, 0.3); }
    50% { box-shadow: 0 0 100px rgba(0, 212, 255, 0.6); }
}

.mining-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.mining-mini-stat {
    text-align: center;
    padding: 16px;
    background: rgba(0, 212, 255, 0.04);
    border-radius: var(--radius);
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.mining-mini-stat .mini-value {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    display: block;
}

.mining-mini-stat .mini-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.hashrate-bar {
    width: 100%;
    height: 8px;
    background: var(--border);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-top: 8px;
}

.hashrate-fill {
    height: 100%;
    background: var(--gradient-1);
    border-radius: var(--radius-full);
    transition: width 0.5s ease;
}

/* Activity / Sidebar */
.activity-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.activity-panel h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.activity-panel h3 i {
    color: var(--primary);
}

.activity-list {
    list-style: none;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.activity-item:last-child { border-bottom: none; }

.activity-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.activity-icon.mined {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.activity-icon.withdraw {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary);
}

.activity-info {
    flex: 1;
}

.activity-info strong {
    display: block;
    font-size: 0.88rem;
}

.activity-info span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.activity-amount {
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: var(--success);
}

/* Current Package */
.current-plan {
    margin-top: 20px;
    padding: 20px;
    background: rgba(0, 212, 255, 0.04);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: var(--radius);
}

.current-plan h4 {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.current-plan .plan-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.current-plan .plan-hash {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 640px;
        margin-left: auto;
        margin-right: auto;
    }
    .packages-grid .package-card:nth-child(1),
    .packages-grid .package-card:nth-child(2),
    .packages-grid .package-card:nth-child(3),
    .packages-grid .package-card:nth-child(4),
    .packages-grid .package-card:nth-child(5) {
        grid-column: span 1 !important;
    }
    .packages-grid .package-card:last-child {
        grid-column: 1 / -1 !important;
        max-width: 340px;
        margin: 0 auto;
    }
    .pricing-trust { gap: 18px; }
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-subtitle {
        margin: 0 auto 36px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-visual {
        display: none;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .stat-value-live {
        font-size: 1.15rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .mining-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.4rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 14, 23, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links a {
        font-size: 1.2rem;
    }
    .mobile-toggle {
        display: flex;
    }
    .nav-actions .btn {
        display: none;
    }
    .nav-links .mobile-auth-links {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 24px;
        width: 100%;
        max-width: 280px;
    }
    .nav-links .mobile-auth-links a {
        text-align: center;
        padding: 14px 24px;
        border-radius: var(--radius);
        font-weight: 600;
    }
    .steps-grid {
        flex-direction: column;
    }
    .step-connector {
        transform: rotate(90deg);
    }
    .packages-grid {
        grid-template-columns: 1fr !important;
        max-width: 380px;
        margin: 0 auto;
    }
    .packages-grid .package-card:nth-child(1),
    .packages-grid .package-card:nth-child(2),
    .packages-grid .package-card:nth-child(3),
    .packages-grid .package-card:nth-child(4),
    .packages-grid .package-card:nth-child(5) {
        grid-column: span 1 !important;
    }
    .packages-grid .package-card:last-child {
        max-width: 100%;
    }
    .package-popular {
        transform: none;
    }
    .package-popular:hover {
        transform: translateY(-6px);
    }
    .plan-toggle-wrap { gap: 10px; }
    .plan-save-badge { font-size: 0.68rem; padding: 4px 10px; }
    .pricing-trust { flex-direction: column; gap: 12px; }
    .features-grid,
    .stats-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .footer-badges {
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .mining-stats-row {
        grid-template-columns: 1fr;
    }
    .dash-header-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ========================================
   Cookie Consent Banner
   ======================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-top: 1px solid rgba(0, 212, 255, 0.15);
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.5);
    padding: 0;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.cookie-icon {
    width: 44px;
    height: 44px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #00d4ff;
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.6;
}

.cookie-text a {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 600;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 22px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #00d4ff, #00b4dc);
    color: #0a0e1a;
}

.cookie-btn-accept:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 212, 255, 0.3);
}

.cookie-btn-decline {
    background: rgba(255, 255, 255, 0.06);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

@media (max-width: 768px) {
    .cookie-banner-inner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 14px;
    }
    .cookie-icon {
        display: none;
    }
    .cookie-actions {
        width: 100%;
    }
    .cookie-btn {
        flex: 1;
        padding: 12px 16px;
    }
}
