* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; padding: 20px; color: #333; } header { text-align: center; color: white; margin-bottom: 30px; } header h1 { font-size: clamp(28px, 5vw, 42px); margin-bottom: 10px; text-shadow: 2px 2px 4px rgba(0,0,0,0.2); } .subtitle { font-size: clamp(14px, 2vw, 18px); opacity: 0.95; } main { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; } .card { background: white; border-radius: 16px; padding: 24px; box-shadow: 0 10px 40px rgba(0,0,0,0.15); } .card h2 { color: #667eea; margin-bottom: 20px; font-size: clamp(20px, 3vw, 26px); border-bottom: 2px solid #f0f0f0; padding-bottom: 10px; } .grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-bottom: 16px; } .form-group { display: flex; flex-direction: column; } .form-group label { font-weight: 600; margin-bottom: 6px; color: #555; font-size: 14px; } .form-group input, .form-group select { padding: 10px 14px; border: 2px solid #e0e0e0; border-radius: 8px; font-size: 15px; transition: border-color 0.2s; } .form-group input:focus, .form-group select:focus { outline: none; border-color: #667eea; } .form-group small { color: #888; font-size: 12px; margin-top: 4px; } .hint { background: #f8f9ff; padding: 12px 16px; border-radius: 8px; color: #667eea; font-size: 14px; margin-bottom: 16px; border-left: 4px solid #667eea; } .competitors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; } .competitor-card { background: #f8f9ff; padding: 16px; border-radius: 12px; border: 2px solid #e8eaff; } .competitor-card h3 { color: #764ba2; margin-bottom: 12px; font-size: 16px; } /* Results Section */ .results { background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%); } .results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 30px; } .result-box { background: white; padding: 20px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); text-align: center; } .result-label { font-size: 13px; color: #666; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; } .result-value { font-size: 24px; font-weight: 700; color: #333; } .result-value.highlight { color: #667eea; font-size: 32px; } .result-value.large { font-size: 28px; color: #764ba2; } /* Comparison Bars */ .comparison-section { margin-top: 24px; } .comparison-section h3 { color: #555; margin-bottom: 16px; font-size: 18px; } .comparison-bars { display: flex; flex-direction: column; gap: 12px; } .comp-bar-item { display: flex; align-items: center; gap: 12px; } .comp-bar-label { width: 140px; font-weight: 600; font-size: 14px; color: #555; } .comp-bar-track { flex: 1; height: 28px; background: #e8eaff; border-radius: 6px; overflow: hidden; position: relative; } .comp-bar-fill { height: 100%; border-radius: 6px; display: flex; align-items: center; padding-left: 10px; color: white; font-weight: 600; font-size: 13px; transition: width 0.5s ease; white-space: nowrap; } .comp-bar-fill.ours { background: linear-gradient(90deg, #667eea, #764ba2); } .comp-bar-fill.comp1 { background: #f39c12; } .comp-bar-fill.comp2 { background: #e74c3c; } .comp-bar-fill.comp3 { background: #3498db; } .comp-bar-fill.comp4 { background: #27ae60; } .comp-bar-value { width: 100px; text-align: right; font-weight: 700; font-size: 14px; color: #333; } /* Recommendations */ .recommendations { margin-top: 24px; padding: 20px; background: #f0fff4; border-radius: 12px; border: 2px solid #48bb78; } .recommendations h3 { color: #2f855a; margin-bottom: 12px; font-size: 18px; } .recommendations ul { list-style: none; padding-left: 0; } .recommendations li { padding: 8px 0; padding-left: 28px; position: relative; color: #2f855a; font-size: 15px; } .recommendations li::before { content: "✓"; position: absolute; left: 0; color: #48bb78; font-weight: 700; } /* Buttons */ .calculate-btn, .export-btn { position: fixed; bottom: 30px; right: 30px; padding: 16px 32px; font-size: 16px; font-weight: 700; color: white; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border: none; border-radius: 12px; cursor: pointer; box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4); transition: transform 0.2s, box-shadow 0.2s; z-index: 1000; } .calculate-btn:hover, .export-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(102, 126, 234, 0.5); } .export-btn { right: 220px; background: linear-gradient(135deg, #48bb78 0%, #38a169 100%); box-shadow: 0 8px 24px rgba(72, 187, 120, 0.4); } .export-btn:hover { box-shadow: 0 12px 32px rgba(72, 187, 120, 0.5); } /* Responsive */ @media (max-width: 768px) { .calculate-btn, .export-btn { position: static; display: block; width: 100%; margin-top: 10px; } .export-btn { right: auto; } .comp-bar-item { flex-direction: column; align-items: flex-start; } .comp-bar-label { width: auto; margin-bottom: 4px; } .comp-bar-value { width: auto; text-align: left; margin-top: 4px; } }