:root {
    --network-blue: #1E88E5;
    --dark-blue: #1565C0;
    --anthracite: #263238;
    --light-grey: #F5F5F5;
    --border-grey: #CFD8DC;
    --white: #ffffff;
    
    --font-mono: 'Share Tech Mono', monospace;
    --font-sans: 'Roboto', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--light-grey);
    color: var(--anthracite);
    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; }

/* Status Bar */
.status-bar { background: var(--anthracite); color: var(--network-blue); font-family: var(--font-mono); font-size: 0.8rem; padding: 5px 0; }
.status-flex { display: flex; justify-content: flex-end; gap: 20px; }

/* Header */
.net-header { background: var(--white); padding: 15px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; border-bottom: 2px solid var(--network-blue); }
.header-flex { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--font-sans); font-size: 1.8rem; font-weight: 700; color: var(--anthracite); letter-spacing: 1px; display: flex; align-items: center; gap: 5px; }
.blue { color: var(--network-blue); }
.node-icon { font-size: 2rem; color: var(--network-blue); }

.hub-nav a { margin-left: 20px; font-family: var(--font-mono); font-weight: bold; font-size: 1rem; color: #555; }
.hub-nav a:hover, .hub-nav a.active { color: var(--network-blue); }

.btn-login { background: var(--anthracite); color: var(--white) !important; padding: 8px 25px; border-radius: 4px; font-family: var(--font-sans); font-weight: bold; }
.btn-login:hover { background: var(--network-blue); }

/* Mobile Menu */
.mobile-toggle { display: none; font-size: 2rem; cursor: pointer; color: var(--network-blue); }
.mobile-menu { position: fixed; top: 0; right: -100%; width: 100%; height: 100%; background: var(--anthracite); z-index: 2000; display: flex; flex-direction: column; justify-content: center; align-items: center; transition: 0.4s; }
.mobile-menu.open { right: 0; }
.close-menu { position: absolute; top: 20px; right: 20px; background: none; border: none; font-size: 2rem; color: var(--white); cursor: pointer; }
.mobile-menu a { font-family: var(--font-mono); font-size: 2rem; color: var(--white); margin: 15px 0; }

/* Hero */
.hero-network { height: 80vh; background-size: cover; background-position: center; position: relative; }
.network-overlay { width: 100%; height: 100%; background: linear-gradient(135deg, rgba(38, 50, 56, 0.95) 0%, rgba(30, 136, 229, 0.8) 100%); display: flex; align-items: center; background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px); background-size: 30px 30px; }
.hero-content { margin-left: 10%; width: 100%; max-width: 800px; color: var(--white); }
.code-tag { font-family: var(--font-mono); color: var(--network-blue); background: rgba(0,0,0,0.3); padding: 5px 10px; border-radius: 4px; font-size: 0.9rem; }
.hero-content h1 { font-size: 4rem; line-height: 1.1; margin: 20px 0; font-weight: 700; text-transform: uppercase; }
.hero-content p { font-size: 1.2rem; margin-bottom: 40px; color: #ddd; }

.search-hub { background: var(--white); padding: 20px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
#networkSearch { display: flex; gap: 10px; flex-wrap: wrap; }
#networkSearch select, #networkSearch input { padding: 15px; border: 1px solid #ccc; border-radius: 4px; font-family: var(--font-sans); font-size: 1rem; flex: 1; }
.btn-connect { background: var(--network-blue); color: var(--white); border: none; padding: 15px 30px; font-weight: bold; border-radius: 4px; cursor: pointer; transition: 0.3s; }
.btn-connect:hover { background: var(--dark-blue); }

/* Categories */
.section-head { margin-bottom: 50px; }
.section-head h2 { font-size: 2.5rem; color: var(--anthracite); margin-bottom: 10px; }
.tech-line { width: 60px; height: 5px; background: var(--network-blue); }
.tech-line.left { margin: 20px 0; }

.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.cat-card { background: var(--white); padding: 30px; border: 1px solid var(--border-grey); border-radius: 8px; transition: 0.3s; }
.cat-card:hover { transform: translateY(-5px); border-color: var(--network-blue); box-shadow: 0 5px 20px rgba(30, 136, 229, 0.15); }
.cat-card.highlight { background: var(--network-blue); color: var(--white); border: none; }
.cat-card.highlight .link-arrow { color: var(--white); }
.cat-card.highlight p { color: #eee; }
.icon { font-size: 3rem; margin-bottom: 20px; }
.cat-card h3 { margin-bottom: 15px; font-size: 1.3rem; }
.cat-card p { color: #666; margin-bottom: 20px; font-size: 0.95rem; }
.link-arrow { font-weight: bold; color: var(--network-blue); font-family: var(--font-mono); font-size: 0.9rem; }

/* Data Stream */
.data-stream { background: var(--anthracite); padding: 40px 0; margin-top: 50px; color: var(--white); }
.data-flex { display: flex; justify-content: space-around; text-align: center; }
.data-box .num { display: block; font-family: var(--font-mono); font-size: 3rem; color: var(--network-blue); margin-bottom: 5px; }
.data-box .lbl { font-size: 0.9rem; opacity: 0.7; letter-spacing: 2px; }

/* About & Contact */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.text-side h1 { font-size: 3rem; color: var(--anthracite); line-height: 1.1; }
.steps-list { list-style: none; margin-top: 30px; font-family: var(--font-mono); color: var(--dark-blue); font-size: 1.1rem; }
.steps-list li { margin-bottom: 10px; padding: 10px; background: #e3f2fd; border-radius: 4px; }
.img-side { position: relative; }
.img-side img { width: 100%; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.tech-overlay { position: absolute; bottom: 20px; left: 20px; background: var(--network-blue); color: var(--white); padding: 5px 15px; font-family: var(--font-mono); font-weight: bold; border-radius: 4px; }

.contact-dashboard { display: grid; grid-template-columns: 1fr 1.5fr; gap: 30px; background: var(--white); padding: 40px; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.panel-left { padding-right: 30px; border-right: 1px solid #eee; }
.contact-details { margin-top: 30px; }
.detail-row { display: flex; items-center; gap: 15px; margin-bottom: 15px; font-weight: 500; }
.detail-row .icon { font-size: 1.2rem; margin-bottom: 0; color: var(--network-blue); }

.tech-form .form-header { background: var(--anthracite); color: var(--white); padding: 15px; font-family: var(--font-mono); text-align: center; border-radius: 4px 4px 0 0; }
.form-body { padding: 20px; border: 1px solid var(--border-grey); border-top: none; border-radius: 0 0 4px 4px; display: flex; flex-direction: column; gap: 15px; }
.tech-form input, .tech-form select, .tech-form textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 4px; background: #fafafa; font-family: var(--font-sans); }
.btn-submit { background: var(--network-blue); color: var(--white); border: none; padding: 12px; font-weight: bold; border-radius: 4px; cursor: pointer; }
.btn-submit:hover { background: var(--dark-blue); }

/* Stories & Privacy */
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.story-card { background: var(--white); border: 1px solid var(--border-grey); border-radius: 8px; padding: 25px; }
.story-card.highlight { border-top: 4px solid var(--network-blue); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.card-header { display: flex; justify-content: space-between; margin-bottom: 15px; font-size: 0.8rem; font-weight: bold; color: #888; }
.sector { color: var(--network-blue); }
.user-info { margin-top: 20px; padding-top: 15px; border-top: 1px dashed #eee; font-size: 0.9rem; }
.user-info strong { display: block; color: var(--anthracite); }

.legal-term { max-width: 800px; margin: 0 auto; background: var(--white); padding: 50px; border-radius: 8px; }
.legal-term h1 { color: var(--anthracite); font-size: 2.5rem; }
.legal-term h3 { color: var(--network-blue); margin-top: 30px; }

/* Footer */
.net-footer { background: var(--anthracite); color: #90a4ae; padding: 50px 0 20px; margin-top: 80px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #37474f; padding-bottom: 30px; margin-bottom: 20px; }
.f-brand h4 { font-family: var(--font-mono); color: var(--white); font-size: 1.5rem; margin-bottom: 5px; }
.f-links a { margin-left: 20px; color: #b0bec5; font-size: 0.9rem; }
.f-links a:hover { color: var(--network-blue); }
.copyright { text-align: center; font-family: var(--font-mono); font-size: 0.8rem; }

/* Cookie */
.cookie-tech { position: fixed; bottom: 20px; left: 20px; background: var(--white); border: 2px solid var(--network-blue); padding: 15px 25px; border-radius: 4px; display: none; align-items: center; gap: 20px; z-index: 9999; box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.cookie-tech.visible { display: flex; }
.cookie-tech span { font-family: var(--font-mono); font-size: 0.85rem; color: var(--anthracite); }
.cookie-tech button { background: var(--anthracite); color: var(--white); border: none; padding: 5px 15px; font-family: var(--font-mono); cursor: pointer; }

@media (max-width: 900px) {
    .hub-nav { display: none; }
    .mobile-toggle { display: block; }
    .hero-content h1 { font-size: 2.5rem; }
    #networkSearch { flex-direction: column; }
    .category-grid, .about-grid, .contact-dashboard, .story-grid, .data-flex { grid-template-columns: 1fr; }
    .panel-left { border-right: none; border-bottom: 1px solid #eee; padding-bottom: 30px; padding-right: 0; }
    .data-flex { gap: 30px; }
    .footer-content { flex-direction: column; text-align: center; gap: 20px; }
}