/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fafafa;
    color: #1e293b;
}

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

/* Navigation */
.navbar {
    background: #fff7ed;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid #fef3e2;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.nav-left {
    display: flex;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #b45309;
    transition: color 0.3s ease;
}

.nav-logo:hover {
    color: #d97706;
}

.nav-logo i {
    font-size: 1.75rem;
    color: #d97706;
    transition: transform 0.3s ease;
}

.nav-logo:hover i {
    transform: rotate(-10deg);
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-menu-items {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    padding-right: 100px;
}

.nav-link {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #d97706;
    background-color: rgba(217, 119, 6, 0.1);
}

.nav-dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    min-width: 100%;
    width: max-content;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1001;
}

.nav-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.dropdown-content a:hover {
    background-color: #fef3e2;
    color: #d97706;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-self: end;
}

.language-selector select {
    padding: 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: white;
    color: #4a5568;
    font-weight: 500;
}

/* 登录按钮样式 */
.login-btn {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    border: none;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
}

.login-btn:hover {
    background: #b45309;
    color: #fff;
    text-decoration: none;
}

/* Main Content */
.main-content {
    margin-top: 64px; /* 原80px，减少顶部间距 */
}

/* Hero Section */
.hero {
    padding: 4rem 0 6rem 0; /* 上下padding分别为4rem和6rem，减少顶部空隙 */
    background: #fafafa;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: url('assets/pattern.svg') repeat; */
    opacity: 0.05;
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.gradient-text {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #d97706, #b45309);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.hero-cta {
    margin-bottom: 4rem;
}

.primary-btn,
.secondary-btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.125rem;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.primary-btn {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: white;
    border: none;
}

.secondary-btn {
    background: white;
    color: #d97706;
    border: 2px solid #d97706;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.2);
}

.secondary-btn:hover {
    background: #fef3e2;
    color: #b45309;
    transform: translateY(-2px);
}

/* 平台logo区域 */
.platform-logos {
    margin: 2rem 0;
}

.platform-title {
    text-align: center;
    margin-bottom: 2rem;
    color: #4a5568;
}

.logo-scroll-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding: 1rem 0;
}

.logo-scroll {
    display: inline-flex;
    gap: 3rem;
    animation: scrollX 25s linear infinite;
    will-change: transform;
}

.platform-logo {
    width: 120px;
    height: 40px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.platform-logo:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scrollX {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(calc(-50%), 0, 0);
    }
}

/* 移动端优化 */
@media (max-width: 768px) {
    .platform-logos {
        margin: 1.5rem 0;
    }

    .platform-title {
        margin-bottom: 1.5rem;
        font-size: 1.1rem;
    }

    .logo-scroll-container {
        padding: 0.5rem 0;
    }

    .logo-scroll {
        gap: 2rem;
        animation: scrollX 20s linear infinite;
    }

    .platform-logo {
        width: 80px;
        height: 30px;
    }
}

/* 平板设备优化 */
@media (min-width: 769px) and (max-width: 1024px) {
    .platform-logo {
        width: 100px;
        height: 35px;
    }

    .logo-track {
        gap: 2rem;
    }
}

/* 特性区域 */
.features-section {
    padding: 6rem 0;
    background: #fafafa;
    position: relative;
}

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

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

.feature-box {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

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

.feature-box i {
    font-size: 2.5rem;
    color: #d97706;
    margin-bottom: 1.5rem;
}

.feature-box h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 1rem;
}

.feature-box p {
    color: #64748b;
    line-height: 1.6;
}

/* 产品展示区域 */
.products-section {
    padding: 6rem 0;
    background: #fafafa;
}

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

.product-card {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 80px;
    height: 80px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.product-image i {
    font-size: 2.5rem;
    color: #d97706;
}

.product-card h3 {
    font-size: 1.75rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.product-features li {
    color: #64748b;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.product-features li:last-child {
    border-bottom: none;
}

.learn-more-btn {
    background: #fef3e2;
    color: #b45309;
    border: 2px solid #d97706;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.learn-more-btn:hover {
    background: #d97706;
    color: #fff;
}

/* 案例展示区域 */
.cases-section {
    padding: 6rem 0;
    background: #fafafa;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.case-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.case-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
}

.case-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.case-card h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 1.5rem;
    text-align: center;
}

.case-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #d97706;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #64748b;
    font-size: 0.875rem;
}

.case-link {
    display: block;
    text-align: center;
    color: #d97706;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1.5rem;
    border: 2px solid #d97706;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    background: #fff7ed;
    transition: all 0.3s;
    box-sizing: border-box;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.case-link:hover {
    background: #d97706;
    color: #fff;
    text-decoration: none;
    border-color: #b45309;
}

/* Works Section */
.works-section {
    padding: 4rem 2rem;
    background: #fafafa;
}

.works-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #1a202c;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #d97706, #b45309);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Feature Highlights */
.feature-highlights {
    margin-bottom: 4rem;
}

.feature-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #fef3e2;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    min-width: 0;
    word-break: break-word;
    white-space: normal;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.75rem;
}

.feature-item p {
    color: #4a5568;
    line-height: 1.6;
    word-break: break-word;
    white-space: normal;
}

/* Feature List */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-item-text {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #fefbf3;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item-text:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.15);
}

.feature-item-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.25rem;
}

.feature-item-text p {
    color: #4a5568;
    font-size: 0.9rem;
}

/* Benefits Section */
.benefits-section {
    background: #fefbf3;
    padding: 3rem;
    border-radius: 16px;
    margin-bottom: 3rem;
}

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

.benefit-item {
    text-align: center;
}

.benefit-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.75rem;
}

.benefit-item p {
    color: #4a5568;
    line-height: 1.6;
}

/* Cases Grid */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.case-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #fef3e2;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.case-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.75rem;
}

.case-item p {
    color: #4a5568;
    line-height: 1.6;
}

/* Features Showcase */
.features-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-showcase-item {
    background: #fefbf3;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #fef3e2;
    transition: all 0.3s ease;
}

.feature-showcase-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.15);
}

/* Applications */
.applications {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    margin-bottom: 3rem;
    border: 1px solid #fef3e2;
}

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

.application-item {
    text-align: center;
    transition: all 0.3s ease;
}

.application-item:hover {
    transform: translateY(-3px);
}

.application-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.application-item p {
    color: #4a5568;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin-top: 3rem;
}

.notify-btn {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    margin: 0.5rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.notify-btn:hover {
    background: #b45309;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(217, 119, 6, 0.3);
}

/* Learning Section */
.learning-section {
    padding: 4rem 2rem;
    background: #fafafa;
}

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

.learning-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(217, 119, 6, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.learning-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(217, 119, 6, 0.3);
}

.learning-card i {
    font-size: 3rem;
    color: #d97706;
    margin-bottom: 1rem;
}

.learning-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 1rem;
}

.learning-card p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.learn-more {
    display: inline-block;
    color: #d97706;
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 2px solid #d97706;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.learn-more:hover {
    background: #d97706;
    color: white;
    transform: translateY(-2px);
}

/* Tabs */
.tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: white;
    border: 2px solid #fef3e2;
    color: #b45309;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
    background: #d97706;
    color: white;
    border-color: #d97706;
    transform: translateY(-2px);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.work-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    min-width: 280px;
    max-width: 100%;
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.work-image {
    height: 200px;
    background: linear-gradient(135deg, #fef3e2, #fed7aa);
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.work-image::after {
    content: '🎮';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    opacity: 0.6;
}

.work-image[style*='background-image']::after {
    content: '';
}

.work-card h3 {
    font-size: 1.25rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.work-card p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

/* 开发中页面样式 */
.coming-soon-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    padding: 2rem;
    background: #fafafa;
}

.coming-soon-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #fef3e2;
}

.coming-soon-content i.fa-cog {
    font-size: 4rem;
    color: #d97706;
    margin-bottom: 2rem;
}

.coming-soon-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.coming-soon-content p {
    color: #4b5563;
    margin-bottom: 2rem;
}

.coming-soon-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: #fefbf3;
    border-radius: 8px;
}

.feature-item i {
    color: #d97706;
}

.notify-form {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.notify-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
}

.back-btn {
    background: #f3f4f6;
    color: #4b5563;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #e5e7eb;
}

/* 响应式导航样式 */
@media (max-width: 768px) {
    .nav-container {
        padding: 0.75rem 1rem;
        display: flex;
        justify-content: space-between;
    }

    .mobile-menu-btn {
        display: block !important;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        flex-direction: column;
        width: 100%;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu-items {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav-link {
        padding: 0.75rem 1rem;
        display: block;
        width: 100%;
        border-bottom: 1px solid #edf2f7;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-actions {
        display: none;
    }
    .nav-menu.active .nav-actions {
        display: flex;
        flex-direction: row;
        gap: 1rem;
        margin-top: 1rem;
        margin-bottom: 1em;
        align-items: center;
        width: 100%;
        justify-content: center;
    }
    .nav-menu.active .nav-actions .language-selector,
    .nav-menu.active .nav-actions .login-btn {
        width: auto;
    }
    .nav-dropdown .dropdown-content {
        display: none;
        position: static;
        box-shadow: none;
        border: none;
        padding: 0;
        width: 100%;
        opacity: 1;
        visibility: visible;
        max-height: none;
        transition: none;
    }
    .nav-dropdown.active .dropdown-content {
        display: block;
        margin-bottom: 0.5rem;
    }
    .dropdown-content a {
        width: 100%;
        box-sizing: border-box;
        padding: 0.75rem 1.5rem;
        display: block;
    }

    .language-selector select {
        padding: 0.5rem 2rem 0.5rem 0.75rem;
        border: 1px solid #e2e8f0;
        border-radius: 4px;
        background: white;
        color: #4a5568;
        font-size: 0.9rem;
        cursor: pointer;
        outline: none;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234A5568'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 0.5rem center;
        background-size: 1rem;
    }

    .login-btn {
        padding: 0.5rem 1.25rem;
        background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
        color: white;
        border: none;
        border-radius: 4px;
        font-size: 0.9rem;
        cursor: pointer;
        transition: background 0.3s;
    }

    .login-btn:hover {
        background: #b45309;
        color: #fff;
    }

    /* 主页响应式调整 */
    .hero-content {
        padding: 2rem 1rem;
    }

    .gradient-text {
        font-size: 2rem;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1rem;
        text-align: center;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }

    .case-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    /* 作品展示区域响应式 */
    .works-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
        padding: 1rem;
    }

    .tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    /* 学习页面响应式 */
    .learning-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }

    /* 互动游戏/视频/图片制作页面响应式 */
    .feature-highlights .feature-row {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .benefits-section {
        padding: 2rem 1rem;
    }

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

    /* 通用容器响应式 */
    .container {
        padding: 0 1rem;
    }

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

/* 平板设备响应式 */
@media (min-width: 769px) and (max-width: 1024px) {

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

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

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

    .container {
        padding: 0 2rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.feature-card,
.learning-card,
.work-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.4s;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #d97706;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b45309;
}

.work-card.clickable {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-card.clickable:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* 页脚样式 */
.footer {
    background: linear-gradient(135deg, #fef3e2 0%, #f8fafc 100%);
    color: #b45309;
    padding: 4rem 0 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.footer-logo i {
    color: #d97706;
}

.footer-description {
    color: #a0aec0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.social-link {
    color: #a0aec0;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #4299e1;
}

.footer-section h4 {
    color: #b45309;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

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

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

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

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

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #a0aec0;
    margin-bottom: 0.75rem;
}

.contact-info i {
    color: #d97706;
}

.footer-bottom {
    background: #fef3e2;
    padding: 1.5rem 0;
    margin-top: 3rem;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-left p {
    color: #b45309;
    font-size: 0.9rem;
}

.footer-bottom-right {
    display: flex;
    gap: 2rem;
}

.footer-bottom-right a {
    color: #b45309;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-right a:hover {
    color: #d97706;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-right {
        justify-content: center;
    }
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #4a5568;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    outline: none;
}

.mobile-menu-btn i {
    display: block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
}

html {
    scroll-behavior: smooth;
}

/* 弹窗样式开始 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgba(0, 0, 0, 0.5); */
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    background-color: #f5f5f5;
    padding: 0;
    width: 430px;
    max-width: 100vw;
    height: auto;
    max-height: 100vh;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    background: #fff;
    border-radius: 16px 16px 0 0;
    width: 100%;
    box-sizing: border-box;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0.5rem;
}

.close-btn:hover {
    color: #000;
}

.modal-body {
    flex: 1 1 auto;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f5f5;
    min-height: 0;
    width: 100%;
    box-sizing: border-box;
}

.simple-mobile-frame {
    width: 390px;
    height: 844px;
    background: #fff;
    /* border-radius: 32px; */
    box-shadow: 0 2px 16px rgba(0,0,0,0.10);
    overflow: hidden;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    max-width: 100vw;
    max-height: 100vh;
}

#modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #fff;
    /* border-radius: 32px; */
    min-height: 0;
}

@media (max-width: 420px), (max-height: 900px) {
    .simple-mobile-frame {
        width: 98vw;
        height: calc(98vw * 844 / 390);
        min-height: 200px;
        max-height: 98vh;
        border-radius: 16px;
    }
    #modal-iframe {
        border-radius: 16px;
    }
    .modal-content {
        max-width: 100vw;
        max-height: 100vh;
        border-radius: 8px;
    }
}

@media (max-width: 768px) {
    .modal-content {
        width: 96vw;
        max-width: 100vw;
        height: 96vh;
        max-height: 100vh;
        margin: 2vw auto;
        padding: 0;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
    }
    .modal-header {
        border-radius: 12px 12px 0 0;
        padding: 0.75rem;
    }
    .modal-body {
        flex: 1 1 auto;
        overflow: auto;
        padding: 0;
        width: 100%;
        min-height: 0;
        background: #f5f5f5;
        display: flex;
        align-items: stretch;
        justify-content: stretch;
    }
    .simple-mobile-frame {
        width: 100vw;
        max-width: 100vw;
        height: 100%;
        max-height: 100%;
        min-height: 200px;
        border-radius: 0 0 12px 12px;
        box-shadow: none;
        background: #fff;
        overflow: hidden;
        display: flex;
        align-items: stretch;
        justify-content: stretch;
    }
    #modal-iframe {
        width: 100%;
        height: 100%;
        min-height: 0;
        border: none;
        border-radius: 0 0 12px 12px;
        display: block;
    }
}
/* 弹窗样式结束 */

/* 首页美化装饰与动画 */
.hero-bg-decor {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle at 20% 30%, #fef3e2 0%, transparent 60%),
                radial-gradient(circle at 80% 70%, #fde68a 0%, transparent 70%),
                radial-gradient(circle at 60% 20%, #fcd34d33 0%, transparent 80%);
    opacity: 0.7;
}
.hero-content { position: relative; z-index: 1; }
.section-divider {
    width: 100%;
    margin: 0;
    line-height: 0;
    background: none;
}
.section-divider svg {
    display: block;
    width: 100%;
    height: 60px;
}
/* 动画 */
.animate-fadein { animation: fadeInUp 0.8s cubic-bezier(.23,1.01,.32,1) both; }
.animate-up { opacity: 0; animation: upShow 0.7s cubic-bezier(.23,1.01,.32,1) both; }
.animate-up[style*='animation-delay'] { animation-fill-mode: both; }
@keyframes upShow {
  from { opacity: 0; transform: translateY(40px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
/* 卡片悬浮优化 */
.feature-box, .product-card, .case-card {
    transition: box-shadow 0.3s, transform 0.3s;
}
.feature-box:hover, .product-card:hover, .case-card:hover {
    box-shadow: 0 12px 32px rgba(217,119,6,0.12);
    transform: translateY(-8px) scale(1.03);
    z-index: 2;
}
/* 分割线与留白 */
.features-section, .products-section, .cases-section {
    margin-bottom: 0;
    padding-bottom: 4rem;
}
.features-section { border-bottom: 1.5px solid #fef3e2; }
.products-section { border-bottom: 1.5px solid #fef3e2; }
@media (max-width: 768px) {
  /* 保持首页美化动画和分割线在移动端生效 */
  .hero-bg-decor { display: block; }
  .features-section, .products-section, .cases-section { padding-bottom: 2rem; }
  .section-divider svg { height: 32px; }
  .feature-box, .product-card, .case-card {
    margin-bottom: 1.5rem;
  }
}