/* Ninazu — 高端保健品网站 v2.0 */
/* 风格：奢华极简，参考 NYO3 高级感 */

:root {
  --gold: #C9A84C;
  --gold-light: #E8D5A3;
  --gold-dark: #8B6914;
  --ambrosia: #8B1A1A;
  --ambrosia-rich: #A0262626;
  --aceso: #1A5C35;
  --aceso-rich: #0D3D22;
  --dark: #0A0A0A;
  --dark-2: #1A1A1A;
  --dark-3: #2A2A2A;
  --mid: #5A5A5A;
  --light: #9A9A9A;
  --cream: #F8F5EF;
  --cream-2: #F0EBE0;
  --white: #FFFFFF;
  --radius: 0px;
  --radius-sm: 4px;
  --shadow: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-gold: 0 4px 24px rgba(201,168,76,0.2);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --font-en: 'Georgia', 'Times New Roman', serif;
  --font-cn: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-cn);
  color: var(--dark);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ── 导航栏 ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  transition: var(--transition);
}
.nav-container {
  max-width: 1400px; margin: 0 auto; padding: 0 48px;
  display: flex; align-items: center; height: 72px; gap: 32px;
}
.nav-brand {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; flex-shrink: 0;
}
.brand-logo {
  font-family: var(--font-en);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 6px;
  color: var(--dark);
  text-transform: uppercase;
}
.brand-dot { color: var(--gold); font-size: 2rem; line-height: 1; }
.nav-links {
  list-style: none; display: flex; gap: 4px; margin: 0 auto;
}
.nav-links a {
  text-decoration: none; color: var(--mid);
  padding: 8px 16px;
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: var(--transition);
  font-weight: 400;
}
.nav-links a:hover { color: var(--gold); }
.nav-toggle {
  display: none; background: none; border: none;
  font-size: 1.3rem; cursor: pointer; color: var(--dark);
}

/* ── 语言切换器 ── */
.lang-switcher { position: relative; }
.lang-current {
  display: flex; align-items: center; gap: 6px;
  background: transparent;
  border: none;
  border-radius: 2px;
  padding: 7px 10px;
  cursor: pointer;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--mid);
  transition: var(--transition);
  white-space: nowrap;
}
.lang-current:hover { color: var(--gold); }
#langFlag { font-size: 1.4rem; line-height: 1; }
.lang-arrow { font-size: 0.6rem; opacity: 0.6; transition: var(--transition); }
.lang-dropdown {
  display: none; position: absolute; right: 0; top: calc(100% + 12px);
  background: var(--white);
  border: 1px solid rgba(201,168,76,0.3);
  box-shadow: var(--shadow);
  min-width: 170px; overflow: hidden; z-index: 100;
}
.lang-dropdown.open { display: block; animation: fadeDown 0.25s ease; }
.lang-option {
  display: block; width: 100%; text-align: left;
  padding: 12px 18px; background: none; border: none;
  cursor: pointer; font-size: 0.8rem;
  letter-spacing: 1px; color: var(--mid);
  transition: var(--transition);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.lang-option:last-child { border-bottom: none; }
.lang-option:hover { background: var(--cream); color: var(--gold); }
.lang-option.active { color: var(--gold); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  background: var(--dark);
  display: flex; align-items: center;
  padding: 72px 0 0;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(139,26,26,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(26,92,53,0.15) 0%, transparent 60%);
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; width: 100%;
  max-width: 1400px; margin: 0 auto; padding: 0 48px;
  gap: 80px; position: relative; z-index: 1;
}
.hero-text { color: var(--white); }
.hero-eyebrow {
  font-size: 0.72rem; letter-spacing: 6px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 24px; display: flex; align-items: center; gap: 16px;
}
.hero-eyebrow::before {
  content: ''; display: block;
  width: 40px; height: 1px; background: var(--gold); opacity: 0.6;
}
.hero-title {
  font-family: var(--font-en);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 24px;
  color: var(--white);
}
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-subtitle {
  font-size: 1rem; color: rgba(255,255,255,0.55);
  line-height: 1.9; margin-bottom: 48px;
  max-width: 420px;
  letter-spacing: 0.3px;
}
.hero-cta-group { display: flex; gap: 16px; align-items: center; }
.btn-primary {
  display: inline-block;
  padding: 16px 40px;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid var(--gold);
}
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); }
.btn-ghost {
  display: inline-block;
  padding: 16px 40px;
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  transition: var(--transition);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* Hero 右侧产品展示 */
.hero-visual {
  display: flex; gap: 24px; align-items: flex-end; justify-content: center;
  padding-bottom: 60px;
}
.hero-product-card {
  flex: 1; max-width: 260px;
  position: relative; overflow: hidden;
}
.hero-product-card img {
  width: 100%; aspect-ratio: 3/4;
  object-fit: cover;
  filter: brightness(0.85);
  transition: var(--transition);
}
.hero-product-card:hover img { filter: brightness(1); transform: scale(1.02); }
.hero-product-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  padding: 32px 20px 20px;
  color: var(--white);
}
.hero-product-label .prod-name {
  font-family: var(--font-en);
  font-size: 1.2rem; letter-spacing: 2px;
  font-weight: 300; display: block;
}
.hero-product-label .prod-tag {
  font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold-light); margin-top: 4px; display: block;
}
.hero-wave {
  position: absolute; bottom: 0; left: 0; right: 0;
}
.hero-wave svg { display: block; width: 100%; height: 60px; }

/* ── 品牌标语区 ── */
.brand-strip {
  background: var(--cream);
  padding: 80px 0;
  border-top: 1px solid rgba(201,168,76,0.15);
  border-bottom: 1px solid rgba(201,168,76,0.15);
}
.brand-strip-inner {
  display: flex; justify-content: center; gap: 80px;
  flex-wrap: wrap;
}
.brand-stat { text-align: center; }
.brand-stat .number {
  font-family: var(--font-en);
  font-size: 3rem; font-weight: 300;
  color: var(--gold); line-height: 1;
  display: block; margin-bottom: 8px;
}
.brand-stat .label {
  font-size: 0.72rem; letter-spacing: 3px;
  text-transform: uppercase; color: var(--mid);
}

/* ── 产品区块 ── */
.product-section { padding: 120px 0; }
.product-section.alt-bg { background: var(--cream); }

.product-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.product-layout.reverse { direction: rtl; }
.product-layout.reverse > * { direction: ltr; }

.product-visual { position: relative; }
.product-main-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.product-badge-overlay {
  position: absolute; top: 24px; left: 24px;
  padding: 8px 16px;
  font-size: 0.68rem; letter-spacing: 3px;
  text-transform: uppercase; font-weight: 600;
  color: var(--white);
}
.ambrosia-overlay { background: var(--ambrosia); }
.aceso-overlay { background: var(--aceso); }

.product-content { padding: 20px 0; }
.section-eyebrow {
  font-size: 0.7rem; letter-spacing: 5px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 20px; display: flex; align-items: center; gap: 14px;
}
.section-eyebrow::before {
  content: ''; display: inline-block;
  width: 30px; height: 1px; background: var(--gold);
}
.product-content h2 {
  font-family: var(--font-en);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300; line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 8px; color: var(--dark);
}
.product-content .subtitle {
  font-size: 0.85rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--light);
  margin-bottom: 28px;
}
.product-content .desc {
  font-size: 0.97rem; color: var(--mid);
  line-height: 1.95; margin-bottom: 40px;
  max-width: 480px;
}
.divider-gold {
  width: 60px; height: 1px;
  background: var(--gold);
  margin-bottom: 40px;
}

/* 成分列表 */
.ingredient-list { margin-bottom: 40px; }
.ingredient-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.ingredient-item:first-child { border-top: 1px solid rgba(0,0,0,0.06); }
.ing-num {
  font-family: var(--font-en);
  font-size: 0.7rem; color: var(--gold);
  letter-spacing: 1px; min-width: 24px;
  padding-top: 2px;
}
.ing-info h4 {
  font-size: 0.9rem; font-weight: 600;
  color: var(--dark); margin-bottom: 3px;
}
.ing-info p { font-size: 0.82rem; color: var(--light); }

/* 功效卡片 */
.benefits-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; margin-bottom: 40px;
}
.benefit-item {
  padding: 20px;
  border: 1px solid rgba(0,0,0,0.07);
  transition: var(--transition);
}
.benefit-item:hover { border-color: var(--gold); }
.benefit-item .b-icon {
  font-size: 1.4rem; margin-bottom: 10px; display: block;
}
.benefit-item h4 {
  font-size: 0.85rem; font-weight: 600;
  color: var(--dark); margin-bottom: 6px;
}
.benefit-item p {
  font-size: 0.78rem; color: var(--light); line-height: 1.7;
}

/* 用法 */
.usage-block {
  padding: 24px 28px;
  border-left: 3px solid var(--gold);
  background: var(--cream);
  margin-bottom: 32px;
}
.usage-block h4 {
  font-size: 0.72rem; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 10px;
}
.usage-block p { font-size: 0.9rem; color: var(--mid); line-height: 1.8; }

/* 适用人群 */
.target-list-styled { list-style: none; }
.target-list-styled li {
  padding: 8px 0;
  font-size: 0.88rem; color: var(--mid);
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.target-list-styled li::before {
  content: '—'; color: var(--gold); flex-shrink: 0;
}

/* ── 比较区 ── */
.compare-section { padding: 120px 0; background: var(--dark); }
.compare-section .section-title {
  font-family: var(--font-en);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300; text-align: center;
  color: var(--white); margin-bottom: 12px;
}
.compare-section .section-sub {
  text-align: center; font-size: 0.78rem;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 64px;
}
.compare-table-wrap { overflow-x: auto; }
.compare-table {
  width: 100%; border-collapse: collapse;
  border: 1px solid rgba(201,168,76,0.2);
}
.compare-table th {
  padding: 24px 32px; text-align: center;
  font-size: 0.75rem; letter-spacing: 3px;
  text-transform: uppercase; font-weight: 600;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}
.compare-table th:first-child { text-align: left; color: rgba(255,255,255,0.4); }
.compare-table td {
  padding: 20px 32px; text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.88rem; color: rgba(255,255,255,0.65);
}
.compare-table td:first-child {
  text-align: left; font-size: 0.72rem;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.compare-table tr:last-child td { border-bottom: none; }
.ambrosia-col { color: #E07070 !important; }
.aceso-col { color: #70C090 !important; }
.col-badge {
  display: inline-block;
  padding: 4px 12px; margin-bottom: 8px;
  font-size: 0.65rem; letter-spacing: 2px;
  text-transform: uppercase; font-weight: 700;
}
.ambrosia-badge-sm { background: rgba(139,26,26,0.3); color: #E07070; }
.aceso-badge-sm { background: rgba(26,92,53,0.3); color: #70C090; }
.check-mark { color: var(--gold); font-weight: 700; margin-right: 6px; }

/* ── FAQ ── */
.faq-section { padding: 120px 0; background: var(--cream); }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .eyebrow {
  font-size: 0.7rem; letter-spacing: 5px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px; display: block;
}
.section-header h2 {
  font-family: var(--font-en);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300; color: var(--dark);
}
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(0,0,0,0.1); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between;
  align-items: center; padding: 24px 0;
  background: none; border: none; cursor: pointer;
  font-size: 0.95rem; font-weight: 500;
  color: var(--dark); text-align: left;
  transition: var(--transition);
}
.faq-q:hover { color: var(--gold); }
.faq-q.open { color: var(--gold); }
.faq-arrow {
  font-size: 0.65rem; opacity: 0.5;
  transition: var(--transition); flex-shrink: 0;
  margin-left: 16px;
}
.faq-q.open .faq-arrow { transform: rotate(180deg); opacity: 1; color: var(--gold); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
.faq-a.open { max-height: 200px; padding-bottom: 24px; }
.faq-a p { font-size: 0.9rem; color: var(--mid); line-height: 1.9; }

/* ── Footer ── */
.footer { background: var(--dark-2); color: rgba(255,255,255,0.5); padding: 80px 0 32px; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 64px; margin-bottom: 64px;
}
.footer-brand .footer-logo-text {
  font-family: var(--font-en);
  font-size: 1.8rem; font-weight: 300;
  letter-spacing: 8px; color: var(--white);
  text-transform: uppercase; display: block;
  margin-bottom: 6px;
}
.footer-brand .footer-tagline {
  font-size: 0.68rem; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 24px; display: block;
}
.footer-brand p { font-size: 0.85rem; line-height: 1.9; max-width: 300px; }
.footer-col h4 {
  font-size: 0.68rem; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 24px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  color: rgba(255,255,255,0.45); text-decoration: none;
  font-size: 0.85rem; transition: var(--transition);
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 32px;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-disclaimer { font-size: 0.75rem; color: rgba(255,255,255,0.25); max-width: 600px; line-height: 1.7; }
.footer-copy { font-size: 0.78rem; }
.footer-both-img { display: none; }

/* ── 滚动动画 ── */
.fade-up { opacity: 0; transform: translateY(32px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-in { opacity: 0; animation: fadeIn 1s ease forwards; }
@keyframes fadeIn { to { opacity: 1; } }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* ── 响应式 ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding: 80px 32px 40px; }
  .hero-visual { max-width: 500px; margin: 0 auto; }
  .product-layout, .product-layout.reverse { grid-template-columns: 1fr; direction: ltr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .nav-container { padding: 0 24px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); padding: 16px 24px; border-bottom: 1px solid rgba(201,168,76,0.2); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero-eyebrow, .hero-subtitle { display: none; }
  .benefits-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .brand-strip-inner { gap: 40px; }
}
@media (max-width: 480px) {
  .lang-current span:nth-child(2) { display: none; }
  .hero-cta-group { flex-direction: column; align-items: flex-start; }
  .compare-table th, .compare-table td { padding: 16px 20px; font-size: 0.82rem; }
}

/* ── 图片修正 v2.1 ── */
.hero-product-card img {
  object-fit: cover;
  object-position: center top;
  width: 100%;
  aspect-ratio: 3/4;
  display: block;
}
.product-main-img {
  object-fit: cover;
  object-position: center center;
  width: 100%;
  aspect-ratio: 4/5;
  display: block;
}

/* ── Hero 产品卡片 v2.2 — 文字移至图片下方 ── */
.hero-product-card {
  flex: 1; max-width: 240px;
  display: flex; flex-direction: column;
}
.hero-product-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 4px;
}
/* 移除旧的图片内覆盖标签 */
.hero-product-label { display: none !important; }

/* 图片下方文字区 */
.hero-product-caption {
  padding: 14px 4px 0;
  text-align: center;
}
.hero-product-caption .prod-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem; font-weight: 300;
  letter-spacing: 3px; color: var(--white);
  display: block; margin-bottom: 5px;
}
.hero-product-caption .prod-tag {
  font-size: 0.68rem; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--gold-light);
  display: block;
}

/* ── Aceso 布局修正 — 图片在上，文字在下（手机优先）── */
.aceso-layout {
  grid-template-columns: 1fr 1fr;
  direction: ltr;
}
.aceso-visual-top {
  order: 1;
}
.aceso-layout .product-content {
  order: 2;
}
/* 手机版：图片显示在文字上方 */
@media (max-width: 1024px) {
  .aceso-layout {
    grid-template-columns: 1fr;
  }
  .aceso-visual-top {
    order: -1; /* 图片强制在最上 */
    max-width: 480px;
    margin: 0 auto;
  }
}

/* ── 对比区产品合照 ── */
.compare-hero-img {
  margin-bottom: 48px;
  border-radius: 8px;
  overflow: hidden;
}
.compare-hero-img img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: brightness(0.92);
  transition: filter 0.4s ease;
}
.compare-hero-img img:hover { filter: brightness(1); }
@media (max-width: 768px) {
  .compare-hero-img img { max-height: 260px; }
}

/* ── Ambrosia Hero 图横向展示优化 ── */
.hero-product-card:first-child img {
  object-position: center center;
  background: #f5f0eb;
}

/* ── 语言切换器优化 v1.0.2 ── */
.lang-option { font-size: 1rem; }
