/* 
    COBWEB LOGISTICS - THE INTERCONNECTED NETWORK
    Theme: Intricate / Global / Data-Driven
*/

:root {
    --bg-black: #0A0A0B;
    --accent: #00E5FF; /* Electric Teal */
    --accent-glow: rgba(0, 229, 255, 0.3);
    --text-white: #E0E0E0;
    --text-dim: #666666;
    --card-bg: rgba(20, 20, 22, 0.85);
}

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

body {
    font-family: 'League Spartan', sans-serif;
    background: var(--bg-black);
    color: var(--text-white);
    overflow: hidden;
    height: 100vh;
}

.network-container {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at center, #151a1d 0%, var(--bg-black) 100%);
}

/* Web Background Pattern */
.web-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(0, 229, 255, 0.05) 0%, transparent 70%),
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    z-index: 1;
}

.glow-point {
    position: absolute;
    width: 4px; height: 4px;
    background: var(--accent);
    box-shadow: 0 0 20px var(--accent);
    border-radius: 50%;
    z-index: 2;
    animation: pulse-point 4s infinite;
}

.p1 { top: 20%; left: 30%; animation-delay: 1s; }
.p2 { bottom: 30%; right: 25%; animation-delay: 2s; }

@keyframes pulse-point {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

/* Compact Card Design */
.cobweb-card {
    position: relative;
    z-index: 10;
    max-width: 620px;
    width: 90%;
    padding: 50px 40px;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 4px solid var(--accent); /* Accent at bottom for weight */
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8);
}

header .logo {
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.web { color: var(--accent); text-shadow: 0 0 15px var(--accent-glow); }

.sector {
    font-size: 0.8rem;
    letter-spacing: 8px;
    color: var(--text-dim);
    margin-top: 5px;
    font-weight: 400;
}

/* Web Visual */
.web-visual {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 40px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.node-center {
    font-size: 2rem;
    color: var(--accent);
    z-index: 5;
}

.orbit {
    position: absolute;
    border: 1px solid rgba(0, 229, 255, 0.1);
    border-radius: 50%;
}

.orbit-1 { width: 60px; height: 60px; animation: rotate 10s infinite linear; }
.orbit-2 { width: 100px; height: 100px; animation: rotate 15s infinite linear reverse; border-style: dashed; }

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 20px;
}

.highlight {
    background: linear-gradient(90deg, #fff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    font-size: 1rem;
    color: #999;
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto 40px;
    font-weight: 300;
}

/* Network Status */
.network-status {
    max-width: 300px;
    margin: 0 auto 50px;
}

.status-code {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    color: var(--accent);
    margin-bottom: 10px;
    text-align: left;
    letter-spacing: 1px;
}

.status-bar {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
}

.status-load {
    width: 65%;
    height: 100%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    animation: load-sync 3s infinite alternate ease-in-out;
}

@keyframes load-sync {
    0% { width: 40%; }
    100% { width: 85%; }
}

footer {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.network-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-bottom: 15px;
    font-weight: 700;
}

.network-stats i { color: var(--accent); margin-right: 8px; }

.copyright {
    font-size: 0.65rem;
    opacity: 0.3;
}

/* Entry Animations */
.animate-reveal, .animate-fade, .animate-zoom, .animate-drop {
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-drop { transform: translateY(-20px); }
.animate-reveal { transform: translateY(20px); }

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

@media (max-width: 768px) {
    .cobweb-card { padding: 40px 20px; border-radius: 0; }
    h1 { font-size: 2.2rem; }
    header .logo { font-size: 2rem; }
    .network-stats { flex-direction: column; gap: 10px; }
}
