* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #000;
    color: #f0f0f0;
}



img,
svg,
video {
    max-width: 100%;
    height: auto;
}

main {
    overflow: visible;
}

header {
    background: #1a1a1a;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(255, 255, 255, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.header-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
}


.header-title h1 {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}


.logo-text {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    letter-spacing: -0.5px;
}


.plan-text {
    background: linear-gradient(135deg, #4285f4 0%, #34a853 50%, #ea4335 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(66,133,244,0.3);
}


.compare-text {
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 50%, #45b7d1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(255,107,107,0.3);
}


.logo-sparkle {
    font-size: 0.8em;
    animation: sparkle 8s ease-in-out infinite;
    display: inline-block;
    filter: drop-shadow(0 0 6px rgba(255,215,0,0.6));
}


@keyframes sparkle {
    0%,100% { transform: scale(1) rotate(0deg); opacity: 0.8; }
    25% { transform: scale(1.2) rotate(90deg); opacity: 1; }
    50% { transform: scale(1.1) rotate(180deg); opacity: 0.9; }
    75% { transform: scale(1.3) rotate(270deg); opacity: 1; }
}


.last-updated {
    font-size: 0.85rem;
    color: #c9d6ff;
    opacity: 0.85;
}



.filters-container {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f1419 40%, #1e2024 100%);
    border-bottom: 1px solid rgba(66,133,244,0.2);
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}



.toggle-filters {
    display: none;
}



.filters {
    background: #1a1a1a;
    overflow: hidden;
    height: auto;
    opacity: 1;
    transition: height 0.3s ease, opacity 0.3s ease;
}





.filters {
    position: sticky;
    top: 56px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0f1419 40%, #1e2024 100%);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
    z-index: 98;
    border-bottom: 1px solid rgba(66,133,244,0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 20px rgba(66,133,244,0.05);
}


@media (max-width: 768px) {
    
    header {
        padding: 0.75rem 0.9rem;
    }
    .header-title h1 {
        font-size: 1.25rem;
    }
    
    .logo-sparkle {
        font-size: 0.7em;
    }
    
    .logo-text {
        gap: 2px;
        letter-spacing: -0.3px;
    }
    
    .last-updated {
        font-size: 0.8rem;
    }

    
    .provider-filters {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.5rem;
        margin: 0.5rem 0 0.85rem;
    }
    .provider-filters label {
        padding: 0.45rem;
    }
    .provider-logo {
        width: 30px;
        height: 30px;
    }

    .range-inputs {
        flex-direction: column;
        gap: 0.6rem;
    }

    select {
        font-size: 0.9rem;
    }
}


.filter-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
    padding: 1.5rem 1.25rem;
    background: linear-gradient(135deg, #121925 0%, #0d1117 50%, #151a28 100%);
    position: relative;
}

.filter-sections::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(66, 133, 244, 0.02) 0%, rgba(255, 64, 129, 0.02) 50%, rgba(76, 175, 80, 0.02) 100%);
    pointer-events: none;
}

.filter-group {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    padding: 1.25rem 1.25rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 
                0 0 0 1px rgba(255, 255, 255, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(66, 133, 244, 0.1);
    position: relative;
    overflow: hidden;
}

.filter-group:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 
                0 0 0 1px rgba(66, 133, 244, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(66, 133, 244, 0.3);
}

.filter-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4285f4, #ff4081, #4caf50, #ff9800);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.filter-group:hover::before {
    opacity: 0.8;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Add subtle glow animation to selected providers */
@keyframes providerGlow {
    0%, 100% { box-shadow: 0 12px 35px rgba(0,0,0,0.3), 0 0 15px rgba(66,133,244,0.2); }
    50% { box-shadow: 0 12px 35px rgba(0,0,0,0.4), 0 0 25px rgba(66,133,244,0.4); }
}

.provider-filters label[data-provider="jio"]:has(input:checked) {
    box-shadow: 0 12px 35px rgba(0,116,255,0.3), 0 0 20px rgba(0,116,255,0.2);
    animation: providerGlow 3s ease-in-out infinite;
}
.provider-filters label[data-provider="airtel"]:has(input:checked) {
    box-shadow: 0 12px 35px rgba(255,0,64,0.3), 0 0 20px rgba(255,0,64,0.2);
    animation: providerGlow 3s ease-in-out infinite;
}
.provider-filters label[data-provider="vi"]:has(input:checked) {
    box-shadow: 0 12px 35px rgba(255,204,0,0.3), 0 0 20px rgba(255,204,0,0.2);
    animation: providerGlow 3s ease-in-out infinite;
}
.provider-filters label[data-provider="bsnl"]:has(input:checked) {
    box-shadow: 0 12px 35px rgba(0,200,150,0.3), 0 0 20px rgba(0,200,150,0.2);
    animation: providerGlow 3s ease-in-out infinite;
}

.filter-group>label:first-child {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: #f5f5f5;
    letter-spacing: 0.01em;
}


[data-tooltip] {
    position: relative;
}

[data-tooltip]:after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
}

[data-tooltip]:hover:after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}


@media (max-width: 768px) {
    .filter-sections {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        padding: 0.8rem 1rem;
    }

    .filter-group {
        padding: 0.8rem 1rem;
    }

    .filter-summary {
        flex-direction: column;
        align-items: stretch;
    }

    .toggle-filters {
        width: 100%;
        justify-content: center;
    }

    .active-filters {
        max-height: 100px;
        overflow-y: auto;
        padding: 0.5rem 0;
    }
}

.provider-filters {
    display: flex;
    gap: 0.9rem;
    align-items: center;
    margin: 0.75rem 0 1rem;
}

.provider-filters label {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border: 2px solid transparent;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    min-width: 0;
    position: relative;
    overflow: hidden;
}

.provider-filters label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.provider-filters label:hover::before {
    transform: translateX(100%);
}


.provider-filters input[type="checkbox"] {
    display: none;
    margin-right: 0.75rem;
    width: 18px;
    height: 18px;
    border-radius: 4px;
}

.provider-filters input[type="checkbox"]:checked+.provider-logo {
    filter: none;
    transform: scale(1.1);
    color: #4285f4;
}

/* Brand colored provider chips - with enhanced hover effects */
.provider-filters label[data-provider="jio"] {
    background: linear-gradient(135deg, rgba(0,116,255,0.15), rgba(0,116,255,0.05));
    border-color: rgba(0,116,255,0.3);
}
.provider-filters label[data-provider="jio"]:hover {
    background: linear-gradient(135deg, rgba(0,116,255,0.25), rgba(0,116,255,0.1));
    border-color: rgba(0,116,255,0.6);
    box-shadow: 0 8px 25px rgba(0,116,255,0.2);
}

.provider-filters label[data-provider="airtel"] {
    background: linear-gradient(135deg, rgba(255,0,64,0.15), rgba(255,0,64,0.05));
    border-color: rgba(255,0,64,0.3);
}
.provider-filters label[data-provider="airtel"]:hover {
    background: linear-gradient(135deg, rgba(255,0,64,0.25), rgba(255,0,64,0.1));
    border-color: rgba(255,0,64,0.6);
    box-shadow: 0 8px 25px rgba(255,0,64,0.2);
}

.provider-filters label[data-provider="vi"] {
    background: linear-gradient(135deg, rgba(255,204,0,0.15), rgba(255,204,0,0.05));
    border-color: rgba(255,204,0,0.3);
}
.provider-filters label[data-provider="vi"]:hover {
    background: linear-gradient(135deg, rgba(255,204,0,0.25), rgba(255,204,0,0.1));
    border-color: rgba(255,204,0,0.6);
    box-shadow: 0 8px 25px rgba(255,204,0,0.2);
}

.provider-filters label[data-provider="bsnl"] {
    background: linear-gradient(135deg, rgba(0,200,150,0.15), rgba(0,200,150,0.05));
    border-color: rgba(0,200,150,0.3);
}
.provider-filters label[data-provider="bsnl"]:hover {
    background: linear-gradient(135deg, rgba(0,200,150,0.25), rgba(0,200,150,0.1));
    border-color: rgba(0,200,150,0.6);
    box-shadow: 0 8px 25px rgba(0,200,150,0.2);
}

/* Active / selected look for the entire chip */
.provider-filters label:has(input:checked) {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0,0,0,0.4), 0 0 0 3px rgba(66,133,244,0.15);
    border-width: 2px;
}

/* Brand-specific glow effects for active states */
.provider-filters label[data-provider="jio"]:has(input:checked) {
    box-shadow: 0 12px 35px rgba(0,116,255,0.3), 0 0 20px rgba(0,116,255,0.2);
}
.provider-filters label[data-provider="airtel"]:has(input:checked) {
    box-shadow: 0 12px 35px rgba(255,0,64,0.3), 0 0 20px rgba(255,0,64,0.2);
}
.provider-filters label[data-provider="vi"]:has(input:checked) {
    box-shadow: 0 12px 35px rgba(255,204,0,0.3), 0 0 20px rgba(255,204,0,0.2);
}
.provider-filters label[data-provider="bsnl"]:has(input:checked) {
    box-shadow: 0 12px 35px rgba(0,200,150,0.3), 0 0 20px rgba(0,200,150,0.2);
}

/* Make logos fully saturated when active */
.provider-filters label:has(input:checked) .provider-logo {
    filter: none;
    opacity: 1;
}

.provider-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: grayscale(80%) opacity(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.provider-filters label:hover .provider-logo {
    filter: grayscale(30%) opacity(0.95);
    transform: scale(1.05);
}

.provider-filters label,
.data-type-filters label {
    color: #f0f0f0;
}


.plan-type-filters {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 0.75rem 0 1rem;
}

.plan-type-filters label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    color: #f0f0f0;
    text-align: center;
    justify-content: center;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.plan-type-filters label::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(66, 133, 244, 0.1), transparent);
    transition: left 0.5s ease;
}

.plan-type-filters label:hover::before {
    left: 100%;
}

.plan-type-filters label:hover {
    border-color: rgba(66, 133, 244, 0.5);
    background: linear-gradient(145deg, #303030, #252525);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(66, 133, 244, 0.15);
}

.plan-type-filters input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #4285f4;
    cursor: pointer;
}

.plan-type-filters input[type="radio"]:checked+span {
    color: #4285f4;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(66, 133, 244, 0.3);
}

.plan-type-filters label:has(input:checked) {
    border-color: #4285f4;
    background: linear-gradient(145deg, #2a3f5f, #1e2d42);
    box-shadow: 0 0 0 1px rgba(66, 133, 244, 0.3), 
                0 8px 25px rgba(66, 133, 244, 0.2),
                inset 0 1px 0 rgba(66, 133, 244, 0.1);
    transform: translateY(-2px);
}

.data-type-filters {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 0.75rem 0 0;
}

.data-type-filters label {
    font-weight: normal;
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.data-type-filters label::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(76, 175, 80, 0.1), transparent);
    transition: left 0.5s ease;
}

.data-type-filters label:hover::before {
    left: 100%;
}

.data-type-filters label:hover {
    background: linear-gradient(145deg, #303030, #252525);
    border-color: rgba(76, 175, 80, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.15);
}

.data-type-filters label:has(input:checked) {
    border-color: #4caf50;
    background: linear-gradient(145deg, #2a4a2a, #1e3a1e);
    box-shadow: 0 0 0 1px rgba(76, 175, 80, 0.3), 
                0 8px 25px rgba(76, 175, 80, 0.2),
                inset 0 1px 0 rgba(76, 175, 80, 0.1);
    transform: translateY(-2px);
}

.data-type-filters input[type="checkbox"] {
    accent-color: #4caf50;
    margin-right: 0.75rem;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    cursor: pointer;
}

.range-inputs {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin: 0.75rem 0 1rem;
}

.range-inputs input {
    width: 100%;
    background: linear-gradient(145deg, #2a2a2a, #1e1e1e);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #f0f0f0;
    padding: 0.75rem;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.range-inputs input:hover {
    border-color: rgba(255, 152, 0, 0.5);
    background: linear-gradient(145deg, #303030, #252525);
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.1);
}

.range-inputs input:focus {
    border-color: #ff9800;
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.2), 
                0 8px 25px rgba(255, 152, 0, 0.15);
    outline: none;
    transform: translateY(-2px);
    background: linear-gradient(145deg, #3a3a3a, #2e2e2e);
}

select {
    width: 100%;
    appearance: none;
    background: #252525 url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23888%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E") no-repeat right 0.75rem center/10px;
    padding: 0.6rem;
    margin: 0.75rem 0 0;
    border: 1px solid #444;
    border-radius: 8px;
    color: #f0f0f0;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

select:hover {
    border-color: #4285f4;
}

select:focus {
    border-color: #4285f4;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
    outline: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.2);
}

.plans-container {
    padding: 1.5rem 1rem 1rem 1rem;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
    transition: opacity 0.3s ease;
    min-width: 0; 
}

.plans-container.filtering {
    opacity: 0.6;
}

.plan-card {
    background: linear-gradient(145deg, #1e2333 0%, #121620 50%, #151a28 100%);
    border-radius: 18px;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 8px 20px rgba(66, 133, 244, 0.1), 0 2px 8px rgba(66, 133, 244, 0.05);
    border: 1.5px solid rgba(66, 133, 244, 0.15);
    position: relative;
    transition: transform 0.3s cubic-bezier(.4, 0, .2, 1), box-shadow 0.3s cubic-bezier(.4, 0, .2, 1);
    margin-top: 35px;
    padding-top: 2.4rem;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 1.25rem;
    animation: fadeIn 0.5s cubic-bezier(.4, 0, .2, 1);
    overflow: visible;
    min-width: 0; 
    width: 100%;
}


.type-badge {
    position: absolute;
    top: -14px;
    left: 15px;
    z-index: 11;
    padding: 4px 8px;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(151, 255, 151, 0.12);
    color: #97ff97;
    backdrop-filter: blur(6px);
    letter-spacing: 0.02em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.type-badge.datapack {
    border-color: rgba(151, 255, 151, 0.35);
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4285f4 0%, #2962ff 50%, #1a47d5 100%);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 18px 18px 0 0;
    z-index: 2;
}

.plan-card:hover {
    transform: translateY(-8px) scale(1.025);
    box-shadow: 0 20px 60px rgba(66, 133, 244, 0.18), 0 8px 24px rgba(0, 0, 0, 0.28), 0 2px 8px rgba(66, 133, 244, 0.13);
    border-color: #4285f4;
}


.provider-badge {
    position: absolute;
    top: -20px;
    right: 15px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #232a3a 60%, #181c24 100%);
    padding: 7px;
    border: 2.5px solid;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25), 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
    transition: all 0.3s cubic-bezier(.4, 0, .2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.provider-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px #181c24) brightness(1.5) saturate(1.3) contrast(1.15);
    transition: filter 0.3s;
}

.plan-card:hover .provider-badge {
    transform: scale(1.18) rotate(10deg);
    box-shadow: 0 18px 40px rgba(66, 133, 244, 0.22), 0 8px 32px rgba(0, 0, 0, 0.38), 0 0 0 10px rgba(66, 133, 244, 0.10);
}

.plan-card:hover .provider-badge img {
    filter: drop-shadow(0 4px 16px #232a3a) brightness(1.7) saturate(1.5) contrast(1.2);
}

.provider-badge.jio {
    border-color: #0f3cc9;
}

.provider-badge.airtel {
    border-color: #ff0000;
}

.provider-badge.vi {
    border-color: #f9b616;
}

.provider-badge.bsnl {
    border-color: #F7A73E;
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 1.25rem;
    border-bottom: 1.5px solid rgba(66, 133, 244, 0.13);
    position: relative;
}

.plan-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40%;
    height: 2px;
    background: linear-gradient(90deg, #4285f4 0%, #2962ff 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s, width 0.3s;
    border-radius: 1px;
}

.plan-card:hover .plan-header::after {
    opacity: 1;
    width: 100%;
}

.plan-price {
    font-size: 2.1rem;
    font-weight: 900;
    background: linear-gradient(135deg, #4285f4 0%, #2962ff 50%, #1a47d5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    text-shadow: 0 0 32px rgba(66, 133, 244, 0.18);
    letter-spacing: -0.01em;
    position: relative;
}

.plan-price::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #4285f4, #2962ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.plan-card:hover .plan-price::before {
    opacity: 0.7;
}

.plan-price,
.price-per-day,
.cost-per-gb,
.plan-validity {
    word-break: break-word;
    overflow-wrap: anywhere;
}

.price-per-day {
    font-size: 1.1rem;
    color: #e6f0ff;
    margin-top: 0.5rem;
    font-weight: 600;
    opacity: 1;
    transition: color 0.3s, background 0.3s, border-color 0.3s;
    display: inline-block;
    padding: 0.2rem 0.55rem;
    background: rgba(66, 133, 244, 0.12);
    border-radius: 6px;
    border: 1px solid rgba(66, 133, 244, 0.28);
}

.cost-per-gb {
    font-size: 0.85rem;
    color: #b8c2d1;
    margin-top: 0.35rem;
    font-weight: 500;
    opacity: 0.85;
    transition: color 0.3s, background 0.3s, border-color 0.3s;
    display: inline-block;
    padding: 0.12rem 0.4rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.plan-card:hover .price-per-day {
    color: #4285f4;
}

.plan-validity {
    color: #b8b8b8;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s;
}

.plan-card:hover .plan-validity {
    background: rgba(66, 133, 244, 0.10);
    border-color: rgba(66, 133, 244, 0.22);
    color: #4285f4;
}

.plan-details {
    display: grid;
    gap: 0.9rem;
}

.data-sms-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.85rem;
    transition: all 0.3s;
    position: relative;
    flex-wrap: wrap; 
}

.data-sms-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #4285f4, #2962ff);
    border-radius: 0 2px 2px 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.plan-card:hover .data-sms-row {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(66, 133, 244, 0.18);
    transform: translateX(2px);
}

.plan-card:hover .data-sms-row::before {
    opacity: 1;
}

.plan-data,
.plan-sms {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    min-width: 0; 
}

.icon {
    color: #4285f4;
    flex-shrink: 0;
    transition: all 0.3s ease;
    width: 20px;
    height: 20px;
}

.plan-card:hover .icon {
    transform: scale(1.1);
    color: #64b5f6;
}


.data-sms-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.85rem;
    transition: all 0.3s;
    position: relative;
    flex-wrap: wrap;
    width: 100%;
}


.data-type-unlimited,
.data-type-daily,
.data-type-total {
    font-weight: 600;
    color: #f0f0f0;
    margin-left: 0.3rem;
}

.plan-details div {
    margin-bottom: 0;
    padding: 0.85rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s;
    position: relative;
}

.plan-benefits {
    padding-bottom: 0.65rem !important;
}

.plan-details div::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #4285f4, #2962ff);
    border-radius: 0 2px 2px 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.plan-card:hover .plan-details div::before {
    opacity: 1;
}

.plan-card:hover .plan-details>div:not(.data-sms-row) {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(66, 133, 244, 0.18);
    transform: translateX(2px);
}



.plan-card:hover .benefits-list li {
    color: #f0f0f0;
}

.benefits-list li:hover {
    background: rgba(66, 133, 244, 0.08);
    white-space: normal;
}

.plan-card:hover .benefits-list li::before {
    color: #64b5f6;
    transform: scale(1.15) translateX(1px);
}




::placeholder {
    color: #888;
    
}


::selection {
    background: #1a73e8;
    color: #ffffff;
}


input:focus,
select:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #4285f4, #2962ff);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, #2962ff, #1a47d5);
    transform: translateY(-2px);
}

.data-type-filters label.active,
.provider-filters label.active {
    border-color: #4285f4;
    background: linear-gradient(145deg, #1e1e1e, #252525);
    box-shadow: inset 0 0 0 1px rgba(66, 133, 244, 0.2);
}

.info-button {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.info-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.info-panel {
    position: fixed;
    top: 0;

/* Accent heading bar for each filter group */
.filter-group > label:first-child {
    position: relative;
}

.filter-group > label:first-child:before {
    content: "";
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 34px;
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(66,133,244,0.9), rgba(102,126,234,0.6));
}

.filter-group h3,
.filter-group label[role="heading"] {
    color: #e6f0ff;
}

/* Slight color variations for headings to increase contrast */
.filter-group {
    border: 1px solid rgba(255,255,255,0.03);
}
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.info-panel.active {
    display: flex;
}

.info-content {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    position: relative;
    width: 90%;
    max-width: 500px;
    border: 1px solid #333;
}

.close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px 12px;
    border-radius: 4px;
}

.close-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.info-content h2 {
    margin-bottom: 1rem;
    color: #fff;
}

.info-content h3 {
    margin: 1.5rem 0 0.5rem;
    color: #4285f4;
}

.contact-section {
    margin: 1.5rem 0;
}

.telegram-link,
.github-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #4285f4;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 4px;
    margin: 0.5rem 0;
    transition: all 0.2s ease;
}

.telegram-link:hover,
.github-link:hover {
    background: rgba(66, 133, 244, 0.1);
}

.credits {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
    text-align: center;
    color: #9e9e9e;
}

.credits a {
    color: #4285f4;
    text-decoration: none;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }

    .plans-container {
        padding: 1.5rem 0.8rem 1rem 0.8rem;
        gap: 1.2rem;
    }

    .plan-card {
        margin-top: 35px;
        padding: 1.2rem 1rem 1rem 1rem;
    }

    .provider-badge {
        top: -20px;
        right: 10px;
        width: 42px;
        height: 42px;
    }

    .plan-price {
        font-size: 1.8rem;
    }
    .price-per-day {
        font-size: 0.95rem;
    }
    .plan-validity {
        font-size: 0.9rem;
        padding: 0.45rem 0.8rem;
    }
    .data-sms-row {
        padding: 0.75rem;
    }
    .plan-details {
        gap: 0.75rem;
    }
}


@media (max-width: 342px) {
    .provider-filters {
        gap: 0.45rem;
    }
    .provider-filters label {
        padding: 0.4rem;
    }
    .provider-logo {
        width: 28px;
        height: 28px;
    }
    .plan-price {
        font-size: 1.6rem;
    }

    
    .plan-card:hover {
        transform: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 8px 20px rgba(66, 133, 244, 0.1), 0 2px 8px rgba(66, 133, 244, 0.05);
        border-color: rgba(66, 133, 244, 0.15);
    }
    .plan-card:hover .provider-badge {
        transform: none;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25), 0 3px 10px rgba(0, 0, 0, 0.2);
    }
    .plan-data,
    .plan-sms {
        flex: 1 1 100%;
        justify-content: space-between;
    }
    .cost-per-gb {
        display: block;
        margin-top: 0.35rem;
    }
}


.info-content {
    max-height: 90vh;
    overflow-y: auto;
}

@media (min-width: 768px) {
    .plans-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .plans-container {
        grid-template-columns: repeat(3, 1fr);
    }
}


.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #333;
    border-radius: 50%;
    border-top-color: #4285f4;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}


.no-results {
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
    font-size: 1.1rem;
}

.no-results svg {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    opacity: 0.5;
}




.data-type-daily,
.data-type-total,
.data-type-unlimited {
    font-weight: 500;
    margin-left: 0.3rem;
}

.data-type-daily {
    color: #ba8fff;
}

.data-type-total {
    color: #f9f260;
}

.data-type-unlimited {
    color: #97ff97;
}


.benefits-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}

.show-more-benefits {
    font-size: 0.75rem;
    color: #4285f4;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    background: rgba(66, 133, 244, 0.1);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.show-more-benefits:hover {
    background: rgba(66, 133, 244, 0.2);
}

.benefits-list {
    list-style: none;
    margin-top: 0.25rem;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.benefits-list li {
    padding: 0.15rem 0.1rem;
    color: #c5c5c5;
    font-size: 0.85rem;
    position: relative;
    padding-left: 1.4em;
    line-height: 1.2;
    transition: all 0.25s ease;
    border-radius: 4px;
}

.benefits-list li::before {
    content: '•';
    position: absolute;
    left: 0.5rem;
    color: #4285f4;
    font-size: 0.8rem;
    top: 0.15rem;
    transition: all 0.25s ease;
}

.all-benefits-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.all-benefits-list li {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    position: relative;
    padding-left: 1.75rem;
    line-height: 1.4;
}

.all-benefits-list li::before {
    content: '•';
    position: absolute;
    left: 0.75rem;
    color: #4285f4;
    font-weight: bold;
}