/* 全局平滑滚动 */
html {
    scroll-behavior: smooth;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    color: #1f2937;
}
.container-custom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* 头部 Logo + 面包屑 */
.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.logo-area {
    display: flex;
    align-items: center;
}
.logo-area img {
    max-height: 80px;
    width: auto;
    display: block;
}
.breadcrumb-wrapper {
    background: #f8fafc;
    padding: 6px 20px;
    border-radius: 40px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}
.breadcrumb-wrapper:hover {
    border-color: #76b900;
    box-shadow: 0 2px 8px rgba(118, 185, 0, 0.1);
}
.breadcrumb-wrapper .breadcrumb {
    margin-bottom: 0;
    background: transparent;
    padding: 0;
    font-size: 0.95rem;
    font-weight: 500;
}
.breadcrumb-wrapper .breadcrumb-item a {
    color: #4b5563;
    text-decoration: none;
    transition: all 0.2s ease;
}
.breadcrumb-wrapper .breadcrumb-item a:hover {
    color: #76b900;
}
.breadcrumb-wrapper .breadcrumb-item.active {
    color: #76b900;
}
.breadcrumb-wrapper .breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: #94a3b8;
    padding: 0 6px;
}

/* Hero 主视觉区 */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0 60px;
    align-items: center;
    background: linear-gradient(135deg, #f9fafb, #ffffff);
    border-radius: 32px;
    padding: 40px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.02);
}
.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1f2937, #76b900);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 20px;
    line-height: 1.2;
}
.hero-content p {
    font-size: 1rem;
    color: #4b5563;
    margin-bottom: 30px;
    line-height: 1.6;
}
.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.btn-primary {
    background: #76b900;
    border: none;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 40px;
    color: white;
    transition: all 0.3s;
}
.btn-primary:hover {
    background: #5c9e00;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(118, 185, 0, 0.2);
}
.btn-outline {
    background: transparent;
    border: 1px solid #76b900;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 40px;
    color: #76b900;
    transition: all 0.3s;
}
.btn-outline:hover {
    background: rgba(118, 185, 0, 0.05);
    transform: translateY(-2px);
}
.hero-image {
    background: #f1f5f9;
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    border: 1px solid #e2e8f0;
}
.hero-image i {
    font-size: 5rem;
    color: #76b900;
    opacity: 0.8;
}

/* 三栏网格 */
.grid-dashboard {
    display: grid;
    grid-template-columns: 320px 1fr 320px;
    gap: 30px;
    margin-bottom: 60px;
}
.card-modern {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #eef2f6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    overflow: hidden;
}
.card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.1);
    border-color: #76b90040;
}
.updates-panel, .customer-gold {
    padding: 24px;
}
.updates-header, .customer-header {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #eef2f6;
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.updates-header i, .customer-header i {
    font-size: 1.5rem;
    color: #76b900;
}
.updates-header h5, .customer-header h5 {
    margin: 0;
    font-weight: 700;
    font-size: 1.2rem;
    color: #1f2937;
}
.update-list {
    list-style: none;
    padding-left: 0;
}
.update-list li {
    margin-bottom: 16px;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-left: 2px solid #76b900;
    padding-left: 12px;
}
.update-date {
    font-size: 0.7rem;
    color: #76b900;
    font-weight: 600;
}
.update-title {
    font-weight: 500;
    color: #1f2937;
}
.contact-line {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border-radius: 40px;
    padding: 10px 16px;
    margin-bottom: 12px;
    transition: 0.2s;
}
.contact-line i {
    width: 28px;
    font-size: 1.1rem;
    color: #76b900;
}
.contact-line span {
    font-weight: 500;
    font-size: 0.85rem;
}
.btn-glow {
    background: #76b900;
    border: none;
    padding: 10px;
    font-weight: 600;
    border-radius: 40px;
    color: white;
    width: 100%;
    transition: 0.2s;
}
.btn-glow:hover {
    background: #5c9e00;
    transform: scale(0.98);
}

/* 选项卡 */
.nav-tabs-custom {
    border-bottom: 1px solid #eef2f6;
    margin-top: 40px;
    gap: 12px;
    flex-wrap: wrap;
}
.nav-tabs-custom .nav-link {
    background: transparent;
    border: none;
    font-weight: 600;
    padding: 12px 28px;
    color: #4b5563;
    border-radius: 40px;
    transition: 0.2s;
    font-size: 1rem;
}
.nav-tabs-custom .nav-link.active {
    background: #eef2ff;
    color: #76b900;
    border: 1px solid #bfdbfe;
}
.nav-tabs-custom .nav-link:hover:not(.active) {
    background: #f1f5f9;
    color: #1f2937;
}
.scroll-horizontal {
    display: flex;
    overflow-x: auto;
    gap: 24px;
    padding-bottom: 20px;
    margin: 30px 0;
    scroll-behavior: smooth;
}
.product-card-cyber {
    flex: 0 0 auto;
    width: 300px;
    background: #ffffff;
    border-radius: 20px;
    padding: 20px;
    border: 1px solid #eef2f6;
    transition: all 0.3s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
.product-card-cyber:hover {
    transform: translateY(-4px);
    border-color: #76b900;
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.1);
}
.product-card-cyber h5 {
    font-weight: 700;
    font-size: 1.25rem;
    margin: 12px 0 8px;
    color: #1f2937;
}
.product-card-cyber p {
    font-size: 0.85rem;
    color: #4b5563;
    margin: 12px 0 20px;
    line-height: 1.5;
}
.btn-solid-soft, .btn-outline-soft {
    border-radius: 40px;
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: 0.2s;
    display: inline-block;
    text-decoration: none;
    margin-right: 8px;
    margin-bottom: 8px;
}
.btn-solid-soft {
    background: #76b900;
    border: none;
    color: white;
}
.btn-solid-soft:hover {
    background: #5c9e00;
    transform: translateY(-1px);
}
.btn-outline-soft {
    border: 1px solid #76b900;
    background: transparent;
    color: #76b900;
}
.btn-outline-soft:hover {
    background: rgba(118, 185, 0, 0.05);
}

/* 轮播图 */
.carousel-glam {
    border-radius: 0;
    overflow: hidden;
}
.carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 400px;
}
.carousel-item .text-center {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    color: #64748b;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,0.2);
    border-radius: 50%;
    background-size: 60%;
}
.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: rgba(0,0,0,0.4);
}
.carousel-indicators button {
    background-color: #cbd5e1;
}
.carousel-indicators .active {
    background-color: #76b900;
}

/* 锚点偏移 */
#products {
    scroll-margin-top: 100px;
}

/* 底部 */
.footer-neon {
    background: #f8fafc;
    border-top: 1px solid #eef2f6;
    padding: 30px 0;
    text-align: center;
    font-size: 0.8rem;
    color: #4b5563;
}
.footer-neon a {
    color: #76b900;
    text-decoration: none;
    margin: 0 10px;
}
.footer-neon a:hover {
    text-decoration: underline;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* ========== 移动端优化（新增） ========== */
@media (max-width: 768px) {
    /* 面包屑导航优化 */
    .breadcrumb-wrapper {
        padding: 4px 16px;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    .breadcrumb-wrapper .breadcrumb {
        font-size: 0.75rem;
        display: flex;
        flex-wrap: nowrap;
    }
    .breadcrumb-wrapper .breadcrumb-item {
        flex-shrink: 0;
    }
    /* Hero 区域优化 */
    .hero-section {
        padding: 24px 20px;
        margin: 20px 0 40px;
        gap: 20px;
    }
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .hero-content p {
        font-size: 0.9rem;
    }
    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    .hero-image i {
        font-size: 3.5rem;
    }
    /* 选项卡横向滚动 */
    .nav-tabs-custom {
        overflow-x: auto;
        flex-wrap: nowrap;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
    }
    .nav-tabs-custom .nav-link {
        padding: 8px 16px;
        font-size: 0.85rem;
        display: inline-block;
    }
    /* 产品卡片 */
    .product-card-cyber {
        width: 260px;
        padding: 16px;
    }
    .product-card-cyber h5 {
        font-size: 1.1rem;
    }
    /* 三栏卡片内边距 */
    .updates-panel, .customer-gold {
        padding: 20px;
    }
    /* 客户中心联系方式 */
    .contact-line {
        padding: 8px 12px;
    }
    .contact-line i {
        font-size: 1rem;
    }
    .contact-line span {
        font-size: 0.8rem;
    }
    .btn-glow, .btn-glow.mt-3 {
        padding: 8px;
        font-size: 0.85rem;
    }
    /* 底部 */
    .footer-neon p {
        font-size: 0.7rem;
        line-height: 1.4;
        word-break: break-word;
    }
    .footer-neon a {
        margin: 0 6px;
    }
    /* 横向滚动区间距 */
    .scroll-horizontal {
        gap: 16px;
    }
    /* 轮播图占位高度 */
    .carousel-item .text-center {
        min-height: 150px;
    }
}

/* 超小屏幕 (≤480px) 进一步优化 */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }
    .hero-buttons {
        gap: 12px;
        justify-content: center;
    }
    .btn-primary, .btn-outline {
        width: 100%;
        text-align: center;
    }
    .header-row {
        flex-direction: column;
        align-items: stretch;
    }
    .logo-area {
        justify-content: center;
    }
    .breadcrumb-wrapper {
        text-align: center;
    }
    .grid-dashboard {
        gap: 20px;
    }
    .update-list li {
        font-size: 0.75rem;
    }
    .update-date {
        font-size: 0.65rem;
    }
}