:root {
    --primary-color: #00ffff;
    --secondary-color: #ff006f;
    --accent-color: #7b68ee;
    --bg-dark: #0a0a0f;
    --bg-secondary: #1a1a2e;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --neon-glow: 0 0 20px var(--primary-color);
    --gradient-primary: linear-gradient(135deg, #00ffff 0%, #7b68ee 50%, #ff006f 100%);
    --gradient-secondary: linear-gradient(90deg, #ff006f 0%, #00ffff 100%);
}

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

body {
    font-family: 'Exo 2', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

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

/* Animated Background */
.stars-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: 
        radial-gradient(2px 2px at 20px 30px, var(--primary-color), transparent),
        radial-gradient(2px 2px at 40px 70px, var(--accent-color), transparent),
        radial-gradient(1px 1px at 90px 40px, var(--secondary-color), transparent),
        radial-gradient(1px 1px at 130px 80px, var(--primary-color), transparent),
        radial-gradient(2px 2px at 160px 30px, var(--accent-color), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: stars-move 20s linear infinite;
}

@keyframes stars-move {
    from { transform: translateY(0); }
    to { transform: translateY(-100px); }
}

.neural-network {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
    background-image: 
        linear-gradient(90deg, transparent 24%, var(--primary-color) 25%, var(--primary-color) 26%, transparent 27%, transparent 74%, var(--primary-color) 75%, var(--primary-color) 76%, transparent 77%),
        linear-gradient(0deg, transparent 24%, var(--accent-color) 25%, var(--accent-color) 26%, transparent 27%, transparent 74%, var(--accent-color) 75%, var(--accent-color) 76%, transparent 77%);
    background-size: 50px 50px;
    animation: neural-pulse 4s ease-in-out infinite;
}

@keyframes neural-pulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.3; }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    z-index: 1000;
}

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

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text {
    font-family: 'Orbitron', monospace;
    font-size: 24px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-top: -5px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
    text-shadow: var(--neon-glow);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-secondary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-subtitle {
    color: var(--text-primary);
    display: block;
    margin-top: 10px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: var(--neon-glow);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 5px;
}

.cta-button {
    position: relative;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    color: var(--bg-dark);
    box-shadow: var(--neon-glow);
}

.button-pulse {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    transition: left 0.3s ease;
    z-index: -1;
}

.cta-button:hover .button-pulse {
    left: 0;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.interconnect-diagram {
    position: relative;
    width: 400px;
    height: 400px;
}

.node {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    box-shadow: var(--neon-glow);
    animation: node-pulse 2s ease-in-out infinite;
}

.node-1 { top: 0; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.node-2 { top: 50%; right: 0; transform: translateY(-50%); animation-delay: 0.5s; }
.node-3 { bottom: 0; left: 50%; transform: translateX(-50%); animation-delay: 1s; }
.node-4 { top: 50%; left: 0; transform: translateY(-50%); animation-delay: 1.5s; }

@keyframes node-pulse {
    0%, 100% { transform: scale(1) translate(-50%, -50%); opacity: 1; }
    50% { transform: scale(1.2) translate(-50%, -50%); opacity: 0.8; }
}

.data-flow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 200px;
    background: var(--gradient-secondary);
    transform: translate(-50%, -50%);
    animation: data-stream 1s linear infinite;
}

@keyframes data-stream {
    0% { opacity: 0; transform: translate(-50%, -50%) rotate(0deg); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, -50%) rotate(360deg); }
}

/* Sections */
.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.technology, .solutions {
    padding: 100px 0;
    background: var(--bg-secondary);
    margin: 100px 0;
    position: relative;
}

.technology::before, .solutions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-secondary);
    box-shadow: 0 0 20px var(--primary-color);
}

.tech-grid, .solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.tech-card, .solution-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.tech-card:hover, .solution-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: hue-rotate(180deg) brightness(1.5);
}

.tech-card h3, .solution-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.tech-card p, .solution-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.solution-metrics {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.solution-metrics span {
    background: rgba(0, 255, 255, 0.1);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

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

.footer-logo .logo-text {
    font-size: 2rem;
    margin-bottom: 10px;
}

.footer-logo p {
    color: var(--text-secondary);
    font-style: italic;
}

.footer-contact h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: 'Orbitron', monospace;
}

.footer-contact p {
    color: var(--text-secondary);
    margin-bottom: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .interconnect-diagram {
        width: 300px;
        height: 300px;
    }
    
    .nav {
        gap: 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .tech-grid, .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}