/* Palette: Dark Graphite, Neon Orange, White, Dim Grey */
:root {
    --bg: #1E1E1E;
    --card-bg: #252526;
    --orange: #FF4500;
    --orange-dim: rgba(255, 69, 0, 0.2);
    --white: #F0F0F0;
    --grey: #858585;
    --line: #3E3E42;
    
    --font-mono: 'JetBrains Mono', monospace;
    --font-sans: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg);
    color: var(--white);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Grid Overlay */
.grid-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    opacity: 0.15;
    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; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.header { padding: 20px 0; background: rgba(30, 30, 30, 0.95); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 1000; backdrop-filter: blur(5px); }
.header-wrap { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--font-mono); font-weight: 700; font-size: 1.5rem; color: var(--white); letter-spacing: -1px; }
.bracket { color: var(--orange); }

.status-bar { font-family: var(--font-mono); font-size: 0.75rem; color: var(--grey); display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); padding: 5px 10px; border-radius: 4px; }
.status-dot { width: 8px; height: 8px; background: #00FF00; border-radius: 50%; box-shadow: 0 0 5px #00FF00; }

.nav a { margin-left: 30px; font-family: var(--font-mono); font-size: 0.9rem; color: var(--grey); }
.nav a:hover, .nav a.active { color: var(--orange); }

.menu-btn { display: none; background: transparent; border: 1px solid var(--white); color: var(--white); font-family: var(--font-mono); padding: 5px 10px; cursor: pointer; }

/* Mobile Menu */
.mobile-menu { position: fixed; top: 0; right: -100%; width: 100%; height: 100%; background: var(--bg); z-index: 2000; padding: 50px; transition: 0.3s; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.mobile-menu.active { right: 0; }
.close-btn { position: absolute; top: 20px; right: 20px; background: none; border: none; font-family: var(--font-mono); font-size: 1.5rem; color: var(--white); cursor: pointer; }
.mobile-menu a { display: block; font-family: var(--font-mono); font-size: 1.5rem; margin-bottom: 20px; color: var(--white); }
.mobile-menu a:hover { color: var(--orange); }

@media (max-width: 900px) {
    .nav, .status-bar { display: none; }
    .menu-btn { display: block; }
}

/* Hero */
.hero { padding: 100px 0; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }

.version-tag { font-family: var(--font-mono); font-size: 0.8rem; color: var(--orange); margin-bottom: 20px; display: inline-block; border: 1px solid var(--orange); padding: 2px 8px; }
.hero h1 { font-family: var(--font-sans); font-size: 4rem; font-weight: 800; line-height: 1.1; margin-bottom: 25px; letter-spacing: -2px; }
.highlight { color: transparent; -webkit-text-stroke: 1px var(--orange); text-shadow: 2px 2px 0 var(--orange-dim); }
.hero p { font-family: var(--font-mono); color: var(--grey); margin-bottom: 40px; font-size: 1rem; max-width: 500px; }

.cta-group { display: flex; gap: 20px; }
.btn-primary { background: var(--orange); color: var(--bg); font-family: var(--font-mono); padding: 15px 30px; font-weight: 700; border: none; cursor: pointer; transition: 0.3s; }
.btn-primary:hover { background: var(--white); }
.btn-outline { background: transparent; border: 1px solid var(--white); color: var(--white); font-family: var(--font-mono); padding: 13px 30px; font-weight: 700; transition: 0.3s; }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }

.wireframe-box { border: 1px solid var(--line); height: 300px; position: relative; background: rgba(255,255,255,0.02); }
.line { position: absolute; background: var(--orange); opacity: 0.5; }
.x-axis { width: 100%; height: 1px; top: 50%; }
.y-axis { height: 100%; width: 1px; left: 50%; }
.data-point { width: 10px; height: 10px; background: var(--white); position: absolute; border-radius: 50%; }
.p1 { top: 30%; left: 70%; } .p2 { top: 60%; left: 20%; }
.code-snippet { position: absolute; bottom: 10px; left: 10px; font-family: var(--font-mono); font-size: 0.7rem; color: var(--grey); line-height: 1.4; }

/* Modules */
.section-header h2 { font-family: var(--font-mono); font-size: 2rem; color: var(--white); margin-bottom: 10px; }
.dashed-line { width: 100%; height: 1px; background: repeating-linear-gradient(90deg, var(--line) 0, var(--line) 5px, transparent 5px, transparent 10px); margin-bottom: 40px; }
.dashed-line.left { width: 100px; margin-top: 20px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.module-card { background: var(--card-bg); border: 1px solid var(--line); padding: 30px; transition: 0.3s; position: relative; overflow: hidden; }
.module-card:hover { border-color: var(--orange); transform: translateY(-5px); }
.mod-id { font-family: var(--font-mono); font-size: 0.8rem; color: var(--orange); display: block; margin-bottom: 15px; }
.module-card h3 { font-size: 1.5rem; margin-bottom: 10px; font-weight: 700; }
.module-card p { color: var(--grey); font-size: 0.9rem; }

/* Partners */
.partners { padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mono-text { font-family: var(--font-mono); color: var(--grey); font-size: 0.8rem; margin-bottom: 20px; }
.logo-row { display: flex; gap: 40px; overflow-x: auto; font-family: var(--font-sans); font-weight: 800; color: var(--line); font-size: 1.5rem; text-transform: uppercase; }

/* About Page */
.about-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.about-content h1 { font-family: var(--font-sans); font-size: 3rem; margin-bottom: 20px; line-height: 1.1; }
.orange-bar { width: 60px; height: 6px; background: var(--orange); margin-bottom: 30px; }
.tech-list { margin-top: 30px; list-style: none; font-family: var(--font-mono); font-size: 0.9rem; }
.tech-list li { margin-bottom: 10px; color: var(--white); }
.schematic { width: 100%; height: 300px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 20px; border: 1px dashed var(--line); }
.layer { width: 60%; padding: 15px; border: 1px solid var(--orange); text-align: center; font-family: var(--font-mono); color: var(--orange); font-weight: 700; }
.l2 { width: 70%; opacity: 0.7; } .l3 { width: 80%; opacity: 0.4; }

/* Reviews (Terminal Style) */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.review-terminal { background: #000; border: 1px solid var(--line); box-shadow: 5px 5px 0 var(--line); }
.term-header { background: #333; padding: 5px 10px; display: flex; gap: 5px; align-items: center; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #FF5F56; } .yellow { background: #FFBD2E; } .green { background: #27C93F; }
.user { font-family: var(--font-mono); font-size: 0.7rem; color: #ccc; margin-left: 10px; }
.term-body { padding: 20px; font-family: var(--font-mono); font-size: 0.85rem; color: #ddd; }
.signature { display: block; margin-top: 15px; color: var(--orange); }

/* Form */
.form-wrapper { max-width: 600px; margin: 0 auto; background: var(--card-bg); padding: 40px; border: 1px solid var(--line); }
.form-header h2 { font-family: var(--font-mono); color: var(--orange); margin-bottom: 10px; }
.form-header p { font-family: var(--font-mono); font-size: 0.8rem; color: var(--grey); margin-bottom: 30px; }

.tech-form .input-group { margin-bottom: 20px; }
.tech-form label { display: block; font-family: var(--font-mono); font-size: 0.8rem; color: var(--grey); margin-bottom: 5px; }
.tech-form input, .tech-form select, .tech-form textarea { width: 100%; background: var(--bg); border: 1px solid var(--line); padding: 12px; color: var(--white); font-family: var(--font-mono); font-size: 0.9rem; }
.tech-form input:focus, .tech-form select:focus, .tech-form textarea:focus { border-color: var(--orange); outline: none; }
.full { width: 100%; margin-top: 10px; }

/* Legal */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h1 { font-family: var(--font-mono); color: var(--white); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 60px 0 20px; margin-top: 80px; }
.footer-content { display: flex; justify-content: space-between; margin-bottom: 30px; }
.f-left p:first-child { font-weight: 800; letter-spacing: 1px; margin-bottom: 5px; }
.mono-dim { font-family: var(--font-mono); color: var(--grey); font-size: 0.8rem; }
.f-right a { margin-left: 20px; font-family: var(--font-mono); font-size: 0.8rem; color: var(--grey); }
.f-right a:hover { color: var(--orange); }
.copyright { text-align: center; font-family: var(--font-mono); font-size: 0.7rem; color: var(--grey); padding-top: 20px; border-top: 1px solid var(--line); }

@media (max-width: 900px) {
    .hero-grid, .grid-3, .about-layout, .review-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.5rem; }
    .nav, .status-bar { display: none; }
    .menu-btn { display: block; }
    .cta-group { flex-direction: column; }
}