:root {
    --primary-color: #4a6bdf;
    --primary-dark: #3a56b5;
    --primary-light: #eef2ff;
    --accent-color: #ff6b6b;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #ffffff;
    --bg-alt: #f8f9fa;

    --font-primary: 'Noto Sans SC', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'ZCOOL QingKe HuangYou', 'Noto Sans SC', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-special: 'ZCOOL XiaoWei', serif;

    --text-xs: 1.2rem;
    --text-sm: 1.4rem;
    --text-base: 1.6rem;
    --text-lg: 1.8rem;
    --text-xl: 2rem;
    --text-2xl: 2.4rem;
    --text-3xl: 3rem;
    --text-4xl: 3.6rem;
    --text-5xl: 4.8rem;

    --radius-sm: 2px;
    --radius-md: 4px;

    --transition: all 0.2s ease;

    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
}

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

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
    color: var(--primary-dark);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.thin-text {
    font-weight: 300;
    letter-spacing: 0.5px;
}

.medium-text {
    font-weight: 500;
}

.bold-text {
    font-weight: 700;
}

.section-title {
    font-family: var(--font-special);
    font-weight: normal;
    font-size: var(--text-3xl);
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    color: var(--primary-dark);
    letter-spacing: 1px;
    display: block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 4rem;
    height: 0.3rem;
    background: var(--primary-color);
    margin: 1rem auto 0;
    border-radius: 2rem;
}

.section-subtitle {
    font-family: var(--font-primary);
    text-align: center;
    font-size: var(--text-lg);
    font-weight: 300;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    letter-spacing: 0.3px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.card {
    background-color: var(--bg-color);
    border-radius: var(--radius-md);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.06);
}

.card-media {
    position: relative;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
    display: block;
}

.card:hover .card-media img {
    transform: scale(1.02);
}

.card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-dark);
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 0;
}

.card-description {
    font-size: 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.card--feature {
    text-align: center;
    align-items: center;
    padding: 3rem 2rem;
    border: none;
    background-color: var(--bg-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card--feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(74, 107, 223, 0.08);
}

.card--feature .card-title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    letter-spacing: 0;
}

.card--feature .card-description {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    color: var(--text-light);
    line-height: 1.6;
    font-weight: 400;
}

.card--software .card-media {
    border-top-left-radius: var(--radius-md);
    border-top-right-radius: var(--radius-md);
}

.card--software .card-media img {
    height: 20rem;
    object-fit: cover;
}

.card--testimonial {
    padding: 2rem;
    background-color: var(--bg-color);
    border: none;
}

.card--testimonial .card-description {
    font-family: var(--font-primary);
    font-size: var(--text-lg);
    line-height: 1.7;
    font-style: italic;
    color: var(--text-light);
    font-weight: 300;
    letter-spacing: 0.3px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-sm);
    text-align: center;
    transition: var(--transition);
    margin-right: var(--spacing-sm);
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn i {
    margin-right: 0.8rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    font-weight: 700;
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

header {
    background-color: var(--primary-dark);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    height: 6rem;
}

header .container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    color: white;
    font-size: var(--text-2xl);
    font-family: var(--font-special);
}

.logo a i {
    background: var(--accent-color);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
}

.logo a:hover i {
    transform: scale(1.1);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: var(--text-base);
    transition: var(--transition);
    padding: 0.8rem 1.5rem;
    position: relative;
    display: inline-block;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a.active {
    color: white;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.15);
}

.hero {
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 9rem 0;
    padding-left: 5rem ;
    padding-right:10rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hero .container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 3;
    max-width: 1000px;
    margin: 0 auto;
    gap: 0;
    padding-left: 380px;
}

.hero-animation {
    width: 50%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-left: 0;
}

.hero-gif {
    max-width: 100%;
    max-height: 350px;
    animation: float 3s ease-in-out infinite;
    margin-left: 10px;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

.hero-content {
    width: 50%;
    text-align: center;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-top: 0;
    margin-right: 0;
}

.hero h2 {
    font-family: var(--font-special);
    font-weight: normal;
    font-size: var(--text-4xl);
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    line-height: 1.2;
    color: var(--primary-dark);
    text-align: center;
    width: 100%;
}

.hero p {
    font-family: var(--font-primary);
    font-size: var(--text-lg);
    font-weight: 300;
    margin-bottom: 1.2rem;
    line-height: 1.6;
    color: var(--text-light);
    letter-spacing: 0.3px;
    text-align: center;
    width: 100%;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
    justify-content: center;
    width: 100%;
}

.features {
    padding: 6rem 0;
    background-color: var(--bg-alt);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.popular-software {
    padding: 6rem 0;
    background-color: var(--bg-color);
}

.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 32rem), 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.testimonials {
    padding: 6rem 0;
    background-color: var(--bg-alt);
}

.testimonial-slider {
    max-width: 90rem;
    margin: 4rem auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 3rem;
}

.about {
    padding: 6rem 0;
    background-color: var(--bg-color);
}

.about-content {
    max-width: 80rem;
    margin: 3rem auto 0;
}

.about-mission {
    font-family: var(--font-special);
    font-size: 2.2rem;
    font-weight: normal;
    color: var(--primary-dark);
    margin-bottom: 3rem;
    line-height: 1.5;
    position: relative;
    padding: 2.5rem;
    border-left: 3px solid var(--primary-color);
    background-color: var(--bg-alt);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    text-align: center;
    letter-spacing: 1px;
}

.contact-info {
    background-color: var(--bg-color);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-top: 3rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
    width: 2.5rem;
    text-align: center;
}

.contact-item span {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    line-height: 1.6;
}

.contact-item a {
    font-family: var(--font-heading);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

footer {
    background-color: var(--primary-dark);
    color: #f8f9fa;
    padding: 2.5rem 0;
    position: relative;
}

.copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    font-size: var(--text-sm);
    font-family: var(--font-primary);
    letter-spacing: 0.3px;
}

@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        gap: 2rem;
        padding-left: 0;
    }

    .hero-animation {
        width: 100%;
        max-width: 200px;
        margin-left: 0;
        margin-top: 2rem;
    }

    .hero-gif {
        max-height: 200px;
        margin-left: 0;
    }

    .hero-content {
        width: 100%;
        text-align: center;
        padding-right: 0;
        align-items: center;
        margin-right: 0;
    }

    .hero h2, .hero p {
        text-align: center;
    }

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

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    h1 { font-size: var(--text-4xl); }
    h2 { font-size: var(--text-3xl); }
    h3 { font-size: var(--text-2xl); }
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        position: fixed;
        top: 6rem;
        right: -100%;
        width: 70%;
        height: calc(100vh - 6rem);
        background-color: var(--bg-alt);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        padding: 2rem;
        z-index: 999;
    }

    nav ul.active {
        right: 0;
    }

    nav ul li {
        margin: 1.5rem 0;
    }

    .feature-grid,
    .software-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .testimonial-slider {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero h2 {
        font-size: var(--text-2xl);
    }

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

    .hero-buttons .btn {
        width: 100%;
        margin-right: 0;
    }

    .section-title {
        font-size: var(--text-2xl);
    }

    h1 { font-size: var(--text-3xl); }
    h2 { font-size: var(--text-2xl); }
    h3 { font-size: var(--text-xl); }
}