/* 道通智能风格完整CSS - 简洁现代无人机公司官网 */
:root {
    --primary: #0066cc;
    --primary-dark: #0052a3;
    --secondary: #1a1a1a;
    --gray: #666;
    --light-gray: #f8f8f8;
    --white: #fff;
    --border: #e5e5e5;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: #333; line-height: 1.6; font-size: 14px; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 头部导航 - 道通风格 */
.header { position: fixed; top: 0; left: 0; right: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); z-index: 1000; border-bottom: 1px solid rgba(0,0,0,0.05); }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 70px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; }
.logo img { height: 32px; width: auto; }

/* 导航菜单 - 横向排列 */
.nav { display: flex; align-items: center; gap: 0; height: 70px; }
.nav > li { position: relative; height: 100%; display: flex; align-items: center; }
.nav > li > a { display: flex; align-items: center; height: 100%; padding: 0 20px; font-size: 14px; font-weight: 500; color: #333; position: relative; }
.nav > li > a::before { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 2px; background: var(--primary); transition: 0.3s; }
.nav > li > a:hover::before { width: 60%; }
.nav > li:hover > a { color: var(--primary); }

/* 语言切换 */
.lang { display: flex; align-items: center; gap: 15px; font-size: 13px; }
.lang a { color: #999; }
.lang a:hover, .lang a.active { color: var(--primary); }
.lang span { color: #e5e5e5; }

/* 移动端菜单按钮 */
.mobile-menu { display: none; font-size: 24px; cursor: pointer; padding: 10px; }

@media (max-width: 992px) {
    .nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff; flex-direction: column; height: auto; padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
    .nav.show { display: flex; }
    .nav > li { width: 100%; height: auto; border-bottom: 1px solid #f0f0f0; }
    .nav > li:last-child { border-bottom: none; }
    .nav > li > a { padding: 15px 0; width: 100%; }
    .mobile-menu { display: block; }
}

/* 轮播图 */
.banner { height: 650px; position: relative; overflow: hidden; background: #000; }
.banner .swiper-slide { height: 650px; background-size: cover; background-position: center; position: relative; }
.banner .swiper-slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.4) 0%, transparent 50%, rgba(0,0,0,0.2) 100%); }
.banner-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: left; color: #fff; z-index: 2; width: 100%; max-width: 1200px; padding: 0 20px; }
.banner-content h2 { font-size: 48px; font-weight: 700; margin-bottom: 15px; line-height: 1.2; }
.banner-content p { font-size: 18px; margin-bottom: 30px; opacity: 0.9; max-width: 500px; }
.banner-btn { display: inline-block; padding: 14px 35px; background: var(--primary); color: #fff; border-radius: 4px; font-weight: 600; font-size: 14px; }
.banner-btn:hover { background: var(--primary-dark); }
.banner-pagination { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 10; }
.banner-pagination .swiper-pagination-bullet { width: 10px; height: 10px; background: rgba(255,255,255,0.5); border-radius: 50%; margin: 0 5px; }
.banner-pagination .swiper-pagination-bullet-active { background: #fff; }

@media (max-width: 768px) {
    .banner { height: 500px; }
    .banner .swiper-slide { height: 500px; }
    .banner-content h2 { font-size: 28px; }
    .banner-content p { font-size: 14px; }
}

/* 产品区 */
.products-section { padding: 80px 0; background: #fff; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 32px; font-weight: 700; margin-bottom: 12px; color: #1a1a1a; }
.section-header p { font-size: 15px; color: #666; }
.section-header a { display: inline-block; margin-top: 20px; color: var(--primary); font-weight: 500; }
.section-header a:hover { color: var(--primary-dark); }

.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: 0.3s; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); border-color: var(--primary); }
.product-card img { width: 100%; height: 200px; object-fit: cover; background: #f8f8f8; }
.product-info { padding: 20px; }
.product-info h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; color: #1a1a1a; }
.product-info p { font-size: 12px; color: #999; margin-bottom: 15px; line-height: 1.5; }
.product-link { color: var(--primary); font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; }
.product-link::after { content: ' →'; transition: 0.3s; }
.product-link:hover::after { margin-left: 5px; }

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

/* 解决方案 */
.solutions-section { padding: 80px 0; background: var(--light-gray); }
.solutions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.solution-card { position: relative; border-radius: 8px; overflow: hidden; height: 280px; }
.solution-card img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.solution-card:hover img { transform: scale(1.05); }
.solution-card .mask { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%); display: flex; align-items: flex-end; padding: 25px; color: #fff; }
.solution-card h3 { font-size: 18px; font-weight: 600; }

@media (max-width: 992px) {
    .solutions-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .solutions-grid { grid-template-columns: 1fr; }
}

/* 关于我们 */
.about-section { padding: 80px 0; background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img { border-radius: 8px; overflow: hidden; }
.about-img img { width: 100%; height: auto; }
.about-text h2 { font-size: 32px; font-weight: 700; margin-bottom: 20px; color: #1a1a1a; }
.about-text > p { color: #666; line-height: 1.8; margin-bottom: 15px; }
.about-text .desc { font-size: 13px; color: #999; line-height: 1.8; margin-bottom: 25px; }
.stats { display: flex; gap: 50px; margin-top: 30px; }
.stat-item { text-align: center; }
.stat-num { font-size: 36px; font-weight: 700; color: var(--primary); }
.stat-label { font-size: 13px; color: #999; margin-top: 5px; }

@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; }
    .stats { justify-content: flex-start; }
}

/* 新闻 */
.news-section { padding: 80px 0; background: var(--light-gray); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.news-card { background: #fff; border-radius: 8px; overflow: hidden; transition: 0.3s; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.news-card img { width: 100%; height: 200px; object-fit: cover; background: #f8f8f8; }
.news-info { padding: 20px; }
.news-info h3 { font-size: 15px; font-weight: 600; margin-bottom: 10px; color: #1a1a1a; line-height: 1.4; }
.news-info p { font-size: 13px; color: #999; margin-bottom: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-info .date { font-size: 12px; color: #bbb; }

@media (max-width: 992px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .news-grid { grid-template-columns: 1fr; }
}

/* 联系表单 */
.contact-section { padding: 80px 0; background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h3 { font-size: 24px; font-weight: 700; margin-bottom: 20px; color: #1a1a1a; }
.contact-info > p { font-size: 14px; color: #666; margin-bottom: 30px; }
.contact-info p { margin: 12px 0; color: #666; font-size: 14px; }
.contact-info strong { color: #1a1a1a; }
.contact-form { background: #f8f8f8; padding: 40px; border-radius: 8px; }
.contact-form h3 { font-size: 20px; margin-bottom: 25px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 14px 16px; margin-bottom: 15px; border: 1px solid #e5e5e5; border-radius: 4px; font-size: 14px; background: #fff; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary); }
.contact-form textarea { height: 120px; resize: vertical; }
.contact-form button { padding: 14px 40px; background: var(--primary); color: #fff; border: none; border-radius: 4px; font-size: 15px; font-weight: 600; cursor: pointer; transition: 0.3s; }
.contact-form button:hover { background: var(--primary-dark); }

@media (max-width: 992px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* 底部 */
.footer { background: var(--secondary); color: #999; padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand h3 { color: #fff; font-size: 20px; margin-bottom: 15px; }
.footer-brand p { font-size: 13px; line-height: 1.8; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 20px; }
.footer ul li { margin-bottom: 12px; }
.footer ul li a { font-size: 13px; }
.footer ul li a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid #333; padding-top: 25px; text-align: center; font-size: 12px; }

@media (max-width: 992px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* 页面标题 */
.page-hero { padding: 140px 0 60px; background: var(--light-gray); text-align: center; }
.page-hero h1 { font-size: 32px; font-weight: 700; color: #1a1a1a; }
.page-content { padding: 60px 0; }

/* 分页 */
.pagination { text-align: center; margin-top: 50px; }
.pagination a, .pagination span { display: inline-block; padding: 8px 14px; margin: 0 3px; background: #fff; border: 1px solid var(--border); border-radius: 4px; color: #666; font-size: 13px; }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .active { background: var(--primary); border-color: var(--primary); color: #fff; }
