﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

:root {
    --primary-dark: #0a192f;
    --primary-blue: #1a365d;
    --secondary-blue: #2d4a8a;
    --accent-teal: #38b2ac;
    --accent-orange: #ed8936;
    --accent-purple: #9f7aea;
    --light-gray: #f7fafc;
    --text-dark: #2d3748;
    --text-light: #718096;
    --white: #ffffff;
    --gray-200: #e2e8f0;
    --gray-50: #f7fafc;
    --gray-200: #e2e8f0;
    --shadow: 0 4px 12px rgba(0,0,0,.08);
}

body {
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
header {
    background-color: var(--primary-dark);
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--accent-teal);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-weight: 700;
    font-size: 1.5rem;
}


.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-size: 1.6rem;
    font-weight: 700;
}

.logo-sub {
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 400;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

    .nav-links li {
        margin-left: 30px;
        position: relative;
    }

    .nav-links a {
        color: var(--white);
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s;
        display: flex;
        align-items: center;
    }

        .nav-links a i {
            margin-left: 5px;
            font-size: 0.8rem;
        }

        .nav-links a:hover {
            color: var(--accent-teal);
        }
        .nav-links a.active {
            color: var(--accent-teal);
        }

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--primary-blue);
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border-radius: 4px;
    z-index: 1;
    top: 100%;
    left: 0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: var(--white);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

    .dropdown-content a:last-child {
        border-bottom: none;
    }

    .dropdown-content a:hover {
        background-color: rgba(255,255,255,0.1);
    }

/* 三级菜单样式 */
.sub-dropdown {
    position: relative;
}

.sub-dropdown-content {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background-color: var(--primary-blue);
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border-radius: 4px;
    z-index: 1;
}

.sub-dropdown:hover .sub-dropdown-content {
    display: block;
}

.sub-dropdown-content a {
    padding: 12px 16px;
}

.login-button {
    background-color: var(--accent-teal);
    color: var(--white);
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .login-button:hover {
        background-color: #2c9c97;
    }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    margin-right: 10px;
    background-color: var(--accent-teal);
    border-radius: 8px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
}

.logo-sub {
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 400;
    letter-spacing: 1px; /* 增加字符间距 */
    color: var(--white);
}
/* 控制台容器 */
.user-console {
    position: relative;
    padding-bottom: 6px; /* ✅ 关键 */
}

    /* 控制台按钮 */
    .user-console .login-button {
        display: flex;
        align-items: center;
        gap: 8px;
        background-color: var(--accent-teal);
        color: #fff;
        border: none;
        padding: 10px 18px;
        border-radius: 4px;
        font-weight: 600;
        cursor: pointer;
    }

/* 下拉菜单 */
.console-menu {
    display: none;
    position: absolute;
    right: 0;
    margin-top: 0;
    top: 100%; /* ✅ 原来是 110%，会留缝 */
    min-width: 180px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    overflow: hidden;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease;
}

    /* 菜单项 */
    .console-menu a,
    .console-menu button {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding: 12px 16px;
        font-size: 14px;
        color: #333;
        background: none;
        border: none;
        text-decoration: none;
        cursor: pointer;
    }

        .console-menu a:hover,
        .console-menu button:hover {
            background-color: #f5f7fa;
        }

/* 悬停显示 */
.user-console:hover .console-menu {
    display: block;
    opacity: 1;
    visibility: visible;
}
/* 登录按钮样式 */
.login-button, .admin-button {
    background-color: var(--accent-teal);
    color: var(--white);
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .admin-button, .login-button:hover {
        background-color: #2c9c97;
    }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* 页面标题 */
.page-header {
    background: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.9)), url('../imgs/banner.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 150px 0 80px;
    text-align: center;

}

    .page-header h1 {
        font-size: 3rem;
        margin-bottom: 20px;
        font-weight: 700;
    }

    .page-header p {
        font-size: 1.2rem;
        max-width: 700px;
        min-height:70px;
        margin: 0 auto 30px;
        color: rgba(255, 255, 255, 0.9);
    }

/* 页脚样式 */
footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 70px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

    .footer-links li {
        margin-bottom: 10px;
    }

    .footer-links a {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        transition: color 0.3s;
    }

        .footer-links a:hover {
            color: var(--accent-teal);
        }

.contact-info {
    list-style: none;
}

    .contact-info li {
        margin-bottom: 15px;
        display: flex;
        align-items: flex-start;
    }

    .contact-info i {
        color: var(--accent-teal);
        margin-right: 10px;
        margin-top: 5px;
    }

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

    .social-links a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        color: var(--white);
        text-decoration: none;
        transition: all 0.3s;
    }

        .social-links a:hover {
            background-color: var(--accent-teal);
            transform: translateY(-3px);
        }

.copyright {
    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: 0.9rem;
}


.cart-btn {
    position: relative;
    background: rgba(255,255,255,.1);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent-orange);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
@media (max-width: 576px) {
    .hero {
        padding: 150px 0 80px;
    }

        .hero h1 {
            font-size: 1.8rem;
        }

    .section-title h2 {
        font-size: 2rem;
    }

    .news, .company-intro, .products, .solutions, .clients {
        padding: 60px 0;
    }

    .product-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .client-logo {
        height: 50px;
        width: 140px;
        margin: 0 15px;
        font-size: 1rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .news-list, .hot-news {
        padding: 40px 0;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}



@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-dark);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

        .nav-links.active {
            display: flex;
        }

        .nav-links li {
            margin: 10px 0;
            width: 100%;
        }

    .dropdown-content, .sub-dropdown-content {
        position: static;
        box-shadow: none;
        background-color: rgba(0,0,0,0.1);
        display: block;
        width: 100%;
        margin-top: 10px;
    }

    .sub-dropdown-content {
        margin-left: 20px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .intro-stats {
        flex-direction: column;
        gap: 20px;
    }

    .client-logo {
        height: 60px;
        width: 160px;
        margin: 0 20px;
        font-size: 1.1rem;
    }
    .filter-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header {
        padding: 130px 0 60px;
        margin-top: 80px;
    }
    .logo-img {
        height: 40px;
    }
}


/* 响应式设计 */
@media (max-width: 1200px) {
    .dropdown-content {
        min-width: 200px;
    }

    .sub-dropdown-content {
        min-width: 180px;
    }

    .sub-dropdown-content {
        min-width: 180px;
    }

    .hot-news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .intro-content {
        flex-direction: column;
    }

    .news-grid, .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .nav-links li {
        margin-left: 20px;
    }

    .client-logo {
        height: 70px;
        width: 180px;
        margin: 0 30px;
        font-size: 1.2rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .nav-links li {
        margin-left: 20px;
    }

    .hot-news-item {
        flex-direction: column;
    }

    .hot-news-image {
        width: 100%;
        height: 200px;
    }
}

@keyframes scrollClients {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* 响应式设计 */
@media (max-width: 1200px) {
    .dropdown-content {
        min-width: 200px;
    }

    .sub-dropdown-content {
        min-width: 180px;
    }
}

@media (max-width: 992px) {
    .page-header h1 {
        font-size: 2.5rem;
    }

    .nav-links li {
        margin-left: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .map-container {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-dark);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

        .nav-links.active {
            display: flex;
        }

        .nav-links li {
            margin: 10px 0;
            width: 100%;
        }

    .dropdown-content, .sub-dropdown-content {
        position: static;
        box-shadow: none;
        background-color: rgba(0,0,0,0.1);
        display: block;
        width: 100%;
        margin-top: 10px;
    }

    .sub-dropdown-content {
        margin-left: 20px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header {
        padding: 130px 0 60px;
        margin-top: 80px;
    }

    .form-container {
        padding: 30px 20px;
    }

    .logo-img {
        height: 40px;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 1.8rem;
    }

    .contact-info-section, .contact-form-section, .map-section {
        padding: 40px 0;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 300px;
    }
}



/* 响应式设计 */
@media (max-width: 1200px) {
    .dropdown-content {
        min-width: 200px;
    }

    .sub-dropdown-content {
        min-width: 180px;
    }
}

@media (max-width: 992px) {
    .page-header h1 {
        font-size: 2.5rem;
    }

    .intro-content {
        flex-direction: column;
    }

    .intro-image {
        width: 100%;
        height: 300px;
    }

    .nav-links li {
        margin-left: 20px;
    }

    .timeline:before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: row !important;
    }

    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px;
    }

    .timeline-year {
        left: 0;
        transform: translateX(0);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-dark);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

        .nav-links.active {
            display: flex;
        }

        .nav-links li {
            margin: 10px 0;
            width: 100%;
        }

    .dropdown-content, .sub-dropdown-content {
        position: static;
        box-shadow: none;
        background-color: rgba(0,0,0,0.1);
        display: block;
        width: 100%;
        margin-top: 10px;
    }

    .sub-dropdown-content {
        margin-left: 20px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header {
        padding: 130px 0 60px;
        margin-top: 80px;
    }

    .intro-stats {
        flex-direction: column;
        gap: 20px;
    }

    .logo-img {
        height: 40px;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 1.8rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .about-intro, .timeline-section, .culture-section, .team-section {
        padding: 40px 0;
    }

    .culture-grid, .team-grid {
        grid-template-columns: 1fr;
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .dropdown-content {
        min-width: 200px;
    }

    .sub-dropdown-content {
        min-width: 180px;
    }
}

@media (max-width: 992px) {
    .news-title {
        font-size: 2rem;
    }

    .nav-links li {
        margin-left: 20px;
    }

    .related-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .news-main-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-dark);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

        .nav-links.active {
            display: flex;
        }

        .nav-links li {
            margin: 10px 0;
            width: 100%;
        }

    .dropdown-content, .sub-dropdown-content {
        position: static;
        box-shadow: none;
        background-color: rgba(0,0,0,0.1);
        display: block;
        width: 100%;
        margin-top: 10px;
    }

    .sub-dropdown-content {
        margin-left: 20px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .news-title {
        font-size: 1.8rem;
    }

    .news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .news-tags-share {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .news-navigation {
        flex-direction: column;
        gap: 20px;
    }

    .nav-btn {
        max-width: 100%;
    }

    .news-main-image {
        height: 300px;
    }

    .feature-image {
        height: 250px;
    }

    .logo-img {
        height: 40px;
    }
}

@media (max-width: 576px) {
    .news-title {
        font-size: 1.6rem;
    }

    .news-detail-header, .news-detail-content, .related-news {
        padding: 40px 0;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}
/* ===== 滚动动画 ===== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

    .fade-in-up.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* ===== 响应式 ===== */
@media (max-width: 992px) {
    .solutions-grid, .advantages-grid, .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-timeline {
        flex-wrap: wrap;
        gap: 30px;
    }

        .process-timeline::before {
            display: none;
        }

    .process-step {
        flex: 0 0 45%;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .page-banner h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-dark);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

        .nav-links.active {
            display: flex;
        }

        .nav-links li {
            margin: 10px 0;
        }

    .dropdown-content, .sub-dropdown-content {
        position: static;
        box-shadow: none;
        background-color: rgba(0,0,0,0.1);
        display: block;
        width: 100%;
        margin-top: 10px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .solutions-grid,
    .advantages-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }

    .process-step {
        flex: 0 0 100%;
    }

    .page-banner {
        padding: 160px 0 80px;
    }

        .page-banner h1 {
            font-size: 2rem;
        }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}


@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== 响应式 ========== */
@media (max-width: 992px) {
    .grid-container {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    }

    .page-hero h1 {
        font-size: 2.4rem;
    }

    .filter-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-dark);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

        .nav-links.active {
            display: flex;
        }

        .nav-links li {
            margin: 10px 0;
        }

    .mobile-menu-btn {
        display: block;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .page-hero {
        padding: 140px 0 60px;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .card-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .page-hero h1 {
        font-size: 1.7rem;
    }

    .solutions-grid {
        padding: 40px 0 60px;
    }

    .card-content {
        padding: 20px;
    }

    .filter-tags {
        gap: 6px;
    }

    .filter-tag {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
}
@keyframes ctaGlow {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(15px, -10px) scale(1.03);
    }
}

@keyframes heroGlow {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-20px, 10px) scale(1.05);
    }
}
/* 响应式 */
@media (max-width: 992px) {
    .content-layout {
        flex-direction: column;
    }

    .content-right {
        width: 100%;
    }

    .sidebar {
        position: static;
    }

    .features-grid,
    .scenarios-grid {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solution-title {
        font-size: 2.2rem;
    }

    .arch-image-wrapper img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-dark);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

        .nav-links.active {
            display: flex;
        }

        .nav-links li {
            margin: 10px 0;
            width: 100%;
        }

    .dropdown-content, .sub-dropdown-content {
        position: static;
        box-shadow: none;
        background-color: rgba(0,0,0,0.1);
        display: block;
        width: 100%;
        margin-top: 10px;
    }

    .sub-dropdown-content {
        margin-left: 20px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .login-button {
        display: none;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .solution-title {
        font-size: 1.8rem;
    }

    .arch-image-wrapper img {
        height: 220px;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* ===== 响应式 ===== */
@media (max-width: 992px) {
    .content-layout {
        flex-direction: column;
    }

    .content-right {
        width: 100%;
    }

    .sidebar {
        position: static;
    }

    .scenario-grid {
        grid-template-columns: 1fr;
    }

    .related-select {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        flex-direction: column;
        gap: 16px;
    }

    .page-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-dark);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

        .nav-links.active {
            display: flex;
        }

        .nav-links li {
            margin: 10px 0;
            width: 100%;
        }

    .dropdown-content, .sub-dropdown-content {
        position: static;
        box-shadow: none;
        background-color: rgba(0,0,0,0.1);
        display: block;
        width: 100%;
        margin-top: 10px;
    }

    .sub-dropdown-content {
        margin-left: 20px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .login-button {
        display: none;
    }

    .related-select {
        grid-template-columns: 1fr;
    }

    .bottom-bar .container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .page-title {
        font-size: 1.6rem;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== 响应式 ===== */
@media (max-width: 992px) {
    .content-layout {
        flex-direction: column;
    }

    .content-right {
        width: 100%;
    }

    .sidebar {
        position: static;
    }

    .scenario-grid {
        grid-template-columns: 1fr;
    }

    .related-select {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        flex-direction: column;
        gap: 16px;
    }

    .page-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-dark);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

        .nav-links.active {
            display: flex;
        }

        .nav-links li {
            margin: 10px 0;
            width: 100%;
        }

    .dropdown-content, .sub-dropdown-content {
        position: static;
        box-shadow: none;
        background-color: rgba(0,0,0,0.1);
        display: block;
        width: 100%;
        margin-top: 10px;
    }

    .sub-dropdown-content {
        margin-left: 20px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .login-button {
        display: none;
    }

    .related-select {
        grid-template-columns: 1fr;
    }

    .bottom-bar .container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .page-title {
        font-size: 1.6rem;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: transform 0.3s;
}

    .share-btn:hover {
        transform: translateY(-3px);
    }

.share-wechat {
    background-color: #07c160;
}

.share-weibo {
    background-color: #e6162d;
}
.share-qq {
    background-color: #e616cc;
}
.share-copy {
    background-color: #0077b5;
}

/* ================== 微信二维码 ================== */
.fj-wechat-qr-mask {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.fj-wechat-qr-box {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
}

.fj-wechat-qr-title {
    font-weight: 600;
    margin-bottom: 16px;
}

.fj-wechat-qr-box button {
    margin-top: 16px;
    padding: 8px 24px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
}
.fj-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,.75);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    z-index: 10000;
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}

    .fj-toast.show {
        opacity: 1;
    }

@keyframes qrScan {
    0% {
        top: 10%;
    }

    50% {
        top: 90%;
    }

    100% {
        top: 10%;
    }
}
