/* styles.css - V30.0 Engineering Aesthetics & Tech-Trust Edition */

/* --- ROOT VARIABLES & RESET --- */
:root {
    /* 核心色彩体系升级 */
    --primary: #0F172A; /* 现有深蓝，用于正文和明亮背景文字 */
    --dark-bg: #121212; /* V30新增：深空灰，用于沉浸式科技板块背景 */
    --secondary: #334155; /* 次级文本颜色 */
    --silver: #94a3b8; /* V30新增：质感银，用于深色背景下的辅助文字 */
    
    --accent: #007AFF; /* V30核心升级：科技蓝，替代部分原有蓝色，更具科技感 */
    --gold: #D97706; /* 保留品牌金色，用于强调和CTA */
    
    --bg-light: #F8FAFC; /* 明亮背景 */
    --white: #ffffff;
    --border: #E2E8F0;
    
    --font-main: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); color: var(--primary); line-height: 1.7; background-color: var(--white); }
a { text-decoration: none; color: inherit; transition: 0.3s; cursor: pointer; }
ul { list-style: none; } img { max-width: 100%; height: auto; display: block; }

/* --- TYPOGRAPHY (V30 升级：更具冲击力) --- */
.container { width: 90%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 120px 0; }

/* 新增：深色沉浸式背景实用类 */
.bg-dark { background-color: var(--dark-bg); color: var(--silver); }
.bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5 { color: white; }
.bg-dark p { color: var(--silver); }

.bg-light { background-color: var(--bg-light); }
.text-center { text-align: center; }

h1, h2, h3, h4, h5 { font-family: var(--font-main); /* V30调整：标题回归无衬线体，更现代工整 */ font-weight: 800; line-height: 1.1; letter-spacing: -0.5px; }
h1 { font-size: 4.5rem; letter-spacing: -2px; color: white; line-height: 1.1; text-transform: uppercase; }
h2 { font-size: 3rem; color: var(--primary); margin-bottom: 1.5rem; }
h3 { font-size: 1.8rem; margin-bottom: 15px; }
p { margin-bottom: 1.5rem; color: var(--secondary); font-size: 1.1rem; max-width: 800px; }

/* V30优化：Section Tag 更具科技感 */
.section-tag { display: inline-block; font-size: 0.85rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; display: flex; align-items: center; }
.section-tag::before { content: ''; width: 20px; height: 2px; background: var(--accent); margin-right: 10px; }
.bg-dark .section-tag { color: var(--accent); }

/* 新增：科技蓝文字强调 */
.tech-accent { color: var(--accent); }

/* --- BUTTONS (V30 升级) --- */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 18px 40px; border-radius: 4px; font-weight: 700; text-transform: uppercase; font-size: 0.9rem; cursor: pointer; transition: all 0.3s ease; border: 2px solid transparent; letter-spacing: 1px; }
.btn-gold { background: var(--gold); color: white; border-color: var(--gold); box-shadow: 0 4px 20px rgba(217, 119, 6, 0.4); } .btn-gold:hover { background: #b45309; border-color: #b45309; transform: translateY(-2px); }
/* 新增：科技蓝按钮 */
.btn-tech { background: var(--accent); color: white; border-color: var(--accent); box-shadow: 0 4px 20px rgba(0, 122, 255, 0.4); } .btn-tech:hover { background: #0062cc; border-color: #0062cc; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); } .btn-outline:hover { background: var(--primary); color: white; }
.btn-outline-white { background: transparent; color: white; border-color: rgba(255,255,255,0.4); } .btn-outline-white:hover { border-color: white; background: rgba(255,255,255,0.1); }

/* --- NAVIGATION (保持专业简洁) --- */
.navbar { position: fixed; top: 0; left: 0; width: 100%; height: 90px; background: rgba(255,255,255,0.98); border-bottom: 1px solid #eee; z-index: 1000; display: flex; align-items: center; backdrop-filter: blur(10px); }
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.brand { display: flex; align-items: center; }
.brand img { height: auto; width: 180px; max-height: 70px; object-fit: contain; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; position: relative; }
.nav-links a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background-color: var(--accent); transition: width 0.3s; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { background: var(--primary); color: white !important; padding: 12px 28px; border-radius: 4px; } .nav-cta::after { display: none; }
.mobile-menu-btn { display: none; font-size: 1.5rem; cursor: pointer; }

/* --- HERO SECTION (V30 工程美学升级) --- */
.hero { position: relative; padding-top: 260px; padding-bottom: 220px; text-align: left; color: white; background-color: var(--dark-bg); overflow: hidden; }
/* 使用伪元素添加科技感暗纹背景叠加 */
.hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: url('hero-bg.jpg'); background-size: cover; background-position: center; opacity: 0.4; mix-blend-mode: luminosity; z-index: 1; }
/* 添加一个科技蓝的渐变叠加，增强氛围 */
.hero::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(45deg, rgba(15, 23, 42, 0.9), rgba(0, 122, 255, 0.2)); z-index: 2; }
.hero .container { position: relative; z-index: 3; }
.hero h1 { max-width: 900px; margin-bottom: 20px; }
.hero p { color: var(--silver); font-size: 1.3rem; max-width: 700px; margin-bottom: 40px; font-weight: 400; }

/* --- STATS BOXES (V30 科技感微调) --- */
.hero-stats { background: white; padding: 50px; margin-top: -80px; border-radius: 4px; box-shadow: 0 20px 50px rgba(0,0,0,0.1); border-bottom: 4px solid var(--accent); /* 改为科技蓝底部条 */ position: relative; z-index: 20; }
.stat-box h3 { font-size: 2.5rem; color: var(--primary); font-weight: 800; }
.stat-box p { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; color: var(--accent); }

/* --- TRUST BAR --- */
.trust-bar { padding: 60px 0; border-bottom: 1px solid var(--border); }
.trust-item { font-weight: 800; font-size: 1.5rem; color: #94a3b8; opacity: 0.6; transition: all 0.3s ease; text-transform: uppercase; }
.trust-item:hover { opacity: 1; color: var(--primary); }

/* --- V30 NEW: TECH-VISUALIZATION LAB SECTION --- */
/* 专门用于新的深色研发板块 */
.tech-grid-item { background: rgba(255,255,255,0.05); padding: 40px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); transition: 0.3s; }
.tech-grid-item:hover { background: rgba(255,255,255,0.08); border-color: var(--accent); transform: translateY(-5px); }
.tech-grid-item i { font-size: 2.5rem; color: var(--accent); margin-bottom: 20px; }
.tech-grid-item h4 { font-size: 1.3rem; margin-bottom: 15px; }
.tech-grid-item p { font-size: 0.95rem; margin-bottom: 0; }

/* --- CARDS & GRIDS (通用) --- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

/* Standard Feature Card */
.feature-card { background: white; padding: 0; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); transition: all 0.4s ease; box-shadow: 0 5px 15px rgba(0,0,0,0.05); display: flex; flex-direction: column; }
.feature-card:hover { border-color: var(--accent); transform: translateY(-10px); box-shadow: 0 25px 50px rgba(0,0,0,0.1); }
.card-img { height: 260px; width: 100%; object-fit: cover; transition: 0.4s; }
.feature-card:hover .card-img { transform: scale(1.05); }
.card-body { padding: 40px; flex-grow: 1; display: flex; flex-direction: column; }
.card-body li { margin-bottom: 12px; display: flex; align-items: center; font-weight: 500; }
.card-body i { color: var(--accent); margin-right: 12px; }

/* --- B2B VISUAL CATALOG ITEMS --- */
.catalog-item { text-align: left; padding: 30px; cursor: pointer; border-radius: 8px; border: 1px solid var(--border); background: white; transition: all 0.3s ease; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.catalog-item:hover { border-color: var(--accent); box-shadow: 0 15px 40px rgba(0, 122, 255, 0.15); transform: translateY(-5px); }
.catalog-item h5 { font-size: 1.1rem; margin-bottom: 20px; color: var(--primary); display: flex; align-items: center; justify-content: space-between; font-weight: 700; }
.catalog-item h5 i { color: var(--accent); opacity: 0.8; font-size: 1.2rem; transition: 0.3s; }
.catalog-item:hover h5 i { color: var(--accent); opacity: 1; transform: scale(1.1); }
.mini-prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 25px; }
.mini-thumb { width: 100%; height: 60px; object-fit: cover; border-radius: 4px; background-color: #f1f5f9; border: 1px solid #eee; transition: 0.3s; }
.catalog-item:hover .mini-thumb { border-color: var(--accent); }
.mini-more { height: 60px; background-color: #f8fafc; border-radius: 4px; border: 1px solid #eee; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; font-weight: 700; color: var(--secondary); transition: 0.3s; }
.catalog-item:hover .mini-more { background-color: var(--accent); color: white; border-color: var(--accent); }
.catalog-meta { margin-top: auto; font-size: 0.85rem; color: var(--secondary); display: flex; justify-content: space-between; align-items: center; padding-top: 20px; border-top: 1px solid #f1f5f9; font-weight: 600; }
.sku-count { color: var(--primary); }
.view-link { color: var(--accent); transition: 0.3s; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 1px; }
.catalog-item:hover .view-link { color: var(--primary); }

/* --- TESTIMONIALS --- */
.testimonial-card { background: white; padding: 40px; border-radius: 8px; box-shadow: 0 15px 35px rgba(0,0,0,0.05); position: relative; border: 1px solid var(--border); }
.testimonial-quote { font-size: 1.1rem; font-style: italic; color: var(--secondary); margin-bottom: 30px; line-height: 1.8; font-family: var(--font-serif); }
.testimonial-author { display: flex; align-items: center; }
.author-avatar { width: 60px; height: 60px; border-radius: 50%; background-color: #ddd; margin-right: 20px; object-fit: cover; }
.author-info h5 { margin-bottom: 5px; color: var(--primary); }
.author-info span { font-size: 0.9rem; color: var(--accent); font-weight: 600; }

/* --- CTA BANNER --- */
/* V30升级：使用深色背景+科技蓝强调 */
.cta-banner { background: var(--dark-bg); color: white; text-align: center; padding: 120px 0; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('hero-bg.jpg') no-repeat center center; background-size: cover; opacity: 0.1; mix-blend-mode: overlay; }
.cta-banner h2 { color: white; font-size: 3.5rem; margin-bottom: 30px; text-transform: uppercase; letter-spacing: -1px; }
.cta-banner p { color: var(--silver); max-width: 700px; margin: 0 auto 50px; font-size: 1.2rem; }

/* --- FOOTER --- */
.footer { background: var(--dark-bg); color: var(--silver); padding: 100px 0 40px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer h3 { color: white; font-family: var(--font-main); text-transform: uppercase; letter-spacing: 2px; }
.footer h4 { color: white; margin-bottom: 30px; text-transform: uppercase; font-size: 1rem; letter-spacing: 1px; font-weight: 700; }
.contact-list li { display: flex; align-items: flex-start; margin-bottom: 20px; color: var(--silver); }
.contact-list i { color: var(--accent); margin-right: 15px; font-size: 1.1rem; margin-top: 5px; }
.social-links a { background: rgba(255,255,255,0.05); color: white; border: 1px solid rgba(255,255,255,0.1); }
.social-links a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-4px); color: white; }
.copyright { border-top: 1px solid rgba(255,255,255,0.05); margin-top: 60px; padding-top: 30px; text-align: center; font-size: 0.9rem; color: rgba(255,255,255,0.4); }

/* --- FLOATING BTN --- */
.floating-cta { position: fixed; bottom: 30px; right: 30px; z-index: 999; background: #25D366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4); transition: 0.3s; }
.floating-cta:hover { transform: scale(1.1); }

/* --- B2B Specs Table Styles --- */
.specs-container { overflow-x: auto; background: white; border-radius: 8px; box-shadow: 0 5px 25px rgba(0,0,0,0.05); margin-bottom: 60px; border: 1px solid var(--border); }
.specs-table th { background: #f1f5f9; color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.75rem; }
.specs-highlight { color: var(--accent); font-weight: 700; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    h1 { font-size: 3rem; } h2 { font-size: 2.2rem; }
    .section-padding { padding: 80px 0; }
    .grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; gap: 50px; }
    .mini-prod-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-grid, .footer-cta-box, .social-links { text-align: center; justify-content: center; }
    .nav-links { display: none; position: absolute; top: 90px; left: 0; width: 100%; background: white; flex-direction: column; padding: 30px 0; border-bottom: 1px solid #eee; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
    .nav-links.active { display: flex; } .mobile-menu-btn { display: block; }
    .cta-banner h2 { font-size: 2.5rem; }
    .hero-stats { margin-top: 40px; border-bottom: none; padding: 40px 20px; }
    .hero { text-align: center; } .hero h1 { margin-left: auto; margin-right: auto; } .hero p { margin-left: auto; margin-right: auto; }
}
