:root {
    --primary-color: #0071e3;
    --secondary-color: #e8f4fd;
    --text-color: #1d1d1f;
    --text-color-light: #ffffff;
    --background-color: #ffffff;
    --background-gradient-1: linear-gradient(135deg, #0056b3 0%, #007bff 50%, #66b3ff 100%);
    --background-gradient-2: linear-gradient(135deg, #003d82 0%, #0056b3 100%);
    --background-light-blue: #f0f8ff;
    --background-medium-blue: #e6f3ff;
    --background-dark-blue: #1a365d;
    --background-footer: #2c3e50;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: var(--primary-color);
}

img {
    max-width: 100%;
    display: block;
}

/* Header */
.main-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #ddd;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li {
    margin-left: 2rem;
}

.main-nav a {
    color: var(--text-color);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.cta-button {
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 980px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #0077ed;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 6rem 0;
    background: var(--background-gradient-1);
    color: var(--text-color-light);
    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 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero-section .subtitle {
    font-size: 1.5rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 980px;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 113, 227, 0.2);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-color);
    border: 1px solid #ddd;
}
.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}


/* Features Section */
.features-section {
    padding: 5rem 0;
    text-align: center;
    background: var(--background-light-blue);
}

.features-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 71, 227, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-icon {
    height: 50px;
    margin: 0 auto 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #555;
}

/* Products Section */
.products-section {
    padding: 5rem 0;
    text-align: center;
    background: var(--background-medium-blue);
}

.products-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.products-section p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #555;
}

/* Technology Section */
.tech-section {
    padding: 5rem 0;
    background: var(--background-gradient-2);
    color: var(--text-color-light);
}

.tech-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.tech-highlight {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 4rem;
}

.tech-highlight:last-child {
    margin-bottom: 0;
}

.tech-highlight:nth-child(odd) .tech-content {
    order: 2;
}
.tech-highlight:nth-child(odd) .tech-image {
    order: 1;
}

.tech-image {
    flex: 1;
}

.tech-image img {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.tech-content {
    flex: 1;
}

.tech-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.tech-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Video Demo Section */
.video-demo-section {
    padding: 5rem 0;
    text-align: center;
    background: var(--background-medium-blue);
}

.video-demo-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.video-wrapper {
    max-width: 960px;
    margin: 0 auto;
    position: relative;
}

.video-wrapper iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.video-placeholder-text {
    margin-top: 1rem;
    color: #888;
    font-style: italic;
}

/* Footer */
.main-footer {
    background: var(--background-footer);
    color: var(--text-color-light);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    padding-bottom: 3rem;
    border-bottom: 1px solid #ddd;
}

.footer-about h3 {
    color: var(--text-color-light);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.footer-links, .footer-social {
    margin-left: 4rem;
}

.footer-links h4, .footer-social h4 {
    color: var(--text-color-light);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links a, .footer-social a {
    color: rgba(255, 255, 255, 0.8);
    display: block;
    margin-bottom: 0.5rem;
}

.footer-links a:hover, .footer-social a:hover {
    color: #66b3ff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    font-size: 0.9rem;
}

/* ===== JavaScript交互功能样式支持 ===== */

/* 移动端汉堡菜单按钮 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* 汉堡菜单动画效果 */
.mobile-menu-btn.menu-active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.mobile-menu-btn.menu-active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.menu-active .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}

/* 导航栏滚动效果 */
.main-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.main-header.nav-hidden {
    transform: translateY(-100%);
}

/* 页面滚动进入动画 */
.animate-ready {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* 特殊动画延迟 */
.feature-card.animate-ready:nth-child(1) { transition-delay: 0.1s; }
.feature-card.animate-ready:nth-child(2) { transition-delay: 0.2s; }
.feature-card.animate-ready:nth-child(3) { transition-delay: 0.3s; }

/* 菜单打开时阻止背景滚动 */
body.menu-open {
    overflow: hidden;
}

/* 响应式布局优化 */
@media (max-width: 768px) {
    /* 显示汉堡菜单按钮 */
    .mobile-menu-btn {
        display: flex;
    }

    /* 移动端导航菜单 */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: 6rem 2rem 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }

    .main-nav.nav-active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .main-nav ul li {
        margin: 1rem 0;
        margin-left: 0;
    }

    .main-nav a {
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
        display: block;
        text-align: center;
    }

    /* CTA按钮在移动端隐藏，避免布局冲突 */
    .cta-button {
        display: none;
    }

    /* 移动端hero区域优化 */
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section .subtitle {
        font-size: 1.2rem;
    }

    /* 移动端特性网格 */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    /* 移动端技术亮点 */
    .tech-highlight {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .tech-highlight:nth-child(odd) .tech-content {
        order: 1;
    }
    .tech-highlight:nth-child(odd) .tech-image {
        order: 2;
    }

    .tech-content h3 {
        font-size: 1.5rem;
    }

    /* 移动端视频 */
    .video-wrapper iframe {
        border-radius: 10px;
    }

    /* 移动端footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links, .footer-social {
        margin-left: 0;
        margin-top: 2rem;
    }
}

/* 平板端优化 */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-section h1 {
        font-size: 3rem;
    }

    .features-grid {
        gap: 1.5rem;
    }

    .tech-highlight {
        gap: 3rem;
    }
}

/* 大屏幕优化 */
@media (min-width: 1400px) {
    .container {
        max-width: 1200px;
    }

    .hero-section h1 {
        font-size: 4rem;
    }

    .features-grid {
        gap: 3rem;
    }
}

/* 打印样式 */
@media print {
    .main-header,
    .mobile-menu-btn,
    .cta-button {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }
} 