/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #F8FAFC;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0B3C49 0%, #1E3A8A 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: #00A86B;
    color: white;
}

.btn-primary:hover {
    background-color: #008F5A;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 168, 107, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #0B3C49;
    transform: translateY(-2px);
}

/* Main Content */
.main-content {
    padding: 60px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: #1f2937;
}

.section-description {
    text-align: center;
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Comparison Section */
.comparison-section {
    margin-bottom: 80px;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 60px 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #00A86B;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Table Controls */
.table-controls {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1rem;
    background-color: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.filter-controls {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
    min-width: 200px;
}

.filter-controls label {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.filter-controls select {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    background-color: white;
    width: 100%;
    transition: border-color 0.3s ease;
}

.filter-controls select:focus {
    outline: none;
    border-color: #00A86B;
    box-shadow: 0 0 0 3px rgba(0, 168, 107, 0.1);
}

.sort-controls {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
    min-width: 200px;
}

.sort-controls span {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.sort-buttons-container {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.sort-btn {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    background-color: white;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 90px;
    min-height: 44px; /* Minimum touch target size */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.sort-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 168, 107, 0.1), transparent);
    transition: left 0.5s ease;
}

.sort-btn:hover::before {
    left: 100%;
}

.sort-btn:hover,
.sort-btn.active {
    border-color: #00A86B;
    background-color: #00A86B;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 168, 107, 0.2);
}

/* Touch-friendly interactions */
@media (hover: none) and (pointer: coarse) {
    .sort-btn:hover {
        transform: none;
        box-shadow: none;
    }
    
    .sort-btn:active {
        transform: scale(0.98);
        background-color: #008F5A;
    }
    
    .filter-controls select:active {
        transform: scale(0.98);
    }
    
    .action-btn:active {
        transform: scale(0.95);
    }
}

/* Table Styles */
.table-wrapper {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    overflow-x: auto;
    position: relative;
}

/* Mobile-first table approach */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
    scroll-behavior: smooth;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Responsive behavior */
@media (max-width: 768px) {
    .table-responsive {
        display: none !important;
    }
    
    .mobile-cards-container {
        display: block !important;
    }
}

@media (min-width: 769px) {
    .mobile-cards-container {
        display: none !important;
    }
    
    .table-responsive {
        display: block !important;
    }
}

/* Scroll indicators */
.table-responsive::before {
    content: "← Swipe to see more →";
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #00A86B;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(0, 168, 107, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

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

.table-responsive::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 6px;
    margin: 0 20px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #00A86B, #00C978);
    border-radius: 6px;
    border: 2px solid #f1f5f9;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #008F5A, #00A86B);
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 168, 107, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(0, 168, 107, 0.3);
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 200px;
    justify-content: center;
}

.scroll-progress-bar {
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.scroll-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: white;
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 0%;
}

.scroll-progress-text {
    font-size: 0.75rem;
    white-space: nowrap;
}

.comparison-table {
    width: 100%;
    min-width: 800px; /* Ensure minimum width for proper display */
    border-collapse: collapse;
    font-size: 0.9rem;
    table-layout: fixed; /* Helps with consistent column widths */
}

/* Column width distribution */
.comparison-table th:nth-child(1),
.comparison-table td:nth-child(1) { width: 25%; } /* Provider */

.comparison-table th:nth-child(2),
.comparison-table td:nth-child(2) { width: 12%; } /* Speed */

.comparison-table th:nth-child(3),
.comparison-table td:nth-child(3) { width: 15%; } /* Price */

.comparison-table th:nth-child(4),
.comparison-table td:nth-child(4) { width: 12%; } /* Contract */

.comparison-table th:nth-child(5),
.comparison-table td:nth-child(5) { width: 21%; } /* Promotion */

.comparison-table th:nth-child(6),
.comparison-table td:nth-child(6) { width: 15%; } /* Action */

.comparison-table th {
    background-color: #f8fafc;
    padding: 16px 12px;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border-bottom: 2px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 10;
}

.comparison-table th.sortable {
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
}

.comparison-table th.sortable:hover {
    background-color: #e5e7eb;
}

.comparison-table th.sortable::after {
    content: ' ↕';
    opacity: 0.5;
    margin-left: 0.5rem;
}

.comparison-table th.sort-asc::after {
    content: ' ↑';
    opacity: 1;
}

.comparison-table th.sort-desc::after {
    content: ' ↓';
    opacity: 1;
}

.comparison-table td {
    padding: 16px 12px;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

.comparison-table tr:hover {
    background-color: #f8fafc;
}

.provider-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 200px;
    padding: 4px 0;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 8px;
    position: relative;
}

.provider-cell:hover {
    background-color: rgba(0, 168, 107, 0.05);
    transform: translateX(2px);
}

.provider-logo {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #374151;
    flex-shrink: 0;
    border: 2px solid #d1d5db;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.provider-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.provider-logo-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00A86B 0%, #00C978 100%);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
}

.provider-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease;
}

.provider-cell:hover .provider-logo::before {
    left: 100%;
}

.provider-cell:hover .provider-logo {
    border-color: #00A86B;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 168, 107, 0.2);
}

.provider-info {
    flex: 1;
    min-width: 0;
    position: relative;
}

.provider-info h4 {
    font-weight: 700;
    margin-bottom: 0.125rem;
    color: #1f2937;
    font-size: 1rem;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.provider-cell:hover .provider-info h4 {
    color: #00A86B;
}

.provider-info p {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.provider-cell:hover .provider-info p {
    color: #374151;
}

.speed-cell {
    font-weight: 600;
    color: #1f2937;
}

.price-cell {
    font-weight: 700;
    color: #00A86B;
    font-size: 1.1rem;
}

.contract-cell {
    color: #6b7280;
}

.promotion-cell {
    max-width: 250px;
    min-width: 180px;
    position: relative;
}

.promotion-badge {
    background-color: #fef3c7;
    color: #92400e;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1px solid #fbbf24;
    transition: all 0.3s ease;
}

.promotion-badge:hover {
    background-color: #fde68a;
    transform: scale(1.02);
}

/* Tooltip styling for promotion badges */
.promotion-badge[title]:hover::after {
    content: attr(title);
    position: absolute;
    background-color: #1f2937;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 1000;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.promotion-badge[title]:hover::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: #1f2937;
    z-index: 1000;
    pointer-events: none;
}

.action-cell {
    text-align: center;
}

.action-btn {
    background: linear-gradient(135deg, #00A86B 0%, #00C978 100%);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 110px;
    min-height: 44px; /* Minimum touch target size */
    white-space: nowrap;
    box-shadow: 0 3px 6px rgba(0, 168, 107, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.action-btn:hover::before {
    left: 100%;
}

.action-btn:hover {
    background: linear-gradient(135deg, #008F5A 0%, #00A86B 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 16px rgba(0, 168, 107, 0.3);
}

.action-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 4px rgba(0, 168, 107, 0.2);
}

/* SEO Editorial Content */
.seo-content {
    background-color: white;
    padding: 60px 0;
    border-top: 1px solid #e5e7eb;
}

.seo-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.seo-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #374151;
    margin: 2.5rem 0 1rem;
    line-height: 1.4;
}

.seo-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.seo-content ul {
    margin: 1.5rem 0;
    padding-left: 0;
    list-style: none;
}

.seo-content li {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.seo-content li::before {
    content: '•';
    color: #00A86B;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.seo-content strong {
    color: #1f2937;
    font-weight: 600;
}

/* Last Updated Display */
.last-updated {
    background: linear-gradient(135deg, #0B3C49 0%, #1E3A8A 100%);
    color: white;
    padding: 1rem 0;
    text-align: center;
    font-size: 0.9rem;
}

.last-updated p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.last-updated i {
    opacity: 0.8;
}

/* FAQ Section */
.faq-section {
    background-color: #f8fafc;
    padding: 80px 0;
    border-top: 1px solid #e5e7eb;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f8fafc;
}

.faq-question:focus {
    outline: 2px solid #00A86B;
    outline-offset: -2px;
}

.faq-question i {
    color: #00A86B;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 24px 24px;
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #4b5563;
}

/* Features Section */
.features-section {
    background-color: white;
    padding: 80px 0;
    margin-top: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background-color: #f8fafc;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #00A86B;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 168, 107, 0.15);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Error State */
.error-state {
    text-align: center;
    padding: 60px 0;
    color: #dc2626;
}

/* Footer */
.footer {
    background-color: #1f2937;
    color: white;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #00A86B;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .table-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
        padding: 1.5rem;
        margin: 0 -15px 2rem;
        border-radius: 0;
        background-color: white;
        border-left: none;
        border-right: none;
        border-top: 1px solid #e5e7eb;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .filter-controls {
        min-width: unset;
    }
    
    .filter-controls select {
        font-size: 1.1rem;
        padding: 14px 16px;
        border-radius: 10px;
        border: 2px solid #e5e7eb;
    }
    
    .sort-controls {
        min-width: unset;
    }
    
    .sort-buttons-container {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 0.75rem;
    }
    
    .sort-btn {
        padding: 14px 12px;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 10px;
        min-width: unset;
        flex: unset;
    }
    
    .table-wrapper {
        margin: 0 -15px;
        border-radius: 0;
    }
    
    .comparison-table {
        font-size: 0.85rem;
        min-width: 700px;
        table-layout: fixed;
    }
    
    /* Mobile column width adjustments */
    .comparison-table th:nth-child(1),
    .comparison-table td:nth-child(1) { width: 30%; } /* Provider - more space */
    
    .comparison-table th:nth-child(2),
    .comparison-table td:nth-child(2) { width: 12%; } /* Speed */
    
    .comparison-table th:nth-child(3),
    .comparison-table td:nth-child(3) { width: 15%; } /* Price */
    
    .comparison-table th:nth-child(4),
    .comparison-table td:nth-child(4) { width: 12%; } /* Contract */
    
    .comparison-table th:nth-child(5),
    .comparison-table td:nth-child(5) { width: 16%; } /* Promotion - less space */
    
    .comparison-table th:nth-child(6),
    .comparison-table td:nth-child(6) { width: 15%; } /* Action */
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 10px;
        white-space: nowrap;
    }
    
    .comparison-table th:first-child,
    .comparison-table td:first-child {
        position: sticky;
        left: 0;
        background-color: #f8fafc;
        z-index: 5;
        border-right: 2px solid #e5e7eb;
        box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    }
    
    .comparison-table td:first-child {
        background-color: white;
    }
    
    .comparison-table tr:hover td:first-child {
        background-color: #f8fafc;
    }
    
    /* Enhanced mobile scroll indicator */
    .table-responsive::before {
        content: "👈 Scroll for more options 👈";
        font-size: 0.75rem;
        padding: 6px 12px;
        top: -30px;
        animation: bounce 1.5s infinite;
    }
    
    @keyframes bounce {
        0%, 100% { transform: translateX(-50%) translateY(0); }
        50% { transform: translateX(-50%) translateY(-3px); }
    }
    
    .provider-cell {
        flex-direction: row;
        align-items: flex-start;
        gap: 0.6rem;
        min-width: 180px;
    }
    
    .provider-logo {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
        flex-shrink: 0;
    }
    
    .provider-info h4 {
        font-size: 0.9rem;
        margin-bottom: 0.1rem;
        line-height: 1.2;
    }
    
    .provider-info p {
        font-size: 0.75rem;
        line-height: 1.3;
    }
    
    .promotion-cell {
        max-width: 180px;
        min-width: 140px;
    }
    
    .promotion-badge {
        font-size: 0.8rem;
        padding: 5px 8px;
        white-space: nowrap;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
    }
    
    .action-btn {
        padding: 8px 14px;
        font-size: 0.85rem;
        min-width: 90px;
        white-space: nowrap;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* SEO Content Mobile */
    .seo-content {
        padding: 40px 0;
    }
    
    .seo-content h2 {
        font-size: 1.75rem;
    }
    
    .seo-content h3 {
        font-size: 1.25rem;
        margin: 2rem 0 0.75rem;
    }
    
    .seo-content p,
    .seo-content li {
        font-size: 1rem;
    }
    
    /* FAQ Mobile */
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-question {
        padding: 16px 20px;
        font-size: 1rem;
    }
    
    .faq-answer p {
        padding: 0 20px 20px;
        font-size: 0.95rem;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .main-content {
        padding: 40px 0;
    }
    
    .table-controls {
        padding: 1rem;
        gap: 1.25rem;
        margin: 0 -15px 2rem;
    }
    
    .filter-controls label,
    .sort-controls span {
        font-size: 0.95rem;
        font-weight: 700;
    }
    
    .filter-controls select {
        font-size: 1.05rem;
        padding: 12px 14px;
    }
    
    .sort-buttons-container {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .sort-btn {
        padding: 12px 8px;
        font-size: 0.95rem;
    }
    
    /* Hide one sort button on very small screens */
    .sort-btn:nth-child(3) {
        grid-column: 1 / -1;
        margin-top: 0.25rem;
    }
    
    .table-wrapper {
        margin: 0 -15px;
    }
    
    .comparison-table {
        font-size: 0.8rem;
        min-width: 600px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
    }
    
    .provider-cell {
        min-width: 160px;
        gap: 0.5rem;
    }
    
    .provider-logo {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
    
    .provider-info h4 {
        font-size: 0.85rem;
        line-height: 1.1;
    }
    
    .provider-info p {
        font-size: 0.7rem;
        line-height: 1.2;
    }
    
    .promotion-cell {
        max-width: 160px;
        min-width: 120px;
    }
    
    .promotion-badge {
        font-size: 0.75rem;
        padding: 4px 6px;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
    }
    
    .action-btn {
        padding: 10px 14px;
        font-size: 0.8rem;
        min-width: 90px;
        min-height: 40px;
    }
    
    /* Ultra small mobile enhancements */
    .table-responsive::before {
        content: "👈 Swipe →";
        font-size: 0.7rem;
        padding: 4px 8px;
        top: -25px;
    }
    
    .provider-cell {
        min-width: 140px;
        gap: 0.4rem;
    }
    
    .provider-logo {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }
    
    .provider-info h4 {
        font-size: 0.8rem;
        line-height: 1.1;
    }
    
    .provider-info p {
        font-size: 0.7rem;
    }
    
    /* SEO Content Extra Small */
    .seo-content {
        padding: 30px 0;
    }
    
    .seo-content h2 {
        font-size: 1.5rem;
    }
    
    .seo-content h3 {
        font-size: 1.1rem;
        margin: 1.5rem 0 0.5rem;
    }
    
    .seo-content p,
    .seo-content li {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* FAQ Extra Small */
    .faq-section {
        padding: 50px 0;
    }
    
    .faq-question {
        padding: 14px 16px;
        font-size: 0.95rem;
    }
    
    .faq-answer p {
        padding: 0 16px 16px;
        font-size: 0.9rem;
    }
}

/* Ultra small screens */
@media (max-width: 360px) {
    .sort-buttons-container {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .sort-btn {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .sort-btn:nth-child(3) {
        grid-column: 1;
        margin-top: 0;
    }
    
    .filter-controls select {
        font-size: 1rem;
        padding: 10px 12px;
    }
    
    .table-controls {
        padding: 0.75rem;
        gap: 1rem;
    }
}

/* Mobile table enhancements */
@media (max-width: 768px) {
    .table-responsive {
        position: relative;
    }
    
    .table-responsive::before {
        content: '← Swipe to see more →';
        position: absolute;
        top: 10px;
        right: 20px;
        background: rgba(0, 168, 107, 0.1);
        color: #00A86B;
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 0.75rem;
        font-weight: 500;
        z-index: 10;
        pointer-events: none;
    }
}

/* Tablet optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    .comparison-table {
        font-size: 0.95rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 14px 10px;
    }
    
    .provider-cell {
        min-width: 220px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
.btn:focus,
.sort-btn:focus,
.action-btn:focus,
.filter-controls select:focus {
    outline: 2px solid #00A86B;
    outline-offset: 2px;
}

.comparison-table th.sortable:focus {
    outline: 2px solid #00A86B;
    outline-offset: -2px;
}

/* Provider Confirmation Modal */
.provider-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 0;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 24px;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.modal-body {
    padding: 0 24px 24px;
}

.provider-summary {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.provider-logo-large {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00A86B 0%, #00C978 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 168, 107, 0.3);
}

.provider-details h4 {
    margin: 0 0 8px 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

.plan-name {
    margin: 0 0 8px 0;
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
}

.price-highlight {
    margin: 0 0 8px 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #00A86B;
}

.contract-info {
    margin: 0 0 8px 0;
    font-size: 0.9rem;
    color: #6b7280;
}

.promotion-info {
    margin: 0;
    font-size: 0.9rem;
    color: #00A86B;
    font-weight: 600;
    background: rgba(0, 168, 107, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-bottom: 16px;
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
}

.btn-primary {
    background: linear-gradient(135deg, #00A86B 0%, #00C978 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 168, 107, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #008F5A 0%, #00A86B 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 168, 107, 0.3);
}

.modal-footer {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.modal-footer p {
    margin: 0;
    color: #6b7280;
    font-size: 0.85rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile modal adjustments */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20px;
        text-align: center;
    }
    
    .modal-header {
        padding: 20px 20px 0;
        text-align: center;
    }
    
    .modal-header h3 {
        text-align: center;
    }
    
    .modal-body {
        padding: 0 20px 20px;
        text-align: center;
    }
    
    .provider-summary {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        align-items: center;
    }
    
    .provider-logo-large {
        align-self: center;
        margin: 0 auto;
    }
    
    .provider-info {
        text-align: center;
        width: 100%;
    }
    
    .provider-info h4 {
        text-align: center;
    }
    
    .provider-info p {
        text-align: center;
    }
    
    .modal-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-secondary,
    .btn-primary {
        width: 100%;
        padding: 14px 24px;
    }
}

/* Extra small mobile modal adjustments */
@media (max-width: 480px) {
    .modal-content {
        width: 98%;
        margin: 10px;
    }
    
    .modal-header {
        padding: 15px 15px 0;
    }
    
    .modal-body {
        padding: 0 15px 15px;
    }
    
    .provider-summary {
        gap: 8px;
    }
    
    .provider-logo-large {
        width: 60px;
        height: 60px;
    }
    
    .provider-info h4 {
        font-size: 1.1rem;
    }
    
    .provider-info p {
        font-size: 0.9rem;
    }
    
    .btn-secondary,
    .btn-primary {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

/* Mobile Cards Container */
.mobile-cards-container {
    display: none; /* Hidden by default, shown on mobile */
}

/* Mobile cards are shown by media query above */

.mobile-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.mobile-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom: 1px solid #e5e7eb;
}

.mobile-card-logo {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00A86B 0%, #00C978 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 168, 107, 0.3);
    position: relative;
    overflow: hidden;
}

.mobile-card-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.mobile-card-logo-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00A86B 0%, #00C978 100%);
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 10px;
}

.mobile-card-info h3 {
    margin: 0 0 4px 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
}

.mobile-card-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
}

.mobile-card-price {
    margin-left: auto;
    text-align: right;
}

.mobile-card-price .price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #00A86B;
    margin: 0;
}

.mobile-card-price .period {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0;
}

.mobile-card-body {
    padding: 20px;
}

.mobile-card-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.mobile-card-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-card-detail-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-card-detail-value {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
}

.mobile-card-promotion {
    background: linear-gradient(135deg, rgba(0, 168, 107, 0.1) 0%, rgba(0, 201, 120, 0.1) 100%);
    border: 1px solid rgba(0, 168, 107, 0.2);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 20px;
    text-align: center;
}

.mobile-card-promotion .promotion-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #00A86B;
    margin: 0;
}

.mobile-card-action {
    width: 100%;
    background: linear-gradient(135deg, #00A86B 0%, #00C978 100%);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 168, 107, 0.2);
    position: relative;
    overflow: hidden;
}

.mobile-card-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.mobile-card-action:hover::before {
    left: 100%;
}

.mobile-card-action:hover {
    background: linear-gradient(135deg, #008F5A 0%, #00A86B 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 168, 107, 0.3);
}

.mobile-card-action:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 168, 107, 0.2);
}

/* Mobile cards responsive adjustments */
@media (max-width: 480px) {
    .mobile-card-header {
        padding: 16px;
        gap: 10px;
    }
    
    .mobile-card-logo {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
    
    .mobile-card-info h3 {
        font-size: 1rem;
    }
    
    .mobile-card-info p {
        font-size: 0.85rem;
    }
    
    .mobile-card-price .price {
        font-size: 1.2rem;
    }
    
    .mobile-card-body {
        padding: 16px;
    }
    
    .mobile-card-details {
        gap: 12px;
        margin-bottom: 16px;
    }
    
    .mobile-card-action {
        padding: 14px 20px;
        font-size: 0.95rem;
    }
}

/* No promotion styling */
.mobile-card-no-promotion {
    display: none;
}

/* Fiber Internet Price Calculator */
.calculator-section {
    background-color: #F8FAFC;
    padding: 80px 0;
}

.calculator-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.calculator-form {
    padding: 40px;
}

.calculator-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.input-group select {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    transition: all 0.2s ease;
    cursor: pointer;
}

.input-group select:focus {
    outline: none;
    border-color: #00A86B;
    box-shadow: 0 0 0 3px rgba(0, 168, 107, 0.1);
}

.input-group select:hover {
    border-color: #d1d5db;
}

.checkbox-group {
    grid-column: 1 / -1;
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 500;
    color: #374151;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 4px;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #00A86B;
    border-color: #00A86B;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.calculator-actions {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.calculator-btn {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 200px;
    justify-content: center;
}

.calculator-btn i {
    font-size: 1rem;
}

.calculator-results {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-top: 1px solid #e5e7eb;
    padding: 40px;
}

.results-header {
    text-align: center;
    margin-bottom: 32px;
}

.results-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.results-content {
    display: grid;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.result-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.result-label {
    font-weight: 600;
    color: #6b7280;
    font-size: 0.9rem;
}

.result-value {
    font-weight: 700;
    color: #1f2937;
    font-size: 1.1rem;
}

.result-total {
    color: #00A86B;
    font-size: 1.3rem;
}

.result-promotion {
    color: #00A86B;
    font-style: italic;
}

.result-savings {
    color: #10b981;
    font-weight: 700;
}

.promotion-item {
    background: linear-gradient(135deg, rgba(0, 168, 107, 0.1) 0%, rgba(0, 201, 120, 0.1) 100%);
    border: 1px solid rgba(0, 168, 107, 0.2);
}

.savings-item {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(34, 197, 94, 0.1) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.results-footer {
    margin-top: 32px;
    text-align: center;
}

.disclaimer {
    margin: 0;
    font-size: 0.85rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.disclaimer i {
    color: #00A86B;
}

/* Mobile Calculator Responsive */
@media (max-width: 768px) {
    .calculator-section {
        padding: 40px 0;
    }
    
    .calculator-form {
        padding: 24px;
    }
    
    .calculator-inputs {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .calculator-actions {
        margin-top: 20px;
    }
    
    .calculator-btn {
        width: 100%;
        min-width: auto;
    }
    
    .calculator-results {
        padding: 24px;
    }
    
    .results-header h3 {
        font-size: 1.3rem;
    }
    
    .result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 16px;
    }
    
    .result-label {
        font-size: 0.85rem;
    }
    
    .result-value {
        font-size: 1rem;
    }
    
    .result-total {
        font-size: 1.2rem;
    }
    
    .disclaimer {
        font-size: 0.8rem;
        flex-direction: column;
        gap: 4px;
    }
}

@media (max-width: 480px) {
    .calculator-form {
        padding: 20px;
    }
    
    .calculator-results {
        padding: 20px;
    }
    
    .input-group select {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
    
    .calculator-btn {
        padding: 14px 24px;
        font-size: 1rem;
    }
}

/* Speed Test Section */
.speed-test-section {
    background: linear-gradient(135deg, #0B3C49 0%, #1E3A8A 100%);
    color: white;
    padding: 80px 0;
    position: relative;
}

.speed-test-section .section-title {
    color: white;
    text-align: center;
    margin-bottom: 16px;
}

.speed-test-section .section-description {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.speed-test-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.speedtest-widget {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.speedtest-card {
    text-align: center;
    width: 100%;
}

.speedtest-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00A86B 0%, #00995F 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 4px 16px rgba(0, 168, 107, 0.3);
}

.speedtest-icon i {
    font-size: 2rem;
    color: white;
}

.speedtest-card h3 {
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.speedtest-card p {
    color: #6b7280;
    font-size: 1rem;
    margin-bottom: 32px;
    line-height: 1.6;
}

.speedtest-features {
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #374151;
    font-size: 0.95rem;
}

.feature-item i {
    color: #00A86B;
    font-size: 1rem;
}

.speedtest-launch-btn {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    min-width: 200px;
    justify-content: center;
}

.speedtest-launch-btn i {
    font-size: 1rem;
}

.speedtest-alternatives {
    border-top: 1px solid #e5e7eb;
    padding-top: 24px;
}

.speedtest-alternatives p {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.alternative-links {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.alternative-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #374151;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.alternative-link:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
    color: #1f2937;
}

.alternative-link i {
    color: #00A86B;
}

.speedtest-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    max-width: 300px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.message-content {
    padding: 20px;
    text-align: center;
}

.message-content i {
    color: #00A86B;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.message-content p {
    color: #374151;
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.message-content button {
    background: #00A86B;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.message-content button:hover {
    background: #00995F;
}

.speedtest-loading {
    text-align: center;
    color: #6b7280;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #00A86B;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.speed-test-info {
    padding: 32px;
}

.speed-test-info h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.speed-test-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
}

.speed-test-info li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.speed-test-info li i {
    color: #00A86B;
    font-size: 1.1rem;
}

.speed-test-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.speed-test-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.speedtest-error {
    text-align: center;
    color: #6b7280;
    padding: 32px;
}

.speedtest-error i {
    font-size: 3rem;
    color: #f59e0b;
    margin-bottom: 16px;
}

.speedtest-error p {
    margin-bottom: 24px;
    font-size: 1.1rem;
}

/* Mobile Speed Test Responsive */
@media (max-width: 768px) {
    .speed-test-section {
        padding: 40px 0;
    }
    
    .speed-test-container {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 16px;
    }
    
    .speedtest-widget {
        padding: 24px;
        min-height: 300px;
    }
    
    .speed-test-info {
        padding: 24px;
    }
    
    .speed-test-info h3 {
        font-size: 1.3rem;
    }
    
    .speed-test-close {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .speed-test-section {
        padding: 32px 0;
    }
    
    .speed-test-container {
        gap: 24px;
    }
    
    .speedtest-widget {
        padding: 20px;
        min-height: 250px;
    }
    
    .speed-test-info {
        padding: 20px;
    }
}

/* Mobile Page Specific Styles */
.mobil-hero {
    background: linear-gradient(135deg, #1E3A8A 0%, #0B3C49 100%);
}

/* TV Page Specific Styles */
.tv-hero {
    background: linear-gradient(135deg, #1E3A8A 0%, #0B3C49 100%);
}

.mobil-hero .hero-title {
    background: linear-gradient(45deg, #ffffff, #e0f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile Table Styles */
.mobil-table th,
.mobil-table td {
    padding: 12px 8px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.mobil-table .data-cell {
    font-weight: 600;
    color: #1f2937;
}

.mobil-table .roaming-cell {
    text-align: center;
}

.mobil-table .roaming-cell .text-success {
    color: #10b981;
}

.mobil-table .roaming-cell .text-danger {
    color: #ef4444;
}

.mobil-table .family-cell {
    font-size: 0.9rem;
    max-width: 150px;
    word-wrap: break-word;
}

.mobil-table .contract-cell {
    text-align: center;
    font-weight: 500;
}

/* TV Table Styles */
.tv-table th,
.tv-table td {
    padding: 12px 8px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.tv-table .channels-cell {
    font-weight: 600;
    color: #1f2937;
    text-align: center;
}

.tv-table .package-cell {
    font-weight: 500;
    color: #374151;
}

.tv-table .contract-cell {
    text-align: center;
    font-weight: 500;
}

.tv-table .category-cell {
    text-align: center;
}

/* Category Badges */
.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
}

.category-basis {
    background-color: #f3f4f6;
    color: #374151;
}

.category-film-&-serier {
    background-color: #fef3c7;
    color: #92400e;
}

.category-sport {
    background-color: #dbeafe;
    color: #1e40af;
}

.category-all-inclusive {
    background-color: #fce7f3;
    color: #be185d;
}

.category-sport-&-film {
    background-color: #e0e7ff;
    color: #3730a3;
}

/* Package Calculator Styles */
.package-calculator-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.package-calculator-close:hover {
    background-color: #f3f4f6;
    color: #374151;
}

/* Provider Links */
.provider-link {
    color: #1f2937;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.provider-link:hover {
    color: #00A86B;
    text-decoration: underline;
}

.provider-link:focus {
    outline: 2px solid #00A86B;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Mobile Card Styles for Mobile Plans */
.mobile-card .mobile-card-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.mobile-card .mobile-card-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-card .mobile-card-detail-label {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
}

.mobile-card .mobile-card-detail-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
}

.mobile-card .mobile-card-detail-value .text-success {
    color: #10b981;
}

.mobile-card .mobile-card-detail-value .text-danger {
    color: #ef4444;
}

/* Data Calculator Styles */
.data-calculator-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.data-calculator-close:hover {
    background-color: #f3f4f6;
    color: #374151;
}

.calculator-inputs input[type="number"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.calculator-inputs input[type="number"]:focus {
    outline: none;
    border-color: #00A86B;
    box-shadow: 0 0 0 3px rgba(0, 168, 107, 0.1);
}

.result-recommended {
    color: #00A86B;
    font-weight: 700;
}

/* Navigation Styles */
.main-nav {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #1f2937;
}

.logo-img {
    width: 32px;
    height: 32px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1E3A8A;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #1E3A8A;
    background-color: #f0f9ff;
}

/* Mobile Navigation Responsive */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-link {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    /* Mobile Table Responsive */
    .mobil-table th,
    .mobil-table td {
        padding: 8px 6px;
        font-size: 0.8rem;
    }
    
    .mobil-table .family-cell {
        max-width: 120px;
        font-size: 0.8rem;
    }
    
    /* Mobile Card Responsive */
    .mobile-card .mobile-card-details {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    /* TV Table Responsive */
    .tv-table th,
    .tv-table td {
        padding: 8px 6px;
        font-size: 0.8rem;
    }
    
    .tv-table .category-cell {
        max-width: 120px;
    }
    
    .category-badge {
        font-size: 0.7rem;
        padding: 3px 6px;
    }
}

/* Data Update Info Styles */
.data-update-info {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    padding: 12px 20px;
    font-size: 0.9rem;
    color: #64748b;
}

.update-label {
    font-weight: 500;
    margin-right: 8px;
    color: #475569;
}

.update-date {
    font-weight: 600;
    color: #1e40af;
    background: rgba(30, 64, 175, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
}

/* Mobile responsive for data update info */
@media (max-width: 768px) {
    .data-update-info {
        margin: 15px 0;
        padding: 10px 15px;
        font-size: 0.8rem;
        flex-direction: column;
        text-align: center;
        gap: 4px;
    }
    
    .update-label {
        margin-right: 0;
        margin-bottom: 2px;
    }
    
    .update-date {
        font-size: 0.8rem;
        padding: 3px 6px;
    }
}
