:root {
    --primary-color: #4a6bff;
    --secondary-color: #6c757d;
    --background-color: #f8f9fa;
    --text-color: #333;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* 滚动进度条 */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.progress-bar {
    height: 100%;
    background: var(--primary-color);
    width: 0;
    transition: width 0.3s ease;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%234a6bff" fill-opacity="0.1" width="100" height="100"/></svg>');
    opacity: 0.1;
    z-index: 0;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    position: relative;
}

.hero-image {
    position: relative;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.floating-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: float 3s ease-in-out infinite;
}

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

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    position: relative;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.btn:hover::after {
    transform: scale(1.2);
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: darken(var(--primary-color), 10%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(74, 107, 255, 0.3);
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin: 1rem auto;
}

.features-section {
    padding: 2rem 0;
    background-color: #fff;
}

.feature-card {
    padding: 2rem;
    margin: 1rem;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(135deg, rgba(74, 107, 255, 0.1) 0%, rgba(74, 107, 255, 0) 100%); */
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-hover-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    opacity: 0;
}

.feature-card:hover .feature-hover-content {
    transform: translateY(0);
    opacity: 1;
}

.feature-hover-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-hover-content ul li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
}

.stats-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6c5ce7 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23ffffff" fill-opacity="0.1" width="100" height="100"/></svg>');
    opacity: 0.1;
}

.stat-item {
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.stat-item i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.pricing-section {
    padding: 5rem 0;
}

.pricing-card {
    padding: 2rem;
    margin: 1rem;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    z-index: 1;
}

.pricing-header {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.pricing-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pricing-card ul li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-card ul li i {
    color: var(--success-color);
    margin-right: 0.5rem;
}

.testimonials-section {
    padding: 5rem 0;
    background-color: #fff;
}

.testimonial-card {
    padding: 2rem;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-content {
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: -1rem;
    left: -1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    margin-right: 1rem;
    border: 2px solid var(--primary-color);
    padding: 2px;
}

.testimonial-author h4 {
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    color: var(--secondary-color);
    margin-bottom: 0;
}

.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6c5ce7 100%);
    color: #fff;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background: darken(var(--primary-color), 10%);
    transform: translateY(-3px);
}

.footer h4 {
    margin-bottom: 1.5rem;
    position: relative;
    font-size: 18px;
}

.footer h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    margin-top: 0.5rem;
}

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

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-links i {
    font-size: 30px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.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);
    transition: all 0.3s ease;
}

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

.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px) rotate(360deg);
    background: var(--primary-color);
}

.footer .layui-container {
    border-bottom: 1px solid #5c5959;
    padding: 1rem;
}

.footer p {
    font-size: 15px;
    line-height: 35px;
}

.footer a {
    color: #ddd;
    font-size: 15px;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }

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

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

    .pricing-card.featured {
        transform: none;
    }

    .stat-item {
        margin-bottom: 2rem;
    }

    .feature-hover-content {
        position: static;
        transform: none;
        opacity: 1;
        background: transparent;
        padding: 1rem 0;
    }
}

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

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

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

.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animate__fadeInUp {
    animation-name: fadeInUp;
}

.animate__fadeInDown {
    animation-name: fadeInDown;
}

.animate__fadeInRight {
    animation-name: fadeInRight;
}

/* 添加新的动画效果 */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* 添加新的交互效果 */
.testimonial-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    animation: pulse 1s infinite;
}

.testimonial-author img {
    transition: all 0.3s ease;
    border: 3px solid var(--primary-color);
}

.testimonial-card:hover .testimonial-author img {
    transform: scale(1.1);
    border-color: var(--success-color);
}

/* 添加价格卡片动画 */
.pricing-card {
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured:hover {
    animation: pulse 1s infinite;
}

/* 添加特性卡片动画 */
.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    animation: bounce 1s infinite;
}

/* 添加按钮动画 */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.btn:hover::after {
    transform: scale(1.2);
}

.btn-primary:hover {
    animation: shake 0.5s;
}

/* 添加导航栏动画 */
.navbar {
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-link {
    position: relative;
}

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

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

/* 添加统计数字动画 */
.stat-item {
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
    animation: pulse 1s infinite;
}

.stat-item i {
    transition: all 0.3s ease;
}

.stat-item:hover i {
    transform: rotate(360deg);
}

/* 添加返回顶部按钮动画 */
.back-to-top {
    transition: all 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-5px);
    animation: pulse 1s infinite;
}

/* 添加社交媒体图标动画 */
.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px) rotate(360deg);
    background: var(--primary-color);
}

/* 添加响应式动画 */
@media (max-width: 768px) {
    .testimonial-card:hover {
        transform: none;
        animation: none;
    }

    .pricing-card:hover {
        transform: none;
        animation: none;
    }

    .feature-card:hover {
        transform: none;
        animation: none;
    }

    .stat-item:hover {
        transform: none;
        animation: none;
    }
}

body {
    overflow-x: hidden;
}

.landing-hero {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2563eb 0%, #60a5fa 100%);
    color: #fff;
    border-radius: 24px;
    margin: 2rem 0;
    paddding: 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.10);
    position: relative;
    overflow: hidden;
}

.landing-hero h1 {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 1.2rem;
    letter-spacing: 2px;
    animation: fadeInDown 1s cubic-bezier(.77, 0, .18, 1) 0.1s both;
}

.landing-hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 600px;
    animation: fadeInUp 1.2s cubic-bezier(.77, 0, .18, 1) 0.2s both;
}

.landing-btns {
    display: flex;
    gap: 1.5rem;
    animation: fadeIn 1.5s cubic-bezier(.77, 0, .18, 1) 0.3s both;
}

.landing-btns a {
    padding: 0.8rem 2.2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 500;
    background: #fff;
    color: #2563eb;
    text-decoration: none;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    will-change: transform;
    position: relative;
    overflow: hidden;
}

.landing-btns a:hover {
    background: #2563eb;
    color: #fff;
    transform: scale(1.08) rotate(-2deg);
    box-shadow: 0 8px 32px 0 rgba(37, 99, 235, 0.18);
}

.landing-hero .iconfont {
    font-size: 4.5rem;
    margin-bottom: 1.2rem;
    color: #fff;
    filter: drop-shadow(0 4px 24px #2563eb88);
    animation: bounceIn 1.2s cubic-bezier(.77, 0, .18, 1) 0.1s both;
}

.landing-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 90px;
    pointer-events: none;
    z-index: 1;
}

.landing-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.landing-features {
    margin: 3rem auto 0 auto;
    max-width: 1000px;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.landing-feature {
    background: #fff;
    color: #2563eb;
    border-radius: 14px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    padding: 2rem 1.5rem;
    flex: 1 1 260px;
    min-width: 220px;
    max-width: 300px;
    text-align: center;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 1.2s cubic-bezier(.77, 0, .18, 1) both;
}

.landing-feature:hover {
    transform: translateY(-10px) scale(1.04) rotate(-1deg);
    box-shadow: 0 8px 32px 0 rgba(37, 99, 235, 0.10);
}

.landing-feature .iconfont {
    font-size: 2.5rem;
    margin-bottom: 0.7rem;
    color: #60a5fa;
    filter: drop-shadow(0 2px 8px #2563eb33);
}

.landing-feature h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.7rem;
}

.landing-feature p {
    font-size: 1rem;
    color: #555;
}

.landing-logos {
    margin: 3rem auto 0 auto;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    opacity: 0.7;
    filter: grayscale(0.2);
}

.landing-logos img {
    height: 38px;
    width: auto;
    filter: drop-shadow(0 2px 8px #2563eb22);
    transition: filter 0.2s, opacity 0.2s;
}

.landing-logos img:hover {
    filter: none;
    opacity: 1;
}

.landing-help {
    max-width: 900px;
    margin: 3rem auto 0 auto;
    background: #f1f5f9;
    border-radius: 12px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.04);
    padding: 2rem 2.5rem;
    color: #2563eb;
    font-size: 1.08rem;
    line-height: 1.8;
}

.landing-help h2 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #2563eb;
}

.landing-help code {
    background: #e0e7ef;
    color: #d97706;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.98em;
}

.landing-tutorial {
    max-width: 900px;
    margin: 3rem auto 0 auto;
    background: #f8fafc;
    border-radius: 12px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.04);
    padding: 2rem 2.5rem;
    color: #2563eb;
    font-size: 1.08rem;
    line-height: 1.8;
}

.landing-tutorial h2 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1.2rem;
    color: #2563eb;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.landing-tutorial ol {
    margin-left: 1.2em;
}

.landing-tutorial code {
    background: #e0e7ef;
    color: #d97706;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.98em;
}

.landing-tutorial-tip {
    margin-top: 1.5em;
    background: #e0e7ef;
    color: #2563eb;
    border-radius: 6px;
    padding: 0.7em 1em;
    font-size: 0.98em;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.landing-tutorial-tip a {
    color: #2563eb;
    text-decoration: underline;
}

.landing-tutorial-feature-list {
    list-style-type: decimal;
    padding-left: 20px;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
    }
}