/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2d5a4d;
    --primary-color-hover: #244a3f;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f5f3ef;
    --white: #ffffff;
    --gray-100: #f0efeb;
    --gray-200: #e8e6e1;
    --gray-300: #d4d2cd;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'SimHei', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    font-weight: 500;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-color-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Navigation */
.navbar {
    background-color: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.language-btn {
    background-color: transparent;
    color: var(--text-dark);
    border: none;
    font-weight: 500;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    transition: color 0.3s ease;
}

.language-btn:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #3d6b5e 0%, #2d5a4d 100%);
    color: var(--white);
    padding: 10rem 0 5rem;
    text-align: center;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 500;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 500;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 4px;
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    transition: all 0.2s ease;
}

.feature-card:hover {
    border-color: var(--primary-color);
}

.feature-icon {
    background-color: #e8e6e1;
    width: 64px;
    height: 64px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
}

.feature-title {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-description {
    color: var(--text-light);
}

/* Products Section */
.products {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: var(--white);
    border-radius: 4px;
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: all 0.2s ease;
    padding: 2rem;
}

.product-card:hover {
    border-color: var(--primary-color);
}

.product-content {
    padding: 0;
}

.product-title {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.product-description {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.product-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.product-link:hover {
    text-decoration: underline;
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, #3d6b5e 0%, #2d5a4d 100%);
    color: var(--white);
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background-color: var(--white);
    text-align: center;
}

.cta-title {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.cta-description {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--gray-300);
    margin-bottom: 1.5rem;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-300);
    color: var(--gray-300);
}

/* Downloads Page Styles */
.downloads-header {
    text-align: center;
    margin-bottom: 3rem;
}

.search-filter-section {
    background-color: var(--gray-100);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.search-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.search-input,
.category-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 1rem;
}

.category-select {
    background-color: var(--white);
}

.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-card {
    background-color: var(--gray-100);
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.info-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.info-card ul,
.info-card ol {
    padding-left: 1.5rem;
}

.info-card li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.category-section {
    margin-bottom: 3rem;
}

.category-title {
    font-size: 1.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.support-section {
    text-align: center;
    padding: 3rem;
    background-color: var(--gray-100);
    border-radius: 0.5rem;
    margin-top: 2rem;
}

/* About Page Styles */
.about-hero {
    background-color: var(--white);
    padding: 8rem 0 4rem;
    text-align: center;
}

.profile-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
}

.profile-image-placeholder {
    background-color: var(--gray-200);
    border: 2px dashed var(--gray-300);
    border-radius: 0.5rem;
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.values-section {
    margin-bottom: 4rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 4px;
}

.contact-section {
    margin-bottom: 4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 4px;
}

.contact-icon {
    background-color: #e8e6e1;
    width: 64px;
    height: 64px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--primary-color);
}

.join-section {
    text-align: center;
    padding: 3rem;
    background-color: var(--gray-100);
    border-radius: 0.5rem;
}

/* Careers Page Styles */
.careers-hero {
    background-color: var(--white);
    padding: 8rem 0 4rem;
    text-align: center;
}

.tabs {
    display: flex;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 2rem;
}

.tab-button {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    position: relative;
}

.tab-button.active {
    color: var(--primary-color);
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.job-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 4px;
    border: 1px solid var(--gray-200);
    margin-bottom: 1.5rem;
}

.job-header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.job-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.job-meta {
    display: flex;
    gap: 1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.job-description h3,
.job-requirements h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.job-requirements ul {
    padding-left: 1.5rem;
}

.job-requirements li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.reasons-section {
    background-color: var(--gray-100);
    padding: 2rem;
    border-radius: 0.5rem;
    margin: 2rem 0;
}

.resume-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 1rem;
}

.form-file {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 1rem;
    background-color: var(--white);
}

.form-info {
    background-color: var(--gray-100);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.alert-success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* 404 Page Styles */
.not-found {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 2rem;
}

.not-found-image {
    background-color: var(--gray-200);
    border: 2px dashed var(--gray-300);
    border-radius: 0.5rem;
    width: 128px;
    height: 128px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.not-found-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.not-found-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.not-found-description {
    max-width: 500px;
    margin-bottom: 2rem;
    color: var(--text-light);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-12 {
    margin-top: 3rem;
}

.inline-block {
    display: inline-block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        padding: 8rem 0 3rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .tabs {
        flex-direction: column;
    }

    .tab-button {
        width: 100%;
        text-align: left;
    }
}

/* Product Detail Page Styles */
.product-detail-hero {
    background: linear-gradient(135deg, #3d6b5e 0%, #2d5a4d 100%);
    color: var(--white);
    padding: 8rem 0 4rem;
}

.product-detail-header {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
}

.product-detail-image {
    text-align: center;
}

.product-icon {
    background-color: rgba(255, 255, 255, 0.2);
    width: 200px;
    height: 200px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--white);
}

.product-detail-info {
    color: var(--white);
}

.product-detail-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.product-detail-category {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.product-detail-version {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.product-detail-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-detail-content {
    padding: 5rem 0;
}

.product-detail-section {
    margin-bottom: 4rem;
}

.product-detail-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.product-detail-description {
    background-color: var(--gray-100);
    padding: 2rem;
    border-radius: 0.5rem;
    line-height: 1.8;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 4px;
}

.feature-icon-small {
    background-color: #e8e6e1;
    width: 64px;
    height: 64px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--primary-color);
}

.feature-item h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-item p {
    color: var(--text-light);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.screenshot-item {
    text-align: center;
}

.screenshot-placeholder {
    background-color: var(--gray-200);
    border: 2px dashed var(--gray-300);
    border-radius: 0.5rem;
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.screenshot-item p {
    color: var(--text-dark);
    font-weight: 500;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.requirement-item {
    background-color: var(--white);
    padding: 2rem;
    border: 1px solid var(--gray-200);
    border-radius: 4px;
}

.requirement-item h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.requirement-item ul {
    padding-left: 1.5rem;
}

.requirement-item li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.download-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.download-option {
    background-color: var(--white);
    padding: 2rem;
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    text-align: center;
}

.download-option-icon {
    background-color: #e8e6e1;
    width: 80px;
    height: 80px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
}

.download-option-info h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.download-option-info p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background-color: var(--gray-100);
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.faq-item h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.faq-item p {
    color: var(--text-light);
}