/* ==================================
   CINEMATIC LOGISTICS VISUALIZATION
   Inspired by War of 1996 aesthetic
   ================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #000000;
    color: #f1f5f9;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}

.cinematic-hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

/* ==================================
   ATMOSPHERIC BACKGROUND
   ================================== */
.space-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 50% 50%, rgba(15, 25, 41, 0.8), #000000),
        radial-gradient(ellipse at 30% 40%, #0b1621, #000000);
    z-index: 0;
}

/* Add depth of field blur layers */
.space-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 50%, transparent 30%, rgba(0, 0, 0, 0.3) 80%);
    pointer-events: none;
}

.space-background::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    pointer-events: none;
}

/* Atmospheric Color Glows */
.atmosphere-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    z-index: 1;
    animation: atmosphericShift 15s ease-in-out infinite;
}

@keyframes atmosphericShift {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.cyan-glow {
    top: 15%;
    left: 25%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.25), rgba(6, 182, 212, 0.15), transparent);
}

.orange-glow {
    bottom: 5%;
    right: 15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.18), rgba(239, 68, 68, 0.12), rgba(220, 38, 38, 0.06), transparent);
    animation-delay: -7s;
}

/* ==================================
   FLOATING ORBS
   ================================== */
.floating-orb {
    position: absolute;
    border-radius: 50%;
    box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.1);
    z-index: 3;
    animation: floatOrb 20s ease-in-out infinite;
}

.orb-cyan-1 {
    width: 140px;
    height: 140px;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.15), transparent 30%),
        radial-gradient(circle at 30% 30%, rgba(56, 189, 248, 0.6), rgba(14, 165, 233, 0.3), rgba(7, 89, 133, 0.15), transparent);
    border: 1px solid rgba(56, 189, 248, 0.4);
    box-shadow: 
        0 10px 60px rgba(56, 189, 248, 0.5),
        0 0 80px rgba(56, 189, 248, 0.3),
        inset -10px -10px 40px rgba(0, 0, 0, 0.4),
        inset 10px 10px 40px rgba(56, 189, 248, 0.25);
    position: relative;
    overflow: hidden;
}

.orb-cyan-1::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 15%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 50%;
    filter: blur(8px);
}

.orb-cyan-2 {
    width: 90px;
    height: 90px;
    background: radial-gradient(circle at 40% 40%, rgba(6, 182, 212, 0.3), rgba(14, 165, 233, 0.1), transparent);
    border: 1px solid rgba(6, 182, 212, 0.25);
    animation-duration: 25s;
    animation-delay: -5s;
}

.orb-red-1 {
    width: 130px;
    height: 130px;
    background: 
        radial-gradient(circle at 22% 22%, rgba(255, 255, 255, 0.18), transparent 25%),
        radial-gradient(circle at 35% 35%, rgba(239, 68, 68, 0.5), rgba(245, 158, 11, 0.3), rgba(220, 38, 38, 0.2), transparent);
    border: 1px solid rgba(239, 68, 68, 0.4);
    box-shadow: 
        0 15px 70px rgba(239, 68, 68, 0.5),
        0 0 90px rgba(245, 158, 11, 0.3),
        inset -12px -12px 50px rgba(0, 0, 0, 0.5),
        inset 12px 12px 50px rgba(239, 68, 68, 0.2);
    animation-duration: 22s;
    position: relative;
    overflow: hidden;
}

.orb-red-1::before {
    content: '';
    position: absolute;
    top: 12%;
    left: 12%;
    width: 45%;
    height: 45%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent);
    border-radius: 50%;
    filter: blur(10px);
}

.orb-purple-1 {
    width: 85px;
    height: 85px;
    background: radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.3), rgba(168, 85, 247, 0.1), transparent);
    border: 1px solid rgba(139, 92, 246, 0.25);
    animation-duration: 28s;
    animation-delay: -10s;
}

.orb-teal-1 {
    width: 75px;
    height: 75px;
    background: radial-gradient(circle at 35% 35%, rgba(20, 184, 166, 0.3), rgba(13, 148, 136, 0.1), transparent);
    border: 1px solid rgba(20, 184, 166, 0.2);
    animation-duration: 24s;
    animation-delay: -7s;
}

.orb-small-1,
.orb-small-2 {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle at 30% 30%, rgba(56, 189, 248, 0.25), transparent);
    border: 1px solid rgba(56, 189, 248, 0.15);
    animation-duration: 18s;
}

.orb-small-2 {
    width: 40px;
    height: 40px;
    animation-delay: -12s;
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 40px) scale(0.95);
    }
    75% {
        transform: translate(40px, 20px) scale(1.05);
    }
}

/* ==================================
   CURVED ORBITAL PATHS
   ================================== */
.orbital-paths {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    opacity: 0.6;
}

/* ==================================
   TOP NAVIGATION
   ================================== */
.top-nav {
    position: absolute;
    top: 40px;
    left: 60px;
    z-index: 100;
}

.nav-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #38bdf8;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.nav-tagline {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 500;
}

/* ==================================
   MAIN GLOBE CENTERPIECE
   ================================== */
.globe-centerpiece {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 50;
}

.globe-wrapper {
    position: relative;
    width: 650px;
    height: 650px;
    margin: 0 auto 3rem;
    perspective: 1200px;
    transform-style: preserve-3d;
}

/* Add realistic base platform */
.globe-wrapper::before {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 100px;
    background: radial-gradient(ellipse at center, rgba(14, 165, 233, 0.3), transparent);
    filter: blur(30px);
    z-index: -1;
}

/* Add realistic shadow */
.globe-wrapper::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 40px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.6), transparent);
    filter: blur(20px);
    z-index: -2;
}

/* Orbital Rings */
.orbital-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 50%;
    pointer-events: none;
}

.ring-outer {
    width: 750px;
    height: 750px;
    border-color: rgba(139, 92, 246, 0.15);
    animation: orbitSlow 60s linear infinite;
}

.ring-middle {
    width: 650px;
    height: 650px;
    animation: orbitMedium 45s linear infinite reverse;
}

.ring-inner {
    width: 550px;
    height: 550px;
    border-width: 1.5px;
    border-color: rgba(14, 165, 233, 0.3);
    animation: orbitFast 30s linear infinite;
}

@keyframes orbitSlow {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbitMedium {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbitFast {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Globe SVG */
.globe-svg {
    width: 100%;
    height: 100%;
    animation: rotateGlobe 50s linear infinite;
    filter: 
        drop-shadow(0 20px 60px rgba(0, 0, 0, 0.6))
        drop-shadow(0 0 80px rgba(14, 165, 233, 0.5))
        drop-shadow(0 0 120px rgba(14, 165, 233, 0.3));
    transform: rotateX(5deg);
}

@keyframes rotateGlobe {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

/* Center Badge */
.center-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    background: 
        radial-gradient(circle at 30% 30%, rgba(56, 189, 248, 0.15), rgba(11, 18, 33, 0.98)),
        rgba(11, 18, 33, 0.95);
    border: 2px solid rgba(14, 165, 233, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 10px 80px rgba(14, 165, 233, 0.6),
        0 0 100px rgba(14, 165, 233, 0.4),
        inset 0 -20px 60px rgba(0, 0, 0, 0.5),
        inset 0 20px 60px rgba(56, 189, 248, 0.15);
    z-index: 100;
    position: relative;
    overflow: hidden;
}

/* Realistic highlight on badge */
.center-badge::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 20%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent);
    border-radius: 50%;
    filter: blur(15px);
}

.badge-ring {
    position: absolute;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 50%;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.badge-content {
    text-align: center;
}

.badge-icon {
    font-size: 2.5rem;
    color: #38bdf8;
    margin-bottom: 0.5rem;
}

.badge-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #38bdf8;
}

.badge-subtitle {
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: #64748b;
    margin-top: 0.25rem;
}

/* Main Title */
.main-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #38bdf8;
    text-shadow: 0 0 30px rgba(56, 189, 248, 0.5);
    margin-bottom: 0.75rem;
}

.main-subtitle {
    font-size: 0.875rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 500;
}

/* ==================================
   INFO CARDS (SIDE PANELS)
   ================================== */
.info-card {
    position: absolute;
    background: 
        linear-gradient(135deg, rgba(20, 30, 50, 0.85), rgba(15, 23, 40, 0.9));
    backdrop-filter: blur(24px);
    border: 1px solid rgba(14, 165, 233, 0.25);
    border-radius: 14px;
    padding: 2rem;
    width: 300px;
    z-index: 80;
    box-shadow: 
        0 15px 60px rgba(0, 0, 0, 0.6),
        0 5px 20px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 80px rgba(0, 0, 0, 0.7),
        0 0 50px rgba(14, 165, 233, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.left-card {
    top: 50%;
    left: 50px;
    transform: translateY(-50%);
}

.right-card {
    top: 30%;
    right: 50px;
}

.card-header {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #38bdf8;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(14, 165, 233, 0.2);
}

.card-body {
    font-size: 0.875rem;
    line-height: 1.6;
}

.status-line {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #64748b;
}

.status-indicator.online {
    background: #22c55e;
    box-shadow: 0 0 15px #22c55e;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.info-text {
    color: #cbd5e1;
    font-size: 0.8125rem;
    line-height: 1.7;
}

.card-stats {
    margin-bottom: 1rem;
}

.stat-large {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #38bdf8;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==================================
   TIMELINE BAR (BOTTOM)
   ================================== */
.timeline-bar {
    position: absolute;
    bottom: 180px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 1100px;
    z-index: 80;
}

.timeline-track {
    height: 1px;
    background: linear-gradient(90deg, transparent, #0ea5e9, transparent);
    position: relative;
    margin-bottom: 15px;
}

.timeline-points {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.timeline-marker {
    position: relative;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.marker-dot {
    width: 10px;
    height: 10px;
    background: rgba(14, 165, 233, 0.5);
    border: 1px solid #0ea5e9;
    border-radius: 50%;
    margin: 0 auto 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-marker.active .marker-dot {
    width: 14px;
    height: 14px;
    background: #38bdf8;
    box-shadow: 0 0 20px #38bdf8;
    animation: pulse 2s ease-in-out infinite;
}

.marker-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6875rem;
    color: #64748b;
    font-weight: 500;
}

.marker-date {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: #38bdf8;
    margin-top: 0.25rem;
}

.timeline-marker:hover .marker-dot {
    transform: scale(1.3);
    box-shadow: 0 0 15px #0ea5e9;
}

/* ==================================
   FEATURE CARDS (CHARACTER STYLE)
   ================================== */
.feature-cards-row {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1.5rem;
    z-index: 80;
    max-width: 1400px;
}

.feature-card {
    background: 
        linear-gradient(to bottom, rgba(20, 30, 50, 0.85), rgba(15, 23, 40, 0.9));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
    width: 210px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.1), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(14, 165, 233, 0.5);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(14, 165, 233, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    background: 
        linear-gradient(to bottom, rgba(25, 35, 55, 0.9), rgba(20, 30, 50, 0.95));
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    filter: drop-shadow(0 0 15px rgba(14, 165, 233, 0.3));
}

.feature-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 0.5rem;
    letter-spacing: 0.3px;
}

.feature-desc {
    font-size: 0.75rem;
    line-height: 1.5;
    color: #94a3b8;
    font-weight: 400;
}

/* ==================================
   ACTION BUTTONS
   ================================== */
.action-buttons {
    position: absolute;
    bottom: 250px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1.25rem;
    z-index: 90;
}

.cta-button {
    padding: 1rem 2.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
}

.cta-button.primary {
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(14, 165, 233, 0.4);
    color: #f1f5f9;
    box-shadow: 0 2px 15px rgba(14, 165, 233, 0.2);
}

.cta-button.primary:hover {
    background: rgba(14, 165, 233, 0.25);
    border-color: #38bdf8;
    transform: translateY(-2px);
    box-shadow: 0 4px 25px rgba(14, 165, 233, 0.3);
}

.cta-button.secondary {
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #e2e8f0;
    box-shadow: 0 2px 15px rgba(139, 92, 246, 0.15);
}

.cta-button.secondary:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: #a78bfa;
    transform: translateY(-2px);
    box-shadow: 0 4px 25px rgba(139, 92, 246, 0.25);
}

/* ==================================
   RESPONSIVE
   ================================== */
@media (max-width: 1400px) {
    .feature-cards-row {
        gap: 1rem;
    }
    
    .feature-card {
        width: 160px;
        padding: 1rem 0.75rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 1024px) {
    .globe-wrapper {
        width: 450px;
        height: 450px;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .info-card {
        display: none;
    }
    
    .feature-cards-row {
        flex-wrap: wrap;
        max-width: 90%;
    }
    
    .feature-card {
        width: 140px;
    }
}

@media (max-width: 768px) {
    .globe-wrapper {
        width: 350px;
        height: 350px;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .feature-cards-row {
        display: none;
    }
    
    .timeline-bar {
        width: 90%;
    }
    
    .floating-orb {
        opacity: 0.5;
    }
}
