/* ==========================================
   公共样式
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==========================================
   头部导航
   ========================================== */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #0092d8;
    z-index: 1000;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1), 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0.875rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 2rem;
}

body {
    margin-top: 70px;
}

.header-logo {
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s ease;
    flex-shrink: 0;
    min-width: 184px;
}

.header-logo:hover {
    color: rgba(255, 255, 255, 0.9);
}

.header-logo-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.8125rem;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

.nav-link i {
    font-size: 0.75rem;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown .nav-link {
    height: 39.983px;
    width: 83.971px;
}

.nav-dropdown .nav-link i {
    margin-left: auto;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.header-search-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    width: 35.997px;
    height: 35.997px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.header-search-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.header-lang-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
    height: 31.974px;
    width: 69.977px;
}

.header-lang-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.header-lang-btn i {
    font-size: 0.85rem;
}

.header-mobile-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 28px;
    height: 28px;
    justify-content: space-around;
    background: none;
    border: none;
    padding: 0;
}

.header-mobile-toggle span {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.header-mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.header-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.header-mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ==========================================
   页脚
   ========================================== */

footer {
    background: linear-gradient(167.53deg, #101828 0%, #1e2939 50%, #101828 100%);
    color: #ffffff;
    padding: 4rem 3rem 1rem;
    margin-top: 6rem;
}

.footer-container {
    max-width: 1920px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 500;
    letter-spacing: -0.3125px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 12px;
}

.footer-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 4px;
    background-color: #4caf50;
    border-radius: 50%;
}

.footer-section a {
    color: #99a1af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #0092d8;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 44px;
    width: auto;
}

.footer-desc {
    color: #99a1af;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background-color: #364153;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: #0092d8;
    color: white;
    transform: translateY(-2px);
}

.footer-social img {
    width: 16px;
    height: 16px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.contact-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-text p,
.contact-item p {
    color: #99a1af;
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.4;
}

.contact-item a {
    color: #99a1af;
    text-decoration: none;
}

.contact-item a:hover {
    color: #0092d8;
}

.footer-divider {
    height: 1px;
    background-color: #364153;
    margin: 2rem 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 1.5rem;
}

.footer-copyright {
    color: #6a7282;
    font-size: 0.875rem;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #6a7282;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #0092d8;
}


html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', 'Noto Sans SC', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    background-color: #ffffff;
    color: #101828;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================
   排版样式
   ========================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.75rem;
    line-height: 75px;
    letter-spacing: 0.2637px;
}

h2 {
    font-size: 2.25rem;
    line-height: 40px;
    letter-spacing: 0.3691px;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    line-height: 28px;
    letter-spacing: -0.4395px;
    margin-bottom: 1rem;
}

p {
    font-size: 1rem;
    line-height: 1.625;
    letter-spacing: -0.3125px;
    color: #364153;
}

a {
    color: #0092d8;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0073a8;
}

/* ==========================================
   布局工具类
   ========================================== */

.container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    background-color: rgba(0, 146, 216, 0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    color: #0092d8;
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.section-divider {
    width: 64px;
    height: 4px;
    background-color: #4caf50;
    border-radius: 50px;
    margin: 1rem auto 0;
}

.section-subtitle {
    font-size: 1rem;
    color: #4a5565;
    margin-top: 1rem;
    line-height: 1.5;
}

/* ==========================================
   按钮样式
   ========================================== */

.btn {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.875rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background-color: #0092d8;
    color: white;
}

.btn-primary:hover {
    background-color: #0073a8;
    transform: translateY(-2px);
    box-shadow: 0px 4px 12px rgba(0, 146, 216, 0.4);
}

.btn-white {
    background-color: white;
    color: #0092d8;
    border: 1px solid #f3f4f6;
}

.btn-white:hover {
    background-color: #f9fafb;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

/* ==========================================
   卡片样式
   ========================================== */

.card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
}

.card:hover {
    box-shadow: 0px 10px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.card-body {
    padding: 1.5rem;
}

/* ==========================================
   渐变背景
   ========================================== */

.gradient-blue {
    background: linear-gradient(180deg, 
        #f0f7ff 0%, 
        #f2f8ff 16.667%, 
        #f5faff 33.333%, 
        #f7fbff 50%, 
        #fffcff 66.667%, 
        #fcfeff 83.333%, 
        #ffffff 100%);
}

.gradient-overlay {
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.1), 
        rgba(0, 0, 0, 0.8));
}

/* ==========================================
   实用类
   ========================================== */

.text-center {
    text-align: center;
}

.text-white {
    color: white;
}

.text-muted {
    color: #6a7282;
    font-size: 0.75rem;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }

.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-4 { gap: 2rem; }

.grid {
    display: grid;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* ==========================================
   响应式 - Header和Footer
   ========================================== */

@media (max-width: 968px) {
    .header-container {
        height: 60px;
        padding: 0.5rem 1rem;
        gap: 1rem;
    }

    body {
        margin-top: 60px;
    }

    .header-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #0092d8;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        gap: 0;
    }

    .header-nav.active {
        display: flex;
    }

    .nav-link {
        width: 100%;
        padding: 0.75rem 1.5rem;
        margin: 0;
        border-radius: 0;
        font-size: 0.875rem;
    }

    .header-mobile-toggle {
        display: flex;
    }

    .header-actions {
        gap: 0.5rem;
    }

    .header-search-btn,
    .header-lang-btn {
        width: 32px;
        height: 32px;
        padding: 0.25rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        gap: 1rem;
        width: 100%;
    }
}

@media (max-width: 968px) {
    h1 {
        font-size: 2.5rem;
        line-height: 48px;
    }
    h2 {
        font-size: 1.75rem;
        line-height: 32px;
    }
    h3 {
        font-size: 1.25rem;
        line-height: 24px;
    }
    
    .section {
        padding: 4rem 1rem;
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 750px) {
    .header-container {
        height: 56px;
        padding: 0.5rem 0.75rem;
        gap: 0.75rem;
    }

    body {
        margin-top: 56px;
    }

    .header-logo {
        font-size: 0.95rem;
        min-width: 140px;
    }

    .header-logo-text {
        font-size: 0.95rem;
    }

    .header-nav {
        display: none;
    }

    .header-nav.active {
        display: flex;
    }

    .nav-link {
        padding: 0.625rem 1rem;
        font-size: 0.75rem;
    }

    .header-search-btn,
    .header-lang-btn {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }

    .header-lang-btn span {
        display: none;
    }

    footer {
        padding: 2rem 0.75rem 1.5rem;
        margin-top: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    h1 {
        font-size: 1.75rem;
        line-height: 32px;
    }
    h2 {
        font-size: 1.5rem;
        line-height: 28px;
    }
    h3 {
        font-size: 1rem;
        line-height: 20px;
    }
    
    p {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    .section {
        padding: 2.5rem 0.75rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .container {
        padding: 0 0.5rem;
    }
}
