/* --- 1. Modern Variables & Reset --- */
:root {
    --primary: #0ea5e9;      /* 科技青 */
    --primary-hover: #0284c7;
    --primary-soft: rgba(14, 165, 233, 0.1);
    
    --dark: #0f172a;         /* 深蓝黑 */
    --text-main: #334155;    /* 灰 */
    --text-light: #64748b;   /* 浅灰 */
    
    --bg-light: #f8fafc;
    --white: #ffffff;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    --radius: 16px;
    
    --font-main: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-main); color: var(--text-main); background: #fff; line-height: 1.6; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.text-center { text-align: center; }
.bg-soft { background: #f1f5f9; }

/* Typography */
h1, h2, h3, h4 { color: var(--dark); font-weight: 700; letter-spacing: -0.02em; }
.sec-head { margin-bottom: 60px; }
.sec-head h2 { font-size: 36px; margin-bottom: 15px; }
.sec-head p { font-size: 18px; color: var(--text-light); }
.flex-between { display: flex; justify-content: space-between; align-items: flex-end; }

/* Buttons */
.btn-primary {
    background: var(--primary); color: #fff;
    padding: 12px 30px; border-radius: 50px; font-weight: 600;
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
}
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); }

.btn-glass {
    background: rgba(255,255,255,0.7); backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.1); color: var(--dark);
    padding: 12px 30px; border-radius: 50px; font-weight: 600;
}
.btn-glass:hover { background: #fff; }

.btn-clean { color: var(--text-main); font-weight: 600; padding: 8px 16px; }
.btn-clean:hover { color: var(--primary); }

.btn-link { color: var(--primary); font-weight: 600; font-size: 14px; }
.btn-link:hover { text-decoration: underline; }

.btn-view-more {
    display: block; width: 100%; text-align: center;
    padding: 12px 0; background: var(--bg-light);
    color: var(--primary); font-weight: 600; font-size: 14px;
    border-radius: 8px; transition: 0.2s;
}
.btn-view-more:hover { background: var(--primary-soft); }

/* --- 2. Navbar --- */
#navbar {
    position: fixed; top: 0; width: 100%; height: 80px; z-index: 1000;
    background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.03);
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; height: 100%; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { font-size: 24px; color: var(--primary); }
.logo-text { font-size: 20px; font-weight: 700; color: var(--dark); }
.logo-text .light { font-weight: 300; }

.nav-links { display: flex; gap: 40px; }
.nav-links a { font-weight: 500; font-size: 15px; color: var(--text-main); position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a.active::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 100%; height: 2px; background: var(--primary); border-radius: 2px; }

.nav-right { display: flex; align-items: center; gap: 20px; }
.mobile-menu-btn { display: none; font-size: 24px; cursor: pointer; }

/* --- 3. Hero --- */
.hero { padding: 120px 0 80px; position: relative; overflow: hidden; }
.hero-bg {
    position: absolute; top: -50%; right: -20%; width: 80%; height: 200%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
}

.hero-content { display: flex; align-items: center; gap: 60px; }
.hero-text { flex: 1; }
.hero-visual { flex: 1; position: relative; }

.badge-tech { 
    display: inline-block; background: var(--primary-soft); color: var(--primary);
    padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 600; letter-spacing: 1px; margin-bottom: 20px;
}
.hero h1 { font-size: 56px; line-height: 1.1; margin-bottom: 25px; }
.text-gradient {
    background: linear-gradient(135deg, var(--primary), #6366f1);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p { font-size: 18px; color: var(--text-light); margin-bottom: 40px; max-width: 500px; }
.hero-btns { display: flex; gap: 20px; }

.main-img { border-radius: 24px; box-shadow: var(--shadow-lg); }
.float-spec {
    position: absolute; background: #fff; padding: 12px 20px; border-radius: 12px;
    box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 15px;
    animation: float 4s ease-in-out infinite;
}
.float-spec i { font-size: 20px; color: var(--primary); }
.float-spec strong { display: block; font-size: 16px; line-height: 1.2; }
.float-spec span { font-size: 12px; color: var(--text-light); }
.s1 { top: 20%; left: -30px; }
.s2 { bottom: 20%; right: -30px; animation-delay: 2s; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* --- 4. Products --- */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.prod-card {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    border: 1px solid rgba(0,0,0,0.03); transition: 0.3s;
}
.prod-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.prod-img { height: 240px; overflow: hidden; position: relative; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.prod-card:hover .prod-img img { transform: scale(1.05); }
.tag {
    position: absolute; top: 15px; left: 15px; background: var(--dark); color: #fff;
    padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 600;
}

.prod-info { padding: 30px; }
.prod-info h3 { font-size: 20px; margin-bottom: 10px; }
.prod-info .desc { font-size: 14px; color: var(--text-light); margin-bottom: 20px; min-height: 44px; }
.specs { display: flex; gap: 15px; margin-bottom: 25px; }
.specs span { font-size: 12px; color: var(--text-main); display: flex; align-items: center; gap: 5px; background: var(--bg-light); padding: 4px 10px; border-radius: 6px; }
.specs i { color: var(--primary); font-size: 10px; }

/* --- 5. Features --- */
.feature-wrap { display: flex; align-items: center; gap: 80px; }
.feature-text { flex: 1; }
.sub-title { color: var(--primary); font-weight: 700; font-size: 13px; letter-spacing: 1px; margin-bottom: 10px; display: block; }
.feature-text h2 { font-size: 42px; margin-bottom: 20px; }
.feature-text p { font-size: 16px; color: var(--text-light); margin-bottom: 30px; }

.check-list li { margin-bottom: 12px; color: var(--text-main); display: flex; align-items: center; gap: 10px; }
.check-list i { color: var(--primary); }

.feature-grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.f-box { background: #fff; padding: 30px; border-radius: 16px; box-shadow: var(--shadow-sm); text-align: center; }
.f-box i { font-size: 32px; color: var(--primary); margin-bottom: 15px; }
.f-box h4 { font-size: 18px; margin-bottom: 5px; }
.f-box p { font-size: 13px; color: var(--text-light); }

/* --- 6. News (Modern Dash Style) --- */
.news-cols-modern {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}

.news-card-col {
    background: #fff;
    border-radius: var(--radius);
    padding: 25px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column;
}
.news-card-col:hover { box-shadow: var(--shadow-md); border-color: transparent; }

.col-head { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #f1f5f9; }
.icon-bg { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; }
.blue { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.green { background: linear-gradient(135deg, #10b981, #34d399); }
.purple { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }

.col-head h4 { margin: 0; font-size: 18px; }

.news-list-clean { flex: 1; margin-bottom: 20px; }
.news-list-clean li { margin-bottom: 15px; }
.news-list-clean a { display: block; }
.news-list-clean .title { font-size: 15px; font-weight: 500; color: var(--text-main); line-height: 1.5; margin-bottom: 4px; display: block; transition: 0.2s; }
.news-list-clean a:hover .title { color: var(--primary); }
.news-list-clean .date { font-size: 12px; color: #94a3b8; }

/* --- 7. Footer --- */
footer { background: #fff; padding: 80px 0 30px; border-top: 1px solid #f1f5f9; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; padding-bottom: 40px; border-bottom: 1px solid #f1f5f9; }
.f-left h3 { font-size: 20px; color: var(--dark); margin-bottom: 5px; }
.f-left p { color: var(--text-light); font-size: 14px; }

.f-links a { color: var(--text-main); margin: 0 15px; font-weight: 500; font-size: 14px; }
.f-links a:hover { color: var(--primary); }

.f-social a { color: #cbd5e1; font-size: 20px; margin-left: 20px; }
.f-social a:hover { color: var(--primary); }

.f-copy { text-align: center; color: #cbd5e1; font-size: 13px; margin-top: 30px; }

/* Responsive */
@media (max-width: 992px) {
    .hero-content, .feature-wrap { flex-direction: column; }
    .prod-grid, .news-cols-modern { grid-template-columns: 1fr; }
    .nav-links, .nav-right .btn-primary, .nav-right .btn-clean { display: none; }
    .mobile-menu-btn { display: block; }
    .hero h1 { font-size: 42px; }
    .feature-grid { width: 100%; }
    .footer-inner { flex-direction: column; gap: 30px; }
}
