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

html {
    overflow-x: hidden;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #8b5cf6;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

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

/* 移动端优化 */
@media (max-width: 768px) {
    body {
        font-size: 16px; /* 防止iOS自动缩放 */
    }
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 16px 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    -webkit-tap-highlight-color: transparent;
}

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

.nav-link:active {
    opacity: 0.7;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-lang {
    background: transparent;
    color: var(--text-secondary);
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

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

.btn-lang:active {
    transform: scale(0.95);
}

/* 按钮样式 */
.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

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

.btn-secondary:active {
    transform: scale(0.98);
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

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

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

.btn-outline:active {
    transform: scale(0.98);
}

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

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

.btn-white:active {
    transform: scale(0.98);
}

/* Hero 区域 */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf4 100%);
}

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

.hero-badge {
    margin-bottom: 24px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.badge-icon {
    width: 18px;
    height: 18px;
    color: var(--primary-color);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Hero 视觉效果 */
.hero-visual {
    will-change: transform;
}

.visual-card {
    background: white;
    padding: 48px;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    transform: translateZ(0); /* 启用硬件加速 */
    backface-visibility: hidden;
}

.waveform {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 200px;
    gap: 8px;
    transform: translateZ(0); /* 启用硬件加速 */
    backface-visibility: hidden;
    perspective: 1000px;
}

.wave-bar {
    flex: 1;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 4px;
    animation: none;
    transform-origin: bottom center;
    transform: translateZ(0); /* 启用GPU加速 */
    backface-visibility: hidden;
    transition: transform 0.3s ease;
}

/* 动画激活时才设置will-change */
.waveform.is-visible .wave-bar {
    will-change: transform;
}

/* 只在可见时播放动画 */
.waveform.is-visible .wave-bar {
    animation: wave 1.5s ease-in-out infinite;
}

.waveform.is-visible .wave-bar:nth-child(1) { animation-delay: 0s; }
.waveform.is-visible .wave-bar:nth-child(2) { animation-delay: 0.1s; }
.waveform.is-visible .wave-bar:nth-child(3) { animation-delay: 0.2s; }
.waveform.is-visible .wave-bar:nth-child(4) { animation-delay: 0.3s; }
.waveform.is-visible .wave-bar:nth-child(5) { animation-delay: 0.4s; }
.waveform.is-visible .wave-bar:nth-child(6) { animation-delay: 0.5s; }
.waveform.is-visible .wave-bar:nth-child(7) { animation-delay: 0.6s; }
.waveform.is-visible .wave-bar:nth-child(8) { animation-delay: 0.7s; }
.waveform.is-visible .wave-bar:nth-child(9) { animation-delay: 0.8s; }
.waveform.is-visible .wave-bar:nth-child(10) { animation-delay: 0.9s; }
.waveform.is-visible .wave-bar:nth-child(11) { animation-delay: 1s; }
.waveform.is-visible .wave-bar:nth-child(12) { animation-delay: 1.1s; }

@keyframes wave {
    0%, 100% { 
        transform: scaleY(1);
    }
    50% { 
        transform: scaleY(0.5);
    }
}

/* 减少移动端的动画强度 */
@media (max-width: 768px) {
    .waveform.is-visible .wave-bar {
        animation: wave 2s ease-in-out infinite;
    }
    
    @keyframes wave {
        0%, 100% { 
            transform: scaleY(1);
        }
        50% { 
            transform: scaleY(0.6);
        }
    }
    
    /* 移动端禁用视差效果以提升性能 */
    .hero-visual {
        will-change: auto;
    }
}

/* 尊重用户的减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
    .wave-bar,
    .waveform.is-visible .wave-bar {
        animation: none !important;
    }
    
    .hero-visual {
        will-change: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 区块标题 */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

/* 核心功能 */
.features {
    padding: 100px 0;
    background: white;
}

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

.feature-card {
    padding: 40px;
    background: var(--bg-secondary);
    border-radius: 16px;
    transition: all 0.3s;
    -webkit-tap-highlight-color: transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

@media (hover: none) {
    .feature-card:hover {
        transform: none;
    }
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    color: var(--primary-color);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-description {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.8;
}

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

.feature-list li {
    padding: 8px 0;
    color: var(--text-secondary);
}

/* API 服务 */
.api-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.api-section .section-title,
.api-section .section-subtitle {
    color: white;
}

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

.code-window {
    background: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.code-header {
    background: #323233;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-title {
    margin-left: auto;
    font-size: 12px;
    color: #999;
}

.code-content {
    padding: 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.code-content pre {
    margin: 0;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 14px;
    line-height: 1.6;
    white-space: pre;
    word-wrap: normal;
    overflow-wrap: normal;
}

.code-keyword { color: #c678dd; }
.code-string { color: #98c379; }
.code-number { color: #d19a66; }
.code-comment { color: #5c6370; }

.api-features {
    display: grid;
    gap: 24px;
}

.api-feature-item {
    display: flex;
    align-items: start;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.api-feature-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: white;
}

.api-feature-icon svg {
    width: 100%;
    height: 100%;
}

.api-feature-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.api-feature-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* 应用场景 */
.scenarios {
    padding: 100px 0;
    background: var(--bg-secondary);
}

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

.scenario-card {
    padding: 32px;
    background: white;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    -webkit-tap-highlight-color: transparent;
}

.scenario-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

@media (hover: none) {
    .scenario-card:hover {
        transform: none;
    }
}

.scenario-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    color: var(--primary-color);
}

.scenario-icon svg {
    width: 100%;
    height: 100%;
}

.scenario-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.scenario-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 企业服务 */
.enterprise {
    padding: 100px 0;
    background: white;
}

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

.enterprise-card {
    padding: 40px;
    background: var(--bg-secondary);
    border-radius: 16px;
    position: relative;
    transition: all 0.3s;
}

.enterprise-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.enterprise-number {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.1;
}

.enterprise-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.enterprise-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

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

.cta-content {
    text-align: center;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-description {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

/* 页脚 */
.footer {
    padding: 60px 0 24px;
    background: #1f2937;
    color: white;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-column h4 {
    margin-bottom: 16px;
    font-size: 16px;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    padding: 8px 0;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
    padding: 20px;
}

.modal-content {
    background: white;
    padding: 48px;
    border-radius: 24px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s;
    box-shadow: var(--shadow-xl);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 28px;
    font-weight: 300;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    color: var(--primary-color);
}

.modal-icon svg {
    width: 100%;
    height: 100%;
}

.modal-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}

.modal-description {
    text-align: center;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.modal-info {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.info-item:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.info-label {
    color: var(--text-secondary);
    font-size: 14px;
}

.info-value {
    font-weight: 700;
    font-size: 16px;
    color: var(--primary-color);
}

.modal-contact {
    margin-bottom: 24px;
}

.modal-contact h3 {
    font-size: 18px;
    margin-bottom: 16px;
}

.contact-methods {
    display: grid;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: 8px;
    font-size: 14px;
}

.contact-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--primary-color);
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.btn-modal {
    width: 100%;
    padding: 16px;
    font-size: 16px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .api-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .scenarios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .enterprise-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 32px;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    /* 容器 */
    .container {
        padding: 0 16px;
    }
    
    /* 导航栏 */
    .navbar {
        padding: 12px 0;
    }
    
    .nav-brand {
        font-size: 20px;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .nav-actions {
        gap: 8px;
    }
    
    .btn-lang {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .btn-secondary, .btn-primary {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    /* Hero区域 */
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-badge {
        margin-bottom: 20px;
    }
    
    .badge {
        font-size: 13px;
        padding: 6px 14px;
    }
    
    .badge-icon {
        width: 16px;
        height: 16px;
    }
    
    .hero-title {
        font-size: 36px;
        margin-bottom: 20px;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 36px;
    }
    
    .hero-actions .btn-large {
        width: 100%;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 13px;
    }
    
    .visual-card {
        padding: 32px;
    }
    
    .waveform {
        height: 150px;
    }
    
    /* 区块标题 */
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 32px;
        margin-bottom: 12px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    /* 各个区块 */
    .features, .scenarios, .enterprise {
        padding: 60px 0;
    }
    
    .api-section, .cta {
        padding: 60px 0;
    }
    
    /* 特性卡片 */
    .feature-card {
        padding: 32px 24px;
    }
    
    .feature-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 20px;
    }
    
    .feature-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .feature-description {
        font-size: 15px;
    }
    
    /* 代码窗口 */
    .code-window {
        font-size: 13px;
    }
    
    .code-content {
        padding: 20px;
    }
    
    .code-content pre {
        font-size: 12px;
    }
    
    /* API特性 */
    .api-feature-item {
        padding: 16px;
    }
    
    .api-feature-icon {
        width: 32px;
        height: 32px;
    }
    
    .api-feature-content h4 {
        font-size: 16px;
    }
    
    .api-feature-content p {
        font-size: 13px;
    }
    
    /* 应用场景 */
    .scenarios-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .scenario-card {
        padding: 24px;
    }
    
    .scenario-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 12px;
    }
    
    .scenario-card h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .scenario-card p {
        font-size: 14px;
    }
    
    /* 企业服务 */
    .enterprise-grid {
        grid-template-columns: 1fr;
    }
    
    .enterprise-card {
        padding: 32px 24px;
    }
    
    .enterprise-number {
        font-size: 36px;
        top: 20px;
        right: 20px;
    }
    
    .enterprise-card h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    /* CTA */
    .cta-title {
        font-size: 32px;
        margin-bottom: 12px;
    }
    
    .cta-description {
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    /* 页脚 */
    .footer {
        padding: 48px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        margin-bottom: 32px;
    }
    
    .footer-logo {
        font-size: 18px;
    }
    
    .footer-description {
        font-size: 13px;
    }
    
    .footer-column h4 {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .footer-column a {
        font-size: 13px;
        padding: 6px 0;
    }
    
    /* 弹窗 */
    .modal-content {
        padding: 36px 24px;
        width: 95%;
        max-width: 400px;
    }
    
    .modal-close {
        top: 16px;
        right: 16px;
        font-size: 24px;
    }
    
    .modal-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 20px;
    }
    
    .modal-title {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .modal-description {
        font-size: 15px;
        margin-bottom: 24px;
    }
    
    .modal-info {
        padding: 20px;
        margin-bottom: 24px;
    }
    
    .info-label {
        font-size: 13px;
    }
    
    .info-value {
        font-size: 15px;
    }
    
    .modal-contact h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .contact-item {
        padding: 10px;
        font-size: 13px;
    }
    
    .contact-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    /* 导航栏 */
    .navbar .container {
        padding: 0 12px;
    }
    
    .nav-brand {
        font-size: 18px;
        gap: 8px;
    }
    
    .logo-icon {
        width: 24px;
        height: 24px;
    }
    
    .btn-lang {
        padding: 5px 8px;
        font-size: 12px;
    }
    
    .btn-secondary, .btn-primary {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    /* Hero */
    .hero {
        padding: 90px 0 50px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-description {
        font-size: 15px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .stat-item {
        text-align: left;
    }
    
    .visual-card {
        padding: 24px;
    }
    
    .waveform {
        height: 120px;
    }
    
    /* 区块标题 */
    .section-title {
        font-size: 26px;
    }
    
    .section-subtitle {
        font-size: 15px;
    }
    
    /* 各区块 */
    .features, .scenarios, .enterprise {
        padding: 50px 0;
    }
    
    .api-section, .cta {
        padding: 50px 0;
    }
    
    /* 特性卡片 */
    .feature-card {
        padding: 24px 20px;
    }
    
    .feature-icon {
        width: 48px;
        height: 48px;
    }
    
    .feature-title {
        font-size: 18px;
    }
    
    /* 应用场景卡片 */
    .scenario-card {
        padding: 20px;
    }
    
    .scenario-icon {
        width: 40px;
        height: 40px;
    }
    
    /* 企业服务 */
    .enterprise-card {
        padding: 24px 20px;
    }
    
    .enterprise-number {
        font-size: 32px;
        top: 16px;
        right: 16px;
    }
    
    .enterprise-card h3 {
        font-size: 18px;
    }
    
    /* CTA */
    .cta-title {
        font-size: 26px;
    }
    
    .cta-description {
        font-size: 15px;
    }
    
    /* 页脚 */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-brand {
        margin-bottom: 10px;
    }
    
    /* 弹窗 */
    .modal-content {
        padding: 28px 20px;
    }
    
    .modal-title {
        font-size: 20px;
    }
    
    .modal-description {
        font-size: 14px;
    }
    
    .contact-item {
        font-size: 12px;
        padding: 8px;
    }
}

/* 超小屏幕优化 */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 15px;
    }
}
