﻿/* ==========================================================================
   GLOBALGATE INTERNATIONAL - PREMIUM 2026 GLOBAL BRAND DESIGN SYSTEM
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
    /* Advanced Color System */
    --brand-primary: #154284;
    --brand-secondary: #1D65C1;
    --brand-accent: #FFB800;
    --brand-gradient: linear-gradient(135deg, #154284 0%, #1D65C1 50%, #4F9DFF 100%);
    --brand-gradient-glow: linear-gradient(135deg, rgba(21,66,132,0.1) 0%, rgba(29,101,193,0.1) 100%);
    --bg-main: #F8FAFC;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    /* System Architecture Specs */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-bg-dark: rgba(15, 23, 42, 0.8);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-border-light: rgba(21, 66, 132, 0.08);
    --shadow-premium: 0 20px 40px -15px rgba(15, 23, 42, 0.06);
    --shadow-glow: 0 20px 40px -10px rgba(29, 101, 193, 0.25);
    --radius-lg: 24px;
    --radius-md: 16px;
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-main);
    overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

/* ==========================================================================
   1. CORE ARCHITECTURE & MODERN UTILITIES
   ========================================================================== */
.bg-premium-gradient {
    background: var(--brand-gradient);
}

.text-gradient {
    background: linear-gradient(135deg, #0F172A 0%, #1D65C1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-light {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFB800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-premium);
}

.glass-card-dark {
    background: var(--glass-bg-dark);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hover-hardware {
    transition: var(--transition-smooth);
    will-change: transform, box-shadow;
}

    .hover-hardware:hover {
        transform: translateY(-8px) scale(1.01);
        box-shadow: var(--shadow-glow);
    }

/* ==========================================================================
   2. NAVIGATIONAL RIG (TRANSPARENT TO BLURRED STICKY)
   ========================================================================== */
.custom-navbar {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border-light);
    transition: var(--transition-smooth);
}

    .custom-navbar.scrolled-dock {
        background: rgba(255, 255, 255, 0.9);
        box-shadow: var(--shadow-premium);
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }

/* ==========================================================================
   3. HERO SECTOR & KINETIC CANVAS
   ========================================================================== */
.hero-kinetic-canvas {
    position: relative;
    padding: 140px 0 100px 0;
    background: radial-gradient(circle at 90% 10%, rgba(79, 157, 255, 0.15) 0%, transparent 40%), radial-gradient(circle at 10% 90%, rgba(21, 66, 132, 0.05) 0%, transparent 50%);
}

.kinetic-stage {
    position: relative;
    width: 100%;
    min-height: 450px;
}

.globe-3d-fallback {
    width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: var(--shadow-glow);
    animation: constantRotation 40s linear infinite;
}

.floating-jet-vector {
    position: absolute;
    top: 20%;
    left: 10%;
    font-size: 2.5rem;
    color: var(--brand-accent);
    animation: spatialFloat 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 15px rgba(255, 184, 0, 0.4));
}

.floating-pill {
    position: absolute;
    z-index: 10;
    animation: spatialFloat 8s ease-in-out infinite alternate;
}

/* ==========================================================================
   4. DYNAMIC SCROLLING MARQUEE
   ========================================================================== */
.marquee-track-wrapper {
    overflow: hidden;
    white-space: nowrap;
    padding: 24px 0;
    background: #ffffff;
    border-top: 1px solid var(--glass-border-light);
    border-bottom: 1px solid var(--glass-border-light);
}

.marquee-continuous {
    display: inline-block;
    animation: marqueeRun 25s linear infinite;
}

.marquee-node {
    display: inline-flex;
    align-items: center;
    padding: 0 40px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-secondary);
    opacity: 0.4;
    transition: var(--transition-smooth);
}

    .marquee-node:hover {
        opacity: 1;
        color: var(--brand-primary);
    }

/* ==========================================================================
   5. INTERACTIVE TIMELINE MATRIX
   ========================================================================== */
.interactive-timeline-container {
    position: relative;
    padding-left: 3rem;
}

    .interactive-timeline-container::before {
        content: '';
        position: absolute;
        left: 15px;
        top: 0;
        bottom: 0;
        width: 2px;
        background: linear-gradient(to bottom, var(--brand-primary), var(--brand-accent), transparent);
    }

.timeline-interactive-card {
    position: relative;
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 1.75rem;
    margin-bottom: 2rem;
    border: 1px solid var(--glass-border-light);
    transition: var(--transition-smooth);
}

    .timeline-interactive-card:hover {
        border-color: var(--brand-secondary);
        transform: translateX(10px);
    }

.timeline-radar-node {
    position: absolute;
    left: -48px;
    top: 24px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

/* ==========================================================================
   6. 2026 COUNTRY VIEWPORT TILES
   ========================================================================== */
.grid-viewport-tile {
    position: relative;
    height: 340px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.tile-media-canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.tile-glass-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transition: var(--transition-smooth);
}

.grid-viewport-tile:hover .tile-media-canvas {
    transform: scale(1.08) rotate(1deg);
}

.grid-viewport-tile:hover .tile-glass-overlay {
    background: linear-gradient(to top, rgba(21, 66, 132, 0.95) 0%, rgba(29, 101, 193, 0.8) 100%);
}

/* ==========================================================================
   7. FLOATING ACTION RIGS & WIDGET CONTROL
   ========================================================================== */
.floating-action-cluster {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.action-trigger-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: var(--transition-smooth);
    text-decoration: none !important;
}

    .action-trigger-circle:hover {
        transform: translateY(-5px) scale(1.05);
        color: #ffffff;
    }

.trigger-whatsapp {
    background-color: #25D366;
}

.trigger-phone {
    background-color: var(--brand-primary);
    border: 2px solid var(--brand-accent);
}

.scroll-top-hardware {
    position: fixed;
    bottom: 180px;
    right: 35px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-premium);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    z-index: 1040;
    text-decoration: none !important;
}

    .scroll-top-hardware.is-active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

/* ==========================================================================
   8. SYSTEM ANIMATION KEYFRAMES
   ========================================================================== */
@keyframes spatialFloat {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-15px);
    }
}

@keyframes constantRotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes marqueeRun {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* ==========================================================================
   9. MOBILE CONTAINER OVERRIDES ($<992px)
   ========================================================================== */
@media (max-width: 991.98px) {
    body {
        padding-bottom: 80px;
    }

    .custom-navbar {
        position: fixed !important;
        top: 0;
        width: 100%;
        z-index: 1060;
    }

    .navbar-collapse-mobile-hidden {
        display: none !important;
    }

    .mobile-app-navigation-dock {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 72px;
        background: rgba(21, 66, 132, 0.94);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 2px solid var(--brand-accent);
        z-index: 1070;
        justify-content: space-around;
        align-items: center;
        padding-bottom: env(safe-area-inset-bottom);
    }

    .mobile-dock-node {
        text-decoration: none !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        color: rgba(255, 255, 255, 0.6);
        font-size: 11px;
        font-weight: 500;
    }

        .mobile-dock-node i {
            font-size: 1.25rem;
            margin-bottom: 4px;
            transition: var(--transition-smooth);
        }

        .mobile-dock-node.is-active {
            color: var(--brand-accent);
        }

            .mobile-dock-node.is-active i {
                transform: translateY(-4px);
            }

    .floating-action-cluster {
        bottom: 92px !important;
        right: 24px !important;
    }
}

@media (min-width: 992px) {
    .mobile-app-navigation-dock {
        display: none !important;
    }
}
