/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a365d;
    --primary-light: #2c5282;
    --accent: #3182ce;
    --accent-hover: #2c5282;
    --text: #2d3748;
    --text-light: #4a5568;
    --bg: #f7fafc;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
}

html {
    scroll-behavior: smooth;
}

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

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

/* 导航栏 */
.navbar {
    background: var(--primary);
    color: var(--white);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
    background: transparent;
    border-radius: 8px;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
}

.nav-menu a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

.nav-menu a.active {
    color: var(--white);
    background: rgba(255,255,255,0.15);
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #63b3ed;
    font-weight: 600;
    background: rgba(99, 179, 237, 0.1);
    padding: 8px 14px;
    border-radius: 20px;
}

.nav-contact::before {
    content: "📞";
    font-size: 0.9rem;
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* Hero区域 */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #2d5a8a 100%);
    color: var(--white);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 500px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-product-img {
    max-width: 480px;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    object-fit: cover;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(49, 130, 206, 0.4);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(49, 130, 206, 0.5);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1.5px solid var(--accent);
}

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

/* 通用区块 */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* 核心业务 */
.business {
    background: var(--white);
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.business-card {
    background: var(--bg);
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.business-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(49, 130, 206, 0.1);
}

.business-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent), #63b3ed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 24px;
    box-shadow: 0 4px 15px rgba(49, 130, 206, 0.3);
}

.business-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.business-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.link-arrow {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.3s;
}

.link-arrow:hover {
    gap: 8px;
    color: var(--accent-hover);
}

/* 品牌展示 */
.brands {
    background: linear-gradient(180deg, var(--bg) 0%, var(--white) 100%);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.brand-item {
    background: var(--white);
    padding: 16px 12px;
    text-align: center;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    border: 1px solid #e2e8f0;
}

.brand-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.brand-logo-img {
    max-width: 130px;
    max-height: 45px;
    width: auto;
    height: auto;
    object-fit: contain;
}
    color: var(--text-light);
}

/* 应用领域 */
.applications {
    background: var(--white);
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 35px 20px;
    background: var(--bg);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.app-item:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.app-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), #63b3ed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.app-item:hover .app-icon {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

.app-item span:last-child {
    font-weight: 600;
    font-size: 0.95rem;
}

/* 公司简介 */
.company-intro {
    background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
}

.company-intro .content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.company-intro p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: justify;
}

.company-intro .values {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    margin: 30px 0;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--accent);
}

.company-intro .values strong {
    color: var(--primary);
    font-size: 1.1rem;
}

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 12px;
}

.cta p {
    opacity: 0.9;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

/* 页脚 */
footer {
    background: #0f1720;
    color: rgba(255,255,255,0.7);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3 {
    color: var(--white);
    margin-bottom: 12px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-info p {
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: 1rem;
}

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

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

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

.footer-links a:hover {
    color: #63b3ed;
}

.footer-contact p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-contact strong {
    color: rgba(255,255,255,0.9);
}

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

/* ========== 内页通用样式 ========== */

.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.page-header p {
    opacity: 0.9;
    font-size: 1.05rem;
}

/* 内容区块 */
.content-section {
    background: var(--white);
    padding: 60px 0;
}

.content-section:nth-child(even) {
    background: var(--bg);
}

.content-section h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--primary);
}

.content-section p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

/* 品牌卡片 */
.brand-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.brand-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(49, 130, 206, 0.2);
}

.brand-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.brand-card-logo {
    width: 80px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 10px;
    font-size: 1.1rem;
    font-weight: 700;
}

.brand-card-logo-img {
    height: 50px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-logo-img {
    height: 24px;
    width: auto;
    vertical-align: middle;
    margin-right: 4px;
}

.brand-card h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin: 0;
}

.brand-card p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.7;
}

.brand-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.tag {
    background: #e6fffa;
    color: #234e52;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.tag-outline {
    background: transparent;
    border: 1px solid #e2e8f0;
    color: var(--text-light);
}

/* 应用卡片 */
.app-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.app-card:hover {
    box-shadow: var(--shadow-md);
}

.app-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.app-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent), #63b3ed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.app-card h3 {
    color: var(--primary);
    font-size: 1.2rem;
    margin: 0;
}

.app-card p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.7;
}

.app-card strong {
    color: var(--text);
}

/* 联系信息 */
.contact-info {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    margin-bottom: 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--bg);
    border-radius: var(--radius-sm);
}

.contact-item-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--accent), #63b3ed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item-content strong {
    display: block;
    color: var(--primary);
    margin-bottom: 4px;
}

.contact-item-content a {
    color: var(--accent);
    text-decoration: none;
}

.contact-item-content a:hover {
    text-decoration: underline;
}

/* 联系表单 */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: all 0.3s;
    font-family: inherit;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* 运营网络 */
.network-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.network-item {
    background: var(--white);
    padding: 30px 20px;
    border-radius: var(--radius-sm);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.network-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.network-item .icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.network-item strong {
    display: block;
    color: var(--primary);
    margin-bottom: 4px;
}

.network-item span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ========== 响应式设计 ========== */

/* 平板 */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-image {
        max-width: 350px;
        height: 220px;
    }
    
    .business-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .app-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .network-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 手机 */
@media (max-width: 768px) {
    .navbar .container {
        height: 56px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: var(--primary);
        flex-direction: column;
        padding: 16px;
        gap: 4px;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu a {
        padding: 12px 16px;
        border-radius: var(--radius-sm);
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-contact {
        display: none;
    }
    
    .hero {
        padding: 60px 0 50px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .business-grid,
    .brands-grid,
    .app-grid {
        grid-template-columns: 1fr;
    }
    
    .business-card {
        padding: 30px 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .page-header h1 {
        font-size: 1.6rem;
    }
    
    .brand-card,
    .app-card {
        padding: 24px;
    }
    
    .brand-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .network-grid {
        grid-template-columns: 1fr;
    }
    
    .content-section h2 {
        font-size: 1.3rem;
    }
}

/* 小屏手机 */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.4rem;
    }
    
    .brand-tags {
        gap: 8px;
    }
    
    .tag {
        padding: 4px 12px;
        font-size: 0.8rem;
    }
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.business-card,
.brand-item,
.app-item,
.brand-card,
.app-card {
    animation: fadeInUp 0.5s ease forwards;
}
