/* ============================================================
   BossMind Suite — Front-End Styles
   ============================================================ */

:root {
  --bm-black:    #080808;
  --bm-dark:     #111111;
  --bm-surface:  #1a1a1a;
  --bm-gold:     #D4A843;
  --bm-gold-lt:  #F0C842;
  --bm-white:    #F2EDE4;
  --bm-muted:    #888888;
  --bm-border:   #2a2a2a;
  --bm-radius:   4px;
  --bm-font-d:   'Cormorant Garamond', Georgia, serif;
  --bm-font-b:   'Outfit', system-ui, sans-serif;
}

/* ── Portal Form ── */
.bm-portal-wrap {
  max-width: 780px;
  margin: 0 auto;
  font-family: var(--bm-font-b);
}
.bm-portal-header { margin-bottom: 2rem; }
.bm-portal-header h2 {
  font-family: var(--bm-font-d);
  font-size: 2rem;
  font-weight: 600;
  color: var(--bm-black);
  margin: 0 0 .5rem;
}
.bm-portal-header p { color: #555; margin: 0; }

.bm-portal-form { display: flex; flex-direction: column; gap: 1.25rem; }

.bm-form-row { display: flex; gap: 1.25rem; }
.bm-form-row--2 > * { flex: 1; }
@media (max-width: 600px) { .bm-form-row { flex-direction: column; } }

.bm-form-group { display: flex; flex-direction: column; gap: .4rem; }
.bm-form-group label {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #333;
}
.bm-req { color: var(--bm-gold); }

.bm-portal-form input[type="text"],
.bm-portal-form input[type="email"],
.bm-portal-form select,
.bm-portal-form textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid #ddd;
  border-radius: var(--bm-radius);
  font-family: var(--bm-font-b);
  font-size: .95rem;
  background: #fafafa;
  color: #111;
  transition: border-color .2s, box-shadow .2s;
  box-sizing: border-box;
  -webkit-appearance: none;
}
.bm-portal-form input:focus,
.bm-portal-form select:focus,
.bm-portal-form textarea:focus {
  outline: none;
  border-color: var(--bm-gold);
  box-shadow: 0 0 0 3px rgba(212,168,67,.12);
  background: #fff;
}
.bm-portal-form textarea { resize: vertical; min-height: 140px; }

.bm-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: .5rem;
}
.bm-form-note { color: #888; font-size: .85rem; margin: 0; }

.bm-submit-btn {
  display: inline-block;
  padding: .85rem 2.5rem;
  background: var(--bm-black);
  color: var(--bm-gold);
  font-family: var(--bm-font-b);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 2px solid var(--bm-black);
  border-radius: var(--bm-radius);
  cursor: pointer;
  transition: background .2s, color .2s, transform .15s;
}
.bm-submit-btn:hover {
  background: var(--bm-gold);
  color: var(--bm-black);
  border-color: var(--bm-gold);
  transform: translateY(-1px);
}
.bm-submit-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.bm-alert {
  padding: .85rem 1.25rem;
  border-radius: var(--bm-radius);
  font-size: .9rem;
  margin-bottom: 1rem;
}
.bm-alert--error { background: #fff1f0; border: 1px solid #ffccc7; color: #a61d24; }
.bm-alert--success { background: #f6ffed; border: 1px solid #b7eb8f; color: #135200; }

.bm-portal-success { text-align: center; padding: 3rem 2rem; }
.bm-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--bm-gold);
  color: var(--bm-black);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.bm-portal-success h3 { font-family: var(--bm-font-d); font-size: 1.8rem; margin: 0 0 .5rem; }
.bm-portal-success p { color: #555; }

/* ── Consulting Grid ── */
.bm-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.bm-service-card {
  padding: 2rem;
  border: 1px solid #e5e5e5;
  border-radius: var(--bm-radius);
  transition: border-color .2s, box-shadow .2s;
}
.bm-service-card:hover {
  border-color: var(--bm-gold);
  box-shadow: 0 4px 20px rgba(212,168,67,.1);
}
.bm-service-icon { font-size: 1.5rem; color: var(--bm-gold); margin-bottom: 1rem; }
.bm-service-card h3 { margin: 0 0 .75rem; font-size: 1.1rem; font-weight: 600; }
.bm-service-card p { color: #555; font-size: .9rem; margin: 0; line-height: 1.6; }

/* ── SaaS Grid ── */
.bm-saas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.bm-saas-card {
  padding: 2rem;
  border: 1.5px solid #e5e5e5;
  border-radius: var(--bm-radius);
  position: relative;
}
.bm-saas-card--featured {
  border-color: var(--bm-gold);
  box-shadow: 0 8px 30px rgba(212,168,67,.15);
}
.bm-saas-badge {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: #888;
  margin-bottom: .5rem;
}
.bm-saas-badge--gold { color: var(--bm-gold); }
.bm-saas-price { font-size: 2.5rem; font-weight: 700; color: #111; line-height: 1; margin-bottom: .25rem; }
.bm-saas-price span { font-size: 1rem; color: #888; }
.bm-saas-card h3 { font-size: 1rem; font-weight: 600; color: #333; margin: .25rem 0 1.25rem; }
.bm-saas-features { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.bm-saas-features li { font-size: .88rem; color: #555; padding: .3rem 0; border-bottom: 1px solid #f0f0f0; }

/* ── Guarantee Badge ── */
.bm-guarantee-badge {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.75rem;
  border: 2px solid var(--bm-gold);
  border-radius: var(--bm-radius);
  background: #fffdf5;
  margin: 2rem 0;
  max-width: 500px;
}
.bm-guarantee-seal {
  flex-shrink: 0;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--bm-gold);
  color: #fff;
  font-weight: 800;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bm-guarantee-text { display: flex; flex-direction: column; gap: .2rem; }
.bm-guarantee-text strong { font-size: .95rem; color: #111; }
.bm-guarantee-text span { font-size: .83rem; color: #666; }

/* ── Buttons ── */
.bm-btn {
  display: inline-block;
  padding: .8rem 2rem;
  font-family: var(--bm-font-b);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--bm-radius);
  text-decoration: none;
  transition: all .2s;
  cursor: pointer;
  border: 2px solid transparent;
}
.bm-btn--gold { background: var(--bm-gold); color: var(--bm-black); border-color: var(--bm-gold); }
.bm-btn--gold:hover { background: var(--bm-gold-lt); border-color: var(--bm-gold-lt); }
.bm-btn--outline { background: transparent; color: var(--bm-black); border-color: var(--bm-black); }
.bm-btn--outline:hover { background: var(--bm-black); color: #fff; }
