/* Transport Hub Styles - Next-Gen Glassmorphic Boarding Grid */
body {
    background: linear-gradient(135deg, #0b1120 0%, #0f172a 50%, #1e293b 100%) !important;
    color: white;
}

.hub-page-wrapper {
    min-height: 80vh;
    padding: 130px 20px 100px 20px;
    max-width: 1160px;
    margin: 0 auto;
    box-sizing: border-box;
}

.hub-hero {
    text-align: center;
    margin-bottom: 40px;
}

.hub-hero h1 {
    color: white;
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    margin: 0 0 16px 0;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.15;
}

.hub-hero p {
    color: #94a3b8;
    font-size: clamp(1rem, 2vw, 1.15rem);
    max-width: 680px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

/* Quick Filter Search Bar */
.hub-search-wrapper {
    max-width: 560px;
    margin: 0 auto 40px auto;
    position: relative;
}

.hub-search-input {
    width: 100%;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 15px 44px 15px 48px;
    font-size: 16px;
    color: white;
    outline: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    transition: all 0.3s;
    box-sizing: border-box;
}

.hub-search-input:focus {
    border-color: #FF6B00;
    box-shadow: 0 12px 35px rgba(255, 107, 0, 0.25);
    background: rgba(15, 23, 42, 0.95);
}

.hub-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 16px;
    pointer-events: none;
}

.hub-search-clear {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 16px;
    cursor: pointer;
    display: none;
    padding: 6px;
    transition: color 0.2s;
}

.hub-search-clear:hover {
    color: #f1f5f9;
}

/* 2-Column Luxury Transit Grid */
.country-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
}

.country-card {
    background: rgba(30, 41, 59, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 26px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    box-sizing: border-box;
    width: 100%;
}

.country-card-body {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.country-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #FF6B00, transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.country-card:hover:not(.disabled) {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 0, 0.4);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 107, 0, 0.15);
    background: rgba(30, 41, 59, 0.85);
}

.country-card:hover:not(.disabled)::before {
    opacity: 1;
}

/* Card Header */
.card-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 12px;
    width: 100%;
}

.country-identity {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1;
}

.country-flag-icon {
    width: 44px;
    height: 33px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.15);
    flex-shrink: 0;
}

.country-title-box {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.country-title-box h3 {
    font-size: 21px;
    font-weight: 800;
    margin: 0;
    color: #ffffff;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.country-title-box span {
    font-size: 12.5px;
    color: #94a3b8;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 2px;
}

.status-pill {
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    flex-shrink: 0;
}

.status-pill.live {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #4ade80;
}

.status-pill.live i {
    font-size: 8px;
    animation: pulseGlow 2s infinite;
}

.status-pill.beta {
    background: rgba(148, 163, 184, 0.15);
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: #94a3b8;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

/* Feature Micro-Badges */
.transit-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 16px;
    width: 100%;
}

.t-badge {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.t-badge i {
    font-size: 11px;
}

.card-desc {
    font-size: 13.5px;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0 0 16px 0;
    width: 100%;
}

.card-hubs {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.45;
    width: 100%;
}

.card-hubs strong {
    color: #cbd5e1;
}

/* Card Action Button */
.card-bottom-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    width: 100%;
    box-sizing: border-box;
}

.btn-open-planner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 107, 0, 0.12);
    border: 1px solid rgba(255, 107, 0, 0.3);
    color: #FF8C00;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 13.5px;
    font-weight: 700;
    transition: all 0.3s;
    text-align: center;
}

.country-card:hover:not(.disabled) .btn-open-planner {
    background: linear-gradient(90deg, #FF6B00, #ff8c00);
    color: white;
    border-color: transparent;
    transform: translateX(3px);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
}

/* Disabled Coming Soon Card */
.country-card.disabled {
    opacity: 0.55;
    cursor: not-allowed;
    filter: grayscale(40%);
}

.country-card.disabled .btn-open-planner {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #64748b;
}

/* Empty Search Results Box */
.no-results-box {
    display: none;
    text-align: center;
    padding: 50px 20px;
    background: rgba(30, 41, 59, 0.4);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    margin: 20px 0;
}

.no-results-box i {
    font-size: 36px;
    color: #64748b;
    margin-bottom: 14px;
}

.no-results-box p {
    font-size: 16px;
    color: #94a3b8;
    margin: 0 0 16px 0;
}

.btn-reset-filter {
    background: rgba(255, 107, 0, 0.15);
    border: 1px solid rgba(255, 107, 0, 0.35);
    color: #FF8C00;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-reset-filter:hover {
    background: #FF6B00;
    color: white;
}

/* Bottom Cross-Sell Banner */
.hub-esim-banner {
    margin-top: 50px;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(255, 107, 0, 0.3);
    border-radius: 20px;
    padding: 30px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.35);
    box-sizing: border-box;
}

.esim-banner-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.esim-banner-icon {
    font-size: 38px;
    color: #FF6B00;
    flex-shrink: 0;
}

.esim-banner-text h3 {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 6px 0;
}

.esim-banner-text p {
    font-size: 14px;
    color: #94a3b8;
    margin: 0;
    line-height: 1.5;
}

.btn-banner-esim {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, #FF6B00, #ff8c00);
    color: white;
    text-decoration: none;
    padding: 13px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14.5px;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 6px 18px rgba(255, 107, 0, 0.35);
    flex-shrink: 0;
}

.btn-banner-esim:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 0, 0.5);
}

/* ========================================================
   COMPREHENSIVE MOBILE & TABLET RESPONSIVE STYLES
   ======================================================== */
@media (max-width: 960px) {
    .country-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .hub-esim-banner {
        flex-direction: column;
        text-align: center;
        padding: 26px 20px;
    }
    .esim-banner-left {
        flex-direction: column;
        gap: 12px;
    }
    .btn-banner-esim {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
}

@media (max-width: 640px) {
    .hub-page-wrapper {
        padding: 100px 16px 60px 16px;
    }
    .hub-hero {
        margin-bottom: 24px;
    }
    .hub-hero h1 {
        font-size: 26px;
        line-height: 1.2;
    }
    .hub-hero p {
        font-size: 13.5px;
        margin-bottom: 20px;
    }
    .hub-search-wrapper {
        margin-bottom: 22px;
    }
    .hub-search-input {
        font-size: 15px;
        padding: 12px 36px 12px 42px;
        border-radius: 40px;
    }
    .country-grid {
        gap: 16px;
    }
    .country-card {
        padding: 18px 16px;
        border-radius: 16px;
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .card-header-row {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 12px;
        gap: 8px;
    }
    .country-identity {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .country-flag-icon {
        width: 36px;
        height: 27px;
        border-radius: 4px;
    }
    .country-title-box h3 {
        font-size: 18px;
        margin: 0;
    }
    .country-title-box span {
        font-size: 11.5px;
        margin-top: 1px;
    }
    .status-pill {
        font-size: 10.5px;
        padding: 3px 8px;
    }
    .transit-badges {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        margin-bottom: 12px;
    }
    .t-badge {
        font-size: 10.5px;
        padding: 3px 7px;
    }
    .card-desc {
        font-size: 12.5px;
        line-height: 1.45;
        margin-bottom: 10px;
    }
    .card-hubs {
        font-size: 11.5px;
        line-height: 1.4;
        margin-bottom: 14px;
    }
    .card-bottom-row {
        display: flex;
        width: 100%;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    .btn-open-planner {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 11px 16px;
        font-size: 13.5px;
        box-sizing: border-box;
        border-radius: 10px;
    }
}
