/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0d47a1;
    --secondary: #1565c0;
    --accent: #00bcd4;
    --dark: #0a1929;
    --darker: #051422;
    --light: #f5f7fa;
    --white: #ffffff;
    --text: #1a202c;
    --text-light: #718096;
    --border: #e2e8f0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
}

/* 顶部导航 */
.main-header {
    background: var(--dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.header-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo-section {
    display: flex;
    flex-direction: column;
}

.brand-logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.2;
}

.brand-tagline {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2px;
}

.header-nav {
    display: flex;
    gap: 30px;
}

.nav-item {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-item:hover,
.nav-item.active {
    color: var(--accent);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 3px;
    transition: all 0.3s;
}

/* 主视觉横幅 */
.hero-banner {
    background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
    padding: 80px 0;
    color: var(--white);
}

.banner-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.banner-heading {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.banner-subheading {
    font-size: 20px;
    color: var(--accent);
    margin-bottom: 20px;
    font-weight: 500;
}

.banner-description {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.banner-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: #00acc1;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.3);
}

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

.btn-secondary:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.banner-visual {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.banner-visual img {
    width: 100%;
    height: auto;
    display: block;
}

/* 内容容器 */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 区块标题 */
.block-header {
    text-align: center;
    margin-bottom: 50px;
}

.block-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 15px;
}

.title-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 0 auto;
    border-radius: 2px;
}

/* 关于区块 */
.about-block {
    padding: 80px 0;
    background: var(--white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 20px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* 产品区块 */
.products-block {
    padding: 80px 0;
    background: var(--light);
}

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

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 30px;
}

.product-name {
    font-size: 22px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.product-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-features {
    list-style: none;
}

.product-features li {
    padding: 8px 0;
    color: var(--text);
    font-size: 14px;
    position: relative;
    padding-left: 20px;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* 优势区块 */
.advantages-block {
    padding: 80px 0;
    background: var(--white);
}

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

.advantage-item {
    text-align: center;
    padding: 40px 30px;
    background: var(--light);
    border-radius: 12px;
    transition: all 0.3s;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    background: var(--white);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent);
}

.advantage-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.advantage-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.advantage-text {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

/* 页面标题横幅 */
.page-banner {
    background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}

.page-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
}

/* 产品详情 */
.products-detail {
    padding: 60px 0;
    background: var(--white);
}

.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.showcase-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.showcase-image img {
    width: 100%;
    height: auto;
    display: block;
}

.showcase-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
}

.showcase-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 15px;
}

.showcase-content p:last-child {
    margin-bottom: 0;
}

.products-list {
    padding: 60px 0;
    background: var(--light);
}

/* 解决方案 */
.solutions-intro {
    padding: 60px 0;
    background: var(--white);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
}

.intro-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 15px;
}

.solutions-list {
    padding: 60px 0;
    background: var(--light);
}

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

.solution-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.solution-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solution-content {
    padding: 30px;
}

.solution-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.solution-content p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

/* 流程区块 */
.process-section {
    padding: 80px 0;
    background: var(--white);
}

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

.process-step {
    text-align: center;
    padding: 40px 30px;
    background: var(--light);
    border-radius: 12px;
    transition: all 0.3s;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    background: var(--white);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.process-step h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.process-step p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

/* 信息区块 */
.info-section {
    padding: 60px 0;
    background: var(--light);
}

.info-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.info-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
}

.info-content p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

/* 页脚 */
.main-footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 80px;
}

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

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

.footer-heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--accent);
}

.footer-text {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

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

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* 响应式设计 */
@media (max-width: 968px) {
    .banner-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .banner-visual {
        order: -1;
    }

    .product-showcase {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--dark);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: var(--shadow);
        transition: left 0.3s;
    }

    .header-nav.active {
        left: 0;
    }

    .header-nav .nav-item {
        display: block;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .banner-heading {
        font-size: 36px;
    }

    .block-title {
        font-size: 28px;
    }

    .products-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .banner-heading {
        font-size: 28px;
    }

    .page-title {
        font-size: 32px;
    }
}
