:root {
    --matrix-green: #00FF41;
    --dark-bg: #0D0D0D;
    --panel-grey: #1F1F1F;
    --terminal-text: #E0E0E0;
    
    --font-mono: 'Share Tech Mono', monospace;
    --font-body: 'Rajdhani', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--dark-bg);
    color: var(--terminal-text);
    font-family: var(--font-body);
    font-weight: 500;
    line-height: 1.6;
    overflow-x: hidden;
}

.matrix-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(rgba(0, 255, 65, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 255, 65, 0.03) 1px, transparent 1px); background-size: 30px 30px; z-index: -1; pointer-events: none; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 100px 0; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* Header */
.matrix-header { background: rgba(13, 13, 13, 0.95); padding: 20px 0; border-bottom: 1px solid var(--matrix-green); position: sticky; top: 0; z-index: 1000; box-shadow: 0 0 15px rgba(0, 255, 65, 0.1); }
.header-flex { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--font-mono); font-size: 1.8rem; color: #fff; letter-spacing: 2px; }
.green { color: var(--matrix-green); text-shadow: 0 0 5px var(--matrix-green); }
.code-bracket { color: #555; }

.system-nav a { margin-left: 20px; font-family: var(--font-mono); font-size: 0.9rem; color: #888; letter-spacing: 1px; }
.system-nav a:hover, .system-nav a.active { color: var(--matrix-green); text-shadow: 0 0 8px var(--matrix-green); }

.btn-green { border: 1px solid var(--matrix-green); color: var(--matrix-green) !important; padding: 8px 20px; font-family: var(--font-mono); }
.btn-green:hover { background: var(--matrix-green); color: var(--dark-bg) !important; box-shadow: 0 0 15px var(--matrix-green); }

/* Mobile Menu */
.mobile-terminal-btn { display: none; font-family: var(--font-mono); color: var(--matrix-green); cursor: pointer; border: 1px solid var(--matrix-green); padding: 5px 10px; }
.mobile-console { position: fixed; top: 0; right: -100%; width: 100%; height: 100%; background: var(--dark-bg); z-index: 2000; display: flex; flex-direction: column; justify-content: center; align-items: center; transition: 0.4s; border-left: 2px solid var(--matrix-green); }
.mobile-console.active { right: 0; }
.close-console { position: absolute; top: 20px; right: 20px; background: transparent; border: 1px solid var(--matrix-green); color: var(--matrix-green); padding: 5px 10px; cursor: pointer; font-family: var(--font-mono); }
.mobile-console a { font-family: var(--font-mono); font-size: 1.5rem; margin: 15px 0; color: #fff; }

/* Hero */
.hero-system { height: 90vh; background-size: cover; background-position: center; position: relative; }
.scan-overlay { width: 100%; height: 100%; background: rgba(13, 13, 13, 0.85); background: linear-gradient(0deg, rgba(13,13,13,1) 0%, rgba(13,13,13,0.7) 100%); display: flex; align-items: center; }
.hero-content { margin-left: 10%; max-width: 700px; border-left: 2px solid var(--matrix-green); padding-left: 30px; }
.status-bar { font-family: var(--font-mono); color: var(--matrix-green); font-size: 0.9rem; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.blink { animation: blinker 1s linear infinite; font-size: 1.5rem; line-height: 0; }
@keyframes blinker { 50% { opacity: 0; } }
.hero-content h1 { font-family: var(--font-body); font-size: 4rem; line-height: 1; margin-bottom: 20px; color: #fff; text-transform: uppercase; }
.hero-content p { font-size: 1.2rem; color: #ccc; margin-bottom: 40px; font-family: var(--font-mono); }

.cmd-line { background: #000; padding: 15px; border: 1px solid #333; display: inline-block; font-family: var(--font-mono); border-radius: 4px; }
.prompt { color: var(--matrix-green); margin-right: 10px; }
.cmd-link { color: #fff; text-decoration: none; border-bottom: 1px dashed #fff; }
.cmd-link:hover { color: var(--matrix-green); border-bottom-color: var(--matrix-green); }

/* Modules */
.modules-section { background: var(--panel-grey); border-top: 1px solid #333; border-bottom: 1px solid #333; }
.section-header { margin-bottom: 50px; }
.section-header h2 { font-family: var(--font-mono); font-size: 2rem; color: #fff; margin-bottom: 10px; }
.green-line { width: 50px; height: 3px; background: var(--matrix-green); box-shadow: 0 0 10px var(--matrix-green); }
.green-line.left { margin-top: 20px; }

.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.module-card { background: var(--dark-bg); padding: 30px; border: 1px solid #333; transition: 0.3s; position: relative; overflow: hidden; }
.module-card:hover { border-color: var(--matrix-green); box-shadow: 0 0 20px rgba(0, 255, 65, 0.1); }
.module-card.highlight { border: 1px solid var(--matrix-green); }
.mod-icon { font-size: 3rem; margin-bottom: 20px; }
.module-card h3 { font-family: var(--font-mono); font-size: 1.5rem; color: #fff; margin-bottom: 15px; }
.mod-status { font-family: var(--font-mono); font-size: 0.8rem; color: var(--matrix-green); display: block; margin-top: 20px; border-top: 1px dashed #333; padding-top: 10px; }

/* Pricing */
.pricing-table { max-width: 1000px; margin: 0 auto; }
.table-header { text-align: center; margin-bottom: 50px; }
.table-header .green-line { margin: 20px auto 0; }

.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.pack-card { background: var(--panel-grey); border: 1px solid #444; padding: 40px 20px; text-align: center; position: relative; }
.pack-card.highlight { border: 2px solid var(--matrix-green); transform: scale(1.05); z-index: 1; background: #151515; }
.glitch-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--matrix-green); color: #000; padding: 5px 15px; font-family: var(--font-mono); font-weight: bold; font-size: 0.9rem; }
.pack-head h3 { font-family: var(--font-mono); font-size: 1.5rem; color: #fff; margin-bottom: 10px; }
.price { font-family: var(--font-body); font-size: 2rem; color: var(--matrix-green); font-weight: 700; }
.specs { list-style: none; margin: 30px 0; text-align: left; padding: 0 10px; font-family: var(--font-mono); font-size: 0.9rem; color: #ccc; }
.specs li { margin-bottom: 10px; border-bottom: 1px solid #333; padding-bottom: 5px; }
.btn-select { display: block; border: 1px solid #555; color: #fff; padding: 10px; font-family: var(--font-mono); transition: 0.3s; }
.btn-select:hover { border-color: #fff; }
.btn-select.green { background: var(--matrix-green); color: #000; border: none; font-weight: bold; }
.btn-select.green:hover { box-shadow: 0 0 15px var(--matrix-green); }

/* Logs */
.log-grid { display: flex; flex-direction: column; gap: 20px; }
.log-entry { background: #000; border: 1px solid #333; padding: 20px; font-family: var(--font-mono); border-left: 3px solid #555; }
.log-entry.highlight { border-color: var(--matrix-green); border-left-color: var(--matrix-green); }
.log-meta { display: flex; justify-content: space-between; color: #666; font-size: 0.8rem; margin-bottom: 10px; border-bottom: 1px dashed #333; padding-bottom: 5px; }
.log-body p { color: #ddd; margin: 0; }
.log-rating { color: var(--matrix-green); font-size: 0.8rem; margin-top: 10px; text-align: right; }

/* Contact Terminal */
.terminal-wrapper { background: #000; border: 2px solid #333; border-radius: 5px; max-width: 800px; margin: 0 auto; box-shadow: 0 0 30px rgba(0,0,0,0.5); }
.terminal-header { background: #222; padding: 10px; display: flex; align-items: center; border-bottom: 1px solid #333; }
.dots { display: flex; gap: 5px; margin-right: 15px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #FF5F56; }
.yellow { background: #FFBD2E; }
.green { background: #27C93F; }
.title { font-family: var(--font-mono); color: #888; font-size: 0.9rem; }
.terminal-body { padding: 30px; font-family: var(--font-mono); }
.contact-info { color: #888; margin-bottom: 30px; font-size: 0.9rem; border-bottom: 1px dashed #333; padding-bottom: 20px; }

.input-line { margin-bottom: 15px; display: flex; align-items: center; }
.code-form .prompt { color: var(--matrix-green); white-space: nowrap; margin-right: 10px; font-size: 0.9rem; }
.code-form input, .code-form select { background: transparent; border: none; color: #fff; font-family: var(--font-mono); font-size: 1rem; flex-grow: 1; outline: none; border-bottom: 1px solid transparent; }
.code-form input:focus, .code-form select:focus { border-bottom-color: var(--matrix-green); }
.code-form select { color: #aaa; }
.btn-execute { width: 100%; background: transparent; border: 1px solid var(--matrix-green); color: var(--matrix-green); padding: 15px; font-family: var(--font-mono); font-weight: bold; cursor: pointer; margin-top: 20px; transition: 0.3s; }
.btn-execute:hover { background: var(--matrix-green); color: #000; }

/* Data Stream */
.data-stream { background: #000; padding: 40px 0; border-top: 1px solid var(--matrix-green); border-bottom: 1px solid var(--matrix-green); margin-top: 50px; }
.data-flex { display: flex; justify-content: space-around; text-align: center; }
.data-block strong { display: block; font-family: var(--font-mono); font-size: 2.5rem; color: #fff; text-shadow: 0 0 10px var(--matrix-green); }
.data-block span { font-family: var(--font-mono); color: var(--matrix-green); font-size: 0.9rem; }

/* Legal */
.protocol-box { max-width: 800px; margin: 0 auto; background: var(--panel-grey); padding: 50px; border: 1px solid #333; }
.protocol-box h1 { font-family: var(--font-mono); color: #fff; }
.protocol-box h3 { color: var(--matrix-green); margin-top: 30px; font-family: var(--font-mono); }

/* Footer */
.matrix-footer { background: #050505; padding: 60px 0 20px; margin-top: 80px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #222; padding-bottom: 30px; margin-bottom: 20px; }
.f-left h4 { font-family: var(--font-mono); color: var(--matrix-green); font-size: 1.5rem; margin-bottom: 5px; }
.f-right a { color: #666; margin-left: 20px; font-family: var(--font-mono); }
.f-right a:hover { color: var(--matrix-green); }
.copyright { text-align: center; font-family: var(--font-mono); color: #444; font-size: 0.8rem; }

/* Cookie */
.cookie-terminal { position: fixed; bottom: 20px; left: 20px; background: #000; border: 1px solid var(--matrix-green); padding: 15px; font-family: var(--font-mono); z-index: 9999; display: none; align-items: center; gap: 20px; box-shadow: 0 0 10px rgba(0, 255, 65, 0.2); }
.cookie-terminal.active { display: flex; }
.cookie-terminal p { margin: 0; color: #ccc; font-size: 0.9rem; }
.cookie-terminal button { background: var(--matrix-green); border: none; color: #000; font-weight: bold; padding: 5px 10px; cursor: pointer; font-family: var(--font-mono); }

@media (max-width: 900px) {
    .system-nav { display: none; }
    .mobile-terminal-btn { display: block; }
    .hero-content h1 { font-size: 3rem; }
    .module-grid, .package-grid, .log-grid, .data-flex { grid-template-columns: 1fr; flex-direction: column; }
    .data-flex { gap: 30px; }
    .input-line { flex-direction: column; align-items: flex-start; }
    .input-line input { width: 100%; border-bottom: 1px solid #333; }
    .footer-content { flex-direction: column; text-align: center; gap: 20px; }
}