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

:root {
    --bg-beige: #FAF9F6;
    --bg-white: #FFFFFF;
    --text-black: #1A1A1A;
    --text-gray: #666666;
    --gold-color: #D4AF37;
    --gold-dark: #B8941F;
    --brown-color: #8B4513;
    --brown-light: #A0522D;
    --red-active: #DC143C;
    --border-light: #E5E5E5;
    --separator-color: rgba(26, 26, 26, 0.18);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-black);
    line-height: 1.6;
    background-color: var(--bg-beige);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    padding: calc(15px + env(safe-area-inset-top)) 0 15px;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-circle {
    display: none;
}

.site-logo {
    /* 再放大导航栏主 logo，让小字清晰可见 */
    /* 高度按品牌可变：各 logo 宽高比不同（Haobao 2.58:1、Pioneer Horizon 4.93:1），
       用同一个高度会让宽 logo 把导航栏挤爆，故抽出变量按品牌覆写 */
    height: var(--logo-h, 110px);
    /* 宽度上限：object-fit 为 contain 时实际尺寸取 height 与 max-width 的较小值，
       窗口过窄时 logo 等比缩小，不会把导航菜单挤出屏幕 */
    max-width: var(--logo-cap, none);
    width: auto;
    object-fit: contain;
    display: block;
}

.site-logo.small {
    /* 进一步放大页脚 logo，让小字清晰可见 */
    height: var(--logo-h-small, 95px);
    width: auto;
    display: block;
    /* 向左右多扩一点，再整体左移 2px，把右侧白线完全裁掉 */
    margin: -2px -8px;
    transform: translateX(-2px);
    /* 用 clip-path 精确裁掉右侧白线 */
    clip-path: inset(0 3px 0 0);
}

.logo-monogram {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold-color);
    letter-spacing: -1px;
}

.logo-circle.small .logo-monogram {
    font-size: 18px;
}

.logo-text {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-black);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-black);
    font-weight: 400;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a.active,
.nav-menu a:hover {
    color: var(--red-active);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    font-size: 14px;
    color: var(--text-black);
    transition: opacity 0.3s ease;
}

.lang-toggle:hover {
    opacity: 0.7;
}

.lang-icon {
    font-size: 16px;
}

.lang-globe {
    font-size: 16px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-black);
    transition: all 0.3s ease;
}

/* Hero区域 */
.hero {
    padding: 120px 0 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--text-black);
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--brown-color);
    color: var(--bg-white);
}

.btn-primary:hover {
    background: var(--brown-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--brown-color);
    border-color: var(--brown-color);
}

.btn-secondary:hover {
    background: var(--brown-color);
    color: var(--bg-white);
    transform: translateY(-2px);
}

/* Hero图片区域 */
.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.hero-gold-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.12);
}

.hero-gold-image {
    display: block;
    /* 略微放大并左移，裁掉图片最右侧 1–2px 的暗边 */
    width: 102%;
    max-width: none;
    height: auto;
    transform: translateX(-1%);
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.coin-stack {
    display: none;
}

.coin-stack::before {
    content: '';
    position: absolute;
    left: 6px;
    right: 14px;
    top: -16px;
    height: 16px;
    background: linear-gradient(to bottom, #FFF9D8 0%, #F3CF71 60%, #D1A342 100%);
    border-radius: 4px;
    transform-origin: bottom;
    transform: skewX(-20deg);
    box-shadow:
        0 3px 4px rgba(0, 0, 0, 0.35),
        inset 0 2px 4px rgba(255, 255, 255, 0.9);
}

.coin-stack::after {
    content: '';
    position: absolute;
    top: -8px;
    right: -22px;
    width: 22px;
    height: 40px;
    background: linear-gradient(to right, #C89433 0%, #8B5B16 100%);
    border-radius: 2px 6px 6px 2px;
    transform-origin: left;
    transform: skewY(-28deg);
    box-shadow:
        inset 2px 0 4px rgba(255, 220, 150, 0.7),
        4px 4px 8px rgba(0, 0, 0, 0.45);
}

.stack-1 {
    bottom: 95px;
    left: 40px;
    transform: rotate(-8deg);
}

.stack-2 {
    bottom: 80px;
    left: 200px;
    transform: rotate(4deg);
}

.stack-3 {
    bottom: 115px;
    right: 185px;
    transform: rotate(-5deg);
    width: 130px;
}

.stack-4 {
    bottom: 88px;
    right: 50px;
    transform: rotate(6deg);
}

.chart-background {
    display: none;
}

.chart-background::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    right: 30%;
    bottom: 30%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.55) 35%,
        rgba(255, 255, 255, 0.2) 55%,
        transparent 80%
    );
    border-radius: 30px;
    mix-blend-mode: screen;
    opacity: 0.9;
    pointer-events: none;
    animation: goldShimmer 6s linear infinite;
}

@keyframes goldShimmer {
    0% {
        transform: translateX(-20%) translateY(0);
        opacity: 0.6;
    }
    40% {
        transform: translateX(20%) translateY(5%);
        opacity: 1;
    }
    100% {
        transform: translateX(60%) translateY(10%);
        opacity: 0.4;
    }
}

/* 通用区块样式 */
section {
    padding: 80px 0;
}

.section-separator {
    height: 8px;
    background: var(--separator-color);
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 999px;
}

.highlight-red {
    color: var(--red-active);
    font-weight: 600;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-black);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-gray);
}

/* 关于我们 */
.about {
    background: var(--bg-beige);
    padding: 100px 0;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
}

.about-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-btn {
    position: relative;
    background: var(--brown-color);
    color: var(--bg-white);
    border: none;
    padding: 18px 35px 18px 25px;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    clip-path: polygon(0 0, calc(100% - 25px) 0, 100% 50%, calc(100% - 25px) 100%, 0 100%);
    border-radius: 0;
    width: 100%;
}

.about-btn:hover {
    background: var(--brown-light);
    transform: translateX(5px);
}

.about-btn.active {
    background: var(--brown-light);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.arrow-line {
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #87CEEB;
    transition: width 0.4s ease;
    z-index: 1;
}

.about-btn.active .arrow-line {
    width: 60px;
}

.about-right {
    position: relative;
}

.about-content-box {
    position: relative;
    background: var(--bg-white);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    min-height: 400px;
    z-index: 2;
}

.about-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    overflow: hidden;
    z-index: 1;
    opacity: 0.15;
}

.about-coins {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #FFD700 0%, #D4AF37 100%);
    border-radius: 50%;
    filter: blur(20px);
}

.about-chart {
    position: absolute;
    top: 20%;
    left: 10%;
    right: 10%;
    bottom: 20%;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 15px,
            rgba(0, 255, 0, 0.2) 15px,
            rgba(0, 255, 0, 0.2) 17px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 15px,
            rgba(255, 0, 0, 0.2) 15px,
            rgba(255, 0, 0, 0.2) 17px
        );
    border-radius: 5px;
}

.about-text-content {
    position: relative;
    z-index: 2;
}

.content-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.content-panel.active {
    display: block;
}

.content-panel p {
    color: var(--text-black);
    line-height: 1.9;
    font-size: 16px;
    margin-bottom: 20px;
}

.content-panel strong {
    color: var(--red-active);
    font-weight: 600;
}

.core-values {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.core-values li {
    color: var(--text-black);
    line-height: 1.9;
    font-size: 16px;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.core-values li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--red-active);
    font-size: 20px;
    font-weight: bold;
}

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

/* 产品 */
.products {
    background: var(--bg-beige);
    padding: 100px 0;
}

.products-intro {
    max-width: 900px;
    margin: 0 auto 50px;
}

.products-intro p {
    color: var(--text-black);
    line-height: 1.9;
    font-size: 16px;
    margin-bottom: 20px;
}

.products-intro strong {
    color: var(--red-active);
    font-weight: 600;
}

.products-divider {
    height: 1px;
    background: var(--border-light);
    margin: 50px 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.products-detail {
    display: grid;
    grid-template-columns: 200px 1fr 250px;
    gap: 50px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.product-image-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-metal-image {
    display: block;
    width: 150px;
    height: auto;
}

.gold-bars-image {
    display: none;
}

.bar-1 {
    width: 60px;
    height: 40px;
    bottom: 20px;
    left: 10px;
    transform: rotate(-5deg);
}

.bar-2 {
    width: 70px;
    height: 45px;
    bottom: 30px;
    left: 50px;
    transform: rotate(3deg);
}

.bar-3 {
    width: 65px;
    height: 42px;
    bottom: 50px;
    left: 20px;
    transform: rotate(-2deg);
}

.bar-4 {
    width: 55px;
    height: 38px;
    bottom: 65px;
    left: 60px;
    transform: rotate(5deg);
}

.silver-bars-image {
    display: none;
}

.silver-bar.bar-1 {
    width: 60px;
    height: 40px;
    bottom: 20px;
    left: 10px;
    transform: rotate(-5deg);
}

.silver-bar.bar-2 {
    width: 70px;
    height: 45px;
    bottom: 30px;
    left: 50px;
    transform: rotate(3deg);
}

.silver-bar.bar-3 {
    width: 65px;
    height: 42px;
    bottom: 50px;
    left: 20px;
    transform: rotate(-2deg);
}

.silver-bar.bar-4 {
    width: 55px;
    height: 38px;
    bottom: 65px;
    left: 60px;
    transform: rotate(5deg);
}

.otc-approach {
    max-width: 900px;
    margin: 50px auto 0;
}

.otc-approach h3 {
    font-size: 28px;
    margin-bottom: 25px;
    color: var(--text-black);
    font-weight: 600;
}

.otc-approach p {
    color: var(--text-black);
    line-height: 1.9;
    font-size: 16px;
    margin-bottom: 20px;
}

.otc-approach strong {
    color: var(--red-active);
    font-weight: 600;
}

.product-description {
    flex: 1;
}

.product-description h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-black);
    font-weight: 600;
}

.product-description p {
    color: var(--text-black);
    line-height: 1.9;
    font-size: 16px;
    margin-bottom: 15px;
}

.product-list {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.product-list li {
    color: var(--text-black);
    line-height: 1.9;
    font-size: 16px;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.product-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-black);
    font-size: 20px;
    font-weight: bold;
}

.product-pricing {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.pricing-box {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    min-width: 200px;
}

.pricing-label {
    color: var(--text-black);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}

.pricing-input {
    color: var(--text-gray);
    font-size: 18px;
    padding: 10px 0;
    border-bottom: 2px solid var(--border-light);
    margin-bottom: 10px;
    min-height: 30px;
    font-family: monospace;
}

.pricing-note {
    color: var(--text-gray);
    font-size: 12px;
    margin-top: 10px;
}

/* 存储解决方案 */
.storage {
    background: var(--bg-beige);
    padding: 100px 0;
}

.storage-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: start;
}

.storage-text {
    flex: 1;
}

.storage-text p {
    color: var(--text-black);
    line-height: 1.9;
    font-size: 16px;
    margin-bottom: 25px;
}

.storage-text strong {
    color: var(--red-active);
    font-weight: 600;
}

.storage-cta {
    margin-top: 30px;
}

.storage-cta p {
    color: var(--text-black);
    line-height: 1.9;
    font-size: 16px;
    margin-bottom: 0;
}

.storage-cta a {
    color: #0066cc;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.storage-cta a:hover {
    color: #0052a3;
}

.storage-partners {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: flex-end;
}

.partner-logo {
    text-align: right;
}

.partner-logo-image {
    width: 140px;
    height: auto;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.storage-partner-image {
    display: block;
    max-width: 100%;
    height: auto;
}

.partner-name {
    color: var(--text-black);
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.5px;
}

/* 教育 */
.education {
    background: var(--bg-beige);
    padding: 150px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.education-coming-soon {
    text-align: center;
}

.education-coming-soon h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-black);
    margin: 0;
    letter-spacing: -1px;
}

/* 联系我们 */
.contact {
    background: var(--bg-beige);
    padding: 100px 0;
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-section {
    margin-bottom: 40px;
}

.contact-section h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-black);
    font-weight: 600;
}

.contact-section p {
    color: var(--text-black);
    line-height: 1.9;
    font-size: 16px;
    margin-bottom: 0;
}

.contact-divider {
    height: 1px;
    background: var(--border-light);
    margin: 40px 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-detail-item {
    margin-bottom: 0;
}

.contact-detail-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-black);
    font-weight: 600;
}

.contact-detail-item p {
    color: var(--text-black);
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 5px;
}

/* 页脚 */
.footer {
    /* 使用用户指定的 footer 背景色 */
    background: #555554;
    color: var(--bg-white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    /* 用来裁掉 logo 图片最外侧的白边 */
    overflow: hidden;
}

.footer-logo span {
    font-size: 16px;
    font-weight: 500;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-section a:hover {
    color: var(--bg-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .nav-wrapper {
        gap: 20px;
    }

    .site-logo {
        height: var(--logo-h-1024, 90px);
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-image {
        height: auto;
    }
    
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-btn {
        clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%);
    }
    
    .arrow-line {
        display: none;
    }
    
    .products-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-image-section {
        order: 1;
        justify-content: flex-start;
    }
    
    .product-description {
        order: 2;
    }
    
    .product-pricing {
        order: 3;
        justify-content: flex-start;
    }
    
    .storage-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .storage-partners {
        align-items: flex-start;
        flex-direction: row;
        gap: 30px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .navbar {
        padding: calc(10px + env(safe-area-inset-top)) 0 10px;
    }

    .site-logo {
        height: var(--logo-h-768, 60px);
    }
    
    .nav-menu {
        position: fixed;
        top: calc(80px + env(safe-area-inset-top));
        left: -100%;
        flex-direction: column;
        background: var(--bg-white);
        width: 100%;
        padding: 30px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        gap: 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: calc(110px + env(safe-area-inset-top)) 0 50px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-image {
        height: auto;
        padding: 20px 0 10px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .products-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-image-section {
        order: 1;
    }
    
    .product-description {
        order: 2;
    }
    
    .product-pricing {
        order: 3;
    }
    
    .storage-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .storage-partners {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .education-coming-soon h2 {
        font-size: 36px;
    }
    
    .storage-features,
    .education-content {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .site-logo {
        height: var(--logo-h-480, 80px);
    }
    .hero-title {
        font-size: 28px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .logo-section {
        gap: 16px;
    }
    
    .logo-circle {
        width: 50px;
        height: 50px;
    }
    
    .logo-monogram {
        font-size: 20px;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* ==================== 金价行情页（gold-pricing.html） ==================== */
.gp-hero {
    padding: 190px 0 70px;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-beige) 100%);
    text-align: center;
}

.gp-eyebrow {
    font-size: 13px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold-dark);
    font-weight: 600;
    margin: 0 0 12px;
}

.gp-title {
    font-size: 46px;
    line-height: 1.15;
    color: var(--text-black);
    margin: 0 0 16px;
    font-weight: 700;
}

.gp-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 680px;
    margin: 0 auto;
}

/* 自有报价区 */
.gp-quotes {
    padding: 70px 0;
    background: var(--bg-beige);
}

.gp-quotes-head {
    text-align: center;
    margin-bottom: 40px;
}

.gp-quotes-title {
    font-size: 30px;
    color: var(--text-black);
    margin: 0 0 6px;
}

.gp-quotes-subtitle {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-dark);
    font-weight: 600;
    margin: 0;
}

.gp-quotes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.gp-quote-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 30px 28px;
    box-shadow: 0 6px 24px rgba(26, 26, 26, 0.06);
}

.gp-quote-buy {
    border-top: 4px solid #2e8b57;
}

.gp-quote-sell {
    border-top: 4px solid var(--gold-color);
}

.gp-quote-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.gp-quote-tag {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

.gp-quote-buy .gp-quote-tag { color: #2e8b57; }
.gp-quote-sell .gp-quote-tag { color: var(--gold-dark); }

.gp-quote-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-gray);
    background: var(--bg-beige);
    border-radius: 20px;
    padding: 4px 12px;
}

.gp-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2e8b57;
    animation: gp-pulse 1.6s infinite;
}

@keyframes gp-pulse {
    0% { opacity: 1; }
    50% { opacity: 0.35; }
    100% { opacity: 1; }
}

.gp-quote-desc {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0 0 22px;
}

.gp-quote-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
}

.gp-quote-value {
    background: var(--bg-beige);
    border-radius: 10px;
    padding: 16px 14px;
    text-align: center;
}

.gp-quote-unit {
    display: block;
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 8px;
    font-weight: 600;
}

.gp-quote-num {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-black);
}

.gp-quote-updated {
    font-size: 12px;
    color: var(--text-gray);
    text-align: center;
    margin: 0;
}

/* Market Reference Prices 表格 */
.gp-market {
    padding: 70px 0 40px;
    background: var(--bg-white);
}

.gp-market-head {
    text-align: center;
    margin-bottom: 36px;
}

.gp-market-title {
    font-size: 30px;
    color: var(--text-black);
    margin: 0 0 6px;
}

.gp-market-subtitle {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-dark);
    font-weight: 600;
    margin: 0;
}

.gp-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* 手机端市场卡片容器：桌面/平板隐藏（用表格），≤768px 由文件末尾断点块切换显示 */
.gp-market-cards {
    display: none;
}

.gp-table {
    width: 100%;
    min-width: 960px;
    border-collapse: collapse;
    font-size: 14px;
}

.gp-table th,
.gp-table td {
    border: 1px solid var(--border-light);
    padding: 12px 14px;
    text-align: center;
    white-space: nowrap;
}

.gp-table thead th {
    background: var(--text-black);
    color: var(--bg-white);
    font-weight: 600;
    font-size: 13px;
    line-height: 1.35;
}

.gp-table tbody tr:nth-child(even) {
    background: var(--bg-beige);
}

.gp-table tbody th {
    background: var(--bg-white);
    font-weight: 600;
    text-align: left;
    color: var(--text-black);
    border: 1px solid var(--border-light);
    padding: 12px 14px;
}

.gp-table .gp-num {
    font-variant-numeric: tabular-nums;
    font-weight: 500;
}

.gp-table .gp-src {
    font-size: 12px;
    color: #0066cc;
    word-break: break-all;
    white-space: normal;
    min-width: 120px;
}

.gp-table .gp-empty {
    color: var(--text-gray);
}

.gp-note {
    font-size: 13px;
    color: var(--text-gray);
    margin: 14px 0 4px;
}

/* 免责声明与数据方法 */
.gp-disclaimer {
    padding: 50px 0 70px;
    background: var(--bg-beige);
}

.gp-disclaimer-text {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto 18px;
}

.gp-methodology {
    text-align: center;
    margin: 0 0 20px;
}

.gp-methodology a {
    color: #0066cc;
    text-decoration: underline;
    font-size: 14px;
}

.gp-methodology-box {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 26px 30px;
    max-width: 900px;
    margin: 0 auto;
}

.gp-methodology-box h3 {
    font-size: 18px;
    margin: 0 0 14px;
}

.gp-methodology-box ul {
    margin: 0;
    padding-left: 20px;
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .gp-hero {
        padding: 150px 0 50px;
    }
    .gp-title {
        font-size: 32px;
    }
    .gp-quotes-grid {
        grid-template-columns: 1fr;
    }
    .gp-quote-values {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   多品牌 / 导航拥挤修正 —— 必须放在文件末尾
   （本文件在原「响应式设计」块里已有一个 @media (max-width: 1024px)，
     会把 .nav-wrapper gap 设为 20px、并把 .site-logo 高度写死为 90px；
     同优先级下后者覆盖前者，所以品牌与间距的覆写必须排在它后面。）
   ========================================================================== */

/* 中段（平板竖屏～小笔记本）导航最挤，收窄菜单间距 */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 22px;
    }
}

/* 900px 以下最挤：Haobao 原本在 769–860px 就溢出（.nav-wrapper gap 20px 是主因），
   Pioneer Horizon 的宽 logo 更明显。这里收窄内边距与各处间距，保持单行不换行 */
@media (max-width: 900px) {
    .container {
        padding: 0 24px;
    }
    .nav-wrapper {
        gap: 8px;
    }
    .nav-menu {
        gap: 14px;
    }
    .logo-section {
        gap: 8px;
    }
    .lang-toggle {
        padding: 5px 4px;
    }
}

/* Pioneer Horizon 的 logo 更宽（4.93:1），按断点限制最大宽度：
   `object-fit: contain` 下实际渲染尺寸取 height 与 max-width 的较小值，等比缩小 */
[data-brand="pioneerhorizon"] .site-logo {
    --logo-h: 72px;
    --logo-cap: 24vw;
}
[data-brand="pioneerhorizon"] .site-logo.small {
    --logo-h-small: 64px;
}
@media (max-width: 1024px) {
    [data-brand="pioneerhorizon"] .site-logo {
        --logo-h-1024: 58px;
        --logo-cap: 19vw;
    }
}
@media (max-width: 900px) {
    [data-brand="pioneerhorizon"] .site-logo {
        --logo-h-1024: 50px;
        --logo-cap: 18vw;
    }
}
@media (max-width: 768px) {
    [data-brand="pioneerhorizon"] .site-logo {
        --logo-h-768: 46px;
        --logo-cap: 34vw;
    }
}
@media (max-width: 480px) {
    [data-brand="pioneerhorizon"] .site-logo {
        --logo-h-480: 44px;
        --logo-cap: 52vw;
    }
}

/* ==========================================================================
   移动端体验强化 —— 必须放在文件最末尾（覆盖前面所有同名规则）
   解决：菜单定位写死 80px 与品牌 logo 高度不匹配、iOS 刘海屏 env() 不生效、
        锚点被固定导航栏遮挡、触控目标过小、菜单无遮罩/无滚动锁定、
        金价表格横向滚动难以阅读等问题
   ========================================================================== */

/* 图片全局兜底：任何图片都不会把容器撑出横向滚动条 */
img {
    max-width: 100%;
}

/* iOS 横屏时禁止自动放大字号；滚动锚点预留固定导航栏的高度，避免标题被遮住 */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: 150px;
}
@media (max-width: 1024px) { html { scroll-padding-top: 130px; } }
@media (max-width: 768px)  { html { scroll-padding-top: 92px; } }
@media (max-width: 480px)  { html { scroll-padding-top: 96px; } }

/* 触控反馈更克制 */
a, button {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.05);
}

/* ---- 移动端菜单遮罩 ---- */
.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.4);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0s linear 0.25s;
    z-index: 999; /* 导航栏是 1000，遮罩压住内容但让汉堡按钮可点 */
}
.nav-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.25s ease;
}
body.menu-open {
    overflow: hidden;
}

/* ---- 手机断点（≤768px） ---- */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* 导航：触控目标加大（Apple/Google 建议 ≥44px） */
    .nav-actions {
        gap: 6px;
    }
    .lang-toggle {
        min-width: 44px;
        min-height: 40px;
        justify-content: center;
        padding: 8px 10px;
    }
    .mobile-menu-toggle {
        padding: 10px 8px;
    }

    /* 菜单改为锚定在导航栏下沿（top:100%），
       不再写死 80px —— 两个品牌 logo 高度不同也能严丝合缝 */
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 72vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        /* 基础样式的 align-items: center 是给桌面横向菜单用的；纵向菜单若继承它，
           菜单项会缩成内容宽度居中、分隔线只剩中间一截，面板显得又宽又空。
           改回 stretch：每行撑满整行、文字靠左，观感立刻扎实 */
        align-items: stretch;
        padding: 6px 20px calc(14px + env(safe-area-inset-bottom));
        gap: 0;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);
        transition: transform 0.25s ease, opacity 0.25s ease, visibility 0s linear 0.25s;
    }
    .nav-menu.active {
        left: 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        transition: transform 0.25s ease, opacity 0.25s ease;
    }
    /* 菜单项：整行可点、左对齐、分隔线拉通；行高压到 ~45px，整块面板更矮更实 */
    .nav-menu a {
        display: block;
        padding: 11px 4px;
        font-size: 15px;
        line-height: 1.4;
        border-bottom: 1px solid var(--border-light);
    }
    .nav-menu li:last-child a {
        border-bottom: none;
    }

    /* 汉堡按钮 → X 动画 */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Hero：手机上不再强撑 90vh，图片不再越界 102% */
    .hero {
        min-height: auto;
        padding: calc(96px + env(safe-area-inset-top)) 0 40px;
    }
    .hero-content {
        max-width: none;
    }
    .hero-title {
        font-size: clamp(26px, 6.8vw, 34px);
        margin-bottom: 16px;
    }
    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 28px;
    }
    .hero-buttons {
        gap: 12px;
    }
    .btn {
        padding: 13px 28px;
        min-height: 44px;
    }
    .hero-gold-card {
        border-radius: 14px;
    }
    .hero-gold-image {
        width: 100%;
        transform: none;
    }

    /* 区块留白收紧，标题流式缩放 */
    section {
        padding: 56px 0;
    }
    .about, .products, .storage, .contact {
        padding: 64px 0;
    }
    .education {
        padding: 80px 0;
    }
    .section-header {
        margin-bottom: 36px;
    }
    .section-title {
        font-size: clamp(26px, 6.5vw, 32px);
    }
    .section-subtitle {
        font-size: 15px;
    }

    /* 关于我们：内容盒内边距收紧，去掉 400px 最小高度留白 */
    .about-wrapper {
        gap: 28px;
    }
    .about-btn {
        padding: 15px 40px 15px 20px;
        font-size: 15px;
    }
    .about-content-box {
        padding: 24px 18px;
        min-height: 0;
    }
    .content-panel p, .core-values li, .product-list li {
        font-size: 15px;
        line-height: 1.85;
    }

    /* 产品区 */
    .products-divider {
        margin: 32px 0;
    }
    .products-detail {
        gap: 22px;
    }
    .product-metal-image {
        width: 130px;
    }
    .product-description h3,
    .otc-approach h3,
    .contact-section h3 {
        font-size: 22px;
    }
    .pricing-box {
        width: 100%;
        padding: 20px;
    }

    /* 页脚 */
    .footer {
        padding: 44px 0 24px;
    }
    .footer-content {
        gap: 28px;
        margin-bottom: 28px;
    }

    /* ---- 金价行情页 ---- */
    .gp-hero {
        padding: calc(110px + env(safe-area-inset-top)) 0 40px;
    }
    .gp-title {
        font-size: clamp(26px, 7vw, 32px);
    }
    .gp-subtitle {
        font-size: 15px;
    }
    .gp-quotes, .gp-market, .gp-disclaimer {
        padding: 48px 0;
    }
    .gp-quotes-title, .gp-market-title {
        font-size: 24px;
    }
    .gp-quote-card {
        padding: 22px 18px;
    }
    .gp-quote-num {
        font-size: 24px;
    }
    .gp-methodology-box {
        padding: 20px 16px;
    }
}

/* ---- 小屏手机（≤480px） ---- */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    /* Haobao 默认 logo 在小屏上 80px 偏大，压到 64px（pioneerhorizon 有自己的 44px 覆写） */
    .site-logo {
        height: var(--logo-h-480, 64px);
    }

    .hero-buttons {
        gap: 10px;
    }
    .about-btn {
        padding: 14px 34px 14px 16px;
        font-size: 14px;
    }
    .product-metal-image {
        width: 110px;
    }
    /* 金价表格：窄屏进一步减小单元格内边距，配合横向滚动 */
    .gp-table th, .gp-table td {
        padding: 10px 10px;
    }
}

/* ---- 金价表格：横向滚动时首列吸左，行名始终可见 ---- */
.gp-table thead th:first-child,
.gp-table tbody th {
    position: sticky;
    left: 0;
    z-index: 1;
}
.gp-table thead th:first-child {
    z-index: 2;
}
.gp-table tbody th {
    box-shadow: 2px 0 0 var(--border-light);
}

/* ---- 触屏设备：关闭 hover 位移效果，避免“粘性悬停” ---- */
@media (hover: none) {
    .btn-primary:hover,
    .btn-secondary:hover,
    .about-btn:hover {
        transform: none;
        box-shadow: none;
    }
}

/* ==========================================================================
   金价行情页手机端强化 —— 置于文件末尾以覆盖前面对应规则
   7 列市场参考价表格在手机上横向滚动一屏只能看到一个市场，
   ≤768px 改为“每市场一张卡片”，全部换算值一屏可读；
   BUY/SELL 报价卡同步收紧纵向空间
   ========================================================================== */
@media (max-width: 768px) {
    /* 表格 → 卡片 */
    .gp-table-wrap {
        display: none;
    }
    .gp-market-cards {
        display: grid;
        gap: 12px;
    }
    .gp-mcard {
        background: var(--bg-white);
        border: 1px solid var(--border-light);
        border-radius: 12px;
        padding: 14px 16px 8px;
        box-shadow: 0 4px 14px rgba(26, 26, 26, 0.05);
    }
    .gp-mcard-title {
        margin: 0 0 6px;
        font-size: 15px;
        font-weight: 700;
        color: var(--text-black);
        line-height: 1.4;
    }
    .gp-mcard-row {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 12px;
        padding: 7px 0;
        border-bottom: 1px dashed var(--border-light);
        font-size: 14px;
        line-height: 1.5;
    }
    .gp-mcard-row:last-child {
        border-bottom: none;
    }
    .gp-mcard-label {
        color: var(--text-gray);
        flex-shrink: 0;
    }
    .gp-mcard-value {
        font-weight: 600;
        font-variant-numeric: tabular-nums;
        text-align: right;
        overflow-wrap: anywhere;
    }
    .gp-mcard-value.gp-empty {
        font-weight: 400;
    }
    .gp-mcard-src {
        color: #0066cc;
        word-break: break-all;
        font-size: 12px;
        font-weight: 400;
    }

    /* BUY/SELL 报价卡：收紧纵向空间，首屏更快看到核心数值 */
    .gp-quotes-head {
        margin-bottom: 22px;
    }
    .gp-quotes-grid {
        gap: 14px;
    }
    .gp-quote-card {
        padding: 18px 16px 14px;
    }
    .gp-quote-header {
        margin-bottom: 8px;
    }
    .gp-quote-tag {
        font-size: 17px;
    }
    .gp-quote-desc {
        font-size: 13px;
        line-height: 1.55;
        margin-bottom: 12px;
    }
    .gp-quote-values {
        gap: 10px;
        margin-bottom: 10px;
    }
    .gp-quote-value {
        padding: 10px 8px;
    }
    .gp-quote-num {
        font-size: 22px;
    }
    .gp-market-head {
        margin-bottom: 20px;
    }
}
