* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif; line-height: 1.6; color: #333; }

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

/* 导航栏 */
.header { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: fixed; width: 100%; top: 0; z-index: 100; }
.header .container { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.logo { line-height: 1.15; }
.logo h1 { color: #1a73e8; font-size: 22px; font-weight: 700; letter-spacing: -0.3px; }
.logo span { display: block; color: #777; font-size: 11px; font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase; margin-top: 2px; }
.nav ul { display: flex; list-style: none; gap: 30px; }
.nav a { text-decoration: none; color: #555; font-size: 15px; font-weight: 500; transition: color 0.3s; }
.nav a:hover, .nav a.active { color: #1a73e8; }

/* 首页全屏轮播横幅 */
.hero-carousel {
    margin-top: 70px; /* offset for fixed header */
}

.hero-carousel-container {
    max-width: 100% !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.hero-slide {
    height: calc(100vh - 70px) !important;
    min-height: 520px !important;
    max-height: 900px !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, rgba(13,71,161,0.65) 0%, rgba(0,0,0,0.55) 100%);
}

.hero-overlay h2 {
    font-size: 48px;
    margin-bottom: 18px;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero-overlay p {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 28px;
    max-width: 700px;
    line-height: 1.8;
    color: #fff;
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

.btn-lg {
    padding: 14px 44px;
    font-size: 16px;
}
.btn { display: inline-block; padding: 12px 36px; background: #fff; color: #1a73e8; text-decoration: none; border-radius: 6px; font-weight: 600; transition: transform 0.3s; border: none; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }

/* 核心业务 */
.features { padding: 80px 0; background: #f8f9fa; }
.section-title { text-align: center; font-size: 32px; margin-bottom: 50px; color: #222; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; grid-auto-rows: 1fr; }
.feature-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    height: 100%;
}

.feature-card {
    background: #fff;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.feature-card-link:hover .feature-card {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.feature-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e8eaed;
}

.feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.feature-card-link:hover .feature-img {
    transform: scale(1.08);
}

.feature-card h3 {
    font-size: 18px;
    color: #222;
    margin: 0;
    padding: 22px 20px 10px 20px;
    line-height: 1.4;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-card p {
    font-size: 14px;
    color: #666;
    padding: 0 20px 24px 20px;
    margin: 0;
    flex: 1;
    line-height: 1.6;
    min-height: 96px;
}

/* 关于我们 */
.about-section { padding: 80px 0; }
.about-content p { font-size: 16px; color: #555; margin-bottom: 15px; max-width: 800px; margin-left: auto; margin-right: auto; }
.about-content { text-align: center; }

/* 页脚 */
.footer { background: #222; color: #fff; padding: 50px 0 20px; }
.footer-content { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 30px; }
.footer h4 { margin-bottom: 15px; font-size: 16px; }
.footer p, .footer a { color: #aaa; font-size: 14px; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid #444; padding-top: 20px; text-align: center; }
.footer-bottom p { color: #666; font-size: 13px; }

/* 内页横幅 */
.page-banner { background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%); color: #fff; padding: 140px 0 60px; text-align: center; }
.page-banner h2 { font-size: 36px; }

/* 内容区块 */
.content-section { padding: 60px 0; }
.content-section h3 { font-size: 24px; color: #222; margin-bottom: 20px; margin-top: 30px; }
.content-section h3:first-of-type { margin-top: 0; }
.content-section p { font-size: 15px; color: #555; margin-bottom: 15px; }
.content-section ul { margin-left: 20px; margin-bottom: 20px; }
.content-section li { font-size: 15px; color: #555; margin-bottom: 8px; }

/* 产品卡片 */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.product-card { background: #f8f9fa; padding: 30px; border-radius: 10px; border-left: 4px solid #1a73e8; }
.product-card h3 { font-size: 18px !important; margin-top: 0 !important; }
.product-card p { font-size: 14px !important; }

/* 解决方案 */
.solution-item { background: #f8f9fa; padding: 30px; border-radius: 10px; margin-bottom: 20px; }

/* 联系我们 */
.contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.contact-info p { margin-bottom: 10px !important; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; }
.contact-form textarea { resize: vertical; }

/* 品牌产品区块 */
.brand-section { margin-bottom: 50px; padding: 30px; background: #f8f9fa; border-radius: 10px; }
.brand-header { display: flex; gap: 25px; align-items: flex-start; margin-bottom: 20px; }
.brand-header-images { max-width: 600px; margin: 0 auto 20px auto; display: flex; justify-content: center; }
.brand-header-images figure { margin: 0; display: flex; flex-direction: column; align-items: center; }
.brand-header-images .product-img { width: 100%; max-width: 600px; height: 400px; object-fit: contain; background: #fff; padding: 10px; box-sizing: border-box; }
.brand-header-images figcaption { margin-top: 10px; font-size: 14px; color: #555; font-weight: 500; text-align: center; }
.product-img { width: 280px; height: 200px; object-fit: cover; border-radius: 8px; flex-shrink: 0; box-shadow: 0 3px 10px rgba(0,0,0,0.1); }
.brand-section h3 { color: #1a73e8; font-size: 22px; margin-bottom: 5px; }
@media (max-width: 768px) { .brand-header { flex-direction: column; } .product-img { width: 100%; height: 200px; } .brand-header-images { max-width: 100%; } .brand-header-images .product-img { height: 280px; } }
.brand-section h4 { font-size: 16px; color: #444; margin: 25px 0 10px; }
.brand-section p { margin-bottom: 15px; color: #555; }

/* 产品规格表 */
.spec-table { width: 100%; border-collapse: collapse; margin: 15px 0; font-size: 14px; }
.spec-table th { background: #1a73e8; color: #fff; padding: 10px 12px; text-align: left; font-weight: 600; }
.spec-table td { padding: 8px 12px; border-bottom: 1px solid #e0e0e0; color: #444; }
.spec-table tr:nth-child(even) { background: #fff; }
.spec-table tr:hover { background: #e8f0fe; }

/* 品牌首页服务更新 */
.page-banner { background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%); color: #fff; padding: 140px 0 60px; text-align: center; }
.page-banner h2 { font-size: 36px; }

/* ===== 轮播通用样式 (供后续页面内使用) ===== */
.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    border: 2px solid #fff;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: #fff;
    color: #1a73e8;
    transform: translateY(-2px);
}

/* Navigation Arrows */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.carousel-btn:hover {
    background: rgba(255,255,255,0.4);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev { left: 24px; }
.carousel-next { right: 24px; }

/* Dots */
.carousel-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid rgba(255,255,255,0.5);
}

.dot.active {
    background: #fff;
    border-color: #fff;
    transform: scale(1.25);
}

.dot:hover {
    background: rgba(255,255,255,0.7);
}

/* Hero Carousel Responsive */
@media (max-width: 768px) {
    .hero-overlay h2 { font-size: 28px !important; }
    .hero-overlay p { font-size: 15px !important; }
    .hero-slide { height: 480px !important; min-height: 480px !important; }
    .carousel-btn { width: 40px; height: 40px; font-size: 18px; }
    .carousel-prev { left: 12px; }
    .carousel-next { right: 12px; }
    .carousel-dots { bottom: 16px; }
    .dot { width: 12px; height: 12px; }
}

@media (max-width: 480px) {
    .hero-overlay h2 { font-size: 22px !important; }
    .hero-overlay p { font-size: 13px !important; }
    .hero-slide { height: 380px !important; min-height: 380px !important; }
    .carousel-btn { width: 34px; height: 34px; font-size: 14px; }
    .carousel-prev { left: 8px; }
    .carousel-next { right: 8px; }
}

/* 响应式 */
@media (max-width: 768px) {
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .footer-content { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; }
    .hero-overlay h2 { font-size: 32px; }
    .hero-slide { height: 480px !important; min-height: 480px !important; }
    .nav ul { gap: 15px; }
}
@media (max-width: 480px) {
    .feature-grid { grid-template-columns: 1fr; }
    .header .container { flex-direction: column; height: auto; padding: 10px 0; }
}
