/* ===========================================
   PERFECT PRICING PAGE STYLES - PROPER GRID
============================================= */
.pricing-hero { 
    text-align: center; padding: 100px 20px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
    color: white; 
}
.pricing-hero h1 { font-size: 3.2rem; font-weight: 800; margin-bottom: 1.2rem; max-width: 800px; margin-left: auto; margin-right: auto; }
.lead { font-size: 1.3rem; opacity: 0.95; max-width: 700px; margin: 0 auto 3.5rem; }
.pricing-toggle { 
    display: inline-flex; background: rgba(255,255,255,0.2); border-radius: 50px; padding: 6px; 
    backdrop-filter: blur(20px); box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.toggle-btn { 
    background: none; border: none; padding: 14px 28px; color: white; border-radius: 50px; 
    font-weight: 700; cursor: pointer; transition: all 0.3s; font-size: 1rem;
}
.toggle-btn.active { background: rgba(255,255,255,0.3); transform: scale(1.05); }
.save-badge { 
    background: linear-gradient(45deg, #10b981, #059669); color: white; padding: 4px 12px; 
    border-radius: 20px; font-size: 0.8rem; font-weight: 700; margin-left: 10px; 
}

.container { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.pricing-grid-section { padding: 120px 0; background: #f8fafc; }
.pricing-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); 
    gap: 32px; max-width: 1400px; margin: 0 auto;
}
.pricing-card { 
    background: white; border-radius: 28px; padding: 48px 32px; text-align: center; 
    box-shadow: 0 20px 60px rgba(0,0,0,0.08); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    border: 2px solid transparent; position: relative; overflow: hidden;
}
.pricing-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #10b981, #059669); opacity: 0; transition: opacity 0.3s; }
.pricing-card:hover::before { opacity: 1; }
.pricing-card.popular { 
    transform: translateY(-24px); box-shadow: 0 40px 80px rgba(16,185,129,0.15); 
    border-color: #10b981;
}
.pricing-card:hover:not(.popular) { transform: translateY(-8px); box-shadow: 0 30px 70px rgba(0,0,0,0.12); }

.pricing-card h3 { font-size: 2.4rem; font-weight: 800; color: #1e293b; margin: 24px 0 16px; }
.popular-badge { 
    position: absolute; top: -16px; left: 50%; transform: translateX(-50%); 
    background: linear-gradient(45deg, #10b981, #059669); color: white; padding: 8px 24px; 
    border-radius: 50px; font-size: 0.85rem; font-weight: 800; box-shadow: 0 8px 24px rgba(16,185,129,0.3);
}
.price-wrapper { margin: 40px 0; }
.price { font-size: 4.2rem; font-weight: 900; color: #1e293b; line-height: 1; margin-bottom: 8px; }
.price-period { font-size: 1.3rem; color: #64748b; font-weight: 600; }
.btn { 
    padding: 18px 36px; border: none; border-radius: 16px; font-size: 1.1rem; font-weight: 700; 
    cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); text-decoration: none; 
    display: inline-block; text-align: center; box-sizing: border-box; min-height: 64px;
}
.btn--primary { background: linear-gradient(135deg, #10b981, #059669); color: white; }
.btn--primary:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(16,185,129,0.3); }
.btn--outline, .btn--primary-outline { background: transparent; color: #10b981; border: 2px solid #10b981; }
.btn--outline:hover, .btn--primary-outline:hover { background: #10b981; color: white; transform: translateY(-2px); }
.btn--full-width { width: 100%; }

.features-list { list-style: none; padding: 0; margin: 48px 0; text-align: left; }
.features-list li { 
    padding: 16px 0; font-size: 1rem; color: #475569; display: flex; align-items: center; 
    border-bottom: 1px solid #f1f5f9;
}
.features-list li:last-child { border-bottom: none; }
.trial-notice { 
    color: #10b981; font-size: 0.95rem; font-weight: 600; display: flex; align-items: center; 
    gap: 12px; justify-content: center; padding: 20px; background: rgba(16,185,129,0.05); 
    border-radius: 16px; border: 1px solid rgba(16,185,129,0.1);
}

.comparison-section { padding: 120px 0; background: white; }
.comparison-table { 
    background: #f8fafc; border-radius: 24px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}
.comparison-row { 
    display: grid; 
    grid-template-columns: 280px repeat(3, 1fr); 
    align-items: center; gap: 0; 
}
.comparison-row.header { 
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%); color: white; 
    font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; 
    padding: 24px 32px;
}
.comparison-row:not(.header) { 
    padding: 24px 32px; border-bottom: 1px solid #e2e8f0; transition: background 0.3s; 
}
.comparison-row:not(.header):hover { background: rgba(16,185,129,0.03); }
.comparison-row:last-child:not(.header) { border-bottom: none; }
.feature-name { font-weight: 700; color: #1e293b; font-size: 1.05rem; padding-right: 24px; }
.plan-header { text-align: center; padding: 20px 12px; font-weight: 700; position: relative; }
.plan-header.free::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 40px; height: 4px; background: #94a3b8; }
.plan-header.popular::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 4px; background: #10b981; }
.yes { color: #10b981; text-align: center; font-weight: 700; font-size: 1.1rem; }
.no { color: #94a3b8; text-align: center; font-weight: 500; }

.faq-section { padding: 120px 0; background: #f8fafc; }
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.faq-item { background: white; padding: 40px; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); transition: transform 0.3s; }
.faq-item:hover { transform: translateY(-4px); }
.faq-item h4 { color: #1e293b; margin-bottom: 16px; font-size: 1.25rem; font-weight: 700; }

@media (max-width: 1024px) {
    .pricing-grid { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
    .comparison-row { grid-template-columns: 240px repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .pricing-grid { grid-template-columns: 1fr; }
    .comparison-row { 
        grid-template-columns: 1fr; 
        text-align: center; 
        padding: 20px !important; 
    }
    .comparison-row.header { grid-template-columns: 1fr; }
    .feature-name { margin-bottom: 12px; padding-right: 0 !important; }
    .pricing-hero h1 { font-size: 2.2rem; }
}
