/* =========================
   BASE
========================= */
.landing {
    background: #020617;
    color: #e5e7eb;
    position: relative;
    overflow: hidden;
}

/* GLOBAL DEPTH */
.landing::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, #2563eb22, transparent 40%),
                radial-gradient(circle at 80% 70%, #1d4ed822, transparent 40%);
    z-index: 0;
}

.landing > * {
    position: relative;
    z-index: 2;
}

/* =========================
   HERO
========================= */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.glow-text {
    font-size: 64px;
    color: #fff;
    text-shadow: 0 0 10px #2563eb, 0 0 30px #2563eb;
}

.hero-sub {
    margin-top: 2px;
    color: #9ca3af;
}

.hero-actions {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* =========================
   BUTTONS
========================= */
.btn-primary {
    background: #2563eb;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    box-shadow: 0 0 20px #2563eb55;
    transition: 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px #2563ebaa;
}

.btn-ghost {
    border: 1px solid #334155;
    padding: 12px 28px;
    border-radius: 10px;
    color: #cbd5f5;
    text-decoration: none;
}

/* =========================
   SECTIONS
========================= */
section {
    padding: 100px 20px;
    text-align: center;
}

/* =========================
   BACKGROUNDS
========================= */
.bg-grid {
    position: absolute;
    width: 200%;
    height: 200%;
    background-image:
        linear-gradient(#0f172a 1px, transparent 1px),
        linear-gradient(90deg, #0f172a 1px, transparent 1px);
    background-size: 40px 40px;
    animation: moveGrid 20s linear infinite;
    opacity: 0.2;
}

@keyframes moveGrid {
    from { transform: translate(0,0); }
    to { transform: translate(-40px, -40px); }
}

.bg-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, #2563eb40, transparent 60%);
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    filter: blur(120px);
}

/* =========================
   STATS
========================= */
.live-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    background: #0b1220;
    border-top: 1px solid #1e293b;
    border-bottom: 1px solid #1e293b;
}

.stat-number {
    font-size: 36px;
    color: #3b82f6;
}

.stat-label {
    display: block;
    color: #94a3b8;
}

/* =========================
   CARD SYSTEM
========================= */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.glass-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 16px;
    padding: 25px;
    backdrop-filter: blur(10px);
    transition: 0.3s;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* =========================
   SIMULATION
========================= */
.network-preview {
    height: 300px;
    border: 1px solid #1e293b;
    border-radius: 12px;
}

#networkCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

.live-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;

    padding: 40px;
    background: #0f172a; /* optional */
    border-radius: 20px;
}

/* LEFT */
.live-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.stats-logo {
    background: rgba(0, 255, 255, 0.08);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.stats-logo img {
    width: 12rem;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 3px 10px rgba(0,255,255,0.2));
}

.stats-content {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-box {
    text-align: center;
}

.stat-box {
    text-align: center;
    min-width: 140px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
}

.stat-label {
    color: #cbd5e1;
    font-size: 0.95rem;
}

/* =========================
   CTA
========================= */
.cta {
    text-align: center;
}