/* ============================================
   Quest2Offer — B2B Landing Page
   ============================================ */

/* ---- B2B Hero ---- */
.b2b-hero {
  position: relative;
  padding: calc(var(--nav-h) + 80px) 0 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 1200px 600px at 50% -10%, rgba(99, 102, 241, 0.18), transparent 60%),
    radial-gradient(ellipse 900px 500px at 15% 20%, rgba(168, 85, 247, 0.12), transparent 55%),
    radial-gradient(ellipse 900px 500px at 85% 25%, rgba(56, 189, 248, 0.12), transparent 55%);
  text-align: center;
}
[data-theme="dark"] .b2b-hero {
  background:
    radial-gradient(ellipse 1200px 600px at 50% -10%, rgba(99, 102, 241, 0.22), transparent 60%),
    radial-gradient(ellipse 900px 500px at 15% 20%, rgba(168, 85, 247, 0.14), transparent 55%),
    radial-gradient(ellipse 900px 500px at 85% 25%, rgba(56, 189, 248, 0.12), transparent 55%);
}
.b2b-hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.b2b-hero p {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 36px;
}

/* ---- B2B Problems ---- */
.b2b-problems {
  padding: 100px 0;
  background: var(--bg-subtle);
}
.b2b-problems__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.b2b-problems__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: all 0.3s ease;
}
.b2b-problems__card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}
[data-theme="dark"] .b2b-problems__card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.b2b-problems__icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.b2b-problems__card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.b2b-problems__card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ---- B2B Solution ---- */
.b2b-solution {
  padding: 100px 0;
}
.b2b-solution__list {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.b2b-solution__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  transition: border-color 0.2s;
}
.b2b-solution__item:hover {
  border-color: var(--border-hover);
}
.b2b-solution__check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-top: 1px;
}

/* ---- B2B Features ---- */
.b2b-features {
  padding: 100px 0;
  background: var(--bg-subtle);
}
.b2b-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.b2b-features__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.b2b-features__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.b2b-features__card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}
[data-theme="dark"] .b2b-features__card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.b2b-features__card:hover::before { opacity: 1; }
.b2b-features__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent);
  margin-bottom: 20px;
  font-size: 22px;
}
.b2b-features__card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.b2b-features__card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ---- B2B Steps ---- */
.b2b-steps {
  padding: 100px 0;
}
.b2b-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.b2b-steps__grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 16.67%;
  right: 16.67%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0.25;
}
.b2b-steps__card {
  text-align: center;
  position: relative;
}
.b2b-steps__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}
.b2b-steps__card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.b2b-steps__card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
}

/* ---- B2B Pricing ---- */
.b2b-pricing {
  padding: 100px 0;
  background: var(--bg-subtle);
  text-align: center;
}
.b2b-pricing h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
}
.b2b-pricing__price {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.5;
}
.b2b-pricing__price strong {
  color: var(--text);
  font-weight: 800;
  font-size: 28px;
}
.b2b-pricing__enterprise {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* ---- B2B Contact ---- */
.b2b-contact {
  padding: 100px 0;
}
.b2b-contact .container {
  max-width: 640px;
}
.b2b-contact h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-align: center;
  margin-bottom: 12px;
}
.b2b-contact > .container > p {
  text-align: center;
  color: var(--text-secondary);
  font-size: 17px;
  margin-bottom: 40px;
}
.b2b-contact__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.b2b-contact__form input,
.b2b-contact__form select,
.b2b-contact__form textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.2s;
  width: 100%;
}
.b2b-contact__form input:focus,
.b2b-contact__form select:focus,
.b2b-contact__form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
.b2b-contact__form textarea {
  resize: vertical;
  min-height: 80px;
}
.b2b-contact__form button[type="submit"] {
  margin-top: 8px;
}
.b2b-contact__form button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.b2b-contact__channels {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.b2b-contact__channel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.b2b-contact__channel:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(99, 102, 241, 0.06);
}
.b2b-contact__channel svg {
  flex-shrink: 0;
  opacity: 0.7;
}
.b2b-contact__channel:hover svg {
  opacity: 1;
}
.b2b-contact__success {
  text-align: center;
  padding: 40px 20px;
}
.b2b-contact__success h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--green);
}
.b2b-contact__success p {
  font-size: 16px;
  color: var(--text-secondary);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .b2b-hero {
    padding: calc(var(--nav-h) + 48px) 0 64px;
  }
  .b2b-hero h1 {
    font-size: 32px;
  }
  .b2b-hero p {
    font-size: 16px;
  }
  .b2b-problems__grid,
  .b2b-features__grid,
  .b2b-steps__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .b2b-steps__grid::before {
    display: none;
  }
  .b2b-problems,
  .b2b-solution,
  .b2b-features,
  .b2b-steps,
  .b2b-pricing,
  .b2b-contact {
    padding: 64px 0;
  }
}

@media (max-width: 480px) {
  .b2b-hero h1 {
    font-size: 26px;
  }
  .b2b-hero p {
    font-size: 15px;
  }
  .b2b-problems__card,
  .b2b-features__card {
    padding: 24px 20px;
  }
  .b2b-contact__form input,
  .b2b-contact__form select,
  .b2b-contact__form textarea {
    font-size: 16px;
    padding: 12px 14px;
  }
}
