/* Clean B2B Credits Table Styling */

/* Section padding override */
section.bg-white {
    padding-top: 4rem;
    padding-bottom: 5rem;
    margin-top: 1rem;
}

/* Container */
.container {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* Header Section */
.credits-header {
    text-align: center;
}

.credits-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.credits-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    font-weight: 400;
}

@media (min-width: 768px) {
    .credits-header h1 {
        font-size: 3rem;
    }
}

@media (max-width: 767px) {
    .credits-header.mb-16 {
        margin-bottom: 2rem !important;
    }
}

/* Desktop Table */
.credits-table-wrapper {
    display: none;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
}

@media (min-width: 768px) {
    .credits-table-wrapper {
        display: block;
    }
}

.credits-table {
    width: 100%;
    border-collapse: collapse;
}

.credits-table thead {
    background-color: #f8fafc;
}

.credits-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #e5e7eb;
}

.credits-table th:nth-child(3) {
    color: #1e40af;
    font-weight: 600;
}

.credits-table th:nth-child(2) {
    color: #9ca3af;
    font-weight: 500;
}

.credits-table tbody tr {
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.15s ease;
}

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

.credits-table tbody tr:last-child {
    border-bottom: none;
}

.credits-table td {
    padding: 1.5rem;
    vertical-align: top;
}

/* Popular Row Styling */
.popular-row {
    background-color: #f8fafc !important;
    border-left: 3px solid #3b82f6 !important;
}

.popular-row:hover {
    background-color: #f1f5f9 !important;
}

/* Table Cell Styling */
.package-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.minutes {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-top: 0.25rem;
}

.price {
    font-size: 1.25rem;
    font-weight: 600;
    color: #6b7280;
}



.per-minute {
    font-size: 1.1rem;
    color: #1e40af;
    font-weight: 600;
}

.popular-badge {
    background-color: #3b82f6;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features li {
    padding: 0.25rem 0;
    font-size: 0.875rem;
    color: #374151;
    position: relative;
    padding-left: 1.5rem;
}

.features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 600;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #3b82f6;
    color: white;
}

.btn-primary:hover {
    background-color: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* Mobile Cards */
.credits-cards {
    display: block;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .credits-cards {
        display: none;
    }
}

.credit-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.2s ease;
}

.credit-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.popular-card {
    border-color: #3b82f6;
    background-color: #f8fafc;
}

.mobile-popular-badge {
    position: absolute;
    top: -0.5rem;
    right: 1rem;
    background-color: #3b82f6;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 1rem 0;
}

.card-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #f9fafb;
    border-radius: 0.5rem;
}

.card-minutes {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
}

.card-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

.card-per-minute {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.card-features li {
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: #374151;
    position: relative;
    padding-left: 1.5rem;
}

.card-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 600;
}

.btn-full {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
}

/* Disclaimers */
.guarantees {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: #f9fafb;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
}

.guarantees span {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

@media (max-width: 767px) {
    .guarantees {
        flex-direction: column;
        gap: 0.5rem;
    }
}

.fine-print {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
    text-align: center;
}

/* Branding and psychological elements */
.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.gradient-text {
    color: #3b82f6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}



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

.savings {
    font-size: 0.875rem;
    color: #059669;
    font-weight: 600;
    background-color: #f0fdf4;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    margin-top: 0.25rem;
    border: 1px solid #bbf7d0;
}

/* Social proof section */
.social-proof-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem 0;
}

.testimonial-highlight {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.testimonial-quote {
    font-size: 1.125rem;
    font-style: italic;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-author {
    color: #6b7280;
    font-size: 0.875rem;
}

.trust-indicators {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trust-item {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.trust-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

.trust-label {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

/* Mobile section padding */
@media (max-width: 767px) {
    section.bg-white {
        padding-top: 4rem !important;
        padding-bottom: 3rem !important;
        margin-top: 1.5rem !important;
    }
    
    .guarantees {
        text-align: center;
    }
    
    /* Mobile responsive branding elements */
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        gap: 1.5rem;
        margin: 2rem 0;
        padding: 1.5rem 1rem;
        background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
        border-radius: 16px;
        border: 1px solid #e2e8f0;
    }
    
    .stat-item {
        flex: 1;
        min-width: 90px;
        text-align: center;
        padding: 0.75rem 0.5rem;
        background: white;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        border: 1px solid #f1f5f9;
    }
    
    .stat-number {
        font-size: 1.75rem;
        font-weight: 800;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin-bottom: 0.25rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
        font-weight: 600;
        color: #475569;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .testimonial-highlight {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .trust-indicators {
        flex-direction: row;
        justify-content: center;
    }
    
    .social-proof-section {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .testimonial-quote {
        font-size: 1rem;
    }
    
    .credits-header {
         padding: 1rem 1rem;
         background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
         border-radius: 20px;
         margin: 0.5rem;
         margin-top: 0;
         box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
         border: 1px solid #e2e8f0;
     }
    
    .credits-header h1 {
        font-size: 2.25rem;
        line-height: 1.1;
        margin-bottom: 1rem;
        font-weight: 700;
    }
    
    .credits-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        color: #64748b;
        margin-bottom: 1.5rem;
        font-weight: 500;
    }
    
    .hero-badge {
         margin-top: 1rem;
         margin-bottom: 2rem;
         padding: 1rem 1.5rem;
         background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
         color: white;
         border-radius: 30px;
         font-weight: 700;
         font-size: 0.9rem;
         display: inline-block;
         box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
         border: none;
         transform: translateY(0);
         transition: all 0.3s ease;
         position: relative;
         z-index: 10;
     }
    
    .hero-badge .badge-text {
        color: white;
    }
}