/* Design System & Custom Properties */
:root {
    --bg-dark: #070a13;
    --bg-card: rgba(15, 23, 42, 0.45);
    --border-color: rgba(255, 255, 255, 0.08);
    --glow-color: rgba(6, 182, 212, 0.4);
    
    --primary: #6366f1;     /* Indigo */
    --secondary: #06b6d4;   /* Cyan */
    --accent: #a78bfa;      /* Purple */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    --font-sans: 'Outfit', sans-serif;
    --font-mono: 'Space Grotesk', sans-serif;
}

/* Reset & Setup */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Canvas background */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Main Container */
.container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    min-height: 90vh;
    justify-content: space-between;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    font-family: var(--font-mono);
}

.logo-icon {
    color: var(--secondary);
    text-shadow: 0 0 10px var(--secondary);
    animation: pulseGlow 3s infinite ease-in-out;
}

.status-badge {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    color: var(--secondary);
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
}

.status-badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--secondary);
    border-radius: 50%;
    margin-right: 0.5rem;
    vertical-align: middle;
    box-shadow: 0 0 8px var(--secondary);
    animation: blink 1.5s infinite;
}

/* Main Grid Layout */
.grid-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    flex-grow: 1;
}

/* Info Panel (Left) */
.info-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.brand-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.brand-title .highlight {
    color: var(--secondary);
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-family: var(--font-mono);
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    font-weight: 400;
    border-left: 2px solid var(--primary);
    padding-left: 1rem;
}

.description {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 550px;
}

/* Removed countdown and newsletter styles */

/* Animation Panel (Right) */
.animation-panel {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.globe-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
}

.logistics-map {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.15));
}

/* Map specific styling & animation */
.orbital-ring {
    transform-origin: center;
    animation: rotateClockwise 60s infinite linear;
}

.globe-sphere {
    transform-origin: center;
}

.globe-grid {
    transform-origin: center;
    animation: rotateClockwise 120s infinite linear;
}

.pulse-node {
    animation: pulseNodeGlow 2.5s infinite ease-in-out;
}

.pulse-node:nth-child(even) {
    animation-delay: 1.2s;
}

.route-path {
    opacity: 0.75;
    stroke-dashoffset: 0;
    animation: dashRoute 40s infinite linear;
}

/* Animating vectors directly */
.animated-plane {
    transform-box: fill-box;
    transform-origin: center;
}

.animated-ship {
    transform-box: fill-box;
    transform-origin: center;
}

/* Footer Styling */
footer {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    margin-top: 2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links span {
    position: relative;
    cursor: default;
}

.footer-links span::before {
    content: '•';
    color: var(--secondary);
    margin-right: 0.4rem;
}

/* Keyframes & Animations */
@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.8;
        filter: drop-shadow(0 0 2px var(--secondary));
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 10px var(--secondary));
    }
}

@keyframes blink {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

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

@keyframes pulseNodeGlow {
    0%, 100% {
        r: 5px;
        opacity: 0.7;
    }
    50% {
        r: 8px;
        opacity: 1;
    }
}

@keyframes dashRoute {
    to {
        stroke-dashoffset: -1000;
    }
}

/* Responsive styles */
@media (max-width: 968px) {
    .grid-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .info-panel {
        align-items: center;
    }

    .tagline {
        border-left: none;
        border-bottom: 2px solid var(--primary);
        padding-left: 0;
        padding-bottom: 0.5rem;
    }

    .countdown-container {
        justify-content: center;
    }

    .newsletter-box {
        width: 100%;
    }

    .globe-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
