* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
}

.container { max-width: 960px; margin: 0 auto; padding: 0 20px; }

/* Header */
header {
  background: #0d1b2a;
  color: white;
  padding: 20px 0;
  text-align: center;
}
.logo { font-size: 24px; font-weight: 700; }
.logo span { color: #48cae4; }
.tagline { color: #8899aa; font-size: 14px; margin-top: 4px; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #0d1b2a 0%, #1b2838 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}
.hero h2 { font-size: 36px; margin-bottom: 16px; }
.hero p { font-size: 18px; color: #b0c4d8; max-width: 600px; margin: 0 auto 30px; }

.cta-btn {
  display: inline-block;
  background: #48cae4;
  color: #0d1b2a;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.cta-btn:hover { background: #90e0ef; }

/* Social proof */
.social-proof { background: #f8f9fa; padding: 40px 0; }
.stats { display: flex; justify-content: center; gap: 60px; text-align: center; }
.stat strong { display: block; font-size: 32px; color: #1a5276; }
.stat span { color: #666; font-size: 14px; }

/* How it works */
.how-it-works { padding: 60px 0; text-align: center; }
.how-it-works h2 { font-size: 28px; margin-bottom: 40px; }
.steps { display: flex; gap: 40px; justify-content: center; }
.step { flex: 1; max-width: 260px; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: #1a5276; color: white; font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: #555; font-size: 14px; }

/* Pricing */
.pricing { background: #f8f9fa; padding: 60px 0; text-align: center; }
.pricing h2 { font-size: 28px; margin-bottom: 8px; }
.pricing-sub { color: #666; margin-bottom: 32px; }
.pricing-cards { display: flex; gap: 24px; justify-content: center; }
.price-card {
  background: white; border: 2px solid #e0e0e0; border-radius: 12px;
  padding: 32px 24px; flex: 1; max-width: 280px; position: relative;
}
.price-card.featured { border-color: #1a5276; transform: scale(1.05); }
.popular {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: #1a5276; color: white; padding: 4px 16px; border-radius: 12px;
  font-size: 12px; font-weight: 600;
}
.price-card h3 { font-size: 20px; margin-bottom: 8px; }
.price { font-size: 42px; font-weight: 700; color: #1a5276; }
.per { color: #888; font-size: 14px; margin-bottom: 20px; }
.price-card ul { list-style: none; text-align: left; }
.price-card li { padding: 6px 0; font-size: 14px; color: #444; }
.price-card li::before { content: '✓ '; color: #27ae60; font-weight: 700; }
.free-note { margin-top: 24px; font-size: 16px; color: #27ae60; }

/* Upload form */
.upload-section { padding: 60px 0; }
.upload-section h2 { font-size: 28px; text-align: center; margin-bottom: 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-group { background: #f8f9fa; padding: 20px; border-radius: 8px; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group h3 { margin-bottom: 12px; color: #1a5276; font-size: 16px; }
.form-group label { display: block; margin-bottom: 12px; font-size: 14px; color: #333; }
.form-group input, .form-group select, .form-group textarea {
  display: block; width: 100%; padding: 10px 12px; border: 1px solid #ccc;
  border-radius: 6px; font-size: 14px; margin-top: 4px;
  font-family: inherit;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: #1a5276; outline: none; box-shadow: 0 0 0 2px rgba(26,82,118,0.15);
}
.help-text { font-size: 12px; color: #888; margin-bottom: 8px; }

/* Tier selector */
.tier-selector { display: flex; flex-direction: column; gap: 8px; }
.tier-option {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px;
  background: white; border: 2px solid #e0e0e0; border-radius: 6px; cursor: pointer;
}
.tier-option:has(input:checked) { border-color: #1a5276; background: #f0f7ff; }
.tier-option input { accent-color: #1a5276; }
.tier-label { font-weight: 600; font-size: 14px; }

/* Timeline */
.timeline-entry { display: flex; gap: 8px; margin-bottom: 8px; }
.timeline-entry input:first-child { max-width: 160px; }
.btn-secondary {
  background: white; border: 1px solid #1a5276; color: #1a5276;
  padding: 8px 16px; border-radius: 6px; cursor: pointer; font-size: 13px;
}
.btn-secondary:hover { background: #f0f7ff; }

/* File upload */
.file-upload {
  border: 2px dashed #ccc; border-radius: 8px; padding: 30px;
  text-align: center; cursor: pointer; transition: border-color 0.2s;
}
.file-upload:hover, .file-upload.dragover { border-color: #1a5276; background: #f0f7ff; }
.file-upload input { display: none; }
#file-list { margin-top: 8px; }
.file-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 10px; background: #e8f4f8; border-radius: 4px; margin-top: 4px;
  font-size: 13px;
}
.file-item .remove { cursor: pointer; color: #c0392b; font-weight: 700; }

/* Submit */
.submit-area { text-align: center; margin-top: 32px; }

/* Footer */
footer {
  background: #0d1b2a; color: #8899aa; padding: 30px 0; text-align: center;
  font-size: 14px;
}
.small { font-size: 12px; margin-top: 8px; }

/* Loading */
.loading { opacity: 0.6; pointer-events: none; }
.spinner {
  display: inline-block; width: 20px; height: 20px;
  border: 3px solid #ccc; border-top-color: #1a5276;
  border-radius: 50%; animation: spin 0.6s linear infinite;
  vertical-align: middle; margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Responsive */
@media (max-width: 768px) {
  .form-grid { grid-template-columns: 1fr; }
  .stats { flex-direction: column; gap: 20px; }
  .steps { flex-direction: column; align-items: center; }
  .pricing-cards { flex-direction: column; align-items: center; }
  .price-card.featured { transform: none; }
  .hero h2 { font-size: 28px; }
}
