* {
    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: 6px;
    padding: 8px 12px;
    background: rgba(6, 95, 70, 0.1);
    border: 1px solid rgba(6, 95, 70, 0.2);
    border-radius: 20px;
    color: #065f46;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.jiayou-lang-btn:hover {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

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

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

.jiayou-lang-options {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #ffffff;
    min-width: 150px;
    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;
    z-index: 1000;
}

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

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

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

.jiayou-lang-options li a {
    display: block;
    padding: 10px 15px;
    color: #1f2937;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

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

.jiayou-lang-options li a.active {
    background: #10b981;
    color: #ffffff;
}

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

.jiayou-header.scrolled .jiayou-mobile-menu-btn {
    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-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;
}