/**
 * BoozeButler B2B Landing Page Styles
 * Extends boozebutler-landing.css; uses same CSS variables
 */

.b2b-page {
  background: var(--bg, #F7F5F2);
}

/* Secondary button (ghost/outline style) */
.btn--secondary {
  background: transparent;
  color: var(--text, #1c1e21);
  border: 2px solid var(--accent, #C47E42);
  box-shadow: none;
}

.btn--secondary:hover {
  background: rgba(196, 126, 66, 0.08);
}

/* Header */
.b2b-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border, rgba(196, 126, 66, 0.2));
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.b2b-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.b2b-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text, #1c1e21);
}

.b2b-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.b2b-brand-text {
  font-weight: 600;
  font-size: 1.125rem;
}

.b2b-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.b2b-nav a {
  color: var(--text, #1c1e21);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.b2b-nav a:hover {
  color: var(--accent, #C47E42);
}

.b2b-cta-nav {
  color: var(--accent, #C47E42) !important;
}

.b2b-cta-nav:hover {
  text-decoration: underline !important;
}

/* Hero */
.b2b-hero {
  padding: 80px 24px 100px;
  text-align: center;
  background: linear-gradient(180deg, rgba(196, 126, 66, 0.06) 0%, transparent 60%);
}

.b2b-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.b2b-hero-headline {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text, #1c1e21);
  margin-bottom: 20px;
}

.b2b-hero-subtext {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.5;
  color: var(--muted, #475569);
  margin-bottom: 40px;
}

.b2b-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* Sections */
.b2b-section {
  padding: 80px 24px;
}

.b2b-section--alt {
  background: rgba(255, 255, 255, 0.6);
}

.b2b-section-inner {
  max-width: 900px;
  margin: 0 auto;
}

.b2b-section-title {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--text, #1c1e21);
  margin-bottom: 24px;
  text-align: center;
}

.b2b-section-lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text, #1c1e21);
}

.b2b-impl-note {
  margin-top: 16px;
  font-size: 1rem;
  color: var(--muted, #475569);
}

/* How It Works list */
.b2b-how-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.b2b-how-list li {
  position: relative;
  padding: 16px 0 16px 40px;
  border-bottom: 1px solid rgba(196, 126, 66, 0.12);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text, #1c1e21);
}

.b2b-how-list li:last-child {
  border-bottom: none;
}

.b2b-how-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent, #C47E42);
  font-weight: 700;
}

/* Common questions (Q&A blocks) */
.b2b-faq-list {
  margin-top: 8px;
}

.b2b-faq-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border, rgba(196, 126, 66, 0.15));
}

.b2b-faq-item:last-child {
  border-bottom: none;
}

.b2b-faq-q {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text, #1c1e21);
  margin: 0 0 8px;
}

.b2b-faq-a {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted, #475569);
  margin: 0;
}

/* Architecture cards */
.b2b-arch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.b2b-arch-grid--compact {
  margin-top: 20px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.b2b-arch-card {
  padding: 32px 24px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border, rgba(196, 126, 66, 0.2));
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.b2b-arch-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.b2b-arch-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.b2b-arch-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text, #1c1e21);
  margin-bottom: 8px;
}

.b2b-arch-card p {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--muted, #475569);
}

/* Analytics list */
.b2b-analytics-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.b2b-analytics-list li {
  padding: 12px 20px;
  background: rgba(196, 126, 66, 0.1);
  border-radius: 12px;
  font-weight: 500;
  color: var(--text, #1c1e21);
}

/* Video section */
.b2b-section--video {
  padding-top: 96px;
  padding-bottom: 96px;
}

/* Full-width inner + centered column — avoids ~300px iframe / min-content shrink in flex contexts */
.b2b-section--video .b2b-section-inner {
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.b2b-video-lead {
  max-width: 560px;
  margin: 0 auto 28px;
  text-align: center;
  font-size: 1.0625rem;
  color: var(--muted, #475569);
  line-height: 1.55;
}

.b2b-video-wrap {
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.b2b-video-embed {
  position: relative;
  width: 100%;
  min-width: 0; /* allow row to use full width instead of iframe intrinsic ~300px */
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.b2b-video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.b2b-video-bullets {
  list-style: none;
  padding: 0;
  margin: 28px 0 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 32px;
  font-size: 0.9375rem;
  color: var(--text, #1c1e21);
}

.b2b-video-bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.b2b-video-bullets li::before {
  content: "✓";
  color: var(--accent, #C47E42);
  font-weight: 700;
  font-size: 1rem;
}

.b2b-video-cta {
  text-align: center;
  margin-top: 24px;
}

.b2b-video-cta .btn {
  display: inline-block;
  text-decoration: none;
}

.b2b-video-cta-sublabel {
  margin: 12px 0 0;
  font-size: 0.875rem;
  color: var(--muted, #475569);
}

.b2b-video-cta-sublabel a {
  color: var(--accent, #C47E42);
  text-decoration: none;
  font-weight: 500;
}

.b2b-video-cta-sublabel a:hover {
  text-decoration: underline;
}

.b2b-video-placeholder {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(196, 126, 66, 0.15) 0%, rgba(196, 126, 66, 0.05) 100%);
  border-radius: 16px;
  border: 2px dashed rgba(196, 126, 66, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.b2b-video-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text, #1c1e21);
  padding: 32px;
  transition: opacity 0.2s ease;
}

.b2b-video-link:hover {
  opacity: 0.85;
}

.b2b-video-play {
  width: 72px;
  height: 72px;
  background: var(--accent, #C47E42);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  padding-left: 6px;
}

.b2b-video-label {
  font-weight: 600;
  font-size: 1.125rem;
}

.b2b-video-sublabel {
  font-size: 0.875rem;
  color: var(--muted, #475569);
}

/* Pilot offer */
.b2b-pilot-lead {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text, #1c1e21);
  text-align: center;
  margin-bottom: 12px;
}

.b2b-pilot-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted, #475569);
  text-align: center;
}

/* CTA section */
.b2b-cta-section {
  background: linear-gradient(180deg, rgba(196, 126, 66, 0.08) 0%, rgba(196, 126, 66, 0.02) 100%);
}

.b2b-cta-section .b2b-section-lead {
  text-align: center;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}

.b2b-cta-subtext {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted, #475569);
  text-align: center;
  margin-bottom: 12px;
}

.b2b-cta-trust {
  font-size: 0.9375rem;
  color: var(--accent, #C47E42);
  font-weight: 500;
  text-align: center;
  margin-bottom: 28px;
}

/* Demo form */
.b2b-demo-form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.b2b-form-row {
  display: flex;
  gap: 16px;
}

.b2b-form-row input {
  flex: 1;
}

.b2b-demo-form input,
.b2b-demo-form textarea {
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--border, rgba(196, 126, 66, 0.2));
  font-family: inherit;
  font-size: 1rem;
  color: var(--text, #1c1e21);
  background: #fff;
}

.b2b-demo-form input:focus,
.b2b-demo-form textarea:focus {
  outline: none;
  border-color: var(--accent, #C47E42);
}

.b2b-demo-form textarea {
  resize: vertical;
  min-height: 100px;
}

.b2b-demo-form button {
  align-self: center;
  margin-top: 8px;
}

/* Footer */
.b2b-footer {
  padding: 48px 24px;
  border-top: 1px solid var(--border, rgba(196, 126, 66, 0.2));
  background: rgba(247, 245, 242, 0.8);
}

.b2b-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.b2b-footer-tagline {
  font-weight: 500;
  color: var(--text, #1c1e21);
  margin-bottom: 8px;
}

.b2b-footer-copyright {
  font-size: 0.875rem;
  color: var(--muted, #475569);
  margin-bottom: 20px;
}

.b2b-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.b2b-footer-nav a {
  color: var(--text, #1c1e21);
  text-decoration: none;
  font-size: 0.9375rem;
}

.b2b-footer-nav a:hover {
  color: var(--accent, #C47E42);
}

/* Responsive */
@media (max-width: 768px) {
  .b2b-header-inner {
    flex-wrap: wrap;
  }

  .b2b-nav {
    width: 100%;
    justify-content: flex-end;
    gap: 20px;
  }

  .b2b-hero {
    padding: 60px 20px 80px;
  }

  .b2b-section {
    padding: 60px 20px;
  }

  .b2b-section--video {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .b2b-video-bullets {
    flex-direction: column;
    align-items: center;
  }

  .b2b-hero-actions {
    flex-direction: column;
  }

  .b2b-hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .b2b-form-row {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .b2b-nav {
    flex-wrap: wrap;
  }

  .b2b-arch-grid {
    grid-template-columns: 1fr;
  }
}
