/* wenxin.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: #ffffff;
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

header {
    text-align: center;
    padding: 20px 0;
    margin-bottom: 30px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: linear-gradient(90deg, #cc0000, #ff3333);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    color: #666;
}

.chat-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    max-width: 900px;
    border: 1px solid rgba(204, 0, 0, 0.15);
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(204, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cc0000;
}

.section-title i {
    color: #cc0000;
}

button, a.button {
    background: linear-gradient(90deg, #cc0000, #ff3333);
    color: white;
    border: none;
    padding: 14px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(204, 0, 0, 0.2);
}

button:hover, a.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(204, 0, 0, 0.3);
    background: linear-gradient(90deg, #ff3333, #ff6666);
}

button.secondary, a.button.secondary {
    background: linear-gradient(90deg, #cc0000, #ff3333);
}

.chat-container {
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    min-height: 400px;
    max-height: 500px;
    border: 1px solid rgba(204, 0, 0, 0.1);
}

.message {
    margin-bottom: 15px;
    padding: 12px 18px;
    border-radius: 12px;
    max-width: 90%;
    position: relative;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.user-message {
    background: linear-gradient(90deg, #cc0000, #ff3333);
    margin-left: auto;
    border-bottom-right-radius: 5px;
    border: 1px solid rgba(204, 0, 0, 0.3);
    color: white;
}

.ai-message {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-left-radius: 5px;
    border: 1px solid rgba(204, 0, 0, 0.15);
    color: #333;
}

.message-content {
    line-height: 1.5;
}

.message-header {
    font-weight: 600;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

#user-input {
    flex: 1;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid rgba(204, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#user-input:focus {
    outline: none;
    border-color: #cc0000;
    box-shadow: 0 0 0 2px rgba(204, 0, 0, 0.2);
}

.typing-indicator {
    display: none;
    padding: 10px;
    color: #666;
    font-style: italic;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid rgba(204, 0, 0, 0.1);
}

.status {
    margin-top: 15px;
    padding: 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    border: 1px solid rgba(204, 0, 0, 0.1);
    color: #666;
}

.suggested-questions {
    margin-top: 15px;
    padding: 15px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(204, 0, 0, 0.15);
}

.suggested-questions h3 {
    margin-bottom: 10px;
    color: #cc0000;
    display: flex;
    align-items: center;
    gap: 8px;
}

.suggestions-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.suggestion-button {
    background: rgba(204, 0, 0, 0.1);
    border: 1px solid rgba(204, 0, 0, 0.3);
    color: #cc0000;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.suggestion-button:hover {
    background: rgba(204, 0, 0, 0.2);
    transform: translateY(-2px);
    color: #990000;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.info-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(204, 0, 0, 0.1);
}

.info-item h4 {
    color: #cc0000;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-item p {
    margin-bottom: 8px;
    color: #666;
}

.action-button {
    display: block;
    width: 100%;
    margin-top: 20px;
    text-align: center;
}

.action-button-container {
    text-align: center;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .suggestions-container {
        flex-direction: column;
    }
    
    .suggestion-button {
        width: 100%;
        text-align: left;
    }
}

.security-note {
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    font-size: 0.85rem;
    color: #666;
    border: 1px solid rgba(204, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #cc0000, #ff3333);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.3);
}

.logo i {
    font-size: 36px;
    color: white;
}

.floating-circles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(20px);
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: #ff3333;
    top: 10%;
    left: 10%;
    animation: float 15s infinite ease-in-out;
}

.circle-2 {
    width: 200px;
    height: 200px;
    background: #ff6666;
    top: 60%;
    left: 80%;
    animation: float 12s infinite ease-in-out reverse;
}

.circle-3 {
    width: 150px;
    height: 150px;
    background: #cc0000;
    top: 30%;
    left: 70%;
    animation: float 18s infinite ease-in-out;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(20px, 30px) rotate(120deg); }
    66% { transform: translate(-30px, 20px) rotate(240deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

/* Disclaimer popup styles */
.disclaimer-popup {
    display: none;
    position: absolute;
    width: 400px;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.disclaimer-header {
    background: #cc0000;
    color: white;
    padding: 10px;
    font-weight: bold;
}

.disclaimer-content {
    padding: 15px;
    color: #333;
    line-height: 1.5;
}

/* Footer styles */
.dfz_footer {
    width: 100%;
    background: #f5f5f5;
    padding: 20px 0;
    margin-top: 30px;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.jz {
    width: 1200px;
    margin: 0 auto;
}

.clearfix:after {
    content: "";
    display: block;
    clear: both;
}

.lxwm {
    float: left;
    margin-left: 50px;
}

.lxwm_top, .lxwm_bottom {
    margin-bottom: 15px;
    text-align: center;
}

.lxwm p {
    margin: 5px 0;
}

.lxwm a {
    color: #286295;
    text-decoration: none;
}

.lxwm a:hover {
    text-decoration: underline;
}