/* ========================================
   全局样式重置与变量
   ======================================== */
:root {
    --primary-color: #00ffa3;
    --secondary-color: #00bfff;
    --accent-color: #6c5ce7;
    --dark-bg: #0a0a0a;
    --card-bg: rgba(26, 26, 46, 0.9);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #666666;
    --border-color: rgba(0, 255, 163, 0.2);
    --shadow-light: 0 10px 40px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(0, 255, 163, 0.2);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--dark-bg);
    background-image: 
        linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 35%, #16213e 70%, #0f172a 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   容器与通用布局
   ======================================== */
.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   导航栏样式
   ======================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 255, 163, 0.15);
    box-shadow: var(--shadow-glow);
    transition: all var(--transition-normal);
}

header.scrolled {
    background-color: rgba(10, 10, 10, 0.98);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

nav {
    padding: 20px 0;
    transition: padding var(--transition-normal);
}

header.scrolled nav {
    padding: 12px 0;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(0, 255, 163, 0.4);
    letter-spacing: 0.5px;
    transition: all var(--transition-normal);
    white-space: nowrap;
    flex-shrink: 0;
}

.logo:hover {
    transform: scale(1.03);
    text-shadow: 0 0 30px rgba(0, 255, 163, 0.6);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-normal);
    position: relative;
    padding: 8px 0;
    display: inline-block;
    letter-spacing: 0.3px;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a:hover::before,
.nav-links a.active::before {
    width: 100%;
}

/* 移动菜单按钮 */
.mobile-menu-button {
    display: none;
    background: transparent;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    transition: all var(--transition-normal);
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.mobile-menu-button:hover {
    background-color: rgba(0, 255, 163, 0.1);
}

.mobile-menu-button span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.mobile-menu-button.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-button.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-button.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* 菜单遮罩层 */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   英雄区域样式
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 140px 24px 80px;
}

/* 背景装饰 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 255, 163, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 191, 255, 0.05) 0%, transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: auto, auto, 40px 40px, 40px 40px;
    pointer-events: none;
    z-index: 0;
}

/* 浮动光晕效果 */
.hero-pulse {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 163, 0.15) 0%, transparent 70%);
    animation: floatPulse 6s ease-in-out infinite;
    filter: blur(20px);
    z-index: 0;
}

.hero-pulse:nth-child(1) {
    top: 20%;
    left: -100px;
    animation-delay: 0s;
}

.hero-pulse:nth-child(2) {
    bottom: 20%;
    right: -100px;
    background: radial-gradient(circle, rgba(0, 191, 255, 0.15) 0%, transparent 70%);
    animation-delay: -3s;
}

@keyframes floatPulse {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(30px, -30px) scale(1.1);
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: 0 auto 60px;
}

.hero h1 {
    font-size: clamp(28px, 6vw, 56px);
    margin-bottom: 24px;
    color: var(--primary-color);
    text-shadow: 0 0 30px rgba(0, 255, 163, 0.5);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
}

.hero p {
    font-size: clamp(14px, 2.5vw, 18px);
    margin-bottom: 40px;
    max-width: 700px;
    color: var(--text-secondary);
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.15s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all var(--transition-normal);
    position: relative;
    z-index: 1;
    overflow: hidden;
    letter-spacing: 0.5px;
    min-width: 160px;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-bg);
    box-shadow: 0 4px 20px rgba(0, 255, 163, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 255, 163, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: rgba(0, 255, 163, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0, 255, 163, 0.2);
}

/* 特色功能展示 */
.hero-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 60px auto 0;
    animation: fadeInUp 0.8s ease-out 0.45s both;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.6), rgba(26, 26, 46, 0.3));
    border-radius: 16px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 255, 163, 0.4);
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(26, 26, 46, 0.5));
}

.feature-icon {
    font-size: 36px;
    line-height: 1;
    animation: gentleBounce 3s ease-in-out infinite;
}

@keyframes gentleBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.feature-text {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    text-align: center;
}

/* ========================================
   Section Header 通用样式
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 64px;
    position: relative;
}

.section-header h2 {
    font-size: clamp(24px, 4vw, 36px);
    margin-bottom: 16px;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.3px;
}

.section-header p {
    font-size: clamp(14px, 2vw, 16px);
    color: var(--text-muted);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* ========================================
   核心业务样式
   ======================================== */
.services {
    padding: 100px 0;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center bottom, rgba(0, 255, 163, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(26, 26, 46, 0.7));
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.service-card::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -60%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 163, 0.08) 0%, transparent 70%);
    transform: translateY(-50%);
    transition: all var(--transition-slow);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 255, 163, 0.5);
}

.service-card:hover::after {
    right: -30%;
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
    animation: cardBounce 4s ease-in-out infinite;
}

@keyframes cardBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--primary-color);
    font-weight: 600;
}

.service-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.feature-tag {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(0, 255, 163, 0.08);
    border: 1px solid rgba(0, 255, 163, 0.25);
    border-radius: 20px;
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.feature-tag:hover {
    background-color: rgba(0, 255, 163, 0.15);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* ========================================
   联系我们样式
   ======================================== */
.contact {
    padding: 100px 0;
    position: relative;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

/* 联系信息 */
.contact-info {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(26, 26, 46, 0.75));
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.info-header {
    margin-bottom: 32px;
}

.info-header h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 600;
}

.info-header p {
    color: var(--text-muted);
    font-size: 14px;
}

.info-items {
    margin-bottom: 32px;
}

.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: all var(--transition-normal);
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item:hover {
    background-color: rgba(0, 255, 163, 0.06);
    transform: translateX(8px);
}

.info-icon {
    font-size: 24px;
    min-width: 32px;
    line-height: 1;
    flex-shrink: 0;
}

.info-content h4 {
    color: var(--text-primary);
    font-size: 15px;
    margin-bottom: 4px;
    font-weight: 600;
}

.info-content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* 联系表单 */
.contact-form {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(26, 26, 46, 0.75));
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.form-header {
    margin-bottom: 32px;
}

.form-header h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-weight: 600;
}

.form-header p {
    color: var(--text-muted);
    font-size: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 163, 0.15);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 15px;
    transition: all var(--transition-normal);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 255, 163, 0.1);
    background-color: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-checkbox {
    margin-bottom: 28px;
}

.form-checkbox input {
    width: auto;
    margin-right: 10px;
    accent-color: var(--primary-color);
    transform: scale(1.1);
}

.form-checkbox label {
    display: inline-block;
    margin-bottom: 0;
    cursor: pointer;
    font-weight: 400;
}

.form-checkbox a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.form-checkbox a:hover {
    text-decoration: underline;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-bg);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all var(--transition-normal);
    letter-spacing: 0.5px;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 4px 20px rgba(0, 255, 163, 0.3);
    min-width: 160px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 255, 163, 0.4);
}

/* 表单验证 */
.form-group input.error,
.form-group textarea.error {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.error-message {
    color: #ff6b6b;
    font-size: 12px;
    margin-top: 6px;
    display: block;
}

/* 成功消息 */
.success-message {
    background-color: rgba(0, 255, 163, 0.08);
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    padding: 32px;
    margin-top: 24px;
    text-align: center;
    animation: fadeIn 0.5s ease-out;
}

.success-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: inline-block;
    animation: successPop 0.5s ease-out;
}

@keyframes successPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.success-message h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.success-message p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ========================================
   页脚样式
   ======================================== */
footer {
    background-color: rgba(10, 10, 10, 0.95);
    border-top: 1px solid rgba(0, 255, 163, 0.15);
    padding: 32px 0;
}

footer p {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.8;
}

footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

footer a:hover {
    color: var(--primary-color);
}

/* ========================================
   返回顶部按钮
   ======================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 255, 163, 0.2), rgba(0, 191, 255, 0.2));
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 22px;
    cursor: pointer;
    display: none;
    z-index: 999;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.scroll-to-top:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 255, 163, 0.3);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-bg);
}

.scroll-to-top.visible {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

/* ========================================
   可复制元素样式
   ======================================== */
.copyable {
    cursor: pointer;
    position: relative;
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.copyable:hover {
    background-color: rgba(0, 255, 163, 0.1);
    color: var(--primary-color);
}

.copyable:active {
    transform: scale(0.98);
}

.copy-toast {
    position: fixed;
    bottom: 90px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-bg);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 10000;
    box-shadow: 0 8px 25px rgba(0, 255, 163, 0.3);
}

.copy-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   滚动条样式
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--secondary-color), var(--primary-color));
}

/* Firefox滚动条 */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) rgba(15, 23, 42, 0.5);
}

/* ========================================
   图片响应式
   ======================================== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* ========================================
   动画关键帧
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 滚动触发动画 */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-aos].animated {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   响应式设计
   ======================================== */

/* 平板设备 */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    nav .container {
        gap: 24px;
    }
    
    .nav-links {
        gap: 24px;
    }
    
    .hero-features {
        max-width: 600px;
    }
    
    .contact-container {
        gap: 32px;
    }
    
    .services-grid {
        gap: 24px;
    }
}

/* 移动设备 */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    /* 导航 */
    nav .container {
        gap: 16px;
    }
    
    .logo {
        font-size: 16px;
    }
    
    .mobile-menu-button {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: linear-gradient(180deg, rgba(10, 10, 10, 0.98), rgba(15, 23, 42, 0.98));
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 0;
        padding: 90px 32px 32px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        opacity: 0;
        transform: translateX(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.25s; }
    
    .nav-links a {
        display: block;
        padding: 18px 0;
        font-size: 16px;
        width: 100%;
        font-weight: 500;
        letter-spacing: 0.3px;
    }
    
    /* 英雄区域 */
    .hero {
        padding: 120px 16px 60px;
    }
    
    .hero-pulse {
        width: 250px;
        height: 250px;
    }
    
    .hero-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        max-width: 400px;
    }
    
    .feature-item {
        padding: 20px 12px;
    }
    
    .feature-icon {
        font-size: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .btn {
        width: 100%;
    }
    
    /* Section */
    .services,
    .contact {
        padding: 70px 0;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
    
    .section-header::after {
        width: 60px;
    }
    
    /* 服务卡片 */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 32px 24px;
    }
    
    .service-icon {
        font-size: 40px;
    }
    
    /* 联系表单 */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .contact-info,
    .contact-form {
        padding: 32px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .info-item {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .submit-btn {
        width: 100%;
    }
    
    /* 页脚 */
    footer {
        padding: 24px 0;
    }
    
    footer p {
        font-size: 12px;
    }
    
    /* 返回顶部 */
    .scroll-to-top {
        width: 44px;
        height: 44px;
        bottom: 20px;
        right: 20px;
        font-size: 20px;
    }
    
    .copy-toast {
        right: 20px;
        bottom: 80px;
        font-size: 13px;
        padding: 10px 20px;
    }
}

/* 小屏移动设备 */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .logo {
        font-size: 13px;
        letter-spacing: 0;
    }
    
    .mobile-menu-button {
        width: 44px;
        height: 44px;
        padding: 6px;
    }
    
    .mobile-menu-button span {
        width: 24px;
    }
    
    .hero {
        padding: 110px 12px 50px;
    }
    
    .hero-features {
        gap: 12px;
    }
    
    .feature-item {
        padding: 16px 12px;
    }
    
    .feature-icon {
        font-size: 28px;
    }
    
    .feature-text {
        font-size: 12px;
    }
    
    .services,
    .contact {
        padding: 60px 0;
    }
    
    .service-card,
    .contact-info,
    .contact-form {
        padding: 24px 20px;
    }
    
    .service-icon {
        font-size: 36px;
    }
    
    .nav-links {
        width: 90%;
        max-width: 280px;
        padding: 80px 24px 24px;
    }
    
    .nav-links a {
        padding: 16px 0;
        font-size: 15px;
    }
    
    .hero-pulse {
        width: 200px;
        height: 200px;
    }
}

/* 超小屏设备 */
@media (max-width: 360px) {
    .logo {
        font-size: 12px;
    }
    
    .nav-links {
        width: 92%;
        max-width: 260px;
        padding: 75px 20px 20px;
    }
    
    .nav-links a {
        padding: 14px 0;
        font-size: 14px;
    }
}

/* 大屏幕优化 */
@media (min-width: 1440px) {
    .container {
        max-width: 1360px;
    }
    
    .services-grid {
        gap: 40px;
    }
    
    .service-card {
        padding: 48px;
    }
}
