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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1f2937;
    background-color: #ffffff;
}

.jiayou-container {
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 20px;
}

.jiayou-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.jiayou-header-container {
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.jiayou-logo {
    flex-shrink: 0;
}

.jiayou-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #065f46;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.jiayou-logo-link i {
    font-size: 1.8rem;
}

.jiayou-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.jiayou-nav-list {
    display: flex;
    list-style: none;
    gap: 10px;
}

.jiayou-nav-item {
    position: relative;
}

.jiayou-nav-item a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #1f2937;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.jiayou-nav-item:hover a,
.jiayou-nav-item.active a {
    color: #10b981;
}

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

.jiayou-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 200px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    overflow: hidden;
}

.jiayou-dropdown li {
    border-bottom: 1px solid #f3f4f6;
}

.jiayou-dropdown li:last-child {
    border-bottom: none;
}

.jiayou-dropdown li a {
    padding: 12px 20px;
    color: #1f2937;
    text-transform: none;
    font-weight: 400;
    letter-spacing: normal;
}

.jiayou-dropdown li:hover a {
    background: #ecfdf5;
    color: #065f46;
}

.jiayou-header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.jiayou-social-icons {
    display: flex;
    gap: 10px;
}

.jiayou-social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 95, 70, 0.1);
    border-radius: 50%;
    color: #065f46;
    text-decoration: none;
    transition: all 0.3s ease;
}

.jiayou-social-link:hover {
    background: #10b981;
    color: #ffffff;
    transform: translateY(-3px);
}

.jiayou-lang-dropdown {
    position: relative;
}

.jiayou-lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(6, 95, 70, 0.08);
    border: 1px solid rgba(6, 95, 70, 0.15);
    border-radius: 24px;
    color: #065f46;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.jiayou-lang-btn:hover {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

/* 按钮内国旗图标 */
.jiayou-lang-flag {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.jiayou-lang-btn i {
    font-size: 0.55rem;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.jiayou-lang-dropdown:hover .jiayou-lang-btn i {
    transform: rotate(180deg);
}

.jiayou-lang-options {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #ffffff;
    min-width: 200px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    overflow: hidden;
    z-index: 1000;
    padding: 6px 0;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.jiayou-lang-dropdown:hover .jiayou-lang-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.jiayou-lang-options li {
    margin: 0;
}

.jiayou-lang-options li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: #374151;
    text-decoration: none;
    font-size: 0.88rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.jiayou-lang-options li a:hover {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf9 100%);
    color: #065f46;
    border-left-color: #10b981;
}

.jiayou-lang-options li a.active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border-left-color: #065f46;
    font-weight: 600;
}

/* 下拉选项中的国旗图片 */
.jiayou-lang-option-flag {
    width: 22px;
    height: 15px;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

/* 语言名称 */
.jiayou-lang-option-name {
    flex: 1;
    font-weight: 500;
}

/* 语言代码标签 */
.jiayou-lang-option-code {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    opacity: 0.5;
    background: rgba(0, 0, 0, 0.04);
    padding: 2px 6px;
    border-radius: 4px;
}

.jiayou-lang-options li a.active .jiayou-lang-option-code {
    background: rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

.jiayou-mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: #065f46;
    font-size: 1.2rem;
    cursor: pointer;
}

.jiayou-header.scrolled .jiayou-mobile-menu-btn {
    color: #065f46;
}

/* ============================================
   通用页面面包屑 & 正文
   ============================================ */

.jiayou-page-breadcrumb-section {
    padding: 15px 0;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.jiayou-page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #6b7280;
}

.jiayou-page-breadcrumb a {
    color: #065f46;
    text-decoration: none;
    transition: color 0.3s ease;
}

.jiayou-page-breadcrumb a:hover {
    color: #10b981;
    text-decoration: underline;
}

.jiayou-page-breadcrumb i {
    font-size: 0.8rem;
    color: #d1d5db;
}

.jiayou-page-breadcrumb span:last-child {
    color: #1f2937;
    font-weight: 500;
}

.jiayou-page-content {
    padding: 60px 0;
    background: #ffffff;
}

.jiayou-page-article {
    max-width: 900px;
    margin: 0 auto;
}

.jiayou-page-body {
    font-size: 1rem;
    line-height: 1.8;
    color: #374151;
}

.jiayou-page-body h1,
.jiayou-page-body h2,
.jiayou-page-body h3,
.jiayou-page-body h4 {
    color: #065f46;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.jiayou-page-body p {
    margin-bottom: 1em;
}

.jiayou-page-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.jiayou-page-body ul,
.jiayou-page-body ol {
    padding-left: 1.5em;
    margin-bottom: 1em;
}

.jiayou-page-body a {
    color: #10b981;
    text-decoration: underline;
}

.jiayou-page-body a:hover {
    color: #065f46;
}

.jiayou-footer {
    background: #064e3b;
    color: #ffffff;
    padding: 60px 0 30px;
}

.jiayou-footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.jiayou-footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.jiayou-footer-logo i {
    font-size: 1.5rem;
    color: #10b981;
}

.jiayou-footer-description {
    font-size: 0.95rem;
    color: #9ca3af;
    line-height: 1.8;
    margin-bottom: 25px;
}

.jiayou-footer-social {
    display: flex;
    gap: 12px;
}

.jiayou-footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.jiayou-footer-social a:hover {
    background: #10b981;
    transform: translateY(-3px);
}

.jiayou-footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

.jiayou-footer-links {
    list-style: none;
}

.jiayou-footer-links li {
    margin-bottom: 12px;
}

.jiayou-footer-links li a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.jiayou-footer-links li a:hover {
    color: #10b981;
}

.jiayou-footer-contact {
    list-style: none;
}

.jiayou-footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #9ca3af;
    line-height: 1.6;
}

.jiayou-footer-contact li i {
    color: #10b981;
    flex-shrink: 0;
}

.jiayou-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.jiayou-footer-copyright p {
    font-size: 0.85rem;
    color: #6b7280;
}

.jiayou-footer-terms {
    display: flex;
    gap: 20px;
}

.jiayou-footer-terms a {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.jiayou-footer-terms a:hover {
    color: #10b981;
}

@media (max-width: 1024px) {
    .jiayou-nav {
        display: none;
    }
    
    .jiayou-mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .jiayou-social-icons {
        display: none;
    }
    
    .jiayou-footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .jiayou-header-container {
        height: 70px;
    }
    
    .jiayou-footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .jiayou-footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .jiayou-lang-btn {
        display: none;
    }
    
    .jiayou-page-content {
        padding: 40px 0;
    }
    
    .jiayou-page-breadcrumb {
        font-size: 0.8rem;
        flex-wrap: wrap;
    }
}

.jiayou-nav.mobile-active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.jiayou-nav.mobile-active .jiayou-nav-list {
    flex-direction: column;
    width: 100%;
}

.jiayou-nav.mobile-active .jiayou-nav-item a {
    color: #1f2937;
    padding: 12px 15px;
    border-radius: 8px;
}

.jiayou-nav.mobile-active .jiayou-nav-item:hover a {
    background: #f8fafc;
}

.jiayou-float-contact {
    position: fixed;
    right: 20px;
    bottom: 50px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.jiayou-float-btn {
    position: relative;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #065f46;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(6, 95, 70, 0.4);
}

.jiayou-float-btn:hover {
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(6, 95, 70, 0.6);
}

.jiayou-float-btn.jiayou-float-phone:hover {
    background: #10b981;
}

.jiayou-float-btn.jiayou-float-wechat:hover {
    background: #07c160;
}

.jiayou-float-btn.jiayou-float-whatsapp:hover {
    background: #25d366;
}

.jiayou-float-btn.jiayou-float-email:hover {
    background: #3b82f6;
}

.jiayou-float-btn.jiayou-float-top:hover {
    background: #10b981;
}

.jiayou-float-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%) translateX(20px);
    background: #ffffff;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    z-index: 1001;
    text-align: center;
    min-width: 120px;
}

.jiayou-float-btn:hover .jiayou-float-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.jiayou-float-tooltip::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    border: 10px solid transparent;
    border-left-color: #ffffff;
}

.jiayou-float-tooltip span {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1f2937;
}

.jiayou-float-qr {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 2px solid #f3f4f6;
}

.jiayou-float-email-link {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.jiayou-float-email-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

.jiayou-float-top {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.jiayou-float-top.visible {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .jiayou-float-contact {
        right: 10px;
        gap: 10px;
    }
    
    .jiayou-float-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .jiayou-float-tooltip {
        right: 55px;
        padding: 12px 15px;
        min-width: 100px;
    }
    
    .jiayou-float-qr {
        width: 80px;
        height: 80px;
    }
    
    .jiayou-float-tooltip span,
    .jiayou-float-email-link {
        font-size: 0.85rem;
    }
}

.jiayou-nav.mobile-active .jiayou-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 1px solid #e5e7eb;
    margin-top: 10px;
}

.jiayou-nav.mobile-active .jiayou-dropdown li a {
    padding: 10px 15px;
}