
:root {
    --bg-dark: #07090C;
    --bg-panel: #11151A;
    --red: #E53935;
    --red-glow: rgba(229, 57, 53, 0.4);
    --text-main: #E2E8F0;
    --text-muted: #94A3B8;
    --border: #1E293B;
    --font-mono: 'Space Mono', 'Fira Code', 'Courier New', monospace;
    --font-sans: 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

/* Background grid */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.2;
    z-index: -1;
    pointer-events: none;
}

a { color: var(--red); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--text-main); text-shadow: 0 0 10px var(--red-glow); }

h1, h2, h3, h4 {
    font-family: var(--font-mono);
    color: var(--text-main);
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.3;
}

/* Cyber Header */
.header {
    background: rgba(7, 9, 12, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--red);
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top:0; width:100%;
    z-index: 1000;
    box-shadow: 0 5px 20px var(--red-glow);
}

.logo {
    font-family: var(--font-mono);
    font-size: 24px;
    color: var(--red);
    font-weight: 900;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.logo::before {
    content: '[ SYS_07 ]';
    font-size: 12px;
    color: var(--text-muted);
}

.nav { display: flex; gap: 30px; }
.nav a {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text-muted);
    letter-spacing: 1px;
}
.nav a:hover { color: var(--red); }

.btn {
    display: inline-block;
    background: transparent;
    border: 1px solid var(--red);
    color: var(--red);
    padding: 12px 30px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 1px;
}
.btn:hover {
    background: var(--red);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--red-glow);
}

/* Hero UI */
.hero {
    margin-top: 80px;
    height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
    border-bottom: 1px solid var(--border);
    position: relative;
}
.hero::after {
    content:'';
    position: absolute; right:0; top:0; height:100%; width:30%;
    background: radial-gradient(circle at center, var(--red-glow) 0%, transparent 70%);
    opacity: 0.3;
    pointer-events: none;
}
.hud-element {
    font-family: var(--font-mono);
    color: var(--red);
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}
.hero h1 { font-size: 5rem; margin-bottom: 20px; text-shadow: 0 0 20px rgba(255,255,255,0.1); }
.hero p { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin-bottom: 40px; }

/* Grid Sections */
.section { padding: 80px 10%; border-bottom: 1px solid var(--border); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }

.panel {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    padding: 40px;
    position: relative;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.5);
}
/* Cyber corners */
.panel::before {
    content: ''; position: absolute; top: -1px; left: -1px;
    width: 20px; height: 20px;
    border-top: 2px solid var(--red); border-left: 2px solid var(--red);
}
.panel::after {
    content: ''; position: absolute; bottom: -1px; right: -1px;
    width: 20px; height: 20px;
    border-bottom: 2px solid var(--red); border-right: 2px solid var(--red);
}

.panel h2 { font-size: 2.2rem; margin-bottom: 30px; color: var(--white); }
.panel p { color: var(--text-muted); margin-bottom: 20px; }

.data-box {
    border: 1px solid var(--border);
    background: rgba(0,0,0,0.3);
    padding: 30px;
}
.data-box h3 { font-size: 1.2rem; margin-bottom: 15px; color: var(--red); }
.data-box ul { margin-left: 20px; color: var(--text-muted); }
.data-box li { margin-bottom: 10px; }
.data-box strong { color: var(--text-main); }

/* Form Elements */
.form-group { margin-bottom: 25px; }
.form-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-transform: uppercase;
}
.input-base {
    width: 100%;
    padding: 15px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 16px;
}
.input-base:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 10px var(--red-glow);
}

/* Footer */
.footer {
    padding: 80px 10%;
    background: #000;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-muted);
}
.footer h4 { font-size: 16px; margin-bottom: 20px; color: var(--white); }
.footer ul { list-style: none; margin: 0; }
.footer li { margin-bottom: 10px; }

/* Page Header */
.page-header {
    margin-top: 80px;
    padding: 60px 10%;
    border-bottom: 1px solid var(--border);
    background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(30,41,59,0.1) 10px, rgba(30,41,59,0.1) 20px);
}
.page-header h1 { font-size: 3.5rem; color: var(--red); }

@media(max-width: 900px) {
    .header { flex-direction: column; padding: 20px; }
    .nav { margin-top: 20px; flex-wrap: wrap; justify-content: center; }
    .hero { height: auto; padding: 60px 5%; text-align: center; margin-top: 120px; }
    .hero h1 { font-size: 3.5rem; }
    .hero p { margin: 0 auto 40px; }
    .grid-2, .footer { grid-template-columns: 1fr; }
    .section { padding: 50px 5%; }
}
