/* 基础重置和变量 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00d4ff;
    --secondary-color: #6c5ce7;
    --accent-color: #a29bfe;
    --bg-dark: #0a0a0a;
    --bg-dark-2: #1a1a1a;
    --bg-dark-3: #2a2a2a;
    --text-light: #ffffff;
    --text-muted: #b0b0b0;
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #6c5ce7 100%);
    --gradient-secondary: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    --gradient-accent: linear-gradient(135deg, #00d4ff 0%, #a29bfe 100%);
    --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.3);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: var(--shadow-card);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-logo i {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s infinite;
}

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

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

/* 认证按钮样式 */
.nav-auth {
    margin-left: 20px;
}

.auth-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white !important;
    padding: 8px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(45, 198, 83, 0.2);
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(45, 198, 83, 0.3);
    color: white !important;
}

.auth-btn i {
    font-size: 14px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: var(--transition);
}

/* 英雄区域 */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(108, 92, 231, 0.4) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.4) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(162, 155, 254, 0.3) 0%, transparent 50%);
    z-index: -2;
}

.ai-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(0, 212, 255, 0.8), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(108, 92, 231, 0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(162, 155, 254, 0.8), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(0, 212, 255, 0.6), transparent);
    background-repeat: repeat;
    background-size: 150px 150px;
    animation: float 20s infinite linear;
    z-index: -1;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.typing-effect {
    display: inline-block;
    border-right: 3px solid var(--primary-color);
    animation: blink 1s infinite;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.5);
}

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

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 80px;
}

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

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

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

/* 通用部分样式 */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* 关于我们 */
.about {
    padding: 100px 0;
    background: var(--bg-dark-2);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-muted);
    line-height: 1.8;
}

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

.feature-item {
    text-align: center;
    padding: 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.feature-item i {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.feature-item h4 {
    margin-bottom: 10px;
    color: var(--text-light);
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-brain {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.brain-node {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gradient-primary);
    animation: pulse 2s infinite;
}

.brain-node:nth-child(1) { top: 20%; left: 30%; animation-delay: 0s; }
.brain-node:nth-child(2) { top: 30%; right: 20%; animation-delay: 0.5s; }
.brain-node:nth-child(3) { bottom: 30%; left: 20%; animation-delay: 1s; }
.brain-node:nth-child(4) { bottom: 20%; right: 30%; animation-delay: 1.5s; }
.brain-node:nth-child(5) { top: 50%; left: 50%; animation-delay: 2s; }

/* 服务介绍 */
.services {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-card);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--text-light);
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    color: var(--text-muted);
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* 产品展示 */
.products {
    padding: 100px 0;
    background: var(--bg-dark-2);
}

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

.product-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 0;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-card);
}

.product-image {
    width: 100%;
    height: 200px;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.product-card:hover .product-image::before {
    transform: translateX(100%);
}

.product-content {
    padding: 30px;
}

.product-content h3 {
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 1.3rem;
}

.product-content p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.feature-tag {
    background: var(--gradient-primary);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.product-footer {
    display: flex;
    justify-content: center;
}

.product-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

/* 解决方案 */
.solutions {
    padding: 100px 0;
    background: var(--bg-dark-2);
}

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

.solution-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.solution-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
}

.solution-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: var(--gradient-secondary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.solution-card h3 {
    margin-bottom: 15px;
    color: var(--text-light);
}

.solution-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* 联系我们 */
.contact {
    padding: 100px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h3 {
    margin-bottom: 30px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    min-width: 30px;
}

.contact-item h4 {
    margin-bottom: 5px;
    color: var(--text-light);
}

.contact-item p {
    color: var(--text-muted);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form h3 {
    margin-bottom: 30px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

/* 页脚 */
.footer {
    background: var(--bg-dark-2);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.footer-logo i {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

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

.footer-section ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-section p {
    color: var(--text-muted);
    line-height: 1.6;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 高精版徽章样式 */
.premium-badge {
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 
        0 0 20px rgba(255, 215, 0, 0.8),
        0 0 40px rgba(255, 215, 0, 0.6),
        0 0 60px rgba(255, 215, 0, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 25%, #ffd700 50%, #ffed4e 75%, #ffd700 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: 
        shimmer 2s ease-in-out infinite,
        pulse-premium 1.5s ease-in-out infinite,
        float-badge 3s ease-in-out infinite;
    letter-spacing: 8px;
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    border: 3px solid #ffd700;
    border-radius: 15px;
    box-shadow: 
        0 0 30px rgba(255, 215, 0, 0.6),
        inset 0 0 20px rgba(255, 215, 0, 0.3);
}

.premium-badge::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, 
        transparent 0%, 
        rgba(255, 215, 0, 0.4) 25%, 
        transparent 50%, 
        rgba(255, 215, 0, 0.4) 75%, 
        transparent 100%);
    background-size: 200% 200%;
    border-radius: 18px;
    z-index: -1;
    animation: border-flow 3s linear infinite;
}

.premium-badge::after {
    content: '✦';
    position: absolute;
    top: 50%;
    left: -15px;
    transform: translateY(-50%);
    color: #ffd700;
    font-size: 1.5rem;
    animation: star-twinkle 1s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
}

/* 闪烁动画 */
@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* 脉冲动画 */
@keyframes pulse-premium {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.05);
        filter: brightness(1.2);
    }
}

/* 浮动动画 */
@keyframes float-badge {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 边框流动动画 */
@keyframes border-flow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* 星星闪烁动画 */
@keyframes star-twinkle {
    0% {
        opacity: 0.5;
        transform: translateY(-50%) scale(0.8) rotate(0deg);
    }
    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1.2) rotate(180deg);
    }
}

/* 普通版徽章样式 */
.standard-badge {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 
        0 0 15px rgba(76, 175, 80, 0.9),
        0 0 30px rgba(76, 175, 80, 0.6),
        0 0 45px rgba(76, 175, 80, 0.4),
        2px 2px 3px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 25%, #4caf50 50%, #66bb6a 75%, #4caf50 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: 
        shimmer-standard 2.5s ease-in-out infinite,
        pulse-standard 2s ease-in-out infinite;
    letter-spacing: 8px;
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    border: 3px solid #4caf50;
    border-radius: 12px;
    box-shadow: 
        0 0 25px rgba(76, 175, 80, 0.6),
        inset 0 0 15px rgba(76, 175, 80, 0.25);
}

.standard-badge::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(45deg, 
        transparent 0%, 
        rgba(76, 175, 80, 0.35) 25%, 
        transparent 50%, 
        rgba(76, 175, 80, 0.35) 75%, 
        transparent 100%);
    background-size: 200% 200%;
    border-radius: 15px;
    z-index: -1;
    animation: border-flow-standard 3.5s linear infinite;
}

.standard-badge::after {
    content: '◆';
    position: absolute;
    top: 50%;
    right: -15px;
    transform: translateY(-50%);
    color: #4caf50;
    font-size: 1.3rem;
    animation: diamond-glow 1.5s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 10px rgba(76, 175, 80, 0.9));
}

/* 普通版闪烁动画 */
@keyframes shimmer-standard {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* 普通版脉冲动画 */
@keyframes pulse-standard {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.03);
        filter: brightness(1.15);
    }
}

/* 普通版边框流动动画 */
@keyframes border-flow-standard {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* 钻石发光动画 */
@keyframes diamond-glow {
    0% {
        opacity: 0.6;
        transform: translateY(-50%) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1.1);
    }
}

/* 金牛吃韭菜动画 */
.bull-eating-animation {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* 金色牛头 */
.golden-bull {
    font-size: 5rem;
    position: relative;
    z-index: 3;
    animation: bull-chewing 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8))
            drop-shadow(0 0 40px rgba(255, 215, 0, 0.6))
            drop-shadow(0 0 60px rgba(255, 165, 0, 0.4));
    transform-origin: center center;
}

/* 牛咀嚼的动画 - 上下点头+张嘴效果 */
@keyframes bull-chewing {
    0%, 100% {
        transform: translateY(0) scale(1, 1);
    }
    15% {
        transform: translateY(10px) scale(1.05, 0.95);
    }
    30% {
        transform: translateY(0) scale(1, 1);
    }
    45% {
        transform: translateY(10px) scale(1.05, 0.95);
    }
    60% {
        transform: translateY(0) scale(1, 1);
    }
    75% {
        transform: translateY(10px) scale(1.05, 0.95);
    }
}

/* 韭菜菜园 - 环绕金牛 */
.leeks-garden {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* 青菜emoji作为韭菜 */
.leek-emoji {
    position: absolute;
    font-size: 2.5rem;
    filter: drop-shadow(0 0 8px rgba(76, 175, 80, 0.6));
    animation: leek-sway 3s ease-in-out infinite;
}

/* 韭菜环绕金牛的位置布局 */
.leek-emoji:nth-child(1) {
    bottom: 10%;
    left: 15%;
    animation-delay: 0s;
}

.leek-emoji:nth-child(2) {
    bottom: 10%;
    left: 35%;
    animation-delay: 0.3s;
}

.leek-emoji:nth-child(3) {
    bottom: 10%;
    right: 35%;
    animation-delay: 0.6s;
}

.leek-emoji:nth-child(4) {
    bottom: 10%;
    right: 15%;
    animation-delay: 0.9s;
}

.leek-emoji:nth-child(5) {
    top: 45%;
    left: 8%;
    animation-delay: 1.2s;
}

.leek-emoji:nth-child(6) {
    top: 45%;
    right: 8%;
    animation-delay: 1.5s;
}

.leek-emoji:nth-child(7) {
    top: 55%;
    left: 5%;
    animation-delay: 1.8s;
    font-size: 2rem;
}

.leek-emoji:nth-child(8) {
    top: 55%;
    right: 5%;
    animation-delay: 2.1s;
    font-size: 2rem;
}

/* 韭菜轻微摇摆动画 - 模拟自然生长 */
@keyframes leek-sway {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(-3deg) scale(1.02);
    }
    50% {
        transform: rotate(0deg) scale(1);
    }
    75% {
        transform: rotate(3deg) scale(1.02);
    }
}

/* 金币雨容器 */
.coins-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* 金币 */
.coin {
    position: absolute;
    font-size: 2rem;
    animation: coin-fall 2.5s ease-in infinite;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
}

.coin:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
}

.coin:nth-child(2) {
    left: 50%;
    animation-delay: 0.8s;
}

.coin:nth-child(3) {
    left: 75%;
    animation-delay: 1.6s;
}

/* 金币下落动画 */
@keyframes coin-fall {
    0% {
        top: -10%;
        opacity: 0;
        transform: translateY(0) rotate(0deg) scale(0.5);
    }
    20% {
        opacity: 1;
        transform: translateY(20px) rotate(180deg) scale(1);
    }
    80% {
        opacity: 1;
        transform: translateY(180px) rotate(720deg) scale(1);
    }
    100% {
        top: 110%;
        opacity: 0;
        transform: translateY(200px) rotate(900deg) scale(0.5);
    }
}

/* 悬停效果 - 金牛更兴奋，韭菜摇摆更快 */
.bull-eating-animation:hover .golden-bull {
    animation-duration: 1.5s;
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 1))
            drop-shadow(0 0 50px rgba(255, 215, 0, 0.8))
            drop-shadow(0 0 70px rgba(255, 165, 0, 0.6));
}

.bull-eating-animation:hover .leek-emoji {
    animation-duration: 1.5s;
    transform: scale(1.1);
}

.bull-eating-animation:hover .coin {
    animation-duration: 1.2s;
}

/* 额外的吃掉效果提示 */
.bull-eating-animation::after {
    content: '🍴';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    opacity: 0;
    animation: fork-appear 3s ease-in-out infinite;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
}

@keyframes fork-appear {
    0%, 90% {
        opacity: 0;
        transform: rotate(0deg) scale(0.5);
    }
    95% {
        opacity: 1;
        transform: rotate(20deg) scale(1);
    }
    100% {
        opacity: 0;
        transform: rotate(40deg) scale(0.5);
    }
}

/* 股票分析动画 - 专业版 */
.stock-analysis-animation {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 8px;
}

/* 股票图表背景 */
.stock-chart-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.grid-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 19%, rgba(148, 163, 184, 0.1) 19%, rgba(148, 163, 184, 0.1) 20%),
        repeating-linear-gradient(90deg, transparent, transparent 19%, rgba(148, 163, 184, 0.1) 19%, rgba(148, 163, 184, 0.1) 20%);
    animation: grid-pulse 3s ease-in-out infinite;
}

@keyframes grid-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.5; }
}

/* K线图 */
.candlestick-chart {
    position: absolute;
    bottom: 25%;
    left: 10%;
    right: 10%;
    height: 50%;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: 8px;
    z-index: 2;
}

.candle {
    position: relative;
    width: 12%;
    height: var(--height);
    border-radius: 2px;
    animation: candle-grow 1.5s ease-out forwards;
    animation-delay: var(--delay);
    transform-origin: bottom;
    transform: scaleY(0);
    filter: drop-shadow(0 0 8px currentColor);
}

.candle.red {
    background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
    border: 1px solid #ef4444;
}

.candle.green {
    background: linear-gradient(180deg, #10b981 0%, #059669 100%);
    border: 1px solid #10b981;
}

.candle::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -15%;
    transform: translateX(-50%);
    width: 2px;
    height: 20%;
    background: currentColor;
}

.candle::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15%;
    transform: translateX(-50%);
    width: 2px;
    height: 20%;
    background: currentColor;
}

@keyframes candle-grow {
    0% {
        transform: scaleY(0);
        opacity: 0;
    }
    50% {
        transform: scaleY(1.1);
    }
    100% {
        transform: scaleY(1);
        opacity: 1;
    }
}

/* 趋势线 */
.trend-line {
    position: absolute;
    width: 80%;
    height: 60%;
    top: 20%;
    left: 10%;
    z-index: 3;
    pointer-events: none;
}

.trend-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw-trend 3s ease-out forwards 0.5s;
}

@keyframes draw-trend {
    to {
        stroke-dashoffset: 0;
    }
}

/* 数据指标 */
.stock-indicators {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 4;
}

.indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.8);
    padding: 8px 12px;
    border-radius: 6px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    animation: indicator-slide 0.8s ease-out forwards;
    opacity: 0;
    transform: translateX(-20px);
}

.indicator.price { animation-delay: 1.5s; }
.indicator.volume { animation-delay: 1.8s; }

@keyframes indicator-slide {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.indicator .label {
    font-size: 0.65rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.indicator .value {
    font-size: 0.95rem;
    color: #fff;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

.indicator .change {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
}

.indicator .change.up {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.indicator .change.down {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.indicator .unit {
    font-size: 0.7rem;
    color: #94a3b8;
    margin-left: -4px;
}

/* AI分析标识 */
.ai-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    z-index: 4;
    animation: ai-fade-in 0.8s ease-out forwards 2s;
    opacity: 0;
}

@keyframes ai-fade-in {
    to { opacity: 1; }
}

.ai-badge i {
    font-size: 0.9rem;
    color: #3b82f6;
    animation: brain-pulse 2s ease-in-out infinite;
}

@keyframes brain-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.ai-badge span {
    font-size: 0.7rem;
    color: #60a5fa;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ai-badge .pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3b82f6;
    animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 0 4px rgba(59, 130, 246, 0);
    }
}

/* 上涨箭头 */
.bull-arrow {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    z-index: 4;
    animation: arrow-appear 1s ease-out forwards 2.5s, arrow-float 3s ease-in-out infinite 3.5s;
    opacity: 0;
    transform: translateY(20px);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

@keyframes arrow-appear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes arrow-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.bull-arrow i {
    font-size: 1.5rem;
    color: #fff;
    animation: arrow-bounce 2s ease-in-out infinite;
}

@keyframes arrow-bounce {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(-5deg);
    }
    75% {
        transform: translateY(5px) rotate(5deg);
    }
}

/* 悬停效果 */
.stock-analysis-animation:hover .candle {
    animation-duration: 1s;
}

.stock-analysis-animation:hover .trend-path {
    filter: url(#glow) drop-shadow(0 0 10px #10b981);
}

.stock-analysis-animation:hover .bull-arrow {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.8);
}

.stock-analysis-animation:hover .ai-badge {
    border-color: rgba(59, 130, 246, 0.6);
    background: rgba(59, 130, 246, 0.2);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .stock-indicators {
        gap: 8px;
    }
    
    .indicator {
        padding: 6px 10px;
    }
    
    .indicator .value {
        font-size: 0.85rem;
    }
    
    .bull-arrow {
        width: 40px;
        height: 40px;
    }
    
    .bull-arrow i {
        font-size: 1.2rem;
    }
}

/* 智能OCR动画 */
.ocr-animation {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border-radius: 8px;
    overflow: hidden;
}

/* 文档扫描 */
.document-scan {
    position: relative;
    width: 80px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.doc-icon {
    font-size: 4rem;
    color: #fff;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #22d3ee, transparent);
    box-shadow: 0 0 10px #22d3ee;
    animation: scanning 2s ease-in-out infinite;
}

@keyframes scanning {
    0% {
        top: 0;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

/* 文字粒子 */
.text-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    opacity: 0;
    animation: particle-float 3s ease-in-out infinite;
}

.particle:nth-child(1) {
    left: 20%;
    top: 30%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    right: 20%;
    top: 40%;
    animation-delay: 0.5s;
}

.particle:nth-child(3) {
    left: 30%;
    bottom: 35%;
    animation-delay: 1s;
}

.particle:nth-child(4) {
    right: 25%;
    bottom: 45%;
    animation-delay: 1.5s;
}

@keyframes particle-float {
    0%, 100% {
        opacity: 0;
        transform: translateY(0);
    }
    20%, 80% {
        opacity: 1;
    }
    50% {
        transform: translateY(-20px);
    }
}

/* AI处理图标 */
.ai-process {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    color: #fbbf24;
    z-index: 3;
    opacity: 0;
    animation: ai-appear 3s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(251, 191, 36, 0.6));
}

@keyframes ai-appear {
    0%, 30%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
    40%, 60% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* OCR输出结果 */
.ocr-output {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 2rem;
    color: #10b981;
    z-index: 4;
    opacity: 0;
    animation: result-appear 3s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.5));
}

@keyframes result-appear {
    0%, 65%, 100% {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    75%, 95% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* OCR方案选择器 */
.ocr-options {
    margin: 1rem 0;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    border: 1px solid rgba(79, 70, 229, 0.1);
    border-radius: 12px;
}

.option-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4f46e5;
}

.option-label i {
    font-size: 1rem;
}

.option-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.8rem;
    background: #fff;
    border: 2px solid transparent;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.option-card:hover {
    border-color: #4f46e5;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.15);
}

.option-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    color: #fff;
    transition: all 0.3s ease;
}

.option-icon.deepseek {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
}

.option-icon.paddle {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.option-icon.pdf {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.option-card:hover .option-icon {
    transform: scale(1.1) rotate(5deg);
}

.option-info {
    text-align: center;
}

.option-info h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.2rem 0;
}

.option-info p {
    font-size: 0.7rem;
    color: #6b7280;
    margin: 0;
}

/* 响应式 - OCR选择器 */
@media (max-width: 768px) {
    .option-cards {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    
    .option-card {
        flex-direction: row;
        justify-content: flex-start;
        gap: 1rem;
        padding: 0.6rem;
    }
    
    .option-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin-bottom: 0;
    }
    
    .option-info {
        text-align: left;
    }
}

/* 模态框中的OCR方案选择器 */
.modal-ocr-options {
    margin: 2rem 0;
}

.modal-ocr-options .option-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
}

.modal-ocr-options .option-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
    padding: 1.2rem;
    align-items: start;
}

.modal-ocr-options .option-icon {
    grid-row: 1 / 3;
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
    margin-bottom: 0;
}

.modal-ocr-options .option-info {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
}

.modal-ocr-options .option-info h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.modal-ocr-options .option-info p {
    font-size: 0.85rem;
}

.modal-ocr-options .option-details {
    grid-column: 2;
    grid-row: 2;
    padding-top: 0.5rem;
    border-top: 1px solid #e5e7eb;
}

.modal-ocr-options .option-details p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #4b5563;
    margin: 0;
}

.modal-ocr-options .option-card:hover .option-details {
    color: #1f2937;
}

/* 玄道心理动画 */
.psychology-animation {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(156, 39, 176, 0.1), transparent);
}

/* 脉冲波纹效果 */
.pulse-waves {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.pulse-waves::before,
.pulse-waves::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 3px solid rgba(233, 30, 99, 0.6);
    border-radius: 50%;
    animation: pulse-expand 3s ease-out infinite;
}

.pulse-waves::after {
    animation-delay: 1.5s;
    border-color: rgba(156, 39, 176, 0.6);
}

@keyframes pulse-expand {
    0% {
        width: 80px;
        height: 80px;
        opacity: 1;
    }
    50% {
        width: 150px;
        height: 150px;
        opacity: 0.5;
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

/* 中心的心形和大脑图标 */
.heart-brain-center {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    animation: center-breathing 4s ease-in-out infinite;
}

.heart-icon {
    font-size: 3rem;
    animation: heart-beat 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(233, 30, 99, 0.8))
            drop-shadow(0 0 40px rgba(233, 30, 99, 0.4));
}

.brain-icon {
    font-size: 3rem;
    animation: brain-pulse 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(156, 39, 176, 0.8))
            drop-shadow(0 0 40px rgba(156, 39, 176, 0.4));
}

@keyframes center-breathing {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes heart-beat {
    0%, 100% {
        transform: scale(1);
    }
    10%, 30% {
        transform: scale(1.15);
    }
    20%, 40% {
        transform: scale(1);
    }
}

@keyframes brain-pulse {
    0%, 100% {
        opacity: 1;
        transform: rotate(0deg);
    }
    50% {
        opacity: 0.8;
        transform: rotate(5deg);
    }
}

/* 对话气泡 - 环绕中心 */
.chat-bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.chat-bubble {
    position: absolute;
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(33, 150, 243, 0.6));
    animation: bubble-float 4s ease-in-out infinite;
}

.chat-bubble.bubble-1 {
    top: 15%;
    left: 20%;
    animation-delay: 0s;
}

.chat-bubble.bubble-2 {
    top: 20%;
    right: 20%;
    animation-delay: 1s;
}

.chat-bubble.bubble-3 {
    bottom: 20%;
    left: 15%;
    animation-delay: 2s;
}

.chat-bubble.bubble-4 {
    bottom: 15%;
    right: 15%;
    animation-delay: 3s;
}

@keyframes bubble-float {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-15px) scale(1.1);
        opacity: 1;
    }
}

/* 健康图标 - 漂浮效果 */
.wellness-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.wellness-icon {
    position: absolute;
    font-size: 1.5rem;
    animation: wellness-drift 6s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(255, 193, 7, 0.6));
}

.wellness-icon.icon-1 {
    top: 10%;
    left: 50%;
    animation-delay: 0s;
}

.wellness-icon.icon-2 {
    top: 50%;
    right: 10%;
    animation-delay: 1.5s;
}

.wellness-icon.icon-3 {
    bottom: 10%;
    left: 50%;
    animation-delay: 3s;
}

.wellness-icon.icon-4 {
    top: 50%;
    left: 10%;
    animation-delay: 4.5s;
}

@keyframes wellness-drift {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.6;
    }
    25% {
        transform: translate(10px, -10px) rotate(10deg);
        opacity: 1;
    }
    50% {
        transform: translate(-5px, -15px) rotate(-5deg);
        opacity: 0.8;
    }
    75% {
        transform: translate(-10px, -5px) rotate(5deg);
        opacity: 0.9;
    }
}

/* AI分析粒子 */
.ai-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.ai-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #00d4ff, #6c5ce7);
    border-radius: 50%;
    animation: ai-analyze 3s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.8),
                0 0 20px rgba(108, 92, 231, 0.6);
}

.ai-dot.dot-1 {
    top: 30%;
    left: 30%;
    animation-delay: 0s;
}

.ai-dot.dot-2 {
    top: 30%;
    right: 30%;
    animation-delay: 0.75s;
}

.ai-dot.dot-3 {
    bottom: 30%;
    left: 30%;
    animation-delay: 1.5s;
}

.ai-dot.dot-4 {
    bottom: 30%;
    right: 30%;
    animation-delay: 2.25s;
}

@keyframes ai-analyze {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    25% {
        transform: scale(1.5);
        opacity: 0.6;
    }
    50% {
        transform: scale(0.8);
        opacity: 1;
    }
    75% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

/* 悬停效果 - 加速所有动画 */
.psychology-animation:hover .heart-icon {
    animation-duration: 1s;
}

.psychology-animation:hover .brain-icon {
    animation-duration: 1.5s;
}

.psychology-animation:hover .chat-bubble {
    animation-duration: 2s;
    transform: scale(1.2);
}

.psychology-animation:hover .wellness-icon {
    animation-duration: 3s;
}

.psychology-animation:hover .ai-dot {
    animation-duration: 1.5s;
    box-shadow: 0 0 20px rgba(0, 212, 255, 1),
                0 0 40px rgba(108, 92, 231, 0.8);
}

/* 背景渐变效果 */
.psychology-animation::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at center,
        rgba(233, 30, 99, 0.1) 0%,
        rgba(156, 39, 176, 0.1) 50%,
        transparent 100%
    );
    animation: bg-pulse 4s ease-in-out infinite;
    z-index: 0;
}

@keyframes bg-pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        justify-content: start;
        align-items: center;
        padding-top: 50px;
        transition: var(--transition);
    }

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

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ai-brain {
        width: 200px;
        height: 200px;
    }

    .services-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-card,
    .solution-card {
        padding: 30px 20px;
    }

    .contact-form {
        padding: 30px 20px;
    }
}

/* 产品详情模态框 */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--bg-dark-2);
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.3s ease;
}

.modal-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.8rem;
}

.close {
    color: var(--text-muted);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.close:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body {
    padding: 30px;
}

.modal-footer {
    padding: 20px 30px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
}

.product-detail {
    color: var(--text-light);
}

.product-detail h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.product-detail p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.product-detail ul {
    list-style: none;
    padding: 0;
}

.product-detail li {
    color: var(--text-muted);
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.product-detail li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.product-specs {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
}

.product-specs h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    color: var(--text-light);
    font-weight: 500;
}

.spec-value {
    color: var(--text-muted);
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.gallery-item {
    aspect-ratio: 16/9;
    background: var(--gradient-secondary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.05);
}

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 20px;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .spec-grid {
        grid-template-columns: 1fr;
    }
    
    .product-gallery {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
} 