/* Novia Pricing Page Styles */

.novia-pricing-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    /* background: #f8fafc; */
    min-height: 100vh;
    padding: 2rem 1rem;
}

.novia-pricing-inner-container {
    margin: 0 auto;
}

/* Header Section */
.novia-page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.novia-page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.novia-page-header p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
}

/* Trust Indicators */
.novia-trust-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.novia-trust-icon {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Billing Toggle */
.novia-toggle-container {
    display: flex;
    background: white;
    border-radius: 12px;
    padding: 4px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    gap: 4px
}

.novia-toggle-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #64748b;
    background-color: transparent !important;
    display: inline-flex;
    align-items: center;
}

.novia-toggle-btn:hover:not(.active) {
    background: #e0e7ff !important;
    color: darkslategray;
}

.novia-toggle-btn.active {
    background: #3b82f6 !important;
    color: white;
}

.novia-save-badge {
    background: #f97316;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: none;
    position: absolute;
    right: -100px;
}

.novia-save-badge.visible {
    display: inline-block;
}

.novia-pricing-cards {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}

.novia-pricing-card {
    background: white;
    border-radius: 16px;
    padding: 1.25rem;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex: 1;
    min-width: 220px;
    max-width: 260px;
    display: flex;
    flex-direction: column;
}

.novia-pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.novia-pricing-card.selected {
    border-color: #3b82f6;
    transform: scale(1.02);
}

.novia-pricing-card.featured::before {
    content: "Most Popular - Save 40% vs Pay as You Go";
    margin-top: -2em;
    margin-left: -2em;
    margin-right: -2em;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 0.75rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1em;
}

.novia-pricing-card.featured .novia-card-content {
    margin-top: 0.75rem;
}

.novia-plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.novia-plan-description {
    color: #64748b;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-size: 0.85rem;
}

.novia-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.novia-price-amount {
    font-size: 2.25rem;
    font-weight: 800;
    color: #1e293b;
}

.novia-price-period {
    color: #64748b;
    font-weight: 500;
    font-size: 0.85rem;
}

.novia-price.free .novia-price-amount {
    color: #059669;
}

.novia-value-highlight {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #059669;
    padding: 6px 10px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    margin: 0.75rem 0;
    border: 1px solid #86efac;
}

.novia-savings-badge {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #d97706;
    padding: 3px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid #fbbf24;
}

.novia-features-list {
    list-style: none;
    flex-grow: 1;
    padding: 0;
    margin-bottom: 3rem !important;
}

.novia-features-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    font-size: 0.85rem;
    line-height: 1.3;
}

.novia-check-icon {
    width: 16px;
    height: 16px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.novia-check-icon::after {
    content: "✓";
    color: white;
    font-weight: bold;
    font-size: 10px;
}

.novia-cta-button {
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    position: absolute;
    bottom: 10px;
    box-sizing: border-box;
    width: 84%;
}

.novia-cta-button.primary {
    background: #3b82f6;
    color: white;
}

.novia-cta-button.primary:hover {
    background: #2563eb;
}

.novia-cta-button.secondary {
    background: #f8fafc;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.novia-cta-button.secondary:hover {
    background: #3b82f6;
    color: white;
}

/* Compare Section */
.novia-compare-section {
    margin: 4rem 0;
    background: white;
    border-radius: 16px;
    padding: 3rem 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.novia-comparison-table-container {
    overflow-x: auto;
    margin-bottom: 2rem;
}

.novia-comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1000px;
    table-layout: fixed;
}

.novia-comparison-table th,
.novia-comparison-table td {
    padding: 0.7rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}

.novia-comparison-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #374151;
    position: sticky;
    top: 0;
    z-index: 10;
}

.novia-feature-column {
    width: 30%;
    min-width: 200px;
}

.novia-plan-column {
    width: 14%;
    text-align: center;
    white-space: nowrap;
}

.novia-section-header td {
    background: #f1f5f9;
    font-weight: 700;
    color: #1e293b;
    padding: 1.5rem 1rem;
    font-size: 1.1rem;
}

.novia-feature-name {
    font-weight: 500;
    color: #374151;
}

.novia-checkmark {
    color: #10b981;
    font-weight: bold;
    font-size: 1.2rem;
}

.novia-cross {
    color: #ef4444;
    font-weight: bold;
    font-size: 1.2rem;
}

.novia-comparison-table tbody tr:hover {
    background: #f8fafc;
}

/* IPEN Note Section */
.novia-ipen-note {
    background: #eff6ff;
    border-left: 4px solid #3b82f6;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.novia-ipen-note h3 {
    color: #1e293b;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.novia-ipen-note p {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.novia-ipen-note p:last-child {
    margin-bottom: 0;
}

.novia-ipen-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.novia-ipen-feature-box {
    background: white;
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid #bfdbfe;
}

.novia-ipen-feature-box h4 {
    color: #1e293b;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.novia-ipen-feature-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.novia-ipen-feature-box li {
    color: #475569;
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.novia-ipen-feature-box li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
}

.novia-comparison-cta {
    text-align: center;
}

.novia-comparison-cta p {
    color: #64748b;
    font-size: 1.1rem;
}

.novia-comparison-cta a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
}

.novia-comparison-cta a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .novia-pricing-cards {
        gap: 1rem;
    }
    
    .novia-pricing-card {
        min-width: 260px;
        max-width: 300px;
        padding: 1.5rem;
    }
}

@media (max-width: 1200px) {
    .novia-pricing-cards {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .novia-pricing-card {
        min-width: 280px;
        max-width: 350px;
    }
}

@media (max-width: 968px) {
    .novia-pricing-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .novia-pricing-card {
        max-width: 400px;
        width: 100%;
    }
    
    .novia-pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .novia-pricing-header h1 {
        font-size: 2rem;
    }
    
    .novia-price-amount {
        font-size: 2.5rem;
    }
    
    .novia-pricing-card {
        padding: 1.5rem;
        min-width: auto;
    }
}
