/* ============================================================
   BOOKZIGGIS.COM — Production Styles
   Brand: Green #2d6a2d, Gold #f0b429, Cream #faf7f2
   ============================================================ */

:root {
  --green: #2d6a2d;
  --green-dark: #1b441b;
  --green-light: #d9edd9;
  --green-50: #f0f7f0;
  --green-100: #d9edd9;
  --green-200: #b3dbb3;
  --green-600: #245724;
  --green-700: #1b441b;
  --green-800: #133113;
  --gold: #f0b429;
  --gold-dark: #d99a0b;
  --gold-light: #fcf0d0;
  --gold-50: #fef9ed;
  --gold-100: #fcf0d0;
  --cream: #faf7f2;
  --dark: #1a2e1a;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 { font-family: Georgia, 'Times New Roman', serif; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

/* HEADER */
.header {
  background: white;
  border-bottom: 1px solid #eee;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-left { display: flex; align-items: center; gap: 12px; }
.header-logo {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.header-logo img { width: 100%; height: 100%; object-fit: cover; }
.header-brand h1 { font-size: 18px; color: var(--green); line-height: 1.2; }
.header-brand p { font-size: 11px; color: var(--gold-dark); font-weight: 600; }
.header-right { display: flex; align-items: center; gap: 16px; }
.header-link { color: var(--green); font-size: 13px; font-weight: 500; transition: color 0.2s; }
.header-link:hover { color: var(--green-dark); text-decoration: none; }
.header-btn {
  background: var(--green);
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.header-btn:hover { background: var(--green-dark); }

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green) 100%);
  color: white;
  padding: 64px 20px;
  text-align: center;
}
.hero h1 { font-size: 42px; margin-bottom: 12px; line-height: 1.2; }
.hero h1 span { color: var(--gold); }
.hero p { font-size: 18px; color: var(--green-200); max-width: 600px; margin: 0 auto; line-height: 1.6; }
.hero-badges { display: flex; justify-content: center; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.hero-badge {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 500;
}

/* HOW IT WORKS */
.how-section { max-width: 800px; margin: 48px auto 32px; padding: 0 20px; text-align: center; }
.how-section h2 { color: var(--green); font-size: 24px; margin-bottom: 24px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step-card {
  background: white;
  border-radius: 14px;
  padding: 28px 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border: 1px solid #f0f0f0;
  transition: transform 0.2s, box-shadow 0.2s;
}
.step-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; margin-bottom: 12px;
}
.step-num.green { background: var(--green-50); color: var(--green); }
.step-num.gold { background: var(--gold-50); color: var(--gold-dark); }
.step-card h3 { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.step-card p { font-size: 13px; color: #666; line-height: 1.5; }

/* FORM CONTAINER */
.form-section { max-width: 700px; margin: 0 auto 48px; padding: 0 20px; }
.card {
  background: white;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1px solid #f0f0f0;
}

/* STEP INDICATOR */
.step-indicator { display: flex; align-items: center; margin-bottom: 36px; }
.step-item { display: flex; flex-direction: column; align-items: center; flex: 0 0 auto; }
.step-dot {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; transition: all 0.3s;
}
.step-dot.active { background: var(--green); color: white; }
.step-dot.completed { background: var(--green); color: white; }
.step-dot.inactive { background: #e5e7eb; color: #9ca3af; }
.step-label { font-size: 11px; margin-top: 4px; font-weight: 600; transition: color 0.3s; }
.step-label.active { color: var(--green); }
.step-label.inactive { color: #9ca3af; }
.step-line { height: 2px; flex: 1; margin: 0 8px; margin-top: -16px; transition: background 0.3s; }
.step-line.active { background: var(--green-200); }
.step-line.inactive { background: #e5e7eb; }

/* FORM ELEMENTS */
.form-title { font-size: 24px; color: var(--green); margin-bottom: 4px; }
.form-subtitle { color: #666; font-size: 14px; margin-bottom: 24px; line-height: 1.5; }
.label { display: block; font-size: 13px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.input-field, .select-field, .textarea-field {
  width: 100%; padding: 12px 16px; border-radius: 10px;
  border: 1.5px solid #d1d5db; background: white;
  font-size: 14px; font-family: 'Inter', sans-serif;
  transition: all 0.2s; outline: none;
}
.input-field:focus, .select-field:focus, .textarea-field:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45,106,45,0.12);
}
.input-field::placeholder, .textarea-field::placeholder { color: #b0b0b0; }
.textarea-field { resize: none; min-height: 120px; line-height: 1.6; }
.select-field {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%232d6a2d'%3E%3Cpath d='M3 5l3 3 3-3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.field-group { margin-bottom: 20px; }
.field-hint { font-size: 11px; color: #9ca3af; margin-top: 4px; }
.error-text { font-size: 12px; color: #dc2626; margin-top: 4px; }
.row { display: grid; gap: 16px; }
.row-2 { grid-template-columns: 1fr 1fr; }
.row-4 { grid-template-columns: 2fr 2fr 1fr 1fr; }

/* BUDGET BUTTONS */
.budget-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.budget-btn {
  padding: 14px 12px; border-radius: 10px; border: 2px solid #e5e7eb;
  background: white; cursor: pointer; text-align: left;
  transition: all 0.2s; font-family: 'Inter', sans-serif;
}
.budget-btn:hover { border-color: #d1d5db; background: #fafafa; }
.budget-btn.selected-priority { border-color: var(--green); background: var(--green-50); }
.budget-btn.selected-standby { border-color: var(--gold); background: var(--gold-50); }
.budget-label { display: block; font-weight: 700; font-size: 13px; color: var(--dark); }
.budget-tier { display: block; font-size: 11px; margin-top: 4px; font-weight: 600; }
.budget-tier.priority { color: var(--green); }
.budget-tier.standby { color: var(--gold-dark); }

/* INFO BANNERS */
.info-banner { padding: 16px; border-radius: 10px; margin: 20px 0; font-size: 13px; line-height: 1.6; }
.info-banner.priority { background: var(--green-50); border: 1px solid var(--green-200); color: var(--green-800); }
.info-banner.standby { background: var(--gold-50); border: 1px solid var(--gold-100); color: #78570a; }
.info-banner strong { font-weight: 700; }

/* BUTTONS */
.btn {
  padding: 14px 24px; border-radius: 10px; font-size: 15px; font-weight: 700;
  border: none; cursor: pointer; transition: all 0.2s;
  font-family: 'Inter', sans-serif; width: 100%; display: inline-flex;
  align-items: center; justify-content: center;
}
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-primary { background: var(--green); color: white; }
.btn-primary:hover:not(:disabled) { background: var(--green-dark); box-shadow: 0 4px 12px rgba(45,106,45,0.3); }
.btn-gold { background: var(--gold); color: var(--dark); }
.btn-gold:hover:not(:disabled) { background: var(--gold-dark); }
.btn-outline { background: transparent; color: var(--green); border: 2px solid var(--green); }
.btn-outline:hover:not(:disabled) { background: var(--green); color: white; }
.btn-row { display: flex; gap: 12px; margin-top: 24px; }
.btn-row .btn { flex: 1; }
.btn-sm { padding: 8px 16px; font-size: 13px; width: auto; }
.btn-danger { background: transparent; color: #dc2626; border: 1.5px solid #fecaca; }
.btn-danger:hover { background: #fef2f2; }

/* REVIEW SUMMARY */
.summary-card { background: #f9fafb; border-radius: 12px; padding: 24px; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.summary-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; color: #9ca3af; font-weight: 600; }
.summary-value { font-size: 14px; font-weight: 600; color: var(--dark); margin-top: 2px; }
.summary-text { font-size: 13px; color: #4b5563; margin-top: 2px; line-height: 1.5; }
.summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.summary-divider { border-top: 2px solid var(--gold-100); margin: 14px 0; }

.badge {
  display: inline-flex; align-items: center; padding: 4px 14px;
  border-radius: 20px; font-size: 11px; font-weight: 700;
}
.badge-priority { background: var(--green-100); color: var(--green); }
.badge-standby { background: var(--gold-100); color: var(--gold-dark); }

/* CONFIRMATION */
.confirmation { text-align: center; max-width: 480px; margin: 0 auto; }
.check-circle {
  width: 80px; height: 80px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.check-circle.green { background: var(--green-50); }
.check-circle.gold { background: var(--gold-50); }
.ref-box { background: #f9fafb; border-radius: 10px; padding: 16px; margin: 24px 0; }
.ref-label { font-size: 12px; color: #9ca3af; }
.ref-id { font-family: 'SF Mono', 'Fira Code', monospace; font-size: 20px; font-weight: 700; color: var(--dark); margin-top: 4px; }

/* TRUST BADGES */
.trust-section { background: white; border-top: 1px solid #f0f0f0; padding: 48px 20px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 700px; margin: 0 auto; text-align: center; }
.trust-num { font-size: 32px; font-weight: 800; }
.trust-num.green { color: var(--green); }
.trust-num.gold { color: var(--gold-dark); }
.trust-label { font-size: 12px; color: #6b7280; margin-top: 4px; }

/* FOOTER */
.footer { background: var(--green-800); color: white; padding: 48px 20px; text-align: center; }
.footer h3 { font-size: 20px; margin-bottom: 6px; }
.footer .tagline { color: rgba(255,255,255,0.5); font-size: 13px; margin-bottom: 20px; }
.footer-links { color: rgba(255,255,255,0.6); font-size: 13px; margin-bottom: 20px; }
.footer-links a { color: rgba(255,255,255,0.6); }
.footer-links a:hover { color: white; text-decoration: none; }
.footer-bottom { color: rgba(255,255,255,0.3); font-size: 11px; }

/* LOADING SPINNER */
.spinner { display: inline-block; width: 20px; height: 20px; border: 2.5px solid rgba(255,255,255,0.3); border-radius: 50%; border-top-color: #fff; animation: spin 0.7s linear infinite; margin-right: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* HIDDEN */
.step-content { display: none; }
.step-content.active { display: block; animation: fadeIn 0.3s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* RESPONSIVE */
@media (max-width: 640px) {
  .hero { padding: 48px 20px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }
  .steps-grid { grid-template-columns: 1fr; }
  .budget-grid { grid-template-columns: 1fr 1fr; }
  .row-2 { grid-template-columns: 1fr; }
  .row-4 { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .header-right { display: none; }
  .card { padding: 24px 18px; }
}
