/* ==========================================================================
   Xinying Advanced Nonwovens (airthroughnonwoven.com)
   Design System & Styling Architecture (Anthropic Anti-Slop & Vercel Guidelines)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Tokens
   -------------------------------------------------------------------------- */
:root {
  --color-brand-primary: #0d233a;       /* Deep Marine Navy */
  --color-brand-dark: #071524;          /* Nightfall Navy */
  --color-brand-accent: #008b8b;        /* Cleanroom Teal */
  --color-brand-accent-hover: #006666;
  --color-brand-accent-light: #e0f2f1;  /* Soft Teal Background */
  --color-brand-secondary: #059669;     /* Verified Emerald */

  --color-surface-pure: #ffffff;
  --color-surface-subtle: #f4f8fb;
  --color-surface-card: #ffffff;
  --color-surface-card-alt: #f8fafc;
  --color-surface-dark: #091a2b;

  --color-border-light: #e2e8f0;
  --color-border-card: #cbd5e1;
  --color-border-focus: #008b8b;

  --color-text-heading: #0a192f;
  --color-text-body: #334e68;
  --color-text-muted: #627d98;
  --color-text-inverse: #ffffff;
  --color-text-accent: #008b8b;

  --color-status-success: #059669;
  --color-status-success-bg: #ecfdf5;
  --color-status-warning: #d97706;
  --color-status-warning-bg: #fffbeb;
  --color-status-error: #ef4444;
  --color-status-error-bg: #fef2f2;

  --font-family-sans: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-display: "DM Serif Display", Georgia, serif;
  --font-family-mono: ui-monospace, "JetBrains Mono", "SFMono-Regular", Menlo, monospace;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);

  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-body);
  background-color: var(--color-surface-pure);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  touch-action: manipulation;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button, input, select, textarea {
  font: inherit;
}

/* Tabular Numbers for Technical Data */
.tabular-nums, .metric-value, .spec-value, .calc-result, table td {
  font-variant-numeric: tabular-nums;
}

/* Accessible Focus States */
:focus-visible {
  outline: 3px solid var(--color-brand-accent);
  outline-offset: 2px;
}

/* Skip to main content link for a11y */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--color-brand-primary);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  z-index: 9999;
  transition: transform var(--transition-fast);
}
.skip-to-content:focus {
  top: 16px;
  transform: translateY(0);
}

/* Hidden Honeypot */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* --------------------------------------------------------------------------
   3. Layout Containers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.section-sm {
  padding-top: 48px;
  padding-bottom: 48px;
}

.section-subtle {
  background-color: var(--color-surface-subtle);
}

.section-dark {
  background-color: var(--color-brand-dark);
  color: var(--color-text-inverse);
}

.section-dark .section-title {
  color: var(--color-text-inverse);
}

.section-dark .section-subtitle {
  color: #94a3b8;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-heading);
  line-height: 1.25;
  font-weight: 700;
  text-wrap: balance;
}

.display-title {
  font-family: var(--font-family-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 720px;
  margin-bottom: 40px;
}

.section-subtitle.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.text-center {
  text-align: center;
}

/* --------------------------------------------------------------------------
   4. Header & Navigation (Sticky, Accessible, Clean URLs)
   -------------------------------------------------------------------------- */
/* Top Utility Bar */
.top-utility-bar {
  background-color: var(--color-brand-dark);
  color: #cbd5e1;
  font-size: 0.8125rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-utility-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-badge-strip {
  display: flex;
  align-items: center;
  gap: 16px;
}

.verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #a7f3d0;
  font-weight: 600;
}

.top-contacts {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-contact-link {
  color: #e2e8f0;
  transition: color var(--transition-fast);
}

.top-contact-link:hover {
  color: var(--color-brand-accent-light);
}

/* Main Navigation Header */
.site-header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border-light);
  z-index: 100;
  transition: background-color var(--transition-fast);
}

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

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  height: 48px;
  width: auto;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-body);
  padding: 8px 4px;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--color-brand-accent);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-brand-accent);
  border-radius: var(--radius-full);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--color-border-card);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  color: var(--color-text-heading);
  cursor: pointer;
  font-size: 1.25rem;
}

/* --------------------------------------------------------------------------
   5. Buttons & CTAs (Anti-Slop Active Voice)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background-color: var(--color-brand-accent);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--color-brand-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--color-brand-primary);
  color: #ffffff;
}

.btn-secondary:hover {
  background-color: #1a3a5a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background-color: var(--color-surface-subtle);
  border-color: var(--color-brand-primary);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.0625rem;
}

.btn-sample {
  background-color: #d97706;
  color: #ffffff;
}
.btn-sample:hover {
  background-color: #b45309;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   6. Hero Section (German Trützschler Line Focus)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--color-brand-dark) 0%, #0d233a 60%, #103350 100%);
  color: #ffffff;
  padding: 72px 0 88px 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(0, 139, 139, 0.25);
  border: 1px solid rgba(0, 200, 200, 0.4);
  color: #a5f3fc;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.hero-title {
  color: #ffffff;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 1.1875rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin-bottom: 32px;
  max-width: 640px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: #22d3ee;
  line-height: 1.1;
}

.hero-stat-label {
  font-size: 0.8125rem;
  color: #94a3b8;
  margin-top: 4px;
}

/* Hero Visual / Right Stage */
.hero-visual-card {
  background: rgba(15, 35, 58, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.hero-visual-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background-color: #071524;
}

.hero-visual-img-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-card-overlay-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(7, 21, 36, 0.88);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --------------------------------------------------------------------------
   7. Factory Truth Verification Banner
   -------------------------------------------------------------------------- */
.factory-truth-strip {
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-border-light);
  padding: 24px 0;
}

.truth-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.truth-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.truth-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--color-brand-accent-light);
  color: var(--color-brand-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.truth-text h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.truth-text p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   8. Product Cards & Roll Goods Catalog
   -------------------------------------------------------------------------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 32px;
}

.product-card {
  background-color: var(--color-surface-card);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-brand-accent);
}

.product-card-media {
  position: relative;
  background-color: #0d233a;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.product-card:hover .product-card-media img {
  transform: scale(1.03);
}

.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ffffff;
  background-color: var(--color-brand-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-brand-accent);
  margin-bottom: 8px;
}

.product-card-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--color-text-heading);
}

.product-card-desc {
  font-size: 0.875rem;
  color: var(--color-text-body);
  margin-bottom: 20px;
  line-height: 1.5;
}

.product-specs-list {
  background-color: var(--color-surface-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.8125rem;
}

.product-spec-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #e2e8f0;
  padding-bottom: 4px;
}
.product-spec-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.spec-name {
  color: var(--color-text-muted);
}

.spec-val {
  font-weight: 700;
  color: var(--color-text-heading);
}

.product-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--color-border-light);
}

.fob-price-box {
  display: flex;
  flex-direction: column;
}

.fob-label {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.fob-val {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--color-brand-primary);
}

/* --------------------------------------------------------------------------
   9. Interactive Container Loading Calculator
   -------------------------------------------------------------------------- */
.calculator-panel {
  background-color: #ffffff;
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 36px;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.calc-form-group {
  margin-bottom: 20px;
}

.calc-form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 6px;
}

.calc-form-select, .calc-form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-md);
  background-color: var(--color-surface-pure);
  color: var(--color-text-heading);
  font-size: 0.9375rem;
  transition: border-color var(--transition-fast);
}

.calc-form-select:focus, .calc-form-input:focus {
  border-color: var(--color-brand-accent);
}

.calc-results-card {
  background: linear-gradient(145deg, #0d233a 0%, #071524 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-result-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.calc-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.calc-metric-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 14px;
}

.calc-metric-title {
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.calc-metric-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #22d3ee;
  margin-top: 4px;
}

.calc-metric-sub {
  font-size: 0.75rem;
  color: #cbd5e1;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   10. Sample Kit High-Impact Offer ($199 Box)
   -------------------------------------------------------------------------- */
.sample-kit-banner {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 2px solid #f59e0b;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.sample-kit-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.sample-kit-tag {
  display: inline-block;
  background-color: #b45309;
  color: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.sample-kit-title {
  font-size: 2rem;
  color: #78350f;
  margin-bottom: 12px;
}

.sample-kit-list {
  list-style: none;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sample-kit-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: #92400e;
  font-weight: 600;
}

.sample-kit-list li::before {
  content: "✓";
  color: #b45309;
  font-weight: 900;
}

.refund-promise-box {
  background-color: rgba(255, 255, 255, 0.8);
  border-left: 4px solid #b45309;
  padding: 12px 16px;
  font-size: 0.875rem;
  color: #78350f;
  margin-bottom: 24px;
}

/* --------------------------------------------------------------------------
   11. Technology & Trützschler Feature Modules
   -------------------------------------------------------------------------- */
.tech-feature-card {
  background: #ffffff;
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tech-feature-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tech-icon-pill {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--color-brand-accent-light);
  color: var(--color-brand-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.tech-stat-highlight {
  font-family: var(--font-family-mono);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-brand-accent);
  line-height: 1;
}

/* Data Table Styling */
.specs-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-md);
  margin: 24px 0;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.specs-table th {
  background-color: var(--color-surface-subtle);
  color: var(--color-text-heading);
  padding: 14px 18px;
  font-weight: 700;
  border-bottom: 1px solid var(--color-border-card);
  white-space: nowrap;
}

.specs-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--color-border-light);
  color: var(--color-text-body);
}

.specs-table tr:last-child td {
  border-bottom: none;
}

.specs-table tr:hover td {
  background-color: #f8fafc;
}

/* --------------------------------------------------------------------------
   12. RFQ Engineering Intake Form
   -------------------------------------------------------------------------- */
.rfq-form-card {
  background-color: var(--color-surface-card);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group-full {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-md);
  background-color: var(--color-surface-pure);
  color: var(--color-text-heading);
  font-size: 0.9375rem;
  transition: border-color var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-brand-accent);
}

.form-helper {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   13. Footer (Authentic Corporate & Factory Verification)
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-brand-dark);
  color: #94a3b8;
  padding: 64px 0 32px 0;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-corporate-truth {
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-col-title {
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #cbd5e1;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #22d3ee;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
}

.footer-badges-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* --------------------------------------------------------------------------
   14. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .truth-grid {
    grid-template-columns: 1fr 1fr;
  }
  .calculator-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sample-kit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-navigation {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--color-border-card);
    box-shadow: var(--shadow-lg);
    gap: 16px;
  }
  .main-navigation.is-open {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
  .top-utility-bar {
    display: none;
  }
  .hero-stats-row {
    grid-template-columns: 1fr 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group-full {
    grid-column: span 1;
  }
  .truth-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   15. Official WhatsApp & WeChat Floating Contact Widget (b2b-global-brand-site-master)
   -------------------------------------------------------------------------- */
.floating-contact-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

.floating-buttons-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  pointer-events: auto;
}

.float-btn-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

/* Tooltip badge on hover (desktop) */
.float-btn-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  background: rgba(10, 25, 47, 0.94);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.float-btn-wrapper:hover .float-btn-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Floating Action Buttons */
.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
  text-decoration: none;
}

.float-btn:hover {
  transform: translateY(-3px) scale(1.05);
}

.float-btn:focus-visible {
  outline: 3px solid #38bdf8;
  outline-offset: 3px;
}

/* WhatsApp Official Brand Styling */
.float-btn-whatsapp {
  background-color: #25D366;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
}

.float-btn-whatsapp:hover {
  background-color: #20bd5a;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.65);
}

/* WeChat Official Brand Styling */
.float-btn-wechat {
  background-color: #07C160;
  box-shadow: 0 4px 16px rgba(7, 193, 96, 0.45);
}

.float-btn-wechat:hover {
  background-color: #06ad56;
  box-shadow: 0 6px 22px rgba(7, 193, 96, 0.65);
}

/* WeChat Popup Card (Defensive Hidden state to prevent FOUC) */
.wechat-popup-card {
  pointer-events: auto;
  width: 290px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 45px -8px rgba(10, 25, 47, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.04);
  padding: 20px;
  margin-bottom: 4px;
  text-align: center;
  animation: fadeInScale 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.wechat-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.wechat-brand-heading {
  display: flex;
  align-items: center;
  gap: 8px;
}

.close-card-btn {
  background: none;
  border: none;
  font-size: 1.1rem;
  line-height: 1;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: color 0.15s ease;
}

.close-card-btn:hover {
  color: #0f172a;
}

.wechat-person-info {
  margin-bottom: 14px;
}

.wechat-person-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f172a;
}

.wechat-person-role {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #008b8b;
  margin-top: 2px;
}

.wechat-person-company {
  font-size: 0.75rem;
  color: #64748b;
}

.wechat-qr-container {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  display: inline-block;
  margin-bottom: 14px;
}

.wechat-qr-image {
  width: 168px;
  height: 168px;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
}

.wechat-scan-hint {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 6px;
  font-weight: 500;
}

.wechat-id-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f1f5f9;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.wechat-id-label {
  font-size: 0.8125rem;
  color: #475569;
}

.wechat-id-value {
  font-family: var(--font-family-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
}

.copy-id-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #334e68;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.copy-id-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.wechat-mobile-row {
  display: flex;
  justify-content: center;
  gap: 6px;
  align-items: center;
  font-size: 0.75rem;
}

/* Mobile responsive adjustments */
@media (max-width: 640px) {
  .floating-contact-widget {
    bottom: 16px;
    right: 16px;
    gap: 8px;
  }
  .float-btn {
    width: 48px;
    height: 48px;
  }
  .float-btn svg {
    width: 26px;
    height: 26px;
  }
  .float-btn-tooltip {
    display: none;
  }
  .wechat-popup-card {
    width: calc(100vw - 32px);
    max-width: 310px;
    right: 0;
  }
}

/* --------------------------------------------------------------------------
   16. Factory Campus Video Player Showcase (b2b-global-brand-site-master)
   -------------------------------------------------------------------------- */
.video-card-container {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  background: #071524;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.2), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
  border: 2px solid #cbd5e1;
}

.video-badge-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(13, 35, 58, 0.9);
  backdrop-filter: blur(4px);
  color: #22d3ee;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 9999px;
  z-index: 2;
  border: 1px solid rgba(34, 211, 238, 0.35);
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}

.video-player-element {
  width: 100%;
  display: block;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background-color: #071524;
}

.video-player-element:focus-visible {
  outline: 3px solid #38bdf8;
  outline-offset: 2px;
}

.video-caption-bar {
  padding: 12px 16px;
  background: #0d233a;
  color: #ffffff;
  font-size: 0.8125rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.video-caption-bar strong {
  color: #ffffff;
  font-size: 0.875rem;
}

.video-caption-bar span {
  color: #94a3b8;
  font-size: 0.75rem;
}

.video-timeline-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.video-timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.video-timestamp-badge {
  background: #0d233a;
  color: #22d3ee;
  font-family: var(--font-family-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}


