/*
 * Jetpath Section Styles - Cloudridge Studios
 * Product showcase and features
 */

/* ===== JETPATH SECTION ===== */
.jetpath {
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

/* ===== JETPATH HERO CARD ===== */
.jetpath-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    padding: var(--space-12);
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-2xl);
    position: relative;
    overflow: hidden;
}

.jetpath-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

/* Content */
.jetpath-hero-content {
    position: relative;
    z-index: 2;
}

.jetpath-badge {
    margin-bottom: var(--space-4);
}

.jetpath-hero-content h3 {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}

.jetpath-hero-content > p {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-6);
}

/* Highlights List */
.jetpath-highlights {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.jetpath-highlights li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: var(--text-base);
    color: var(--text-secondary);
}

.jetpath-highlights svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--color-success);
    margin-top: 2px;
}

/* Visual */
.jetpath-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.jetpath-screens {
    position: relative;
    width: 300px;
    height: 400px;
}

.screen {
    position: absolute;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.screen-back {
    width: 200px;
    height: 300px;
    top: 0;
    left: 0;
    background: linear-gradient(145deg, #1b263b, #0d1b2a);
    transform: rotate(-8deg);
}

.screen-front {
    width: 220px;
    height: 340px;
    bottom: 0;
    right: 0;
    background: linear-gradient(145deg, #1b263b, #0d1b2a);
    transform: rotate(4deg);
    z-index: 2;
}

.screen-content {
    width: 100%;
    height: 100%;
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
}

/* Globe Screen */
.globe-screen {
    align-items: center;
    justify-content: center;
}

.mini-globe {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        rgba(30, 58, 95, 0.4) 0%, 
        rgba(44, 122, 123, 0.5) 50%, 
        rgba(217, 119, 6, 0.4) 100%
    );
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        inset 0 0 40px rgba(30, 58, 95, 0.3),
        0 0 30px rgba(44, 122, 123, 0.2);
    animation: float 4s ease-in-out infinite;
}

/* Flight Screen */
.flight-screen {
    background: linear-gradient(180deg, #0d1b2a 0%, #1b263b 100%);
}

.flight-header {
    text-align: center;
    padding-bottom: var(--space-3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--space-4);
}

.flight-label {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: rgba(255, 255, 255, 0.5);
}

.flight-route {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) 0;
}

.airport {
    text-align: center;
}

.airport .code {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--color-white);
}

.airport .city {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.5);
}

.route-line {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.route-line::before,
.route-line::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0.1), rgba(30, 58, 95, 0.5));
}

.route-line::before {
    left: 0;
}

.route-line::after {
    right: 0;
    background: linear-gradient(90deg, rgba(30, 58, 95, 0.5), rgba(255,255,255,0.1));
}

.route-line svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    transform: rotate(90deg);
}

.flight-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding: var(--space-3);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
}

.status-badge {
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
}

.status-badge.on-time {
    background: rgba(16, 185, 129, 0.2);
    color: var(--color-success);
}

.status-time {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
    color: var(--color-white);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .jetpath-hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: var(--space-8);
    }

    .jetpath-hero-visual {
        order: -1;
        margin-bottom: var(--space-6);
    }

    .jetpath-screens {
        width: 250px;
        height: 320px;
    }

    .screen-back {
        width: 160px;
        height: 240px;
    }

    .screen-front {
        width: 180px;
        height: 280px;
    }

    .jetpath-highlights {
        align-items: center;
    }

    .jetpath-highlights li {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .jetpath-hero {
        padding: var(--space-6);
    }

    .jetpath-hero-content h3 {
        font-size: var(--text-2xl);
    }

    .jetpath-screens {
        width: 200px;
        height: 280px;
    }

    .screen-back {
        width: 140px;
        height: 200px;
    }

    .screen-front {
        width: 160px;
        height: 240px;
    }

    .mini-globe {
        width: 80px;
        height: 80px;
    }
}
