/* sim-ai.net - Frutiger-Aero Simulation Network */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --aero-top: #E0F0FF;
    --aero-bottom: #F0E8FF;
    --frosted-white: rgba(255,255,255,0.7);
    --network-blue: #2563EB;
    --sim-purple: #7C3AED;
    --active-gold: #F59E0B;
    --glass-edge: rgba(255,255,255,0.4);
    --deep-indigo: #1E1B4B;
    --soft-slate: #64748B;
}
body {
    background: linear-gradient(180deg, var(--aero-top) 0%, var(--aero-bottom) 100%);
    color: var(--deep-indigo);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    font-weight: 400;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Hero */
#hero {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
    text-align: center;
}
.network-topo {
    width: 100%;
    max-width: 500px;
    height: 200px;
    margin: 0 auto 2rem;
}
.net-line {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawNet 1s ease forwards;
}
.nl1 { animation-delay: 0.3s; }
.nl2 { animation-delay: 0.5s; }
.nl3 { animation-delay: 0.7s; }
@keyframes drawNet { to { stroke-dashoffset: 0; } }
.net-node {
    opacity: 0;
    animation: nodeIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.nn1 { animation-delay: 0.5s; }
.nn2 { animation-delay: 0.3s; }
.nn3 { animation-delay: 0.7s; }
@keyframes nodeIn { 0% { opacity: 0; transform: scale(0); } 100% { opacity: 1; transform: scale(1); } }
.net-label {
    font-family: 'Roboto Mono', monospace;
    font-size: 8px;
    fill: white;
    font-weight: 500;
}

/* Glass Panels */
.glass-panel {
    background: var(--frosted-white);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-edge);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}
.panel-gloss {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, transparent 100%);
    border-radius: 16px 16px 0 0;
    pointer-events: none;
}
.hero-panel {
    display: inline-block;
    padding: 2rem 3rem;
}
.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--deep-indigo);
}
.hero-subtitle {
    font-size: 1rem;
    color: var(--soft-slate);
    margin-top: 0.25rem;
}

/* Content */
#content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.panel-left { width: 55%; margin-right: auto; }
.panel-right { width: 50%; margin-left: auto; }
.panel-wide { width: 75%; margin: 0 auto; }
.panel-label {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--network-blue);
    display: block;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}
.panel-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--deep-indigo);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}
.panel-body {
    font-size: 0.95rem;
    color: var(--soft-slate);
    position: relative;
    z-index: 1;
}

/* Section animation */
.section {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.section.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Footer */
#footer {
    text-align: center;
    padding: 3rem 2rem;
}
.footer-text {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.75rem;
    color: var(--soft-slate);
}

/* Responsive */
@media (max-width: 700px) {
    .panel-left, .panel-right, .panel-wide { width: 100%; }
}
