* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* 动画延迟类 */
.animate__delay-1 { animation-delay: 0.1s; }
.animate__delay-2 { animation-delay: 0.2s; }
.animate__delay-3 { animation-delay: 0.3s; }
.animate__delay-4 { animation-delay: 0.4s; }
.animate__delay-5 { animation-delay: 0.5s; }

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
    color: #fff;
}

::selection {
    background: #7c3aed;
    color: #fff;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    transition: box-shadow 0.3s;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, #7c3aed, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar nav {
    display: flex;
    gap: 2rem;
}

.navbar nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

.navbar nav a:hover {
    color: #fff;
}

.navbar nav a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #7c3aed, #ec4899);
    transition: width 0.3s;
}

.navbar nav a:hover::after {
    width: 100%;
}

.navbar .cta {
    padding: 0.5rem 1.5rem;
    background: linear-gradient(90deg, #7c3aed, #ec4899);
    border-radius: 25px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.navbar .cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
}

.navbar .menu-btn {
    display: none;
    font-size: 1.5rem;
}

/* Hero区域 */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(124, 58, 237, 0.15) 0%, transparent 50%), radial-gradient(circle at 70% 70%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    animation: pulse 10s ease-in-out infinite;
}

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

.hero .glow-text {
    font-size: 0.9rem;
    color: #a855f7;
    margin-bottom: 1.5rem;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px #a855f7, 0 0 20px #a855f7;
    }
    to {
        text-shadow: 0 0 20px #ec4899, 0 0 40px #ec4899;
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.hero h1 span {
    background: linear-gradient(90deg, #fff, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin-bottom: 3rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.hero .buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero .btn-primary {
    padding: 1rem 3rem;
    background: linear-gradient(90deg, #7c3aed, #ec4899);
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.hero .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.5);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(124, 58, 237, 0); }
    100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0); }
}

.hero .btn-secondary {
    padding: 1rem 3rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.hero .btn-secondary:hover {
    border-color: #a855f7;
    background: rgba(124, 58, 237, 0.1);
}

/* 统计数据 */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 4rem 5%;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-item .number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, #7c3aed, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item .label {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
}

/* 轮播图 */
.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 50px;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
}

.carousel-track .feature-card {
    flex: 0 0 calc(33.333% - 1.5rem);
    min-width: 300px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.8);
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.carousel-btn:hover {
    background: #7c3aed;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2rem;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dots .dot.active {
    background: #7c3aed;
    transform: scale(1.2);
}

/* 功能特性 */
.features {
    padding: 6rem 5%;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.section-title span {
    background: linear-gradient(90deg, #7c3aed, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #7c3aed, #ec4899);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(124, 58, 237, 0.3);
}

.feature-card:hover .icon {
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* 工作原理 */
.how-it-works {
    padding: 6rem 5%;
    background: rgba(255, 255, 255, 0.02);
}

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

.step {
    text-align: center;
}

.step .step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(90deg, #7c3aed, #ec4899);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step h3 {
    margin-bottom: 1rem;
}

.step p {
    color: rgba(255, 255, 255, 0.6);
}

/* CTA区域 */
.cta-section {
    padding: 6rem 5%;
    text-align: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    border-radius: 30px;
    margin: 4rem 5%;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
}

/* 页脚 */
.footer {
    padding: 4rem 5%;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, #7c3aed, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links li a:hover {
    color: #a855f7;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* 产品页样式 */
.content {
    padding-top: 80px;
}

.product-header {
    padding: 6rem 5%;
    text-align: center;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
}

.product-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
}

.product-header h1 span {
    background: linear-gradient(90deg, #7c3aed, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.product-header p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.features-detail {
    padding: 6rem 5%;
}

.features-detail h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 4rem;
}

.features-detail h2 span {
    background: linear-gradient(90deg, #7c3aed, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.feature-detail-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem;
    transition: all 0.3s;
}

.feature-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.feature-detail-card:nth-child(odd) {
    transform: translateY(20px);
}

.feature-detail-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-detail-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.feature-detail-card p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.specs {
    padding: 6rem 5%;
    background: rgba(255, 255, 255, 0.02);
}

.specs h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 4rem;
}

.specs h2 span {
    background: linear-gradient(90deg, #7c3aed, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.spec-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
}

.spec-item .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.spec-item .name {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.spec-item .value {
    color: #a855f7;
    font-weight: 700;
}

.global-nodes {
    padding: 6rem 5%;
}

.global-nodes h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 4rem;
}

.global-nodes h2 span {
    background: linear-gradient(90deg, #7c3aed, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.regions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.region-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.region-card:hover {
    transform: scale(1.05);
    border-color: rgba(124, 58, 237, 0.3);
}

.region-card .flag {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.region-card .name {
    font-weight: 600;
}

.region-card .count {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.testimonials {
    padding: 6rem 5%;
    background: rgba(255, 255, 255, 0.02);
}

.testimonials h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 4rem;
}

.testimonials h2 span {
    background: linear-gradient(90deg, #7c3aed, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.testimonial-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 60px;
}

.testimonial-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
    align-items: center;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 1.5rem);
    min-width: 300px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.5s ease;
    transform: scale(0.9);
    opacity: 0.6;
}

.testimonial-card.active {
    transform: scale(1.05);
    opacity: 1;
    background: rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.2);
}

.testimonial-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.8);
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.testimonial-btn:hover {
    background: #7c3aed;
    transform: translateY(-50%) scale(1.1);
}

.testimonial-btn.prev {
    left: 0;
}

.testimonial-btn.next {
    right: 0;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
}

.testimonial-card .stars {
    color: #fbbf24;
    margin-bottom: 1rem;
}

.testimonial-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-card .author .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(90deg, #7c3aed, #ec4899);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.testimonial-card .author .info {
    display: flex;
    flex-direction: column;
}

.testimonial-card .author .name {
    font-weight: 600;
}

.testimonial-card .author .role {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.download {
    padding: 6rem 5%;
    text-align: center;
}

.download h2 {
    font-size: 2rem;
    margin-bottom: 4rem;
}

.download h2 span {
    background: linear-gradient(90deg, #7c3aed, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.download-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.2);
}

.download-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.download-card .name {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.download-card .version {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.download-card .btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.7rem 2rem;
    background: linear-gradient(90deg, #7c3aed, #ec4899);
    border-radius: 20px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s;
}

.download-card .btn:hover {
    transform: scale(1.05);
}

.cta-section .btn-primary {
    padding: 1rem 3rem;
    background: linear-gradient(90deg, #7c3aed, #ec4899);
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.5);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .navbar nav {
        display: none;
    }
    .navbar .menu-btn {
        display: block;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero .buttons {
        flex-direction: column;
        align-items: center;
    }
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-detail-grid {
        grid-template-columns: 1fr;
    }
    .feature-detail-card:nth-child(odd) {
        transform: none;
    }
}
