/* providers.css - Modern design aligned with home page */

/* ============================================
   HERO SECTION
   ============================================ */
.providers-hero {
    position: relative;
    padding: 5rem 0 4rem;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.providers-hero .hero-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.providers-hero .hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
}

.providers-hero .hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.15), transparent);
}

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

.providers-hero .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 2rem;
    font-size: 0.875rem;
    color: #a5b4fc;
    margin-bottom: 1.5rem;
}

.providers-hero .eyebrow-badge {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.providers-hero .hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #f8fafc;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.providers-hero .title-highlight {
    background: linear-gradient(135deg, #6366f1, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.providers-hero .hero-lead {
    font-size: 1.25rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.providers-hero .hero-metrics {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.providers-hero .metric {
    text-align: center;
}

.providers-hero .metric-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #f8fafc;
}

.providers-hero .metric-label {
    font-size: 0.875rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.providers-hero .metric-divider {
    width: 1px;
    height: 40px;
    background: rgba(100, 116, 139, 0.3);
}

/* ============================================
   PROVIDER CARDS GRID
   ============================================ */
.providers-grid-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: #64748b;
    font-size: 1.1rem;
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.provider-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.provider-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #6366f1;
}

.provider-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.provider-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.provider-logo img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.provider-name-fallback {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-premium {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

.badge-standard {
    background: #e0e7ff;
    color: #4338ca;
}

.provider-stats {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 1rem;
}

.provider-stats .stat {
    text-align: center;
    flex: 1;
}

.provider-stats .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
}

.provider-stats .stat-label {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
}

.provider-details {
    margin-bottom: 1.25rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.detail-label {
    color: #64748b;
}

.detail-value {
    color: #0f172a;
    font-weight: 500;
}

.provider-actions {
    display: flex;
    gap: 0.5rem;
}

.provider-actions .btn {
    flex: 1;
    font-size: 0.875rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.cta-card {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 1.5rem;
    padding: 3rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.cta-content {
    flex: 1;
    min-width: 300px;
}

.cta-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

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

.cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 1rem;
}

.cta-content p {
    color: #94a3b8;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
    color: white;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.cta-feature i {
    color: #22c55e;
    font-size: 1.25rem;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-section {
    padding: 4rem 0;
    background: white;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.comparison-table thead {
    background: #f8fafc;
}

.comparison-table th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 600;
    color: #0f172a;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #e2e8f0;
}

.comparison-table td {
    padding: 1rem 1.25rem;
    color: #475569;
    border-bottom: 1px solid #f1f5f9;
}

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

.comparison-table .provider-cell {
    font-weight: 600;
    color: #0f172a;
}

.comparison-table .price-cell {
    color: #6366f1;
    font-weight: 600;
}

/* ============================================
   GUIDE SECTION
   ============================================ */
.guide-section {
    padding: 4rem 0;
    background: #f8fafc;
}

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

.guide-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.guide-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.guide-icon i {
    font-size: 1.5rem;
    color: #4338ca;
}

.guide-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.guide-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

.guide-cta {
    text-align: center;
    margin-top: 2rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .providers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .providers-hero {
        padding: 3rem 0;
    }

    .providers-hero .hero-title {
        font-size: 2rem;
    }

    .providers-hero .hero-lead {
        font-size: 1rem;
    }

    .providers-hero .hero-metrics {
        gap: 1rem;
    }

    .providers-hero .metric-value {
        font-size: 1.5rem;
    }

    .cta-card {
        padding: 2rem;
        flex-direction: column;
        text-align: center;
    }

    .cta-features {
        align-items: center;
    }

    .providers-grid {
        grid-template-columns: 1fr;
    }
}