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

:root {
    --primary-color: #1a5276;
    --secondary-color: #2980b9;
    --accent-color: #e74c3c;
    --text-color: #2c3e50;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Microsoft YaHei', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h1 {
    font-size: 24px;
    color: var(--primary-color);
    margin: 0;
}

.nav-logo span {
    font-size: 12px;
    color: var(--gray);
    display: block;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link-highlight {
    background: var(--accent-color);
    color: var(--white) !important;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s;
}

.nav-link-highlight:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

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

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

.nav-link.active {
    color: var(--secondary-color);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* 首页横幅 */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
    padding: 100px 20px 50px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,144C1248,128,1344,64,1392,32L1440,0L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInDown 1s;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 15px;
    opacity: 0.9;
    animation: fadeInDown 1s 0.2s;
    animation-fill-mode: both;
}

.hero-desc {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.8;
    animation: fadeInDown 1s 0.4s;
    animation-fill-mode: both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
    animation: fadeInDown 1s 0.6s;
    animation-fill-mode: both;
}

.hero-stats {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1000px;
    width: 100%;
    margin-top: 50px;
    animation: fadeInUp 1s 0.8s;
    animation-fill-mode: both;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* 按钮 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

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

.btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.btn-full {
    width: 100%;
}

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

.section-alt {
    background: var(--light-bg);
}

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

.section-header h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

/* 关于我们 */
.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* ==================== 企业介绍正文统一样式 ==================== */
.intro-text {
    max-width: 860px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 2;
    color: #374151;
    letter-spacing: 0.3px;
}
.intro-text strong {
    color: var(--primary-color);
    font-weight: 700;
}
.intro-text .highlight {
    display: block;
    margin-top: 24px;
    padding: 20px 28px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    border-left: 4px solid var(--secondary-color);
    border-radius: 0 8px 8px 0;
    font-size: 17px;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.8;
}
.intro-text .highlight em {
    color: var(--secondary-color);
    font-style: normal;
}

.culture-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.culture-item {
    text-align: center;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 10px;
    transition: transform 0.3s;
}

.culture-item:hover {
    transform: translateY(-5px);
}

.culture-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.culture-item h4 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

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

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
}

.placeholder-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

/* 服务项目 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* 投资辅助 */

.investment-info h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.investment-features {
    display: grid;
    gap: 25px;
}

.investment-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-number {
    font-size: 36px;
    font-weight: bold;
    color: var(--secondary-color);
    opacity: 0.3;
    min-width: 60px;
}

.investment-feature h4 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.investment-feature p {
    color: var(--gray);
    line-height: 1.6;
}

.chart-placeholder {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.chart-placeholder h4 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.chart-bars {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 200px;
    margin-bottom: 20px;
}

.chart-bar {
    width: 60px;
    background: linear-gradient(to top, var(--secondary-color), var(--primary-color));
    border-radius: 5px 5px 0 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 10px;
    color: var(--white);
    font-size: 12px;
    transition: all 0.3s;
}

.chart-bar:hover {
    opacity: 0.8;
    transform: scaleY(1.05);
    transform-origin: bottom;
}

.chart-note {
    color: var(--gray);
    font-size: 14px;
}

/* 核心优势 */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.advantage-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* 联系我们 */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3,
.contact-form h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-items {
    display: grid;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 36px;
    min-width: 50px;
}

.contact-item h4 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--gray);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group textarea {
    resize: vertical;
}

/* 页脚 */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.6;
}

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

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

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 14px;
    margin: 5px 0;
}

/* 动画 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* 响应式设计 */
@media (max-width: 992px) {
    .services-grid,
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content,
    .investment-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        padding: 20px;
        box-shadow: var(--shadow);
        transition: left 0.3s;
        gap: 15px;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .services-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .culture-items {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 120px 15px 50px;
    }
    
    .hero-title {
        font-size: 28px;
    }
}

/* 投资辅助看板样式 */
.investment-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.investment-info h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.investment-features {
    display: grid;
    gap: 25px;
    margin-bottom: 20px;
}

.investment-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-number {
    font-size: 36px;
    font-weight: bold;
    color: var(--secondary-color);
    opacity: 0.3;
    min-width: 60px;
}

.investment-feature h4 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.investment-feature p {
    color: var(--gray);
    line-height: 1.6;
}

.investment-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.preview-container {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--light-bg);
    border-bottom: 1px solid #eee;
}

.preview-header h4 {
    font-size: 18px;
    color: var(--primary-color);
    margin: 0;
}

.preview-badge {
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.dashboard-iframe {
    width: 100%;
    height: 600px;
    border: none;
}

.dashboard-secondary {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.dashboard-secondary .section-header {
    margin-bottom: 30px;
}

.dashboard-secondary .section-header h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.dashboard-secondary .section-header p {
    color: var(--gray);
    font-size: 16px;
}

.dashboard-preview-secondary {
    border-radius: 10px;
    overflow: hidden;
}

.dashboard-iframe-secondary {
    width: 100%;
    height: 800px;
    border: none;
    border-radius: 10px;
}

/* 响应式设计 - 投资辅助看板 */
@media (max-width: 992px) {
    .investment-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-iframe {
        height: 500px;
    }
    
    .dashboard-iframe-secondary {
        height: 600px;
    }
}

@media (max-width: 768px) {
    .investment-actions {
        flex-direction: column;
    }
    
    .investment-actions .btn {
        width: 100%;
        text-align: center;
        margin-right: 0 !important;
    }
    
    .dashboard-iframe {
        height: 400px;
    }
    
    .dashboard-iframe-secondary {
        height: 500px;
    }
    
    .preview-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}
/* ==================== 子页面横幅 ==================== */
.subpage-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
    padding: 120px 20px 60px;
    margin-bottom: 0;
}

.subpage-hero h1 {
    font-size: 40px;
    margin-bottom: 15px;
    animation: fadeInDown 0.8s;
}

.subpage-hero p {
    font-size: 18px;
    opacity: 0.85;
    animation: fadeInDown 0.8s 0.2s;
    animation-fill-mode: both;
}

@media (max-width: 768px) {
    .subpage-hero {
        padding: 100px 15px 40px;
    }
    .subpage-hero h1 {
        font-size: 28px;
    }
}

/* ==================== 首页导航卡片 ==================== */
.nav-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.nav-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 25px 30px;
    background: var(--white);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-card:hover::before {
    transform: scaleX(1);
}

.nav-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.nav-card-featured {
    border: 2px solid var(--accent-color);
}

.nav-card-featured::before {
    background: var(--accent-color);
    transform: scaleX(1);
}

.nav-card-shop {
    background: linear-gradient(135deg, #fef9f0 0%, #fff5e6 100%);
    border: 2px solid #e8a838;
}

.nav-card-shop::before {
    background: #e8a838;
}

.nav-card-icon {
    font-size: 52px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.nav-card:hover .nav-card-icon {
    transform: scale(1.1);
}

.nav-card h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.nav-card p {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 18px;
}

.nav-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.nav-card-link {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 15px;
    transition: margin-right 0.3s ease;
}

.nav-card:hover .nav-card-link {
    margin-right: -5px;
}

/* ==================== 行动号召区 ==================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #154360 100%);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 回到顶部按钮 */
.back-to-top {
    display: block;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* 响应式 - 导航卡片 */
@media (max-width: 992px) {
    .nav-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .cta-section {
        padding: 60px 0;
    }
    .cta-section h2 {
        font-size: 28px;
    }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* 黄金看板样式 */
.dashboard-gold {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-top: 30px;
}

.dashboard-gold .section-header {
    margin-bottom: 20px;
}

.dashboard-gold .section-header h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.dashboard-gold .section-header p {
    color: var(--gray);
    font-size: 16px;
}

.gold-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.dashboard-preview-gold {
    border-radius: 10px;
    overflow: hidden;
    background: #0a0a0f;
}

.dashboard-iframe-gold {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 10px;
}

/* 响应式设计 - 黄金看板 */
@media (max-width: 768px) {
    .gold-actions {
        flex-direction: column;
    }

    .gold-actions .btn {
        width: 100%;
        text-align: center;
    }

    .dashboard-iframe-gold {
        height: 500px;
    }
}

/* ==================== 业务板块卡片布局 ==================== */
.biz-hero {
    text-align: center;
    margin-bottom: 50px;
}

.biz-hero h2 {
    font-size: 34px;
    color: var(--primary-color);
    margin-bottom: 15px;
    animation: fadeInDown 0.6s;
}

.biz-hero-desc {
    font-size: 17px;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.biz-section-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 4px solid var(--secondary-color);
}

.biz-cards-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.biz-card {
    background: var(--white);
    border-radius: 12px;
    padding: 35px 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.biz-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
    border-color: var(--secondary-color);
}

.section-alt .biz-card {
    background: var(--white);
}

.biz-card-icon {
    font-size: 42px;
    margin-bottom: 18px;
}

.biz-card h4 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.biz-card > p {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.biz-features {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.biz-features li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    color: var(--gray);
    font-size: 14px;
    line-height: 1.5;
}

.biz-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.biz-card-link {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s;
}

.biz-card-link:hover {
    color: var(--primary-color);
    margin-left: 4px;
}

/* ==================== 数据报告 ==================== */
.report-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    justify-content: center;
}

.report-tag {
    padding: 8px 22px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    color: var(--gray);
    background: #f0f4f8;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
}

.report-tag:hover,
.report-tag.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.report-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.report-card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
}

.report-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.report-card.report-featured {
    border-left: 4px solid var(--secondary-color);
}

.report-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 3px 12px;
    border-radius: 15px;
    font-size: 12px;
    animation: pulse 2s infinite;
}

.report-category {
    display: inline-block;
    background: #e8f0fe;
    color: var(--primary-color);
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 12px;
}

.report-card h4 {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 10px;
    line-height: 1.4;
}

.report-card p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.report-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #9ca3af;
}

/* ==================== 期权策略 ==================== */
.strategy-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.strategy-tab {
    padding: 10px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray);
    background: #f0f4f8;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
}

.strategy-tab:hover,
.strategy-tab.active {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.strategy-params {
    background: #f8fafc;
    border-radius: 8px;
    padding: 14px;
    margin-top: 12px;
}

.strategy-param {
    font-size: 13px;
    color: var(--gray);
    padding: 5px 0;
    border-bottom: 1px dashed #e5e7eb;
    line-height: 1.5;
}

.strategy-param:last-child {
    border-bottom: none;
}

.strategy-param strong {
    color: var(--text-color);
}

/* ==================== 看板预览网格 ==================== */
.dashboard-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* 响应式 - 业务板块 + 报告 + 策略 */
@media (max-width: 992px) {
    .biz-cards-3,
    .report-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .biz-hero h2 {
        font-size: 26px;
    }

    .biz-hero-desc {
        font-size: 15px;
    }

    .biz-cards-3,
    .report-grid {
        grid-template-columns: 1fr;
    }

    .biz-card {
        padding: 25px 20px;
    }

    .dashboard-preview-grid {
        grid-template-columns: 1fr;
    }

    .strategy-tabs {
        flex-direction: column;
        align-items: center;
    }
}

/* ==================== SN码查询页 ==================== */
.sn-query-wrapper {
    max-width: 650px;
    margin: 0 auto;
}

.sn-query-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow);
    text-align: center;
}

.sn-query-card .sn-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.sn-query-card h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.sn-input-group {
    display: flex;
    gap: 10px;
    margin: 25px 0;
}

.sn-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
}

.sn-input:focus {
    border-color: var(--secondary-color);
}

.sn-search-btn {
    padding: 12px 28px;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
}

.sn-search-btn:hover {
    background: #c0392b;
    transform: translateY(-1px);
}

.sn-tips {
    margin-top: 20px;
    padding: 12px;
    background: #f0f7ff;
    border-radius: 8px;
    font-size: 13px;
    color: #666;
}

.sn-result {
    margin-top: 20px;
}

.sn-result-card {
    text-align: left;
    padding: 24px;
    border-radius: 12px;
    animation: fadeInDown 0.3s ease;
}

.sn-result-success {
    background: #f0fdf4;
    border: 1px solid #86efac;
}

.sn-result-error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    text-align: center;
}

.sn-result-warning {
    background: #fefce8;
    border: 1px solid #fde047;
}

.sn-result-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.sn-result-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-color);
}

.sn-detail-table {
    width: 100%;
    border-collapse: collapse;
}

.sn-detail-table td {
    padding: 5px 0;
    font-size: 14px;
}

.sn-label {
    color: #6b7280;
    width: 80px;
}

.sn-value {
    font-weight: 500;
}

.sn-value.mono {
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 13px;
}

.sn-status-active {
    color: #16a34a;
    font-weight: 600;
}

.sn-status-inactive {
    color: #dc2626;
    font-weight: 600;
}

.sn-result-hint {
    margin-top: 10px;
    font-size: 12px;
    color: #999;
}

.sn-result-desc {
    margin-top: 12px;
    padding: 10px;
    background: rgba(0,0,0,0.03);
    border-radius: 8px;
    font-size: 13px;
    color: #555;
}

.sn-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.sn-product-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.sn-product-card:hover {
    transform: translateY(-5px);
}

.sn-product-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.sn-product-card h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.sn-product-card p {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.sn-product-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.sn-product-badge.gold { background: #fef3c7; color: #b45309; }
.sn-product-badge.silver { background: #e5e7eb; color: #4b5563; }
.sn-product-badge.platinum { background: #e0e7ff; color: #3730a3; }
.sn-product-badge.palladium { background: #f3e8ff; color: #7c3aed; }

/* ==================== 贵金属专区 ==================== */
.metals-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

.metals-header h2 {
    color: var(--primary-color);
    margin: 0;
}

.metals-update-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
}

.metals-update-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.metals-refresh-hint {
    color: #999;
}

.metals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.metal-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px 24px;
    box-shadow: var(--shadow);
    border-top: 4px solid transparent;
    transition: transform 0.3s, box-shadow 0.3s;
}

.metal-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.metal-card-gold { border-top-color: #f59e0b; }
.metal-card-silver { border-top-color: #9ca3af; }
.metal-card-platinum { border-top-color: #8b5cf6; }
.metal-card-palladium { border-top-color: #6366f1; }

.metal-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.metal-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
}

.gold-icon { background: linear-gradient(135deg, #f59e0b, #d97706); }
.silver-icon { background: linear-gradient(135deg, #9ca3af, #6b7280); }
.platinum-icon { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.palladium-icon { background: linear-gradient(135deg, #6366f1, #4338ca); }

.metal-name-group h3 {
    font-size: 18px;
    margin: 0;
    color: var(--text-color);
}

.metal-subtitle {
    font-size: 12px;
    color: #999;
}

.metal-prices {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.metal-price-main,
.metal-price-sub {
    display: flex;
    flex-direction: column;
}

.metal-price-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 2px;
}

.metal-price-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    font-family: 'Consolas', monospace;
}

.metal-price-unit {
    font-size: 12px;
    color: #666;
}

.metal-change {
    margin-top: 12px;
    font-size: 15px;
    font-weight: 600;
}

.metal-up { color: #dc2626; }
.metal-down { color: #16a34a; }
.metal-neutral { color: #888; }

.myh-pricing-sale { color: #dc2626; }
.myh-pricing-buyback { color: #16a34a; }
.myh-pricing-detail {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.5;
}

.jd-banner {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 16px;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.jd-banner-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.jd-banner-icon {
    font-size: 48px;
}

.jd-banner-text h3 {
    color: var(--white);
    margin-bottom: 5px;
    font-size: 20px;
}

.jd-banner-text p {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    margin: 0;
}

.jd-banner-btn {
    background: var(--white);
    color: var(--accent-color);
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.3s;
}

.jd-banner-btn:hover {
    transform: scale(1.05);
}

/* ==================== 管理后台 ==================== */
.admin-login-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow);
}

.admin-login-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.admin-login-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.admin-login-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.admin-login-form {
    display: flex;
    gap: 10px;
}

.admin-login-error {
    color: #dc2626;
    margin-top: 10px;
    font-size: 14px;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.admin-stat-card {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow);
}

.admin-stat-num {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
}

.admin-stat-label {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

.admin-tabs {
    display: flex;
    gap: 5px;
    background: #f1f5f9;
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 20px;
}

.admin-tab {
    flex: 1;
    padding: 10px 16px;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    transition: all 0.2s;
}

.admin-tab.active {
    background: var(--white);
    color: var(--primary-color);
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.admin-panel {
    display: none;
}

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

.admin-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.admin-panel-header h3 {
    color: var(--primary-color);
    margin: 0;
}

.admin-btn-primary {
    padding: 8px 20px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s;
}

.admin-btn-primary:hover { background: var(--primary-color); }

.admin-btn-secondary {
    padding: 8px 20px;
    background: #e2e8f0;
    color: #333;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
}

.admin-btn-sm {
    padding: 4px 12px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
}

.admin-btn-sm:hover { background: var(--primary-color); }

.admin-btn-danger {
    background: #dc2626;
}

.admin-btn-danger:hover { background: #b91c1c; }

.admin-table-wrap {
    overflow-x: auto;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

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

.admin-table th {
    text-align: left;
    padding: 12px 16px;
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
    font-weight: 600;
    color: var(--primary-color);
    white-space: nowrap;
}

.admin-table td {
    padding: 10px 16px;
    border-bottom: 1px solid #f1f5f9;
}

.admin-table tr:hover td {
    background: #f8fafc;
}

.admin-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 500;
}

.admin-task-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.admin-task-card {
    background: var(--white);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow);
}

.admin-task-status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.admin-task-status.active { background: #22c55e; }
.admin-task-status.paused { background: #f59e0b; }

.admin-task-info h4 {
    font-size: 14px;
    margin: 0;
    color: var(--text-color);
}

.admin-task-info span {
    font-size: 12px;
    color: #999;
}

.admin-shortcut-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.admin-shortcut-card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    text-decoration: none;
    transition: transform 0.3s;
    display: block;
}

.admin-shortcut-card:hover {
    transform: translateY(-3px);
}

.admin-shortcut-card span {
    font-size: 36px;
    display: block;
    margin-bottom: 10px;
}

.admin-shortcut-card h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.admin-shortcut-card p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.admin-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.admin-modal {
    background: var(--white);
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.admin-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
}

.admin-modal-header h3 {
    margin: 0;
    color: var(--primary-color);
}

.admin-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.admin-modal-body {
    padding: 20px 24px;
}

.admin-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.admin-form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.admin-form-group label {
    font-size: 13px;
    font-weight: 500;
    color: #555;
}

.admin-form-group textarea.sn-input {
    resize: vertical;
}

/* ==================== 投资辅助模块导航 ==================== */
.invest-module-nav {
    display: flex;
    gap: 10px;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 6px;
    margin-bottom: 40px;
}

.invest-module-tab {
    flex: 1;
    padding: 14px 20px;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    color: #666;
    transition: all 0.3s;
    font-size: 15px;
}

.invest-module-tab.active {
    background: var(--white);
    color: var(--primary-color);
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.invest-module-tab:hover {
    color: var(--primary-color);
}

.strategy-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.strategy-filter {
    padding: 8px 18px;
    background: #f1f5f9;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    color: #666;
    transition: all 0.3s;
}

.strategy-filter.active {
    background: var(--primary-color);
    color: var(--white);
}

.strategy-filter:hover:not(.active) {
    background: #e2e8f0;
}

.strategy-group {
    margin-bottom: 40px;
}

.strategy-group-title {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.strategy-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 10px;
}

.risk-high { background: #fee2e2; color: #dc2626; }
.risk-medium { background: #fef3c7; color: #b45309; }
.risk-low { background: #dbeafe; color: #1d4ed8; }

.risk-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
}

.risk-badge.risk-high { background: #fee2e2; color: #dc2626; }
.risk-badge.risk-medium { background: #fef3c7; color: #b45309; }
.risk-badge.risk-low { background: #dbeafe; color: #1d4ed8; }

.strategy-summary-table {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.report-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.report-stat-item {
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.report-stat-num {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-color);
}

.report-stat-desc {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

/* ==================== 响应式调整 ==================== */
@media (max-width: 992px) {
    .metals-grid { grid-template-columns: repeat(2, 1fr); }
    .sn-product-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-shortcut-grid { grid-template-columns: repeat(2, 1fr); }
    .report-stats-row { grid-template-columns: repeat(2, 1fr); }
}

/* ==================== 民逸涵定价模块 ==================== */
.myh-pricing-section {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 16px;
    padding: 30px;
    margin-top: 30px;
    border: 1px solid #e2e8f0;
}

.myh-pricing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.myh-pricing-header h3 {
    font-size: 20px;
    margin: 0;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.myh-pricing-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: 600;
    margin-left: 8px;
}

.myh-pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.myh-pricing-table th {
    background: #1e293b;
    color: var(--white);
    padding: 14px 16px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.myh-pricing-table td {
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
    font-size: 15px;
}

.myh-pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.myh-pricing-table tbody tr:hover {
    background: #f8fafc;
}

.myh-pricing-metal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 16px;
}

.myh-pricing-metal-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--white);
}

.myh-pricing-value {
    font-family: 'Consolas', monospace;
    font-size: 18px;
    font-weight: 700;
}

.myh-pricing-sale {
    color: #dc2626;
}

.myh-pricing-buyback {
    color: #16a34a;
}

.myh-pricing-base {
    color: var(--text-color);
}

.myh-pricing-spread {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 2px;
}

.myh-pricing-note {
    margin-top: 12px;
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.myh-pricing-config-hint {
    font-size: 12px;
    color: #64748b;
    background: #fef3c7;
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ==================== 管理后台定价配置 ==================== */
.admin-pricing-card {
    background: var(--white);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 16px;
    border-left: 4px solid #e2e8f0;
    transition: border-color 0.2s;
}

.admin-pricing-card:hover {
    border-left-color: var(--accent-color, #3b82f6);
}

.admin-pricing-card-gold { border-left-color: #f59e0b; }
.admin-pricing-card-silver { border-left-color: #9ca3af; }
.admin-pricing-card-platinum { border-left-color: #8b5cf6; }
.admin-pricing-card-palladium { border-left-color: #6366f1; }

.admin-pricing-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.admin-pricing-card-header h4 {
    font-size: 16px;
    margin: 0;
    color: var(--text-color);
}

.admin-pricing-card-header .metal-icon {
    width: 32px;
    height: 32px;
    font-size: 13px;
    border-radius: 8px;
}

.admin-pricing-fields {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 16px;
    align-items: end;
}

.admin-pricing-field label {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 4px;
    font-weight: 500;
}

.admin-pricing-field input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Consolas', monospace;
    font-weight: 600;
    color: var(--text-color);
    background: #f8fafc;
    transition: border-color 0.2s;
}

.admin-pricing-field input:focus {
    outline: none;
    border-color: #3b82f6;
    background: var(--white);
}

.admin-pricing-preview {
    font-size: 13px;
    color: #64748b;
    padding: 8px 0;
}

.admin-pricing-preview strong {
    color: var(--text-color);
}

.admin-pricing-actions {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    align-items: center;
}

@media (max-width: 768px) {
    .sn-input-group { flex-direction: column; }
    .sn-search-btn { width: 100%; }
    .metals-grid { grid-template-columns: 1fr; }
    .sn-product-grid { grid-template-columns: 1fr 1fr; }
    .admin-login-form { flex-direction: column; }
    .admin-tabs { flex-wrap: wrap; }
    .admin-tab { flex: none; width: calc(50% - 3px); }
    .admin-form-grid { grid-template-columns: 1fr; }
    .jd-banner { flex-direction: column; text-align: center; }
    .jd-banner-content { flex-direction: column; }
    .invest-module-nav { flex-direction: column; }
    .admin-pricing-fields { grid-template-columns: 1fr 1fr; }
    .myh-pricing-table { font-size: 13px; }
    .myh-pricing-table th, .myh-pricing-table td { padding: 10px 8px; }
}

/* ==================== 导航下拉菜单 ==================== */
.nav-menu > li.has-dropdown {
    position: relative;
}
.nav-menu > li.has-dropdown > .nav-link::after {
    content: '▾';
    font-size: 8px;
    margin-left: 4px;
    opacity: 0.5;
    display: inline-block;
    transition: transform 0.2s;
    vertical-align: middle;
}
.nav-menu > li.has-dropdown:hover > .nav-link::after {
    transform: rotate(180deg);
    opacity: 0.8;
}
.nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: var(--white);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 4px 0;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.18s ease;
    z-index: 1000;
    list-style: none;
    margin: 0;
}
.nav-menu > li.has-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown li a {
    display: block;
    padding: 7px 18px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
    position: relative;
}
.nav-dropdown li a::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 18px;
    width: 0;
    height: 1.5px;
    background: var(--secondary-color);
    transition: width 0.25s;
}
.nav-dropdown li a:hover {
    color: var(--secondary-color);
    background: none;
}
.nav-dropdown li a:hover::after {
    width: calc(100% - 36px);
}

@media (max-width: 768px) {
    .nav-dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        min-width: auto;
        padding: 0 0 0 16px;
        display: none;
        background: transparent;
        border-radius: 0;
    }
    .nav-menu > li.has-dropdown.expanded .nav-dropdown {
        display: block;
    }
    .nav-dropdown li a::after {
        display: none;
    }
}
