/*
===========================================
   HERO BANNER STYLES
===========================================
*/

.hero-banner {
    background: #155BFF;
    border-radius: var(--border-radius-2xl);
    margin: var(--spacing-lg) auto;
    max-width: 1340px;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

/*
===========================================
   BACKGROUND AND FOREGROUND SVGs - UPDATED POSITIONING
===========================================
*/

.hero-bg-svg {
    position: absolute;
    top: 0;
    left: 0;
    /* width: 100%; */
    /* height: 100%; */
    z-index: 1;
    pointer-events: none;
}

.hero-bg-svg svg,
.hero-bg-svg img {
    /* width: 100%; */
    /* height: 100%; */
    object-fit: cover;
    object-position: center right;
    /* Align globe more to the right */
}

.hero-fg-svg {
    position: absolute;
    top: 16%;
    /* Slightly higher to match reference */
    left: 22.5%;
    /* Slight left offset for better positioning */
    width: 95%;
    height: 110%;
    /* Slightly larger to ensure full coverage */
    z-index: 15;
    pointer-events: none;
}

.hero-fg-svg svg,
.hero-fg-svg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Changed from cover to contain for better control */
    object-position: center right;
    /* Position globe elements to the right */
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--spacing-4xl);
    padding: var(--spacing-5xl) var(--spacing-2xl) var(--spacing-2xl);
    min-height: 600px;
    position: relative;
    z-index: 10;
}

/*
===========================================
   LEFT CONTENT
===========================================
*/

.hero-content {
    color: var(--color-white);
    position: relative;
    z-index: 12;
}

.hero-title {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    margin-bottom: var(--spacing-lg);
    color: var(--color-white);
}

.hero-description {
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.9);
    max-width: 550px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: var(--spacing-5xl);
    max-width: 23.1rem;
}

/* Primary Button - Green with separate arrow */
.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 0;
    background: transparent;
    color: var(--color-white);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    transition: var(--transition-normal);
    gap: 0;
    position: relative;
    z-index: 13;
}

.btn-primary:hover {
    transform: translateY(-2px);
    color: var(--color-white);
}

.btn-primary .btn-text {
    background: var(--color-viper-green);
    color: var(--color-text-primary);
    padding: var(--spacing-md) var(--spacing-2xl);
    border-radius: var(--border-radius-full);
    font-weight: var(--font-weight-semibold);
    transition: var(--transition-normal);
}

.btn-primary .btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--color-viper-green);
    border-radius: 50%;
    font-size: var(--font-size-lg);
    color: var(--color-text-primary);
    transition: var(--transition-normal);
}

.btn-primary:hover .btn-text {
    background: #9FE63A;
}

.btn-primary:hover .btn-arrow {
    background: #9FE63A;
    transform: translateX(4px);
}

/* Secondary Button - Outlined */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md) var(--spacing-2xl);
    background: transparent;
    color: var(--color-white);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    border: 1px solid #B1FE4C;
    border-radius: var(--border-radius-full);
    transition: var(--transition-normal);
    position: relative;
    z-index: 13;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--color-white);
}

/* Partners Section */
.hero-partners {
    margin-top: auto;
    position: relative;
    z-index: 12;
}

.partners-label {
    display: block;
    font-size: var(--font-size-md);
    color: #FFFFFF;
    margin-bottom: var(--spacing-sm);
    font-weight: var(--font-weight-medium);
}

.partners-logos {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2xl);
    height: 5.75rem;
}

.partner-logo:first-child {
    width: 11.0625rem;
    height: 2.125rem;
    aspect-ratio: 177/34;
}

.partner-logo:last-child {
    width: 8.3125rem;
    height: 5.75rem;
    aspect-ratio: 133/92;
}

.partner-logo {
    height: auto;
    width: auto;
    opacity: 0.9;
    transition: var(--transition-normal);
}

.partner-logo:hover {
    opacity: 1;
}

/*
===========================================
   RIGHT VISUAL ELEMENTS - UPDATED TO MATCH REFERENCE
===========================================
*/

.hero-visual {
    position: relative;
    height: 100%;
    min-height: 500px;
    z-index: 11;
}

/* Background Decorative Dots - Repositioned to match reference */
.hero-bg-elements {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.bg-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.bg-dot-1 {
    top: 8%;
    right: 8%;
    animation-delay: 0s;
}

.bg-dot-2 {
    top: 55%;
    left: 10%;
    animation-delay: 2s;
}

.bg-dot-3 {
    top: 20%;
    left: 15%;
    animation-delay: 4s;
}

.bg-dot-4 {
    bottom: 15%;
    right: 35%;
    animation-delay: 1s;
}

/* Main Globe - Repositioned to match reference exactly */
.globe-container {
    position: absolute;
    right: -15%;
    /* Moved further right to match reference */
    top: 50%;
    transform: translateY(-50%);
    width: 450px;
    /* Slightly larger */
    height: 450px;
    z-index: 3;
}

.globe-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.8;
    animation: rotate 30s linear infinite;
}

/* Viper Dashboard - Repositioned to match reference */
.dashboard-container {
    position: absolute;
    top: 8%;
    /* Slightly higher */
    right: 8%;
    /* Closer to edge */
    width: 290px;
    /* Slightly larger */
    z-index: 7;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xs);
    box-shadow: var(--shadow-xl);
}

.dashboard-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
}

/* Flight Score Chart - Repositioned to match reference */
.chart-container {
    position: absolute;
    bottom: 25%;
    /* Adjusted vertical position */
    left: 20%;
    /* Moved slightly right */
    width: 210px;
    /* Slightly larger */
    z-index: 6;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xs);
    box-shadow: var(--shadow-lg);
}

.chart-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
}

/* Airplane - Repositioned to match reference */
.airplane-container {
    position: absolute;
    right: 18%;
    /* Adjusted to match reference position */
    bottom: 30%;
    /* Adjusted vertical position */
    width: 65px;
    /* Slightly larger */
    height: 65px;
    z-index: 8;
    animation: float 4s ease-in-out infinite;
}

.airplane-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Location Pins - Repositioned to match reference */
.location-pin {
    position: absolute;
    width: 26px;
    /* Slightly larger */
    height: 26px;
    z-index: 5;
    animation: pulse 3s ease-in-out infinite;
}

.pin-1 {
    bottom: 40%;
    /* Adjusted to match reference */
    left: 25%;
    animation-delay: 0.5s;
}

.pin-2 {
    top: 25%;
    /* Adjusted to match reference */
    right: 25%;
    animation-delay: 1.5s;
}

.pin-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/*
===========================================
   ANIMATIONS
===========================================
*/

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

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

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Halo pulsing animation */
@keyframes halo-pulse {
    0% {
        opacity: 0.15;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 0.15;
    }
}

@keyframes halo-pulse-5 {
    0% {
        opacity: 0.18;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        opacity: 0.18;
    }
}

/* Apply pulsing animation to halos only */
.hero-halo-pulse.hero-orbit-3,
.hero-halo-pulse.hero-orbit-3-opposite,
.hero-halo-pulse.hero-orbit-3-quarter,
.hero-halo-pulse.hero-orbit-3-three-quarter {
    animation: orbit-3 75s linear infinite, halo-pulse 1.2s ease-in-out infinite;
    transform-origin: 1149px 707px;
}

.hero-halo-pulse.hero-orbit-5,
.hero-halo-pulse.hero-orbit-5-opposite {
    animation: orbit-5 85s linear infinite, halo-pulse-5 1.5s ease-in-out infinite;
    transform-origin: 1149px 707px;
}

/* Make sure opposite halos still have the negative delay for orbital animation */
.hero-halo-pulse.hero-orbit-3-opposite {
    animation-delay: -37.5s, 0s;
}

.hero-halo-pulse.hero-orbit-3-quarter {
    animation-delay: -18.75s, 0s;
}

.hero-halo-pulse.hero-orbit-3-three-quarter {
    animation-delay: -56.25s, 0s;
}

.hero-halo-pulse.hero-orbit-5-opposite {
    animation-delay: -42.5s, 0s;
}

/* Orbital animations for hero banner circles */
@keyframes orbit-1 {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes orbit-2 {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes orbit-3 {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes orbit-4 {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes orbit-5 {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Apply orbital animations to each hero banner circle */
.hero-orbit-1 {
    animation: orbit-1 90s linear infinite;
    transform-origin: 1149px 707px;
}

.hero-orbit-1-opposite {
    animation: orbit-1 90s linear infinite;
    transform-origin: 1149px 707px;
    animation-delay: -45s;
    /* Negative delay - starts as if 45s already passed */
}

.hero-orbit-2 {
    animation: orbit-2 120s linear infinite;
    transform-origin: 1149px 707px;
}

.hero-orbit-2-opposite {
    animation: orbit-2 120s linear infinite;
    transform-origin: 1149px 707px;
    animation-delay: -60s;
    /* 180° = 50% of 120s = 60s */
}

.hero-orbit-2-60 {
    animation: orbit-2 120s linear infinite;
    transform-origin: 1149px 707px;
    animation-delay: -20s;
    /* 60° = 16.67% of 120s = 20s */
}

.hero-orbit-2-120 {
    animation: orbit-2 120s linear infinite;
    transform-origin: 1149px 707px;
    animation-delay: -40s;
    /* 120° = 33.33% of 120s = 40s */
}

.hero-orbit-2-240 {
    animation: orbit-2 120s linear infinite;
    transform-origin: 1149px 707px;
    animation-delay: -80s;
    /* 240° = 66.67% of 120s = 80s */
}

.hero-orbit-2-300 {
    animation: orbit-2 120s linear infinite;
    transform-origin: 1149px 707px;
    animation-delay: -100s;
    /* 300° = 83.33% of 120s = 100s */
}

.hero-orbit-3 {
    animation: orbit-3 75s linear infinite;
    transform-origin: 1149px 707px;
}

.hero-orbit-3-opposite {
    animation: orbit-3 75s linear infinite;
    transform-origin: 1149px 707px;
    animation-delay: -37.5s;
    /* 50% of 75s = 37.5s */
}

.hero-orbit-3-quarter {
    animation: orbit-3 75s linear infinite;
    transform-origin: 1149px 707px;
    animation-delay: -18.75s;
    /* 25% of 75s = 18.75s */
}

.hero-orbit-3-three-quarter {
    animation: orbit-3 75s linear infinite;
    transform-origin: 1149px 707px;
    animation-delay: -56.25s;
    /* 75% of 75s = 56.25s */
}

.hero-orbit-4 {
    animation: orbit-4 105s linear infinite;
    transform-origin: 1149px 707px;
}

.hero-orbit-4-opposite {
    animation: orbit-4 105s linear infinite;
    transform-origin: 1149px 707px;
    animation-delay: -52.5s;
    /* Negative delay - starts as if 52.5s already passed */
}

.hero-orbit-5 {
    animation: orbit-5 85s linear infinite;
    transform-origin: 1149px 707px;
}

.hero-orbit-5-opposite {
    animation: orbit-5 85s linear infinite;
    transform-origin: 1149px 707px;
    animation-delay: -42.5s;
    /* Negative delay - starts as if 42.5s already passed */
}

/*
===========================================
   RESPONSIVE DESIGN
===========================================
*/

/* iPad Air and tablet breakpoint - use clean mobile layout */
@media (max-width: 1024px) {

    /* Stop all animations on tablets */
    .hero-banner *,
    .hero-banner *::before,
    .hero-banner *::after {
        animation: none !important;
        transform: none !important;
    }

    /* Hide all visual elements on tablets like mobile */
    .hero-banner mask,
    .hero-banner svg circle,
    .hero-banner .hero-orbit-1,
    .hero-banner .hero-orbit-2,
    .hero-banner .hero-orbit-3,
    .hero-banner .hero-orbit-4,
    .hero-banner .hero-orbit-5,
    .hero-banner [class*="hero-orbit-"],
    .hero-banner [class*="hero-halo-"] {
        display: none !important;
    }

    .hero-banner {
        /* Clean blue background only */
        background: #155BFF !important;
    }

    /* HIDE ALL VISUAL ELEMENTS ON TABLETS */
    .hero-bg-svg,
    .hero-fg-svg,
    .hero-visual,
    .globe-container,
    .dashboard-container,
    .chart-container,
    .airplane-container,
    .location-pin,
    .hero-bg-elements,
    .bg-dot {
        display: none !important;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
        padding: var(--spacing-3xl) var(--spacing-2xl);
        text-align: center;
        min-height: auto;
    }

    .hero-content {
        max-width: none;
        order: 1;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .hero-title {
        font-size: var(--font-size-3xl);
        margin-bottom: var(--spacing-lg);
    }

    .hero-description {
        font-size: var(--font-size-lg);
        margin-bottom: var(--spacing-xl);
        max-width: 600px;
    }

    .hero-actions {
        align-items: center;
        margin-bottom: var(--spacing-3xl);
        width: 100%;
        max-width: 450px;
    }

    /* Tablet button styling - similar to mobile but slightly larger */
    .btn-primary {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 0 !important;
        flex-wrap: nowrap !important;
        height: 60px !important;
    }

    .btn-primary .btn-text {
        flex: 1 !important;
        text-align: center !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: var(--spacing-md) var(--spacing-xl) !important;
        font-size: var(--font-size-lg) !important;
    }

    .btn-primary .btn-arrow {
        flex: 0 0 60px !important;
        width: 60px !important;
        height: 60px !important;
        margin-left: 0 !important;
    }

    .btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        height: 60px !important;
        justify-content: center;
        font-size: var(--font-size-lg) !important;
        padding: var(--spacing-md) var(--spacing-2xl) !important;
    }

    .partners-logos {
        justify-content: center;
    }
}

/* Mobile-specific overrides to completely remove all visual elements */
@media (max-width: 768px) {

    /* Stop all animations on mobile */
    .hero-banner *,
    .hero-banner *::before,
    .hero-banner *::after {
        animation: none !important;
        transform: none !important;
    }

    /* Ensure no background images or masks show */
    .hero-banner mask,
    .hero-banner svg circle,
    .hero-banner .hero-orbit-1,
    .hero-banner .hero-orbit-2,
    .hero-banner .hero-orbit-3,
    .hero-banner .hero-orbit-4,
    .hero-banner .hero-orbit-5,
    .hero-banner [class*="hero-orbit-"],
    .hero-banner [class*="hero-halo-"] {
        display: none !important;
    }

    .hero-banner {
        margin: var(--spacing-lg) var(--spacing-md);
        border-radius: var(--border-radius-lg);
        /* Remove any background images on mobile */
        background: #155BFF !important;
    }

    /* COMPLETELY HIDE BACKGROUND SVG ON MOBILE */
    .hero-bg-svg {
        display: none !important;
    }

    /* HIDE FOREGROUND SVG ON MOBILE */
    .hero-fg-svg {
        display: none !important;
    }

    /* HIDE ALL VISUAL ELEMENTS ON MOBILE */
    .hero-visual,
    .globe-container,
    .dashboard-container,
    .chart-container,
    .airplane-container,
    .location-pin,
    .hero-bg-elements,
    .bg-dot {
        display: none !important;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        padding: var(--spacing-2xl) var(--spacing-lg);
        text-align: center;
        min-height: auto;
    }

    .hero-content {
        max-width: none;
        order: 1;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .hero-title {
        font-size: var(--font-size-2xl);
        margin-bottom: var(--spacing-md);
    }

    .hero-description {
        font-size: var(--font-size-base);
        margin-bottom: var(--spacing-lg);
    }

    .hero-actions {
        align-items: center;
        margin-bottom: var(--spacing-2xl);
        width: 100%;
        max-width: 400px;
    }

    /* IMPROVED BUTTON LAYOUT - KEEP ARROW INLINE */
    .btn-primary {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 0 !important;
        flex-wrap: nowrap !important;
        height: 56px !important;
    }

    .btn-primary .btn-text {
        flex: 1 !important;
        text-align: center !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: var(--spacing-md) var(--spacing-lg) !important;
        font-size: var(--font-size-base) !important;
    }

    .btn-primary .btn-arrow {
        flex: 0 0 56px !important;
        width: 56px !important;
        height: 56px !important;
        margin-left: 0 !important;
    }

    .btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        height: 56px !important;
        justify-content: center;
        font-size: var(--font-size-base) !important;
        padding: var(--spacing-md) var(--spacing-xl) !important;
    }

    .partners-logos {
        justify-content: center;
    }
}

@media (max-width: 480px) {

    .hero-title {
        font-size: var(--font-size-xl);
        line-height: 1.3;
    }

    .hero-description {
        font-size: var(--font-size-sm);
        line-height: 1.5;
    }

    .hero-actions {
        width: 100%;
        max-width: none;
    }

    /* ENSURE BUTTONS LOOK GOOD ON SMALL SCREENS */
    .btn-primary {
        width: 100% !important;
        height: 52px !important;
    }

    .btn-primary .btn-text {
        font-size: var(--font-size-sm) !important;
        /* padding: var(--spacing-sm) var(--spacing-md) !important; */
    }

    .btn-primary .btn-arrow {
        width: 52px !important;
        height: 52px !important;
        flex: 0 0 52px !important;
    }

    .btn-secondary {
        width: 100% !important;
        height: 52px !important;
        font-size: var(--font-size-sm) !important;
        padding: var(--spacing-sm) var(--spacing-lg) !important;
    }

    .partner-logo:first-child {
        width: 8rem;
        height: auto;
    }

    .partner-logo:last-child {
        width: 6rem;
        height: auto;
    }
}

/*
===========================================
   SATQOE SECTION
===========================================
*/

.satqoe-section {
    padding: var(--spacing-4xl) 0;
    background-color: var(--color-white);
}

.satqoe-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-4xl);
    align-items: center;
    max-width: var(--container-2xl);
    margin: 0 auto;
}

.satqoe-title {
    text-align: center;
}

.satqoe-title h2 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    line-height: var(--line-height-tight);
    margin: 0;
}

.satqoe-content {
    max-width: 40rem;
}

.satqoe-content p {
    font-size: var(--font-size-lg);
    line-height: var(--line-height-relaxed);
    color: var(--color-text-secondary);
    margin: 0;
}

/*
===========================================
   SATQOE RESPONSIVE
===========================================
*/

@media (max-width: 1024px) {
    .satqoe-container {
        gap: var(--spacing-2xl);
    }

    .satqoe-title h2 {
        font-size: var(--font-size-3xl);
    }

    .satqoe-content p {
        font-size: var(--font-size-base);
    }
}

@media (max-width: 768px) {
    .satqoe-section {
        padding: var(--spacing-2xl) 0;
    }

    .satqoe-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: center;
    }

    .satqoe-title h2 {
        font-size: var(--font-size-2xl);
    }
}