/* Pricing Page Styles */
.pricing-view {
    background: radial-gradient(circle at 50% 0%, #f0fdf4 0%, #ffffff 100%);
}

.pricing-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.pricing-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.pricing-header p {
    font-size: 1.25rem;
    color: #64748b;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: stretch;
    padding: 1rem;
}

.pricing-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #e2e8f0;
}

/* Plan Typography */
.plan-name {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.plan-free .plan-name {
    color: #64748b;
}

.plan-pro .plan-name {
    color: #3b82f6;
}

/* Blue for Monthly */
.plan-featured .plan-name {
    color: #ec4899;
}

/* Pink/Gradient for Yearly */

.price-container {
    display: flex;
    align-items: baseline;
    margin-bottom: 2rem;
}

.currency-symbol {
    font-size: 2rem;
    font-weight: 600;
    color: #1e293b;
    margin-right: 4px;
}

.price-amount {
    font-size: 4rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    letter-spacing: -2px;
}

.price-period {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-left: 8px;
    font-weight: 500;
}

/* Features List */
.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    flex-grow: 1;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    padding: 0.8rem 0;
    border-bottom: 1px dashed #f1f5f9;
    color: #475569;
    font-size: 1rem;
    line-height: 1.5;
    text-align: left;
    /* User requested alignment */
}

.features-list li:last-child {
    border-bottom: none;
}

.check-icon {
    min-width: 24px;
    height: 24px;
    background: #dcfce7;
    /* Light green bg */
    color: #16a34a;
    /* Green check */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 0.8rem;
    font-weight: 900;
}

/* Specific Card Styles */
/* Featured (Yearly) Card */
.pricing-card.featured {
    border: 2px solid transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, #10b981 0%, #3b82f6 100%) border-box;
    /* Green to Blue Gradient */
    box-shadow: 0 25px 50px -12px rgba(16, 185, 129, 0.15);
    transform: scale(1.05);
    z-index: 10;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.featured-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.savings-chip {
    display: inline-block;
    background: #ecfdf5;
    color: #059669;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    margin-top: -1rem;
    align-self: flex-start;
}

/* AI Feature Highlight */
.ai-feature {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 1rem !important;
    margin: 0.5rem 0;
}

.ai-feature .check-icon {
    background: #3b82f6;
    color: white;
}

/* Buttons */
.btn-plan {
    width: 100%;
    padding: 1.2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-plan.free {
    background: #f1f5f9;
    color: #475569;
}

.btn-plan.free:hover {
    background: #e2e8f0;
}

.btn-plan.pro {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #dbeafe;
}

.btn-plan.pro:hover {
    background: #dbeafe;
}

.btn-plan.featured {
    background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.2);
}

.btn-plan.featured:hover {
    filter: brightness(1.1);
    box-shadow: 0 20px 25px -5px rgba(16, 185, 129, 0.3);
}

@media (max-width: 768px) {
    .pricing-header h1 {
        font-size: 2.5rem;
    }

    .pricing-card.featured {
        transform: scale(1);
        margin: 1rem 0;
    }

    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
}