/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.logo i {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* 首页横幅 */
.hero {
    margin-top: 70px;
    height: 600px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 1rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #fef3c7 30%, #fbbf24 50%, #fef3c7 70%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.3));
    letter-spacing: 2px;
    line-height: 1.2;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.hero-subtitle {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    opacity: 1;
    color: #ffffff;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    letter-spacing: 3px;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.feature-item i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}

/* 通用区块样式 */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* 服务项目 */
.services {
    padding: 3rem 0;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 50%, #f9fafb 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '💻 🖥️ ⌨️ 🖱️ 📱 💾 🔧 ⚙️';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    font-size: 2rem;
    opacity: 0.05;
    text-align: center;
    letter-spacing: 3rem;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 1.2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:active {
    transform: translateY(-5px);
}

.service-action {
    margin-top: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.service-card:hover .service-action {
    opacity: 1;
    transform: translateY(0);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 0.8rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.3);
}

.emoji-icon {
    font-size: 2.5rem;
    line-height: 1;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: translateY(-10px) rotate(5deg) scale(1.1);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.5);
}

.service-card:hover .emoji-icon {
    transform: scale(1.2) rotate(-5deg);
}

/* 为每个服务设置不同的渐变色 */
.service-card:nth-child(1) .service-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.service-card:nth-child(2) .service-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.service-card:nth-child(3) .service-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.service-card:nth-child(4) .service-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.service-card:nth-child(5) .service-icon {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.service-card:nth-child(6) .service-icon {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.service-card:nth-child(7) .service-icon {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.service-card:nth-child(8) .service-icon {
    background: linear-gradient(135deg, #ff9a56 0%, #ff6a88 100%);
}

.service-card:nth-child(9) .service-icon {
    background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
}

/* 其他服务卡片特殊样式 */
.service-card-other {
    border: 2px dashed var(--primary-color);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
}

.service-card-other .service-icon {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(251, 191, 36, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 30px rgba(251, 191, 36, 0.5);
    }
}

.service-card-other:hover {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
}

.service-card-other .service-action {
    color: var(--accent-color);
}

/* 其他emoji图标样式 */
.feature-emoji {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.info-emoji {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.contact-emoji {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.contact-item:hover .contact-emoji {
    transform: scale(1.2) rotate(10deg);
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 0.9rem;
}

/* 在线下单 */
.order-section {
    padding: 3rem 0;
    background: var(--white);
}

.order-form-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.order-form-compact {
    max-width: 900px;
    margin: 0 auto;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.order-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group label i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.time-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

.custom-service-input {
    margin-top: 0.75rem;
    animation: slideDown 0.3s ease;
}

.custom-service-input input {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.custom-service-input input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.location-btn {
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.location-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* 表单标签样式 */
.order-form label .required {
    color: #ef4444;
    margin-left: 2px;
}

.order-form label .optional {
    color: #999;
    font-size: 0.85rem;
    font-weight: normal;
}

/* 图片上传样式 */
.image-upload-container {
    margin-top: 0.5rem;
}

.upload-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.image-preview {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.preview-item {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e5e7eb;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.preview-remove:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.upload-tip {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #6b7280;
}

.order-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    color: var(--white);
    box-shadow: var(--shadow);
}

.info-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.info-card p {
    opacity: 0.95;
    line-height: 1.8;
}

.phone-number {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0.5rem 0;
}

/* 客户评价 */
.testimonials {
    padding: 5rem 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.stars {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.customer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.customer-avatar {
    font-size: 3rem;
    line-height: 1;
}

.customer-name {
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.customer-service {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* 服务优势 */
.advantages {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
}

.advantages .section-title {
    color: var(--white);
}

.advantages .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.advantage-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.5);
}

.advantage-emoji {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

.advantage-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.advantage-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

/* 联系我们 */
.contact {
    padding: 5rem 0;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
}

/* 微信咨询区域 */
.wechat-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    text-align: center;
}

.wechat-section .section-title {
    color: var(--white);
}

.wechat-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.wechat-qrcode-container {
    max-width: 400px;
    margin: 3rem auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.wechat-qrcode-large {
    max-width: 280px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wechat-tip {
    margin-top: 2rem;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.wechat-tip i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 1.3rem;
}

/* FAQ 常见问题 - 右上角浮动面板 */
.faq-floating {
    position: fixed;
    top: 80px;
    right: 20px;
    width: 280px;
    max-height: 350px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 999;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* FAQ 收起状态（电脑端） */
.faq-floating.minimized {
    width: auto;
    height: auto;
    border-radius: 25px;
    cursor: pointer;
    max-height: none;
}

.faq-floating.minimized .faq-header {
    justify-content: flex-start;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 25px;
}

.faq-floating.minimized .faq-header-icon {
    display: none; /* 缩小后隐藏问号图标 */
}

.faq-floating.minimized .faq-header-text {
    display: inline; /* 电脑端缩小后显示文字 */
}

.faq-floating.minimized .faq-close-btn {
    display: none;
}

.faq-floating.minimized .faq-list {
    display: none;
}

.faq-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 15px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
}

.faq-close-btn {
    margin-left: auto;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.faq-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.faq-floating.hidden {
    display: none;
}

.faq-header-icon {
    font-size: 1rem;
}

.faq-list {
    max-height: 340px;
    overflow-y: auto;
    padding: 8px;
}

.faq-list::-webkit-scrollbar {
    width: 6px;
}

.faq-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.faq-list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.faq-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.faq-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    margin-bottom: 6px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: #667eea;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.1);
}

.faq-question {
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    user-select: none;
}

.faq-icon {
    font-size: 0.9rem;
    flex-shrink: 0;
}

.faq-question-text {
    flex: 1;
    font-size: 0.75rem;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

.faq-toggle {
    font-size: 0.7rem;
    color: #667eea;
    transition: transform 0.2s ease;
}

.faq-answer {
    padding: 0 10px 8px 26px;
    display: none;
    animation: slideDown 0.2s ease;
}

.faq-answer p {
    color: #666;
    line-height: 1.4;
    margin: 0;
    font-size: 0.7rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .faq-floating {
        width: 50px;
        height: 50px;
        top: 70px;
        right: 10px;
        max-height: none;
        border-radius: 50%;
        transition: all 0.3s ease;
    }
    
    .faq-floating.expanded {
        width: 240px;
        height: auto;
        max-height: 300px;
        border-radius: 8px;
    }
    
    /* 移动端缩小时隐藏文字 */
    .faq-floating.minimized .faq-header-text {
        display: none !important;
    }
    
    .faq-header {
        justify-content: center;
        padding: 12px;
    }
    
    .faq-floating.expanded .faq-header {
        justify-content: flex-start;
        padding: 10px 15px;
    }
    
    .faq-header span:not(.faq-header-icon):not(.faq-toggle-icon) {
        display: none;
    }
    
    .faq-floating.expanded .faq-header span:not(.faq-header-icon):not(.faq-toggle-icon) {
        display: inline;
    }
    
    .faq-toggle-icon {
        display: none;
    }
    
    .faq-floating.expanded .faq-toggle-icon {
        display: inline;
    }
    
    .faq-list {
        display: none;
        max-height: 240px;
    }
    
    .faq-floating.expanded .faq-list {
        display: block;
    }
    
    .faq-floating.expanded .faq-toggle-icon {
        transform: rotate(180deg);
    }
    
    .faq-question-text {
        font-size: 0.7rem;
    }
    
    .faq-answer p {
        font-size: 0.65rem;
    }
}

/* 评论区 */
.comments-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #fef5e7 0%, #fdebd0 100%);
    position: relative;
}

.comments-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.08) 0%, rgba(255, 152, 0, 0.08) 100%);
    pointer-events: none;
}

.comment-form-wrapper {
    max-width: 800px;
    margin: 3rem auto;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.comment-form-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.comment-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.comment-form .form-group {
    margin-bottom: 1rem;
}

.comment-form input,
.comment-form select,
.comment-form textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.comment-form input:focus,
.comment-form select:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.anonymous-option {
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-dark);
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-label span {
    transition: color 0.3s ease;
}

.checkbox-label:hover span {
    color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + span {
    color: var(--primary-color);
    font-weight: 500;
}

.comment-submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.comments-list {
    max-width: 800px;
    margin: 3rem auto 0;
    position: relative;
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.comments-header h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 0;
}

.comments-filter {
    display: flex;
    gap: 0.75rem;
}

.comments-filter select {
    padding: 0.5rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem;
    background: white;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.comments-filter select:hover {
    border-color: var(--primary-color);
}

.comments-filter select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.comment-item {
    background: linear-gradient(135deg, #ffffff 0%, #fffbf0 100%);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 193, 7, 0.15);
    transition: all 0.3s ease;
    animation: slideIn 0.5s ease;
    position: relative;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.comment-item:hover {
    box-shadow: 0 4px 20px rgba(255, 193, 7, 0.2);
    transform: translateY(-3px);
    border-color: rgba(255, 193, 7, 0.3);
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.comment-avatar {
    font-size: 2.5rem;
    line-height: 1;
}

.comment-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.comment-author {
    font-weight: bold;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.comment-time {
    font-size: 0.9rem;
    color: var(--text-light);
}

.comment-rating {
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.comment-content {
    color: var(--text-dark);
    line-height: 1.8;
    padding-left: 3.5rem;
}

.comment-actions {
    display: flex;
    gap: 1rem;
    padding-left: 3.5rem;
    margin-top: 1rem;
}

.comment-delete-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: none;
}

.comment-delete-btn:hover {
    background: #fcc;
    transform: scale(1.05);
}

.comment-item[data-timestamp] .comment-time::after {
    content: attr(data-full-time);
    display: none;
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem;
    border-radius: 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    z-index: 10;
    margin-top: 0.5rem;
}

.reply-btn,
.like-btn {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.3s ease;
    padding: 0.3rem 0.5rem;
    border-radius: 5px;
}

.reply-btn:hover,
.like-btn:hover {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.like-btn.liked {
    color: #ef4444;
}

.reply-form {
    margin-top: 1rem;
    padding-left: 3.5rem;
    display: none;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.reply-form.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reply-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
    background: white;
    transition: all 0.3s ease;
}

.reply-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: #fafbff;
}

.admin-reply-option {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 8px;
    border-left: 3px solid #3b82f6;
}

.admin-reply-option .checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #1e40af;
    user-select: none;
    font-weight: 500;
}

.admin-reply-option input[type="checkbox"] {
    width: auto;
    cursor: pointer;
    accent-color: #3b82f6;
}

.admin-reply-option .checkbox-label:hover span {
    color: #1e3a8a;
}

.reply-form-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.reply-submit-btn,
.reply-cancel-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reply-submit-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    font-weight: 500;
}

.reply-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.reply-cancel-btn {
    background: #e5e7eb;
    color: var(--text-dark);
    font-weight: 500;
}

.reply-cancel-btn:hover {
    background: #d1d5db;
    transform: translateY(-2px);
}

.replies {
    margin-top: 1rem;
    padding-left: 3.5rem;
    border-left: 3px solid #e5e7eb;
}

.reply-item {
    padding: 1rem;
    background: #f9fafb;
    border-radius: 10px;
    margin-bottom: 0.75rem;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

/* 管理员回复样式 */
.reply-item.admin-reply {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-left: 3px solid #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.reply-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.reply-avatar {
    font-size: 1.8rem;
}

.reply-author {
    font-weight: bold;
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* 管理员徽章 */
.admin-badge {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

.reply-time {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-left: auto;
}

.reply-to {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.reply-content {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* 管理员回复内容 */
.admin-reply .reply-content {
    color: #1e40af;
    font-weight: 500;
}

/* 回复操作按钮 */
.reply-actions {
    margin-top: 0.5rem;
    padding-left: 0;
}

.reply-to-reply-btn {
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.reply-to-reply-btn:hover {
    background: rgba(37, 99, 235, 0.1);
    color: var(--secondary-color);
}

/* 回复回复的表单 */
.reply-to-reply-form {
    margin-top: 0.75rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    animation: slideDown 0.3s ease;
}

.reply-to-reply-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
    background: white;
    transition: all 0.3s ease;
}

.reply-to-reply-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: #fafbff;
}

/* 嵌套回复缩进 */
.nested-reply {
    margin-left: 2rem;
    border-left: 2px solid #e5e7eb;
    padding-left: 1rem;
}

/* 页脚 */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    margin: 0.5rem 0;
    opacity: 0.9;
}

/* 工具导航 */
.tools-nav {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9997;
}

.tools-toggle {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-weight: bold;
    font-size: 1rem;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
}

.tools-toggle .tools-icon,
.tools-toggle .tools-text {
    pointer-events: none;
}

.tools-toggle:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.6);
}

.tools-icon {
    font-size: 1.5rem;
}

.tools-panel {
    position: fixed;
    left: -350px;
    top: 50%;
    transform: translateY(-50%);
    width: 320px;
    max-height: 80vh;
    background: white;
    border-radius: 0 15px 15px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: left 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tools-panel.active {
    left: 0;
}

.tools-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tools-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.tools-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

.tools-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.tools-content {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.tools-section {
    margin-bottom: 1.5rem;
}

.tools-section h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.tools-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tools-list li {
    margin-bottom: 0.5rem;
}

.tools-list a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.tools-list a:hover {
    background: #f0fdf4;
    color: #10b981;
    transform: translateX(5px);
}

/* 浮动下单按钮 */
.floating-order-btn {
    position: fixed;
    bottom: 110px;
    right: 30px;
    z-index: 9998;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 6px 25px rgba(245, 158, 11, 0.5);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    animation: pulse-order 2s infinite;
    font-weight: bold;
    font-size: 1rem;
    white-space: nowrap;
    border: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.floating-order-btn .order-icon,
.floating-order-btn .order-text {
    pointer-events: none;
}

.floating-order-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 35px rgba(245, 158, 11, 0.7);
}

.order-icon {
    font-size: 1.5rem;
    animation: bounce 1.5s infinite;
}

.order-text {
    font-size: 1rem;
    letter-spacing: 0.5px;
}

@keyframes pulse-order {
    0%, 100% {
        box-shadow: 0 6px 25px rgba(245, 158, 11, 0.5);
    }
    50% {
        box-shadow: 0 6px 35px rgba(245, 158, 11, 0.8);
    }
}

/* 移动端触摸优化 */
@media (hover: none) and (pointer: coarse) {
    /* 增大可点击区域 */
    .nav-links a,
    .cta-button,
    .submit-btn {
        min-height: 44px;
        padding: 12px 24px;
    }
}

/* 客服按钮样式 */
.cs-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.cs-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(102, 126, 234, 0.6);
}

.cs-icon {
    font-size: 2rem;
    animation: shake 3s infinite;
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-10deg); }
    20%, 40% { transform: rotate(10deg); }
}

.cs-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    border: 2px solid white;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 550px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

.chat-window.active {
    display: flex;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cs-avatar {
    font-size: 2.5rem;
}

.chat-header h4 {
    margin: 0;
    font-size: 1.1rem;
}

.cs-status {
    font-size: 0.85rem;
    opacity: 0.9;
}

.chat-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.chat-welcome {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #f9fafb;
}

.welcome-content {
    text-align: center;
    max-width: 300px;
}

.welcome-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
    animation: wave 1.5s infinite;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(20deg); }
    75% { transform: rotate(-20deg); }
}

.welcome-content h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.welcome-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.welcome-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.welcome-form input {
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.welcome-form input:focus {
    border-color: #667eea;
}

.welcome-form button {
    padding: 0.875rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.welcome-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.welcome-content small {
    color: var(--text-light);
    font-size: 0.8rem;
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    background: #f9fafb;
}

.chat-message {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-avatar {
    font-size: 2rem;
    flex-shrink: 0;
}

.message-content {
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    max-width: 70%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cs-message .message-content {
    background: white;
}

.user-message {
    flex-direction: row-reverse;
}

.user-message .message-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.message-content p {
    margin: 0;
    line-height: 1.5;
    font-size: 0.95rem;
}

.message-time {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.25rem;
    display: block;
}

.user-message .message-time {
    color: rgba(255, 255, 255, 0.8);
}

.chat-quick-replies {
    padding: 0.75rem 1rem;
    background: white;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.chat-quick-replies button {
    padding: 0.5rem 0.75rem;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-quick-replies button:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.chat-input-area {
    padding: 1rem;
    background: white;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 0.5rem;
}

.chat-input-area input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.chat-input-area input:focus {
    border-color: #667eea;
}

.chat-send {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.chat-send:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.wechat-qrcode-message {
    text-align: center;
    max-width: 100% !important;
}

.chat-qrcode-img {
    width: 200px;
    height: 200px;
    margin: 1rem auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid #e5e7eb;
}

.qrcode-tip {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* 移动端触摸优化 */
@media (hover: none) and (pointer: coarse) {
    /* 增大可点击区域 */
    .nav-links a,
    .cta-button,
    .submit-btn,
    .location-btn,
    .comment-submit-btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* 移除悬停效果，使用点击效果 */
    .service-card:active,
    .testimonial-card:active,
    .advantage-card:active,
    .contact-item:active,
    .comment-item:active {
        transform: scale(0.98);
    }
}

/* 小屏幕优化 */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .emoji-icon {
        font-size: 2rem;
    }
}

/* 加载模态框 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 响应式设计 - 平板 */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantages-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

/* 响应式设计 - 手机横屏 */
@media (max-width: 768px) {
    /* 导航栏 */
    .navbar .container {
        padding: 0.8rem 15px;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo i {
        font-size: 1.5rem;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        border-bottom: 1px solid #e5e7eb;
    }
    
    .nav-links a {
        display: block;
        padding: 1.2rem 0;
        font-size: 1.1rem;
    }
    
    .nav-links a::after {
        display: none;
    }
    
    /* 首页横幅 */
    .hero {
        height: auto;
        min-height: 500px;
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-features {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.5rem;
        justify-content: center;
    }
    
    .feature-item {
        flex: 0 0 auto;
    }
    
    .feature-emoji {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    /* 服务项目 */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-icon {
        width: 80px;
        height: 80px;
    }
    
    .emoji-icon {
        font-size: 3rem;
    }
    
    /* 下单表单 */
    .order-form-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row-2 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .order-form {
        padding: 2rem 1.5rem;
    }
    
    /* 微信二维码 */
    .wechat-qrcode-large {
        max-width: 240px;
    }
    
    .wechat-qrcode-container {
        padding: 1.5rem;
        max-width: 320px;
    }
    
    /* 客户评价 */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    /* 服务优势 */
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .advantage-emoji {
        font-size: 3rem;
    }
    
    /* 联系方式 */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-emoji {
        font-size: 3rem;
    }
    
    /* 评论区 */
    .comment-form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .comment-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* 响应式设计 - 手机竖屏 */
@media (max-width: 480px) {
    /* 容器 */
    .container {
        padding: 0 15px;
    }
    
    /* 导航栏 */
    .navbar .container {
        padding: 0.6rem 10px;
    }
    
    .logo {
        font-size: 1rem;
    }
    
    .logo span {
        display: none;
    }
    
    /* 首页横幅 */
    .hero {
        min-height: 380px;
        padding: 1.5rem 0;
    }
    
    .hero h1 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-features {
        gap: 0.8rem;
        margin-bottom: 1.2rem;
    }
    
    .feature-item {
        font-size: 0.8rem;
    }
    
    .feature-emoji {
        font-size: 1.3rem;
        margin-bottom: 0.2rem;
    }
    
    .cta-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* 区块标题 */
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }
    
    /* 服务项目 */
    .services {
        padding: 2rem 0;
    }
    
    .services-grid {
        gap: 1rem;
    }
    
    .service-card {
        padding: 1.2rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 0.8rem;
    }
    
    .emoji-icon {
        font-size: 2rem;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .service-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    /* 下单区域 */
    .order-section {
        padding: 2rem 0;
    }
    
    .order-form-wrapper {
        margin: 1.5rem auto;
    }
    
    .order-form {
        padding: 1.2rem 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.65rem;
        font-size: 0.85rem;
    }
    
    .submit-btn {
        padding: 0.8rem;
        font-size: 0.95rem;
    }
    
    .info-card {
        padding: 1.2rem;
    }
    
    .info-emoji {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .info-card h3 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    
    .info-card p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .phone-number {
        font-size: 1.1rem;
        margin: 0.3rem 0;
    }
    
    /* 微信二维码 */
    .wechat-section {
        padding: 2rem 0;
    }
    
    .wechat-qrcode-container {
        margin: 1.5rem auto;
        padding: 1rem;
        max-width: 260px;
    }
    
    .wechat-qrcode-large {
        max-width: 200px;
    }
    
    .wechat-tip {
        font-size: 0.85rem;
        margin-top: 1rem;
    }
    
    /* 客户评价 */
    .testimonials {
        padding: 2rem 0;
    }
    
    .testimonials-grid {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.2rem;
    }
    
    .stars {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .testimonial-text {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    
    .customer-avatar {
        font-size: 2rem;
    }
    
    .customer-name {
        font-size: 0.9rem;
    }
    
    .customer-service {
        font-size: 0.8rem;
    }
    
    /* 服务优势 */
    .advantages {
        padding: 2rem 0;
    }
    
    .advantages-grid {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .advantage-card {
        padding: 1.5rem 1rem;
    }
    
    .advantage-emoji {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .advantage-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .advantage-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    /* 联系方式 */
    .contact {
        padding: 2rem 0;
    }
    
    .contact-grid {
        gap: 1rem;
    }
    
    .contact-item {
        padding: 1.5rem 1rem;
    }
    
    .contact-emoji {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-item h3 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }
    
    .contact-item p {
        font-size: 0.85rem;
    }
    
    /* 评论区 */
    .comments-section {
        padding: 2rem 0;
    }
    
    .comment-form-wrapper {
        margin: 1.5rem auto;
        padding: 1.2rem 1rem;
    }
    
    .comment-form-wrapper h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .comment-form .form-group {
        margin-bottom: 0.8rem;
    }
    
    .comments-list {
        margin-top: 1.5rem;
    }
    
    .comments-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .comments-header h3 {
        font-size: 1.1rem;
        margin: 0;
    }
    
    .comments-filter {
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .comments-filter select {
        width: 100%;
        font-size: 0.85rem;
    }
    
    .comment-item {
        padding: 1.2rem 0.8rem;
        margin-bottom: 1rem;
    }
    
    .comment-avatar {
        font-size: 1.8rem;
    }
    
    .comment-author {
        font-size: 0.9rem;
    }
    
    .comment-time {
        font-size: 0.75rem;
    }
    
    .comment-rating {
        font-size: 0.9rem;
    }
    
    .comment-content {
        font-size: 0.85rem;
        line-height: 1.5;
        padding-left: 0;
        margin-top: 0.8rem;
    }
    
    .comment-actions {
        padding-left: 0;
        margin-top: 0.8rem;
        gap: 0.8rem;
    }
    
    .reply-btn,
    .like-btn {
        font-size: 0.8rem;
        padding: 0.25rem 0.4rem;
    }
    
    .reply-form {
        padding-left: 0;
        margin-top: 0.8rem;
    }
    
    .replies {
        padding-left: 1.5rem;
        margin-top: 0.8rem;
    }
    
    .reply-item {
        padding: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .reply-avatar {
        font-size: 1.5rem;
    }
    
    .reply-author {
        font-size: 0.85rem;
    }
    
    .reply-time {
        font-size: 0.7rem;
    }
    
    .reply-content {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    /* 页脚 */
    .footer {
        padding: 1.2rem 0;
        font-size: 0.85rem;
    }
    
    .footer p {
        margin: 0.3rem 0;
    }
    
    /* 工具导航移动端 */
    .tools-nav {
        left: 10px;
    }
    
    .tools-toggle {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .tools-icon {
        font-size: 1.3rem;
    }
    
    .tools-panel {
        width: calc(100vw - 20px);
        max-width: 300px;
    }
    
    .tools-header {
        padding: 1rem;
    }
    
    .tools-header h3 {
        font-size: 1.1rem;
    }
    
    .tools-content {
        padding: 1rem;
    }
    
    /* 浮动下单按钮移动端 */
    .floating-order-btn {
        bottom: 90px;
        right: 15px;
        padding: 0.75rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .order-icon {
        font-size: 1.3rem;
    }
    
    .order-text {
        font-size: 0.9rem;
    }
    
    /* 在线客服移动端 */
    .customer-service {
        bottom: 20px;
        right: 15px;
    }
    
    .cs-button {
        width: 55px;
        height: 55px;
    }
    
    .cs-icon {
        font-size: 1.75rem;
    }
    
    .chat-window {
        width: calc(100vw - 40px);
        height: calc(100vh - 120px);
        bottom: 75px;
        right: -10px;
    }
    
    .chat-header h4 {
        font-size: 1rem;
    }
    
    .cs-avatar {
        font-size: 2rem;
    }
    
    .message-avatar {
        font-size: 1.75rem;
    }
    
    .chat-quick-replies button {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
}

/* 公司门头展示 */
.storefront-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

.storefront-image-wrapper {
    max-width: 900px;
    margin: 3rem auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.storefront-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.storefront-image {
    width: 100%;
    height: auto;
    display: block;
}

.storefront-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    color: var(--text-dark);
    padding: 1rem 2rem;
    background: var(--white);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.info-emoji {
    font-size: 1.5rem;
}

/* 响应式 - 平板 */
@media (max-width: 768px) {
    .storefront-section {
        padding: 3rem 0;
    }
    
    .storefront-image-wrapper {
        margin: 2rem auto;
    }
    
    .storefront-info {
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .info-item {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
}

/* 响应式 - 手机 */
@media (max-width: 480px) {
    .storefront-section {
        padding: 2rem 0;
    }
    
    .storefront-image-wrapper {
        margin: 1.5rem auto;
        border-radius: 15px;
    }
    
    .storefront-info {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
        padding: 0 1rem;
    }
    
    .info-item {
        font-size: 0.9rem;
        padding: 0.75rem 1.25rem;
        width: 100%;
        justify-content: center;
    }
    
    .info-emoji {
        font-size: 1.3rem;
    }
}


/* 移动端回复回复样式 */
@media (max-width: 768px) {
    .nested-reply {
        margin-left: 1rem;
        padding-left: 0.5rem;
    }
    
    .reply-to-reply-btn {
        font-size: 0.75rem;
        padding: 0.2rem 0.4rem;
    }
    
    .reply-to-reply-form {
        padding: 0.75rem;
    }
    
    .reply-to-reply-form textarea {
        min-height: 60px;
        font-size: 0.85rem;
    }
}


/* 添加客服微信 - 右上角浮动按钮 */
.wechat-floating {
    position: fixed;
    top: 440px;
    right: 20px;
    z-index: 998;
}

.wechat-btn {
    background: linear-gradient(135deg, #07c160 0%, #06ae56 100%);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(7, 193, 96, 0.3);
    transition: all 0.3s ease;
}

.wechat-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(7, 193, 96, 0.4);
}

.wechat-icon {
    font-size: 1.1rem;
}

.wechat-text {
    white-space: nowrap;
}

/* 微信二维码弹窗 */
.wechat-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.wechat-modal.active {
    display: flex;
}

.wechat-modal-content {
    background: white;
    border-radius: 15px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background: #f0f0f0;
    color: #333;
}

.wechat-modal-content h3 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.wechat-qr-container {
    text-align: center;
    margin: 20px 0;
}

.wechat-qr-img {
    max-width: 250px;
    width: 100%;
    border: 3px solid #07c160;
    border-radius: 10px;
    padding: 10px;
    background: white;
}

.wechat-tip {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-top: 15px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .wechat-floating {
        top: 130px;
        right: 10px;
    }
    
    .wechat-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .wechat-modal-content {
        padding: 20px;
    }
    
    .wechat-qr-img {
        max-width: 200px;
    }
}


/* 移动端适配 - 图片上传 */
@media (max-width: 768px) {
    .upload-btn {
        width: 100%;
        justify-content: center;
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
    }
    
    .image-preview {
        gap: 8px;
    }
    
    .preview-item {
        width: 80px;
        height: 80px;
    }
    
    .preview-remove {
        width: 20px;
        height: 20px;
        font-size: 12px;
        top: 3px;
        right: 3px;
    }
    
    .upload-tip {
        font-size: 0.8rem;
    }
    
    .order-form label .optional {
        font-size: 0.75rem;
    }
}
