/* 全局变量与基础样式 */
:root {
    --primary-color: #009E3C;
    --primary-dark: #009E3C;
    --primary-light: rgba(0, 158, 60, 0.1);
    --accent-color: #B5838D;
    --text-main: #2D2D2D;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --bg-warm: #FAF9F6;
    --bg-white: #FFFFFF;
    --bg-dark: #121212;
    --border-radius-sm: 8px;
    --border-radius: 16px;
    --border-radius-lg: 32px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans", "Microsoft YaHei", sans-serif;
    line-height: 1.7;
    color: var(--text-main);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
p { margin-bottom: 1rem; color: var(--text-light); }

/* 工具类 */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; }
.bg-light { background-color: var(--bg-light); }
.bg-warm { background-color: var(--bg-warm); }
.text-center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 60px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.align-items-center { align-items: center; }
.mt-240 { margin-top: 240px !important; }
.mb-240 { margin-bottom: 240px !important; }

/* 品牌使命、愿景、经营理念图片卡片 */
.brand-concepts .grid-3 {
    gap: 80px;
}
.concept-item {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    align-items: center;
}
/* 背景大数字 */
.concept-item::before {
    content: attr(data-index);
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8rem;
    font-weight: 900;
    color: var(--primary-color);
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
    font-family: 'Inter', sans-serif;
}
.concept-header {
    text-align: center;
    position: relative;
    padding-bottom: 60px;
    z-index: 1;
}
.concept-header .en-label {
    display: block;
    font-size: 0.85rem;
    color: var(--primary-color);
    letter-spacing: 0.6em;
    font-weight: 800;
    margin-bottom: 24px;
    text-transform: uppercase;
}
.concept-header::before {
    content: '';
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.4;
}
.concept-header::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 35px;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
    opacity: 0.2;
}
.concept-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
    letter-spacing: 0.2em;
}
.concept-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    font-weight: 400;
    max-width: 400px;
    margin: 0 auto;
    opacity: 0.8;
}
.concept-img-card {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #fff;
    border: 1px solid rgba(0,0,0,0.02);
    z-index: 1;
    position: relative;
    cursor: zoom-in;
}
.concept-img-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 0 0 var(--primary-color);
    transition: var(--transition);
    pointer-events: none;
}
.concept-img-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 40px 80px rgba(0,0,0,0.1);
}
.concept-img-card:hover::after {
    box-shadow: inset 0 0 0 2px var(--primary-light);
}

/* 预览图片弹窗 */
.image-modal {
    overflow-y: auto;
    padding: 80px 24px;
    align-items: flex-start !important; /* 确保从顶部开始展示 */
}
.image-modal .modal-content {
    background: transparent;
    padding: 0;
    max-width: 100%;
    width: auto;
    box-shadow: none;
    transform: translateY(20px);
    margin: 0 auto;
    display: flex;
    justify-content: center;
}
.image-modal.show .modal-content {
    transform: translateY(0);
}
.image-modal .modal-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    margin: 0 auto;
}
.image-modal .close-btn {
    position: fixed;
    top: 30px;
    right: 30px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    z-index: 2010;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 24px;
    backdrop-filter: blur(5px);
}
.image-modal .close-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}
/* 卡片装饰阴影 */
.concept-item::after {
    content: '';
    position: absolute;
    bottom: -20px;
    width: 80%;
    height: 40px;
    background: var(--primary-color);
    filter: blur(50px);
    opacity: 0.05;
    z-index: 0;
    transition: var(--transition);
}
.concept-item:hover::after {
    opacity: 0.1;
    width: 90%;
}
.concept-img-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}
.concept-img-card img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 992px) {
    .brand-concepts .grid-3 {
        gap: 30px;
    }
}
.mb-200 { margin-bottom: 200px !important; }
.mb-180 { margin-bottom: 180px !important; }
.mb-160 { margin-bottom: 160px !important; }
.mb-140 { margin-bottom: 140px !important; }
.mb-120 { margin-bottom: 120px !important; }
.mb-100 { margin-bottom: 100px !important; }
.mb-80 { margin-bottom: 80px !important; }
.mb-60 { margin-bottom: 60px !important; }
.mb-40 { margin-bottom: 40px !important; }
.mb-30 { margin-bottom: 30px !important; }

/* 标题样式 */
.section-header { margin-bottom: 80px; }
.section-title { font-size: 3rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 8px; letter-spacing: -0.02em; }
.section-desc { font-size: 1.25rem; color: var(--text-light); max-width: 700px; margin: 0 auto; }
.block-title { font-size: 2.25rem; font-weight: 700; margin-bottom: 24px; color: var(--primary-dark); }
.text-gradient { background: linear-gradient(135deg, var(--primary-color) 0%, #52B788 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* 滚动动画 */
.reveal-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-up.active { opacity: 1; transform: translateY(0); }

/* 导航栏 */
.header { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 80px; 
    background: rgba(255, 255, 255, 0.85); /* 显著提升白色不透明度，使背景更白 */
    backdrop-filter: blur(15px); /* 保持中等模糊感，增加质感 */
    -webkit-backdrop-filter: blur(15px); 
    z-index: 1000; 
    border-bottom: 1px solid rgba(0, 0, 0, 0.05); 
    transition: all 0.3s ease;
}
.header-container { display: flex; align-items: center; height: 100%; }
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-img-rounded { height: 40px; width: 40px; object-fit: cover; border-radius: 10px; }
.logo h1 { font-size: 1.5rem; font-weight: 800; color: var(--primary-dark); }
.nav { display: flex; margin-left: auto; }
.nav ul { display: flex; gap: 32px; align-items: center; }
.nav a { font-weight: 600; color: var(--text-main); font-size: 1rem; position: relative; padding: 5px 0; }
.nav a:hover, .nav a.active { color: var(--primary-color); }
.nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary-color); transition: var(--transition); border-radius: 2px; }
.nav a.active::after { width: 100%; }

/* 移动端菜单按钮 */
.mobile-menu-btn { display: none; font-size: 1.5rem; color: var(--text-main); cursor: pointer; padding: 8px; margin-right: -8px; margin-left: auto; }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 24px; border-radius: 50px; font-weight: 600; cursor: pointer; border: none; transition: var(--transition); font-size: 0.95rem; letter-spacing: 0.5px; }
.btn-primary { background: var(--primary-color); color: #fff; box-shadow: 0 4px 15px rgba(0, 158, 60, 0.2); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 158, 60, 0.3); }
.btn-large { padding: 12px 32px; font-size: 1rem; }
.btn-nav { padding: 8px 20px; font-size: 0.9rem; }
.btn-outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.8); }
.btn-outline-white:hover { background: #fff; color: var(--primary-dark); border-color: #fff; }

/* 英雄区 */
.hero { height: 100vh; position: relative; display: flex; align-items: center; color: #fff; text-align: center; justify-content: center; }
.hero-bg-slider { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-bg-slide { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background-size: cover; 
    background-position: center; 
    opacity: 0; 
    transition: opacity 1.5s ease, background-image 0.5s ease-in-out; 
}
.hero-bg-slide.active { opacity: 1; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.3) 100%); z-index: 2; }
.hero-content { position: relative; z-index: 3; width: 100%; max-width: 900px; margin: 0 auto; padding: 0 24px; }
.hero-title { font-size: 4.8rem; font-weight: 800; margin-bottom: 12px; line-height: 1.2; letter-spacing: -0.01em; } /* 减小标题下间距 */
.hero-desc { 
    font-size: 1.4rem; 
    max-width: 800px; 
    margin: 0 auto 24px; 
    color: #ffffff; 
    font-weight: 500; 
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    transition-delay: 0.3s;
}

/* 当父容器 active 时触发子元素动画 */
.reveal-up.active .hero-desc {
    opacity: 1;
    transform: translateY(0);
}

/* 整体内容下移 */
.hero-text-wrapper {
    margin-top: 80px; 
}

.hero-btns { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 20px; 
    margin-top: 0; 
}
.hero-btns-row {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.hero-video-row {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* 视频小字按钮样式 */
.btn-video {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.95;
    transition: var(--transition);
    padding: 10px 16px;
    border-radius: 50px;
}

.btn-video i {
    font-size: 1.1rem;
    color: #fff;
    background: none;
    line-height: 1;
}

.btn-video:hover {
    opacity: 1;
    transform: translateY(-2px);
    /* 移除背景胶囊感 */
}

/* 核心价值卡片 */
.value-card { background: #fff; padding: 50px 40px; border-radius: var(--border-radius-lg); text-align: center; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.02); }
.value-img { width: 80px; height: 80px; margin: 0 auto 30px; overflow: hidden; border-radius: 20px; }
.value-img img { width: 100%; height: 100%; object-fit: cover; }
.value-card h4 { font-size: 1.5rem; margin-bottom: 20px; color: var(--primary-dark); }

/* 一、品牌故事 · 精神源起 */
.brand-story { background-color: #fff; }
.story-subtitle { font-size: 1.8rem; font-weight: 700; color: var(--primary-color); margin-bottom: 20px; position: relative; display: inline-block; }
.story-subtitle::after { content: ''; position: absolute; bottom: -8px; left: 0; width: 40px; height: 3px; background: var(--primary-color); border-radius: 2px; }

.story-card-highlight { background: var(--bg-warm); padding: 40px; border-radius: var(--border-radius-lg); border-left: 5px solid var(--primary-color); }
.story-card-highlight h4 { font-size: 1.4rem; color: var(--primary-dark); margin-bottom: 15px; }
.story-card-highlight p { color: var(--text-main); line-height: 1.7; }

.founder-section .grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.founder-profile-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.05);
    width: 75%;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .founder-profile-card {
        width: 100%;
    }
}

.founder-portrait-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 5.5 / 5;
    overflow: hidden;
    background: #fff;
}

.founder-portrait-img {
    width: 100%;
    object-fit: contain;
    object-position: bottom center;
    display: block;
    padding: 5%;
}
.founder-info-content {
    padding: 14px 18px;
}

.founder-header { margin-bottom: 10px; }
.founder-name { font-size: 1.3rem; color: var(--text-dark); margin: 0; font-weight: 700; display: flex; align-items: baseline; gap: 8px; }
.founder-title { font-size: 0.75rem; color: var(--text-light); font-weight: normal; }
.founder-tags { list-style: none; padding: 0; }
.founder-tags li { font-size: 0.8rem; color: var(--text-main); margin-bottom: 4px; line-height: 1.4; position: relative; padding-left: 0; }
.founder-heart { 
    max-width: 580px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.heart-title { font-size: 1.8rem; color: var(--primary-dark); margin-bottom: 30px; position: relative; }
.heart-title::after { content: ''; position: absolute; bottom: -10px; left: 0; width: 50px; height: 3px; background: var(--primary-color); }
.quote-box { margin-bottom: 25px; }
.quote-main { font-size: 1.4rem; font-weight: 800; color: var(--primary-color); margin-bottom: 8px; }
.quote-sub { font-size: 1.1rem; font-weight: 600; color: var(--primary-dark); opacity: 0.8; }
.heart-desc { font-size: 1.05rem; line-height: 1.8; color: var(--text-main); }

.concept-card { background: var(--bg-warm); padding: 40px 30px; border-radius: var(--border-radius); text-align: center; transition: var(--transition); height: 100%; }
.concept-card:hover { transform: translateY(-10px); background: #fff; box-shadow: var(--shadow-lg); }
.concept-icon { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 20px; }
.concept-card h3 { font-size: 1.4rem; margin-bottom: 15px; color: var(--primary-dark); }
.concept-card h4 { font-size: 1.2rem; color: var(--primary-color); margin-bottom: 10px; }
.concept-card p { font-size: 1rem; color: var(--text-main); line-height: 1.6; }

.company-strength .strength-image-wrapper { max-width: 1000px; margin: 0 auto; border-radius: var(--border-radius-lg); overflow: hidden; }
.full-width-img { width: 100%; height: auto; display: block; }

.square-img-container { aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--border-radius-lg); width: 80%; margin: 0 auto; }
.square-img-container img { width: 100%; height: 100%; object-fit: cover; }

.auto-img-container { 
    width: 50%; 
    overflow: hidden; 
    margin: 0 auto;
}
.auto-img-container img { 
    width: 100%; 
    height: auto; 
    display: block;
}

.story-text-content .block-desc { font-size: 1.15rem; color: #333; line-height: 1.8; margin-bottom: 1.5rem; }
.story-text-content strong { color: #000; }

@media (max-width: 768px) {
    .order-mobile-1 { order: 1; }
    .order-mobile-2 { order: 2; }
}

/* 1. 老邓的顿悟样式 - 简约高级版 */
.insight { background-color: #fff; }
.block-desc.large { font-size: 1.25rem; color: var(--text-main); font-weight: 600; line-height: 1.6; margin-bottom: 24px; border-left: 4px solid var(--primary-color); padding-left: 20px; }
.simple-quote { font-size: 1.5rem; font-weight: 700; color: var(--primary-color); margin-top: 32px; letter-spacing: -0.01em; }

/* 2. 精英团队卡片样式 */
.team-member-card { 
    background: #fff; 
    border-radius: var(--border-radius); 
    overflow: hidden; 
    box-shadow: var(--shadow-sm); 
    transition: var(--transition); 
    border: 1px solid rgba(0,0,0,0.03); 
}
.team-member-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.member-img { height: 320px; overflow: hidden; }
.member-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.team-member-card:hover .member-img img { transform: scale(1.05); }
.member-info { padding: 32px; }
.member-info h4 { font-size: 1.4rem; margin-bottom: 8px; color: var(--text-main); font-weight: 800; }
.member-title { font-size: 0.9rem; font-weight: 700; color: var(--primary-color); margin-bottom: 16px; letter-spacing: 1px; }
.member-bio { font-size: 0.95rem; color: var(--text-light); line-height: 1.6; }

/* 3. 集团实力与股东背景高级样式 (直接展示版) */
.shareholder-content-direct {
    max-width: 1100px;
    margin: 0 auto;
}

.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-1000 { max-width: 1000px; }
.max-w-800 { max-width: 800px; }
.max-w-750 { max-width: 750px; }
.max-w-600 { max-width: 600px; }
.display-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-main);
}

.text-primary { color: var(--primary-color); }
.desc-large { 
    font-size: 1.25rem; 
    color: var(--text-light); 
    line-height: 1.8; 
    max-width: 900px;
}

.viz-img-wide {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 40px 100px rgba(0,0,0,0.1);
    display: block;
}

@media (max-width: 992px) {
    .display-title { font-size: 2rem; }
    .desc-large { font-size: 1.1rem; }
}

.tag-glass {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.display-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 24px;
    color: var(--text-main);
}

.text-primary { color: var(--primary-color); }
.desc-large { font-size: 1.1rem; color: var(--text-light); line-height: 1.8; margin-bottom: 40px; }

.investment-stats {
    display: flex;
    gap: 60px;
    margin-bottom: 40px;
    padding: 30px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.stat-item { display: flex; flex-direction: column; gap: 8px; }
.stat-label { font-size: 0.85rem; color: var(--text-light); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.stat-value { font-size: 1.8rem; font-weight: 800; color: var(--primary-dark); }

.investor-wall { position: relative; }
.investor-title { font-size: 0.9rem; font-weight: 700; color: var(--text-main); margin-bottom: 20px; opacity: 0.8; }
.investor-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.investor-tags span { 
    padding: 8px 16px; 
    background: #f8f9fa; 
    border-radius: 8px; 
    font-size: 0.9rem; 
    font-weight: 600; 
    color: var(--text-main);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}
.investor-tags span:hover { 
    background: #fff; 
    border-color: var(--primary-color); 
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.shareholder-viz-wrapper { position: relative; width: 100%; z-index: 1; }
.viz-backdrop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, var(--primary-light), transparent 70%);
    z-index: -1;
    opacity: 0.5;
}

.viz-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    display: block;
}

.text-left { text-align: left; }

@media (max-width: 992px) {
    .shareholder-card { padding: 40px 24px; }
    .investment-stats { gap: 30px; }
    .display-title { font-size: 1.8rem; }
}

/* 3. 集团背景样式 */
.logo-list { display: flex; flex-wrap: wrap; gap: 10px; }
.logo-list span { padding: 6px 12px; background: #fff; border: 1px solid #eee; border-radius: 4px; font-size: 0.85rem; font-weight: 600; color: #555; }
.group-image img { width: 100%; border-radius: var(--border-radius); }

/* 源头见证：溯源地图与足迹 */
.sourcing-section {
    padding: 60px 0 80px;
}

#products-detail {
    padding-top: 60px;
}

.sourcing-section .section-header {
    margin-bottom: 40px; /* 从全局 80px 减小到 40px */
}

.sourcing-map-immersive {
    position: relative;
    width: 80%; /* 缩减为 80% */
    margin: 0 auto 30px; /* 居中并保持底部间距 */
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.1);
    background: #fff;
    border: 2px solid rgba(0, 158, 60, 0.15); /* 统一检测报告风格的绿框 */
    padding: 10px;
}

@media (max-width: 992px) {
    .sourcing-map-immersive {
        width: 95%; /* 移动端增加宽度以适应屏幕 */
        border-radius: 20px; /* 移动端圆角稍微减小 */
    }
    .map-container {
        border-radius: 16px;
    }
}

.map-container {
    position: relative;
    width: 100%;
    border-radius: 30px;
    overflow: hidden;
}

.full-map-img {
    width: 100%;
    display: block;
}

.sourcing-scroll-wrapper-outer {
    position: relative;
    width: 100%;
}

.sourcing-report-container {
    background: #fff;
    border: 2px solid rgba(0, 158, 60, 0.15); /* 检测报告风格的绿框 */
    border-radius: 30px;
    padding: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    margin-bottom: 10px;
}

.sourcing-scroll-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 10px; /* 进一步收缩 padding */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox 隐藏滚动条 */
    -ms-overflow-style: none; /* IE/Edge 隐藏滚动条 */
}

/* Chrome/Safari 隐藏滚动条 */
.sourcing-scroll-container::-webkit-scrollbar {
    display: none;
}

.scroll-hint-wrapper.compact-hint {
    margin-top: 5px; /* 缩短与上方容器的距离 */
}

.sourcing-card-new {
    flex: 0 0 280px; /* 稍微缩小宽度 */
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 1;
}

.sourcing-card-new:hover {
    transform: scale(1.05); /* 仅保留放大效果 */
    z-index: 10;
}

.s-card-img {
    height: 180px; /* 缩小图片高度 */
    overflow: hidden;
}

.s-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.sourcing-card-new:hover .s-card-img img {
    transform: scale(1.1);
}

.s-card-content {
    padding: 20px; /* 减少内边距 */
}

.s-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 8px;
    background: rgba(var(--primary-rgb, 10, 186, 126), 0.08);
    padding: 4px 10px;
    border-radius: 20px;
}

.s-location i {
    font-size: 0.7rem;
}

.s-card-content h4 {
    font-size: 1.1rem; /* 字体也稍微缩小一点 */
    margin-bottom: 0; /* 去掉底部空白 */
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.s-card-content p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0;
}

/* 溯源部分在移动端下保持 flex 并允许缩放 */
@media (max-width: 768px) {
    .sourcing-card-new {
        flex: 0 0 280px;
    }
}


/* 安心标准：数据化检测中心 (一屏版) */
.safety-dashboard {
    background-color: #fff;
    padding: 60px 0 80px;
    overflow: hidden;
}

.safety-dashboard .section-header {
    margin-bottom: 40px;
}

.dashboard-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    padding: 0;
}

.zeros-compact-side {
    flex: 0 0 380px;
}

.compact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.c-item {
    background: #fff;
    padding: 14px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.c-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.zero-num {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 900;
    margin-right: 4px;
    transition: var(--transition);
}

.c-item:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,158,60,0.2);
}

.c-item:hover i, .c-item:hover .zero-num {
    color: #fff;
}

.safety-motto h3 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-dark);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.safety-motto p {
    font-size: 1rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.reports-wall-side {
    flex: 1;
    min-width: 0; /* 防止 flex 容器被内容撑开 */
    position: relative;
}

.reports-scroll-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 24px;
    background: #fff;
    border: 2px solid rgba(0, 158, 60, 0.15);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
    -webkit-overflow-scrolling: touch;
}

.reports-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.reports-scroll-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.report-card {
    flex: 0 0 240px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: var(--transition);
    cursor: zoom-in;
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
}

.report-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 12px;
}

.report-tag {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-align: center;
    background: var(--primary-light);
    padding: 6px;
    border-radius: 8px;
}

.report-card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 20px 40px rgba(0,158,60,0.12);
}

.scroll-hint {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
}

.scroll-hint i {
    animation: bounceRight 2s infinite;
}

@keyframes bounceRight {
    0%, 20%, 50%, 80%, 100% {transform: translateX(0);}
    40% {transform: translateX(-5px);}
    60% {transform: translateX(-3px);}
}

@media (max-width: 992px) {
    .dashboard-layout {
        flex-direction: column;
        padding: 30px;
        gap: 40px;
    }
    .zeros-compact-side {
        flex: 1;
        width: 100%;
    }
    .report-card {
        flex: 0 0 200px;
    }
}

@media (max-width: 768px) {
    .compact-grid {
        grid-template-columns: 1fr;
    }
    .safety-motto h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .logo h1 { font-size: 1.1rem; }
    .btn-nav { padding: 6px 12px; font-size: 0.8rem; }
    .header-container { padding: 0 15px; }
    .section-title { font-size: 1.8rem; }
    .safety-motto h3 {
        font-size: 1.5rem;
    }
}

/* 安心标准：新版简约风格 */

/* 品质承诺关卡 */
.hurdles-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; }
.hurdle-step { background: #fff; padding: 50px 40px; border-radius: var(--border-radius); box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.step-num { position: absolute; top: -10px; right: -10px; font-size: 6rem; font-weight: 900; color: var(--primary-light); opacity: 0.5; z-index: 1; line-height: 1; }
.hurdle-step h4, .hurdle-step p { position: relative; z-index: 2; }
.hurdle-step h4 { font-size: 1.5rem; margin-bottom: 16px; color: var(--primary-dark); }
.qc-item { text-align: center; padding: 30px; }
.qc-item i { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 20px; }

/* 核心产品详情项 */
.product-item { background: #fff; border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid rgba(0,0,0,0.03); }
.product-item:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-item img { width: 100%; height: 240px; object-fit: cover; }
.p-content { padding: 30px; }
.p-content h4 { font-size: 1.25rem; margin-bottom: 12px; color: var(--primary-color); }
.p-content p { font-size: 0.95rem; line-height: 1.8; margin-bottom: 0; }

/* 核心产品详情：沉浸式视觉 */
#products-detail .section-header {
    margin-bottom: 40px;
}

.product-full-visual {
    width: 70%;
    margin: 0 auto;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.1);
    background: #fff;
    border: 2px solid rgba(0, 158, 60, 0.15); /* 统一检测报告风格的绿框 */
    padding: 10px;
}

.visual-container {
    width: 100%;
    border-radius: 30px;
    overflow: hidden;
}

.full-viz-img {
    width: 100%;
    display: block;
}

@media (max-width: 992px) {
    .product-full-visual {
        width: 100%;
        border-radius: 24px;
    }
    .visual-container {
        border-radius: 16px;
    }
}

.mt-120 { margin-top: 120px !important; }

/* 3+3全维健康方案核心理论 */
.health-theory-section {
    padding: 40px 0;
}
.theory-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 30px;
    line-height: 1.2;
}
.theory-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 24px;
    opacity: 0.9;
}
.theory-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}
.theory-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--primary-color);
}
.theory-feature-item i {
    font-size: 1.25rem;
}
.theory-img-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    background: #fff;
    padding: 20px;
    border: 1px solid rgba(0,0,0,0.05);
}
.theory-img-container img {
    width: 100%;
    display: block;
    border-radius: 12px;
}

@media (max-width: 992px) {
    .theory-title { font-size: 1.75rem; }
    .mt-120 { margin-top: 60px !important; }
}

/* 小绿书 · 故事杂志 */
.magazine-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.magazine-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    display: block;
    aspect-ratio: 16 / 9;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.magazine-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.magazine-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.magazine-item:hover img {
    transform: scale(1.05);
}

.magazine-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 30px 20px 20px;
    color: #fff;
}

.magazine-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
}

#magazine {
    padding-bottom: 50px;
}

@media (max-width: 768px) {
    .magazine-grid {
        grid-template-columns: 1fr;
    }
}

/* 页脚 */
/* 加入我们板块重构 - 整合版 */
.join-section {
    padding: 40px 0 100px;
    background-color: var(--bg-light);
}

#join .section-header {
    margin-bottom: 40px;
}

.join-audience-box {
    background: #fff;
    padding: 40px 50px;
    border-radius: 30px;
    border: 1px solid rgba(0, 158, 60, 0.08);
    box-shadow: 0 10px 40px rgba(0, 158, 60, 0.05);
    max-width: 900px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    gap: 40px;
    transition: var(--transition);
}

.join-audience-content {
    flex: 1;
    text-align: left;
}

.join-banner-img {
    flex: 1.3;
    max-width: none;
    margin: 0;
}

.join-banner-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.audience-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.audience-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.audience-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
}

.audience-tags span {
    padding: 8px 18px;
    background: #f8faf8;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition);
}

@media (max-width: 768px) {
    .join-audience-box {
        flex-direction: column-reverse;
        padding: 30px;
        gap: 30px;
        text-align: center;
    }
    
    .join-audience-content {
        text-align: center;
    }
    
    .audience-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .audience-tags {
        justify-content: center;
    }
}

.join-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.join-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 158, 60, 0.05);
    border: 1px solid rgba(0, 158, 60, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.join-card .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.join-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 158, 60, 0.1);
    border-color: var(--primary-color);
}

.join-card-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

/* 虚化背景图标效果 */
.join-card::after {
    content: "\f0c0"; /* 默认图标 */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 10px;
    right: -10px;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.04;
    filter: blur(2px);
    transform: rotate(-15deg);
    z-index: 1;
    pointer-events: none;
}

/* 为不同卡片设置不同背景图标 */
.join-grid div:nth-child(1).join-card::after { content: "\f0c0"; } /* users */
.join-grid div:nth-child(2).join-card::after { content: "\f54e"; } /* store */
.join-grid div:nth-child(3).join-card::after { content: "\f2b5"; } /* handshake */

.join-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.join-card-text {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

.join-card-text.is-email {
    white-space: nowrap;
}

.btn-outline-primary {
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: #fff;
}

.join-email {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.join-email:hover {
    color: var(--primary-dark);
}

@media (max-width: 992px) {
    .join-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }
}

.footer { background: var(--bg-dark); color: #fff; padding: 60px 0 40px; }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: 40px; }
.footer-info { max-width: 400px; }
.footer-info .logo { margin-bottom: 8px; }
.footer-info .logo h1 { color: #fff; margin-top: 0; line-height: 1; }
.footer-info p { color: rgba(255,255,255,0.8); margin-bottom: 6px; line-height: 1.4; }
.footer-vision { color: rgba(255,255,255,0.8) !important; margin-top: 4px !important; }
.footer-links { text-align: right; }
.footer-links h4 { font-size: 1.1rem; margin-bottom: 16px; color: #fff; opacity: 1; margin-top: 0; line-height: 1; }
.footer-links ul { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: flex-end; gap: 24px; }
.footer-links ul li { margin-bottom: 0; }
.footer-company { margin-top: 15px; font-size: 0.85rem; color: rgba(255,255,255,0.6); letter-spacing: 1px; }
.footer-links a { color: rgba(255,255,255,0.8); transition: var(--transition); }
.footer-links a:hover { color: var(--primary-color); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 40px; color: rgba(255,255,255,0.6); }
.parent-company { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-top: 8px; }

@media (max-width: 768px) {
    .footer-grid {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    .footer-links {
        text-align: center;
    }
    .footer-links ul {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}

/* 弹窗与小组件 */
.modal { 
    display: none; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.4); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000; 
    justify-content: center; 
    align-items: center; 
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
.modal.show { 
    display: flex; 
    opacity: 1;
    pointer-events: auto;
}
.modal-content { 
    background: #fff; 
    padding: 50px 40px; 
    border-radius: 32px; 
    text-align: center; 
    width: 90%;
    max-width: 420px; 
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative; 
    transform: translateY(40px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal.show .modal-content {
    transform: translateY(0) scale(1);
}

/* 品牌视频弹窗定制样式 */
.video-modal {
    transition: background 0.5s ease, backdrop-filter 0.5s ease;
}

.video-modal.is-floating {
    background: transparent !important;
    backdrop-filter: none !important;
    pointer-events: none;
}

.video-modal .video-content {
    max-width: 900px;
    width: 95%;
    padding: 0;
    background: #000;
    overflow: hidden;
    border-radius: 24px;
    cursor: grab;
    user-select: none;
    z-index: 2001;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.4s ease;
}

.video-modal .video-content:active {
    cursor: grabbing;
}

.video-modal.is-floating .video-content {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 360px;
    max-width: 80vw;
    pointer-events: auto;
    transform: none !important;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-close {
    z-index: 2002;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.video-modal.is-floating .video-close {
    width: 28px;
    height: 28px;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.video-close:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg);
}

.qr-image-container { 
    width: 220px; 
    height: 220px; 
    margin: 20px auto; 
    background: #fff; 
    padding: 12px; 
    border: 1px solid rgba(0,0,0,0.05); 
    border-radius: 24px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.qr-img { width: 100%; height: 100%; object-fit: contain; }
.close-btn { 
    position: absolute; 
    top: 24px; 
    right: 24px; 
    width: 36px;
    height: 36px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px; 
    cursor: pointer; 
    transition: var(--transition);
    color: var(--text-light);
}
.close-btn:hover { background: #e5e7eb; color: var(--text-main); transform: rotate(90deg); }

.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: var(--primary-color); color: #fff; border-radius: 50%; display: none; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow-md); z-index: 1000; transition: var(--transition); }
.back-to-top.show { display: flex; animation: fadeIn 0.3s ease; }
.back-to-top:hover { transform: translateY(-5px); background: var(--primary-dark); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* 响应式 */
@media (max-width: 992px) {
    /* Use more specific selectors or ensure they override standard grid definitions */
    .grid-2, .grid-3, .grid-4, 
    .founder-section .grid-2, 
    .brand-concepts .grid-3,
    .hurdles-container, 
    .sourcing-map { 
        grid-template-columns: 1fr !important; 
        gap: 30px; 
    }
    
    .join-grid { 
        grid-template-columns: 1fr !important; 
        gap: 20px; 
    }
    
    .hero-title { font-size: 3rem; margin-bottom: 20px; flex-wrap: wrap; line-height: 1.3; }
    .section-title { font-size: 2.5rem; }
    .section { padding: 80px 0; }
    
    .mobile-menu-btn { display: block; }
    
    .nav { 
        display: none; 
        position: fixed; 
        top: 80px; 
        left: 0; 
        width: 100%; 
        height: calc(100vh - 80px);
        background: #fff; 
        padding: 40px; 
        box-shadow: var(--shadow-lg); 
        text-align: center; 
        z-index: 999;
        overflow-y: auto;
    }
    .nav.mobile-active { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
    .nav ul { flex-direction: column; gap: 32px; width: 100%; }
    .nav a { font-size: 1.25rem; }
    
    .sourcing-gallery { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; }
    .gallery-main { grid-row: auto; height: 350px; }
    .gallery-item { height: 250px; }

    /* Fix image containers on tablets/mobile */
    .auto-img-container, .square-img-container {
        width: 100% !important;
        max-width: 500px;
        margin: 0 auto;
    }
    
    /* Peace of mind dashboard fix for tablets */
    .dashboard-layout {
        flex-direction: column;
        gap: 40px;
    }
    .zeros-compact-side {
        flex: 0 0 auto;
        width: 100%;
    }

    .mt-240, .mb-240 { margin-top: 80px !important; margin-bottom: 80px !important; }
    .mb-180, .mb-160, .mb-140, .mb-120 { margin-bottom: 60px !important; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .hero-desc { font-size: 1.1rem; }
    .hero-btns { flex-direction: column; gap: 16px; padding: 0 40px; }
    .btn-large { width: 100%; }
    
    .section-title { font-size: 2rem; }
    .logo-img-rounded { height: 32px; width: 32px; }
    .logo h1 { font-size: 1.25rem; }

    .section { padding: 60px 0; }
    .mt-240, .mb-240 { margin-top: 60px !important; margin-bottom: 60px !important; }
    .mb-180, .mb-160, .mb-140, .mb-120 { margin-bottom: 40px !important; }
    .mb-100, .mb-80, .mb-60 { margin-bottom: 30px !important; }

    .concept-item::before {
        font-size: 5rem;
    }
    .concept-text {
        max-width: 100%;
    }

    /* Founder heart section fix */
    .founder-heart {
        width: 100%;
        max-width: 100%;
        text-align: center;
        padding: 0 10px;
    }
    .heart-title {
        font-size: 1.5rem;
    }
    .heart-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Peace of mind dashboard fix */
    .dashboard-layout {
        padding: 0; 
        overflow: hidden; /* Prevent horizontal scroll of the whole page */
    }
    .zeros-compact-side {
        flex: 0 0 auto;
        width: 100%;
    }
    .compact-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 12px;
    }
    .reports-wall-side {
        width: 100%;
        padding: 0;
        overflow: visible;
    }
    .reports-scroll-container {
        display: flex !important;
        overflow-x: scroll !important;
        -webkit-overflow-scrolling: touch;
        padding: 20px 15px; /* Horizontal padding triggers the offset but allows edge-to-edge scroll */
        margin: 0;
        width: 100%;
        background: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
        gap: 15px;
        scrollbar-width: none;
    }
    
    .reports-scroll-container::-webkit-scrollbar {
        display: none;
    }

    .report-card {
        flex: 0 0 180px;
        padding: 10px;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        border: 1px solid rgba(0, 158, 60, 0.1);
    }

    .report-card img {
        height: 240px; /* Adjust image height for mobile */
    }
}

/* Global overflow fix */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}
