:root {
    /* Base Colors */
    --bg-primary: #030305;
    --bg-secondary: #0a0a0f;
    --grid-overlay: rgba(255, 255, 255, 0.03);
    
    /* Accents */
    --accent-purple-1: #7c3aed;
    --accent-purple-2: #a855f7;
    --accent-blue-1: #06b6d4;
    --accent-blue-2: #3b82f6;
    --accent-green-1: #22c55e;
    --accent-green-2: #4ade80;
    
    /* Typography Colors */
    --text-heading: #ffffff;
    --text-main: #cbd5f5;
    --text-muted: #6b7280;
    
    /* Glass UI */
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-blur: blur(18px);

    /* Fonts */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Backgrounds & Effects */
.cyber-grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(var(--grid-overlay) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-overlay) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    0% { transform: translateY(0); }
    100% { transform: translateY(50px); }
}

/* Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

.text-gradient-purple {
    background: linear-gradient(135deg, var(--accent-purple-1), var(--accent-purple-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-blue {
    background: linear-gradient(135deg, var(--accent-blue-1), var(--accent-blue-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-green {
    background: linear-gradient(135deg, var(--accent-green-1), var(--accent-green-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-padding {
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.text-center { text-align: center; }

/* Typography */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.text-muted { color: var(--text-muted); }

/* Navigation */
.glass-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 50px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.glass-nav.scrolled {
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.15);
    background: rgba(10, 10, 15, 0.9);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-heading);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(135deg, var(--accent-purple-1), var(--accent-purple-2));
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--accent-purple-2);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-heading);
    transition: 0.3s;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-neon-purple {
    background: linear-gradient(135deg, var(--accent-purple-1), var(--accent-purple-2));
    color: #fff;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.btn-neon-purple:hover {
    box-shadow: 0 0 35px rgba(168, 85, 247, 0.7);
    transform: translateY(-2px);
}

.btn-glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-heading);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 150px 5% 50px;
    text-align: center;
    position: relative;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 2rem;
    color: var(--text-main);
}

.pulse-dot-green {
    width: 8px;
    height: 8px;
    background-color: var(--accent-green-2);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-green-2);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--text-muted);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

/* Map Visual */
.hero-map-visual {
    width: 100%;
    max-width: 1000px;
    height: 400px;
    position: relative;
}

.map-container {
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at center, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}

.map-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent-blue-2);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent-blue-2);
    cursor: pointer;
    transition: 0.3s;
}

.map-node::before {
    content: attr(data-city);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    background: var(--glass-bg);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid var(--glass-border);
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
}

.map-node:hover {
    transform: scale(1.5);
    background: var(--accent-purple-2);
    box-shadow: 0 0 20px var(--accent-purple-2);
}

.map-node:hover::before {
    opacity: 1;
    top: -30px;
}

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

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* Cards */
.city-card {
    display: block;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hover-glow:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.3);
}

.city-image {
    width: 100%;
    height: 200px;
    position: relative;
    background: #111;
}

.city-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: 0.4s;
}

.hover-glow:hover .city-image img {
    opacity: 0.9;
}

.city-score {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    font-size: 0.85rem;
    font-weight: bold;
    background: rgba(10, 10, 15, 0.8);
}

.city-info {
    padding: 1.5rem;
}

.city-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.tech-focus {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.growth-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.growth-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-purple-1), var(--accent-blue-1));
    border-radius: 3px;
}

/* Dash Cards */
.dash-card {
    padding: 2rem;
    text-align: center;
}

.dash-card h4 {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.stat-large {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Content Pages Styling */
.page-header {
    padding: 150px 5% 50px;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 50px;
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

/* Article Cards */
.article-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.article-meta {
    font-size: 0.85rem;
    color: var(--accent-blue-2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Forms */
.cyber-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-body);
    transition: 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-purple-2);
    box-shadow: 0 0 15px rgba(168,85,247,0.2);
}

/* Footer */
footer {
    margin-top: 5rem;
    border-radius: 24px 24px 0 0;
    border-bottom: none;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    padding: 4rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-brand {
    flex: 1;
    min-width: 300px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.link-group h5 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.link-group a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: 0.3s;
}

.link-group a:hover {
    color: var(--accent-blue-2);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 992px) {
    .hero-title { font-size: 3rem; }
    .nav-links { display: none; }
    .mobile-menu-toggle { display: flex; }
    
    .nav-links.mobile-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(20px);
        padding: 2rem;
        border-radius: 16px;
        border: 1px solid var(--glass-border);
    }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .section-padding { padding: 60px 5%; }
    .footer-content { flex-direction: column; }
    .hero-map-visual { height: 250px; }
}