/* ============================================
   N.E.W. AI - Network Early Warning
   Stylesheet for networkearlywarning.com
   ============================================ */

/* CSS Variables - Light Theme */
:root {
    --color-bg-light: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-bg-card: #ffffff;
    --color-bg-card-hover: #f1f5f9;
    --color-primary: #0369a1;
    --color-primary-light: #0ea5e9;
    --color-primary-dark: #075985;
    --color-accent: #0891b2;
    --color-accent-light: #06b6d4;
    --color-text: #0f172a;
    --color-text-muted: #475569;
    --color-text-subtle: #64748b;
    --color-border: #e2e8f0;
    --color-border-light: #cbd5e1;
    --color-success: #059669;
    --color-warning: #d97706;
    --color-nav-bg: #0f172a;
    --color-footer-bg: #0f172a;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: 0.3s ease;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg-light);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Topographic Lines Pattern */
.topo-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.06;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 800'%3E%3Cg fill='none' stroke='%2306B6D4' stroke-width='1'%3E%3Cpath d='M400 50c-150 0-280 100-300 250s80 280 300 300 320-120 300-300-150-250-300-250z'/%3E%3Cpath d='M400 100c-120 0-230 80-250 210s70 240 250 260 270-100 250-260-130-210-250-210z'/%3E%3Cpath d='M400 150c-95 0-180 65-195 170s55 195 195 210 215-85 195-210-100-170-195-170z'/%3E%3Cpath d='M400 200c-70 0-130 50-145 130s40 150 145 160 160-65 145-160-75-130-145-130z'/%3E%3Cpath d='M400 250c-45 0-85 35-95 90s30 105 95 110 105-45 95-110-50-90-95-90z'/%3E%3Cpath d='M400 300c-25 0-45 20-50 50s15 60 50 65 55-25 50-65-25-50-50-50z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 600px 600px;
    background-position: center;
}

.topo-bg-alt {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.04;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000'%3E%3Cg fill='none' stroke='%233B82F6' stroke-width='1'%3E%3Cpath d='M100 500c0-200 150-380 400-400s420 180 400 400-170 380-400 400-400-200-400-400z'/%3E%3Cpath d='M150 500c0-170 130-330 350-350s370 160 350 350-150 330-350 350-350-180-350-350z'/%3E%3Cpath d='M200 500c0-145 110-280 300-300s315 135 300 300-125 280-300 300-300-155-300-300z'/%3E%3Cpath d='M250 500c0-120 90-235 250-250s265 115 250 250-105 235-250 250-250-130-250-250z'/%3E%3Cpath d='M300 500c0-95 75-185 200-200s210 90 200 200-85 185-200 200-200-105-200-200z'/%3E%3Cpath d='M350 500c0-70 55-140 150-150s160 70 150 150-65 140-150 150-150-80-150-150z'/%3E%3Cpath d='M400 500c0-45 40-90 100-100s105 45 100 100-45 90-100 100-100-55-100-100z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 800px 800px;
    background-position: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography - NASA-inspired */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.1;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

h1 { font-size: 3.5rem; font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: 2.5rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
h3 { font-size: 1.25rem; font-weight: 500; }

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

a {
    color: var(--color-primary-light);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-accent-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border-light);
}

.btn-secondary:hover {
    background: var(--color-bg-card);
    border-color: var(--color-primary);
    color: var(--color-primary-light);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: var(--color-nav-bg);
    transition: all var(--transition);
}

.navbar.scrolled {
    background: var(--color-nav-bg);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: var(--shadow-lg);
}

.navbar.scrolled .nav-logo-icon {
    height: 40px;
}

.navbar.scrolled .logo-name {
    font-size: 1.25rem;
}

.navbar.scrolled .logo-full,
.navbar.scrolled .logo-tagline {
    font-size: 0.6rem;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.nav-logo-icon {
    height: 50px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05em;
}

.logo-full {
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.logo-tagline {
    font-size: 0.65rem;
    color: #06b6d4;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: #cbd5e1;
    font-weight: 500;
    transition: color var(--transition);
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-cta {
    padding: 10px 20px;
    background: var(--color-primary);
    border-radius: var(--border-radius);
    color: white !important;
}

.nav-cta:hover {
    background: var(--color-primary-light);
}

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

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: #ffffff;
    transition: all var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 24px 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 50%, #f0f9ff 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.2;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1400 900'%3E%3Cg fill='none' stroke='%230891b2' stroke-width='1.2'%3E%3C!-- Mountain range 1 - background --%3E%3Cpath d='M0 700 L150 450 L280 550 L400 320 L520 480 L650 280 L800 450 L950 350 L1100 500 L1250 300 L1400 550 L1400 900 L0 900 Z'/%3E%3Cpath d='M0 720 L150 480 L280 570 L400 360 L520 510 L650 320 L800 480 L950 390 L1100 530 L1250 340 L1400 580'/%3E%3Cpath d='M0 740 L150 510 L280 590 L400 400 L520 540 L650 360 L800 510 L950 430 L1100 560 L1250 380 L1400 610'/%3E%3Cpath d='M0 760 L150 540 L280 610 L400 440 L520 570 L650 400 L800 540 L950 470 L1100 590 L1250 420 L1400 640'/%3E%3Cpath d='M0 780 L150 570 L280 630 L400 480 L520 600 L650 440 L800 570 L950 510 L1100 620 L1250 460 L1400 670'/%3E%3C!-- Mountain range 2 - foreground --%3E%3Cpath d='M-50 800 L100 600 L200 680 L350 500 L480 620 L600 450 L750 580 L900 480 L1050 600 L1200 450 L1350 620 L1450 550'/%3E%3Cpath d='M-50 820 L100 640 L200 710 L350 550 L480 660 L600 500 L750 620 L900 530 L1050 640 L1200 500 L1350 660 L1450 590'/%3E%3Cpath d='M-50 840 L100 680 L200 740 L350 600 L480 700 L600 550 L750 660 L900 580 L1050 680 L1200 550 L1350 700 L1450 630'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 100% auto;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-text);
    letter-spacing: -0.04em;
    line-height: 1;
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-accent);
    font-weight: 400;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40%;
    height: 60%;
    opacity: 0.3;
    z-index: 0;
}

.data-stream {
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(59, 130, 246, 0.1) 2px,
            rgba(59, 130, 246, 0.1) 4px
        );
    animation: dataFlow 20s linear infinite;
}

@keyframes dataFlow {
    0% { background-position: 0 0; }
    100% { background-position: 100px 0; }
}

/* Snowfall Animation */
.snowfall {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.snow {
    position: absolute;
    top: -10px;
    background: radial-gradient(circle, rgba(8, 145, 178, 0.7) 0%, rgba(6, 182, 212, 0.5) 40%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    animation: snowfall linear infinite;
    box-shadow: 0 0 6px rgba(8, 145, 178, 0.6), 0 0 12px rgba(6, 182, 212, 0.3);
}

@keyframes snowfall {
    0% {
        opacity: 0;
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 0.9;
    }
    100% {
        opacity: 0;
        transform: translateY(100vh) translateX(50px) rotate(360deg);
    }
}

/* Generate varied snowflakes with different sizes, positions, and speeds */
.snow:nth-child(1) { left: 3%; width: 6px; height: 6px; animation-duration: 12s; animation-delay: 0s; }
.snow:nth-child(2) { left: 8%; width: 4px; height: 4px; animation-duration: 15s; animation-delay: 1s; }
.snow:nth-child(3) { left: 13%; width: 8px; height: 8px; animation-duration: 10s; animation-delay: 2s; }
.snow:nth-child(4) { left: 18%; width: 5px; height: 5px; animation-duration: 14s; animation-delay: 0.5s; }
.snow:nth-child(5) { left: 23%; width: 7px; height: 7px; animation-duration: 11s; animation-delay: 3s; }
.snow:nth-child(6) { left: 28%; width: 4px; height: 4px; animation-duration: 16s; animation-delay: 1.5s; }
.snow:nth-child(7) { left: 33%; width: 6px; height: 6px; animation-duration: 13s; animation-delay: 4s; }
.snow:nth-child(8) { left: 38%; width: 5px; height: 5px; animation-duration: 12s; animation-delay: 2.5s; }
.snow:nth-child(9) { left: 43%; width: 8px; height: 8px; animation-duration: 9s; animation-delay: 0s; }
.snow:nth-child(10) { left: 48%; width: 4px; height: 4px; animation-duration: 15s; animation-delay: 5s; }
.snow:nth-child(11) { left: 53%; width: 6px; height: 6px; animation-duration: 11s; animation-delay: 1s; }
.snow:nth-child(12) { left: 58%; width: 7px; height: 7px; animation-duration: 14s; animation-delay: 3.5s; }
.snow:nth-child(13) { left: 63%; width: 5px; height: 5px; animation-duration: 10s; animation-delay: 2s; }
.snow:nth-child(14) { left: 68%; width: 4px; height: 4px; animation-duration: 16s; animation-delay: 4.5s; }
.snow:nth-child(15) { left: 73%; width: 8px; height: 8px; animation-duration: 12s; animation-delay: 0.5s; }
.snow:nth-child(16) { left: 78%; width: 6px; height: 6px; animation-duration: 13s; animation-delay: 6s; }
.snow:nth-child(17) { left: 83%; width: 5px; height: 5px; animation-duration: 11s; animation-delay: 1.5s; }
.snow:nth-child(18) { left: 88%; width: 7px; height: 7px; animation-duration: 15s; animation-delay: 3s; }
.snow:nth-child(19) { left: 93%; width: 4px; height: 4px; animation-duration: 10s; animation-delay: 5.5s; }
.snow:nth-child(20) { left: 97%; width: 6px; height: 6px; animation-duration: 14s; animation-delay: 2s; }
.snow:nth-child(21) { left: 5%; width: 5px; height: 5px; animation-duration: 13s; animation-delay: 7s; }
.snow:nth-child(22) { left: 11%; width: 7px; height: 7px; animation-duration: 11s; animation-delay: 4s; }
.snow:nth-child(23) { left: 16%; width: 4px; height: 4px; animation-duration: 16s; animation-delay: 6.5s; }
.snow:nth-child(24) { left: 21%; width: 6px; height: 6px; animation-duration: 12s; animation-delay: 1s; }
.snow:nth-child(25) { left: 26%; width: 8px; height: 8px; animation-duration: 9s; animation-delay: 8s; }
.snow:nth-child(26) { left: 31%; width: 5px; height: 5px; animation-duration: 14s; animation-delay: 3s; }
.snow:nth-child(27) { left: 36%; width: 4px; height: 4px; animation-duration: 15s; animation-delay: 5s; }
.snow:nth-child(28) { left: 41%; width: 7px; height: 7px; animation-duration: 10s; animation-delay: 0s; }
.snow:nth-child(29) { left: 46%; width: 6px; height: 6px; animation-duration: 13s; animation-delay: 7.5s; }
.snow:nth-child(30) { left: 51%; width: 5px; height: 5px; animation-duration: 11s; animation-delay: 2s; }
.snow:nth-child(31) { left: 56%; width: 8px; height: 8px; animation-duration: 12s; animation-delay: 9s; }
.snow:nth-child(32) { left: 61%; width: 4px; height: 4px; animation-duration: 16s; animation-delay: 4s; }
.snow:nth-child(33) { left: 66%; width: 6px; height: 6px; animation-duration: 10s; animation-delay: 6s; }
.snow:nth-child(34) { left: 71%; width: 7px; height: 7px; animation-duration: 14s; animation-delay: 1s; }
.snow:nth-child(35) { left: 76%; width: 5px; height: 5px; animation-duration: 11s; animation-delay: 8.5s; }
.snow:nth-child(36) { left: 81%; width: 4px; height: 4px; animation-duration: 15s; animation-delay: 3s; }
.snow:nth-child(37) { left: 86%; width: 8px; height: 8px; animation-duration: 9s; animation-delay: 5s; }
.snow:nth-child(38) { left: 91%; width: 6px; height: 6px; animation-duration: 13s; animation-delay: 10s; }
.snow:nth-child(39) { left: 96%; width: 5px; height: 5px; animation-duration: 12s; animation-delay: 2s; }
.snow:nth-child(40) { left: 2%; width: 7px; height: 7px; animation-duration: 10s; animation-delay: 7s; }
.snow:nth-child(41) { left: 15%; width: 4px; height: 4px; animation-duration: 14s; animation-delay: 9s; }
.snow:nth-child(42) { left: 25%; width: 6px; height: 6px; animation-duration: 11s; animation-delay: 0s; }
.snow:nth-child(43) { left: 35%; width: 5px; height: 5px; animation-duration: 15s; animation-delay: 4s; }
.snow:nth-child(44) { left: 45%; width: 8px; height: 8px; animation-duration: 10s; animation-delay: 11s; }
.snow:nth-child(45) { left: 55%; width: 4px; height: 4px; animation-duration: 13s; animation-delay: 6s; }
.snow:nth-child(46) { left: 65%; width: 7px; height: 7px; animation-duration: 12s; animation-delay: 8s; }
.snow:nth-child(47) { left: 75%; width: 6px; height: 6px; animation-duration: 11s; animation-delay: 1s; }
.snow:nth-child(48) { left: 85%; width: 5px; height: 5px; animation-duration: 14s; animation-delay: 10s; }
.snow:nth-child(49) { left: 95%; width: 4px; height: 4px; animation-duration: 16s; animation-delay: 3s; }
.snow:nth-child(50) { left: 50%; width: 8px; height: 8px; animation-duration: 9s; animation-delay: 12s; }

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 16px;
    font-size: 2rem;
}

.section-subtitle {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--color-text-subtle);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* About Section */
.about {
    background: var(--color-bg-light);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.08;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 600'%3E%3Cg fill='none' stroke='%230891b2' stroke-width='1'%3E%3Cpath d='M100 300c0-150 120-280 350-300s380 130 350 300-140 280-350 300-350-150-350-300z'/%3E%3Cpath d='M150 300c0-125 100-240 300-260s330 115 300 260-120 240-300 260-300-130-300-260z'/%3E%3Cpath d='M200 300c0-100 80-195 250-215s275 95 250 215-95 195-250 215-250-105-250-215z'/%3E%3Cpath d='M250 300c0-75 65-150 200-170s220 70 200 170-75 150-200 170-200-80-200-170z'/%3E%3Cpath d='M300 300c0-55 45-110 150-125s170 55 150 125-55 110-150 125-150-60-150-125z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 700px 500px;
    background-position: left center;
    background-repeat: no-repeat;
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text .lead {
    font-size: 1.25rem;
    color: var(--color-text);
    margin-bottom: 24px;
    font-weight: 500;
}

.about-text p {
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.stat {
    padding: 24px;
    background: var(--color-bg-alt);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

.stat:hover {
    border-color: var(--color-primary);
    transform: translateX(8px);
    box-shadow: var(--shadow);
}

.stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    border-radius: var(--border-radius);
    margin-bottom: 16px;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.stat h3 {
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.stat p {
    font-size: 0.95rem;
}

/* Technology Section */
.technology {
    background: var(--color-bg-alt);
    position: relative;
    overflow: hidden;
}

.technology::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.08;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'%3E%3Cg fill='none' stroke='%230891b2' stroke-width='1'%3E%3Cpath d='M300 50c-140 0-250 100-250 250s110 250 250 250 250-100 250-250-110-250-250-250z'/%3E%3Cpath d='M300 100c-115 0-200 85-200 200s85 200 200 200 200-85 200-200-85-200-200-200z'/%3E%3Cpath d='M300 150c-85 0-150 65-150 150s65 150 150 150 150-65 150-150-65-150-150-150z'/%3E%3Cpath d='M300 200c-55 0-100 45-100 100s45 100 100 100 100-45 100-100-45-100-100-100z'/%3E%3Cpath d='M300 250c-30 0-50 20-50 50s20 50 50 50 50-20 50-50-20-50-50-50z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 500px 500px;
    background-position: right top;
    background-repeat: no-repeat;
    pointer-events: none;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.tech-card {
    padding: 40px;
    background: var(--color-bg-light);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

.tech-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.tech-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(6, 182, 212, 0.2) 100%);
    border-radius: var(--border-radius-lg);
    margin-bottom: 24px;
}

.tech-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-accent);
}

.tech-card h3 {
    margin-bottom: 16px;
    color: var(--color-text);
}

.tech-card > p {
    margin-bottom: 24px;
    line-height: 1.7;
}

.tech-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.tech-features li {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    padding-left: 20px;
    position: relative;
}

.tech-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
}

/* Network Visualization Section */
.network-viz {
    background: var(--color-nav-bg);
    color: #f8fafc;
}

.network-viz .section-header h2 {
    color: #f8fafc;
}

.network-viz .section-subtitle {
    color: #94a3b8;
}

.network-layout {
    max-width: 900px;
    margin: 0 auto;
}

.network-map-container {
    position: relative;
}

.network-map {
    height: 500px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.2);
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.network-key {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 10px 14px;
    display: flex;
    gap: 20px;
    font-size: 0.75rem;
    color: #94a3b8;
}

.key-stats {
    display: flex;
    gap: 16px;
    padding-right: 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.key-stats span strong {
    color: #22d3ee;
    font-family: var(--font-display);
    font-weight: 600;
}

.key-legend {
    display: flex;
    gap: 12px;
}

.key-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.key-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.key-dot.primary {
    background: #22d3ee;
    box-shadow: 0 0 6px #22d3ee;
}

.key-dot.secondary {
    background: #0891b2;
    border: 1.5px solid #22d3ee;
}

.key-line {
    width: 16px;
    height: 2px;
    background: #22d3ee;
}

/* Sensor markers */
.sensor-marker {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.sensor-marker:hover {
    transform: scale(1.3);
}

.sensor-marker.primary {
    background: #22d3ee;
    box-shadow: 0 0 12px #22d3ee, 0 0 24px rgba(34, 211, 238, 0.5);
    border: 2px solid #ffffff;
}

.sensor-marker.secondary {
    background: #0891b2;
    box-shadow: 0 0 8px rgba(8, 145, 178, 0.8);
    border: 2px solid #22d3ee;
}

@media (max-width: 768px) {
    .network-map {
        height: 400px;
    }

    .network-key {
        flex-direction: column;
        gap: 8px;
        font-size: 0.7rem;
    }

    .key-stats {
        border-right: none;
        padding-right: 0;
        padding-bottom: 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }
}

/* Applications Section */
.applications {
    background: var(--color-bg-light);
}

.applications-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

.applications-map {
    height: 500px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
}

.map-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
    color: var(--color-text-muted);
}

.app-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--color-bg-alt);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: all var(--transition);
}

.app-item:hover,
.app-item.active {
    border-color: var(--color-accent);
    transform: translateX(4px);
    box-shadow: var(--shadow);
}

.app-emoji {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 36px;
    text-align: center;
}

.app-content h3 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--color-text);
    text-transform: none;
    letter-spacing: normal;
}

.app-content p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin: 0;
}

/* Contact Section */
.contact {
    background: var(--color-bg-alt);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 700 500'%3E%3Cg fill='none' stroke='%233B82F6' stroke-width='1'%3E%3Cpath d='M350 30c-180 0-320 100-320 220s140 220 320 220 320-100 320-220-140-220-320-220z'/%3E%3Cpath d='M350 70c-150 0-270 80-270 180s120 180 270 180 270-80 270-180-120-180-270-180z'/%3E%3Cpath d='M350 110c-120 0-220 65-220 140s100 140 220 140 220-65 220-140-100-140-220-140z'/%3E%3Cpath d='M350 150c-95 0-170 45-170 100s75 100 170 100 170-45 170-100-75-100-170-100z'/%3E%3Cpath d='M350 190c-65 0-120 30-120 60s55 60 120 60 120-30 120-60-55-60-120-60z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 600px 400px;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    margin-bottom: 24px;
}

.contact-info > p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--color-text-muted);
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.contact-form {
    background: var(--color-bg-card);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    color: var(--color-text);
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
}

.form-status {
    margin-top: 16px;
    padding: 12px;
    border-radius: var(--border-radius);
    text-align: center;
    font-size: 0.9rem;
}

.form-status.sending {
    background: #fef3c7;
    color: #92400e;
}

.form-status.success {
    background: #d1fae5;
    color: #065f46;
}

.form-status.error {
    background: #fee2e2;
    color: #991b1b;
}

.form-status:empty {
    display: none;
}

/* Footer */
.footer {
    background: var(--color-footer-bg);
    padding: 60px 0 30px;
    border-top: none;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-logo-icon {
    height: 60px;
    width: auto;
}

.footer-logo .logo-name {
    color: #f8fafc;
}

.footer-logo .logo-full {
    color: #64748b;
}

.footer-logo .logo-tagline {
    color: #0891b2;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: #94a3b8;
    font-weight: 500;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #334155;
    display: flex;
    justify-content: space-between;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #64748b;
}

/* Responsive Design */
@media (max-width: 1024px) {
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2rem; }

    .hero h1 { font-size: 3rem; }
    .hero-tagline { font-size: 1.25rem; }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .app-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .applications-layout {
        grid-template-columns: 1fr;
    }

    .applications-map {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--color-bg-card);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        transition: right var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--color-text) !important;
    }

    .nav-links a:hover {
        color: var(--color-primary) !important;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding: 100px 24px 60px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .hero-visual {
        display: none;
    }

    section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .app-grid {
        grid-template-columns: 1fr;
    }

    .tech-features {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 16px 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .hero h1 {
        font-size: 1.875rem;
    }

    .tech-card,
    .contact-form {
        padding: 24px;
    }

    .app-card {
        padding: 24px;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 1rem; }
