/* 联系我们页面专属样式 */

:root {
    --primary-color: #00a6fb;
    --primary-dark: #0082c8;
    --primary-light: #33b8fc;
    --primary-lighter: #e6f5ff;
    --secondary-color: #52c41a;
    --warning-color: #fa8c16;
    --danger-color: #ff4d4f;
    --text-primary: #1a1c3d;
    --text-secondary: #666;
    --text-light: #999;
    --border-light: #e8e8e8;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #00a6fb 0%, #0082c8 100%);
}

/* Hero Section */
.contact-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f5ff 100%);
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 166, 251, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(82, 196, 26, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(250, 140, 22, 0.06) 0%, transparent 50%);
    z-index: 0;
}

.contact-hero .container {
    position: relative;
    z-index: 1;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    text-align: left;
    max-width: 500px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.3;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    flex-direction: row;
    gap: 30px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    flex: 0 0 auto;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 166, 251, 0.15);
}

.feature-icon i {
    color: var(--primary-color);
    font-size: 18px;
}

.hero-feature span {
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 450px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-bubbles {
    position: relative;
    width: 450px;
    height: 450px;
}

.bubble {
    position: absolute;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 166, 251, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(0, 166, 251, 0.1);
}

.bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(0, 166, 251, 0.25);
}

.bubble span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.bubble-1 {
    width: 130px;
    height: 130px;
    top: 30px;
    right: 80px;
    background: linear-gradient(135deg, #fff 0%, #e6f5ff 100%);
    animation: float 6s ease-in-out infinite;
}

.bubble-2 {
    width: 110px;
    height: 110px;
    top: 100px;
    left: 40px;
    background: linear-gradient(135deg, #fff 0%, #f0f9ff 100%);
    animation: float 8s ease-in-out infinite;
    animation-delay: 1s;
}

.bubble-3 {
    width: 150px;
    height: 150px;
    bottom: 80px;
    right: 50px;
    background: linear-gradient(135deg, #fff 0%, #e6f5ff 100%);
    animation: float 7s ease-in-out infinite;
    animation-delay: 2s;
}

.bubble-4 {
    width: 120px;
    height: 120px;
    bottom: 50px;
    left: 80px;
    background: linear-gradient(135deg, #fff 0%, #f0f9ff 100%);
    animation: float 9s ease-in-out infinite;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

/* Contact Main Section */
.contact-main {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

/* Contact Info */
.contact-info {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
}

.info-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--border-light);
}

.info-header h2 {
    font-size: 28px;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.info-header p {
    color: var(--text-secondary);
    font-size: 16px;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.info-item {
    display: flex;
    gap: 16px;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-lighter);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    color: var(--primary-color);
    font-size: 20px;
}

.info-content h4 {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.info-content .primary-text {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 4px;
}

.info-content .secondary-text {
    font-size: 14px;
    color: var(--text-secondary);
}

.qr-code {
    width: 120px;
    height: 120px;
    margin: 12px 0;
    padding: 8px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 8px;
}

.company-info {
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.company-info h4 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-weight: 600;
}

.company-info ul {
    list-style: none;
    padding: 0;
}

.company-info li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.company-info strong {
    color: var(--text-primary);
    font-weight: 500;
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.form-header {
    margin-bottom: 32px;
    text-align: center;
}

.form-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 24px;
    margin-bottom: 24px;
}

.form-badge i {
    font-size: 16px;
}

.form-badge span {
    font-size: 14px;
    font-weight: 600;
}

.form-header h2 {
    font-size: 32px;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 600;
}

.form-header p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 500;
}

.required {
    color: var(--danger-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    background: white;
}

.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(0, 166, 251, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

/* Checkbox Group */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 8px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
}

.checkbox-item span {
    font-size: 14px;
    color: var(--text-secondary);
}

.checkbox-item:hover span {
    color: var(--text-primary);
}

.checkbox-item.agreement {
    margin-top: 8px;
}

.checkbox-item.agreement span {
    font-size: 13px;
}

.link {
    color: var(--primary-color);
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

/* Submit Button */
.btn-submit {
    padding: 16px 32px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 166, 251, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit i {
    font-size: 18px;
}

.form-footer {
    text-align: center;
    margin-top: 16px;
}

.form-footer p {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.form-footer i {
    color: var(--secondary-color);
}

/* Process Section - 场景解决方案展示 */
.trial-process {
    padding: 80px 0;
    background: white;
}

/* Solution Showcase */
.solution-showcase {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.showcase-left {
    flex: 0 0 300px;
}

.showcase-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #ff9500 0%, #ff6200 100%);
    color: white;
    border-radius: 24px;
    margin-bottom: 32px;
    font-size: 16px;
    font-weight: 600;
}

.showcase-badge i {
    font-size: 18px;
}

.showcase-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.showcase-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.showcase-feature i {
    width: 40px;
    height: 40px;
    background: var(--primary-lighter);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 18px;
}

.showcase-feature span {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 500;
}

.showcase-cards {
    flex: 1;
    display: flex;
    gap: 30px;
    position: relative;
}

.showcase-cards::before {
    content: '+';
    position: absolute;
    left: calc(33.33% - 20px);
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    color: var(--primary-color);
    font-weight: 300;
}

.showcase-cards::after {
    content: '+';
    position: absolute;
    left: calc(66.66% - 20px);
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    color: var(--primary-color);
    font-weight: 300;
}

.showcase-card {
    flex: 1;
    padding: 32px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 166, 251, 0.15);
}

.card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon i {
    font-size: 28px;
    color: white;
}

.showcase-card h4 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 600;
}

.showcase-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.card-1 .card-icon {
    background: linear-gradient(135deg, #00a6fb 0%, #0082c8 100%);
}

.card-2 .card-icon {
    background: linear-gradient(135deg, #52c41a 0%, #389e0d 100%);
}

.card-3 .card-icon {
    background: linear-gradient(135deg, #fa8c16 0%, #d46b08 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--primary-lighter);
    border-radius: 24px;
    margin-bottom: 24px;
}

.section-badge i {
    color: var(--primary-color);
    font-size: 16px;
}

.section-badge span {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
}

.section-header h2 {
    font-size: 36px;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-weight: 600;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.process-step:nth-child(2) { animation-delay: 0.1s; }
.process-step:nth-child(4) { animation-delay: 0.2s; }
.process-step:nth-child(6) { animation-delay: 0.3s; }
.process-step:nth-child(8) { animation-delay: 0.4s; }

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 166, 251, 0.3);
}

.step-content h4 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.step-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.step-time {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-lighter);
    border-radius: 12px;
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 600;
}

.process-connector {
    flex: 0 0 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    opacity: 0.3;
    position: relative;
    top: -30px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.faq-item {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.faq-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.faq-item h4 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.faq-item h4 i {
    color: var(--primary-color);
    font-size: 14px;
}

.faq-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive Design for Contact Page */
@media (max-width: 1200px) {
    .hero-wrapper {
        gap: 60px;
    }
    
    .visual-bubbles {
        width: 400px;
        height: 400px;
    }
    
    .bubble-1 { width: 110px; height: 110px; }
    .bubble-2 { width: 90px; height: 90px; }
    .bubble-3 { width: 130px; height: 130px; }
    .bubble-4 { width: 100px; height: 100px; }
}

@media (max-width: 992px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-visual {
        height: 350px;
        order: -1; /* 将视觉元素移到顶部 */
    }
    
    .visual-bubbles {
        width: 350px;
        height: 350px;
        margin: 0 auto;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        position: static;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .visual-bubbles {
        width: 300px;
        height: 300px;
    }
    
    .bubble-1 { 
        width: 90px; 
        height: 90px; 
        top: 20px; 
        right: 40px; 
    }
    
    .bubble-2 { 
        width: 75px; 
        height: 75px; 
        top: 80px; 
        left: 20px; 
    }
    
    .bubble-3 { 
        width: 110px; 
        height: 110px; 
        bottom: 60px; 
        right: 30px; 
    }
    
    .bubble-4 { 
        width: 85px; 
        height: 85px; 
        bottom: 40px; 
        left: 40px; 
    }
    
    .bubble span {
        font-size: 12px;
    }
    
    .showcase-section {
        padding: 60px 0;
    }
    
    .showcase-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .showcase-cards {
        flex-direction: column;
        gap: 20px;
    }
    
    .showcase-cards::before,
    .showcase-cards::after {
        display: none;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 14px;
    }
    
    .visual-bubbles {
        width: 250px;
        height: 250px;
    }
    
    .bubble-1 { width: 70px; height: 70px; }
    .bubble-2 { width: 60px; height: 60px; }
    .bubble-3 { width: 85px; height: 85px; }
    .bubble-4 { width: 65px; height: 65px; }
    
    .bubble span {
        font-size: 11px;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-features {
        align-items: center;
    }
    
    .hero-visual {
        flex: 0 0 300px;
        height: 300px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        position: static;
    }
    
    .checkbox-group {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-showcase {
        flex-direction: column;
        gap: 40px;
    }
    
    .showcase-left {
        flex: 1;
        width: 100%;
        text-align: center;
    }
    
    .showcase-cards {
        flex-direction: column;
        gap: 20px;
    }
    
    .showcase-cards::before,
    .showcase-cards::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        flex-direction: column;
        gap: 24px;
    }
    
    .process-connector {
        display: none;
    }
    
    .contact-info,
    .contact-form-wrapper {
        padding: 24px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-delay {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.fade-in-delay-2 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

/* 侧边栏客服样式 */
.sidebar-customer-service {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 9999;
}

.cs-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cs-btn {
    width: 50px;
    height: 50px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cs-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 166, 251, 0.3);
}

.cs-btn i {
    font-size: 20px;
}

.cs-btn span {
    position: absolute;
    right: 60px;
    background: var(--primary-color);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cs-btn:hover span {
    opacity: 1;
}

.cs-btn.cs-top {
    display: none;
    background: var(--gradient-primary);
    color: white;
}

/* 聊天框样式 */
.chat-box {
    position: fixed;
    right: 20px;
    bottom: 150px;
    width: 380px;
    height: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    display: none;
    flex-direction: column;
    z-index: 10000;
}

.chat-box.active {
    display: flex;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.chat-header {
    padding: 16px 20px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    margin: 0;
    font-size: 16px;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.chat-close:hover {
    opacity: 1;
}

.chat-body {
    flex: 1;
    background: #f8f9fa;
}

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.message {
    display: flex;
    gap: 12px;
    animation: fadeIn 0.3s ease;
}

.message.bot-message {
    align-items: flex-start;
}

.message.user-message {
    justify-content: flex-end;
}

.message-avatar {
    width: 36px;
    height: 36px;
    background: var(--primary-lighter);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.message-avatar i {
    color: var(--primary-color);
    font-size: 18px;
}

.message-content {
    max-width: 70%;
    padding: 12px 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.user-message .message-content {
    background: var(--primary-color);
    color: white;
}

.message-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.message-content p + p {
    margin-top: 8px;
}

.quick-questions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.quick-questions button {
    padding: 8px 12px;
    background: white;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-questions button:hover {
    background: var(--primary-color);
    color: white;
}

.chat-footer {
    padding: 16px;
    border-top: 1px solid var(--border-light);
    background: white;
    border-radius: 0 0 12px 12px;
}

.chat-input-form {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.chat-input-form input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid var(--border-light);
    border-radius: 24px;
    font-size: 14px;
    outline: none;
}

.chat-input-form input:focus {
    border-color: var(--primary-color);
}

.chat-input-form button {
    width: 36px;
    height: 36px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chat-input-form button:hover {
    background: var(--primary-dark);
}

.quick-contact {
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

.quick-contact p {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.quick-contact-form {
    display: flex;
    gap: 8px;
}

.quick-contact-form input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 13px;
}

.quick-contact-form button {
    padding: 8px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-contact-form button:hover {
    background: var(--primary-dark);
}

/* 信息弹窗样式 */
.info-popup {
    position: fixed;
    right: 80px;
    bottom: 200px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    padding: 24px;
    z-index: 10001;
    display: none;
}

.info-popup.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.popup-content {
    position: relative;
}

.popup-close {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-content h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.popup-content h4 i {
    color: var(--primary-color);
}

.phone-number {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.phone-time {
    font-size: 14px;
    color: var(--text-secondary);
}

.wechat-qr {
    width: 150px;
    height: 150px;
    padding: 8px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    margin-bottom: 12px;
}

.info-popup p {
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
}

/* 成功提示样式 */
.success-toast {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10002;
}

.success-toast.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.success-toast i {
    color: var(--secondary-color);
    font-size: 24px;
}

.success-toast span {
    font-size: 16px;
    color: var(--text-primary);
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .sidebar-customer-service {
        right: 10px;
        bottom: 60px;
    }
    
    .cs-btn {
        width: 45px;
        height: 45px;
    }
    
    .cs-btn span {
        display: none;
    }
    
    .chat-box {
        width: calc(100vw - 20px);
        right: 10px;
        bottom: 10px;
        height: 60vh;
        max-height: 500px;
    }
    
    .info-popup {
        right: 10px;
        left: 10px;
        width: auto;
    }
}