/* hand.binly.cn - V1.5 信息密度与结构重构 */
/* 目标：简洁紧凑、更少层级、更像专业工业产品官网 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Microsoft YaHei", "Hiragino Sans GB", Arial, sans-serif;
    line-height: 1.75;
    color: #2c3e50;
    background: #fafafa;
    font-size: 18px;
}

.container {
    max-width: 1320px; /* PC 内容宽度从 1400px 降至 1320px，更集中 */
    margin: 0 auto;
    padding: 0 40px;
}

/* ========== 导航栏（精简） ========== */
.site-header {
    background: #0a1628;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    border-bottom: 3px solid #1e3a8a;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px; /* 增加高度让 Logo 更清晰 */
}

.logo {
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo::after {
    display: none; /* 不再用伪元素显示英文，HTML 已直接包含 */
}

.main-nav {
    display: flex;
    gap: 2px;
}

.main-nav a {
    padding: 1rem 1.8rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    color: #fff;
    background: rgba(59, 130, 246, 0.15);
}

/* ========== Hero Section（大幅降低高度） ========== */
.hero-industrial {
    background: 
        linear-gradient(rgba(10, 22, 40, 0.9), rgba(10, 22, 40, 0.85)),
        linear-gradient(135deg, #0a1628 0%, #1e3a8a 100%);
    color: #fff;
    padding: 4rem 0; /* 从 5.5rem 降至 4rem */
    text-align: center;
    position: relative;
}

.hero-industrial::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

.hero-content h2 {
    font-size: 3.6rem; /* 从 4rem 降至 3.6rem */
    font-weight: 900;
    margin-bottom: 0.6rem; /* 从 1rem 降至 0.6rem */
    letter-spacing: 6px;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.5);
    font-family: "Impact", "Arial Black", sans-serif;
}

.hero-subtitle {
    font-size: 1.7rem; /* 从 1.9rem 降至 1.7rem */
    margin-bottom: 0.8rem;
    color: #3b82f6;
    font-weight: 700;
    letter-spacing: 8px;
    text-transform: uppercase;
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2rem; /* 从 2.2rem 降至 2rem */
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: #fff;
    padding: 1.1rem 3.5rem; /* 从 1.3rem 4rem 降至 1.1rem 3.5rem */
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 2px solid #3b82f6;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #3b82f6;
    padding: 1.1rem 3rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 2px solid #3b82f6;
    margin-left: 1.5rem;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #fff;
}

.intro-section {
    background: #e5e7eb;
    padding: 0.6rem 0; /* 从 0.8rem 降至 0.6rem */
    text-align: center;
}

.intro-section p {
    color: #6b7280;
    font-size: 0.85rem;
}

/* ========== 产品中心 Hero（新设计，大幅降低） ========== */
.product-hero {
    background: linear-gradient(135deg, #0a1628 0%, #1e3a8a 100%);
    color: #fff;
    padding: 2.5rem 0; /* 从 4.5rem 大幅降至 2.5rem */
    text-align: center;
}

.product-hero h1 {
    font-size: 2.8rem; /* 从 3rem 降至 2.8rem */
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 0.4rem;
    font-family: "Impact", "Arial Black", sans-serif;
}

.product-hero p {
    font-size: 1.1rem;
    opacity: 0.85;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* 产品网格（核心改造：PC 双列并排，手机单列） */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* PC 端强制双列并排 */
    gap: 2rem;
    max-width: 1280px;
    margin: 2rem auto;
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: 1fr; /* 平板改为单列 */
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr; /* 手机单列 */
        gap: 1.5rem;
        margin: 1.5rem auto;
    }
}

.product-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s;
}

.product-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
    border-color: #3b82f6;
}

.card-visual {
    height: 200px; /* 从 240px 降至 200px，去掉过大视觉区 */
    background: linear-gradient(135deg, #0a1628 0%, #1e3a8a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.card-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(59, 130, 246, 0.05) 20px),
        repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(59, 130, 246, 0.05) 20px);
}

.model-number {
    font-size: 3.5rem; /* 从 3.8rem 降至 3.5rem */
    font-weight: 900;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 4px;
    z-index: 1;
    font-family: "Impact", "Arial Black", sans-serif;
}

.product-card-standard .card-visual {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
}

.card-content {
    padding: 2rem; /* 从 2.5rem 降至 2rem */
}

.card-content h2 {
    font-size: 1.8rem; /* 从 1.9rem 降至 1.8rem */
    color: #0a1628;
    margin-bottom: 0.4rem; /* 从 0.7rem 降至 0.4rem */
    font-weight: 800;
    letter-spacing: 1px;
}

.product-type {
    color: #6b7280;
    font-size: 1rem; /* 从 1.15rem 降至 1rem */
    margin-bottom: 1rem; /* 从 1rem 降至 1rem */
    font-weight: 500;
}

.product-info {
    margin-bottom: 1.5rem; /* 从 1.8rem 降至 1.5rem */
    font-size: 0.95rem; /* 从 1rem 降至 0.95rem */
    color: #4b5563;
    line-height: 1.7;
}

.product-info strong {
    color: #0a1628;
    display: block;
    margin-bottom: 0.5rem;
}

.product-info ul {
    list-style: none;
    margin-left: 0;
}

.product-info ul li {
    padding: 0.3rem 0;
    color: #4b5563;
}

.card-content .btn-primary {
    display: block;
    text-align: center;
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ========== 特性列表（精简版） ========== */
.feature-list {
    padding: 4.5rem 0; /* 从 5rem 降至 4.5rem */
    background: #f9fafb;
}

.feature-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0a1628, #1e3a8a, #0a1628);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem; /* 从 1.8rem 降至 1.5rem */
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    background: #fff;
    padding: 1.8rem; /* 从 2.5rem 降至 1.8rem */
    border-left: 3px solid #1e40af;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: all 0.3s;
}

.feature-item:hover {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    transform: translateX(4px);
    border-left-color: #3b82f6;
}

.feature-icon {
    font-size: 2.2rem; /* 从 2.8rem 降至 2.2rem */
    margin-bottom: 0.8rem;
    display: block;
}

.feature-text strong {
    color: #0a1628;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.15rem; /* 从 1.3rem 降至 1.15rem */
    font-weight: 700;
}

.feature-text p {
    color: #6b7280;
    font-size: 0.95rem; /* 从 1.05rem 降至 0.95rem */
    line-height: 1.7;
}

/* ========== Section Title（精简版） ========== */
.section-title {
    font-size: 2.4rem; /* 从 2.8rem 降至 2.4rem */
    color: #0a1628;
    text-align: center;
    margin-bottom: 0.6rem; /* 从 1rem 降至 0.6rem */
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-family: "Impact", "Arial Black", sans-serif;
}

.section-subtitle {
    text-align: center;
    color: #6b7280;
    font-size: 1rem; /* 从 1.1rem 降至 1rem */
    margin-bottom: 2.5rem; /* 从 3rem 降至 2.5rem */
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ========== Content Section（大幅精简） ========== */
.content-section {
    padding: 2.2rem; /* 从 3rem 大幅降至 2.2rem */
    background: #fff;
    margin: 1.5rem auto; /* 从 2rem 降至 1.5rem */
    max-width: 950px;
    border: 1px solid #e5e7eb;
}

.content-section h2 {
    font-size: 1.7rem; /* 从 1.9rem 降至 1.7rem */
    color: #0a1628;
    margin-bottom: 1.2rem; /* 从 2rem 降至 1.2rem */
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #3b82f6;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.content-section p {
    margin-bottom: 1rem; /* 从 1.4rem 降至 1rem */
    color: #374151;
    line-height: 1.8;
    font-size: 1rem; /* 从 1.05rem 降至 1rem */
}

.content-section ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.2rem; /* 删除多余下边距 */
}

.content-section ul li {
    padding: 0.6rem 0; /* 从 1rem 降至 0.6rem */
    padding-left: 1.6rem; /* 从 2rem 降至 1.6rem */
    border-bottom: 1px solid #f3f4f6;
    position: relative;
    color: #374151;
}

.content-section ul li:last-child {
    border-bottom: none; /* 最后一个不显示底线 */
}

.content-section ul li::before {
    content: '▸';
    color: #3b82f6;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.1rem;
}

.content-section ul li strong {
    color: #0a1628;
    font-weight: 700;
}

/* Tech Spec Grid（精简版） */
.tech-spec {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem; /* 从 1.3rem 降至 1rem */
    margin: 1.5rem 0; /* 从 2rem 降至 1.5rem */
}

.tech-spec-item {
    background: #f9fafb;
    padding: 1rem; /* 从 1.4rem 降至 1rem */
    border: 1px solid #e5e7eb;
    border-left: 3px solid #3b82f6;
}

.tech-spec-label {
    color: #6b7280;
    font-size: 0.75rem;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.tech-spec-value {
    color: #0a1628;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Info Note Box（精简版） */
.info-note {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 3px solid #d97706;
    padding: 1rem; /* 从 1.4rem 降至 1rem */
    margin: 1.2rem 0; /* 从 1.5rem 降至 1.2rem */
    font-size: 0.95rem; /* 从 1rem 降至 0.95rem */
    color: #92400e;
}

.info-note strong {
    color: #78350f;
    font-weight: 700;
}

/* Specifications（精简版） */
.specs-category {
    margin: 1.8rem 0; /* 从 2.5rem 降至 1.8rem */
}

.specs-category h3 {
    font-size: 1.25rem; /* 从 1.4rem 降至 1.25rem */
    color: #0a1628;
    margin-bottom: 1rem; /* 从 1.3rem 降至 1rem */
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    border: 1px solid #e5e7eb;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.9rem 1.4rem; /* 从 1.1rem 1.7rem 降至 0.9rem 1.4rem */
    border-bottom: 1px solid #f3f4f6;
    background: #fff;
}

.spec-item:nth-child(odd) {
    background: #f9fafb;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-item-name {
    color: #6b7280;
    font-weight: 500;
    font-size: 0.95rem;
}

.spec-item-value {
    color: #0a1628;
    font-weight: 700;
    font-size: 1rem;
}

.spec-item-value.pending {
    color: #d97706;
    font-style: italic;
}

/* Drawing Info（精简版） */
.drawing-info {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 1rem; /* 从 1.6rem 降至 1rem */
    margin: 1.2rem 0;
    font-size: 0.95rem;
    color: #1e40af;
    border-left: 3px solid #3b82f6;
}

.drawing-info strong {
    color: #1e3a8a;
    font-weight: 700;
}

/* Page Title（精简版 - 用于详情页） */
.page-title {
    text-align: center;
    padding: 3rem 0; /* 从 4.5rem 降至 3rem */
    background: linear-gradient(135deg, #0a1628 0%, #1e3a8a 100%);
    color: #fff;
    position: relative;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px; /* 从 100px 降至 60px */
    height: 3px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

.page-title h1 {
    font-size: 2.6rem; /* 从 3rem 降至 2.6rem */
    font-weight: 900;
    letter-spacing: 6px;
    margin-bottom: 0.5rem;
    font-family: "Impact", "Arial Black", sans-serif;
}

.page-title p {
    opacity: 0.8;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #0a1628 0%, #0f172a 100%);
    color: #9ca3af;
    padding: 2rem 0;
    text-align: center;
    border-top: 3px solid #1e3a8a;
}

.site-footer p {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.site-footer a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 600;
}

.site-footer a:hover {
    color: #60a5fa;
}

/* ========== Responsive Design（重新设计响应式） ========== */

/* 中等桌面（1440×） */
@media (max-width: 1440px) {
    .container {
        max-width: 1200px;
        padding: 0 35px;
    }

    .product-grid {
        max-width: 1150px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .hero-content h2 {
        font-size: 3.2rem;
    }
}

/* 小桌面（1280×） */
@media (max-width: 1280px) {
    .container {
        max-width: 1050px;
        padding: 0 30px;
    }

    .logo {
        font-size: 2rem;
    }

    .main-nav a {
        padding: 0.9rem 1.4rem;
        font-size: 0.95rem;
    }

    .hero-content h2 {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }
}

/* 平板横屏（1024×） */
@media (max-width: 1024px) {
    .container {
        max-width: 850px;
        padding: 0 28px;
    }

    .site-header .container {
        height: 70px;
    }

    .logo {
        font-size: 1.8rem;
    }

    .main-nav a {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }

    .hero-industrial {
        padding: 3.5rem 0;
    }

    .hero-content h2 {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    /* 平板：产品卡仍保持双列 */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 100%;
    }

    .card-visual {
        height: 180px;
    }

    .model-number {
        font-size: 2.8rem;
    }

    .card-content {
        padding: 1.6rem;
    }

    .page-title h1 {
        font-size: 2.2rem;
    }
}

/* 手机竖屏（≤768px） */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 18px;
    }

    .site-header .container {
        height: 68px;
    }

    .logo {
        font-size: 1.6rem;
        letter-spacing: 3px;
    }

    .logo::after {
        font-size: 0.55rem;
        letter-spacing: 8px;
    }

    .main-nav a {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }

    /* Hero 大幅压缩 */
    .hero-industrial {
        padding: 3rem 0;
    }

    .hero-content h2 {
        font-size: 2rem;
        letter-spacing: 4px;
    }

    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 4px;
    }

    .hero-desc {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .btn-primary,
    .btn-secondary {
        display: block;
        width: 100%;
        margin-left: 0;
        margin-top: 0.6rem;
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

    .intro-section p {
        font-size: 0.7rem;
    }

    .product-hero {
        padding: 2rem 0;
    }

    .product-hero h1 {
        font-size: 2rem;
        letter-spacing: 3px;
    }

    .product-hero p {
        font-size: 0.95rem;
    }

    /* 手机端产品卡改为单列 */
    .product-grid {
        grid-template-columns: 1fr; /* 单列布局 */
        gap: 1.5rem;
        margin: 1.5rem auto;
    }

    .card-visual {
        height: 160px;
    }

    .model-number {
        font-size: 2.4rem;
    }

    .card-content {
        padding: 1.4rem;
    }

    .card-content h2 {
        font-size: 1.5rem;
    }

    .product-type {
        font-size: 0.95rem;
    }

    .product-info {
        font-size: 0.9rem;
    }

    /* Section 标题缩小 */
    .section-title {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .feature-item {
        padding: 1.4rem;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .feature-text strong {
        font-size: 1.05rem;
    }

    .content-section {
        padding: 1.6rem;
        margin: 1.2rem auto;
    }

    .content-section h2 {
        font-size: 1.3rem;
    }

    .content-section p {
        font-size: 0.95rem;
    }

    .tech-spec {
        grid-template-columns: 1fr;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .page-title {
        padding: 2.5rem 0;
    }

    .page-title h1 {
        font-size: 1.8rem;
        letter-spacing: 3px;
    }

    .page-title p {
        font-size: 0.95rem;
    }

    /* 手机端 Logo 和导航特殊处理 */
    .logo {
        font-size: 1.6rem !important;
        letter-spacing: 1px !important;
        white-space: nowrap;
    }

    .main-nav {
        flex-direction: column;
        gap: 5px;
    }

    .main-nav a {
        padding: 0.4rem 0.6rem !important;
        font-size: 0.75rem !important;
        text-align: center;
        letter-spacing: 2px;
    }
}

/* Utility */
.text-center { text-align: center; }
.text-muted { color: #6b7280; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
