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

:root {
    --primary-color: #2c5aa0;
    --secondary-color: #4a90d9;
    --accent-color: #f5a623;
    --dark-color: #333;
    --light-color: #f4f7fa;
    --white: #fff;
    --gray: #666;
    --border-radius: 8px;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

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

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

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

/* 导航栏 */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

/* Hero区域 */
.hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--light-color) 0%, var(--white) 100%);
}

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

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 30px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
}

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

.hero-image,
.hero-video {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.hero-image img,
.hero-video video {
    width: 100%;
    height: auto;
    display: block;
}

.hero-image-placeholder,
.showcase-placeholder,
.tech-placeholder,
.image-placeholder,
.map-placeholder,
.video-placeholder {
    background: linear-gradient(135deg, #e8f4fd 0%, #d4e9f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    color: var(--primary-color);
    font-size: 1.5rem;
    border-radius: var(--border-radius);
}

.hero-image-placeholder span,
.showcase-placeholder span,
.tech-placeholder span,
.image-placeholder span,
.map-placeholder span,
.video-placeholder span {
    padding: 40px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Hero视频 */
.hero-video {
    margin-top: 30px;
}

.hero-video video {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn {
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.play-btn:hover {
    transform: scale(1.1);
}

/* 特性区域 */
.features {
    padding: 80px 0;
    background: var(--white);
}

.features h2,
.product-showcase h2,
.tech-section h2,
.scenarios h2,
.testimonials h2,
.specs h2,
.team h2,
.timeline h2,
.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.feature-grid,
.scenario-grid,
.testimonial-grid,
.spec-grid,
.team-grid,
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card,
.scenario-card,
.testimonial-card,
.spec-card,
.team-card,
.mission-card {
    background: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover,
.scenario-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-icon,
.scenario-icon,
.mission-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3,
.scenario-card h3,
.mission-card h3,
.spec-card h3,
.team-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* 产品展示 */
.product-showcase {
    padding: 80px 0;
    background: var(--light-color);
}

.showcase-content {
    flex: 1;
}

.showcase-list {
    list-style: none;
    margin: 20px 0 30px;
}

.showcase-list li {
    padding: 10px 0;
    font-size: 1.1rem;
}

.showcase-image {
    flex: 1;
}

.showcase-image img,
.feature-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 技术区域 */
.tech-section {
    padding: 80px 0;
    background: var(--white);
}

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

.tech-card {
    text-align: center;
}

.tech-card img {
    width: 100%;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

/* 用户评价 */
.testimonials {
    padding: 80px 0;
    background: var(--light-color);
}

.testimonial-card {
    background: var(--white);
}

.quote {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--gray);
}

.author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* CTA区域 */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    color: var(--white);
}

.cta p {
    margin-bottom: 30px;
    font-size: 1.2rem;
}

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

.cta .btn-primary:hover {
    background: var(--light-color);
}

.cta .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

.cta .btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* 页脚 */
footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 50px 0 20px;
}

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

.footer-section h4 {
    margin-bottom: 20px;
    color: var(--accent-color);
}

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

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

.footer-section a {
    color: #ccc;
    text-decoration: none;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #888;
}

/* 页面标题 */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    text-align: center;
}

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

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

/* 产品详情页 */
.product-features {
    padding: 80px 0;
}

.feature-detail {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.feature-detail.reverse {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
}

.feature-content h2 {
    text-align: left;
    font-size: 2rem;
    margin-bottom: 20px;
}

.feature-content p {
    color: var(--gray);
    margin-bottom: 20px;
}

.feature-content ul {
    list-style: none;
}

.feature-content li {
    padding: 8px 0;
    font-size: 1rem;
}

/* 技术规格 */
.specs {
    padding: 80px 0;
    background: var(--light-color);
}

.spec-card {
    background: var(--white);
}

.spec-card ul {
    list-style: none;
    text-align: left;
}

.spec-card li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

/* 关于我们页 */
.about-intro {
    padding: 80px 0;
}

.about-intro .container {
    display: flex;
    gap: 50px;
    align-items: center;
}

.intro-content {
    flex: 1;
}

.intro-content h2 {
    text-align: left;
    font-size: 2rem;
    margin-bottom: 20px;
}

.intro-content p {
    color: var(--gray);
    margin-bottom: 15px;
}

.intro-image {
    flex: 1;
}

.intro-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 使命 */
.mission {
    padding: 80px 0;
    background: var(--light-color);
}

.mission-card {
    background: var(--white);
}

/* 团队 */
.team {
    padding: 80px 0;
}

.team-avatar {
    font-size: 4rem;
    margin-bottom: 20px;
}

/* 时间线 */
.timeline {
    padding: 80px 0;
}

.timeline-content {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
}

.timeline-date {
    width: 80px;
    font-weight: bold;
    color: var(--primary-color);
}

.timeline-dot {
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    left: 85px;
    top: 5px;
}

.timeline-text {
    flex: 1;
    padding-left: 20px;
    border-left: 2px solid #ddd;
}

/* 联系我们页 */
.contact-section {
    padding: 80px 0;
}

.contact-wrapper {
    display: flex;
    gap: 50px;
}

.contact-form-container,
.contact-info {
    flex: 1;
}

.contact-form-container h2,
.contact-info h2 {
    text-align: left;
    font-size: 1.8rem;
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form button {
    width: 100%;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.info-icon {
    font-size: 2rem;
}

.info-item h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.social-links {
    margin-top: 30px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    font-size: 2rem;
    text-decoration: none;
}

/* 地图 */
.map-section {
    padding: 0 0 80px;
}

.map-placeholder {
    background: var(--light-color);
    padding: 80px;
    text-align: center;
    border-radius: var(--border-radius);
}

.map-placeholder span {
    font-size: 4rem;
    display: block;
    margin-bottom: 20px;
}

/* 响应式 */
@media (max-width: 768px) {
    .hero .container,
    .about-intro .container,
    .contact-wrapper {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .feature-detail,
    .feature-detail.reverse {
        flex-direction: column;
    }
    
    .nav-links {
        display: none;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}
