/* Billing container */
.billing-content {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    padding: 32px;
    background: var(--background-color);
    max-width: 1200px;
    margin: 0 auto;
}
  
/* Each billing card */
.billing-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    width: 300px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-family: 'Inter Variable', sans-serif;
    position: relative;
    overflow: hidden;
}

.billing-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.12);
}

/* Card Header */
.billing-card h3 {
    font-family: 'Inter Variable', sans-serif;
    font-size: 24px;
    margin-bottom: 8px;
    color: #111827;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Description & Price */
.billing-card p {
    font-family: 'Inter Variable', sans-serif;
    margin: 0;
    color: #6B7280;
    font-size: 15px;
    line-height: 1.5;
}

.billing-card h4 {
    font-family: 'Inter Variable', sans-serif;
    font-size: 36px;
    margin: 24px 0 4px;
    color: #111827;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Feature List */
.billing-card ul {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    width: 100%;
}

.billing-card ul li {
    display: flex;
    align-items: center;
    font-family: 'Inter Variable', sans-serif;
    color: #374151;
    margin: 12px 0;
    font-size: 14px;
    line-height: 1.5;
}

.billing-card ul li i {
    color: #10B981;
    margin-right: 12px;
    font-size: 16px;
    flex-shrink: 0;
}

.billing-card ul li.not-included {
    color: #9CA3AF;
}

.billing-card ul li.not-included span {
    text-decoration: none;
    margin-left: 0;
}

.billing-card ul li.not-included i {
    color: #D1D5DB;
}

/* Price per product/customer text */
.billing-card-price-per-product {
    font-size: 13px;
    color: #6B7280;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #E5E7EB;
    width: 100%;
    text-align: center;
}

/* Button styles */
.billing-card .apply-rules-button {
    width: 100%;
    padding: 12px 20px;
    margin-top: 16px;
    border-radius: 8px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    color: #111827;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.billing-card .apply-rules-button:hover {
    background: #F3F4F6;
    border-color: #D1D5DB;
}

.billing-card .apply-rules-button:active {
    background: #E5E7EB;
}

.billing-card .apply-rules-button.plan-owned {
    background: #E5E7EB;
    color: #6B7280;
    cursor: not-allowed;
}

/* Popular/Best Value tag */
.billing-card::before {
    content: attr(data-tag);
    position: absolute;
    top: 12px;
    right: -32px;
    background: #10B981;
    color: white;
    padding: 4px 40px;
    font-size: 12px;
    font-weight: 500;
    transform: rotate(45deg);
    display: none;
}

.billing-card[data-tag]::before {
    display: block;
}

/* Feature selection cards */
.feature-selection-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin: 32px auto;
    max-width: 800px;
    padding: 0 16px;
}

.feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    width: 160px;
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #E5E7EB;
    position: relative;
}

.feature-card img {
    width: 80px;
    height: auto;
    margin-bottom: 12px;
}

.feature-card.active {
    border-color: #10B981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.feature-card .label-free {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #10B981;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

/* Feature subheadline */
.feature-subheadline {
    font-size: 16px;
    color: #6B7280;
    text-align: center;
    margin: 16px auto;
    max-width: 600px;
    line-height: 1.5;
    font-family: 'Inter Variable', sans-serif;
}

/* Owned features container */
#ownedFeaturesContainer {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    max-width: 400px;
    padding: 24px;
    margin: 48px auto;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

#ownedFeaturesContainer h4 {
    font-size: 18px;
    color: #111827;
    margin-bottom: 16px;
    font-weight: 600;
    text-align: center;
}

.owned-feature-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    margin: 8px 0;
    background: #F9FAFB;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
}

.owned-feature-row span {
    color: #374151;
    font-weight: 500;
    font-size: 14px;
}

.cancel-feature-button {
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #E5E7EB;
    background: #fff;
    color: #374151;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cancel-feature-button:hover {
    background: #F3F4F6;
    border-color: #D1D5DB;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .billing-content {
        padding: 16px;
        gap: 16px;
    }
    
    .billing-card {
        width: 100%;
        max-width: 400px;
        padding: 24px;
    }
    
    .feature-selection-cards {
        gap: 12px;
    }
    
    .feature-card {
        width: 140px;
        height: 140px;
    }
} 