/* 自定义CSS增强文件 */

/* 变量设置 */
:root {
    --mouse-x: 0;
    --mouse-y: 0;
}

/* Fullpage Scroll Setup */
html, body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    background: #f8f9fa;
    line-height: 1.6;
}

/* 导航样式 */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.flex-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo h1 {
    margin: 0;
    font-size: 2rem;
    background: linear-gradient(135deg, #4F46E5, #10B981);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -1px;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, #4F46E5, #10B981);
    transition: width 0.3s;
}

nav ul li a:hover {
    color: #4F46E5;
}

nav ul li a:hover:after {
    width: 100%;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #4F46E5, #10B981);
    color: white;
    border: none;
}

.btn-secondary {
    background: transparent;
    color: #333;
    border: 2px solid #4F46E5;
}

.btn-outline {
    background: transparent;
    color: #4F46E5;
    border: 2px solid #4F46E5;
}

/* 全屏Section样式 */
.section {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
}

.section.active {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 2;
}

#hero.section {
    opacity: 1;
}

.section[style*="opacity: 1"] {
    visibility: visible;
    pointer-events: auto;
}

.section[style*="opacity: 0"] {
    visibility: hidden;
    pointer-events: none;
}

#fullpage-container {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

/* 背景动画元素 */
.shape {
    position: absolute;
    opacity: 0.1;
    filter: blur(40px);
    animation: float 15s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    border-radius: 43% 57% 70% 30% / 51% 38% 62% 49%;
    background: linear-gradient(45deg, #4F46E5, #10B981);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    border-radius: 59% 41% 39% 61% / 40% 54% 46% 60%;
    background: linear-gradient(45deg, #10B981, #3B82F6);
    bottom: 10%;
    right: 10%;
    animation-delay: -5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    border-radius: 32% 68% 64% 36% / 47% 50% 50% 53%;
    background: linear-gradient(45deg, #6366F1, #EC4899);
    top: 30%;
    right: 25%;
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(10px, 15px) rotate(5deg);
    }
    50% {
        transform: translate(5px, -10px) rotate(-5deg);
    }
    75% {
        transform: translate(-10px, 5px) rotate(3deg);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

/* 粒子背景 */
.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    animation: particle-float 20s linear infinite;
}

@keyframes particle-float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
    }
}

/* 英雄区域样式 */
.header-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.dynamic-headline {
    position: relative;
    display: inline-block;
}

.text-gradient {
    background: linear-gradient(135deg, #4F46E5, #10B981);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.rotating-words {
    display: inline-block;
    position: relative;
    text-align: left;
    height: 4.5rem;
    overflow: hidden;
}

.rotating-words span {
    position: absolute;
    opacity: 0;
    overflow: hidden;
    color: #6366F1;
    animation: rotateWords 9s linear infinite 0s;
    width: 100%;
    display: inline-block;
}

.rotating-words span:nth-child(2) {
    animation-delay: 3s;
}

.rotating-words span:nth-child(3) {
    animation-delay: 6s;
}

@keyframes rotateWords {
    0% {
        opacity: 0;
        transform: translateY(50%);
        filter: blur(5px);
    }
    5% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
    30% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
    35% {
        opacity: 0;
        transform: translateY(-50%);
        filter: blur(5px);
    }
    100% {
        opacity: 0;
    }
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #4B5563;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* 解决方案卡片 */
.solution-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.solution-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.solution-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #4F46E5, #10B981);
    transition: height 0.3s;
    z-index: -1;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.solution-card:hover:before {
    height: 10px;
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    color: #4F46E5;
}

.icon-shine {
    position: relative;
}

.icon-shine:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.8), rgba(255,255,255,0));
    transform: translateX(-100%);
    animation: shine 3s infinite;
}

@keyframes shine {
    100% {
        transform: translateX(100%);
    }
}

.solution-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #1F2937;
}

.solution-card p {
    color: #4B5563;
    margin-bottom: 1.5rem;
}

.learn-more {
    color: #4F46E5;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s;
}

.learn-more:hover {
    transform: translateX(5px);
}

/* 平台特性 */
.platform-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: #1F2937;
}

.feature p {
    color: #4B5563;
    margin-bottom: 1.5rem;
}

.feature-link {
    color: #4F46E5;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s;
}

.feature-link:hover {
    color: #10B981;
}

/* 统计数据 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    position: relative;
}

.counter {
    font-size: 3.5rem;
    font-weight: 800;
    color: #4F46E5;
    line-height: 1;
    display: inline-block;
}

.stat-title {
    font-size: 1.1rem;
    color: #4B5563;
    margin-top: 0.5rem;
}

.stat-unit {
    font-size: 2rem;
    font-weight: 800;
    color: #10B981;
    display: inline-block;
    margin-left: 0.2rem;
}

/* 应用场景 */
.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.use-case-item {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.use-case-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.use-case-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #4F46E5;
}

.use-case-item h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: #1F2937;
}

.use-case-item p {
    color: #4B5563;
}

.use-case-cta {
    text-align: center;
    margin-top: 2rem;
}

/* 客户证言 */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-item {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-item:before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 5rem;
    color: #E5E7EB;
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 0;
}

.quote {
    position: relative;
    z-index: 1;
    color: #1F2937;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.attribution {
    text-align: right;
    color: #4B5563;
    font-weight: 600;
}

/* 联系部分 */
.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4B5563;
    font-weight: 500;
}

.contact-item i {
    color: #4F46E5;
}

/* 页脚 */
#footer {
    background: #1F2937;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    padding-bottom: 3rem;
}

.footer-logo h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #4F46E5, #10B981);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-logo p {
    color: #9CA3AF;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.link-group h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.link-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-group ul li {
    margin-bottom: 0.8rem;
}

.link-group ul li a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s;
}

.link-group ul li a:hover {
    color: #10B981;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: #9CA3AF;
    margin: 0;
}

.legal-links {
    display: flex;
    gap: 2rem;
}

.legal-links a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s;
}

.legal-links a:hover {
    color: #10B981;
}

/* 滚动指示器 */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #4F46E5, #10B981);
    z-index: 200;
    width: 0%;
    transition: width 0.3s;
}

.section-indicator {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
}

.section-dot:hover {
    transform: scale(1.2);
}

.section-dot.active {
    background: #4F46E5;
    transform: scale(1.2);
}

/* 鼠标光晕效果 */
.cursor-glow {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, rgba(16, 185, 129, 0) 70%);
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s;
}

/* 3D Hover效果 */
.hover-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* 淡入动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
}

.fade-in.active {
    opacity: 1;
    animation: fadeIn 0.8s forwards;
}

/* 部分样式重置 */
h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #4B5563;
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
}

/* 背景颜色交替 */
.section:nth-child(odd) {
    background: #f8f9fa;
}

.section:nth-child(even) {
    background: #ffffff;
}

/* Page Indicators */
.section-indicator {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.section-indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.section-indicator-dot.active {
    background: var(--primary-color);
    transform: scale(1.5);
}

/* Gradient Text Shadow */
.gradient-text-shadow {
    text-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    width: 100%;
}

.stat-item {
    position: relative;
    padding: 2rem;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.counter {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.stat-title {
    font-size: 1.1rem;
    color: var(--medium-text);
    margin-bottom: 0.25rem;
}

.stat-unit {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: inline-block;
    margin-left: 0.25rem;
}

/* Sections with Alternative Backgrounds */
.section:nth-child(odd) {
    background-color: var(--bg-white);
}

.section:nth-child(even) {
    background-color: var(--bg-light);
}

/* First Section (Header/Hero) Special Styling */
.section.header-section {
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(249,250,251,0.95) 100%);
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
} 