:root {
    --primary: #00f2ff;
    --accent: #0066ff;
    --bg-dark: #020408;
    --bg-card: #0a0e14;
    --text-main: #e2e8f0;
    --text-dim: #94a3b8;
    --border: rgba(0, 242, 255, 0.15);
    --glow: rgba(0, 242, 255, 0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth;}
body { 
    background-color: var(--bg-dark); 
    color: var(--text-main); 
    font-family: 'Inter', sans-serif; 
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- Background Effects --- */
.stars {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 50%, #0c121d 0%, #020408 100%);
    z-index: -2;
}

.scanline {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 242, 255, 0.02) 50%);
    background-size: 100% 4px;
    z-index: -1;
    pointer-events: none;
}

/* --- Navigation --- */
.navbar {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 1.2rem;
}

.logo-icon {
    width: 24px;
    height: 24px;
    background: var(--primary);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    box-shadow: 0 0 15px var(--primary);
}

.version {
    font-size: 0.6rem;
    color: var(--primary);
    margin-left: 5px;
    vertical-align: top;
    opacity: 0.7;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
    text-shadow: 0 0 8px var(--glow);
}

/* --- Hero Section & Glitch Effect --- */
.hero {
    padding: 100px 20px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.glitch-wrapper { margin-bottom: 1.5rem; }
.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -1px;
    color: white;
    position: relative;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 3rem;
}

/* .glow {
    color: var(--primary);
    border-radius: 4px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 0 0 5px var(--glow), 0 0 10px var(--glow), 0 0 20px var(--glow);
    transition: 0.3s;
    display: inline-block;
    border: none;
    transform: translateY(-20%);
} */

/* --- Buttons --- */
.glow-button {
    background: var(--primary);
    color: var(--bg-dark);
    padding: 1rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-shadow: 0 0 20px var(--glow);
    transition: 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}


.glow-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px var(--glow);
    filter: brightness(1.1);
}

.secondary-button {
    padding: 1rem 2.5rem;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--border);
    margin-left: 1rem;
    border-radius: 4px;
    transition: 0.3s;
}

.secondary-button:hover {
    background: rgba(0, 242, 255, 0.05);
    border-color: var(--primary);
}

/* --- Status Bar --- */
.network-status-bar {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,0,0,0.3);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.status-dot { width: 6px; height: 6px; border-radius: 50%; }
.status-dot.online { background: #00ff88; box-shadow: 0 0 8px #00ff88; }

/* --- Bento Grid --- */
.bento-grid {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.bento-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 12px;
    transition: 0.4s;
}

.bento-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.bento-item.wide { grid-column: span 2; }
.bento-item.full-width { grid-column: span 3; }
.bento-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/* --- Terminal --- */
.terminal-window {
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    text-align: left;
}

.terminal-header {
    background: #1a1a1a;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.terminal-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }
.terminal-title { font-size: 0.7rem; color: #666; margin-left: 10px; }
.terminal-body { padding: 20px; color: #fff; }
.t-green { color: #00ff88; }
.t-cyan { color: #00f2ff; }

/* --- THE MISSING BETA SECTION --- */
.beta-section {
    padding: 6rem 2rem;
    display: flex;
    justify-content: center;
    background: linear-gradient(to bottom, transparent, rgba(0, 102, 255, 0.03));
}

.beta-card {
    background: linear-gradient(135deg, rgba(0, 242, 255, 0.05), rgba(0, 102, 255, 0.05));
    border: 1px solid var(--border);
    padding: 4rem;
    border-radius: 24px;
    text-align: center;
    max-width: 800px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.beta-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.beta-card p {
    color: var(--text-dim);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.feature-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.f-item {
    font-family: 'JetBrains Mono', monospace;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    background: rgba(0, 242, 255, 0.05);
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px solid rgba(0, 242, 255, 0.1);
}

/* --- Footer --- */
footer {
    padding: 4rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* --- Dashboard Specifics --- */
.dashboard-body { display: flex; height: 100vh; background: #010204; }
.sidebar { width: 260px; border-right: 1px solid var(--border); padding: 2rem; display: flex; flex-direction: column; }
.side-nav { margin-top: 3rem; display: flex; flex-direction: column; gap: 0.5rem; }
.side-nav a { text-decoration: none; color: var(--text-dim); padding: 12px 15px; border-radius: 6px; transition: 0.3s; font-size: 0.9rem; }
.side-nav a:hover, .side-nav a.active { background: rgba(0, 242, 255, 0.05); color: var(--primary); }
.logout { color: #ff5f56 !important; margin-top: auto; }

.main-content { flex: 1; overflow-y: auto; padding: 3rem; }
.dash-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 3rem; }
.user-chip { background: rgba(0,0,0,0.4); padding: 10px 20px; border-radius: 30px; border: 1px solid var(--border); font-size: 0.8rem; display: flex; align-items: center; gap: 10px; }
.user-status.online { width: 8px; height: 8px; background: #00ff88; border-radius: 50%; box-shadow: 0 0 8px #00ff88; }

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 3rem; }
.stat-box { background: var(--bg-card); border: 1px solid var(--border); padding: 2rem; border-radius: 12px; }
.stat-box .label { font-size: 0.7rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; }
.stat-box .value { display: block; font-size: 2rem; font-weight: 800; color: var(--primary); margin-top: 5px; }

.node-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.node-table th { text-align: left; padding: 15px; border-bottom: 1px solid var(--border); color: var(--text-dim); font-size: 0.75rem; text-transform: uppercase; }
.node-table td { padding: 15px; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.9rem; }
.pill { padding: 4px 10px; border-radius: 4px; font-size: 0.7rem; text-transform: uppercase; font-weight: 700; }
.pill.online { background: rgba(0, 255, 136, 0.1); color: #00ff88; }
.pill.offline { background: rgba(148, 163, 184, 0.1); color: var(--text-dim); }
.small-btn { background: transparent; border: 1px solid var(--border); color: var(--primary); padding: 5px 12px; border-radius: 4px; cursor: pointer; font-size: 0.8rem; transition: 0.3s; }
.small-btn:hover { background: var(--primary); color: var(--bg-dark); }

@media (max-width: 900px) {
    .bento-grid, .stats-grid { grid-template-columns: 1fr; }
    .bento-item.wide { grid-column: span 1; }
    .sidebar { display: none; }
    .beta-card { padding: 2rem; }
}

.themed-form {
    text-align: left;
    margin-top: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
}

.form-group {
    margin-bottom: 1.25rem;
}

.themed-form label {
    display: block;
    font-size: 0.8rem;
    color: #00ff66; /* Match your t-green terminal color */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}

.themed-form input[type="text"],
.themed-form input[type="email"],
.themed-form textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #333;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.themed-form input:focus,
.themed-form textarea:focus {
    outline: none;
    border-color: #00ff66;
    box-shadow: 0 0 8px rgba(0, 255, 102, 0.2);
}

.themed-form textarea {
    resize: vertical;
}