/* ===== Public Pages (Pricing, Registration) ===== */
.public-body { background: #f8fafc; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; margin: 0; }

.public-nav { background: white; padding: 16px 32px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 1px 3px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 100; flex-wrap: wrap; gap: 12px; }
.public-nav .nav-brand { font-size: 20px; font-weight: 800; color: #667eea; text-decoration: none; }
.public-nav .nav-links { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.public-nav .nav-links a { color: #64748b; text-decoration: none; font-weight: 500; font-size: 14px; }
.public-nav .btn-nav { background: #667eea; color: white !important; padding: 8px 16px; border-radius: 8px; white-space: nowrap; }
@media(max-width: 480px) {
    .public-nav { padding: 12px 16px; }
    .public-nav .nav-links { gap: 10px; }
    .public-nav .nav-links a:not(.btn-nav) { display: none; }
}

.public-main { min-height: calc(100vh - 130px); }
.public-footer { text-align: center; padding: 32px; color: #94a3b8; font-size: 14px; }
.public-footer a { color: #667eea; text-decoration: none; }

/* Pricing */
.pricing-page { max-width: 960px; margin: 0 auto; padding: 60px 20px; }
.pricing-hero { text-align: center; margin-bottom: 60px; }
.pricing-hero h1 { font-size: clamp(28px, 6vw, 48px); font-weight: 800; color: #1e293b; margin-bottom: 12px; }
.pricing-hero p { font-size: 18px; color: #64748b; }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 60px; }
@media(max-width: 600px) { .pricing-grid { grid-template-columns: 1fr; } }

.pricing-card { background: white; border-radius: 16px; padding: 36px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); position: relative; border: 2px solid transparent; }
.pricing-card.featured { border-color: #667eea; }
.pricing-card .badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #667eea; color: white; padding: 4px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; }
.pricing-card h2 { font-size: 24px; color: #1e293b; margin-bottom: 8px; }
.pricing-card .price { font-size: 40px; font-weight: 800; color: #667eea; margin-bottom: 24px; }
.pricing-card .price span { font-size: 16px; font-weight: 400; color: #64748b; }
.pricing-card .features { list-style: none; padding: 0; margin: 0 0 32px; }
.pricing-card .features li { padding: 8px 0; color: #475569; border-bottom: 1px solid #f1f5f9; }
.btn-plan { display: block; background: linear-gradient(135deg, #667eea, #764ba2); color: white; text-align: center; padding: 14px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 16px; }
.pricing-card .hint { text-align: center; color: #94a3b8; font-size: 13px; margin-top: 12px; }

.pricing-faq { max-width: 640px; margin: 0 auto; }
.pricing-faq h2 { font-size: 28px; color: #1e293b; margin-bottom: 24px; text-align: center; }
.faq-item { background: white; border-radius: 12px; padding: 20px 24px; margin-bottom: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.faq-item strong { color: #1e293b; display: block; margin-bottom: 6px; }
.faq-item p { color: #64748b; margin: 0; }

/* Registration */
.register-container { display: flex; justify-content: center; padding: 60px 20px; }
.register-box { background: white; border-radius: 16px; padding: 40px; width: 100%; max-width: 480px; box-shadow: 0 4px 24px rgba(0,0,0,0.1); }
.register-box h1 { font-size: 28px; color: #1e293b; margin-bottom: 4px; }
.register-box .subtitle { color: #64748b; margin-bottom: 32px; }
.form-section { margin-bottom: 24px; }
.form-section h3 { font-size: 14px; font-weight: 600; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; color: #374151; margin-bottom: 4px; }
.form-group input { width: 100%; padding: 10px 14px; border: 1.5px solid #e2e8f0; border-radius: 8px; font-size: 15px; box-sizing: border-box; outline: none; transition: border-color 0.2s; }
.form-group input:focus { border-color: #667eea; }
.btn-submit { width: 100%; padding: 14px; background: linear-gradient(135deg, #667eea, #764ba2); color: white; border: none; border-radius: 10px; font-size: 16px; font-weight: 600; cursor: pointer; margin-top: 8px; }
.terms { text-align: center; color: #94a3b8; font-size: 12px; margin-top: 12px; }

/* Success */
.success-container { display: flex; justify-content: center; padding: 60px 20px; }
.success-box { background: white; border-radius: 16px; padding: 48px; max-width: 520px; width: 100%; text-align: center; box-shadow: 0 4px 24px rgba(0,0,0,0.1); }
.success-icon { font-size: 64px; margin-bottom: 16px; }
.success-box h1 { font-size: 28px; color: #1e293b; margin-bottom: 12px; }
.next-steps { background: #f8fafc; border-radius: 12px; padding: 20px 24px; margin: 24px 0; text-align: left; }
.next-steps h3 { font-size: 15px; color: #64748b; margin-bottom: 12px; }
.next-steps ol { padding-left: 20px; color: #475569; }
.next-steps li { margin-bottom: 8px; }
.btn-primary { display: inline-block; background: linear-gradient(135deg, #667eea, #764ba2); color: white; padding: 14px 32px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 16px; margin-top: 8px; }
.upgrade-teaser { margin-top: 32px; border-top: 1px solid #f1f5f9; padding-top: 24px; }
.upgrade-teaser h3 { font-size: 16px; color: #1e293b; margin-bottom: 4px; }
.upgrade-teaser p { color: #64748b; margin-bottom: 16px; }
.plan-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-plan-small { background: #667eea; color: white; padding: 10px 20px; border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: 600; }
