/* ==========================================
   智税云官网 - 现代化样式设计
   ========================================== */

/* 全局变量 - 星空主题配色 */
:root {
    --primary-color: #6366f1; /* 星空紫 */
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --secondary-color: #06b6d4; /* 星云蓝 */
    --accent-color: #a78bfa; /* 彗星紫 */
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
    --gradient-3: linear-gradient(135deg, #a78bfa 0%, #f472b6 100%);
    --text-primary: #1e1b4b; /* 深空蓝 */
    --text-secondary: #64748b;
    --bg-light: #f5f3ff; /* 淡紫背景 */
    --bg-white: #ffffff;
    --bg-dark: #1e1b4b; /* 深空背景 */
    --shadow-sm: 0 2px 8px rgba(99, 102, 241, 0.08);
    --shadow-md: 0 4px 16px rgba(99, 102, 241, 0.12);
    --shadow-lg: 0 8px 32px rgba(99, 102, 241, 0.16);
    --shadow-xl: 0 12px 48px rgba(99, 102, 241, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    background: var(--bg-white);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    position: relative;
}

.section-subtitle {
    text-align: center;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    padding: 12px 32px;
    background: var(--gradient-2);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    padding: 10px 24px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

/* ==========================================
   导航栏
   ========================================== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.05);
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.15);
    border-bottom-color: rgba(99, 102, 241, 0.2);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.25rem 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* CSS绘制的Logo图标 - 云朵形状 */
.logo-icon {
    width: 50px;
    height: 35px;
    position: relative;
    flex-shrink: 0;
}

.logo-icon::before {
    content: '';
    position: absolute;
    width: 35px;
    height: 25px;
    background: var(--gradient-2);
    border-radius: 50px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 
        -12px -8px 0 -5px rgba(37, 99, 235, 0.9),
        12px -8px 0 -5px rgba(6, 182, 212, 0.9),
        0 -12px 0 -3px rgba(139, 92, 246, 0.8);
    animation: cloudFloat 3s ease-in-out infinite;
}

.logo-icon::after {
    content: '税';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    font-weight: 900;
    color: white;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

@keyframes cloudFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-3px); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-2);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s;
    border-radius: 2px;
}

/* ==========================================
   Banner轮播图 - 深邃星空主题
   ========================================== */
.banner {
    min-height: 100vh;
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
}

.banner-slider {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.active {
    opacity: 1;
}

/* 轮播图内容居中 */
.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    max-width: 900px;
    width: 90%;
    padding: 2rem;
    z-index: 10;
}

/* 星空背景 - 基础 */
.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* 第一屏：深蓝紫偏红星空 - 调亮 */
.slide:nth-child(1) .slide-bg {
    background: radial-gradient(ellipse at bottom, #3a2f45 0%, #2a2035 40%, #1f1528 100%);
}

/* 第二屏：深蓝色偏红星空 - 调亮 */
.slide:nth-child(2) .slide-bg {
    background: radial-gradient(ellipse at bottom, #35304a 0%, #2a2838 40%, #1f1828 100%);
}

/* 第三屏：深紫偏红星空 - 调亮 */
.slide:nth-child(3) .slide-bg {
    background: radial-gradient(ellipse at bottom, #3d2f40 0%, #2d2030 40%, #221525 100%);
}

/* 星星层 */
.slide-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* 添加更多可见的星星 */
.slide-stars::before {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    background: white;
    border-radius: 50%;
    box-shadow: 
        50px 30px 0 3px white,
        120px 80px 0 4px rgba(255,255,255,0.95),
        200px 40px 0 3px white,
        280px 120px 0 4px rgba(255,255,255,0.9),
        350px 60px 0 3px white,
        420px 150px 0 4px rgba(255,255,255,0.95),
        500px 90px 0 3px white,
        580px 180px 0 4px rgba(255,255,255,0.9),
        650px 50px 0 3px white,
        720px 140px 0 4px rgba(255,255,255,0.95),
        800px 70px 0 3px white,
        880px 160px 0 4px rgba(255,255,255,0.9),
        950px 100px 0 3px white,
        100px 250px 0 4px rgba(255,255,255,0.95),
        180px 200px 0 3px white,
        260px 280px 0 4px rgba(255,255,255,0.9),
        340px 220px 0 3px white,
        420px 300px 0 4px rgba(255,255,255,0.95),
        500px 240px 0 3px white,
        580px 320px 0 4px rgba(255,255,255,0.9),
        660px 260px 0 3px white,
        740px 340px 0 4px rgba(255,255,255,0.95),
        820px 280px 0 3px white,
        900px 360px 0 4px rgba(255,255,255,0.9),
        150px 400px 0 3px white,
        230px 380px 0 4px rgba(255,255,255,0.95),
        310px 450px 0 3px white,
        390px 420px 0 4px rgba(255,255,255,0.9),
        470px 480px 0 3px white,
        550px 440px 0 4px rgba(255,255,255,0.95),
        630px 500px 0 3px white,
        710px 460px 0 4px rgba(255,255,255,0.9),
        790px 520px 0 3px white;
    animation: twinkle 3s ease-in-out infinite;
}

.slide-stars::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    box-shadow: 
        80px 150px 0 3px rgba(255,255,255,0.9),
        160px 100px 0 4px white,
        240px 170px 0 3px rgba(255,255,255,0.95),
        320px 120px 0 4px white,
        400px 190px 0 3px rgba(255,255,255,0.9),
        480px 140px 0 4px white,
        560px 210px 0 3px rgba(255,255,255,0.95),
        640px 160px 0 4px white,
        720px 230px 0 3px rgba(255,255,255,0.9),
        800px 180px 0 4px white,
        880px 250px 0 3px rgba(255,255,255,0.95),
        120px 350px 0 4px white,
        200px 300px 0 3px rgba(255,255,255,0.9),
        280px 370px 0 4px white,
        360px 320px 0 3px rgba(255,255,255,0.95),
        440px 390px 0 4px white,
        520px 340px 0 3px rgba(255,255,255,0.9),
        600px 410px 0 4px white,
        680px 360px 0 3px rgba(255,255,255,0.95),
        760px 430px 0 4px white,
        840px 380px 0 3px rgba(255,255,255,0.9),
        920px 450px 0 4px white;
    animation: twinkle 4s ease-in-out infinite 1s;
}

/* 第一屏移动星星 */
.slide:nth-child(1) .slide-stars {
    position: relative;
}

.slide:nth-child(1) .slide-stars::before {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    box-shadow: 
        0 0 10px white,
        0 0 20px rgba(255,255,255,0.8);
    top: 20%;
    left: 10%;
    animation: moveStar1 20s linear infinite;
}

.slide:nth-child(1) .slide-stars::after {
    content: '';
    position: absolute;
    width: 2.5px;
    height: 2.5px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    box-shadow: 
        0 0 8px rgba(255,255,255,0.9),
        0 0 16px rgba(255,255,255,0.6);
    top: 45%;
    left: 70%;
    animation: moveStar2 25s linear infinite 5s;
}

@keyframes moveStar1 {
    0% { 
        left: 10%; 
        top: 20%;
        opacity: 0;
    }
    10% { opacity: 1; }
    50% { 
        left: 50%; 
        top: 35%;
    }
    90% { opacity: 1; }
    100% { 
        left: 90%; 
        top: 25%;
        opacity: 0;
    }
}

@keyframes moveStar2 {
    0% { 
        left: 70%; 
        top: 45%;
        opacity: 0;
    }
    10% { opacity: 1; }
    50% { 
        left: 30%; 
        top: 60%;
    }
    90% { opacity: 1; }
    100% { 
        left: 85%; 
        top: 50%;
        opacity: 0;
    }
}

/* 彗星容器 */
.comets {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

/* 彗星基础样式 */
.comet {
    position: absolute;
    height: 3px;
    background: linear-gradient(90deg, 
        rgba(255,255,255,1) 0%, 
        rgba(200,220,255,0.8) 20%,
        rgba(150,180,255,0.4) 50%,
        transparent 100%);
    border-radius: 50%;
    filter: blur(1px);
    box-shadow: 
        0 0 20px rgba(150,180,255,0.8),
        0 0 40px rgba(150,180,255,0.4);
}

/* 第一屏彗星 */
.comet-1 {
    top: 10%;
    width: 300px;
    animation: comet-move1 25s linear infinite 0s;
}

.comet-2 {
    top: 35%;
    width: 350px;
    background: linear-gradient(90deg, 
        rgba(255,255,255,1) 0%, 
        rgba(180,200,255,0.8) 20%,
        rgba(130,160,255,0.4) 50%,
        transparent 100%);
    box-shadow: 
        0 0 25px rgba(130,160,255,0.8),
        0 0 50px rgba(130,160,255,0.4);
    height: 3.5px;
    animation: comet-move2 30s linear infinite 8s;
}

.comet-3 {
    top: 60%;
    width: 280px;
    background: linear-gradient(90deg, 
        rgba(255,255,255,1) 0%, 
        rgba(190,210,255,0.7) 25%,
        rgba(140,170,255,0.35) 55%,
        transparent 100%);
    height: 2.5px;
    box-shadow: 
        0 0 18px rgba(140,170,255,0.7),
        0 0 35px rgba(140,170,255,0.35);
    animation: comet-move3 28s linear infinite 15s;
}

@keyframes comet-move1 {
    0% { left: -300px; }
    100% { left: 110%; }
}

@keyframes comet-move2 {
    0% { left: -350px; }
    100% { left: 110%; }
}

@keyframes comet-move3 {
    0% { left: -280px; }
    100% { left: 110%; }
}

/* 第二屏彗星 */
.comet-4 {
    top: 15%;
    width: 320px;
    background: linear-gradient(90deg, 
        rgba(255,255,255,1) 0%, 
        rgba(190,200,255,0.75) 20%,
        rgba(140,160,255,0.38) 50%,
        transparent 100%);
    box-shadow: 
        0 0 22px rgba(140,160,255,0.75),
        0 0 45px rgba(140,160,255,0.38);
    animation: comet-move4 27s linear infinite 2s;
}

.comet-5 {
    top: 40%;
    width: 380px;
    background: linear-gradient(90deg, 
        rgba(255,255,255,1) 0%, 
        rgba(170,190,255,0.75) 20%,
        rgba(120,150,255,0.38) 50%,
        transparent 100%);
    height: 4px;
    box-shadow: 
        0 0 28px rgba(120,150,255,0.75),
        0 0 55px rgba(120,150,255,0.38);
    animation: comet-move5 32s linear infinite 10s;
}

.comet-6 {
    top: 65%;
    width: 290px;
    background: linear-gradient(90deg, 
        rgba(255,255,255,1) 0%, 
        rgba(180,195,255,0.7) 25%,
        rgba(130,155,255,0.35) 55%,
        transparent 100%);
    height: 2.8px;
    box-shadow: 
        0 0 20px rgba(130,155,255,0.7),
        0 0 40px rgba(130,155,255,0.35);
    animation: comet-move6 29s linear infinite 18s;
}

.comet-7 {
    top: 25%;
    width: 340px;
    background: linear-gradient(90deg, 
        rgba(255,255,255,1) 0%, 
        rgba(185,200,255,0.72) 22%,
        rgba(135,158,255,0.36) 52%,
        transparent 100%);
    height: 3.2px;
    box-shadow: 
        0 0 24px rgba(135,158,255,0.72),
        0 0 48px rgba(135,158,255,0.36);
    animation: comet-move7 31s linear infinite 22s;
}

@keyframes comet-move4 {
    0% { left: -320px; }
    100% { left: 110%; }
}

@keyframes comet-move5 {
    0% { left: -380px; }
    100% { left: 110%; }
}

@keyframes comet-move6 {
    0% { left: -290px; }
    100% { left: 110%; }
}

@keyframes comet-move7 {
    0% { left: -340px; }
    100% { left: 110%; }
}

/* 第三屏彗星 */
.comet-8 {
    top: 12%;
    width: 310px;
    background: linear-gradient(90deg, 
        rgba(255,255,255,1) 0%, 
        rgba(200,190,255,0.75) 20%,
        rgba(160,140,255,0.38) 50%,
        transparent 100%);
    box-shadow: 
        0 0 22px rgba(160,140,255,0.75),
        0 0 45px rgba(160,140,255,0.38);
    animation: comet-move8 26s linear infinite 3s;
}

.comet-9 {
    top: 38%;
    width: 360px;
    background: linear-gradient(90deg, 
        rgba(255,255,255,1) 0%, 
        rgba(190,180,255,0.73) 22%,
        rgba(150,130,255,0.37) 52%,
        transparent 100%);
    height: 3.8px;
    box-shadow: 
        0 0 26px rgba(150,130,255,0.73),
        0 0 52px rgba(150,130,255,0.37);
    animation: comet-move9 30s linear infinite 12s;
}

.comet-10 {
    top: 58%;
    width: 285px;
    background: linear-gradient(90deg, 
        rgba(255,255,255,1) 0%, 
        rgba(195,185,255,0.68) 25%,
        rgba(155,135,255,0.34) 55%,
        transparent 100%);
    height: 2.7px;
    box-shadow: 
        0 0 19px rgba(155,135,255,0.68),
        0 0 38px rgba(155,135,255,0.34);
    animation: comet-move10 28s linear infinite 19s;
}

.comet-11 {
    top: 28%;
    width: 330px;
    background: linear-gradient(90deg, 
        rgba(255,255,255,1) 0%, 
        rgba(198,188,255,0.7) 23%,
        rgba(158,138,255,0.35) 53%,
        transparent 100%);
    height: 3.1px;
    box-shadow: 
        0 0 23px rgba(158,138,255,0.7),
        0 0 46px rgba(158,138,255,0.35);
    animation: comet-move11 29s linear infinite 24s;
}

@keyframes comet-move8 {
    0% { left: -310px; }
    100% { left: 110%; }
}

@keyframes comet-move9 {
    0% { left: -360px; }
    100% { left: 110%; }
}

@keyframes comet-move10 {
    0% { left: -285px; }
    100% { left: 110%; }
}

@keyframes comet-move11 {
    0% { left: -330px; }
    100% { left: 110%; }
}

/* 星星效果 - 第二屏：稀疏大星星 */
.slide:nth-child(2) .slide-stars::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(4px 4px at 50px 80px, rgba(255,255,255,1), transparent),
        radial-gradient(3.5px 3.5px at 150px 40px, white, transparent),
        radial-gradient(4px 4px at 280px 120px, rgba(255,255,255,0.95), transparent),
        radial-gradient(3px 3px at 400px 60px, white, transparent),
        radial-gradient(4px 4px at 520px 150px, rgba(255,255,255,1), transparent),
        radial-gradient(3.5px 3.5px at 650px 90px, white, transparent);
    background-size: 700px 200px;
    animation: twinkle 5s ease-in-out infinite 0.5s;
    filter: drop-shadow(0 0 4px rgba(255,255,255,0.9));
}

.slide:nth-child(2) .slide-stars::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(3.5px 3.5px at 80px 100px, rgba(255,255,255,0.95), transparent),
        radial-gradient(4px 4px at 220px 50px, white, transparent),
        radial-gradient(3px 3px at 360px 140px, rgba(255,255,255,1), transparent),
        radial-gradient(3.5px 3.5px at 480px 70px, white, transparent),
        radial-gradient(4px 4px at 600px 160px, rgba(255,255,255,0.95), transparent);
    background-size: 700px 200px;
    animation: twinkle 6s ease-in-out infinite 2s;
    filter: drop-shadow(0 0 4px rgba(255,255,255,0.9));
}

/* 第二屏彗星 - 已改用HTML元素方式 */

/* 第二屏额外移动星星 */
.slide:nth-child(2) .slide-stars {
    position: relative;
    z-index: 1;
}

.slide:nth-child(2) .slide-stars::before {
    content: '';
    position: absolute;
    width: 2.8px;
    height: 2.8px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 9px white, 0 0 18px rgba(255,255,255,0.85);
    top: 25%;
    left: 15%;
    animation: moveStar3 20s linear infinite 3s;
}

.slide:nth-child(2) .slide-stars::after {
    content: '';
    position: absolute;
    width: 2.3px;
    height: 2.3px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    box-shadow: 0 0 7px rgba(255,255,255,0.95), 0 0 14px rgba(255,255,255,0.7);
    top: 65%;
    left: 75%;
    animation: moveStar4 24s linear infinite 9s;
}

@keyframes moveStar3 {
    0% { left: 15%; top: 25%; opacity: 0; }
    10% { opacity: 1; }
    50% { left: 60%; top: 45%; }
    90% { opacity: 1; }
    100% { left: 90%; top: 35%; opacity: 0; }
}

@keyframes moveStar4 {
    0% { left: 75%; top: 65%; opacity: 0; }
    10% { opacity: 1; }
    50% { left: 35%; top: 40%; }
    90% { opacity: 1; }
    100% { left: 5%; top: 55%; opacity: 0; }
}

.slide:nth-child(2) .slide-stars {
    position: relative;
}

.slide:nth-child(2) .slide-stars::before {
    content: '';
    position: absolute;
    top: 65%;
    left: -200px;
    width: 290px;
    height: 2.8px;
    background: linear-gradient(90deg, 
        rgba(255,255,255,1) 0%, 
        rgba(180,195,255,0.7) 25%,
        rgba(130,155,255,0.35) 55%,
        transparent 100%);
    border-radius: 50%;
    filter: blur(0.9px);
    box-shadow: 
        0 0 20px rgba(130,155,255,0.7),
        0 0 40px rgba(130,155,255,0.35);
    animation: comet6 29s linear infinite 18s;
}

.slide:nth-child(2) .slide-stars::after {
    content: '';
    position: absolute;
    top: 25%;
    left: -240px;
    width: 340px;
    height: 3.2px;
    background: linear-gradient(90deg, 
        rgba(255,255,255,1) 0%, 
        rgba(185,200,255,0.72) 22%,
        rgba(135,158,255,0.36) 52%,
        transparent 100%);
    border-radius: 50%;
    filter: blur(1px);
    box-shadow: 
        0 0 24px rgba(135,158,255,0.72),
        0 0 48px rgba(135,158,255,0.36);
    animation: comet7 31s linear infinite 22s;
}

@keyframes comet4 {
    0% { left: -220px; }
    100% { left: 110%; }
}

@keyframes comet5 {
    0% { left: -260px; }
    100% { left: 110%; }
}

@keyframes comet6 {
    0% { left: -200px; }
    100% { left: 110%; }
}

@keyframes comet7 {
    0% { left: -240px; }
    100% { left: 110%; }
}

/* 星星效果 - 第三屏：闪烁小星星 */
.slide:nth-child(3) .slide-stars::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2.5px 2.5px at 30px 50px, rgba(255,255,255,0.9), transparent),
        radial-gradient(2px 2px at 70px 90px, white, transparent),
        radial-gradient(2.5px 2.5px at 120px 30px, rgba(255,255,255,0.95), transparent),
        radial-gradient(2px 2px at 170px 110px, white, transparent),
        radial-gradient(2.5px 2.5px at 220px 60px, rgba(255,255,255,1), transparent),
        radial-gradient(2px 2px at 270px 140px, white, transparent),
        radial-gradient(2.5px 2.5px at 320px 80px, rgba(255,255,255,0.9), transparent),
        radial-gradient(2px 2px at 370px 120px, white, transparent),
        radial-gradient(2.5px 2.5px at 420px 40px, rgba(255,255,255,0.95), transparent),
        radial-gradient(2px 2px at 470px 100px, white, transparent);
    background-size: 500px 180px;
    animation: twinkle 3s ease-in-out infinite;
    filter: drop-shadow(0 0 3px rgba(255,255,255,0.85));
}

.slide:nth-child(3) .slide-stars::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 50px 70px, white, transparent),
        radial-gradient(2.5px 2.5px at 110px 30px, rgba(255,255,255,0.95), transparent),
        radial-gradient(2px 2px at 180px 120px, white, transparent),
        radial-gradient(2.5px 2.5px at 250px 50px, rgba(255,255,255,1), transparent),
        radial-gradient(2px 2px at 330px 90px, white, transparent),
        radial-gradient(2.5px 2.5px at 400px 140px, rgba(255,255,255,0.9), transparent),
        radial-gradient(2px 2px at 480px 60px, white, transparent);
    background-size: 500px 180px;
    animation: twinkle 4s ease-in-out infinite 1.5s;
    filter: drop-shadow(0 0 3px rgba(255,255,255,0.85));
}

/* 第三屏彗星 - 4颗 */
.slide:nth-child(3)::before {
    content: '';
    position: absolute;
    top: 12%;
    left: -210px;
    width: 310px;
    height: 3px;
    background: linear-gradient(90deg, 
        rgba(255,255,255,1) 0%, 
        rgba(200,190,255,0.75) 20%,
        rgba(160,140,255,0.38) 50%,
        transparent 100%);
    border-radius: 50%;
    filter: blur(1px);
    box-shadow: 
        0 0 22px rgba(160,140,255,0.75),
        0 0 45px rgba(160,140,255,0.38);
    animation: comet8 26s linear infinite 3s;
    z-index: 2;
}

.slide:nth-child(3)::after {
    content: '';
    position: absolute;
    top: 38%;
    left: -250px;
    width: 360px;
    height: 3.8px;
    background: linear-gradient(90deg, 
        rgba(255,255,255,1) 0%, 
        rgba(190,180,255,0.73) 22%,
        rgba(150,130,255,0.37) 52%,
        transparent 100%);
    border-radius: 50%;
    filter: blur(1.1px);
    box-shadow: 
        0 0 26px rgba(150,130,255,0.73),
        0 0 52px rgba(150,130,255,0.37);
    animation: comet9 30s linear infinite 12s;
    z-index: 2;
}

/* 第三屏额外移动星星 */
.slide:nth-child(3) .slide-stars {
    position: relative;
    z-index: 1;
}

.slide:nth-child(3) .slide-stars::before {
    content: '';
    position: absolute;
    width: 2.6px;
    height: 2.6px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 8px white, 0 0 16px rgba(255,255,255,0.85);
    top: 30%;
    left: 20%;
    animation: moveStar5 21s linear infinite 4s;
}

.slide:nth-child(3) .slide-stars::after {
    content: '';
    position: absolute;
    width: 2.2px;
    height: 2.2px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    box-shadow: 0 0 7px rgba(255,255,255,0.9), 0 0 14px rgba(255,255,255,0.65);
    top: 70%;
    left: 65%;
    animation: moveStar6 23s linear infinite 11s;
}

@keyframes moveStar5 {
    0% { left: 20%; top: 30%; opacity: 0; }
    10% { opacity: 1; }
    50% { left: 65%; top: 50%; }
    90% { opacity: 1; }
    100% { left: 95%; top: 40%; opacity: 0; }
}

@keyframes moveStar6 {
    0% { left: 65%; top: 70%; opacity: 0; }
    10% { opacity: 1; }
    50% { left: 25%; top: 45%; }
    90% { opacity: 1; }
    100% { left: 80%; top: 60%; opacity: 0; }
}

.slide:nth-child(3) .slide-stars {
    position: relative;
}

.slide:nth-child(3) .slide-stars::before {
    content: '';
    position: absolute;
    top: 58%;
    left: -190px;
    width: 285px;
    height: 2.7px;
    background: linear-gradient(90deg, 
        rgba(255,255,255,1) 0%, 
        rgba(195,185,255,0.68) 25%,
        rgba(155,135,255,0.34) 55%,
        transparent 100%);
    border-radius: 50%;
    filter: blur(0.85px);
    box-shadow: 
        0 0 19px rgba(155,135,255,0.68),
        0 0 38px rgba(155,135,255,0.34);
    animation: comet10 28s linear infinite 19s;
}

.slide:nth-child(3) .slide-stars::after {
    content: '';
    position: absolute;
    top: 28%;
    left: -230px;
    width: 330px;
    height: 3.1px;
    background: linear-gradient(90deg, 
        rgba(255,255,255,1) 0%, 
        rgba(198,188,255,0.7) 23%,
        rgba(158,138,255,0.35) 53%,
        transparent 100%);
    border-radius: 50%;
    filter: blur(0.95px);
    box-shadow: 
        0 0 23px rgba(158,138,255,0.7),
        0 0 46px rgba(158,138,255,0.35);
    animation: comet11 29s linear infinite 24s;
}

@keyframes comet8 {
    0% { left: -210px; }
    100% { left: 110%; }
}

@keyframes comet9 {
    0% { left: -250px; }
    100% { left: 110%; }
}

@keyframes comet10 {
    0% { left: -190px; }
    100% { left: 110%; }
}

@keyframes comet11 {
    0% { left: -230px; }
    100% { left: 110%; }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* 星云效果 - 第一屏：紫红色星云 */
.slide:nth-child(1) .slide-bg::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(180, 80, 150, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: nebula 15s ease-in-out infinite;
}

.slide:nth-child(1) .slide-bg::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(160, 70, 140, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(30px);
    animation: nebula 12s ease-in-out infinite 3s;
}

/* 星云效果 - 第二屏：红蓝色星云 */
.slide:nth-child(2) .slide-bg::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(100, 80, 180, 0.22) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(45px);
    animation: nebula 18s ease-in-out infinite 2s;
}

.slide:nth-child(2) .slide-bg::after {
    content: '';
    position: absolute;
    bottom: 25%;
    right: 15%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(120, 60, 160, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(35px);
    animation: nebula 16s ease-in-out infinite 5s;
}

/* 星云效果 - 第三屏：粉红色星云 */
.slide:nth-child(3) .slide-bg::before {
    content: '';
    position: absolute;
    top: 25%;
    right: 20%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(200, 100, 150, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(38px);
    animation: nebula 20s ease-in-out infinite 1s;
}

.slide:nth-child(3) .slide-bg::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 25%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(180, 80, 130, 0.16) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(32px);
    animation: nebula 14s ease-in-out infinite 4s;
}

@keyframes nebula {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.6; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 0.9; }
}

.slide-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.slide-content p {
    font-size: 1.35rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s 0.2s cubic-bezier(0.4, 0, 0.2, 1) both;
    opacity: 0.95;
}

.slide-content .btn-primary {
    animation: fadeInUp 0.8s 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
    font-size: 1rem;
    padding: 14px 36px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dot.active {
    background: white;
    width: 36px;
    border-radius: 6px;
}

.banner-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    pointer-events: none;
    z-index: 10;
}

.arrow {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* ==========================================
   公司介绍区
   ========================================== */
.about-section {
    padding: 4rem 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

/* CSS绘制的装饰图形 */
.about-section::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.mv-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-2);
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.mv-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.mv-card p {
    color: var(--text-secondary);
    margin: 0;
}

/* CSS绘制的图形替代图片 */
.about-image {
    position: relative;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-graphic {
    width: 100%;
    height: 100%;
    position: relative;
}

.graphic-circle-1 {
    position: absolute;
    width: 200px;
    height: 200px;
    background: var(--gradient-2);
    border-radius: 50%;
    top: 10%;
    left: 10%;
    opacity: 0.8;
    animation: float 6s ease-in-out infinite;
}

.graphic-circle-2 {
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--gradient-3);
    border-radius: 50%;
    bottom: 15%;
    right: 15%;
    opacity: 0.6;
    animation: float 8s ease-in-out infinite reverse;
}

.graphic-circle-3 {
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.6) 0%, rgba(236, 72, 153, 0.6) 100%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.access-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.access-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.access-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--gradient-2);
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    opacity: 0.05;
}

.access-card:hover::after {
    height: 100%;
}

.access-card > * {
    position: relative;
    z-index: 1;
}

.access-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.access-card h3 {
    font-size: 1.35rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.access-card p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================
   API基础服务
   ========================================== */
.api-section {
    padding: 4rem 0;
    background: var(--bg-white);
    position: relative;
}

.api-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(37, 99, 235, 0.3) 50%, transparent 100%);
}

.api-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.api-card {
    background: var(--bg-white);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.api-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-2);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    opacity: 0;
}

.api-card:hover::before {
    left: 0;
    opacity: 1;
}

.api-card > * {
    position: relative;
    z-index: 1;
}

.api-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.api-card:hover h3,
.api-card:hover p {
    color: white;
}

.api-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.25rem;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.api-card:hover .api-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1) rotate(5deg);
}

.api-card h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    font-weight: 700;
    transition: color 0.4s;
}

.api-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    transition: color 0.4s;
}

/* ==========================================
   AI基础设施
   ========================================== */
.ai-section {
    padding: 4rem 0;
    background: var(--gradient-1);
    color: white;
    position: relative;
    overflow: hidden;
}

.ai-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
}

.ai-section .section-title {
    color: white;
}

.ai-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.ai-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .ai-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

.ai-feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.ai-feature::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s;
}

.ai-feature:hover::before {
    opacity: 1;
}

.ai-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.3);
}

.ai-feature h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.ai-feature p {
    line-height: 1.7;
    opacity: 0.95;
    font-size: 0.95rem;
}

/* ==========================================
   API文档
   ========================================== */
.api-docs-section {
    padding: 4rem 0;
    background: var(--bg-light);
    position: relative;
}

.api-docs-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.docs-card {
    background: var(--bg-white);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    box-shadow: var(--shadow-sm);
}

.docs-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.docs-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.docs-card:hover .docs-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.docs-card h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.docs-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

@media (max-width: 1024px) {
    .api-docs-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .api-docs-content {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   页脚
   ========================================== */
.footer {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    color: white;
    padding: 3rem 0 1.5rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-3);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h4 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.6rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-2);
    border-radius: 2px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-column ul li {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ==========================================
   侧边栏悬浮
   ========================================== */
.sidebar-float {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.customer-service {
    position: relative;
    cursor: pointer;
}

.cs-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(167, 139, 250, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.cs-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gradient-2);
    animation: ripple 2s ease-out infinite;
    z-index: -1;
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

.cs-icon:hover {
    transform: scale(1.1) rotate(10deg);
}

.cs-qr {
    position: absolute;
    right: 70px;
    bottom: 0;
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: none;
    text-align: center;
    animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cs-qr.show {
    display: block;
}

.cs-qr img {
    width: 160px;
    height: 160px;
    margin-bottom: 0.75rem;
    border-radius: var(--radius-sm);
}

.cs-qr p {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
}

.back-to-top {
    width: 50px;
    height: 50px;
    background: var(--gradient-3);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(167, 139, 250, 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: scale(1.1) translateY(-3px);
}

/* ==========================================
   响应式设计
   ========================================== */
@media (max-width: 1024px) {
    .api-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .slide-content h1 {
        font-size: 2.75rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 1.5rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .slide-content h1 {
        font-size: 2.25rem;
    }
    
    .slide-content p {
        font-size: 1.1rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        height: 300px;
    }
    
    .mission-vision,
    .access-cards {
        grid-template-columns: 1fr;
    }
    
    .api-grid {
        grid-template-columns: 1fr;
    }
    
    .ai-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .slide-content h1 {
        font-size: 1.75rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .btn-primary {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
    
    .container {
        padding: 0 16px;
    }
}
