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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0;
    background: #fff;
    min-height: 100vh;
}

.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 20px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header h1 {
    font-size: 22px;
    font-weight: 600;
}

.hotline-section {
    padding: 20px;
}

.phone-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
}

.phone-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.phone-number {
    font-size: 28px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.phone-tip {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.call-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 14px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.call-btn:active {
    transform: scale(0.98);
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.btn-icon {
    font-size: 20px;
}

.copy-tip {
    color: #999;
    font-size: 12px;
    margin-top: 15px;
}

.qa-link-section {
    padding: 0 20px 20px;
}

.qa-link-card {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 16px;
    padding: 20px;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 4px 20px rgba(240, 147, 251, 0.3);
    transition: transform 0.2s;
}

.qa-link-card:active {
    transform: scale(0.98);
}

.qa-icon {
    font-size: 36px;
    margin-right: 15px;
}

.qa-text {
    flex: 1;
}

.qa-text h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.qa-text p {
    font-size: 13px;
    opacity: 0.9;
}

.arrow {
    font-size: 28px;
    opacity: 0.8;
}

.gallery-section {
    padding: 20px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-left: 5px;
    border-left: 4px solid #667eea;
}

.carousel-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.carousel {
    position: relative;
    width: 100%;
    height: 200px;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #fff;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 20px;
    color: #667eea;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.footer {
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 12px;
    background: #f8f9fa;
}

.qa-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.qa-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
}

.qa-header h1 {
    flex: 1;
    margin-right: 40px;
}

.back-btn {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.suggest-section {
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.suggest-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.suggest-header h2 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.refresh-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: 1px solid #667eea;
    color: #667eea;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.refresh-btn:active {
    background: #667eea;
    color: #fff;
}

.refresh-icon {
    font-size: 14px;
}

.suggest-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.suggest-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.suggest-item:active {
    background: #667eea;
    color: #fff;
    border-color: #667eea;
}

.chat-section {
    flex: 1;
    overflow-y: auto;
    padding: 15px 20px;
    background: #f5f7fa;
}

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

.message {
    display: flex;
    gap: 10px;
    max-width: 85%;
}

.message.user-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #667eea;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.message.user-message .message-avatar {
    background: #f5576c;
}

.message-content {
    background: #fff;
    padding: 12px 16px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.message.user-message .message-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.message-content p {
    font-size: 15px;
    line-height: 1.6;
}

.input-section {
    padding: 15px 20px;
    background: #fff;
    border-top: 1px solid #eee;
}

.input-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

#userInput {
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    padding: 12px 20px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

#userInput:focus {
    border-color: #667eea;
}

.send-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.send-btn:active {
    transform: scale(0.98);
}

.disclaimer {
    text-align: center;
    color: #999;
    font-size: 11px;
    margin-top: 10px;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #667eea;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

@media (max-width: 360px) {
    .phone-number {
        font-size: 24px;
    }
    
    .call-btn {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .qa-text h3 {
        font-size: 16px;
    }
}
