/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 通用区块 */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #222;
    margin-bottom: 16px;
}

.section-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #1890ff, #096dd9);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-desc {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* 按钮 */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #1890ff, #096dd9);
    color: #fff;
    box-shadow: 0 4px 15px rgba(24, 144, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24, 144, 255, 0.4);
}

/* ========== 头部导航 ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.header-scrolled {
    background: rgba(26, 26, 26, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 40px;
    width: auto;
}

.company-name {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

.nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1890ff;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #fff;
}

.nav-link:hover::after {
    width: 100%;
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* 移动端菜单 */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-link {
    display: block;
    padding: 14px 30px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    color: #1890ff;
    background: rgba(255, 255, 255, 0.05);
}

/* ========== Hero区域 ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 70px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0c1929 0%, #1a365d 50%, #0c1929 100%);
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(24, 144, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(9, 109, 217, 0.15) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
    letter-spacing: 4px;
}

.hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

/* ========== 关于我们 ========== */
.about {
    background: #fafafa;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-title {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin-bottom: 24px;
}

.about-desc {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.info-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.info-label {
    font-size: 13px;
    color: #999;
    margin-bottom: 4px;
}

.info-value {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.about-image {
    flex-shrink: 0;
    width: 320px;
}

.about-logo-box {
    width: 320px;
    height: 320px;
    background: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.about-logo {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

/* ========== 主营业务 ========== */
.services {
    background: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    padding: 40px 32px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(24, 144, 255, 0.12);
    border-color: #1890ff;
}

.service-icon {
    font-size: 56px;
    margin-bottom: 24px;
}

.service-title {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin-bottom: 16px;
}

.service-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* ========== 产品展示 ========== */
.products {
    background: #fafafa;
}

.product-showcase {
    max-width: 900px;
    margin: 0 auto;
}

.product-card {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 50px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.product-logo-wrap {
    flex-shrink: 0;
}

.product-logo-placeholder {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #1890ff, #722ed1);
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(24, 144, 255, 0.3);
}

.product-logo-text {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
}

.product-info {
    flex: 1;
}

.product-name {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}

.product-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #e6f7ff;
    color: #1890ff;
    font-size: 13px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.product-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.feature-tag {
    padding: 6px 14px;
    background: #f5f5f5;
    color: #666;
    font-size: 13px;
    border-radius: 20px;
}

.product-tip {
    font-size: 14px;
    color: #1890ff;
    font-weight: 500;
}

/* ========== 联系我们 ========== */
.contact {
    background: #fff;
}

.contact-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    font-size: 28px;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #e6f7ff, #bae7ff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-label {
    font-size: 13px;
    color: #999;
    margin-bottom: 6px;
}

.contact-value {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.contact-value a {
    color: #1890ff;
    transition: color 0.3s ease;
}

.contact-value a:hover {
    color: #096dd9;
}

.contact-qrcode {
    flex-shrink: 0;
}

.qrcode-box {
    width: 200px;
    padding: 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.qrcode-img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    margin: 0 auto 12px;
}

.qrcode-text {
    font-size: 14px;
    color: #666;
}

/* ========== 页脚 ========== */
.footer {
    background: #1a1a1a;
    padding: 50px 0 30px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    height: 36px;
    width: auto;
}

.footer-company {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.footer-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-record a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.footer-record a:hover {
    color: #1890ff;
}

/* ========== 响应式设计 ========== */
/* 平板端 */
@media (max-width: 992px) {
    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 30px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .about-content {
        flex-direction: column-reverse;
        gap: 40px;
    }

    .about-image {
        width: 280px;
    }

    .about-logo-box {
        width: 280px;
        height: 280px;
    }

    .about-info {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }

    .product-features {
        justify-content: center;
    }

    .contact-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* 移动端 */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 26px;
    }

    .section-desc {
        font-size: 14px;
    }

    /* 头部 */
    .header-container {
        height: 60px;
    }

    .logo {
        height: 32px;
    }

    .company-name {
        font-size: 15px;
    }

    .nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .mobile-menu {
        display: block;
        top: 60px;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding-top: 60px;
    }

    .hero-content {
        padding: 60px 16px;
    }

    .hero-title {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 16px;
        letter-spacing: 2px;
        margin-bottom: 12px;
    }

    .hero-desc {
        font-size: 15px;
        margin-bottom: 32px;
    }

    .btn {
        padding: 12px 30px;
        font-size: 15px;
    }

    /* 关于我们 */
    .about-title {
        font-size: 22px;
    }

    .about-desc {
        font-size: 15px;
    }

    .about-info {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .info-item {
        padding: 14px;
    }

    .about-image {
        width: 220px;
    }

    .about-logo-box {
        width: 220px;
        height: 220px;
    }

    /* 主营业务 */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 32px 24px;
    }

    .service-icon {
        font-size: 48px;
        margin-bottom: 20px;
    }

    .service-title {
        font-size: 18px;
    }

    /* 产品展示 */
    .product-card {
        padding: 30px 20px;
        gap: 30px;
    }

    .product-logo-placeholder {
        width: 140px;
        height: 140px;
        border-radius: 24px;
    }

    .product-logo-text {
        font-size: 26px;
    }

    .product-name {
        font-size: 22px;
    }

    .product-desc {
        font-size: 14px;
    }

    /* 联系我们 */
    .contact-item {
        padding: 16px 0;
    }

    .contact-icon {
        width: 42px;
        height: 42px;
        font-size: 22px;
        border-radius: 10px;
    }

    .contact-value {
        font-size: 15px;
    }

    .qrcode-box {
        width: 180px;
        padding: 16px;
    }

    .qrcode-img {
        width: 148px;
        height: 148px;
    }

    /* 页脚 */
    .footer {
        padding: 40px 0 24px;
    }

    .footer-logo {
        height: 30px;
    }

    .footer-company {
        font-size: 14px;
    }

    .footer-info p {
        font-size: 13px;
    }

    .footer-bottom {
        font-size: 12px;
        padding-top: 20px;
    }
}

/* 小屏手机 */
@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
        letter-spacing: 1px;
    }

    .company-name {
        font-size: 14px;
    }

    .section-title {
        font-size: 24px;
    }
}
