/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #5B7FD9;
    --dark-gray: #3A3A3A;
    --light-gray: #F5F5F5;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --accent-red: #FF5A5F;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 
                 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* 顶部导航栏 */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

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

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.logo-text-g {
    color: var(--white);
    font-size: 28px;
    font-weight: bold;
}

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

.logo-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-dark);
}

.logo-subtitle {
    font-size: 12px;
    color: var(--text-light);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-item {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item:hover,
.nav-item.active {
    color: var(--primary-blue);
    background: rgba(91, 127, 217, 0.1);
}

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

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.active {
    max-height: 500px;
}

.mobile-nav-item {
    padding: 15px 20px;
    text-decoration: none;
    color: var(--text-dark);
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    background: rgba(91, 127, 217, 0.1);
    color: var(--primary-blue);
}

/* 主Banner区域 */
/* .hero-section {
    background: linear-gradient(135deg, #667eea 0%, #5B7FD9 50%, #4A6FCC 100%);
    padding: 80px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><circle cx="100" cy="100" r="80" fill="rgba(255,255,255,0.05)"/><circle cx="900" cy="400" r="120" fill="rgba(255,255,255,0.05)"/><circle cx="600" cy="200" r="100" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.5;
} */

/* .hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
} */

/* .hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease;
} */

/* .hero-subtitle {
    font-size: 18px;
    margin-bottom: 50px;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s backwards;
} */

/* .hero-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s backwards;
} */

/* .hero-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 25px 40px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 200px;
} */

/* .hero-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
} */

/* .btn-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--white);
} */

/* .btn-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
} */

/* .hero-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.8s ease 0.6s backwards;
} */

/* .hero-footer-left {
    display: flex;
    gap: 30px;
    align-items: center;
} */

.download-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.download-link:hover {
    opacity: 0.8;
}

.hero-footer-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.qr-code {
    width: 80px;
    height: 80px;
}

.qr-placeholder {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 表单区域 */
/* .form-section {
    background: var(--dark-gray);
    padding: 60px 0;
    color: var(--white);
}

.form-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    font-weight: bold;
} */

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

/* .form-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
} */

/* .form-group label {
    min-width: 100px;
    font-size: 16px;
    text-align: right;
} */

/* .form-group input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
} */

/* .form-group input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(91, 127, 217, 0.3);
} */

/* .submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--accent-red);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
} */

/* .submit-btn:hover {
    background: #E54A4F;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 90, 95, 0.4);
} */

/* 硬件展示区域 */
.hardware-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

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

.section-subtitle {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hardware-item {
    text-align: center;
    transition: all 0.3s ease;
}

.hardware-item:hover {
    transform: translateY(-10px);
}

.hardware-image {
    margin-bottom: 20px;
}

.hardware-placeholder {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.hardware-item:hover .hardware-placeholder {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.hardware-tags {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tag {
    background: var(--primary-blue);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    display: inline-block;
}

/* App区域 */
.app-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #e0e7ff 0%, #f0f4ff 100%);
    position: relative;
    overflow: hidden;
}

.app-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

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

.app-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.4;
}

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

.app-features li {
    padding: 15px 0;
    padding-left: 30px;
    position: relative;
    font-size: 16px;
    color: var(--text-light);
}

.app-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-size: 24px;
}

.app-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* 解决方案区域 */
.solution-section {
    padding: 80px 0;
}

.solution-1 {
    background: var(--white);
}

.solution-2 {
    background: var(--light-gray);
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.solution-content.reverse {
    direction: rtl;
}

.solution-content.reverse > * {
    direction: ltr;
}

.solution-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.4;
}

.highlight {
    color: var(--primary-blue);
}

.blocks {
    display: inline-flex;
    gap: 5px;
}

.blocks::before {
    content: '3D';
    background: var(--primary-blue);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 6px;
    font-weight: bold;
}

.solution-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

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

.solution-features li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    font-size: 16px;
    color: var(--text-light);
}

.solution-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-size: 24px;
}

.solution-placeholder {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* 项目案例区域 */
.projects-section {
    padding: 80px 0;
    background: var(--white);
}

.projects-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.projects-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 50px;
}

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

.project-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.project-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.project-placeholder {
    width: 100%;
    height: 200px;
}

/* 页脚 */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

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

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 20px;
    }

    .hero-btn {
        width: 100%;
    }

    .hero-footer {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .hero-footer-left {
        flex-direction: column;
        gap: 15px;
    }

    .form-group {
        flex-direction: column;
        align-items: stretch;
    }

    .form-group label {
        text-align: left;
        min-width: auto;
    }

    .hardware-showcase {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }

    .hardware-placeholder {
        height: 200px;
    }

    .app-content,
    .solution-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .solution-content.reverse {
        direction: ltr;
    }

    .app-placeholder,
    .solution-placeholder {
        height: 300px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .section-title,
    .form-title,
    .projects-title,
    .app-title,
    .solution-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .btn-title {
        font-size: 16px;
    }

    .btn-subtitle {
        font-size: 12px;
    }

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