/* ==========================================================================
   精酿啤酒外贸 OEM 独立站样式表
   设计风格：现代工业精酿美学（深炭黑 #0F1115 + 麦芽琥珀金 #D99B26 + 暖米白 #F8F6F2）
   ========================================================================== */

:root {
  /* 核心品牌色板 */
  --bg-dark: #0f1115;
  --bg-dark-elevated: #171a21;
  --bg-dark-card: #1d212a;
  --bg-light: #f8f6f2;
  --bg-white: #ffffff;

  --accent-gold: #d99b26;
  --accent-gold-hover: #ebb03c;
  --accent-gold-soft: rgba(217, 155, 38, 0.14);

  --text-light: #f4f1ea;
  --text-muted-dark: #a0a6b3;
  --text-dark: #181a1f;
  --text-muted-light: #5c6270;

  --border-dark: rgba(255, 255, 255, 0.09);
  --border-light: rgba(24, 26, 31, 0.1);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 12px 32px rgba(15, 17, 21, 0.08);
  --transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* 基础重置 */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand-logo {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: -0.01em;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 通用标签与标题 */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 14px;
}

.section-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--accent-gold);
}

.section-title {
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  line-height: 1.18;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  max-width: 660px;
  color: var(--text-muted-dark);
}

.section-light .section-subtitle {
  color: var(--text-muted-light);
}

/* 按钮体系 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: var(--accent-gold);
  color: #111317;
}

.btn-primary:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(217, 155, 38, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-outline:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: rgba(217, 155, 38, 0.06);
}

.btn-dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.btn-dark:hover {
  background: #232834;
  transform: translateY(-2px);
}

/* ==========================================================================
   顶部导航栏
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: rgba(15, 17, 21, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-dark);
  transition: var(--transition);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-light);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent-gold), #a96d12);
  display: grid;
  place-items: center;
  color: #111317;
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
}

.brand-sub {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-top: -2px;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted-dark);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-light);
  transition: var(--transition);
}

.lang-switch:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-dark);
  color: var(--text-light);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ==========================================================================
   Hero 首屏区域
   ========================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 130px 0 88px;
  background:
    linear-gradient(95deg, rgba(15, 17, 21, 0.95) 0%, rgba(15, 17, 21, 0.82) 52%, rgba(15, 17, 21, 0.42) 100%),
    url("assets/hero-brewery.jpg") center/cover no-repeat;
  overflow: hidden;
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--accent-gold-soft);
  border: 1px solid rgba(217, 155, 38, 0.35);
  color: #f3c669;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-gold);
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.1rem);
  line-height: 1.1;
  margin-bottom: 22px;
  color: #ffffff;
}

.hero h1 span {
  color: var(--accent-gold);
}

.hero-desc {
  font-size: 1.12rem;
  color: #d0d5df;
  margin-bottom: 34px;
  max-width: 610px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-item strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  color: var(--accent-gold);
  line-height: 1.2;
}

.trust-item span {
  font-size: 0.8rem;
  color: var(--text-muted-dark);
}

/* ==========================================================================
   双线产品板块（浅色高级质感区）
   ========================================================================== */
.section {
  padding: 96px 0;
}

.section-light {
  background: var(--bg-light);
  color: var(--text-dark);
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.section-elevated {
  background: var(--bg-dark-elevated);
  color: var(--text-light);
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.product-tabs {
  display: inline-flex;
  background: rgba(24, 26, 31, 0.06);
  padding: 5px;
  border-radius: 10px;
  gap: 6px;
}

.tab-btn {
  padding: 10px 18px;
  border: none;
  background: transparent;
  color: var(--text-muted-light);
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 7px;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active {
  background: var(--bg-dark);
  color: var(--accent-gold);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.product-showcase {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 44px;
  align-items: center;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
}

.product-showcase.hidden {
  display: none;
}

.product-media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #1a1d24;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.media-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(15, 17, 21, 0.86);
  color: var(--accent-gold);
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.product-info h3 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.product-info p {
  color: var(--text-muted-light);
  margin-bottom: 24px;
  font-size: 0.98rem;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}

.spec-box {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.spec-label {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted-light);
  margin-bottom: 2px;
}

.spec-val {
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--text-dark);
}

.market-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.market-pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(217, 155, 38, 0.14);
  color: #8c5d08;
}

/* ==========================================================================
   交互式 MOQ 与拼柜计算器（B2B 转化利器）
   ========================================================================== */
.calculator-wrapper {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.calc-group {
  margin-bottom: 24px;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-light);
}

.calc-label span {
  color: var(--accent-gold);
}

.option-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.option-pill {
  padding: 12px 10px;
  text-align: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted-dark);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.option-pill:hover {
  border-color: rgba(217, 155, 38, 0.5);
  color: var(--text-light);
}

.option-pill.active {
  background: var(--accent-gold-soft);
  border-color: var(--accent-gold);
  color: #f6cb75;
}

.calc-result-card {
  background: linear-gradient(160deg, #12151c 0%, #1b202b 100%);
  border: 1px solid rgba(217, 155, 38, 0.3);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-result-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  margin-bottom: 18px;
  font-weight: 700;
}

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

.calc-metric {
  padding: 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dark);
}

.calc-metric strong {
  display: block;
  font-size: 1.45rem;
  color: #ffffff;
  font-family: "Playfair Display", Georgia, serif;
}

.calc-metric small {
  font-size: 0.78rem;
  color: var(--text-muted-dark);
}

.calc-note {
  font-size: 0.84rem;
  color: #c7cdd8;
  padding: 12px 14px;
  background: rgba(217, 155, 38, 0.08);
  border-left: 3px solid var(--accent-gold);
  border-radius: 4px;
  margin-bottom: 22px;
}

/* ==========================================================================
   OEM 4 步流程 & 资质背书
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.step-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: rgba(217, 155, 38, 0.45);
}

.step-num {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 14px;
}

.step-card h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted-light);
}

.cert-strip {
  margin-top: 56px;
  padding: 28px 32px;
  background: var(--bg-dark);
  border-radius: var(--radius-md);
  color: var(--text-light);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cert-badge {
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid rgba(217, 155, 38, 0.38);
  background: rgba(217, 155, 38, 0.08);
  color: #f3c669;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   B2B 询盘与样品申请表单（对接 CRM 演示）
   ========================================================================== */
.inquiry-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: start;
}

.inquiry-benefits {
  list-style: none;
  margin: 26px 0 32px;
  display: grid;
  gap: 14px;
}

.inquiry-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: #d5dae4;
}

.check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-gold-soft);
  color: var(--accent-gold);
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 2px;
}

.inquiry-form-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #cfd5e0;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(15, 17, 21, 0.75);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.92rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(217, 155, 38, 0.16);
}

.form-footer {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.form-hint {
  font-size: 0.78rem;
  color: var(--text-muted-dark);
}

/* CRM 入库演示弹窗 */
.crm-toast {
  margin-top: 20px;
  padding: 18px;
  border-radius: var(--radius-sm);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.35);
  display: none;
}

.crm-toast.show {
  display: block;
}

.crm-toast h4 {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  color: #86efac;
  margin-bottom: 8px;
}

.crm-payload {
  background: rgba(0, 0, 0, 0.4);
  padding: 12px;
  border-radius: 6px;
  font-family: "Consolas", monospace;
  font-size: 0.78rem;
  color: #e2e8f0;
  overflow-x: auto;
  white-space: pre-wrap;
}

/* ==========================================================================
   页脚
   ========================================================================== */
.footer {
  background: #090b0e;
  border-top: 1px solid var(--border-dark);
  padding: 48px 0 32px;
  color: var(--text-muted-dark);
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.footer-contact a:hover {
  color: var(--accent-gold);
}

/* ==========================================================================
   右下角悬浮 WhatsApp 一键直连咨询按钮
   ========================================================================== */
.wa-float {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: #25d366;
  color: #0b141a;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.36);
  transition: var(--transition);
}

.wa-float:hover {
  background: #2be06f;
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.48);
}

.wa-float svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .wa-float {
    right: 16px;
    bottom: 16px;
    padding: 12px 16px;
    font-size: 0.84rem;
  }
}

/* ==========================================================================
   响应式适配
   ========================================================================== */
@media (max-width: 980px) {
  .product-showcase,
  .calculator-wrapper,
  .inquiry-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .steps-grid,
  .form-grid,
  .option-pills {
    grid-template-columns: 1fr;
  }

  .product-showcase,
  .calculator-wrapper,
  .inquiry-form-card {
    padding: 24px;
  }
}
