/* Palette: Cyber Black, Neon Green, Dark Grey */
:root {
    --black: #0D0D0D;
    --dark: #1A1A1A;
    --neon: #00E676;
    --text: #E0E0E0;
    --code: #B0BEC5;
    
    --font-mono: 'JetBrains Mono', monospace;
    --font-sans: 'Roboto', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--black);
    color: var(--text);
    font-family: var(--font-sans);
    line-height: 1.6;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 80px 0; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; }

/* Header */
.cyber-header { background: rgba(13, 13, 13, 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.5rem; font-weight: 700; color: #fff; letter-spacing: 1px; }
.neon { color: var(--neon); text-shadow: 0 0 10px rgba(0, 230, 118, 0.5); }
.cursor { animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0; } }

.tech-nav a { margin-left: 20px; font-family: var(--font-mono); font-size: 0.85rem; color: #888; }
.tech-nav a:hover, .tech-nav a.active { color: var(--neon); }

.btn-neon { border: 1px solid var(--neon); color: var(--neon) !important; padding: 8px 20px; font-family: var(--font-mono); font-weight: 700; }
.btn-neon:hover { background: var(--neon); color: var(--black) !important; box-shadow: 0 0 20px rgba(0, 230, 118, 0.4); }

/* Mobile Menu */
.mobile-toggle { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; }
.mobile-toggle span { width: 25px; height: 2px; background: var(--neon); }

.mobile-menu { position: fixed; top: 0; right: -100%; width: 100%; height: 100%; background: var(--black); z-index: 2000; display: flex; flex-direction: column; justify-content: center; align-items: center; transition: 0.4s; border-left: 1px solid var(--neon); }
.mobile-menu.active { right: 0; }
.close-menu { position: absolute; top: 20px; right: 20px; background: none; border: 1px solid var(--neon); color: var(--neon); padding: 5px 10px; font-family: var(--font-mono); cursor: pointer; }
.mobile-menu a { font-family: var(--font-mono); font-size: 1.5rem; margin: 20px 0; color: #fff; }

@media (max-width: 900px) {
    .tech-nav { display: none; }
    .mobile-toggle { display: flex; }
}

/* Hero */
.hero-tech { height: 85vh; background-size: cover; background-position: center; position: relative; }
.matrix-overlay { width: 100%; height: 100%; background: rgba(13, 13, 13, 0.85); background-image: linear-gradient(0deg, transparent 24%, rgba(0, 230, 118, .05) 25%, rgba(0, 230, 118, .05) 26%, transparent 27%, transparent 74%, rgba(0, 230, 118, .05) 75%, rgba(0, 230, 118, .05) 76%, transparent 77%, transparent), linear-gradient(90deg, transparent 24%, rgba(0, 230, 118, .05) 25%, rgba(0, 230, 118, .05) 26%, transparent 27%, transparent 74%, rgba(0, 230, 118, .05) 75%, rgba(0, 230, 118, .05) 76%, transparent 77%, transparent); background-size: 50px 50px; display: flex; align-items: center; }
.hero-content { max-width: 800px; padding-left: 10%; }
.code-badge { font-family: var(--font-mono); color: var(--neon); background: rgba(0, 230, 118, 0.1); padding: 5px 10px; display: inline-block; margin-bottom: 20px; border: 1px solid var(--neon); font-size: 0.8rem; }
.hero-content h1 { font-family: var(--font-mono); font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; color: #fff; }
.hero-content p { font-size: 1.2rem; color: #ccc; margin-bottom: 40px; }

.cta-row { display: flex; gap: 20px; }
.btn-primary { background: var(--neon); color: var(--black); padding: 15px 30px; font-weight: 700; border-radius: 0; font-family: var(--font-mono); }
.btn-secondary { border: 1px solid #fff; color: #fff; padding: 14px 30px; font-weight: 700; font-family: var(--font-mono); }

/* Services Grid */
.section-head h2 { font-family: var(--font-mono); font-size: 2rem; color: #fff; margin-bottom: 10px; }
.neon-line { width: 100px; height: 2px; background: var(--neon); margin-bottom: 40px; }
.neon-line.left { width: 60px; margin-bottom: 30px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.tech-card { background: var(--dark); border: 1px solid #333; padding: 30px; transition: 0.3s; }
.tech-card:hover { border-color: var(--neon); box-shadow: 0 0 15px rgba(0, 230, 118, 0.2); }
.icon { font-size: 2.5rem; margin-bottom: 20px; }
.tech-card h3 { color: var(--neon); font-family: var(--font-mono); margin-bottom: 10px; }
.tech-card p { color: #aaa; font-size: 0.9rem; }

/* Stats Stream */
.data-stream { background: var(--dark); border-top: 1px solid var(--neon); border-bottom: 1px solid var(--neon); padding: 40px 0; margin-top: 50px; }
.stream-flex { display: flex; justify-content: space-around; text-align: center; }
.data-point strong { display: block; font-family: var(--font-mono); font-size: 2.5rem; color: #fff; }
.data-point span { color: var(--neon); font-size: 0.8rem; letter-spacing: 1px; }

/* Services Layout */
.services-layout { display: grid; grid-template-columns: 1fr 2.5fr; gap: 50px; }
.sidebar h3 { font-family: var(--font-mono); color: var(--neon); margin-bottom: 20px; }
.sidebar ul { list-style: none; }
.sidebar li { padding: 10px 0; border-bottom: 1px solid #333; color: #888; cursor: pointer; font-family: var(--font-mono); font-size: 0.9rem; }
.sidebar li.active, .sidebar li:hover { color: #fff; padding-left: 10px; transition: 0.3s; }
.content-area h1 { font-family: var(--font-mono); color: #fff; }
.service-item { margin-bottom: 30px; border-left: 2px solid var(--neon); padding-left: 20px; }
.service-item h3 { color: #fff; font-family: var(--font-mono); margin-bottom: 5px; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.member-card { background: var(--dark); padding: 30px; border: 1px solid #333; text-align: center; }
.member-card.highlight { border-color: var(--neon); }
.avatar { width: 100px; height: 100px; background: #333; margin: 0 auto 20px; border-radius: 50%; border: 2px solid var(--neon); }
.member-card h3 { color: #fff; font-family: var(--font-mono); font-size: 1.1rem; }
.role { color: var(--neon); font-size: 0.8rem; display: block; margin-bottom: 10px; font-family: var(--font-mono); }

/* Contact Terminal */
.contact-terminal { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; background: var(--dark); padding: 50px; border: 1px solid #333; }
.info-block h2 { font-family: var(--font-mono); color: var(--neon); }
.contact-list p { margin-bottom: 10px; font-family: var(--font-mono); color: #ccc; }

.code-form .input-line { margin-bottom: 20px; display: flex; align-items: center; border-bottom: 1px solid #333; }
.prompt { color: var(--neon); font-family: var(--font-mono); margin-right: 10px; font-size: 0.9rem; }
.code-form input, .code-form select, .code-form textarea { width: 100%; background: transparent; border: none; color: #fff; font-family: var(--font-mono); padding: 10px 0; outline: none; }
.btn-execute { width: 100%; background: var(--neon); color: var(--black); border: none; padding: 15px; font-family: var(--font-mono); font-weight: 700; cursor: pointer; transition: 0.3s; }
.btn-execute:hover { background: #fff; }

/* Legal Doc */
.legal-doc { max-width: 800px; margin: 0 auto; background: var(--dark); padding: 50px; border: 1px solid #333; }
.legal-doc h1 { font-family: var(--font-mono); color: #fff; }
.legal-doc h3 { color: var(--neon); margin-top: 30px; font-family: var(--font-mono); }

/* Footer */
.cyber-footer { background: #050505; padding: 60px 0 20px; margin-top: 80px; border-top: 1px solid #333; }
.footer-content { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #333; padding-bottom: 30px; margin-bottom: 20px; }
.f-info h4 { color: #fff; font-family: var(--font-mono); }
.f-nav a { margin-left: 20px; color: #888; font-family: var(--font-mono); font-size: 0.8rem; }
.f-nav a:hover { color: var(--neon); }
.copyright { text-align: center; font-family: var(--font-mono); font-size: 0.8rem; color: #555; }

/* Cookie */
.cookie-tech { position: fixed; bottom: 20px; right: 20px; background: var(--dark); border: 1px solid var(--neon); padding: 15px 25px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; z-index: 9999; display: none; }
.cookie-tech.active { display: flex; }
.cookie-tech p { font-family: var(--font-mono); font-size: 0.8rem; color: var(--neon); margin: 0; }
.cookie-tech button { background: var(--neon); color: var(--black); border: none; padding: 5px 15px; font-family: var(--font-mono); font-weight: 700; cursor: pointer; }

@media (max-width: 900px) {
    .grid-3, .services-layout, .contact-terminal, .team-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.5rem; }
    .cta-row { flex-direction: column; }
    .footer-content { flex-direction: column; text-align: center; gap: 20px; }
    .stream-flex { flex-direction: column; gap: 20px; }
}