/* --- Variables --- */
:root {
    --color-bg: #121212;        /* Dark Tech Background */
    --color-panel: #1e1e1e;     /* Slightly lighter for cards */
    --color-neon: #39ff14;      /* Neon Green */
    --color-white: #e0e0e0;
    --color-grey: #757575;
    
    --font-mono: 'Share Tech Mono', monospace;
    --font-body: 'Roboto', sans-serif;
    
    --glow: 0 0 10px rgba(57, 255, 20, 0.4);
    --border: 1px solid #333;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-white);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { width: 90%; max-width: 1400px; margin: 0 auto; }

/* --- Ticker --- */
.tech-ticker { background-color: #000; color: var(--color-neon); padding: 5px 0; text-align: right; font-family: var(--font-mono); font-size: 0.8rem; border-bottom: 1px solid var(--color-neon); padding-right: 5%; }
.tech-ticker span { margin-left: 20px; }
.blink { animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* --- Header --- */
.tech-header {
    background-color: rgba(18, 18, 18, 0.95);
    padding: 20px 0;
    position: sticky; top: 0; z-index: 1000;
    border-bottom: 1px solid #333;
}

.header-flex { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--font-mono); font-size: 1.8rem; color: var(--color-white); letter-spacing: 1px; font-weight: bold; }
.green-bracket { color: var(--color-neon); }

.matrix-nav ul { display: flex; gap: 30px; align-items: center; }
.matrix-nav a { font-family: var(--font-mono); font-size: 1rem; color: var(--color-grey); }
.matrix-nav a:hover, .matrix-nav a.active { color: var(--color-neon); text-shadow: var(--glow); }

.btn-neon { border: 1px solid var(--color-neon); color: var(--color-neon) !important; padding: 8px 20px; font-family: var(--font-mono); font-weight: bold; }
.btn-neon:hover { background-color: var(--color-neon); color: var(--color-bg) !important; box-shadow: var(--glow); }

.menu-hacker { display: none; background: none; border: 1px solid var(--color-neon); padding: 5px; cursor: pointer; flex-direction: column; gap: 4px; }
.menu-hacker span { width: 25px; height: 2px; background-color: var(--color-neon); }

/* --- Mobile Menu --- */
.mobile-terminal {
    position: fixed; top: 0; right: -100%; width: 100%; height: 100%;
    background-color: var(--color-bg); z-index: 2000;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    border-left: 2px solid var(--color-neon); transition: 0.3s ease;
}
.mobile-terminal.active { right: 0; }
.close-terminal { position: absolute; top: 20px; right: 20px; background: none; border: none; color: var(--color-neon); font-family: var(--font-mono); font-size: 1.2rem; cursor: pointer; }
.mobile-terminal a { font-family: var(--font-mono); font-size: 1.5rem; color: var(--color-white); margin: 15px 0; }
.mobile-terminal a:hover { color: var(--color-neon); }

/* --- Hero --- */
.hero-tech { position: relative; height: 600px; display: flex; align-items: center; justify-content: flex-start; }
.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center; z-index: -2;
}
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, #121212 0%, rgba(18,18,18,0.7) 100%); z-index: -1; }

.hero-content { padding-left: 10%; max-width: 700px; z-index: 1; }
.status-badge { font-family: var(--font-mono); background: rgba(57, 255, 20, 0.1); color: var(--color-neon); padding: 5px 10px; border: 1px solid var(--color-neon); display: inline-block; margin-bottom: 20px; }
.hero h1 { font-family: var(--font-mono); font-size: 4rem; line-height: 1.1; margin-bottom: 20px; text-transform: uppercase; }
.green-glow { color: var(--color-neon); text-shadow: var(--glow); }
.hero p { font-size: 1.2rem; color: #ccc; margin-bottom: 30px; }

.btn-outline { border: 1px solid var(--color-white); padding: 12px 30px; font-family: var(--font-mono); font-weight: bold; }
.btn-outline:hover { background: var(--color-white); color: var(--color-bg); }

/* --- Modules Grid --- */
.section-padding { padding: 80px 0; }
.section-head { margin-bottom: 60px; }
.section-head h2 { font-family: var(--font-mono); font-size: 2.5rem; color: var(--color-neon); margin-bottom: 10px; }
.tech-line { width: 100px; height: 2px; background: var(--color-neon); }

.grid-tech { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.tech-card { background: var(--color-panel); padding: 30px; border: var(--border); position: relative; overflow: hidden; transition: 0.3s; }
.tech-card:hover { border-color: var(--color-neon); box-shadow: var(--glow); }
.card-icon { font-size: 2.5rem; margin-bottom: 15px; }
.tech-card h3 { font-family: var(--font-mono); font-size: 1.5rem; margin-bottom: 10px; color: var(--color-white); }
.tech-card p { color: var(--color-grey); font-size: 0.95rem; margin-bottom: 20px; }
.data-bar { width: 100%; height: 4px; background: #333; }
.data-bar .fill { height: 100%; background: var(--color-neon); }

/* --- Stats --- */
.stats-tech { background-color: var(--color-panel); padding: 40px 0; border-top: 1px solid #333; border-bottom: 1px solid #333; }
.stats-flex { display: flex; justify-content: space-around; text-align: center; }
.stat-box .num { display: block; font-family: var(--font-mono); font-size: 3rem; color: var(--color-neon); font-weight: bold; line-height: 1; }
.stat-box .label { font-size: 0.9rem; color: #aaa; letter-spacing: 1px; }

/* --- Split (About) --- */
.page-head { margin-bottom: 60px; }
.page-head h1 { font-family: var(--font-mono); font-size: 3rem; color: var(--color-neon); }

.split-tech { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.tech-info h2 { font-family: var(--font-mono); font-size: 2rem; margin-bottom: 20px; color: var(--color-white); }
.terminal-list { margin-top: 20px; list-style: none; font-family: var(--font-mono); color: var(--color-neon); }
.terminal-list li { margin-bottom: 10px; }

.monitor-frame { border: 2px solid #333; padding: 10px; background: #000; position: relative; }
.screen-overlay { position: absolute; top: 20px; left: 20px; background: rgba(0,0,0,0.7); color: var(--color-neon); padding: 5px; font-family: var(--font-mono); font-size: 0.8rem; }

/* --- Logs (Testimonials) --- */
.logs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.log-card { background: var(--color-panel); padding: 30px; border: var(--border); font-family: var(--font-mono); }
.log-header { display: flex; justify-content: space-between; margin-bottom: 15px; font-size: 0.8rem; color: var(--color-neon); border-bottom: 1px dashed #333; padding-bottom: 5px; }
.log-card p { color: #ccc; margin-bottom: 15px; font-family: var(--font-body); }
.author { text-align: right; color: var(--color-grey); }

/* --- Contact --- */
.contact-interface { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
.info-panel { background: var(--color-panel); padding: 40px; border-left: 4px solid var(--color-neon); }
.info-panel h2 { font-family: var(--font-mono); color: var(--color-neon); margin-bottom: 20px; }
.data-row { margin-bottom: 15px; font-family: var(--font-mono); border-bottom: 1px solid #333; padding-bottom: 5px; }
.data-row span { color: var(--color-grey); margin-right: 10px; }
.console-msg { color: var(--color-neon); margin-top: 30px; animation: blink 1s infinite; font-family: var(--font-mono); }

.neon-form { background: var(--color-panel); padding: 40px; border: var(--border); }
.neon-form h3 { font-family: var(--font-mono); margin-bottom: 25px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-family: var(--font-mono); color: var(--color-neon); font-size: 0.8rem; margin-bottom: 5px; }
.form-group input, .form-group select { width: 100%; padding: 12px; background: #000; border: 1px solid #333; color: #fff; font-family: var(--font-mono); }
.form-group input:focus { border-color: var(--color-neon); outline: none; }
.btn-submit { width: 100%; background: var(--color-neon); color: #000; padding: 15px; border: none; font-family: var(--font-mono); font-weight: bold; cursor: pointer; transition: 0.3s; }
.btn-submit:hover { box-shadow: var(--glow); background: #fff; }

/* --- Legal --- */
.legal-doc { max-width: 800px; margin: 0 auto; background: var(--color-panel); padding: 40px; border: var(--border); }
.legal-doc h1 { font-family: var(--font-mono); color: var(--color-white); }
.legal-doc h3 { font-family: var(--font-mono); color: var(--color-neon); margin-top: 30px; margin-bottom: 10px; }

/* --- Footer --- */
.tech-footer { border-top: 1px solid #333; padding: 60px 0; margin-top: auto; text-align: center; }
.f-brand { font-family: var(--font-mono); font-size: 1.5rem; color: var(--color-white); margin-bottom: 15px; }
.f-nav a { color: var(--color-grey); margin: 0 10px; font-family: var(--font-mono); }
.f-nav a:hover { color: var(--color-neon); }
.copyright { margin-top: 20px; font-size: 0.8rem; color: #555; }

@media (max-width: 992px) {
    .matrix-nav { display: none; }
    .menu-hacker { display: flex; }
    .hero h1 { font-size: 2.5rem; }
    .split-tech, .contact-interface, .stats-flex { grid-template-columns: 1fr; }
    .hero-content { padding-left: 20px; }
}