/* Tactical Radar HUD Theme */
:root {
    --bg-dark: #0c0e14;
    --hud-green: #00ff88;
    --hud-cyan: #00e5ff;
    --hud-red: #ff3366;
    --text-main: #e2e8f0;
    --text-dim: #94a3b8;
    --border-dim: rgba(0, 229, 255, 0.2);
    --border-bright: rgba(0, 229, 255, 0.6);
    --font-mono: 'Courier New', Courier, SFMono-Regular, Consolas, monospace;
    --font-sans: system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    scroll-behavior: smooth;
    background-image: 
        linear-gradient(var(--border-dim) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-dim) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center center;
}

.container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Typography */
h1, h2, h3, h4, .logo, .hud-btn, .nav-item, .tier-price, .tier-name, .node-box { 
    font-family: var(--font-mono); 
    font-weight: normal; 
}
.highlight-cyan { color: var(--hud-cyan); text-shadow: 0 0 8px var(--hud-cyan); }
.highlight-green { color: var(--hud-green); text-shadow: 0 0 8px var(--hud-green); }
.highlight { color: var(--text-main); }
.blink-text { animation: blink 2s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* Top Bar */
.top-bar {
    background: rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid var(--hud-green);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    padding: 0.3rem 0;
    color: var(--text-dim);
}
.topbar-inner { display: flex; align-items: center; justify-content: center; gap: 15px; flex-wrap: wrap;}
.status-indicator { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.status-indicator.online { background-color: var(--hud-green); box-shadow: 0 0 5px var(--hud-green); animation: pulse 2s infinite; }
.divider { color: var(--hud-cyan); opacity: 0.5; }
@keyframes pulse { 0% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.5); } 100% { opacity: 1; transform: scale(1); } }

/* Header & Nav */
header {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-dim);
    background: linear-gradient(180deg, rgba(12,14,20,0.9) 0%, rgba(12,14,20,0) 100%);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(5px);
}
header .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;}
.logo { font-size: 1.5rem; color: var(--hud-cyan); letter-spacing: 2px; text-shadow: 0 0 10px rgba(0,229,255,0.5); display: flex; align-items: center; gap: 10px;}
.logo svg { color: var(--hud-green); }
.logo-sub { font-size: 0.8rem; color: var(--hud-green); vertical-align: top; margin-left: 5px; }

.main-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.nav-item {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.2rem 0;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
    text-transform: uppercase;
}
.nav-item:hover { color: var(--hud-cyan); border-bottom: 1px solid var(--hud-cyan); text-shadow: 0 0 5px var(--hud-cyan); }
.news-link { color: var(--hud-green); }
.news-link::after { display: none; }

/* Remove theme toggle visually since tactical is dark only */
.header-actions { display: none; }

/* Buttons */
.btn {
    display: inline-block;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    text-align: center;
}
.btn-primary {
    background: rgba(0, 229, 255, 0.1);
    color: var(--hud-cyan);
    border: 1px solid var(--hud-cyan);
    box-shadow: 0 0 10px rgba(0,229,255,0.2) inset;
}
.btn-primary:hover {
    background: var(--hud-cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--hud-cyan);
}
.btn-secondary {
    color: var(--text-dim);
    border: 1px solid var(--border-dim);
    background: transparent;
}
.btn-secondary:hover { color: var(--hud-green); border-color: var(--hud-green); background: rgba(0,255,136,0.1); }
.btn-outline {
    border: 1px dashed var(--hud-cyan);
    color: var(--hud-cyan);
    background: transparent;
}
.btn-outline:hover { background: rgba(0,229,255,0.1); }
.block { display: block; width: 100%; }

/* Sections Common */
.section { padding: 5rem 0; position: relative; }
.alt-bg { background: rgba(0, 229, 255, 0.02); border-top: 1px dashed var(--border-dim); border-bottom: 1px dashed var(--border-dim); }
.section-header { margin-bottom: 3rem; text-align: left; }
.section-header h2 { color: var(--hud-cyan); font-size: 1.8rem; letter-spacing: 2px; }
.section-header p { font-family: var(--font-mono); color: var(--text-dim); margin-top: 0.5rem; margin-left: 0; max-width: 100%; }
.scanline-bar { height: 2px; background: linear-gradient(90deg, var(--hud-cyan), transparent); margin-top: 0.5rem; width: 100%; max-width: 300px; display: block; }

/* Grid */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 2rem; }

/* HUD Cards */
.feature-card, .price-card, .feedback-card, .faq-item {
    background: rgba(12, 14, 20, 0.8);
    border: 1px solid var(--border-dim);
    padding: 2rem;
    position: relative;
    backdrop-filter: blur(4px);
    transition: all 0.3s;
    border-radius: 0;
    box-shadow: none;
}
.feature-card::before, .price-card::before { /* Corner accents */
    content: ''; position: absolute; top: 0; left: 0; width: 10px; height: 10px;
    border-top: 2px solid var(--hud-cyan); border-left: 2px solid var(--hud-cyan);
}
.feature-card::after, .price-card::after {
    content: ''; position: absolute; bottom: 0; right: 0; width: 10px; height: 10px;
    border-bottom: 2px solid var(--hud-cyan); border-right: 2px solid var(--hud-cyan);
}
.feature-card:hover, .price-card:hover { border-color: var(--border-bright); box-shadow: 0 0 15px rgba(0,229,255,0.1) inset; transform: translateY(-3px); }
.feature-card h3 { color: var(--hud-green); margin-bottom: 1rem; font-size: 1.2rem; font-family: var(--font-mono); }
.card-icon { font-size: 2rem; margin-bottom: 1rem; opacity: 0.8; background: transparent; color: var(--hud-cyan); border-radius: 0; justify-content: flex-start; }
.feature-card p { color: var(--text-dim); font-size: 0.95rem; }

/* Hero Split */
.hero-section { padding: 4rem 0; overflow: hidden; background: none; }
.hero-section::before, .hero-section::after { display: none; }
.hero-container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; text-align: left; }
.hero-content { flex: 1; min-width: 300px; }
.hero-content h1 { font-size: 2.5rem; line-height: 1.3; margin-bottom: 1.5rem; font-family: var(--font-mono); font-weight: bold; letter-spacing: 0;}
.gradient-text { background: none; -webkit-text-fill-color: var(--hud-cyan); color: var(--hud-cyan); text-shadow: 0 0 10px var(--hud-cyan); }
.hero-content .subtitle { color: var(--text-dim); font-size: 1.1rem; margin-bottom: 2.5rem; font-family: var(--font-mono); border-left: 2px solid var(--hud-cyan); padding-left: 1rem; margin-left: 0; max-width: 100%;}
.hero-actions { justify-content: flex-start; }

.hero-visual { flex: 1; display: flex; justify-content: center; position: relative; min-width: 300px;}
.network-globe-container {
    position: relative;
    width: 500px; height: 500px;
    max-width: 100%;
    background: radial-gradient(circle at center, rgba(0,229,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
    box-shadow: 0 0 50px rgba(0,229,255,0.1) inset;
}
#networkCanvas { width: 100%; height: 100%; cursor: crosshair; }

/* Custom Tooltip for Canvas */
.globe-tooltip {
    position: fixed; opacity: 0;
    background: rgba(12, 14, 20, 0.95);
    border: 1px solid var(--hud-cyan);
    padding: 10px; font-family: var(--font-mono); font-size: 0.8rem;
    color: var(--hud-green); pointer-events: none; z-index: 1000;
    box-shadow: 0 0 10px rgba(0,229,255,0.3);
    border-radius: 0; backdrop-filter: none;
}
.tooltip-title { color: var(--text-main); border-bottom: 1px solid var(--border-dim); margin-bottom: 5px; padding-bottom: 5px; }

/* Special Support */
.special-card .card-header { margin-bottom: 1rem; border-bottom: 1px dashed var(--border-dim); padding-bottom: 1rem; }
.badge { font-family: var(--font-mono); border-radius: 0; font-size: 0.75rem; letter-spacing: 1px; }
.badge.green { background: var(--hud-green); color: var(--bg-dark); border: none; }
.badge.blue { background: var(--hud-cyan); color: var(--bg-dark); border: none; }

/* Routing Panel */
.routing-visualizer {
    background: rgba(0,0,0,0.3); border: 1px dashed var(--border-dim); border-radius: 4px;
    padding: 3rem 0; flex-wrap: wrap; box-shadow: none; gap: 1rem; display: flex; align-items: center; justify-content: center;
}
.node-box {
    padding: 1rem 2rem; border: 1px solid var(--hud-cyan); background: rgba(0,229,255,0.05);
    text-align: center; min-width: 150px; color: var(--text-main); border-radius: 0;
}
.tunnel-line {
    background: repeating-linear-gradient(90deg, var(--border-dim) 0, var(--border-dim) 10px, transparent 10px, transparent 20px);
}
.tunnel-label {
    top: -25px; font-family: var(--font-mono); font-size: 0.85rem; color: var(--hud-green);
    background: transparent; border: none; padding: 0;
}
.data-packet {
    width: 15px; height: 4px; background: var(--hud-cyan); box-shadow: 0 0 10px var(--hud-cyan);
    border-radius: 0; animation: dataTravel 2s infinite linear;
}
@keyframes dataTravel { 0% { left: 0; opacity: 0; transform: scale(1); } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: calc(100% - 15px); opacity: 0; transform: scale(1); } }

/* Pricing Matrix */
.price-card.popular {
    border-color: var(--hud-green); box-shadow: 0 0 20px rgba(0,255,136,0.1) inset;
    transform: none;
}
.price-card.popular::before, .price-card.popular::after { border-color: var(--hud-green); }
.tier-badge {
    top: -10px; background: var(--hud-green); color: var(--bg-dark);
    font-family: var(--font-mono); font-size: 0.75rem; padding: 2px 10px;
    font-weight: bold; letter-spacing: 1px; border-radius: 0; box-shadow: none;
}
.tier-name { color: var(--hud-cyan); }
.tier-price { color: var(--text-main); }
.tier-specs li { color: var(--text-dim); }
.tier-specs li svg { display: none; }
.tier-specs li::before { content: '>'; color: var(--hud-green); margin-right: 8px; font-family: var(--font-mono); }

/* Testimonials (Feedback) */
.feedback-card { font-family: var(--font-mono); }
.quote-icon { display: none; }
.review-text { font-style: italic; font-size: 0.95rem; margin-bottom: 1rem; }
.user-info { border-top: 1px solid var(--border-dim); padding-top: 0.5rem; }
.avatar { display: none; }
.user-name { color: var(--hud-cyan); font-size: 0.85rem; }

/* FAQ */
.faq-list { display: grid; gap: 1.5rem; max-width: 800px; margin: 0; }
.faq-item { border: none; border-left: 2px solid var(--hud-cyan); padding: 0; padding-left: 1.5rem; border-radius: 0; background: transparent; }
.q-title { color: var(--hud-green); margin-bottom: 0.5rem; font-size: 1.1rem; }
.a-text { color: var(--text-dim); }

/* Footer */
footer { border-top: 1px solid var(--hud-cyan); background: rgba(0,0,0,0.5); padding: 3rem 0; font-family: var(--font-mono); }
.footer-links a:hover { color: var(--hud-cyan); text-shadow: 0 0 5px var(--hud-cyan); }

@media (max-width: 768px) {
    .tunnel-container { height: 40px; }
    .tunnel-line { transform: rotate(90deg); width: 60px; }
    .data-packet { width: 4px; height: 15px; left: calc(50% - 2px); animation-name: dataTravelVertical; }
    @keyframes dataTravelVertical { 0% { top: -10px; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
}
