/**
 * B2B Industrial Core Stylesheet
 * High-performance, responsive, clean Bento Grid & Mobile Thumb-Dock
 */

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

body {
  font-family: var(--font-body);
  background-color: var(--brand-surface);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Navigation (Unified in css/style.css) */

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--brand-primary);
}

.brand-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--brand-primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary {
  background-color: var(--brand-accent);
  color: var(--text-on-accent);
}

.btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn-outline {
  border: 1px solid var(--brand-primary);
  color: var(--brand-primary);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(var(--brand-primary-rgb), 0.05);
}

/* Hero Section */
.hero-section {
  padding: 5rem 0 4rem;
  background: radial-gradient(circle at top right, rgba(var(--brand-primary-rgb), 0.04) 0%, transparent 60%);
  border-bottom: 1px solid var(--brand-border);
}

.hero-badges {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.badge-cert {
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  background: rgba(var(--brand-primary-rgb), 0.08);
  color: var(--brand-primary);
  border: 1px solid rgba(var(--brand-primary-rgb), 0.15);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 820px;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Industrial Bento Grid */
.section-title-wrap {
  text-align: center;
  margin: 4.5rem 0 2.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.bento-card {
  background: var(--brand-surface-card);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-bento);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bento-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.bento-col-8 { grid-column: span 8; }
.bento-col-4 { grid-column: span 4; }
.bento-col-6 { grid-column: span 6; }
.bento-col-12 { grid-column: span 12; }

.bento-metric-large {
  font-family: var(--font-mono);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.bento-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.bento-card-desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* Interactive Sourcing Calculator */
.calc-section {
  background: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  margin: 3rem 0;
  box-shadow: var(--shadow-bento);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.calc-form-group {
  margin-bottom: 1.25rem;
}

.calc-form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.calc-input, .calc-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: var(--font-body);
}

.calc-results-box {
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.result-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px dashed var(--brand-border);
}

.result-row:last-child {
  border-bottom: none;
}

.result-val {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--brand-primary);
}

/* WebMCP Sample Kit Form */
.webmcp-form-card {
  background: #ffffff;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin: 4rem 0;
}

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

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
}

/* FAQ Accordion */
.faq-item {
  border-bottom: 1px solid var(--brand-border);
  padding: 1.25rem 0;
}

.faq-q {
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.faq-a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Mobile 3-Button Sticky Thumb-Dock */
.mobile-thumb-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--brand-border);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.06);
  z-index: 999;
  padding: 0.625rem 1rem;
}

.dock-actions {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 0.5rem;
}

.dock-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-align: center;
  line-height: 1.2;
}

.dock-btn-whatsapp {
  background: #25D366;
  color: #ffffff;
}

.dock-btn-sample {
  background: var(--brand-accent);
  color: var(--text-on-accent);
}

.dock-btn-spec {
  background: var(--brand-surface);
  border: 1px solid var(--brand-border);
  color: var(--text-primary);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-title { font-size: 2.25rem; }
  .bento-col-8, .bento-col-4, .bento-col-6 { grid-column: span 12; }
  .calc-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 768px) {
  body { padding-bottom: 70px; }
  .mobile-thumb-dock { display: block; }
  .form-row { grid-template-columns: 1fr; }
}

/* SEO & GEO Visual Breadcrumbs Strip */
.breadcrumb-nav-strip {
  margin-top: 106px !important;
  background: #F1F5F9;
  border-bottom: 1px solid #E2E8F0;
  padding: 0.65rem 0;
  font-size: 0.85rem;
  position: relative;
  z-index: 100;
  width: 100%;
}

@media (max-width: 991px) {
  .breadcrumb-nav-strip {
    margin-top: 68px !important;
  }
}

