/**
 * 三养食品中国官方网站 - 共享样式文件
 * 主题色：rgb(50,50,50), rgb(255,100,0), rgb(255,163,0), rgb(95,10,50), rgb(247,222,203), rgb(255,255,255)
 */

/* 自定义颜色变量 */
:root {
    --color-dark-gray: rgb(50, 50, 50);
    --color-orange-red: rgb(255, 100, 0);
    --color-orange: rgb(255, 163, 0);
    --color-dark-purple: rgb(95, 10, 50);
    --color-light-pink: rgb(247, 222, 203);
    --color-white: rgb(255, 255, 255);
}

/* ============================================
   自定义字体引入
   ============================================
   使用说明：
   1. 将客户提供的字体文件（.woff2, .woff, .ttf, .otf）放入 assets/fonts/ 文件夹
   2. 在下方添加 @font-face 声明，格式如下：
   
   @font-face {
       font-family: '字体名称';
       src: url('../fonts/字体文件名.woff2') format('woff2'),
            url('../fonts/字体文件名.woff') format('woff'),
            url('../fonts/字体文件名.ttf') format('truetype');
       font-weight: normal;  /* 或 400, 500, 600, 700 等 */
       font-style: normal;   /* 或 italic */
       font-display: swap;   /* 优化字体加载 */
   }
   
   3. 在 body 或需要使用的元素中引用字体：
   font-family: '字体名称', fallback-fonts;
   ============================================ */

/* Roundsquare Sans 字体引入 */
@font-face {
    font-family: 'Roundsquare Sans';
    src: url('../fonts/Roundsquare Sans/webfonts/woff/RoundsquareSans-Light.woff') format('woff'),
         url('../fonts/Roundsquare Sans/TTF/RoundsquareSans-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roundsquare Sans';
    src: url('../fonts/Roundsquare Sans/webfonts/woff/RoundsquareSans-Regular.woff') format('woff'),
         url('../fonts/Roundsquare Sans/TTF/RoundsquareSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roundsquare Sans';
    src: url('../fonts/Roundsquare Sans/webfonts/woff/RoundsquareSans-RegularItalic.woff') format('woff'),
         url('../fonts/Roundsquare Sans/TTF/RoundsquareSans-RegularItalic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Roundsquare Sans';
    src: url('../fonts/Roundsquare Sans/webfonts/woff/RoundsquareSans-Medium.woff') format('woff'),
         url('../fonts/Roundsquare Sans/TTF/RoundsquareSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roundsquare Sans';
    src: url('../fonts/Roundsquare Sans/webfonts/woff/RoundsquareSans-Bold.woff') format('woff'),
         url('../fonts/Roundsquare Sans/TTF/RoundsquareSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roundsquare Sans';
    src: url('../fonts/Roundsquare Sans/webfonts/woff/RoundsquareSans-BoldItalic.woff') format('woff'),
         url('../fonts/Roundsquare Sans/TTF/RoundsquareSans-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 全局字体设置 - 支持中文、韩文、英文 */
body,
html {
    font-family: 'Roundsquare Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
    color: var(--color-dark-gray);
    line-height: 1.6;
    background-color: var(--color-white);
}

/* 确保所有文本元素都使用 Roundsquare Sans */
*,
*::before,
*::after {
    font-family: inherit;
}

/* 特定元素字体设置 */
h1, h2, h3, h4, h5, h6,
p, span, div, a, li, td, th,
button, input, textarea, select,
label, caption, figcaption {
    font-family: 'Roundsquare Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
}

/* 导航栏样式 */
.navbar {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-family: 'Roundsquare Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
}

/* 导航栏所有文本元素使用 Roundsquare Sans */
.navbar,
.navbar a,
.navbar span,
.navbar button,
.navbar-link,
.navbar-brand,
.navbar-toggle,
.nav-link {
    font-family: 'Roundsquare Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
}

/* 首页透明导航栏 */
.navbar-transparent {
    background-color: transparent !important;
    box-shadow: none;
}

.navbar-transparent .navbar-link {
    color: white !important;
}

.navbar-transparent .navbar-brand {
    color: white !important;
}

.navbar-transparent .navbar-toggle {
    color: white !important;
}

.navbar-transparent .navbar-btn {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
}

.navbar-transparent .navbar-btn:hover {
    background: rgba(255, 255, 255, 0.3) !important;
}

.navbar-transparent .navbar-link:hover {
    color: rgba(255, 163, 0, 1) !important;
}

.navbar-transparent .nav-link::after {
    background-color: rgba(255, 163, 0, 1) !important;
}

/* 其他页面白色导航栏 */
.navbar-white {
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-white .navbar-link {
    color: rgb(55, 65, 81) !important;
}

.navbar-white .navbar-brand {
    color: rgb(31, 41, 55) !important;
}

.navbar-white .navbar-toggle {
    color: rgb(55, 65, 81) !important;
}

/* 滚动后的导航栏样式 */
.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-scrolled .navbar-link {
    color: rgb(55, 65, 81) !important;
}

.navbar-scrolled .navbar-brand {
    color: rgb(31, 41, 55) !important;
}

.navbar-scrolled .navbar-toggle {
    color: rgb(55, 65, 81) !important;
}

.navbar-scrolled .navbar-btn {
    background: linear-gradient(135deg, var(--color-orange-red), var(--color-orange)) !important;
    border: none !important;
}

.nav-link {
    position: relative;
    padding: 0.5rem 0;
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-orange-red);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* 按钮样式 */
.btn-primary {
    background: linear-gradient(135deg, var(--color-orange-red), var(--color-orange));
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 100, 0, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-orange-red);
    color: var(--color-orange-red);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--color-orange-red);
    color: var(--color-white);
}

/* 卡片样式 */
.card {
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* 页脚样式 */
.footer {
    background-color: #000000;
}

/* 区块背景 */
.section-bg-light {
    background-color: var(--color-light-pink);
}

.section-bg-gradient {
    background: linear-gradient(135deg, var(--color-light-pink), var(--color-white));
}

/* 文字颜色 */
.text-primary {
    color: var(--color-orange-red);
}

.text-secondary {
    color: var(--color-dark-gray);
}

/* 动画效果 */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 文字淡入动画（延迟） */
.animate-fade-in-delay {
    animation: fadeIn 2.5s ease-in-out forwards;
    opacity: 0;
}

/* 自动脉冲动画 - 卡片背景和阴影循环 */
@keyframes autoPulse {
    0%, 100% {
        background-color: transparent;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }
    50% {
        background-color: rgba(255, 163, 0, 0.2);
        box-shadow: 0 4px 12px rgba(255, 163, 0, 0.25);
    }
}

.animate-auto-pulse {
    animation: autoPulse 3s ease-in-out infinite;
}

/* 自动弹跳动画 - 图标轻微缩放 */
@keyframes autoBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-auto-bounce {
    animation: autoBounce 2s ease-in-out infinite;
}

/* 新闻卡片自动动画 - 阴影和光晕呼吸效果 */
@keyframes autoNewsCard {
    0%, 100% {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 15px 35px rgba(255, 163, 0, 0.4);
    }
}

.animate-auto-news-card {
    animation: autoNewsCard 3s ease-in-out infinite;
}

/* 光晕呼吸动画 */
@keyframes glowPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

.animate-glow-pulse {
    animation: glowPulse 3s ease-in-out infinite;
}

/* 轮播图纵向栅格切换动画 */
@keyframes slideFromLeft {
    0% {
        clip-path: inset(0 0 0 0);
    }
    100% {
        clip-path: inset(0 100% 0 0);
    }
}

.carousel-mask.active .mask-bar:nth-child(1) {
    animation: slideFromLeft 0.8s ease-in-out forwards;
    animation-delay: 0s;
}

.carousel-mask.active .mask-bar:nth-child(2) {
    animation: slideFromLeft 0.8s ease-in-out forwards;
    animation-delay: 0.1s;
}

.carousel-mask.active .mask-bar:nth-child(3) {
    animation: slideFromLeft 0.8s ease-in-out forwards;
    animation-delay: 0.2s;
}

.carousel-mask.active .mask-bar:nth-child(4) {
    animation: slideFromLeft 0.8s ease-in-out forwards;
    animation-delay: 0.3s;
}

.carousel-mask.active .mask-bar:nth-child(5) {
    animation: slideFromLeft 0.8s ease-in-out forwards;
    animation-delay: 0.4s;
}

.carousel-mask.active .mask-bar:nth-child(6) {
    animation: slideFromLeft 0.8s ease-in-out forwards;
    animation-delay: 0.5s;
}

.carousel-mask.active .mask-bar:nth-child(7) {
    animation: slideFromLeft 0.8s ease-in-out forwards;
    animation-delay: 0.6s;
}

.carousel-mask.active .mask-bar:nth-child(8) {
    animation: slideFromLeft 0.8s ease-in-out forwards;
    animation-delay: 0.7s;
}

.carousel-mask {
    opacity: 0;
    transition: opacity 0.1s ease-in-out;
}

.carousel-mask.active {
    opacity: 1;
}

.carousel-mask .mask-bar {
    clip-path: inset(0 0 0 0);
    background: black;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 1rem 0;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--color-orange-red);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 分割线 */
.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-light-pink), transparent);
    margin: 3rem 0;
}

/* 页脚链接 */
.footer a {
    transition: color 0.3s ease;
}

/* 页脚普通链接 hover 默认依然使用白色，但允许更具体的类覆盖 */
.footer a:hover {
    color: var(--color-white);
}

/* 友情链接下拉菜单项：使用主题色 rgb(255,100,0) */
.footer a.footer-link-item {
    color: #1f2933; /* 与 text-slate-700 保持一致的默认深灰 */
}

.footer a.footer-link-item:hover,
.footer a.footer-link-item:focus {
    color: rgb(255, 100, 0) !important;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
}

table th,
table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

table th {
    background-color: var(--color-light-pink);
    font-weight: 600;
}

/* 表单样式 */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-orange-red);
    box-shadow: 0 0 0 3px rgba(255, 100, 0, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 100, 0, 0.3);
    border-radius: 50%;
    border-top-color: var(--color-orange-red);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 大图融合区域样式 */
.section-image-fusion {
    position: relative;
    overflow: hidden;
}

.section-image-fusion img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-image-fusion:hover img {
    transform: scale(1.05);
}

/* 文字动画 */
.text-fade-in {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 新拟态播放按钮 */
.neumorphic-play-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 
        8px 8px 16px rgba(0, 0, 0, 0.3),
        -8px -8px 16px rgba(255, 255, 255, 0.1),
        inset 2px 2px 4px rgba(255, 255, 255, 0.2),
        inset -2px -2px 4px rgba(0, 0, 0, 0.1);
}

.neumorphic-play-btn:hover {
    box-shadow: 
        12px 12px 24px rgba(0, 0, 0, 0.35),
        -12px -12px 24px rgba(255, 255, 255, 0.15),
        inset 2px 2px 4px rgba(255, 255, 255, 0.25),
        inset -2px -2px 4px rgba(0, 0, 0, 0.15);
}

.neumorphic-play-btn:active {
    box-shadow: 
        inset 4px 4px 8px rgba(0, 0, 0, 0.3),
        inset -4px -4px 8px rgba(255, 255, 255, 0.1);
}

/* About hero shared styles */
@keyframes videoGradientDrift {
    0% {
        transform: translate(-30%, -25%) scale(1);
        opacity: 0.65;
    }
    50% {
        transform: translate(12%, 8%) scale(1.22);
        opacity: 0.45;
    }
    100% {
        transform: translate(32%, -18%) scale(1.08);
        opacity: 0.55;
    }
}

@keyframes videoGradientDriftSecondary {
    0% {
        transform: translate(24%, 18%) scale(0.92);
        opacity: 0.55;
    }
    50% {
        transform: translate(-18%, -12%) scale(1.25);
        opacity: 0.7;
    }
    100% {
        transform: translate(-40%, 20%) scale(1.05);
        opacity: 0.5;
    }
}

.video-bg-blob {
    position: absolute;
    inset: auto;
    width: 620px;
    height: 620px;
    border-radius: 9999px;
    filter: blur(75px);
    background: radial-gradient(circle at 32% 32%, rgba(255, 140, 66, 0.75), transparent 68%);
    animation: videoGradientDrift 18s ease-in-out infinite alternate;
    pointer-events: none;
}

.video-bg-blob.secondary {
    background: radial-gradient(circle at 68% 70%, rgba(255, 206, 133, 0.75), transparent 62%);
    animation: videoGradientDriftSecondary 22s ease-in-out infinite alternate;
}

.video-bg-veil {
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.25), transparent 70%);
    mix-blend-mode: screen;
    pointer-events: none;
    opacity: 0.7;
}

@keyframes heroGradientFlow {
    0% {
        transform: translate(-25%, -20%) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate(18%, 12%) scale(1.18);
        opacity: 0.5;
    }
    100% {
        transform: translate(32%, -15%) scale(1.05);
        opacity: 0.65;
    }
}

@keyframes heroParticleFloat {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.9;
    }
    50% {
        transform: translateY(-12px) rotate(4deg);
        opacity: 1;
    }
    100% {
        transform: translateY(0) rotate(-4deg);
        opacity: 0.9;
    }
}

.hero-blob {
    position: absolute;
    width: 760px;
    height: 760px;
    border-radius: 9999px;
    filter: blur(110px);
    background: radial-gradient(circle at 30% 30%, rgba(255, 168, 92, 0.78), transparent 70%);
    animation: heroGradientFlow 18s ease-in-out infinite alternate;
    pointer-events: none;
}

.hero-blob.secondary {
    background: radial-gradient(circle at 70% 70%, rgba(255, 238, 200, 0.65), transparent 65%);
    animation-delay: 4s;
}

.hero-particle {
    position: absolute;
    width: 140px;
    height: 140px;
    animation: heroParticleFloat 6s ease-in-out infinite;
    pointer-events: none;
}

.hero-particle:not(img) {
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(10px);
}

img.hero-particle {
    object-fit: contain;
    opacity: 0.8;
}

.hero-particle--one {
    top: 12%;
    right: 12%;
    animation-delay: 0s;
}

.hero-particle--two {
    bottom: 18%;
    left: 8%;
    animation-delay: 1.8s;
}

.hero-particle--three {
    bottom: 6%;
    right: 22%;
    animation-delay: 3.4s;
}

@keyframes heroOrbPulse {
    0% {
        transform: scale(0.92) translate(-10px, 0);
        opacity: 0.45;
    }
    40% {
        transform: scale(1.05) translate(6px, -10px);
        opacity: 0.65;
    }
    70% {
        transform: scale(0.98) translate(-4px, 8px);
        opacity: 0.55;
    }
    100% {
        transform: scale(1.08) translate(8px, -6px);
        opacity: 0.7;
    }
}

.hero-orb {
    position: absolute;
    width: 180px;
    height: 180px;
    pointer-events: none;
    animation: heroOrbPulse 14s ease-in-out infinite alternate;
}

.hero-orb:not(img) {
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(10px);
}

img.hero-orb {
    object-fit: contain;
    opacity: 0.8;
}

.hero-orb--one {
    top: 30px;
    left: 18%;
}

.hero-orb--two {
    bottom: -20px;
    right: 10%;
    animation-delay: 5s;
}

.factory-orbit {
    position: absolute;
    inset: 0;
    pointer-events: none;
    animation: factoryOrbitSpin 18s linear infinite;
    transform-origin: 50% 50%;
}

.factory-orbit__dot {
    position: absolute;
    top: 0;
    left: 50%;
    width: 18px;
    height: 18px;
    transform: translate(-50%, -50%);
    border-radius: 9999px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.95), rgba(251, 191, 36, 0.95));
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 12px rgba(251, 146, 60, 0.8), 0 0 24px rgba(251, 146, 60, 0.5);
}

@keyframes factoryOrbitSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 1024px) {
    .video-bg-blob {
        width: 480px;
        height: 480px;
        filter: blur(65px);
        opacity: 0.55;
    }
}

@media (max-width: 640px) {
    .video-bg-blob {
        width: 340px;
        height: 340px;
        filter: blur(55px);
        opacity: 0.45;
    }
}

.about-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #f97316, #fb923c, #f97316);
    margin-top: calc(var(--navbar-offset, 0px) * -1);
    padding-top: calc(var(--navbar-offset, 0px) + 6rem);
    min-height: 400px;
    height: 400px;
}
.about-hero__inner {
    position: relative;
    z-index: 10;
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1rem 5.5rem;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    min-height: 0;
    justify-content: center;
}
.about-hero--with-subnav .about-hero__inner {
    padding-bottom: 6rem;
}
.about-hero--solo .about-hero__inner {
    padding-bottom: 4rem;
}

@media (min-width: 1024px) {
    .about-hero__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.about-hero__content {
    max-width: 48rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-hero__subtitle {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.about-subnav-section {
    position: relative;
    margin: 0;
    height: 0;
}

.about-subnav-section .container {
    position: relative;
}

.about-subnav-shell {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 20;
    border-radius: 1.5rem;
    border: 1px solid rgba(249, 115, 22, 0.18);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 45px rgba(249, 115, 22, 0.18);
}

.about-subnav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    font-size: 0.95rem;
}

/* 新版本：无背景卡，宽度参考导航栏内容宽度，无按钮样式 */
.about-subnav-section--new {
    position: relative;
    margin: 0;
    padding: 0;
    height: auto !important; /* 覆盖基础样式的 height: 0 */
    min-height: 0;
    display: block; /* 确保section正常显示 */
    z-index: 10;
}

.about-subnav-section--new > .container {
    position: relative;
    display: block;
    margin-top: 0rem; /* 为导航栏留出空间（导航栏高度 h-24 = 6rem），使用 margin 避免增加容器高度 */
}

.about-subnav-section--new .about-subnav--new {
    position: relative;
    width: 100%;
    padding: 1.5rem 0; /* 只保留垂直方向的间距 */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start; /* 左对齐，按钮使用flex-1平均分配 */
    gap: 1rem;
    font-size: 0.95rem;
    /* 无背景、无边框、无阴影 */
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    backdrop-filter: none;
}

/* 品牌二级导航样式 */
.brand-subnav-section {
    position: relative;
    margin: 0;
    padding: 0;
    height: auto;
    min-height: 0;
    display: block;
    z-index: 10;
}

.brand-subnav-section > .container {
    position: relative;
    display: block;
    margin-top: 0rem;
}

.brand-subnav {
    position: relative;
    width: 100%;
    padding: 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    font-size: 0.95rem;
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    backdrop-filter: none;
}

/* 新版本：与 about-subnav--new 相同的样式 */
.brand-subnav-section--new {
    position: relative;
    margin: 0;
    padding: 0;
    height: auto !important;
    min-height: 0;
    display: block;
    z-index: 10;
}

.brand-subnav-section--new > .container {
    position: relative;
    display: block;
    margin-top: 0rem;
}

.brand-subnav--new {
    position: relative;
    width: 100%;
    padding: 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    font-size: 0.95rem;
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    backdrop-filter: none;
}


/* 发展历程 - 沉浸式时间轴 */
.history-section {
    background-color: #fff9f4;
    color: #0f172a;
}

.history-section__bg {
    position: absolute;
    pointer-events: none;
}

.history-section__bg--gradient {
    inset: 0;
    background:
        radial-gradient(circle at 12% -15%, rgba(254, 215, 170, 0.75), transparent 55%),
        radial-gradient(circle at 88% 115%, rgba(191, 219, 254, 0.6), transparent 58%);
    opacity: 0.8;
}

.history-section__bg--mesh {
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 120px 120px;
    opacity: 0.35;
}

.history-section__bg--glow {
    width: 55%;
    height: 55%;
    filter: blur(160px);
    opacity: 0.5;
    mix-blend-mode: screen;
}

.history-section__bg--glow-top {
    top: -25%;
    right: -12%;
    background: radial-gradient(circle, rgba(253, 186, 116, 0.65), transparent 70%);
}

.history-section__bg--glow-bottom {
    bottom: -30%;
    left: -18%;
    background: radial-gradient(circle, rgba(196, 181, 253, 0.55), transparent 70%);
}

.history-chronicle {
    position: relative;
    padding-left: 2.75rem;
}

.history-chronicle__line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 1.4rem;
    width: 3px;
    background: linear-gradient(180deg, rgba(251, 146, 60, 0), rgba(249, 115, 22, 0.75), rgba(251, 146, 60, 0));
    opacity: 0.5;
}

.history-milestone {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    padding: 2.5rem 2rem;
    border-radius: 28px;
    overflow: hidden;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    opacity: 0;
    transform: translateY(80px);
    transition:
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.9s ease,
        box-shadow 0.9s ease,
        border-color 0.9s ease;
    --history-glow-x: 20%;
}

.history-milestone[data-history-side="right"] {
    --history-glow-x: 80%;
}

/* 月度纪录整体样式 - 更紧凑的布局 */
.history-milestone--monthly {
    padding: 1.75rem 1.5rem;
    opacity: 0.95;
}

.history-milestone--monthly .history-milestone__content {
    gap: 0.85rem;
}

.history-milestone--monthly .history-milestone__media {
    min-height: 240px;
    border-color: rgba(139, 92, 246, 0.2);
    background: rgba(255, 255, 255, 0.5);
}

/* 月度纪录区域容器 */
.history-monthly-section {
    position: relative;
}

/* 月度纪录折叠按钮 */
.history-monthly-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 1rem;
    margin-bottom: 0;
    background: rgba(249, 115, 22, 0.08);
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: 0.75rem;
    color: #f97316;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.history-monthly-toggle:hover {
    background: rgba(249, 115, 22, 0.12);
    border-color: rgba(249, 115, 22, 0.3);
    transform: translateY(-1px);
}

.history-monthly-toggle__icon {
    transition: transform 0.3s ease;
    font-size: 0.75rem;
}

.history-monthly-toggle[aria-expanded="true"] .history-monthly-toggle__icon {
    transform: rotate(180deg);
}

/* 月度纪录组容器 - 显示在内容区域下方 */
.history-monthly-group {
    position: relative;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(249, 115, 22, 0.15);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.history-monthly-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(249, 115, 22, 0.08);
}

.history-monthly-item:last-child {
    border-bottom: none;
}

.history-milestone::after {
    display: none;
}

.history-milestone.is-visible {
    opacity: 1;
    transform: translateY(0);
    box-shadow: none;
    border-color: transparent;
}

.history-milestone.is-visible::after {
    opacity: 1;
}

.history-milestone__dot {
    position: absolute;
    top: 50%;
    left: 1.4rem;
    transform: translate(-50%, -50%) scale(0.85);
    width: 18px;
    height: 18px;
    border-radius: 9999px;
    background: radial-gradient(circle, #fb923c 0%, #f97316 55%, rgba(249, 115, 22, 0) 100%);
    box-shadow:
        0 0 0 6px rgba(251, 191, 36, 0.25),
        0 12px 28px rgba(249, 115, 22, 0.3);
    transition: transform 0.6s ease;
    z-index: 3;
}

.history-milestone.is-visible .history-milestone__dot {
    transform: translate(-50%, -50%) scale(1.05);
}

/* 月度纪录 dot 样式 - 更小且颜色不同 */
.history-milestone__dot--monthly {
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, #a78bfa 0%, #8b5cf6 55%, rgba(139, 92, 246, 0) 100%);
    box-shadow:
        0 0 0 4px rgba(167, 139, 250, 0.25),
        0 8px 20px rgba(139, 92, 246, 0.25);
    transform: translate(-50%, -50%) scale(0.75);
}

.history-milestone.is-visible .history-milestone__dot--monthly {
    transform: translate(-50%, -50%) scale(0.9);
}

.history-milestone__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.history-milestone__year {
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #ea580c;
    text-transform: uppercase;
    text-shadow: 0 5px 16px rgba(249, 115, 22, 0.25);
}

/* 月度纪录年份样式 */
.history-milestone__year-wrapper {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.history-milestone__monthly-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.history-milestone__year--monthly {
    font-size: 1.75rem;
    color: #8b5cf6;
    text-shadow: 0 3px 10px rgba(139, 92, 246, 0.2);
}

.history-milestone__title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.35;
    color: #1f2937;
}

/* 月度纪录标题样式 */
.history-milestone__title--monthly {
    font-size: 1.4rem;
    color: #4b5563;
}

.history-milestone__description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(55, 65, 81, 0.92);
}

.history-milestone__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    font-size: 0.95rem;
    color: rgba(55, 65, 81, 0.78);
}

.history-milestone__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.history-milestone__meta i {
    color: #f97316;
}

.history-milestone__media {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(251, 191, 36, 0.18);
    background: rgba(255, 255, 255, 0.6);
    min-height: 300px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.history-milestone__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.history-milestone.is-visible .history-milestone__media img {
    transform: scale(1);
}

.history-milestone__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 247, 237, 0.65) 100%);
}

.history-milestone__media-caption {
    position: absolute;
    left: 1.25rem;
    bottom: 1.25rem;
    z-index: 2;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(71, 85, 105, 0.88);
}

.history-stats__item {
    position: relative;
    border-radius: 24px;
    padding: 2rem 1.75rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.78));
    border: 1px solid rgba(249, 115, 22, 0.22);
    backdrop-filter: blur(10px);
    text-align: center;
    box-shadow: 0 16px 40px rgba(249, 115, 22, 0.16);
    transition:
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.6s ease,
        box-shadow 0.6s ease;
}

.history-stats__item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 0%, rgba(251, 191, 36, 0.32), transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.history-stats__item:hover {
    transform: translateY(-8px);
    border-color: rgba(249, 115, 22, 0.5);
    box-shadow: 0 26px 60px rgba(249, 115, 22, 0.22);
}

.history-stats__item:hover::after {
    opacity: 1;
}

.history-stats__number {
    display: block;
    font-size: 2.6rem;
    font-weight: 700;
    color: #ea580c;
    letter-spacing: 0.08em;
}

.history-stats__label {
    display: block;
    margin-top: 0.85rem;
    font-size: 1rem;
    letter-spacing: 0.06em;
    color: rgba(55, 65, 81, 0.88);
}

[data-history-reveal]:not(.history-milestone) {
    opacity: 0;
    transform: translateY(60px);
    transition:
        transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.85s ease;
}

[data-history-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 768px) {
    .history-milestone__media {
        min-height: 260px;
    }
    
    .history-milestone--monthly .history-milestone__media {
        min-height: 200px;
    }
}

@media (min-width: 1024px) {
    .history-chronicle {
        padding-left: 0;
    }

    .history-chronicle__line {
        left: 50%;
        transform: translateX(-50%);
        width: 4px;
        opacity: 0.45;
    }

    .history-milestone {
        display: grid;
        grid-template-columns: repeat(12, minmax(0, 1fr));
        grid-template-rows: auto;
        align-items: start;
        padding: 3rem 3.25rem;
        gap: 0;
        /* 覆盖基础样式中的 flex 和 gap */
        flex-direction: unset;
        /* 容器高度由内容决定 */
    }

    .history-milestone__dot {
        position: absolute;
        left: 50%;
        /* 基于图片区域高度（450px）定位，保持在图片区域中心 */
        top: 225px;
        transform: translate(-50%, -50%) scale(0.85);
        z-index: 10;
        margin: 0;
        /* 确保 dot 位置固定，不受内容区域高度影响 */
        pointer-events: none;
    }

    .history-milestone.is-visible .history-milestone__dot {
        transform: translate(-50%, -50%) scale(1.08);
    }

    /* 统一 content 和 media 的样式 */
    .history-milestone__content {
        grid-row: 1;
        align-self: start;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        margin: 0;
        padding: 0;
    }
    
    .history-milestone__media {
        grid-row: 1;
        align-self: start;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: 0;
        padding: 0;
        /* 图片区域保持固定高度，不受内容区域影响 */
        height: 450px;
        min-height: 450px;
        max-height: 450px;
    }

    .history-milestone[data-history-side="left"] .history-milestone__content {
        grid-column: 1 / span 5;
    }

    .history-milestone[data-history-side="left"] .history-milestone__media {
        grid-column: 7 / span 6;
    }

    .history-milestone[data-history-side="right"] .history-milestone__content {
        grid-column: 8 / span 5;
    }

    .history-milestone[data-history-side="right"] .history-milestone__media {
        grid-column: 1 / span 6;
    }
    
    /* 桌面端月度纪录样式调整 */
    .history-milestone--monthly {
        padding: 2rem 2.5rem;
        grid-template-rows: minmax(320px, auto);
        min-height: 320px;
    }
    
    .history-milestone--monthly .history-milestone__content,
    .history-milestone--monthly .history-milestone__media {
        min-height: 320px;
    }
    
    .history-milestone--monthly .history-milestone__media {
        min-height: 320px;
    }
    
    /* 月度纪录组在桌面端的样式 - 保持在内容区域内 */
    .history-monthly-group {
        margin-top: 2rem;
        padding-top: 2rem;
    }
}

@media (max-width: 480px) {
    .history-milestone {
        padding: 2.25rem 1.5rem;
    }

    .history-milestone__year {
        font-size: 2.4rem;
    }

    .history-chronicle__line {
        left: 1.2rem;
    }

    .history-milestone__dot {
        left: 1.2rem;
    }
    
    .history-milestone__dot--monthly {
        left: 1.2rem;
    }
    
    .history-milestone--monthly {
        padding: 1.5rem 1.25rem;
    }
}
