/* =========================================================
   洽飘飘 Qiapiaopiao — Brand Site Stylesheet v3
   小清新·小确幸：浅奶油底、大留白、柔和圆角、轻快入场动画
   参考 Palomar 式导航/动效：居中大 logo、滚动磨砂、stagger fade
   ========================================================= */

:root {
  --bg:         #FDF9F1;   /* page background 更浅奶油 */
  --bg-soft:    #F8F2E5;
  --paper:      #FFFFFF;
  --ink:        #2E2A22;
  --ink-soft:   #6B6355;
  --muted:      #A39886;
  --navy:       #2B3A99;   /* 品牌藏蓝（微调亮一档） */
  --navy-deep:  #1B2768;
  --navy-tint:  #EAEDFA;
  --gold:       #F7BE2C;   /* 金黄 */
  --gold-deep:  #E0A400;
  --gold-tint:  #FFF4CE;
  --orange:     #F5871F;   /* logo 徽章 */
  --leaf:       #7FB069;   /* 小清新绿点缀 */
  --leaf-tint:  #EAF4E2;
  --peach:      #FBD9CE;   /* 小确幸桃粉 */
  --berry:      #D2503F;
  --line:       #F0E7D4;
  --shadow:     0 24px 50px -28px rgba(43, 58, 153, .28);
  --shadow-sm:  0 12px 26px -18px rgba(46, 42, 34, .38);

  --sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --sans-en: "Inter", "Manrope", system-ui, sans-serif;

  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --maxw: 1160px;
  --nav-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* Bilingual: both languages present in HTML, toggled by <html> class */
html.lang-zh .en { display: none !important; }
html.lang-en .zh { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-weight: 900; line-height: 1.24; color: var(--ink); margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 3.3vw, 2.4rem); }
h3 { font-size: clamp(1.12rem, 2.1vw, 1.45rem); }

p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-deep); }
img, svg { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* gold marker underline for headline keywords */
.mark-gold { background: linear-gradient(transparent 62%, var(--gold-tint) 62%); padding: 0 .08em; }

/* ---------- Animations (Palomar-style) ---------- */
@keyframes fade-up   { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fade-down { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-up   { animation: fade-up .8s cubic-bezier(.16,1,.3,1) both; }
.animate-fade-down { animation: fade-down .7s cubic-bezier(.16,1,.3,1) both; }
.stagger-1 { animation-delay: 0ms; }
.stagger-2 { animation-delay: 120ms; }
.stagger-3 { animation-delay: 240ms; }
.stagger-4 { animation-delay: 360ms; }
.stagger-5 { animation-delay: 480ms; }
.stagger-6 { animation-delay: 600ms; }
@media (prefers-reduced-motion: reduce) {
  .animate-fade-up, .animate-fade-down { animation: none; }
}

/* ---------- Header（居中大 logo） ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s ease, box-shadow .3s ease;
  background: transparent;
}
.site-header.scrolled { background: rgba(253, 249, 241, .9); backdrop-filter: blur(10px) saturate(140%); box-shadow: 0 6px 20px -14px rgba(46,42,34,.35); }
.nav {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: var(--nav-h); gap: 16px;
}
.nav-left { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-left a { color: var(--ink-soft); font-weight: 700; font-size: .92rem; position: relative; transition: opacity .2s; }
.nav-left a:hover { opacity: .65; color: var(--ink); }
.nav-left a[aria-current="page"] { color: var(--navy); }
.nav-left a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: -8px;
  width: 18px; height: 3px; border-radius: 2px; background: var(--gold);
}

/* centered big logo — 商品同款橙色徽章，放大、无文字 */
.brand { display: flex; align-items: center; justify-content: center; }
.brand .mark { width: 96px; height: auto; filter: drop-shadow(0 8px 16px rgba(245,135,31,.35)); transition: transform .25s ease; }
.brand:hover .mark { transform: scale(1.04); }

.nav-right { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }

.lang-toggle {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px;
  overflow: hidden; background: rgba(255,255,255,.85);
}
.lang-toggle button {
  border: 0; background: transparent; cursor: pointer; padding: 6px 13px;
  font-family: var(--sans-en); font-weight: 700; font-size: .82rem; color: var(--muted);
  transition: all .2s ease;
}
.lang-toggle button.active { background: var(--navy); color: #fff; }

.menu-btn {
  display: none; position: relative; z-index: 60;
  width: 40px; height: 40px; background: transparent; border: 0; cursor: pointer;
}
.menu-btn span {
  position: absolute; left: 7px; width: 26px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: all .3s cubic-bezier(.68,-.6,.32,1.6);
}
.menu-btn span:nth-child(1) { top: 14px; }
.menu-btn span:nth-child(2) { top: 22px; }
.menu-btn.open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* mobile full-screen overlay（Palomar 式） */
.mobile-overlay {
  position: fixed; inset: 0; z-index: 55;
  background: var(--bg); opacity: 0; pointer-events: none;
  transition: opacity .5s cubic-bezier(.22,1,.36,1);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
  transform: none;
}
.mobile-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-overlay a { font-size: 1.7rem; font-weight: 900; color: var(--ink); opacity: 0; transform: translateY(-14px); transition: all .5s cubic-bezier(.22,1,.36,1) .1s; }
.mobile-overlay.open a { opacity: 1; transform: translateY(0); }
.mobile-overlay a:hover { color: var(--navy); }
.mobile-overlay .lang-toggle { margin-top: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 900; font-size: .96rem;
  font-family: var(--sans); cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--navy-deep); color: #fff; transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-gold:hover { background: var(--gold-deep); color: var(--ink); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.8); color: var(--navy); border-color: var(--navy-tint); }
.btn-ghost:hover { background: var(--navy-tint); color: var(--navy-deep); }

/* ---------- Hero（大留白、轻快入场） ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 48px) 0 64px;
  min-height: 92vh;
  display: flex; align-items: flex-start;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(46% 54% at 88% 6%, var(--gold-tint) 0%, transparent 62%),
    radial-gradient(40% 46% at 2% 96%, var(--leaf-tint) 0%, transparent 58%),
    radial-gradient(30% 34% at 70% 90%, var(--peach) 0%, transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 46px; align-items: center; width: 100%; }

.announce-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(46,42,34,.14); background: rgba(255,255,255,.65);
  backdrop-filter: blur(6px);
  font-size: .88rem; font-weight: 700; color: var(--ink);
  margin-bottom: 20px; transition: background .2s ease;
}
.announce-pill:hover { background: rgba(255,255,255,.92); color: var(--ink); }
.announce-pill .arrow { color: var(--gold-deep); font-weight: 900; }

.hero h1 { margin-bottom: .4em; }
.hero .lede { font-size: 1.12rem; max-width: 30em; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

.hero-photo { position: relative; }
.hero-photo img {
  width: 100%; border-radius: 34px; box-shadow: var(--shadow);
  aspect-ratio: 1 / 1; object-fit: cover;
}
.hero-photo .float-tag {
  position: absolute; left: 18px; bottom: 18px;
  background: var(--gold); color: var(--ink); font-weight: 900;
  padding: 9px 18px; border-radius: 999px; box-shadow: var(--shadow-sm); font-size: .95rem;
}
.hero-photo .mini-leaf {
  position: absolute; right: -14px; top: -18px; width: 64px; height: auto;
  filter: drop-shadow(0 8px 14px rgba(127,176,105,.35));
}

/* backed-by style row（Palomar「Backed by」式一行） */
.backed { margin-top: 34px; }
.backed .label { font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); font-family: var(--sans-en); font-weight: 700; margin-bottom: 12px; }
.backed .row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.backed .row span { font-weight: 900; color: rgba(46,42,34,.72); font-size: 1.05rem; display: inline-flex; align-items: center; gap: 7px; }
.backed .row span i { width: 8px; height: 8px; border-radius: 50%; flex: none; }

/* ---------- Feature bar（电商底部横条风格） ---------- */
.feature-bar { background: var(--navy); border-radius: var(--r-lg); padding: 30px 26px; box-shadow: var(--shadow); }
.feature-bar .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat { display: flex; align-items: center; gap: 14px; }
.feat .ic { width: 52px; height: 52px; flex: none; border-radius: 50%; border: 3px solid var(--gold); display: grid; place-items: center; background: rgba(255,255,255,.07); }
.feat .ic svg { width: 26px; height: 26px; }
.feat b { display: block; color: #fff; font-size: 1.04rem; font-weight: 900; line-height: 1.3; }
.feat span { color: rgba(255,255,255,.82); font-size: .86rem; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-head { max-width: 42em; margin: 0 auto 40px; text-align: center; }
.eyebrow {
  font-family: var(--sans-en); letter-spacing: .22em; text-transform: uppercase;
  font-size: .74rem; color: var(--leaf); font-weight: 800; display: inline-block; margin-bottom: 10px;
}
.lead { font-size: 1.08rem; }

/* photo+copy split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.alt { direction: rtl; }
.split.alt > * { direction: ltr; }
.split .art img { border-radius: var(--r-lg); box-shadow: var(--shadow); width: 100%; object-fit: cover; }

/* check pills */
.checks { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; align-items: center; gap: 10px; background: var(--navy); color: #fff; font-weight: 700; border-radius: 999px; padding: 9px 18px; width: fit-content; }
.checks li::before { content: "✓"; color: var(--gold); font-weight: 900; }

/* promise cards */
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ico { width: 50px; height: 50px; margin-bottom: 14px; }
.card h3 { font-size: 1.18rem; }
.card p { font-size: .95rem; margin: 0; }

/* products */
.prod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.prod-grid.cols3 { grid-template-columns: repeat(3, 1fr); }
.prod {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.prod:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.prod .thumb { position: relative; }
.prod .thumb img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.prod .thumb .corner {
  position: absolute; top: 14px; left: 14px;
  background: var(--gold); color: var(--ink); font-weight: 900;
  border-radius: 999px; padding: 5px 13px; font-size: .82rem; box-shadow: var(--shadow-sm);
}
.prod .body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.prod h3 { margin: 0; }
.prod .sub { font-family: var(--sans-en); color: var(--muted); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin-top: -6px; }
.prod .desc { font-size: .95rem; margin: 0; flex: 1; }
.prod .facts { display: flex; flex-wrap: wrap; gap: 8px; }
.fact { font-size: .78rem; background: var(--navy); color: #fff; padding: 4px 12px; border-radius: 999px; font-weight: 700; }
.fact.gold { background: var(--gold); color: var(--ink); }
.fact.line { background: var(--navy-tint); color: var(--navy); }
.fact.leaf { background: var(--leaf-tint); color: #4c7a3a; }

/* ingredient / nutrition blocks */
.spec { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.spec h3 { margin-bottom: 12px; }
.ing-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ing-list li { background: var(--leaf-tint); border: 1px dashed var(--leaf); color: var(--ink); border-radius: 999px; padding: 6px 15px; font-weight: 700; font-size: .92rem; }
.nutrition { width: 100%; border-collapse: collapse; font-size: .92rem; margin-top: 6px; }
.nutrition th, .nutrition td { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: left; }
.nutrition th { color: var(--muted); font-weight: 700; font-size: .82rem; }
.nutrition td:last-child, .nutrition th:last-child { text-align: right; color: var(--muted); }

/* gallery thumbs */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.gallery img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--r-md); box-shadow: var(--shadow-sm); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px 14px; box-shadow: var(--shadow-sm); }
.stat .num { font-family: var(--sans-en); font-size: 2.3rem; font-weight: 800; color: var(--navy); line-height: 1; }
.stat .lab { font-size: .85rem; color: var(--muted); margin-top: 8px; font-weight: 700; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 12px; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer; padding: 18px 22px; font-family: var(--sans); font-size: 1.05rem; font-weight: 900; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq-q .plus { color: var(--orange); font-size: 1.5rem; transition: transform .2s ease; flex: none; line-height: 1; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 22px; }
.faq-item.open .faq-a { max-height: 420px; padding: 0 22px 18px; }
.faq-a p { font-size: .96rem; margin: 0; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; border-radius: var(--r-lg); padding: 52px 40px; text-align: center; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(247,190,44,.18); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.88); }
.cta-band .btn-gold { background: var(--gold); color: var(--ink); }
.cta-band .btn-gold:hover { background: #FFCC3D; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .88rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm);
  font-family: var(--sans); font-size: .96rem; background: var(--paper); color: var(--ink);
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px var(--navy-tint); }
.contact-info { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.contact-info .row { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.contact-info .row:last-child { border-bottom: 0; }
.contact-info .row .k { color: var(--muted); font-size: .84rem; width: 96px; flex: none; font-weight: 700; }
.note { font-size: .8rem; color: var(--muted); }

/* footer */
.site-footer { background: var(--navy-deep); color: #D9DEF5; padding: 52px 0 28px; margin-top: 34px; }
.site-footer a { color: #D9DEF5; }
.site-footer a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot-grid h4 { color: #fff; font-size: .98rem; letter-spacing: .04em; }
.foot-grid ul { list-style: none; }
.foot-grid li { margin: 8px 0; font-size: .92rem; }
.foot-grid .blurb { font-size: .9rem; color: #A9B2E0; max-width: 26em; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand img { width: 72px; height: auto; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 30px; padding-top: 18px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .82rem; color: #A9B2E0; }

/* breadcrumb */
.crumb { font-size: .82rem; color: var(--muted); padding: calc(var(--nav-h) + 18px) 0 0; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--navy); }
.crumb span { color: var(--orange); font-weight: 700; }

/* utilities */
.center { text-align: center; }
.mt-s { margin-top: 12px; } .mt-m { margin-top: 26px; } .mt-l { margin-top: 48px; }
.bg-paper { background: var(--paper); }
.bg-gold { background: var(--gold-tint); }
.bg-leaf { background: var(--leaf-tint); }

/* ---------- Responsive（desktop + mobile） ---------- */
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav { grid-template-columns: auto 1fr auto; }
  .nav-left, .nav-right .nav-cta { display: none; }
  .nav-right { gap: 8px; }
  .brand { justify-content: flex-start; }
  .brand .mark { width: 76px; }
  .menu-btn { display: block; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .split.alt { direction: ltr; }
  .promise-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid, .prod-grid.cols3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .feature-bar .grid { grid-template-columns: 1fr; gap: 16px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: auto; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .promise-grid, .prod-grid, .prod-grid.cols3, .stats { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 38px 22px; }
  .hero { padding-top: calc(var(--nav-h) + 28px); }
  section { padding: 52px 0; }
  .brand .mark { width: 88px; }
}

/* =========================================================
   v4 — TerraElix 式全屏视觉 Hero + 三格面板
   ========================================================= */

@keyframes word-reveal    { from { opacity: 0; transform: translateY(110%); filter: blur(5px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes qp-fade-in     { from { opacity: 0; } to { opacity: 1; } }
@keyframes qp-slide-left  { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes qp-slide-right { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes qp-scale-in    { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: scale(1); } }

.animate-fade-in     { animation: qp-fade-in .7s cubic-bezier(.16,1,.3,1) both; }
.animate-slide-left  { animation: qp-slide-left .8s cubic-bezier(.16,1,.3,1) both; }
.animate-slide-right { animation: qp-slide-right .8s cubic-bezier(.16,1,.3,1) both; }
.animate-scale-in    { animation: qp-scale-in 1s cubic-bezier(.16,1,.3,1) both; }
.delay-200 { animation-delay: .2s; } .delay-300 { animation-delay: .3s; }
.delay-400 { animation-delay: .4s; } .delay-500 { animation-delay: .5s; }
.delay-600 { animation-delay: .6s; } .delay-700 { animation-delay: .7s; }
.delay-800 { animation-delay: .8s; } .delay-900 { animation-delay: .9s; }
.delay-1000 { animation-delay: 1s; } .delay-1100 { animation-delay: 1.1s; }

/* --- full-bleed hero: clean cream gradient, product is the only focal point --- */
.hero-v4 {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; overflow: hidden;
  background:
    radial-gradient(42% 50% at 86% 8%, var(--gold-tint) 0%, transparent 62%),
    radial-gradient(36% 44% at 2% 94%, var(--leaf-tint) 0%, transparent 58%),
    radial-gradient(30% 36% at 70% 88%, var(--peach) 0%, transparent 60%),
    var(--bg);
}
@keyframes qp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.hero-v4 .hero-inner {
  position: relative; z-index: 1; flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--nav-h) + 30px); padding-bottom: 34px;
}

/* word-by-word reveal headline */
.hero-lines { font-weight: 900; letter-spacing: -.02em; line-height: 1.06; margin: 0 0 14px; font-size: clamp(2.7rem, 7.2vw, 6.4rem); }
.hero-lines .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-lines .word { display: inline-block; animation: word-reveal .7s cubic-bezier(.16,1,.3,1) both; }
.hero-lines .w-dim { color: rgba(46,42,34,.42); }
.inline-logo {
  display: inline-block; vertical-align: middle; width: clamp(64px, 7vw, 118px); height: auto;
  margin-left: clamp(8px, 1.6vw, 22px); transform-origin: center;
}
@media (max-width: 640px) { .inline-logo { display: none; } }

/* hero two-column: copy left, REAL product right */
.hero-cols { display: grid; grid-template-columns: 1fr; gap: 34px; align-items: center; width: 100%; }
@media (min-width: 1024px) { .hero-cols { grid-template-columns: 1.12fr .88fr; gap: 48px; } }
.hero-product { position: relative; max-width: 540px; margin: 0 auto; }
.hero-product img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 36px; border: 8px solid rgba(255,255,255,.95);
  box-shadow: 0 34px 70px -30px rgba(46,42,34,.5);
  animation: qp-float 6.5s ease-in-out 2.2s infinite;
}
@media (prefers-reduced-motion: reduce) { .hero-product img { animation: none; } }

/* CTA row */
.cta-row { display: flex; flex-direction: column; gap: 16px; margin-top: 30px; }
@media (min-width: 640px) { .cta-row { flex-direction: row; align-items: center; gap: 32px; } }
.cta-row .btn-big {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--ink); color: #fff; border-radius: 14px;
  padding: 0 26px; height: 60px; font-weight: 700; font-size: 1.05rem; letter-spacing: -.02em;
  transition: transform .2s ease, background .2s ease;
}
@media (min-width: 1024px) { .cta-row .btn-big { height: 70px; font-size: 1.25rem; min-width: 300px; } }
.cta-row .btn-big:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.cta-row .btn-big .up { font-weight: 900; }
.cta-row .cta-text { max-width: 330px; color: var(--ink-soft); font-size: .95rem; line-height: 1.5; margin: 0; }
@media (min-width: 1024px) { .cta-row .cta-text { font-size: 1.05rem; } }

/* mobile/tablet product card below hero */
.hero-mobile-img { display: block; padding: 0 22px 26px; position: relative; z-index: 1; }
.hero-mobile-img img { width: 100%; max-width: 560px; margin: 0 auto; border-radius: 30px; box-shadow: var(--shadow); aspect-ratio: 1/1; object-fit: cover; }
@media (min-width: 1024px) { .hero-mobile-img { display: none; } }

/* --- 3-panel strip --- */
.panel-strip { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 0 10px 10px; position: relative; z-index: 2; }
@media (min-width: 768px) { .panel-strip { grid-template-columns: 2fr 1fr 2fr; } }
.panel { border-radius: 24px; padding: 30px 28px; min-height: 210px; position: relative; overflow: hidden; box-shadow: var(--shadow-sm); }

.panel.p1 { background: #FFF7E9; }
.p1-text { font-weight: 900; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.15; letter-spacing: -.02em; max-width: 360px; margin: 0 0 14px; color: var(--ink); }
.p1-link { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; color: var(--ink); }
.p1-link:hover { color: var(--navy); }
.p1-deco { position: absolute; right: 0; bottom: 0; height: 100%; width: auto; object-fit: cover; mix-blend-mode: multiply; opacity: .9; border-radius: 0 24px 24px 0; }

.panel.p2 { background: #FEFDF9; display: flex; flex-direction: column; justify-content: space-between; }
.car-viewport { position: relative; min-height: 96px; }
.car-card { display: flex; align-items: center; gap: 12px; position: absolute; inset: 0; opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.car-card.active { opacity: 1; transform: translateY(0); }
.car-card .cc-ic { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; }
.car-card .cc-ic svg { width: 22px; height: 22px; }
.car-card p { font-size: .92rem; line-height: 1.3; color: rgba(46,42,34,.85); margin: 0; font-weight: 500; }
.car-dots { display: flex; gap: 6px; margin-top: 16px; }
.car-dots span { height: 3px; flex: 1; border-radius: 999px; background: rgba(0,0,0,.15); transition: background .3s; }
.car-dots span.active { background: var(--ink); }

.panel.p3 { background: var(--navy-deep); color: #fff; display: flex; align-items: center; gap: 20px; }
.p3-img { width: 120px; height: 86px; object-fit: cover; border-radius: 14px; flex: none; }
@media (min-width: 1024px) { .p3-img { width: 190px; height: 130px; } }
.p3-num { font-family: var(--sans-en); font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.p3-txt { color: rgba(255,255,255,.62); font-size: .9rem; line-height: 1.3; margin-top: 8px; }

/* =========================================================
   v5 — 品牌升级：为什么是洽飘飘 / 多场景 / 真实生活 / 证据 / 购买渠道
   ========================================================= */

/* 为什么是洽飘飘：01-04 编号卡 */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1024px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }
.why-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-card .no { font-family: var(--sans-en); font-weight: 800; font-size: .8rem; color: var(--orange); letter-spacing: .22em; display: block; margin-bottom: 10px; }
.why-card h3 { font-size: 1.12rem; }
.why-card p { font-size: .93rem; margin: 0; }

/* 多场景吃法网格 */
.scene-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1024px) { .scene-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .scene-grid { grid-template-columns: 1fr; } }
.scene { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 20px; box-shadow: var(--shadow-sm); }
.scene .sc-no { font-family: var(--sans-en); font-weight: 800; font-size: .74rem; letter-spacing: .2em; color: var(--leaf); display: block; margin-bottom: 8px; }
.scene h3 { font-size: 1.05rem; margin-bottom: 6px; }
.scene ul { list-style: none; margin: 6px 0 0; padding: 0; font-size: .88rem; color: var(--ink-soft); }
.scene ul li { padding: 4px 0; border-bottom: 1px dashed var(--line); }
.scene ul li:last-child { border-bottom: 0; }

/* 真实生活时刻条（深蓝底） */
.life-strip { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; border-radius: var(--r-lg); padding: 52px 44px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.life-strip::before { content: ""; position: absolute; right: -50px; bottom: -50px; width: 190px; height: 190px; border-radius: 50%; background: rgba(247,190,44,.16); }
.life-strip h2 { color: #fff; }
.life-strip .life-lead { color: rgba(255,255,255,.85); }
.life-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.life-list li { background: rgba(255,255,255,.09); border-radius: var(--r-md); padding: 15px 22px; color: rgba(255,255,255,.92); font-weight: 500; }
.life-list li b { color: var(--gold); }
.life-punch { margin-top: 24px; font-weight: 900; font-size: 1.2rem; color: #fff; }
@media (max-width: 560px) { .life-strip { padding: 36px 22px; } }

/* 宣称 → 证据 对照表 */
.claim-table { width: 100%; border-collapse: collapse; font-size: .92rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.claim-table th, .claim-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.claim-table th { background: var(--gold-tint); font-weight: 900; font-size: .86rem; }
.claim-table tr:last-child td { border-bottom: 0; }
.claim-table td:first-child { font-weight: 700; white-space: nowrap; }
@media (max-width: 640px) { .claim-table th, .claim-table td { padding: 10px 10px; font-size: .84rem; } }

/* 官方购买渠道卡片 */
.buy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 760px) { .buy-grid { grid-template-columns: 1fr; } }
.buy-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px; }
.buy-card .tag { align-self: flex-start; font-size: .74rem; font-weight: 800; letter-spacing: .14em; padding: 4px 12px; border-radius: 999px; }
.buy-card .tag.on { background: var(--leaf-tint); color: #4c7a3a; }
.buy-card .tag.soon { background: var(--gold-tint); color: #9a7508; }
.buy-card h3 { margin: 4px 0 0; }
.buy-card p { margin: 0; font-size: .94rem; }
