/* 全站基础样式 —— 单一来源，禁止在页面内联样式 */

:root {
  --ink: #0d2440;
  --ink-2: #33415a;
  --ink-3: #5b6b85;
  --line: #dbe6f2;
  --bg: #ffffff;
  --bg-soft: #eef5ff;
  --accent: #1972df;
  --accent-2: #17abe5;
  --accent-soft: #dbeaff;
  --warn-bg: #fdf6e8;
  --warn-line: #e8d4a8;
  --radius: 8px;
  --wrap: 1200px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  /* Hero FX palette */
  --novo-blue: #1972df;
  --novo-cyan: #17abe5;
  --novo-light: #5bc8ff;
  --novo-navy-1: #0b1341;
  --novo-navy-2: #071a3a;
  --novo-text: #eaf3ff;
  --novo-grad: linear-gradient(90deg, #1972df, #17abe5);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }

h1 { font-size: 44px; }
h2 { font-size: 30px; }
h3 { font-size: 19px; }
h1, h2, h3, h4 { overflow-wrap: break-word; }

p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.section { padding: 72px 0; }
.section--soft {
  background:
    radial-gradient(70% 90% at 88% 0%, rgba(23,171,229,0.08), transparent 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(25,114,223,0.07), transparent 60%),
    var(--bg-soft);
}
.section--dark {
  background:
    radial-gradient(90% 120% at 85% -10%, rgba(23,171,229,0.18), transparent 55%),
    linear-gradient(180deg, #0b1341, #071a3a);
  color: #c8d6ef;
}
.section--dark h2 { color: #ffffff; }
.section--dark .section__sub { color: #9fb3d6; }
.section--dark .section__eyebrow { color: #5bc8ff; }

.section__head { max-width: 640px; margin-bottom: 36px; }
.section__eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  font-weight: 600;
}
.section__sub { color: var(--ink-2); margin: 12px 0 0; }

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  background: linear-gradient(90deg, #1972df, #17abe5);
  color: #fff;
  cursor: pointer;
  transition: opacity .15s ease, box-shadow .2s ease, transform .15s ease;
}
.btn:hover { opacity: 0.94; box-shadow: 0 8px 22px rgba(25,114,223,.32); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); box-shadow: 0 8px 22px rgba(25,114,223,.16); }
.btn--sm { padding: 8px 16px; font-size: 14px; }

/* ---------- 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 70px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; }
.brand__mark {
  width: 30px; height: 30px; border-radius: 5px;
  background: linear-gradient(135deg, #1972df, #17abe5); color: #fff;
  display: grid; place-items: center; font-size: 14px; font-weight: 700;
}
.nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.nav a { color: var(--ink-2); }
.nav a:hover, .nav a.is-active { color: var(--accent); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; font-size: 22px; cursor: pointer; }

/* ---------- 主视觉（整屏沉浸式 hero，配 hero-fx canvas 动画） ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: var(--novo-text);
  background:
    radial-gradient(1200px 800px at 78% 18%, rgba(23, 171, 229, 0.18), transparent 60%),
    radial-gradient(1000px 700px at 12% 82%, rgba(25, 114, 223, 0.20), transparent 62%),
    linear-gradient(160deg, #071a3a 0%, #0b1341 48%, #071a3a 100%);
}
.hero-fx-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; z-index: 0; pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 120% at 50% 40%, transparent 55%, rgba(7, 26, 58, 0.55) 100%);
}
.hero__inner {
  position: relative; z-index: 2; width: 100%; max-width: 1180px;
  margin: 0 auto; padding: 7rem 1.5rem 8rem; box-sizing: border-box;
}
.hero__content { max-width: 720px; animation: heroRise 0.9s cubic-bezier(0.16, 0.84, 0.3, 1) both; }
.hero__eyebrow {
  display: inline-block; margin: 0 0 1.1rem; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--novo-light);
}
.hero__eyebrow::before {
  content: ""; display: inline-block; width: 26px; height: 1px; margin-right: 0.75rem;
  vertical-align: middle; background: linear-gradient(90deg, transparent, var(--novo-light));
}
.hero__title {
  margin: 0 0 1.4rem; font-size: clamp(2.3rem, 6.2vw, 4.6rem); line-height: 1.04;
  font-weight: 800; letter-spacing: -0.02em;
  background: linear-gradient(92deg, #eaf3ff 0%, #5bc8ff 42%, #17abe5 72%, #1972df 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.hero__subtitle {
  margin: 0 0 2.2rem; max-width: 34em; font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.65; color: rgba(234, 243, 255, 0.78);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.9rem 1.7rem; border-radius: 999px; font-family: inherit; font-size: 0.98rem;
  font-weight: 600; letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease; will-change: transform;
}
.hero__btn--primary { color: #041025; background: var(--novo-grad); box-shadow: 0 8px 26px rgba(23, 171, 229, 0.35); }
.hero__btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(23, 171, 229, 0.5); }
.hero__btn--ghost {
  color: var(--novo-text); background: rgba(234, 243, 255, 0.04);
  border-color: rgba(91, 200, 255, 0.45); backdrop-filter: blur(4px);
}
.hero__btn--ghost:hover { transform: translateY(-2px); border-color: var(--novo-light); background: rgba(91, 200, 255, 0.12); }
.hero__btn:focus-visible { outline: 2px solid var(--novo-light); outline-offset: 3px; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 0.55rem;
  color: rgba(234, 243, 255, 0.6); font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
}
.hero__scroll-mouse { width: 22px; height: 36px; border: 1.5px solid rgba(91, 200, 255, 0.6); border-radius: 12px; position: relative; }
.hero__scroll-mouse::before {
  content: ""; position: absolute; top: 6px; left: 50%; width: 3px; height: 7px; margin-left: -1.5px;
  border-radius: 2px; background: var(--novo-light); animation: heroScrollDot 1.6s ease-in-out infinite;
}
@keyframes heroRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroScrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- 信任条 ---------- */
.trustbar { background: linear-gradient(90deg, #0b1341, #071a3a); color: #fff; padding: 18px 0; overflow: hidden; }
.trustbar__track { display: flex; gap: 44px; font-size: 14px; white-space: nowrap; animation: slide 32s linear infinite; }
.trustbar__track span { opacity: 0.85; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 20px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: border-color .15s ease, transform .45s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease, opacity .6s ease;
}
.card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 14px 32px rgba(25,114,223,.16); }
.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card__tag { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.card__title { font-size: 15px; font-weight: 600; margin: 6px 0 8px; }
.card__desc { font-size: 13px; color: var(--ink-3); margin: 0 0 14px; flex: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.card__spec { color: var(--ink-3); }
.card__link { color: var(--accent); font-weight: 500; }

/* ---------- 产品主图：真实瓶照 + 标签叠字 ---------- */
.card__media,
.pdp__media {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: #eef3f7;
  isolation: isolate;
}
.card__media > img,
.pdp__media > img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.vial-label {
  --accent-vl: #475569;
  position: absolute; left: 39.6%; width: 21.6%; top: 48%; height: 24%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6cqw;
  padding: 0.4cqw; text-align: center; line-height: 1; font-family: inherit;
  pointer-events: none; -webkit-font-smoothing: antialiased;
}
.vial-label__code { font-size: 4.2cqw; font-weight: 700; letter-spacing: 0.01em; line-height: 1; color: var(--accent-vl); white-space: nowrap; }
.vial-label__dose { font-size: 3.25cqw; font-weight: 600; line-height: 1.05; color: #33415a; white-space: nowrap; }
.vial-label__legal { font-size: 1.5cqw; font-weight: 600; line-height: 1.2; letter-spacing: 0.06em; text-transform: uppercase; color: #5b6b78; max-width: 100%; }
.vial-label.is-metabolic   { --accent-vl: #1972df; }
.vial-label.is-repair      { --accent-vl: #1c8a4a; }
.vial-label.is-growth      { --accent-vl: #7a3ff2; }
.vial-label.is-cognitive   { --accent-vl: #0e7c9e; }
.vial-label.is-immune      { --accent-vl: #c2410c; }
.vial-label.is-longevity   { --accent-vl: #0891b2; }
.vial-label.is-cosmetic    { --accent-vl: #be185d; }
.vial-label.is-hormone     { --accent-vl: #b3282d; }
.vial-label.is-blends      { --accent-vl: #b45309; }
.vial-label.is-consumables { --accent-vl: #475569; }

/* 分类卡 */
.cat-card {
  border: 1px solid var(--line); border-radius: 10px; padding: 22px; background: #fff;
  transition: border-color .15s ease, transform .45s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease, opacity .6s ease;
}
.cat-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(25,114,223,.14); }
.cat-card h3 { margin-bottom: 8px; }
.cat-card p { font-size: 13px; color: var(--ink-3); margin-bottom: 12px; }
.cat-card__count { font-size: 12px; color: var(--accent); font-weight: 600; }

/* ---------- 表格 ---------- */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.table th { font-weight: 600; color: var(--ink-2); background: var(--bg-soft); font-size: 13px; }
.tscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tscroll > .table { min-width: 460px; }
.pdp > * { min-width: 0; }

/* ---------- 表单 ---------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 12px; font: inherit; font-size: 15px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
.field textarea { min-height: 130px; resize: vertical; }
.field__err { color: #a32d2d; font-size: 13px; margin-top: 5px; display: none; }
.field.has-error .field__err { display: block; }
.field.has-error input, .field.has-error textarea { border-color: #a32d2d; }

/* ---------- 提示条 ---------- */
.notice {
  background: var(--warn-bg);
  border: 1px solid var(--warn-line);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 13px;
  color: #6b5320;
}

/* ---------- 产品详情 ---------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 48px 0; }
.pdp__variants { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 24px; }
.chip { padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; cursor: pointer; background: #fff; }
.chip.is-active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 500; }

/* ---------- 筛选侧栏 ---------- */
.layout-side { display: grid; grid-template-columns: 220px 1fr; gap: 40px; padding: 40px 0 72px; }
.filter h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); margin-bottom: 12px; }
.filter a { display: block; padding: 7px 0; font-size: 14px; color: var(--ink-2); }
.filter a:hover, .filter a.is-active { color: var(--accent); font-weight: 500; }

/* ---------- 评价 ---------- */
.quote { border: 1px solid var(--line); border-radius: 10px; padding: 22px; background: #fff; }
.quote p { font-size: 14px; color: var(--ink-2); }
.quote__who { font-size: 13px; font-weight: 600; margin-top: 14px; }
.quote__where { font-size: 12px; color: var(--ink-3); }

/* ---------- 页脚 ---------- */
.site-footer { background: linear-gradient(180deg, #0b1341, #071a3a); color: #c3d1ea; padding: 56px 0 28px; font-size: 14px; margin-top: 0; }
.site-footer a { color: #c3d1ea; }
.site-footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer__grid h4 { font-size: 13px; color: #fff; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.08em; }
.footer__grid ul { list-style: none; margin: 0; padding: 0; }
.footer__grid li { margin-bottom: 8px; }
.footer__disclaimer { border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 22px; font-size: 12px; color: #8496b8; line-height: 1.7; }

/* ---------- 法务/正文页 ---------- */
.prose { max-width: 760px; padding: 56px 0 72px; }
.prose h2 { font-size: 22px; margin: 36px 0 12px; }
.prose h3 { margin: 26px 0 10px; }
.prose ul { padding-left: 20px; color: var(--ink-2); }
.prose li { margin-bottom: 8px; }
.prose__meta { font-size: 13px; color: var(--ink-3); }

.empty { padding: 56px 0; text-align: center; color: var(--ink-3); }

/* ---------- 品牌 logo ---------- */
.brand__logo { width: 34px; height: 34px; border-radius: 9px; display: block; }

/* ---------- 价格 ---------- */
.card__specline { font-size: 12px; color: var(--ink-3); margin: 0 0 10px; }
.card__price { font-weight: 700; color: var(--ink); font-size: 14px; }
.card__price small { font-weight: 500; color: var(--ink-3); }
.price-block { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 22px; flex-wrap: wrap; }
.price-usd { font-size: 30px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.price-aud { font-size: 15px; color: var(--ink-2); }
.price-usd small { font-size: 14px; font-weight: 600; color: var(--ink-3); margin-right: 4px; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .nav { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column; position: absolute;
    top: 70px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); padding: 16px 24px; gap: 14px;
  }
  .nav-toggle { display: block; }
  .pdp { grid-template-columns: 1fr; gap: 28px; }
  .layout-side { grid-template-columns: 1fr; gap: 24px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 48px 0; }
}

@media (max-width: 640px) {
  .hero__inner { padding: 6rem 1.25rem 7rem; }
  .hero__eyebrow { letter-spacing: 0.2em; }
  .hero__actions { gap: 0.7rem; }
  .hero__btn { padding: 0.85rem 1.4rem; flex: 1 1 auto; }
}

@media (max-width: 560px) {
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .hero__title { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero__btn { width: 100%; }
}

/* ---------- 视觉特效 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }

.fx-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 10px rgba(23,171,229,.55);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .hero__content { animation: none; }
  .hero__scroll-mouse::before { animation: none; opacity: 0.8; }
  .hero__btn { transition: none; }
}
