:root {
    --primary-green: #064E3B;
    --secondary-black: #0F172A;
    --accent-lime: #84CC16;
    --text-gray: #94A3B8;
    --text-light: #F8FAFC;
    --border-color: #1E293B;
    --bg-dark: #020617;
    --card-bg: #0F172A;
}

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

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

code, .monospace {
    font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--accent-lime);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--text-light);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover, nav a.active {
    color: var(--accent-lime);
}

/* Components */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-lime);
    background: rgba(132, 204, 22, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(132, 204, 22, 0.2);
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-lime);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-lime);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
    transition: border-color 0.3s;
}

.card:hover {
    border-color: var(--primary-green);
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-light);
    border-left: 4px solid var(--primary-green);
    padding-left: 15px;
}

/* Technical Details */
.tech-block {
    background: #020617;
    border: 1px solid #1E293B;
    padding: 15px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--accent-lime);
    margin: 10px 0;
    overflow-x: auto;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    margin-top: 60px;
    color: var(--text-gray);
    font-size: 0.85rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-links h4 {
    color: var(--text-light);
    margin-bottom: 15px;
}

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

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent-lime);
}

/* Sparkline Simulation */
.sparkline {
    height: 30px;
    width: 100px;
    background: linear-gradient(90deg, transparent 0%, rgba(132, 204, 22, 0.1) 50%, transparent 100%);
    position: relative;
    overflow: hidden;
}

.sparkline::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-lime);
    box-shadow: 0 0 5px var(--accent-lime);
    animation: scan 3s infinite linear;
}

@keyframes scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Watermark */
.watermark {
    position: fixed;
    bottom: 20px;
    right: 20px;
    opacity: 0.05;
    font-size: 5rem;
    font-weight: 900;
    pointer-events: none;
    z-index: -1;
    user-select: none;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-gray);
}

input, select, textarea {
    width: 100%;
    background: #020617;
    border: 1px solid var(--border-color);
    padding: 12px;
    color: var(--text-light);
    border-radius: 4px;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-lime);
}

button {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

button:hover {
    background: #065f46;
}
