/* 往还智联 - 科技感风格样式表 */

/* ========== 基础样式 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00d4ff;
    --primary-dark: #0099cc;
    --secondary: #1a1a2e;
    --bg-dark: #0f0f1e;
    --bg-card: #16213e;
    --text-light: #ffffff;
    --text-gray: #b0b0b0;
    --accent: #00d4ff;
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    --gradient-dark: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 100%);
    --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

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

/* ========== 导航栏 ========== */
.navbar {
    background: rgba(15, 15, 30, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.logo {
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.tagline {
    color: var(--text-gray);
    font-size: 0.9rem;
}

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

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* ========== 页面标题 ========== */
.page-header {
    background: linear-gradient(rgba(15, 15, 30, 0.8), rgba(15, 15, 30, 0.8)),
                linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 100%);
    padding: 120px 0 60px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-header p {
    color: var(--text-gray);
    font-size: 1.2rem;
}

/* ========== Hero Banner ========== */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(15, 15, 30, 0.7), rgba(15, 15, 30, 0.7)),
                url('../images/hero-bg.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: 70px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-dark);
    opacity: 0.85;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5)); }
    50% { filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.8)); }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 40px;
}

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

.btn {
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-dark);
    font-weight: 600;
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    box-shadow: var(--shadow-glow);
}

/* ========== 企业亮点 ========== */
.features {
    padding: 80px 0;
    background: var(--bg-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* ========== 核心产品 ========== */
.products-preview {
    padding: 80px 0;
    background: var(--secondary);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
}

.product-image {
    height: 250px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.3rem;
    color: var(--text-light);
}

.product-card p {
    padding: 0 20px 15px;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.btn-link {
    display: block;
    padding: 15px 20px;
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary);
    text-decoration: none;
    text-align: center;
    transition: all 0.3s;
}

.btn-link:hover {
    background: rgba(0, 212, 255, 0.2);
}

/* ========== 客户Logo墙 ========== */
.clients {
    padding: 80px 0;
    background: var(--bg-dark);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.client-logo {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s;
}

.client-logo:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
}

/* ========== 页脚 ========== */
.footer {
    background: var(--secondary);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    color: var(--primary);
    margin-bottom: 20px;
}

.footer-section p {
    color: var(--text-gray);
    margin-bottom: 10px;
}

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

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

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

.footer-section ul li a:hover {
    color: var(--primary);
}

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

/* ========== 首页产品展示（12类别缩略图）========== */
.home-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.home-product-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s;
}

.home-product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
}

.home-product-img {
    height: 180px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    overflow: hidden;
}

.home-product-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.home-product-card:hover .home-product-img img {
    transform: scale(1.05);
}

.home-product-card h3 {
    padding: 14px 16px;
    font-size: 0.95rem;
    color: var(--text-light);
    text-align: center;
    font-weight: 500;
}

@media (max-width: 992px) {
    .home-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .home-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .home-product-img {
        height: 140px;
    }
}

/* ========== 关于我们页面 ========== */

/* 公司简介区域 */
.about-intro {
    padding: 80px 0;
    background: var(--bg-dark);
}

.about-text-block {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.about-text-block h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.about-text-block h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.about-text-block .lead {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 18px;
}

.about-text-block p {
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.9;
}

/* 数据统计卡片 */
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    padding: 35px 20px;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-gray);
    font-size: 1rem;
}

/* 核心优势区域 */
.advantages-section {
    padding: 80px 0;
    background: var(--secondary);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.advantage-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s;
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
}

.advantage-icon {
    font-size: 2.5rem;
    margin-bottom: 18px;
}

.advantage-card h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.advantage-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* 应用领域区域 */
.applications-section {
    padding: 80px 0;
    background: var(--bg-dark);
}

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

.app-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 12px;
    padding: 40px 25px;
    text-align: center;
    transition: all 0.3s;
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
}

.app-icon {
    font-size: 2.8rem;
    margin-bottom: 18px;
}

.app-card h3 {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.app-card p {
    color: var(--text-gray);
    font-size: 0.93rem;
    line-height: 1.7;
}

/* 关于我们页面响应式 */
@media (max-width: 768px) {
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== 响应式设计 ========== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-menu {
        display: none;
    }
    
    .features-grid,
    .products-grid,
    .clients-grid {
        grid-template-columns: 1fr;
    }
}
