/* static/css/pricing.css */
/* Custom styles for pricing pages - complements TailwindCSS */

/* Plan Detail Container */
.plan-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Back Link */
.back-link {
    margin-bottom: 2rem;
}

.back-button {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-button:hover {
    text-decoration: underline;
}

/* Plan Detail Header */
.plan-detail-header {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    padding: 3rem;
    border-radius: 1rem;
    text-align: center;
    margin-bottom: 2rem;
}

.plan-detail-heading h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.plan-price-large {
    margin-bottom: 1rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
}

.price-period {
    font-size: 1rem;
    opacity: 0.9;
}

.price-savings {
    font-size: 0.875rem;
    margin-top: 0.5rem;
    opacity: 0.9;
}

.trial-notice {
    background: rgba(255, 255, 255, 0.2);
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    margin-top: 1rem;
}

/* Early Upgrade Banner */
.early-upgrade-banner {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-radius: 1rem;
    padding: 1rem 2rem;
    margin-bottom: 2rem;
    color: white;
}

.early-upgrade-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.early-icon {
    font-size: 1.5rem;
}

.early-text {
    flex: 1;
}

.early-text strong {
    display: block;
    font-size: 1rem;
}

.early-text span {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Plan Detail Main */
.plan-detail-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .plan-detail-main {
        grid-template-columns: 1fr;
    }
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: #f9fafb;
    border-radius: 0.5rem;
}

.feature-check {
    width: 1.25rem;
    height: 1.25rem;
    color: #10b981;
    flex-shrink: 0;
}

/* Limits List */
.limits-list {
    background: #f9fafb;
    border-radius: 0.5rem;
    padding: 1rem;
}

.limit-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
}

.limit-item:last-child {
    border-bottom: none;
}

.limit-label {
    font-weight: 500;
    color: #4b5563;
}

.limit-value {
    color: #1f2937;
    font-weight: 600;
}

/* Billing Options */
.billing-options {
    margin: 2rem 0;
}

.billing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.billing-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.billing-card.featured-billing {
    border: 2px solid #3b82f6;
    transform: scale(1.02);
}

.recommended-badge {
    position: absolute;
    top: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: #3b82f6;
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.billing-price {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin: 1rem 0;
}

.billing-price span {
    font-size: 0.875rem;
    color: #6b7280;
}

.billing-savings {
    color: #10b981;
    font-size: 0.875rem;
    margin: 0.5rem 0;
}

.billing-note {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* Trial Terms */
.trial-terms {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    margin: 2rem 0;
}

.trial-terms h3 {
    color: #92400e;
    margin-bottom: 0.5rem;
}

.trial-terms ul {
    margin: 0;
    padding-left: 1.5rem;
    color: #78350f;
}

/* Plan Actions */
.plan-actions {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid #3b82f6;
    color: #3b82f6;
}

.btn-outline:hover {
    background: #3b82f6;
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.current-plan-badge {
    display: inline-block;
    background: #10b981;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
}

.upgrade-note {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.5rem;
}