/* ============================================
   HOME PAGE - BANNER & PRICING
   ============================================ */

/* ============================================
   BANNER SECTION - Clean & No Conflicts
   ============================================ */

.banner-section {
    padding: 1.5rem 0;
    margin-top: 0;
    position: relative;
    z-index: 1; /* Normal flow, below header */
    display: block;
    visibility: visible;
    opacity: 1;
}

.banner-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    position: relative;
    display: block;
    width: 100%;
}

.banner-wrapper .owl-carousel {
    display: block;
    width: 100%;
}

.banner-wrapper .owl-stage-outer {
    overflow: hidden;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

.banner-wrapper .owl-stage {
    display: flex;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.banner-wrapper .owl-item {
    width: 100%;
    float: none;
    display: block;
    min-height: 200px;
    flex-shrink: 0;
}

.banner-wrapper .owl-carousel .item {
    width: 100%;
    display: block;
    position: relative;
    min-height: 200px;
    margin: 0;
    padding: 0;
}

.banner-wrapper .owl-carousel .item img,
.banner-wrapper .owl-item img,
.banner-wrapper img,
.banner-image {
    width: 100%;
    height: auto;
    min-height: 200px;
    max-height: 500px;
    display: block;
    visibility: visible;
    opacity: 1;
    object-fit: cover;
    object-position: center;
    position: relative;
    margin: 0;
    padding: 0;
}

/* Owl Carousel Navigation */
.banner-wrapper .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
}

.banner-wrapper .owl-nav button {
    pointer-events: all;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.95) !important;
    color: #1561ac !important;
    font-size: 1.2rem !important;
    transition: all 0.3s !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    border: none !important;
    line-height: 45px !important;
}

.banner-wrapper .owl-nav button:hover {
    background: #fff !important;
    transform: scale(1.1) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25) !important;
}

.banner-wrapper .owl-dots {
    position: absolute;
    bottom: 1rem;
    width: 100%;
    text-align: center;
    margin: 0;
}

.banner-wrapper .owl-dot {
    display: inline-block;
    margin: 0 0.3rem;
}

.banner-wrapper .owl-dot span {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.5);
    display: block;
    border-radius: 50%;
    transition: all 0.3s;
    margin: 0;
}

.banner-wrapper .owl-dot.active span {
    width: 30px;
    border-radius: 5px;
    background: #fff;
}

/* Pricing Section */
.pricing-section {
    padding: 0.75rem 0 1.75rem;
}

.pricing-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.pricing-header {
    background: #1561ac;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
}

.pricing-header::before {
    content: none;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.pricing-header i {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #fff;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.pricing-header h2 {
    margin: 0;
    font-size: 1.16rem;
    font-weight: 700;
    color: #fff;
    position: relative;
    z-index: 1;
    line-height: 1.25;
}

.pricing-header p {
    margin: 0.18rem 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.82rem;
    position: relative;
    z-index: 1;
    line-height: 1.35;
}

.pricing-body {
    padding: 0;
}

.pricing-table-responsive {
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(21, 97, 172, 0.35) rgba(21, 97, 172, 0.08);
}

.pricing-table-responsive::-webkit-scrollbar {
    height: 8px;
}

.pricing-table-responsive::-webkit-scrollbar-track {
    background: rgba(21, 97, 172, 0.08);
}

.pricing-table-responsive::-webkit-scrollbar-thumb {
    background: rgba(21, 97, 172, 0.35);
    border-radius: 999px;
}

.pricing-scroll-hint {
    display: none;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 0.9rem 0;
    color: #64748b;
    font-size: 0.78rem;
}

.pricing-table {
    width: 100%;
    min-width: 800px;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

.pricing-table thead {
    background: #eef7ff;
    border-bottom: 1px solid #d9eafb;
}

.pricing-table thead th {
    padding: 0.78rem 0.55rem;
    font-weight: 700;
    font-size: 0.82rem;
    color: #1561ac;
    text-align: center;
    border-bottom: none;
    white-space: nowrap;
}

.pricing-table thead th.card-type {
    text-align: left;
    padding-left: 1rem;
    width: 165px;
    min-width: 165px;
    position: sticky;
    left: 0;
    z-index: 3;
    background: #e5f3ff;
    box-shadow: 1px 0 0 #d9eafb;
}

.pricing-table tbody tr {
    transition: all 0.2s;
}

.pricing-table tbody tr:nth-child(even) {
    background: #fbfcfe;
}

.pricing-table tbody tr:nth-child(odd) {
    background: #fff;
}

.pricing-table tbody tr:hover {
    background: #f7fbff;
}

.pricing-table tbody td {
    padding: 0.62rem 0.5rem;
    text-align: center;
    border-bottom: 1px solid #edf1f7;
}

.pricing-table tbody td.card-name {
    text-align: left;
    padding-left: 1rem;
    font-weight: 600;
    color: #172033;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    position: sticky;
    left: 0;
    z-index: 2;
    background: inherit;
    width: 165px;
    min-width: 165px;
    box-shadow: 1px 0 0 #edf1f7;
    min-height: 56px;
}

.card-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}

.rate-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    min-height: 32px;
    padding: 0.28rem 0.58rem;
    background: #eaf3ff;
    color: #11589f;
    border: 1px solid #cfe4fb;
    border-radius: 9px;
    font-weight: 700;
    font-size: 0.84rem;
    box-shadow: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rate-badge:hover {
    background: #ddecff;
    border-color: #b9d7f8;
    color: #0d47a1;
}

/* Quick actions */
.home-actions-section {
    padding: 0 0 1rem;
}

.home-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.home-action-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 88px;
    padding: 1rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
    color: #1f2937;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-action-card:hover {
    transform: translateY(-2px);
    border-color: rgba(21, 97, 172, 0.24);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
    color: #0d47a1;
}

.home-action-card.primary {
    border-color: rgba(21, 97, 172, 0.28);
    background: linear-gradient(135deg, #f8fbff 0%, #eef6ff 100%);
}

.home-action-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    background: linear-gradient(135deg, #1561ac 0%, #0d47a1 100%);
    color: #fff;
    box-shadow: 0 6px 14px rgba(21, 97, 172, 0.24);
}

.home-action-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.home-action-content strong {
    font-size: 0.95rem;
    line-height: 1.25;
}

.home-action-content small {
    margin-top: 0.2rem;
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.35;
}

.home-action-arrow {
    margin-left: auto;
    color: #94a3b8;
    font-size: 0.85rem;
    flex: 0 0 auto;
}

.pricing-empty {
    padding: 2rem 1rem !important;
    color: #64748b;
    text-align: center !important;
}

/* Responsive - Tablet */
@media (max-width: 991px) {
    .banner-image {
        height: 320px !important;
    }

    .home-actions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .pricing-header {
        padding: 0.9rem 1rem;
    }
    
    .pricing-header h2 {
        font-size: 1.08rem;
    }
    
    .pricing-table thead th,
    .pricing-table tbody td {
        padding: 0.58rem 0.42rem;
        font-size: 0.8rem;
    }
    
    .card-icon {
        width: 24px;
        height: 24px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .banner-section {
        padding: 1.5rem 1rem;
        margin: 0;
        width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .banner-section .container.banner-container,
    .banner-section .banner-container {
        padding: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box;
    }
    
    .banner-wrapper {
        border-radius: 12px;
        margin: 0;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .banner-wrapper .owl-carousel {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .banner-wrapper .owl-stage-outer {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box;
    }
    
    .banner-wrapper .owl-stage {
        width: 100% !important;
        box-sizing: border-box;
    }
    
    .banner-wrapper .owl-carousel .item,
    .banner-wrapper .owl-item {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 220px;
        box-sizing: border-box;
    }
    
    .banner-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 220px;
        max-height: none !important;
        object-fit: cover;
        display: block;
        border-radius: 12px;
        box-sizing: border-box;
    }
    
    .banner-wrapper .owl-nav button {
        width: 38px;
        height: 38px;
        font-size: 1rem !important;
    }
    
    .banner-wrapper .owl-nav button.owl-prev {
        left: 0.5rem;
    }
    
    .banner-wrapper .owl-nav button.owl-next {
        right: 0.5rem;
    }
    
    .pricing-section {
        padding: 0.5rem 0 1.5rem;
    }

    .home-actions-section {
        padding: 0 0 0.75rem;
    }
    
    .pricing-card {
        border-radius: 12px;
    }
    
    .pricing-header {
        padding: 0.85rem 0.9rem;
    }
    
    .pricing-header i {
        width: 34px;
        height: 34px;
        border-radius: 9px;
        font-size: 1rem;
    }
    
    .pricing-header h2 {
        font-size: 1rem;
    }

    .pricing-header p {
        font-size: 0.76rem;
    }

    .pricing-scroll-hint {
        display: flex;
    }
    
    .pricing-table thead th {
        padding: 0.58rem 0.36rem;
        font-size: 0.76rem;
    }
    
    .pricing-table thead th.card-type {
        padding-left: 0.75rem;
        width: 132px;
        min-width: 132px;
    }
    
    .pricing-table tbody td {
        padding: 0.5rem 0.34rem;
    }
    
    .pricing-table tbody td.card-name {
        padding-left: 0.75rem;
        font-size: 0.8rem;
        width: 132px;
        min-width: 132px;
        min-height: 50px;
    }
    
    .card-icon {
        width: 22px;
        height: 22px;
    }
    
    .rate-badge {
        min-width: 46px;
        min-height: 29px;
        padding: 0.22rem 0.44rem;
        border-radius: 8px;
        font-size: 0.76rem;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .banner-section {
        width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .banner-wrapper {
        border-radius: 12px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .banner-wrapper .owl-carousel .item,
    .banner-wrapper .owl-item {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 200px;
        box-sizing: border-box;
    }
    
    .banner-image {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 200px;
        border-radius: 12px;
        box-sizing: border-box;
    }
    
    .pricing-card {
        border-radius: 10px;
    }

    .home-actions-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .home-action-card {
        min-height: 76px;
        padding: 0.85rem;
        border-radius: 10px;
    }

    .home-action-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }
    
    .pricing-table thead th {
        font-size: 0.72rem;
        padding: 0.52rem 0.28rem;
    }
    
    .pricing-table thead th.card-type {
        width: 112px;
        min-width: 112px;
        padding-left: 0.6rem;
    }
    
    .pricing-table tbody td {
        padding: 0.46rem 0.25rem;
    }
    
    .pricing-table tbody td.card-name {
        padding-left: 0.6rem;
        font-size: 0.76rem;
        gap: 0.42rem;
        width: 112px;
        min-width: 112px;
    }

    .pricing-table {
        min-width: 650px;
    }

    .rate-badge {
        min-width: 42px;
        min-height: 28px;
        font-size: 0.72rem;
    }
}
