/* Back-Office Management page — extends main.css */

/* ── HERO ── */
#bo-hero {
  position: relative;
  padding: 9rem 5% 6rem;
  text-align: center;
  overflow: hidden;
}

.bo-hero-glow {
  position: absolute;
  top: -140px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(ellipse, rgba(37,99,255,0.15) 0%, transparent 65%);
  pointer-events: none;
}
.bo-hero-glow2 {
  position: absolute;
  bottom: -60px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(0,212,255,0.1) 0%, transparent 65%);
  pointer-events: none;
}

.bo-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,255,0.1);
  border: 1px solid rgba(37,99,255,0.3);
  border-radius: 100px;
  padding: 0.5rem 1.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

#bo-hero h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.bo-gradient {
  background: linear-gradient(135deg, #2563ff 0%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bo-hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.bo-hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── PHILOSOPHY STRIP ── */
.bo-philosophy-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.bo-philosophy-item {
  padding: 1.75rem 1.5rem;
  border-right: 1px solid var(--border);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}
.bo-philosophy-item:last-child { border-right: none; }
.bo-philosophy-item span { display: block; font-size: 1.35rem; margin-bottom: 0.5rem; }

/* ── GENERIC SECTION WRAPPER ── */
section.bo-section {
  padding: 5.5rem 5%;
  max-width: 100%;
}

.bo-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

section.bo-section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5.5rem 5%;
}

section.bo-section h2,
section.bo-section-alt h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
}

/* ── SERVICES ── */
.bo-services { display: flex; flex-direction: column; }

.bo-service-row {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.bo-service-row:last-child { border-bottom: none; }

.bo-service-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent2);
  letter-spacing: 0.1em;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.18);
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.bo-service-row h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.bo-service-row p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.bo-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent2);
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.18);
  border-radius: 100px;
  padding: 0.25rem 0.875rem;
}

/* ── HOW IT WORKS ── */
.bo-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.bo-step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
}

.bo-step-circle {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563ff, #00d4ff);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.bo-step h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.bo-step p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── AUDIENCE GRID ── */
.bo-audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.bo-audience-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}
.bo-audience-card:hover {
  border-color: rgba(37,99,255,0.35);
  transform: translateY(-2px);
}

.bo-audience-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.bo-audience-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── FAQ ── */
.bo-faq-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.bo-faq-item { border-bottom: 1px solid var(--border); }
.bo-faq-item:last-child { border-bottom: none; }

.bo-faq-btn {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background 0.2s, color 0.2s;
}
.bo-faq-btn:hover { background: rgba(37,99,255,0.05); color: var(--white); }
.bo-faq-btn[aria-expanded="true"] { background: rgba(37,99,255,0.09); color: var(--white); }

.bo-faq-btn::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1;
}
.bo-faq-btn[aria-expanded="true"]::after { content: '−'; }

.bo-faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  background: rgba(37,99,255,0.04);
}
.bo-faq-answer.faq-open { display: block; }
.bo-faq-answer p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ── CONTACT ── */
#contact.bo-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.bo-contact-info h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.bo-contact-info > p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.bo-contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bo-contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted);
}
.bo-contact-detail a { color: var(--text); text-decoration: none; transition: color 0.2s; }
.bo-contact-detail a:hover { color: var(--accent2); }

.bo-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
}

.bo-form-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.bo-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.bo-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.bo-form-field label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.bo-form-field input,
.bo-form-field textarea,
.bo-form-field select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  outline: none;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.bo-form-field input:focus,
.bo-form-field textarea:focus,
.bo-form-field select:focus {
  border-color: rgba(37,99,255,0.5);
  box-shadow: 0 0 0 3px rgba(37,99,255,0.1);
}
.bo-form-field textarea { resize: vertical; min-height: 110px; }
.bo-form-field select { appearance: none; cursor: pointer; }

.bo-form-field input::placeholder,
.bo-form-field textarea::placeholder { color: rgba(123,130,160,0.5); }

.bo-sms-consent {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.6;
  margin: -0.25rem 0 1rem;
}
.bo-sms-consent a { color: var(--accent2); }

.bo-form-submit {
  width: 100%;
  background: var(--accent);
  border: none;
  border-radius: 10px;
  color: var(--white);
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.9rem 2rem;
  transition: opacity 0.2s, transform 0.15s;
  box-shadow: 0 0 28px rgba(37,99,255,0.3);
  margin-top: 0.25rem;
}
.bo-form-submit:hover { opacity: 0.88; transform: translateY(-1px); }
.bo-form-submit:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.bo-success-msg {
  display: none;
  text-align: center;
  padding: 2.5rem 1rem;
}
.bo-success-msg h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.bo-success-msg p { color: var(--muted); font-size: 0.875rem; line-height: 1.6; }

/* ── MOBILE ── */
@media (max-width: 900px) {
  #contact.bo-section { grid-template-columns: 1fr; gap: 3rem; }
  .bo-steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  #bo-hero { padding: 8rem 5% 4.5rem; }
  .bo-philosophy-bar { grid-template-columns: repeat(2, 1fr); }
  .bo-philosophy-item:nth-child(2) { border-right: none; }
  .bo-philosophy-item:nth-child(3) { border-right: 1px solid var(--border); border-top: 1px solid var(--border); }
  .bo-philosophy-item:nth-child(4) { border-top: 1px solid var(--border); }
  .bo-audience-grid { grid-template-columns: 1fr; }
  .bo-steps-grid { grid-template-columns: 1fr; }
  .bo-hero-btns { flex-direction: column; align-items: center; }
  .bo-form-row-2 { grid-template-columns: 1fr; }
  section.bo-section, section.bo-section-alt { padding: 4rem 5%; }
}

@media (max-width: 480px) {
  .bo-philosophy-bar { grid-template-columns: 1fr; }
  .bo-philosophy-item { border-right: none !important; border-bottom: 1px solid var(--border); }
  .bo-philosophy-item:last-child { border-bottom: none; }
}
