/* ============================================
   Quest2Offer — For Schools landing (Premium)
   Reuses .b2b-* components from for-business.css
   conventions; adds .fs-* section components.
   ============================================ */

/* ── Page wrapper ── */
.b2b-contact-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

/* ── Hero ── */
.b2b-hero {
  position: relative;
  text-align: center;
  padding: calc(var(--nav-h, 64px) + 48px) 0 56px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 450px at 50% -5%, rgba(99, 102, 241, 0.16), transparent 60%),
    radial-gradient(ellipse 600px 350px at 20% 30%, rgba(168, 85, 247, 0.10), transparent 55%),
    radial-gradient(ellipse 600px 350px at 80% 25%, rgba(56, 189, 248, 0.08), transparent 55%);
}
[data-theme="dark"] .b2b-hero {
  background:
    radial-gradient(ellipse 900px 450px at 50% -5%, rgba(99, 102, 241, 0.22), transparent 60%),
    radial-gradient(ellipse 600px 350px at 20% 30%, rgba(168, 85, 247, 0.14), transparent 55%),
    radial-gradient(ellipse 600px 350px at 80% 25%, rgba(56, 189, 248, 0.10), transparent 55%);
}
.b2b-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border, #333);
  background: var(--surface, #18181b);
  color: var(--accent, #6366f1);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.b2b-hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green, #22c55e);
  animation: b2b-pulse 2s ease-in-out infinite;
}
@keyframes b2b-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.b2b-hero__title {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.15;
  margin: 0 auto 16px;
  max-width: 760px;
  color: var(--text-primary, #fafafa);
  letter-spacing: -0.02em;
}
.b2b-hero__title-accent {
  background: linear-gradient(135deg, var(--accent, #6366f1), var(--accent-2, #a855f7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.b2b-hero__text {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary, #a1a1aa);
  max-width: 620px;
  margin: 0 auto 28px;
}
.b2b-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm, 10px);
  border: none;
  background: linear-gradient(135deg, var(--accent, #6366f1), var(--accent-2, #a855f7));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px -4px rgba(99, 102, 241, 0.4);
}
.b2b-hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px -4px rgba(99, 102, 241, 0.5);
}
.b2b-hero__cta svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Section heading label ── */
.b2b-section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted, #8a8a94);
}
.b2b-section-label::before,
.b2b-section-label::after {
  content: '';
  flex: 1;
  max-width: 100px;
  height: 1px;
  background: var(--border, rgba(255,255,255,0.06));
}

/* ── Generic section ── */
.fs-section {
  margin-bottom: 56px;
  text-align: center;
}
.fs-section--highlight {
  position: relative;
  padding: 40px 28px;
  border-radius: var(--radius, 16px);
  border: 1px solid var(--border, rgba(255,255,255,0.06));
  background: var(--surface, #18181b);
  overflow: hidden;
}
.fs-section--highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent, #6366f1), var(--accent-2, #a855f7));
}
.fs-section--pilot {
  padding: 36px 28px;
  border-radius: var(--radius, 16px);
  border: 1px dashed var(--border-hover, rgba(255,255,255,0.14));
  background: var(--bg-subtle, #111114);
}
.fs-section__title {
  font-size: 27px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 auto 14px;
  max-width: 640px;
  color: var(--text-primary, #fafafa);
  letter-spacing: -0.01em;
}
.fs-section__lead {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary, #a1a1aa);
  max-width: 620px;
  margin: 0 auto 28px;
}
.fs-section__body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary, #a1a1aa);
  max-width: 640px;
  margin: 0 auto;
}
.fs-section__note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted, #8a8a94);
  max-width: 620px;
  margin: 24px auto 0;
}

/* ── Card grids ── */
.fs-cards {
  display: grid;
  gap: 16px;
  text-align: left;
}
.fs-cards--3 {
  grid-template-columns: repeat(3, 1fr);
}
.fs-card {
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  border-radius: var(--radius, 16px);
  border: 1px solid var(--border, rgba(255,255,255,0.06));
  background: var(--surface, #18181b);
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s;
}
.fs-section--highlight .fs-card {
  background: var(--bg-subtle, #111114);
}
.fs-card:hover {
  border-color: var(--border-hover, rgba(255,255,255,0.12));
  transform: translateY(-3px);
  box-shadow: 0 12px 40px -8px rgba(99, 102, 241, 0.15);
}
.fs-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.1);
  font-size: 20px;
  margin-bottom: 14px;
}
.fs-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary, #fafafa);
  margin-bottom: 8px;
}
.fs-card__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary, #a1a1aa);
}

/* ── Steps ── */
.fs-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}
.fs-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 22px;
  border-radius: var(--radius, 16px);
  border: 1px solid var(--border, rgba(255,255,255,0.06));
  background: var(--surface, #18181b);
}
.fs-step__num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent, #6366f1), var(--accent-2, #a855f7));
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}
.fs-step__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary, #fafafa);
  margin-bottom: 6px;
}
.fs-step__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary, #a1a1aa);
}

/* ── Privacy two-column ── */
.fs-privacy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  text-align: left;
}
.fs-privacy__col {
  padding: 24px 22px;
  border-radius: var(--radius, 16px);
  border: 1px solid var(--border, rgba(255,255,255,0.06));
  background: var(--surface, #18181b);
}
.fs-privacy__col--yes {
  border-color: rgba(34, 197, 94, 0.25);
}
.fs-privacy__col--no {
  border-color: rgba(244, 63, 94, 0.22);
}
.fs-privacy__head {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.fs-privacy__col--yes .fs-privacy__head { color: var(--green, #22c55e); }
.fs-privacy__col--no .fs-privacy__head { color: #f43f5e; }
.fs-privacy__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fs-privacy__list li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary, #a1a1aa);
}
.fs-privacy__list li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
}
.fs-privacy__col--yes .fs-privacy__list li::before {
  content: '\2713';
  color: var(--green, #22c55e);
}
.fs-privacy__col--no .fs-privacy__list li::before {
  content: '\2715';
  color: #f43f5e;
}

/* ── Form section (shared with for-business styles) ── */
.b2b-form-section {
  position: relative;
  background: var(--surface, #18181b);
  border: 1px solid var(--border, rgba(255,255,255,0.06));
  border-radius: var(--radius, 16px);
  padding: 36px;
  margin-bottom: 40px;
  overflow: hidden;
}
.b2b-form-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent, #6366f1), var(--accent-2, #a855f7));
}
.b2b-form-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}
.b2b-form-section__title {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--text-primary, #fafafa);
}
.b2b-form-section__subtitle {
  font-size: 14px;
  color: var(--text-secondary, #a1a1aa);
  margin: 0;
}
.b2b-form-header__response-time {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.1);
  color: var(--green, #22c55e);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.b2b-form-header__response-time svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
.b2b-form { display: flex; flex-direction: column; gap: 16px; }
.b2b-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.b2b-form__field { display: flex; flex-direction: column; gap: 6px; }
.b2b-form__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary, #a1a1aa);
}
.b2b-form__input,
.b2b-form__textarea {
  padding: 11px 14px;
  border-radius: var(--radius-sm, 10px);
  border: 1px solid var(--border, rgba(255,255,255,0.06));
  background: var(--bg-subtle, #111114);
  color: var(--text-primary, #fafafa);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.b2b-form__input:focus,
.b2b-form__textarea:focus {
  border-color: var(--accent, #6366f1);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}
.b2b-form__input::placeholder,
.b2b-form__textarea::placeholder { color: var(--text-muted, #8a8a94); }
.b2b-form__textarea {
  resize: vertical;
  min-height: 90px;
}
.b2b-form__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}
.b2b-form__submit {
  padding: 13px 32px;
  border-radius: var(--radius-sm, 10px);
  border: none;
  background: linear-gradient(135deg, var(--accent, #6366f1), var(--accent-2, #a855f7));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px -4px rgba(99, 102, 241, 0.35);
}
.b2b-form__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px -4px rgba(99, 102, 241, 0.45);
}
.b2b-form__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.b2b-form__success {
  padding: 14px 18px;
  border-radius: var(--radius-sm, 10px);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: var(--green, #22c55e);
  font-size: 14px;
  font-weight: 600;
  display: none;
}
.b2b-form__success.is-visible { display: block; }

/* ── Alternative contacts ── */
.b2b-alt-contacts {
  text-align: center;
  padding: 32px 0;
}
.b2b-alt-contacts__divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--text-muted, #8a8a94);
}
.b2b-alt-contacts__divider::before,
.b2b-alt-contacts__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border, rgba(255,255,255,0.06));
}
.b2b-alt-contacts__links {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.b2b-alt-contacts__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm, 10px);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border, rgba(255,255,255,0.06));
  color: var(--text-primary, #fafafa);
  background: var(--surface, #18181b);
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.b2b-alt-contacts__link:hover {
  border-color: var(--border-hover, rgba(255,255,255,0.12));
  transform: translateY(-2px);
  box-shadow: 0 4px 16px -4px rgba(0,0,0,0.3);
}
.b2b-alt-contacts__link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .b2b-hero__title { font-size: 32px; }
  .fs-section__title { font-size: 23px; }
  .fs-cards--3 { grid-template-columns: 1fr; }
  .fs-privacy { grid-template-columns: 1fr; }
  .b2b-form-header { flex-direction: column; gap: 12px; }
}
@media (max-width: 480px) {
  .b2b-hero__title { font-size: 25px; }
  .fs-section__title { font-size: 20px; }
  .b2b-form__row { grid-template-columns: 1fr; }
  .b2b-form-section { padding: 24px 18px; }
  .fs-section--highlight,
  .fs-section--pilot { padding: 28px 18px; }
  .fs-step { padding: 18px 16px; gap: 14px; }
  .b2b-hero { padding-top: calc(var(--nav-h, 64px) + 32px); padding-bottom: 40px; }
}
