/* frontend-style.css */
.pfm-public-wrapper { max-width: 1000px; margin: 0 auto; padding: 20px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; }
.pfm-selector h2 { text-align: center; margin-bottom: 30px; color: #333; }
.pfm-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-bottom: 40px; }
.pfm-product-card { background: #fff; border: 2px solid #e0e0e0; border-radius: 12px; padding: 25px; text-align: center; transition: all 0.3s ease; cursor: pointer; }
.pfm-product-card:hover { border-color: #667eea; transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.pfm-product-card h3 { margin: 0 0 10px; font-size: 1.3em; color: #2d3748; }
.pfm-product-card p { color: #718096; margin-bottom: 20px; line-height: 1.5; }
.pfm-view-btn { background: #667eea; color: white; border: none; padding: 12px 30px; border-radius: 25px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; }
.pfm-view-btn:hover { background: #5568d3; transform: scale(1.05); }
.pfm-public-view { animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.pfm-public-header { text-align: center; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 2px solid #e2e8f0; }
.pfm-public-header h2 { font-size: 2em; margin-bottom: 10px; color: #2d3748; }
.pfm-public-header p { color: #718096; font-size: 1.1em; }
.pfm-view-toggle { display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.pfm-toggle-btn { padding: 12px 24px; border: 2px solid #e2e8f0; background: #fff; border-radius: 25px; cursor: pointer; font-size: 14px; font-weight: 600; color: #718096; transition: all 0.3s ease; }
.pfm-toggle-btn:hover { border-color: #667eea; color: #667eea; }
.pfm-toggle-btn.active { background: #667eea; border-color: #667eea; color: #fff; }
.pfm-view-content { display: none; }
.pfm-view-content.active { display: block; animation: fadeIn 0.4s ease; }
.pfm-stages-list { display: flex; flex-direction: column; gap: 15px; }
.pfm-stage-card { border-radius: 10px; padding: 20px; border-left: 5px solid; box-shadow: 0 2px 4px rgba(0,0,0,0.05); transition: all 0.3s ease; }
.pfm-stage-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); transform: translateX(5px); }
.pfm-stage-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.pfm-stage-number { width: 35px; height: 35px; background: #2d3748; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 14px; flex-shrink: 0; }
.pfm-stage-header h4 { flex: 1; margin: 0; font-size: 1.1em; color: #2d3748; }
.pfm-status-badge { padding: 6px 16px; border-radius: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.pfm-stage-details { padding-left: 50px; color: #4a5568; line-height: 1.6; }
.pfm-detail { margin-bottom: 8px; padding: 8px 12px; background: rgba(255,255,255,0.6); border-radius: 6px; }
.pfm-detail strong { color: #2d3748; }
.pfm-compare-table-wrapper { overflow-x: auto; margin-top: 20px; }
.pfm-compare-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.pfm-compare-table th { background: #f7fafc; padding: 15px; text-align: left; font-weight: 600; color: #4a5568; text-transform: uppercase; font-size: 12px; letter-spacing: 0.5px; border-bottom: 2px solid #e2e8f0; }
.pfm-compare-table td { padding: 15px; border-bottom: 1px solid #e2e8f0; vertical-align: top; }
.pfm-compare-table tr:hover { background: #f7fafc; }
.pfm-mini-badge { display: inline-block; padding: 4px 12px; border-radius: 15px; font-size: 11px; font-weight: 600; color: #fff; text-transform: uppercase; }
.pfm-gap-badge { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; font-weight: bold; font-size: 12px; }
.pfm-gap-up { background: #fed7d7; color: #c53030; }
.pfm-gap-down { background: #c6f6d5; color: #276749; }
.pfm-gap-same { background: #e2e8f0; color: #4a5568; }
@media (max-width: 768px) {
    .pfm-stage-header { flex-wrap: wrap; }
    .pfm-stage-details { padding-left: 0; margin-top: 15px; }
    .pfm-toggle-btn { padding: 10px 16px; font-size: 12px; }
    .pfm-compare-table { font-size: 12px; }
    .pfm-compare-table th, .pfm-compare-table td { padding: 10px; }
}
.pfm-loading { text-align: center; padding: 40px; color: #718096; }