:root {
    --primary: #28a745;
    --primary-dark: #065819;
    --primary-light: #5efc82;
    --secondary: #3498db;
    --third: #FCA41F;
    --dark: #263238;
    --light: #f5f7fa;
    --white: #ffffff;
    --gray: #90a4ae;
    --dark-gray: #546e7a;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --shadow: 0 10px 30px rgba(0, 230, 118, 0.2);
    --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

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

section {
    padding: 100px 0;
    position: relative;
}

/* 炫酷导航栏 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 20px 0;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.8rem;
    z-index: 100;
}

.logo span {
    color: var(--third);
}

/* header.scrolled .logo span {
    color: var(--primary);
} */

.logo img {
    height: 40px;
    margin-right: 10px;
}

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

.nav-links li {
    margin-left: 30px;
    position: relative;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

header.scrolled .nav-links a {
    color: var(--dark);
}

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

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

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

.auth-buttons .btn {
    margin-left: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    font-size: 1rem;
    border: none;
    outline: none;
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

header.scrolled .btn-outline {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

header.scrolled .btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 230, 118, 0.3);
}

.btn-third {
    background: var(--third);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px;
    transition: all 0.3s ease;
}

header.scrolled .hamburger div {
    background-color: var(--dark);
}

/* 超炫酷首屏 */
.hero {
    color: var(--light);
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./index-bg.jpg') no-repeat center center/cover;
    opacity: 0.2;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.6rem;
    margin-bottom: 40px;
    /* max-width: 600px; */
}

.hero .highlight {
    letter-spacing: .5rem;
    margin-bottom: 10px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    opacity: 0.1;
    animation: float 15s infinite linear;
}

.shape-1 {
    top: 20%;
    left: 10%;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation-delay: 0s;
}

.shape-2 {
    top: 60%;
    left: 80%;
    width: 150px;
    height: 150px;
    background: var(--primary-light);
    border-radius: 50%;
    animation-delay: 3s;
    animation-duration: 20s;
}

.shape-3 {
    top: 80%;
    left: 20%;
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 20% 80% 80% 20% / 20% 20% 80% 80%;
    animation-delay: 6s;
    animation-duration: 25s;
}


.trust-badges {
    display: flex;
    color: var(--light);
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 2rem;
    opacity: 0.8;
}

.trust-badge {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.badge-icon {
    margin-right: 8px;
    font-size: 1.2rem;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-100px) rotate(180deg);
    }

    100% {
        transform: translateY(0) rotate(360deg);
    }
}

.container-short {
    max-width: 800px;
    min-width: 300px;
    padding: 18px;
    margin: 0 auto;
}


.logo-top {
    border-radius: 20px;
    color: var(--light);
    background-color: var(--dark);
    justify-content: space-between;
    display: flex;
}

.logo-top img {
    vertical-align: middle;
}

.logo-text {
    line-height: 38px;
    font-size: 1.2rem;
    vertical-align: middle;
}

.top-button {
    display: inline-block;
    background-color: var(--third);
    color: white;
    padding: 0.4rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    /* font-size: 1.1rem; */
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 平台优势  */
.features {
    background-color: var(--white);
    position: relative;
}

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

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

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

.feature-card {
    perspective: 1000px;
    height: 300px;
}

.feature-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

.feature-card:hover .feature-card-inner {
    transform: rotateY(180deg);
}

.feature-card-front,
.feature-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
}

.feature-card-front {
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

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

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

.feature-card-front p {
    color: var(--gray);
}

.feature-card-back {
    background: var(--gradient);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    color: var(--white);
}

.feature-card-back h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card-back p {
    margin-bottom: 20px;
}

.feature-card-back .btn {
    background: var(--white);
    color: var(--primary);
}

/* 突出显示 */
.protrude {
    background: var(--gradient);
    padding: 80px 0;
}

.keynote .list {
    padding: 0 10px;
}




.advantage {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.image-container {
    flex: 1;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    width: 50%;
    overflow: hidden;
}

.text-container {
    flex: 1;
    padding: 40px;
    width: 50%;
}

.text-container h2 {
    font-size: 2.2rem;
    color: #1a2a6c;
    margin-bottom: 20px;
    position: relative;
}

.text-container h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1a2a6c, #b21f1f);
    border-radius: 2px;
}

.text-container p {
    font-size: 1.1rem;
    color: #444;
    margin-top: 25px;
    line-height: 1.8;
}

.icon-bg {
    /* background: linear-gradient(135deg, #1a2a6c, #b21f1f); */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    margin: 0 auto;
    /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); */
}

.icon-bg img {
    height: auto;
    width: 100%;
}

/* 交替布局 */
.reverse {
    flex-direction: row-reverse;
}

/* 响应式设计 */
@media (max-width: 900px) {

    .advantage,
    .reverse {
        flex-direction: column;
    }

    .image-container {
        min-height: 250px;
        width: 100%;
    }

    .text-container {
        width: 100%;
    }

    h1 {
        font-size: 2.3rem;
    }

    .text-container h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 600px) {
    .icon-bg {
        font-size: 3rem;
    }

    .text-container {
        padding: 30px 20px;
    }

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

/* 更新日志 */
.changelog {
    background-color: var(--light);
}

.changelog-list {
    max-width: 800px;
    margin: 0 auto;
}

.changelog-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 30px;
}

/* .changelog-item:last-child {
            margin-bottom: 0;
        } */

.changelog-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary);
}

.changelog-item::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 17px;
    width: 2px;
    height: calc(100% - 12px);
    background-color: var(--primary);
}

/* .changelog-item:last-child::after {
            display: none;
        } */

.changelog-date {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 5px;
}

.changelog-content {
    background-color: var(--white);
    padding: 15px 20px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}





/* 页脚部分 */
footer {
    background-color: var(--dark);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

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

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-links a {
    color: white;
    margin: 0 1rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

.copyright {
    opacity: 0.7;
    font-size: 0.9rem;
}


/* 响应式设计 */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

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

}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--dark);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.5s ease;
        z-index: 1000;
    }

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

    .nav-links li {
        margin: 15px 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active div:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active div:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active div:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    header.scrolled .nav-links {
        background-color: var(--white);
    }

    header.scrolled .nav-links a {
        color: var(--dark);
    }

    .hero {
        min-height: 700px;
        text-align: center;
    }

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

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 60%;
        margin: 0 auto;
    }

    .trust-badges {
        flex-direction: column;
        gap: 10px;
    }

    .container {
        padding: 0 8px;
    }

    .btn {
        padding: 6px 15px;
    }

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

@media (max-width: 576px) {
    .container {
        padding: 0;
    }

    .logo {
        font-size: 1.2rem
    }

    .btn {
        padding: 3px 8px;
    }

    section {
        padding: 70px 0;
    }

    .feature-card {
        height: 250px;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeIn 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

/* 粒子背景效果 */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
    }
}