/* ============================================
   HONGMO 弘茉 V8.6 - 公共样式表
   无水本草，锁住东方活性
   三大业务线：C端品牌 + B端ODM + 国际业务
   更新: 2026-08-12（V8.6 美工全面惊艳化升级）
   ============================================ */

/* --- Design Tokens (V8 配色) --- */
:root {
    --mint: #2D8A6E;          /* 主色 薄荷绿（企业VI标准） */
    --mint-dark: #1F6B54;     /* 薄荷绿深 */
    --mint-deep: #145A43;     /* 薄荷绿极深 */
    --celadon: #8DB5A0;       /* 汝窑天青 */
    --rose: #E8A0B4;          /* 玫瑰粉 */
    --amber: #F4A261;         /* 暖橙光 */
    --ink: #1A2E2A;           /* 玄墨 */
    --cloud: #F8FAF9;         /* 云雾白 */
    --ivory: #FAF8F3;         /* 象牙白 */
    --gold: #D4AF37;          /* 金色（VI点缀） */
    --gold-soft: #C9A958;     /* 柔金 */
    --line: #E5E0D8;          /* 分隔线 */
    --text-mute: #6B7B77;     /* 次要文字 */
    --text-body: #4A5A56;     /* 正文文字 */
    --shadow-soft: 0 8px 32px rgba(45, 138, 110, 0.08), 0 2px 8px rgba(26, 46, 42, 0.04);
    --shadow-hover: 0 20px 60px rgba(45, 138, 110, 0.15), 0 6px 16px rgba(26, 46, 42, 0.06);
    --shadow-luxe: 0 16px 48px rgba(45, 138, 110, 0.12), 0 4px 12px rgba(212, 175, 55, 0.06);
    --grad-mint: linear-gradient(135deg, #2D8A6E 0%, #1F6B54 100%);
    --grad-celadon: linear-gradient(135deg, #2D8A6E 0%, #8DB5A0 100%);
    --grad-hero: linear-gradient(135deg, #2D8A6E 0%, #8DB5A0 50%, #F8FAF9 100%);
    --grad-gold: linear-gradient(135deg, #D4AF37 0%, #C9A958 100%);
    --grad-luxe: linear-gradient(135deg, #D4AF37 0%, #F4A261 50%, #E8A0B4 100%);
    --grad-text: linear-gradient(135deg, #2D8A6E 0%, #D4AF37 100%);
    --grad-text-light: linear-gradient(135deg, #fff 0%, #F4A261 50%, #D4AF37 100%);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 80px;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
    color: var(--ink);
    background: var(--cloud);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }

::selection { background: rgba(45, 138, 110, .15); color: var(--ink); }

/* --- Typography --- */
h1, h2, h3, h4 { font-family: "KaiTi", "STKaiti", "PingFang SC", serif; font-weight: 600; line-height: 1.3; }

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(248, 250, 249, .92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(45, 138, 110, .08);
    padding: 14px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: box-shadow .3s, padding .3s;
}

nav.scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, .06); padding: 10px 5%; }

.logo {
    font-size: 24px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "KaiTi", serif;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--grad-mint);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-family: "KaiTi", serif;
    box-shadow: 0 4px 12px rgba(45, 138, 110, .3);
}

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

.nav-links a {
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
    transition: color .3s;
    position: relative;
    letter-spacing: 1px;
}

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

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--mint);
    transform: scaleX(0);
    transition: transform .3s;
}

.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.cta-nav {
    padding: 10px 26px;
    background: var(--grad-mint);
    color: #fff;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    transition: all .3s;
    box-shadow: 0 4px 14px rgba(45, 138, 110, .25);
}

.cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 138, 110, .35);
}

/* Mobile hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 101;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all .3s;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 7px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -7px); }

/* --- Sections --- */
.section { padding: 120px 5%; position: relative; }
.section-white { background: #fff; }
.section-cloud { background: var(--cloud); }
.section-ivory { background: var(--ivory); }
.section-mint { background: var(--grad-mint); color: #fff; }
.section-dark { background: linear-gradient(135deg, var(--ink) 0%, #0D1F1C 100%); color: #fff; }
.section-inner { max-width: 1200px; margin: 0 auto; }

/* 金色分隔线装饰 */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 40px;
}
.section-divider .line {
    width: 60px;
    height: 1px;
    background: var(--gold);
    opacity: .5;
}
.section-divider .diamond {
    width: 8px;
    height: 8px;
    background: var(--gold);
    transform: rotate(45deg);
    opacity: .7;
}

/* --- Section Header --- */
.sec-head { text-align: center; margin-bottom: 64px; position: relative; }
.sec-head .tag { color: var(--mint); font-size: 12px; letter-spacing: 8px; font-weight: 600; margin-bottom: 18px; display: inline-block; text-transform: uppercase; }
.sec-head .tag-gold { color: var(--gold); }
.sec-head h2 { font-size: 2.85rem; color: var(--ink); line-height: 1.25; letter-spacing: 6px; font-weight: 600; }
.sec-head h2.white { color: #fff; }
.sec-head p { color: var(--text-mute); font-size: 17px; margin-top: 18px; max-width: 720px; margin-left: auto; margin-right: auto; line-height: 1.9; }
.sec-head p.white { color: rgba(255, 255, 255, .75); }

/* V8.6 标题装饰线（标题下方双线） */
.sec-head h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: var(--grad-gold);
    margin: 18px auto 0;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(212, 175, 55, .3);
}

/* --- Page Hero (子页面通用) --- */
.page-hero {
    padding: 160px 5% 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--grad-hero);
}

.page-hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse at 70% 40%, rgba(141, 181, 160, .3), transparent 60%);
}

.page-hero .tag {
    color: var(--mint-dark);
    font-size: 13px;
    letter-spacing: 5px;
    margin-bottom: 18px;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 18px;
    color: var(--ink);
    line-height: 1.25;
    position: relative;
    z-index: 2;
}

.page-hero .slogan {
    font-size: 22px;
    color: var(--mint-dark);
    letter-spacing: 3px;
    margin-bottom: 16px;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.page-hero p {
    font-size: 17px;
    color: var(--text-body);
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    line-height: 1.9;
}

/* --- CTA Box --- */
.cta-box {
    text-align: center;
    padding: 90px 5%;
    background: var(--grad-mint);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,.08), transparent 50%);
}

.cta-box h2 {
    font-size: 2.2rem;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
}

.cta-box p {
    margin-bottom: 32px;
    opacity: .9;
    font-size: 17px;
    position: relative;
    z-index: 2;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.cta-box .btn {
    padding: 16px 42px;
    background: #fff;
    color: var(--mint);
    border-radius: 30px;
    font-weight: 600;
    display: inline-block;
    transition: all .3s;
    position: relative;
    z-index: 2;
    font-size: 16px;
}

.cta-box .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
}

/* --- Stats Row --- */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    max-width: 900px;
    margin: 40px auto 0;
}

.stat { text-align: center; position: relative; padding: 16px 8px; }
.stat::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
    width: 32px;
    height: 1px;
    background: var(--grad-gold);
    opacity: .5;
}
.stat .n {
    font-size: 3.2rem;
    font-weight: 700;
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: "KaiTi", serif;
    line-height: 1.1;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.stat .n .plus { color: var(--gold); }
.stat .l { font-size: 13px; color: var(--text-mute); margin-top: 10px; letter-spacing: 2px; }

/* 合作免责/资源说明（V8.6新增） */
.disclaimer {
    max-width: 820px;
    margin: 40px auto 0;
    padding: 18px 28px;
    background: var(--cloud);
    border-left: 3px solid var(--gold);
    border-radius: 0 12px 12px 0;
    font-size: 13px;
    color: var(--text-mute);
    line-height: 1.9;
    letter-spacing: 0.5px;
    text-align: center;
}

/* --- Footer --- */
footer {
    background: var(--ink);
    color: rgba(255, 255, 255, .7);
    padding: 72px 5% 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto 44px;
}

.footer-brand .logo { color: #fff; margin-bottom: 18px; }
.footer-tagline { font-size: 14px; line-height: 1.9; margin-bottom: 18px; }
.footer-contact { font-size: 13px; line-height: 1.9; }
.footer-contact strong { color: rgba(255,255,255,.9); }
.footer-col h5 { color: #fff; font-size: 15px; margin-bottom: 18px; letter-spacing: 1px; }
.footer-col a {
    display: block;
    padding: 6px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, .55);
    transition: color .3s;
}
.footer-col a:hover { color: var(--celadon); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, .35);
}

.footer-bottom a { color: rgba(255, 255, 255, .5); }
.footer-bottom a:hover { color: var(--celadon); }

/* --- Language Toggle (V8.7) --- */
.lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--mint);
    background: rgba(45, 138, 110, .06);
    color: var(--mint);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all .3s;
    flex-shrink: 0;
    margin-left: 4px;
}
.lang-toggle:hover {
    background: var(--grad-mint);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(45, 138, 110, .3);
}
@media (max-width: 768px) {
    .lang-toggle {
        position: fixed;
        bottom: 5rem;
        right: 1.5rem;
        z-index: 999;
        width: 44px;
        height: 44px;
        font-size: 13px;
    }
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--grad-mint);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 20px rgba(45, 138, 110, .35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all .3s;
    z-index: 999;
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(45, 138, 110, .45);
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .8s ease, transform .8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in.delay-1 { transition-delay: .1s; }
.fade-in.delay-2 { transition-delay: .2s; }
.fade-in.delay-3 { transition-delay: .3s; }

/* 文字渐显（V8.6新增·配合IntersectionObserver） */
.text-reveal {
    overflow: hidden;
    display: inline-block;
}
.text-reveal .word {
    display: inline-block;
    transform: translateY(110%);
    transition: transform .9s cubic-bezier(.2,.7,.2,1);
}
.text-reveal.visible .word { transform: translateY(0); }
.text-reveal .word:nth-child(1) { transition-delay: 0s; }
.text-reveal .word:nth-child(2) { transition-delay: .12s; }
.text-reveal .word:nth-child(3) { transition-delay: .24s; }
.text-reveal .word:nth-child(4) { transition-delay: .36s; }
.text-reveal .word:nth-child(5) { transition-delay: .48s; }
.text-reveal .word:nth-child(6) { transition-delay: .60s; }

/* 渐变文字（V8.6新增） */
.text-gradient {
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-gradient-light {
    background: var(--grad-text-light);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-gradient-luxe {
    background: var(--grad-luxe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 顶部滚动进度条（V8.6新增） */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--grad-luxe);
    z-index: 200;
    width: 0%;
    transition: width .1s ease-out;
    box-shadow: 0 1px 6px rgba(212, 175, 55, .5);
}

/* 鼠标光晕（V8.6新增·桌面端） */
.cursor-glow {
    position: fixed;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45, 138, 110, .12) 0%, rgba(212, 175, 55, .05) 30%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: opacity .3s;
    mix-blend-mode: multiply;
    opacity: 0;
}
.cursor-glow.active { opacity: 1; }
@media (max-width: 1024px) { .cursor-glow { display: none; } }

/* 卡片3D悬停（V8.6新增） */
.tilt-3d {
    transform-style: preserve-3d;
    transition: transform .5s cubic-bezier(.2,.7,.2,1);
    will-change: transform;
}
.tilt-3d:hover { transform: perspective(1200px) rotateX(2deg) rotateY(-2deg) translateY(-8px); }

/* 朱印装饰（V8.6新增） */
.stamp-seal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border: 3px solid var(--gold);
    color: var(--gold);
    font-family: "KaiTi", serif;
    font-size: 28px;
    font-weight: 700;
    border-radius: 8px;
    transform: rotate(-6deg);
    opacity: .85;
    box-shadow: 0 4px 16px rgba(212, 175, 55, .15);
    background: rgba(212, 175, 55, .04);
    letter-spacing: -1px;
    line-height: 1.05;
    text-align: center;
}
.stamp-seal.lg { width: 96px; height: 96px; font-size: 36px; }

/* 高级徽章（金属质感·V8.6新增） */
.badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(212, 175, 55, .15) 0%, rgba(212, 175, 55, .05) 100%);
    border: 1px solid var(--gold);
    border-radius: 30px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, .12);
}
.badge-premium .badge-dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--gold);
}

/* 装饰：旋转光轮（V8.6新增） */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .6;
    pointer-events: none;
    z-index: 0;
}
.glow-orb.mint { background: radial-gradient(circle, var(--mint) 0%, transparent 70%); }
.glow-orb.gold { background: radial-gradient(circle, var(--gold) 0%, transparent 70%); }
.glow-orb.celadon { background: radial-gradient(circle, var(--celadon) 0%, transparent 70%); }
.glow-orb.amber { background: radial-gradient(circle, var(--amber) 0%, transparent 70%); }

/* 水墨笔触装饰（V8.6新增） */
.ink-brush {
    position: absolute;
    pointer-events: none;
    opacity: .15;
    z-index: 0;
}

/* 本草叶装饰（V8.6新增） */
.herb-leaf {
    position: absolute;
    width: 60px;
    height: 60px;
    opacity: .4;
    pointer-events: none;
    z-index: 0;
    animation: float-leaf 8s ease-in-out infinite;
}
@keyframes float-leaf {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(15deg); }
}

@keyframes float-particle {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: .4; }
    50% { transform: translateY(-30px) rotate(15deg); opacity: .7; }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes spin-slow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spin-reverse {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(248, 250, 249, .98);
        backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        opacity: 0;
        visibility: hidden;
        transition: all .3s;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-links.active a {
        font-size: 20px;
    }

    .nav-toggle { display: flex; }
    .cta-nav { display: none; }

    .page-hero { padding: 130px 5% 70px; }
    .page-hero h1 { font-size: 2rem; }
    .page-hero .slogan { font-size: 16px; }
    .sec-head h2 { font-size: 1.8rem; }
    .section { padding: 60px 5%; }

    .stats-row { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .cta-box h2 { font-size: 1.6rem; }

    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 44px;
        height: 44px;
    }
}
