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

:root {
    --primary: #1a365d;
    --secondary: #2d3748;
    --accent: #3182ce;
    --light: #f7fafc;
    --dark: #2d3748;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--light);
}

.navbar {
    background: var(--primary);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo-image {
    height: 200px;
    width: auto;
    border-radius: 5px;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    opacity: 0.8;
}

.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 150px 2rem 80px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.8rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: 2px solid var(--accent);
}

.cta-button:hover {
    background: transparent;
    border-color: white;
}

.services {
    padding: 100px 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: var(--primary);
    font-weight: 300;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.service-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.service-card h3 {
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 600;
}

.service-card p {
    color: var(--secondary);
    line-height: 1.8;
}

.cluster-viz {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: white;
    padding: 100px 2rem;
    text-align: center;
}

.node-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.node {
    width: 100px;
    height: 100px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: relative;
    animation: pulse 2s infinite;
    box-shadow: 0 0 20px rgba(49, 130, 206, 0.5);
}

.node.master {
    background: #e53e3e;
    box-shadow: 0 0 20px rgba(229, 62, 62, 0.5);
    animation: pulse-master 2s infinite;
}

.node::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 50px;
    background: var(--accent);
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes pulse-master {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.footer {
    background: var(--primary);
    color: white;
    padding: 60px 2rem 40px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.logo-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.logo-image-footer {
    height: 80px;
    width: auto;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo {
        justify-content: center;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .node-grid {
        gap: 2rem;
    }
    
    .node {
        width: 80px;
        height: 80px;
    }
}
