:root {
    --primary-color: #4A90E2;
    --secondary-color: #6C63FF;
    --text-color: #333;
    --light-bg: #F5F7FA;
}

* {
    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: var(--text-color);
    background: #F5F7FA;
    min-height: 100vh;
}

/* 导航栏样式 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: transparent;
    box-shadow: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    max-height: 30px;
    width: auto;
}

/* Logo 文字样式 */
.logo-text {
    font-size: 1.8rem;
    font-weight: 600;
    background: linear-gradient(90deg, #A6B1EE 0%, #0066FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* 添加导航链接容器样式，使其居中 */
.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
}

.nav-links a {
    margin: 0 1.5rem;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.auth-buttons button {
    padding: 0.5rem 1.5rem;
    margin-left: 1rem;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.sign-in-up {
    background: linear-gradient(135deg, rgb(184, 185, 231) 0%, #4F46E5 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px rgba(99, 102, 241, 0.2);
}

.sign-in-up:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(99, 102, 241, 0.3);
    background: linear-gradient(135deg, #4F46E5 0%, #4338CA 100%);
}

.auth-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 英雄区域样式 */
.hero-section {
    background: linear-gradient(180deg, #FFFFFF 0%, #a6b1ee 100%);
    padding-bottom: 4rem;
    position: relative;
}

.hero {
    text-align: center;
    padding: 4rem 1rem;
    background: transparent;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.gradient-text {
    background: linear-gradient(90deg, #cfabe9 0%, #0066FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    font-size: 6rem;
    font-weight: bold;
}

.black-text {
    color: #000;
    display: block;
    margin-top: 0.5rem;
    font-size: 4.5rem;
}

/* 副标题调整 */
.subtitle {
    font-size: 1.2rem;
    color: #666;
    margin: 1.5rem 0 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 聊天框样式 */
.chat-box {
    max-width: 800px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* AI 消息框样式 */
.ai-message {
    background: rgba(255, 255, 255, 0.5);
    padding: 0.5rem;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}


.ai-message p {
    color: #666;
    margin: 0;
    text-align: left;
}

/* 用户输入区域样式 */
.user-input {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    height: 200px;
}

.user-input textarea {
    flex: 1;
    padding: 0.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    height: 100%;
    resize: none;
    font-family: inherit;
    line-height: 1.5;
    outline: none;
}

.user-input textarea:focus {
    border-color: #E5E7EB;
    outline: none;
}

.user-input textarea::placeholder {
    color: #666;
}

.user-input .send-btn {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: #f3f4f4;
    color: rgb(146, 181, 245);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 1.2rem;
}

/* 滚动提示样式 */
.scroll-prompt {
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.scroll-emoji {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* 统计数据样式 */
.stats {
    display: flex;
    justify-content: space-around;
    padding: 2rem 5%;
    background: white;
}

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

.stat-item h2 {
    color: var(--primary-color);
    font-size: 2rem;
}

/* How to Use 标题样式 */
.how-to-use {
    text-align: center;
    padding: 4rem 5%;
}

.how-to-use h2 {
    font-size: 3rem;
    margin-bottom: 4rem;
}

.how-to-use h2 span:first-child {
    background: linear-gradient(90deg, #A6B1EE 0%, #0066FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 特性部分样式 */
.feature {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0;
    gap: 6rem;
    max-width: 80%;
    margin: 0 auto;
}

/* 添加新的样式来控制奇数和偶数项的布局 */
.feature:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 0.8;
    text-align: left;
}

.feature-text h3 {
    font-size: 2.5rem;
    color: #2D3748;
    margin-bottom: 1.5rem;
}

.feature-text p {
    font-size: 1.1rem;
    color: #4A5568;
    line-height: 1.6;
    max-width: 90%;
}

.feature-image {
    flex: 1.2;
    display: flex;
    justify-content: center;
}

.feature-image img {
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* 平台优势样式 */
.advantages {
    text-align: center;
    padding: 4rem 5%;
}

.advantages h2 {
    font-size: 3rem;
    margin-bottom: 4rem;
}

.advantages h2 span:first-child {
    background: linear-gradient(90deg, #A6B1EE 0%, #0066FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 80%;
    margin: 0 auto;
}

.advantage-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #A6B1EE 0%, #0066FF 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.advantage-card:hover::before {
    opacity: 1;
}

.advantage-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.advantage-card:hover img {
    transform: scale(1.1);
}

.advantage-card h3 {
    font-size: 1.5rem;
    color: #2D3748;
    margin: 1rem 0;
    font-weight: 600;
}

.advantage-card p {
    font-size: 1.1rem;
    color: #718096;
    line-height: 1.6;
}

/* 用户评价样式 */
.testimonials {
    text-align: center;
    padding: 4rem 5%;
}

.testimonials h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.testimonials h2 span:first-child {
    background: linear-gradient(90deg, #A6B1EE 0%, #0066FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.testimonials-subtitle {
    color: #4A5568;
    font-size: 1.2rem;
    margin-bottom: 4rem;
}

.testimonials-slider {
    max-width: 80%;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    overflow: hidden;
    position: relative;
    padding: 1rem 0 2rem;
}

.testimonials-slider::before,
.testimonials-slider::after {
    content: "";
    height: 100%;
    position: absolute;
    width: 10%;
    z-index: 2;
}

.testimonial-card {
    flex: 0 0 calc(16.666% - 1.33rem);
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0.5rem;
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    animation: scroll 30s linear infinite;
    width: fit-content;
    padding: 0.5rem 0;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.rating {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.comment {
    color: #2D3748;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.user {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 1rem;
}

.user-info {
    text-align: left;
}

.user-info h4 {
    font-size: 1rem;
    color: #2D3748;
    margin-bottom: 0.2rem;
}

.user-info p {
    font-size: 0.8rem;
    color: #718096;
}

/* 当鼠标悬停时暂停动画 */
.testimonials-slider:hover .testimonial-card {
    animation-play-state: paused;
}

/* 页脚样式 */
.contact-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    margin-bottom: 3rem;
}

.contact-info > div {
    flex: 1;
    text-align: left;
}

.contact-info h3 {
    color: #2D3748;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.contact-info p {
    color: #4A5568;
    font-size: 1rem;
    line-height: 1.5;
}

/* 调整页脚整体布局 */
.footer-content {
    max-width: 80%;
    margin: 0 auto;
}

footer {
    background: var(--light-bg);
    padding: 4rem 5% 2rem;
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .feature {
        flex-direction: column;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }

    /* 平台优势调整 */
    .advantages {
        padding: 2rem 1rem;
    }

    .advantages h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr); /* 改为两列布局 */
        gap: 1rem;
        max-width: 100%;
    }

    .advantage-card {
        padding: 1rem;
    }

    /* 调整卡片内容大小 */
    .advantage-card img {
        width: 80%;
        height: auto;
        margin-bottom: 0.8rem;
    }

    .advantage-card h3 {
        font-size: 1rem;
        margin: 0.5rem 0;
    }

    .advantage-card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    /* 用户评价调整 */
    .testimonials {
        padding: 2rem 1rem;
    }

    .testimonials h2 {
        font-size: 2rem;
    }

    .testimonials-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .testimonials-slider {
        max-width: 100%;
        overflow: hidden;  /* 确保超出部分隐藏 */
    }

    .testimonial-card {
        flex: 0 0 calc(60% - 1rem); /* 减小卡片宽度，让更多卡片可见 */
        margin: 0.5rem;
        padding: 1.5rem;
    }

    .testimonials-track {
        display: flex;
        gap: 1rem;
        width: max-content;  /* 确保容纳所有卡片 */
        animation: scrollMobile 5s linear infinite !important;
    }

    @keyframes scrollMobile {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-180%));  /* 调整滚动距离 */
        }
    }

    /* 调整评论卡片内容样式 */
    .rating {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .comment {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }

    .user-info h4 {
        font-size: 0.9rem;
    }

    .user-info p {
        font-size: 0.8rem;
    }

    /* 页脚调整 */
    .contact-info {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1rem;
    }

    footer {
        padding: 2rem 1rem 1rem;
    }

    .copyright {
        margin-top: 1rem;
        padding-top: 1rem;
    }

    /* 确保内容不会水平溢出 */
    body {
        overflow-x: hidden;
        width: 100%;
    }

    * {
        max-width: 100vw;
        box-sizing: border-box;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    /* 微信二维码移动端样式调整 */
    .wechat-qr {
        bottom: 150%;  /* 调整位置，避免被遮挡 */
        width: 200px;  /* 设置固定宽度 */
        height: auto;
        padding: 10px;
    }

    .wechat-qr img {
        width: 180px;  /* 图片宽度略小于容器 */
        height: 180px;  /* 保持正方形 */
        object-fit: contain;  /* 保持图片比例 */
    }

    .nav-links {
        position: static;
        transform: none;
        justify-content: center;
        margin: 10px 0;
        width: 100%;
    }

    .logo img {
        max-height: 22px !important; /* 确保覆盖其他可能的样式 */
        width: auto;
    }

    /* 缩小语言切换按钮 */
    #langToggle {
        padding: 2px 5px !important;
        font-size: 11px !important;
    }
    
    .language-switcher {
        margin-right: 3px;
    }
    
    /* 缩小其中的图标 */
    .lang-icon {
        font-size: 14px !important;
    }

    .sign-in-up {
        padding: 5px 10px !important;
        font-size: 12px !important;
        white-space: nowrap;
    }
}

/* 特小屏幕设备优化 */
@media (max-width: 375px) {
    .logo img {
        max-height: 18px !important;
    }
}

/* 滚动动画样式 */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-up.animate {
    opacity: 1;
    transform: translateY(0);
}

/* 为不同部分设置不同的延迟 */
.stats.animate {
    transition-delay: 0.2s;
}

.how-to-use.animate {
    transition-delay: 0.3s;
}

.advantages.animate {
    transition-delay: 0.4s;
}

.testimonials.animate {
    transition-delay: 0.5s;
}

/* 修改微信相关样式 */
.wechat {
    position: relative;
}

.qr-code-trigger {
    cursor: pointer;
    transition: color 0.3s;
    color: #4A5568;
    margin-top: 4px;
}

.qr-code-trigger:hover {
    color: #4A90E2;
}

.wechat-qr {
    display: none;
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    margin-bottom: 10px;
    z-index: 1000;
}

.wechat-qr img {
    width: 200px;
    height: 200px;
    display: block;
}

.wechat-qr::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: white;
}

/* 移动端找室友按钮区域 */
.mobile-roommate-section {
    display: none; /* 桌面端隐藏 */
}

/* 添加移动端响应式样式 */
@media (max-width: 768px) {
    /* 导航栏调整 */
    .navbar {
        padding: 1rem;
        flex-wrap: wrap;
    }

    .nav-links {
        display: none; /* 在移动端隐藏导航链接 */
    }
    
    /* 移动端找室友按钮显示 */
    .mobile-roommate-section {
        display: block;
        padding: 0.5rem 1rem 1.5rem 1rem;
        background: transparent;
        margin-top: -2rem;
    }
    
    .mobile-roommate-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
        color: white;
        text-decoration: none;
        padding: 18px 24px;
        border-radius: 20px;
        font-size: 17px;
        font-weight: 600;
        box-shadow: 0 10px 25px rgba(99, 102, 241, 0.25);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        margin: 0 auto;
        max-width: 320px;
        position: relative;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.2);
        text-align: center;
    }
    
    .mobile-roommate-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.6s ease;
    }
    
    .mobile-roommate-btn:hover::before {
        left: 100%;
    }
    
    .mobile-roommate-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
        background: linear-gradient(135deg, #5b5bf6 0%, #7c3aed 50%, #9333ea 100%);
    }
    
    .mobile-roommate-btn:active {
        transform: translateY(0);
        box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
    }
    
    .roommate-icon {
        font-size: 22px;
        margin-right: 8px;
        filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
    }
    
    .roommate-text {
        font-size: 17px;
        font-weight: 600;
        letter-spacing: 0.5px;
        margin: 0 8px;
    }
    
    .roommate-arrow {
        font-size: 18px;
        font-weight: bold;
        transition: transform 0.3s ease;
        opacity: 0.9;
    }
    
    .mobile-roommate-btn:hover .roommate-arrow {
        transform: translateX(3px);
        opacity: 1;
    }

    .auth-buttons {
        margin-left: auto;
    }

    .sign-in-up {
        padding: 8px 16px;
        font-size: 14px;
    }

    /* 英雄区域调整 */
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.3;
        padding: 0 1rem;
    }

    .gradient-text {
        font-size: 2.8rem;
    }

    .black-text {
        font-size: 2.3rem;
    }

    .subtitle {
        font-size: 1rem;
        padding: 0 1rem;
        margin: 1rem 0 2rem;
    }

    /* 聊天框调整 */
    .chat-box {
        margin: 1rem;
    }

    .user-input {
        height: 150px;
        padding: 1rem;
    }

    /* 统计数据调整 */
    .stats {
        flex-wrap: wrap;
        gap: 1.5rem;
        padding: 2rem 1rem;
    }

    .stat-item {
        flex: 0 0 calc(50% - 1rem);
    }

    .stat-item h2 {
        font-size: 1.5rem;
    }

    /* How to Use 部分调整 */
    .how-to-use {
        padding: 2rem 1rem;
    }

    .how-to-use h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .feature {
        flex-direction: column;
        gap: 2rem;
        max-width: 100%;
        padding: 1rem;
    }

    .feature:nth-child(even) {
        flex-direction: column;
    }

    .feature-text h3 {
        font-size: 1.8rem;
    }

    .feature-text p {
        font-size: 1rem;
    }

    /* 用户评价调整 */
    .testimonials {
        padding: 2rem 1rem;
    }

    .testimonials h2 {
        font-size: 2rem;
    }

    .testimonials-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .testimonials-slider {
        max-width: 100%;
        overflow: hidden;  /* 确保超出部分隐藏 */
    }

    .testimonial-card {
        flex: 0 0 calc(60% - 1rem); /* 减小卡片宽度，让更多卡片可见 */
        margin: 0.5rem;
        padding: 1.5rem;
    }

    .testimonials-track {
        display: flex;
        gap: 1rem;
        width: max-content;  /* 确保容纳所有卡片 */
        animation: scrollMobile 15s linear infinite !important;
    }

    @keyframes scrollMobile {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-180%));  /* 调整滚动距离 */
        }
    }

    /* 调整评论卡片内容样式 */
    .rating {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .comment {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }

    .user-info h4 {
        font-size: 0.9rem;
    }

    .user-info p {
        font-size: 0.8rem;
    }

    /* 页脚调整 */
    .contact-info {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1rem;
    }

    footer {
        padding: 2rem 1rem 1rem;
    }

    .copyright {
        margin-top: 1rem;
        padding-top: 1rem;
    }

    /* 确保内容不会水平溢出 */
    body {
        overflow-x: hidden;
        width: 100%;
    }

    * {
        max-width: 100vw;
        box-sizing: border-box;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    /* 微信二维码移动端样式调整 */
    .wechat-qr {
        bottom: 150%;  /* 调整位置，避免被遮挡 */
        width: 200px;  /* 设置固定宽度 */
        height: auto;
        padding: 10px;
    }

    .wechat-qr img {
        width: 180px;  /* 图片宽度略小于容器 */
        height: 180px;  /* 保持正方形 */
        object-fit: contain;  /* 保持图片比例 */
    }
}

/* 用户头像和下拉菜单样式 */
.user-avatar {
    width: 40px;
    height: 40px;
    background-color: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px;
    min-width: 200px;
    z-index: 1000;
}

.dropdown-menu.active {
    display: block;
}

.dropdown-section {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

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

.dropdown-section h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.dropdown-section p {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
}

.dropdown-item {
    padding: 10px 0;
    color: #333;
    cursor: pointer;
    display: block;
    text-decoration: none;
}

.dropdown-item:hover {
    color: #3498db;
}

.dropdown-section button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 5px;
}

.dropdown-section button:hover {
    background-color: #2980b9;
}

/* 在移动端响应式部分添加以下样式 */
@media (max-width: 768px) {
    /* ... 现有的移动端样式 ... */
    
    .dropdown-menu {
        top: 50px;
        right: 10px;
        width: calc(100% - 20px);
        max-width: 300px;
    }
}

/* 修改下拉菜单样式 */
.highlight-chat {
    background: linear-gradient(135deg, #4F46E5 0%, #3498db 100%);
    color: white !important;
    margin: 10px 0;
    padding: 12px 20px !important;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(99, 102, 241, 0.2);
}

.highlight-chat:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(99, 102, 241, 0.3);
    color: white !important;
    background: linear-gradient(135deg, #3c35c4 0%, #2980b9 100%);
}

/* 调整其他下拉菜单项的间距 */
.dropdown-item {
    padding: 12px 0;
}

/* 调整下拉菜单sections的间距 */
.dropdown-section {
    padding: 8px 0;
}

/* 确保移动端也能保持样式 */
@media (max-width: 768px) {
    .highlight-chat {
        margin: 8px 0;
        padding: 10px 16px !important;
    }
}

/* 固定在右下角的二维码样式 */
.fixed-wechat-qr {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    transition: all 0.3s ease;
}

.qr-container {
    border: 2px solid #4A90E2;
    padding: 8px;
    background-color: white;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.qr-container img {
    width: 60px;
    height: 60px;
    display: block;
    transition: all 0.3s ease;
}

.qr-container span {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    font-weight: bold;
    color: #4A90E2;
}

/* 放大状态 */
.fixed-wechat-qr.expanded .qr-container {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.fixed-wechat-qr.expanded .qr-container img {
    width: 200px;
    height: 200px;
}

/* 响应式调整 */
@media only screen and (max-width: 700px){
    .fixed-wechat-qr {
        bottom: 10px;
        right: 10px;
    }
    
    .fixed-wechat-qr.expanded .qr-container img {
        width: 150px;
        height: 150px;
    }
}

/* 修改 Ehomie 合作伙伴徽标风格，与聊天界面一致 */
.partner-badge {
    display: flex;
    align-items: center;
    margin-right: 15px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.partner-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.partner-badge img {
    height: 24px;
    width: auto;
    margin-right: 8px;
    border-radius: 4px;
}

.partner-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.partner-text span:first-child {
    font-size: 10px;
    font-weight: 600;
    color: #4A90E2;
}

.partner-text span:last-child {
    font-size: 12px;
    font-weight: bold;
    color: #333;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .partner-badge {
        padding: 3px 6px;
    }
    
    .partner-badge img {
        height: 20px;
    }
    
    .partner-text span:first-child {
        font-size: 8px;
    }
    
    .partner-text span:last-child {
        font-size: 10px;
    }
} 