/* ─────────────────────────────────────────
   BOOK A DEMO — Page Styles
   ───────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --navy:       #0A1628;
  --navy-mid:   #0F2035;
  --navy-light: #162845;
  --navy-card:  #111F38;
  --teal:       #2DD4C8;
  --yellow:     #F7C52A;
  --white:      #FFFFFF;
  --off-white:  #E8EDF5;
  --muted:      #7A9BBF;
  --text:       #C8D8EE;
}

html, body {
  height: 100%;
  font-family: 'Poppins', sans-serif;
  background: var(--navy);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* ── HEADER ── */
.bd-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 60px;
  background: rgba(10,22,40,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.bd-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.bd-logo .logo-icon { width: 28px; height: 28px; }
.bd-wordmark { line-height: 1.15; }
.bd-wm {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}
.bd-wm span { color: var(--teal); }
.bd-tag-sm {
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.bd-back {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.18s;
}
.bd-back:hover { color: var(--white); }

/* ── MAIN LAYOUT ── */
.bd-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding-top: 60px;
}

/* ── LEFT PANEL ── */
.bd-left {
  background: var(--navy);
  position: sticky;
  top: 60px;
  height: calc(100vh - 60px);
  overflow-y: auto;
  border-right: 1px solid rgba(255,255,255,0.05);
}

.bd-left::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(45,212,200,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.bd-left-inner {
  padding: 3.5rem 3rem 3.5rem 3.5rem;
  position: relative;
}

.bd-kicker {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.bd-kicker::before {
  content: '';
  display: block;
  width: 22px; height: 2px;
  background: var(--teal);
  flex-shrink: 0;
}

.bd-headline {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.bd-headline span { color: var(--teal); }

.bd-sub {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 2rem;
  max-width: 420px;
}

/* Exclusive callout */
.bd-exclusive {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(45,212,200,0.05);
  border: 1px solid rgba(45,212,200,0.18);
  border-left: 3px solid var(--teal);
  border-radius: 6px;
  padding: 1.2rem 1.2rem 1.2rem 1rem;
  margin-bottom: 2rem;
}
.bd-excl-icon {
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.bd-excl-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.35rem;
}
.bd-excl-body {
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--text);
}

/* What you'll see */
.bd-what { margin-bottom: 2rem; }
.bd-what-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.bd-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.bd-list li {
  font-size: 0.84rem;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  line-height: 1.5;
}
.bd-list li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 0.15em;
}

/* Quote */
.bd-quote {
  background: var(--navy-card);
  border: 1px solid rgba(45,212,200,0.08);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  transition: border-color 0.18s;
}
.bd-quote:hover { border-color: rgba(45,212,200,0.18); }
.bd-qm {
  font-size: 3rem;
  color: var(--teal);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: -0.5rem;
  font-family: Georgia, serif;
}
.bd-qt {
  font-size: 0.84rem;
  line-height: 1.75;
  color: var(--text);
  font-style: italic;
  margin-bottom: 1rem;
}
.bd-qn {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
}
.bd-qr {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

/* Stats */
.bd-stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.bd-stat-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
}
.bd-stat-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* G2 */
.bd-g2 { max-width: 520px; opacity: 0.9; display: block; margin-right: auto; }

/* ── RIGHT PANEL (FORM) ── */
.bd-right {
  background: var(--navy-mid);
  overflow-y: auto;
}

.bd-form-wrap {
  padding: 3.5rem 3.5rem 3.5rem 3rem;
  max-width: 560px;
}

.bd-form-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.bd-form-sub {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Form layout */
.bd-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.bd-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

.bd-field label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--off-white);
}
.bd-field label .req { color: var(--teal); margin-left: 1px; }
.bd-field label .bd-opt {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.68rem;
}

.bd-field input,
.bd-field select,
.bd-field textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 5px;
  padding: 0.72rem 0.9rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.84rem;
  color: var(--white);
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
  width: 100%;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.bd-field input::placeholder,
.bd-field textarea::placeholder { color: rgba(122,155,191,0.5); }

.bd-field input:focus,
.bd-field select:focus,
.bd-field textarea:focus {
  border-color: var(--teal);
  background: rgba(45,212,200,0.04);
  box-shadow: 0 0 0 3px rgba(45,212,200,0.1);
}

.bd-field input.error,
.bd-field select.error,
.bd-field textarea.error {
  border-color: #e05c5c;
  box-shadow: 0 0 0 3px rgba(224,92,92,0.1);
}

.bd-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A9BBF' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.25rem;
  cursor: pointer;
}
.bd-field select option { background: var(--navy-mid); color: var(--white); }

.bd-field textarea { resize: vertical; min-height: 90px; line-height: 1.6; }

/* Urgency bar */
.bd-urgency-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(247,197,42,0.06);
  border: 1px solid rgba(247,197,42,0.18);
  border-radius: 5px;
  padding: 0.65rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--yellow);
  letter-spacing: 0.01em;
  margin-bottom: 1.5rem;
}
.bd-urgency-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.35; transform: scale(0.7); }
}

/* Slot notice */
.bd-slot-notice {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--yellow);
  opacity: 0.8;
  margin-bottom: 0.65rem;
}
.bd-slot-notice svg { flex-shrink: 0; }

/* Submit */
.bd-submit {
  width: 100%;
  background: var(--teal);
  color: var(--navy);
  border: none;
  border-radius: 5px;
  padding: 0.9rem 1.5rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  margin-top: 0.5rem;
}
.bd-submit:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45,212,200,0.25);
}
.bd-submit:active { transform: translateY(0); }

/* Privacy note */
.bd-privacy {
  font-size: 0.7rem;
  color: var(--muted);
  text-align: center;
  margin-top: 1rem;
  line-height: 1.5;
}

/* ── SUCCESS STATE ── */
.bd-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  min-height: 400px;
}
.bd-success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(45,212,200,0.12);
  border: 2px solid rgba(45,212,200,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  color: var(--teal);
  margin-bottom: 1.5rem;
}
.bd-success-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.bd-success-sub {
  font-size: 0.86rem;
  line-height: 1.75;
  color: var(--text);
  max-width: 380px;
  margin-bottom: 2rem;
}
.bd-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(45,212,200,0.3);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s;
}
.bd-back-btn:hover {
  background: rgba(45,212,200,0.07);
  border-color: var(--teal);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .bd-main { grid-template-columns: 1fr; }

  .bd-left {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .bd-left-inner { padding: 2.5rem 1.5rem; }
  .bd-stats { gap: 1rem; }
  .bd-g2 { max-width: 400px; }

  .bd-form-wrap { padding: 2.5rem 1.5rem; max-width: 100%; }
}

@media (max-width: 520px) {
  .bd-row { grid-template-columns: 1fr; }
  .bd-header { padding: 0 1.25rem; }
}
