/* ==========================================================================
   UNIFAN BRAND B2B PORTAL - "神似形不同" Cyber-Industrial Design System
   Full Bleed Commercial B2B Hero Banner System
   ========================================================================== */

:root {
  /* Obsidian Titanium Color System */
  --bg-obsidian: #090D16;
  --bg-surface-dark: #111827;
  --bg-card-glass: rgba(17, 24, 39, 0.85);
  --bg-card-hover: rgba(31, 41, 55, 0.95);

  --accent-cyan: #06B6D4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.35);
  --accent-amber: #F59E0B;
  --accent-amber-glow: rgba(245, 158, 11, 0.4);
  --accent-emerald: #10B981;

  --text-main: #F9FAFB;
  --text-muted: #9CA3AF;
  --text-subtle: #6B7280;

  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-glow: rgba(6, 182, 212, 0.5);

  --glass-blur: blur(16px);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.45);
  --shadow-neon: 0 0 25px rgba(6, 182, 212, 0.25);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Foundation */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-obsidian);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

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

/* Typography Helpers */
.text-cyan-gradient {
  background: linear-gradient(135deg, #38BDF8 0%, #06B6D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-amber-gradient {
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.4);
  color: var(--accent-cyan);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .section-title { font-size: 1.85rem; }
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 720px;
}

/* Header & Top Bar */
.top-bar {
  background: #050810;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.825rem;
  padding: 0.5rem 0;
  color: var(--text-muted);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-highlights { display: flex; gap: 1.75rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(9, 13, 22, 0.92);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #FFF;
}

.logo-tag {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #0284C7 100%);
  color: #FFF;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

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

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: var(--transition-smooth);
  padding: 0.5rem 0;
  position: relative;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-cyan);
  box-shadow: var(--shadow-neon);
}

.sitemap-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  color: var(--text-main);
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.sitemap-pill:hover {
  border-color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.btn-cyan {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, #0284C7 100%);
  color: #FFF;
  box-shadow: var(--shadow-neon);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.5);
}

.btn-amber {
  background: linear-gradient(135deg, var(--accent-amber) 0%, #D97706 100%);
  color: #FFF;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

.btn-amber:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  border-color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.2);
  color: var(--accent-cyan);
}

/* ==========================================================================
   FULL BLEED B2B HERO BANNER SLIDER SYSTEM (EVERICH / HAERS BENCHMARK)
   ========================================================================== */
.hero-slider-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  background: #060A14;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.hero-slide {
  display: none;
  width: 100%;
  min-height: 600px;
  position: relative;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  transition: opacity 0.6s ease-in-out;
}

.hero-slide.active {
  display: flex !important;
  opacity: 1 !important;
}

/* Slide 1 Background: 40oz Tumbler (Lightened overlay for maximum image visibility) */
.hero-slide-1 {
  background-image: linear-gradient(90deg, rgba(9, 13, 22, 0.75) 0%, rgba(9, 13, 22, 0.35) 45%, rgba(9, 13, 22, 0.05) 100%), url('../images/banner1_40oz_tumbler.jpg');
}

/* Slide 2 Background: 316 Flask (Lightened overlay) */
.hero-slide-2 {
  background-image: linear-gradient(90deg, rgba(9, 13, 22, 0.75) 0%, rgba(9, 13, 22, 0.35) 45%, rgba(9, 13, 22, 0.05) 100%), url('../images/banner2_316_flask.jpg');
}

/* Slide 3 Background: Factory Line (Lightened overlay) */
.hero-slide-3 {
  background-image: linear-gradient(90deg, rgba(9, 13, 22, 0.75) 0%, rgba(9, 13, 22, 0.35) 45%, rgba(9, 13, 22, 0.05) 100%), url('../images/banner3_factory_line.jpg');
}

.hero-slide-content {
  display: flex;
  align-items: center;
  min-height: 600px;
  padding: 3.5rem 0;
  width: 100%;
}

.hero-text-box {
  max-width: 540px;
  z-index: 10;
  background: rgba(9, 13, 22, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2.25rem 2.5rem;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 0.85rem;
  color: #FFF;
}

@media (max-width: 992px) {
  .hero-title { font-size: 1.85rem; }
  .hero-slide { min-height: 480px; }
  .hero-slide-content { min-height: 480px; }
  .hero-text-box { max-width: 100%; padding: 1.5rem; }
}

/* Full Width Banner Navigation Arrows & Dots */
.hero-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  width: 52px;
  height: 52px;
  border-radius: 9999px;
  background: rgba(9, 13, 22, 0.65);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  color: #FFF;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.hero-arrow-btn:hover {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-neon);

}

.hero-arrow-prev { left: 2rem; }
.hero-arrow-next { right: 2rem; }

.hero-dots-wrap {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  gap: 0.75rem;
  background: rgba(9, 13, 22, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.hero-dot.active {
  width: 32px;
  background: var(--accent-cyan);
  box-shadow: var(--shadow-neon);
}

/* General Sections */
.trust-section { padding: 2.5rem 0; background: #050810; border-bottom: 1px solid var(--border-subtle); }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.cert-card { display: flex; align-items: center; gap: 1rem; background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border-subtle); padding: 1rem 1.25rem; border-radius: var(--radius-sm); }
.cert-icon { font-size: 1.75rem; color: var(--accent-amber); }

.products-section { padding: 5rem 0; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.product-item-card { background: var(--bg-card-glass); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; transition: var(--transition-smooth); }
.product-item-card:hover { transform: translateY(-6px); border-color: var(--accent-cyan); box-shadow: var(--shadow-neon); }
.product-img-box { position: relative; height: 260px; background: #0A0F1D; overflow: hidden; }
.product-img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-item-card:hover .product-img-box img { transform: scale(1.08); }

.product-pill-tag { position: absolute; top: 1rem; left: 1rem; background: linear-gradient(135deg, var(--accent-cyan) 0%, #0284C7 100%); color: #FFF; font-size: 0.75rem; font-weight: 800; padding: 0.25rem 0.65rem; border-radius: 4px; }
.product-body { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.product-title { font-size: 1.2rem; font-weight: 800; margin-bottom: 0.5rem; }
.spec-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem; }
.chip { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); color: var(--text-muted); font-size: 0.75rem; padding: 0.2rem 0.55rem; border-radius: 4px; }

.engineering-section { padding: 5rem 0; background: #060912; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.comp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.5rem; }
.comp-card { background: var(--bg-card-glass); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 2rem; }
.comp-card.highlight { border-color: var(--accent-cyan); box-shadow: var(--shadow-neon); }

.b2b-table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border-subtle); box-shadow: var(--shadow-card); margin-top: 2rem; }
.b2b-table { width: 100%; border-collapse: collapse; text-align: left; background: var(--bg-surface-dark); font-size: 0.9rem; }
.b2b-table th { background: #0B101D; color: var(--accent-cyan); padding: 1.1rem; font-weight: 800; border-bottom: 1px solid var(--border-subtle); }
.b2b-table td { padding: 1.1rem; border-bottom: 1px solid var(--border-subtle); color: var(--text-muted); }
.b2b-table tr:hover td { background: rgba(31, 41, 55, 0.6); color: var(--text-main); }

.faq-wrap { max-width: 920px; margin: 2.5rem auto 0; }
.faq-box { background: var(--bg-card-glass); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); margin-bottom: 1rem; overflow: hidden; }
.faq-head { padding: 1.35rem 1.6rem; font-weight: 700; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.faq-body { padding: 0 1.6rem 1.35rem; color: var(--text-muted); font-size: 0.95rem; display: none; border-top: 1px solid rgba(255, 255, 255, 0.05); margin-top: 0.5rem; padding-top: 1rem; }
.faq-box.active .faq-body { display: block; }

.sticky-rfq-btn { position: fixed; bottom: 2.25rem; right: 2.25rem; z-index: 990; background: linear-gradient(135deg, var(--accent-amber) 0%, #D97706 100%); color: #FFF; border: none; padding: 0.95rem 1.6rem; border-radius: 9999px; font-weight: 800; font-size: 0.95rem; box-shadow: 0 10px 30px rgba(245, 158, 11, 0.45); cursor: pointer; display: flex; align-items: center; gap: 0.6rem; }
.sticky-rfq-btn:hover { transform: scale(1.06); }
.rfq-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.75); backdrop-filter: blur(6px); z-index: 1100; opacity: 0; visibility: hidden; transition: var(--transition-smooth); }
.rfq-overlay.active { opacity: 1; visibility: visible; }
.rfq-drawer { position: fixed; top: 0; right: -520px; width: 100%; max-width: 500px; height: 100%; background: #0E1424; border-left: 1px solid var(--border-subtle); z-index: 1200; padding: 2.5rem 2rem; overflow-y: auto; transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6); }
.rfq-drawer.active { right: 0; }

.site-footer { background: #04060C; border-top: 1px solid var(--border-subtle); padding: 4rem 0 2rem; font-size: 0.9rem; color: var(--text-muted); }
