.pricing-header {
    text-align: center;
    margin-bottom: 48px;
    padding: 0 16px;
}

.pricing-title {
    font-size: 36px;
    font-weight: bold;
    margin: 0 0 16px 0;
    color: #111827;
}

.plan-price-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 10px;
}

.price-period {
    font-size: 11px;
    color: #6b7280;
    font-weight: normal;
    margin-left: 4px;
    vertical-align: bottom;
    padding-top: 10px;
}

.pricing-subtitle {
    font-size: 18px;
    color: #6b7280;
    margin: 0 0 32px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.toggle-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.pricing-btn {
    padding: 8px 16px;
    margin: 0 5px;
    border: none;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.pricing-btn:focus {
    outline: none;
}

.pricing-btn:hover:not(.active) {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

.pricing-btn.active {
    background: #007bff;
    color: white;
}

.pricing-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    max-width: 90rem;
    margin: 0 auto;
    padding: 16px;
}

.pricing-card {
    position: relative;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: white;
    flex: 0 1 calc(25% - 18px); /* 4 columns with gap */
}

.pricing-card.highlighted {
    border: 2px solid #3b82f6;
    transform: scale(1.05);
    z-index: 1;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.recommended-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #3b82f6;
    color: white;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 14px;
}

.button-start-second {
    background: #171940;
    border: 1px solid #171940;
    color: white;
    transition: background-color 0.2s;
}

.button-start-second:hover {
    background: rgba(23, 25, 64, 0.8);
}

.card-header {
    padding: 0px;
    margin-bottom: 24px;
    background-color: white;
    border-bottom: 0px;
}

.plan-name {
    font-size: 24px;
    color: #171940;
    font-weight: bold !important;
    margin: 0px;
}

.plan-price {
    color: #171940;
    font-size: 30px;
    font-weight: bold;
    margin: 8px 0;
}

.plan-description {
    color: #4b5563;
    margin: 0;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.check-icon {
    color: #22c55e;
    align-self: flex-start;
    margin-top: 4px;
}

.minus-icon {
    color: #9ca3af;
}

.feature-text {
    margin: 0;
    padding-bottom: 0px;
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-color: #d1d5db;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    -webkit-text-decoration-line: underline;
    -webkit-text-decoration-style: dotted;
    -webkit-text-decoration-color: #d1d5db;
}

.tooltip {
    font-size: 12px; /* Adjust tooltip text size */
    font-weight: 500;
}

.feature-text.included {
    color: #111827;
    width: fit-content;
}

.feature-text.excluded {
    color: #6b7280;
}

.card-footer {
    margin-top: auto;
    margin-bottom: 20px;
    padding: 0px;
    border-top: none;
}

.button {
    width: 100%;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

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

.button-primary:hover {
    background: #2563eb;
}

.button-secondary {
    background: #f3f4f6;
    color: #111827;
}

.button-secondary:hover {
    background: #e5e7eb;
}

@media (min-width: 1025px) {
    .pricing-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
        justify-content: center;
    }
    .pricing-card {
        min-width: 280px;
    }
}

@media (max-width: 1024px) {
    .pricing-container {
        grid-template-columns: 1fr;
        max-width: 32rem;
    }

    .pricing-card.highlighted {
        transform: none;
    }
    
    .pricing-card {
        flex: 1 1 100%;
        width: 100%;
        max-width: 400px;
    }

    .pricing-card.highlighted {
        transform: none;
    }
}

.discount-bubble {
    font-size: 0.75rem;
    padding: 2px 6px;
    background-color: #f0f0f0;
    border-radius: 12px;
    margin-left: 6px;
    color: #666;
}

/* When yearly button is active, change bubble text color */
.pricing-btn.active .discount-bubble {
    color: #007bff;
}