/* ─────────────────────────────────────────
   SaaSBox — builders.css
───────────────────────────────────────── */

.hidden { display: none !important; }

/* ── HERO ── */
.builder-hero {
  min-height: 70vh;
  background-color: #0a0a0a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
}
.bh-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(#161616 1px, transparent 1px), linear-gradient(90deg, #161616 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.bh-spotlight {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(245,196,0,0.08) 0%, #0a0a0a 70%);
  pointer-events: none;
}
.bh-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #f5c400;
  margin-bottom: 24px;
  position: relative; z-index: 2;
}
.bh-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 11vw, 160px);
  line-height: 0.88;
  letter-spacing: 3px;
  margin-bottom: 32px;
  position: relative; z-index: 2;
}
.bh-1 { display: block; color: #ede8dc; }
.bh-2 { display: block; color: #f5c400; }
.bh-3 { display: block; color: #ede8dc; }
.bh-3 em { font-style: normal; color: #f5c400; }
.bh-body {
  font-size: 17px;
  font-weight: 500;
  color: #bbb;
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 40px;
  position: relative; z-index: 2;
}
.bh-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  position: relative; z-index: 2;
}
.bh-stat { display: flex; flex-direction: column; gap: 4px; }
.bh-stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px;
  color: #f5c400;
  line-height: 1;
}
.bh-stat-lbl {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #888;
}

/* ── BUILDER FEATURES ── */
.builder-feats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background-color: #1e1e1e;
  border: 1px solid #1e1e1e;
}
.bf-i {
  background-color: #0a0a0a;
  padding: 36px 32px;
}
.bf-icon {
  font-size: 28px;
  margin-bottom: 18px;
}
.bf-t {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 1px;
  color: #ede8dc;
  margin-bottom: 10px;
}
.bf-d {
  font-size: 14px;
  font-weight: 500;
  color: #aaa;
  line-height: 1.7;
}

/* ── STEPS ── */
.builder-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background-color: #1e1e1e;
  border: 1px solid #1e1e1e;
}
.bs {
  background-color: #0a0a0a;
  padding: 36px 28px;
}
.bs-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 64px;
  color: #f5c400;
  opacity: 0.7;
  line-height: 1;
  margin-bottom: 4px;
}
.bs-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 1px;
  color: #ede8dc;
  margin-bottom: 12px;
}
.bs-desc {
  font-size: 14px;
  font-weight: 500;
  color: #aaa;
  line-height: 1.65;
}

/* ── FORM ── */
.builder-form {
  max-width: 720px;
  margin: 0 auto;
}
.bf-section {
  background-color: #0d0d0d;
  border: 1px solid #1e1e1e;
  padding: 32px;
  margin-bottom: 24px;
}
.bf-section-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #f5c400;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #1e1e1e;
}
.bf-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.bf-field:last-child { margin-bottom: 0; }
.bf-field label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #aaa;
}
.bf-field input,
.bf-field textarea,
.bf-field select {
  background-color: #0a0a0a;
  border: 1px solid #2a2a2a;
  padding: 14px 16px;
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  color: #ede8dc;
  outline: none;
  transition: border-color 0.2s;
  font-weight: 500;
  width: 100%;
}
.bf-field input::placeholder,
.bf-field textarea::placeholder { color: #555; }
.bf-field input:focus,
.bf-field textarea:focus,
.bf-field select:focus { border-color: #f5c400; }
.bf-field textarea {
  resize: vertical;
  line-height: 1.6;
  font-family: 'DM Sans', sans-serif;
}
.bf-field select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23888' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.bf-actions { margin-top: 24px; }
.bf-submit {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  background-color: #f5c400;
  color: #0a0a0a;
  padding: 18px 32px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.2s, transform 0.2s;
  display: inline-block;
}
.bf-submit:hover:not(:disabled) {
  background-color: #e85d04;
  color: #ede8dc;
  transform: translateY(-1px);
}
.bf-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.bf-submit .btn-loading { display: none; }
.bf-submit.loading .btn-text { display: none; }
.bf-submit.loading .btn-loading { display: inline; }

.bf-error {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: #e85d04;
  margin-top: 14px;
  min-height: 14px;
}
.bf-meta {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 1px;
  color: #555;
  line-height: 1.6;
  margin-top: 16px;
}

/* ── SUCCESS STATE ── */
.bf-success {
  max-width: 520px;
  margin: 40px auto;
  text-align: center;
  background-color: #0d0d0d;
  border: 1px solid #1e1e1e;
  padding: 56px 44px;
}
.bf-check {
  width: 56px;
  height: 56px;
  background-color: #f5c400;
  color: #0a0a0a;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
}
.bf-success h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 44px;
  letter-spacing: 2px;
  color: #ede8dc;
  margin-bottom: 14px;
  line-height: 1;
}
.bf-success p {
  font-size: 15px;
  color: #aaa;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* ── FAQ ── */
.builder-faq {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background-color: #1e1e1e;
  border: 1px solid #1e1e1e;
}
.faq-item {
  background-color: #0a0a0a;
  padding: 28px 32px;
}
.faq-q {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 1px;
  color: #f5c400;
  margin-bottom: 10px;
}
.faq-a {
  font-size: 14px;
  font-weight: 500;
  color: #ccc;
  line-height: 1.7;
}

/* ── LIGHT MODE ── */
body.light-mode .builder-hero { background-color: #f5f0e8; }
body.light-mode .bh-grid { background-image: linear-gradient(#e0dbd0 1px, transparent 1px), linear-gradient(90deg, #e0dbd0 1px, transparent 1px); }
body.light-mode .bh-spotlight { background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(200,150,0,0.1) 0%, #f5f0e8 70%); }
body.light-mode .bh-1, body.light-mode .bh-3 { color: #111; }
body.light-mode .bh-body { color: #555; }
body.light-mode .bh-stat-num { color: #111; }
body.light-mode .bh-stat-lbl { color: #888; }
body.light-mode .builder-feats { background-color: #ccc; border-color: #ccc; }
body.light-mode .bf-i { background-color: #f5f0e8; }
body.light-mode .bf-t { color: #111; }
body.light-mode .bf-d { color: #555; }
body.light-mode .builder-steps { background-color: #ccc; border-color: #ccc; }
body.light-mode .bs { background-color: #f5f0e8; }
body.light-mode .bs-title { color: #111; }
body.light-mode .bs-desc { color: #555; }
body.light-mode .bf-section { background-color: #ede8dc; border-color: #ccc; }
body.light-mode .bf-section-label { color: #f5c400; }
body.light-mode .bf-field label { color: #555; }
body.light-mode .bf-field input,
body.light-mode .bf-field textarea,
body.light-mode .bf-field select {
  background-color: #f5f0e8;
  border-color: #bbb;
  color: #111;
}
body.light-mode .bf-field input::placeholder,
body.light-mode .bf-field textarea::placeholder { color: #aaa; }
body.light-mode .bf-meta { color: #888; }
body.light-mode .bf-success { background-color: #ede8dc; border-color: #ccc; }
body.light-mode .bf-success h2 { color: #111; }
body.light-mode .bf-success p { color: #555; }
body.light-mode .builder-faq { background-color: #ccc; border-color: #ccc; }
body.light-mode .faq-item { background-color: #f5f0e8; }
body.light-mode .faq-a { color: #555; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .builder-feats { grid-template-columns: 1fr; }
  .builder-steps { grid-template-columns: 1fr; }
  .bh-stats { gap: 24px; }
  .bf-section { padding: 24px; }
}
@media (max-width: 600px) {
  .builder-hero { padding: 100px 20px 60px; }
  .bf-success { padding: 40px 24px; }
}
