/* 基础变量和重置 */
:root {
    --primary: #4361ee;
    --primary-dark: #3a0ca3;
    --secondary: #4cc9f0;
    --accent: #f72585;
    --dark: #14213d;
    --light: #f8f9fa;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --dark-bg: #0c1427;
    --card-bg: rgba(255, 255, 255, 0.05);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
  text-decoration: none;
}

body {
    font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
    /*position: relative;*/
}
/* 基础布局 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
section {
    padding: 100px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}
.section-header p {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}
/* 文字渐变效果 */
.text-gradient {background: linear-gradient(90deg, var(--primary), var(--accent));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}

/* 按钮样式 */
.primary-button {
display: inline-flex;
align-items: center;
gap: 8px;
background: linear-gradient(90deg, var(--primary), var(--primary-dark));
color: white;
padding: 12px 24px;
border-radius: 50px;
font-weight: 600;
transition: all 0.3s ease;
border: none;
cursor: pointer;
box-shadow: 0 4px 15px rgba(67, 97, 238, 0.3);
}

.primary-button:hover {
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(67, 97, 238, 0.4);
}

.secondary-button {
display: inline-flex;
align-items: center;
gap: 8px;
background: transparent;
color: var(--primary);
padding: 12px 24px;
border-radius: 50px;
font-weight: 600;
transition: all 0.3s ease;
border: 2px solid var(--primary);
cursor: pointer;
}

.secondary-button:hover {
background: rgba(67, 97, 238, 0.1);
}

.big-button {
padding: 16px 32px;
font-size: 1.1rem;
}

.full-width {
width: 100%;
}

/* 毛玻璃效果 */
.glass-nav {
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 1000;
background: rgba(255, 255, 255, 0.8);
backdrop-filter: blur(10px);
box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* 导航栏样式 */
nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 0;
}

.logo {
display: flex;
align-items: center;
font-size: 1.5rem;
font-weight: 700;
}

.logo a {
color: var(--dark);
text-decoration: none;
}

.tech-badge {
background: linear-gradient(90deg, var(--primary), var(--secondary));
color: white;
padding: 2px 8px;
border-radius: 4px;
font-size: 0.8rem;
margin-right: 10px;
font-weight: 700;
}

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

.nav-links a {
color: var(--dark);
font-weight: 600;
transition: all 0.3s ease;
display: flex;
align-items: center;
gap: 8px;
}

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

.mobile-menu-btn {
display: none;
font-size: 1.5rem;
cursor: pointer;
}

/* 英雄区域样式 */
.hero-section {
padding-top: 160px;
padding-bottom: 100px;
position: relative;
overflow: hidden;
}

.gradient-bg {
position: absolute;
top: -500px;
left: -500px;
width: 1000px;
height: 1000px;
background: radial-gradient(circle at center, rgba(67, 97, 238, 0.15) 0%, rgba(67, 97, 238, 0) 70%);
z-index: -1;
}

.gradient-bg-2 {
position: absolute;
bottom: -300px;
right: -300px;
width: 600px;
height: 600px;
background: radial-gradient(circle at center, rgba(247, 37, 133, 0.1) 0%, rgba(247, 37, 133, 0) 70%);
z-index: -1;
}

#particles-js {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
}

.hero-content {
display: flex;
align-items: center;
gap: 50px;
}

.hero-text {
flex: 1;
}

.hero-image {
flex: 1;
position: relative;
}

.hero-text h1 {
font-size: 3.5rem;
font-weight: 800;
margin-bottom: 20px;
line-height: 1.2;
}

.hero-subtitle {
font-size: 1.3rem;
color: var(--gray);
margin-bottom: 30px;
max-width: 600px;
}

.hero-cta {
display: flex;
gap: 15px;
}

.floating-image {
position: relative;
animation: floating 6s ease-in-out infinite;
}

.floating-image img {
border-radius: 15px;
box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
max-width: 100%;
position: relative;
z-index: 2;
}

.image-border {
position: absolute;
top: -20px;
left: -20px;
width: calc(100% + 40px);
height: calc(100% + 40px);
border: 2px dashed var(--primary);
border-radius: 25px;
z-index: 1;
opacity: 0.5;
animation: floating 6s ease-in-out infinite reverse;
}

/* 功能区域样式 */
.features-section {
background-color: white;
position: relative;
}

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

.feature-card {
background: white;
padding: 40px 30px;
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
border: 1px solid rgba(0, 0, 0, 0.05);
}

.hover-glow {
transition: all 0.3s ease;
}

.hover-glow:hover {
transform: translateY(-10px);
box-shadow: 0 15px 40px rgba(67, 97, 238, 0.15);
}

.feature-icon {
width: 60px;
height: 60px;
background: linear-gradient(135deg, var(--primary), var(--secondary));
border-radius: 15px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 25px;
color: white;
font-size: 1.5rem;
}

.feature-card h3 {
font-size: 1.4rem;
margin-bottom: 15px;
color: var(--dark);
}

.feature-card p {
color: var(--gray);
margin-bottom: 20px;
}

.feature-tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 20px;
}

.feature-tags li {
background: rgba(67, 97, 238, 0.1);
color: var(--primary);
padding: 4px 12px;
border-radius: 50px;
font-size: 0.85rem;
font-weight: 500;
}

/* 优势区域样式 */
.advantages-section {
background-color: var(--light);
}

.advantages-content {
display: flex;
gap: 50px;
align-items: center;
}

.advantages-image {
flex: 1;
}

.advantages-image img {
max-width: 100%;
border-radius: 15px;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.advantages-text {
flex: 1;
}

.advantage-list {
display: flex;
flex-direction: column;
gap: 30px;
}

.advantage-item {
display: flex;
gap: 20px;
}

.advantage-badge {
width: 40px;
height: 40px;
background: linear-gradient(135deg, var(--primary), var(--accent));
color: white;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
flex-shrink: 0;
}

.advantage-item h3 {
font-size: 1.2rem;
margin-bottom: 8px;
}

.advantage-item p {
color: var(--gray);
}

/* CTA区域样式 */
.cta-section {
padding: 80px 0;
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
color: white;
}

.cta-card {
background: var(--glass-bg);
backdrop-filter: blur(10px);
border: 1px solid var(--glass-border);
border-radius: 20px;
padding: 60px;
text-align: center;
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.cta-card h2 {
font-size: 2.2rem;
margin-bottom: 15px;
}

.cta-card p {
font-size: 1.2rem;
opacity: 0.9;
margin-bottom: 30px;
max-width: 700px;
margin-left: auto;
margin-right: auto;
}

/* 联系区域样式 */
.contact-section {
background-color: white;
}

.contact-content {
display: flex;
gap: 50px;
}

.contact-form {
flex: 1;
background: white;
padding: 40px;
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

.form-group label {
display: block;
margin-bottom: 8px;
font-weight: 600;
color: var(--dark);
}

.form-group input,
.form-group textarea {
width: 100%;
padding: 12px 20px;
border: 1px solid var(--light-gray);
border-radius: 10px;
font-family: inherit;
font-size: 1rem;
transition: all 0.3s ease;
}

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

.contact-info {
flex: 1;
}

.info-card {
background: white;
padding: 30px;
border-radius: 15px;
margin-bottom: 20px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
}

.info-card:hover {
transform: translateY(-5px);
}

.info-icon {
width: 50px;
height: 50px;
background: rgba(67, 97, 238, 0.1);
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 20px;
color: var(--primary);
font-size: 1.2rem;
}

.info-card h3 {
font-size: 1.2rem;
margin-bottom: 10px;
}

.info-card a {
color: var(--primary);
font-weight: 500;
}

/* 页脚样式 */
.footer-section {
background-color: var(--dark);
color: white;
padding: 80px 0 30px;
margin-bottom: 0 !important;
}

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

.footer-col h3 {
font-size: 1.2rem;
margin-bottom: 25px;
color: white;
}

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

.footer-col li {
margin-bottom: 12px;
}

.footer-col a {
color: rgba(255, 255, 255, 0.7);
transition: all 0.3s ease;
}

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

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

.social-links a {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
background: rgba(255, 255, 255, 0.1);
border-radius: 50%;
color: white;
transition: all 0.3s ease;
}

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

.footer-bottom {
display: flex;
justify-content: space-between;
align-items: center;
padding-top: 30px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
color: rgba(255, 255, 255, 0.6);
font-size: 0.9rem;
}

.footer-links {
display: flex;
gap: 20px;
}

.footer-links a {
color: rgba(255, 255, 255, 0.6);
}

/* 动画效果 */
@keyframes floating {
0% {
transform: translateY(0px);
}
50% {
transform: translateY(-15px);
}
100% {
transform: translateY(0px);
}
}

/* 响应式设计 */
@media (max-width: 1200px) {
.section-header h2 {
font-size: 2.4rem;
}

.hero-text h1 {
font-size: 3rem;
}
}

@media (max-width: 992px) {
.hero-content, .advantages-content, .contact-content {
flex-direction: column;
}

.hero-text, .advantages-text, .contact-form {
text-align: center;
}

.hero-cta {
justify-content: center;
}

.advantages-image {
order: -1;
}

.section-header h2 {
font-size: 2.2rem;
}

.hero-text h1 {
font-size: 2.5rem;
}
}

@media (max-width: 768px) {
.nav-links {
display: none;
position: fixed;
top: 80px;
left: 0;
width: 100%;
background: white;
flex-direction: column;
padding: 20px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.nav-links.active {
display: flex;
}

.mobile-menu-btn {
display: block;
}

section {
padding: 80px 0;
}

.section-header h2 {
font-size: 2rem;
}

.hero-text h1 {
font-size: 2.2rem;
}
}

@media (max-width: 576px) {
.section-header h2 {
font-size: 1.8rem;
}

.hero-text h1 {
font-size: 2rem;
}

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

.hero-cta {
flex-direction: column;
}

.feature-card {
padding: 30px 20px;
}

.cta-card {
padding: 40px 20px;
}

.cta-card h2 {
font-size: 1.8rem;
}
}

@media (prefers-color-scheme: dark) {
    :root {
        --dark-bg: #0c1427;
        --card-bg: #1a243f;
        --text-color: #e9ecef;
        /* 其他深色模式变量... */
    }
    
    body {
        color: var(--text-color);
        background-color: var(--dark-bg);
    }
}

/* 带截图的功能模块样式 */
.feature-with-screenshot {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}
.feature-with-screenshot.reversed {
    flex-direction: row-reverse;
}
.feature-text {
    flex: 1;
    min-width: 300px;
}
.feature-screenshot {
    flex: 1;
    position: relative;
}
.screenshot-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.screenshot {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}
.screenshot:hover {
    transform: scale(1.03);
}
.with-mobile-frame {
    border: 12px solid #222;
    border-radius: 30px;
    border-top-width: 40px;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,0.1);
}
.with-desktop-frame {
    border: 1px solid rgba(255,255,255,0.1);
    background: #0a1122;
}
.screenshot-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(67, 97, 238, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}
.feature-highlights {
    margin: 25px 0;
    padding-left: 0;
    list-style: none;
}
.feature-highlights li {
    padding: 8px 0;
    position: relative;
    padding-left: 30px;
}
.feature-highlights li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}
.demo-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    margin-top: 15px;
}
/* 精度徽章 */
.accuracy-badge {
    display: inline-block;
    background: rgba(76, 201, 240, 0.1);
    border: 1px solid var(--secondary);
    border-radius: 8px;
    padding: 12px 15px;
    margin-top: 20px;
}
.accuracy-value {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}
.accuracy-label {
    display: block;
    font-size: 0.9rem;
    color: var(--gray);
}
/* 多截图轮播样式 */
.multi-screenshot {
    background: rgba(10, 17, 34, 0.5);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}
.process-steps {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
}
.process-step {
    text-align: center;
    flex: 1;
    opacity: 0.6;
    transition: all 0.3s ease;
}
.process-step.active {
    opacity: 1;
}
.step-number {
    display: block;
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    margin: 0 auto 8px;
    line-height: 36px;
    font-weight: 600;
}
.screenshot-carousel {
    position: relative;
}
.carousel-inner {
    overflow: hidden;
    border-radius: 10px;
}
.carousel-item {
    display: none;
}
.carousel-item.active {
    display: block;
}
.carousel-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}
.carousel-prev, .carousel-next {
    background: rgba(255,255,255,0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}
.carousel-prev:hover, .carousel-next:hover {
    background: var(--primary);
}
.carousel-dots {
    display: flex;
    gap: 8px;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
}
.dot.active {
    background: var(--primary);
}
/* 响应式调整 */
@media (max-width: 992px) {
    .feature-with-screenshot {
        flex-direction: column;
        gap: 40px;
    }
    
    .feature-with-screenshot.reversed {
        flex-direction: column;
    }
    
    .feature-text, .feature-screenshot {
        width: 100%;
    }
}
@media (max-width: 576px) {
    .multi-screenshot {
        padding: 30px 20px;
    }
    
    .process-steps {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .process-step {
        flex: 40%;
    }
}
