/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #06b6d4;
    --accent-color: #8b5cf6;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --dark-bg: #0f172a;
    --darker-bg: #0a0f1c;
    --light-bg: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.95);
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #f1f5f9;
    --border-color: #e2e8f0;
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #0a0a2a 0%, #1a1a4a 50%, #2d1b69 100%);
    min-height: 100vh;
}

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

/* 导航栏样式 */
.navbar {
    background: linear-gradient(135deg, #0a0a2a 0%, #1a1a4a 50%, #2d1b69 100%);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-heavy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-right: 20px;
}

.nav-logo i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.nav-logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    opacity: 0.8;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    opacity: 1;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-menu.show {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #0a0a2a 0%, #1a1a4a 50%, #2d1b69 100%);
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.bar {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* 英雄区域 */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #0a0a2a 0%, #1a1a4a 50%, #2d1b69 100%);
    color: var(--text-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* 浮动元素动画 */
.floating-elements {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    width: 60px;
    height: 60px;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    bottom: 20%;
    left: 20%;
    width: 100px;
    height: 100px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* 分区样式 */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #f1f5f9;
    max-width: 600px;
    margin: 0 auto;
}

/* 特性网格布局 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 4rem 0;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 1rem;
}
    position: relative;
    z-index: 1;
}

.agents-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.agents-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.agents-section .section-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
}

/* Coze API演示区域 */
.coze-api-demo {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.coze-api-demo h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 2rem;
    text-align: center;
}

.api-demo-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.chat-interface {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin: 2rem auto;
    width: 100%;
    max-width: 1350px;
}

.chat-messages {
    height: 300px;
    overflow-y: auto;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.message {
    display: flex;
    margin-bottom: 1rem;
    gap: 0.8rem;
}

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.message-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 70%;
    line-height: 1.4;
    color: #ffffff;
}

.bot-message .message-content {
    background: rgba(79, 70, 229, 0.5);
    color: white;
    border-color: rgba(79, 70, 229, 0.7);
}

.chat-input-container {
    display: flex;
    gap: 0.5rem;
}

.chat-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.chat-input:focus {
    border-color: rgba(79, 70, 229, 0.7);
}

/* Coze SDK 文本框样式调整 */
.coze-web-sdk textarea,
.coze-web-sdk input[type="text"] {
    min-height: 100px !important;
    height: auto !important;
    resize: vertical !important;
    padding: 16px !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
}

.coze-web-sdk .message-input-container {
    min-height: 120px !important;
}

.coze-web-sdk .message-input {
    min-height: 100px !important;
    max-height: 300px !important;
}

.send-btn {
    padding: 12px 20px;
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.send-btn:hover {
    background: #4338ca;
}

.api-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
}

.api-info h4 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #f1f5f9;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.form-group input:focus {
    border-color: rgba(79, 70, 229, 0.7);
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, #0a0a2a 0%, #1a1a4a 50%, #2d1b69 100%);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

/* 相关链接特殊样式 */
.footer-section ul li a[target="_blank"] {
    color: #64b5f6;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li a[target="_blank"]:hover {
    color: #90caf9;
    text-decoration: underline;
}

/* 微信小程序文字点击样式 */
.lawmate-toggle {
    color: #64b5f6;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lawmate-toggle:hover {
    color: #90caf9;
    text-decoration: underline;
}

/* 弹出二维码窗口样式 */
.lawmate-qr-popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.qr-popup-content {
    position: relative;
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    width: 80%;
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: slideIn 0.3s ease;
}

.qr-close {
    position: absolute;
    right: 15px;
    top: 10px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.qr-close:hover {
    color: #333;
}

.lawmate-qr-img {
    width: 200px;
    height: auto;
    border-radius: 8px;
    margin: 10px 0;
}

.qr-popup-content p {
    margin-top: 10px;
    color: #333;
    font-size: 14px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.newsletter h5 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    outline: none;
}

.newsletter-input::placeholder {
    color: var(--text-secondary);
}

.newsletter-btn {
    padding: 8px 16px;
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-btn:hover {
    background: var(--primary-hover);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-content p {
    margin: 0;
    color: var(--text-secondary);
}

.footer-bottom-content a {
    color: var(--text-secondary);
    text-decoration: none;
}

.footer-bottom-content a:hover {
    color: #4f46e5;
}

.footer-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge {
    padding: 4px 8px;
    background: rgba(79, 70, 229, 0.2);
    color: #818cf8;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* 智涯千问LawMate卡片模态框样式 */
.card-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.card-modal-content {
    position: relative;
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: slideIn 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.card-modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #aaa;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.card-modal-close:hover {
    color: #333;
}

.card-modal-image {
    width: 100%;
    max-width: 400px;
    max-height: 400px;
    height: auto;
    border-radius: 10px;
    margin: 20px auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    top: 0;
    left: 0;
}

.card-modal-description {
    margin-top: 15px;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .api-demo-container {
        grid-template-columns: 1fr;
    }
    
    .agents-grid {
        grid-template-columns: 1fr;
    }
    
    /* 页脚响应式设计 */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 2rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-badges {
        justify-content: center;
    }
    
    .contact-info p {
        justify-content: center;
    }
    
    /* AI智能体区域响应式调整 */
    .coze-agents-container {
        padding: 1.5rem;
    }
    

    
    /* 智涯千问区域响应式调整 */
    .zhiya-agents-section {
        padding: 60px 0;
    }
    
    .zhiya-agents-section .section-header h2 {
        font-size: 2.2rem;
    }
    
    .zhiya-agents-section .section-header p {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .agents-showcase {
        padding: 2rem 1.5rem;
        margin-top: 2rem;
    }
    
    .agents-showcase h3 {
        font-size: 1.5rem;
    }
    
    .zhiya-agents-section .agents-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .zhiya-agents-section .section-header h2 {
        font-size: 1.8rem;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
    }
    
    .agents-showcase {
        padding: 1.5rem 1rem;
    }
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #4f46e5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 快速链接样式 */
.quick-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.quick-link:hover {
    border-color: rgba(79, 70, 229, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.quick-link i {
    font-size: 1.2rem;
    color: #a5b4fc;
    margin-bottom: 0.5rem;
}

.quick-link span {
    font-size: 0.8rem;
    font-weight: 500;
    color: #f1f5f9;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .quick-links {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
}

/* 关于我们板块样式 */
.about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0a2a 0%, #1a1a4a 50%, #2d1b69 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.advantages-list {
    list-style: none;
    padding: 0;
}

.advantages-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.advantages-list i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.about-stats {
    display: grid;
    gap: 2rem;
    text-align: center;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* 联系我们板块样式 */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0a2a 0%, #1a1a4a 50%, #2d1b69 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 8px;
}

.contact-item h4 {
    margin: 0 0 0.3rem 0;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-item p {
    margin: 0;
    color: var(--text-secondary);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-form h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.contact-form > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.6;
}

.customization-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex: 1;
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-form-btn {
    text-align: center;
    margin-top: auto;
}

.contact-form-btn .btn-primary {
    display: inline-block;
    text-decoration: none;
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-form-btn .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

/* 客服弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: linear-gradient(135deg, #0a0a2a 0%, #1a1a4a 50%, #2d1b69 100%);
    margin: 10% auto;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    width: 80%;
    max-width: 400px;
    text-align: center;
    position: relative;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { 
        transform: translateY(-50px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: var(--text-light);
}

.kefu-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin: 1rem auto;
    display: block;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-content p {
    color: var(--text-light);
    margin-top: 1rem;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .customization-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-item {
        padding: 1rem;
    }
    
    .feature-item i {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* 内容展示区域样式 */
.content-showcase {
    margin: 2rem auto;
    max-width: 1200px;
}

.showcase-header {
    text-align: center;
    margin-bottom: 3rem;
}

.showcase-header h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 600;
}

.showcase-header p {
    font-size: 1.1rem;
    color: #f1f5f9;
    max-width: 600px;
    margin: 0 auto;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.showcase-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.showcase-item h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 600;
}

.showcase-item p {
    color: #f1f5f9;
    line-height: 1.5;
}

/* 科幻展示区域样式 */
.sci-fi-showcase {
    position: relative;
    background: linear-gradient(135deg, #0a0a2a 0%, #1a1a4a 50%, #2d1b69 100%);
    padding: 100px 0;
    overflow: hidden;
}

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

.sci-fi-header h2 {
    font-size: 3rem;
    color: #00ffff;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.7);
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 2px;
}

.sci-fi-header p {
    font-size: 1.2rem;
    color: #a0a0ff;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.sci-fi-content h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.sci-fi-content p {
    color: #ccccff;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* 3D立方体动画 */
@keyframes rotate {
    0% {
        transform: rotateX(0) rotateY(0) rotateZ(0);
    }
    100% {
        transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
    }
}

.cube {
    width: 200px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate 8s infinite linear;
}

.face {
    position: absolute;
    width: 200px;
    height: 200px;
    backdrop-filter: blur(10px);
    border: 2px solid;
}

.front { 
    background: rgba(0, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.5);
    transform: translateZ(100px);
}

.back { 
    background: rgba(255, 0, 255, 0.1);
    border-color: rgba(255, 0, 255, 0.5);
    transform: translateZ(-100px) rotateY(180deg);
}

.right { 
    background: rgba(0, 255, 0, 0.1);
    border-color: rgba(0, 255, 0, 0.5);
    transform: rotateY(90deg) translateZ(100px);
}

.left { 
    background: rgba(255, 255, 0, 0.1);
    border-color: rgba(255, 255, 0, 0.5);
    transform: rotateY(-90deg) translateZ(100px);
}

.top { 
    background: rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.5);
    transform: rotateX(90deg) translateZ(100px);
}

.bottom { 
    background: rgba(0, 0, 255, 0.1);
    border-color: rgba(0, 0, 255, 0.5);
    transform: rotateX(-90deg) translateZ(100px);
}

/* 标签样式 */
.sci-fi-tag {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid;
}

.tag-cyan {
    background: rgba(0, 255, 255, 0.2);
    border-color: rgba(0, 255, 255, 0.5);
    color: #00ffff;
}

.tag-magenta {
    background: rgba(255, 0, 255, 0.2);
    border-color: rgba(255, 0, 255, 0.5);
    color: #ff00ff;
}

.tag-green {
    background: rgba(0, 255, 0, 0.2);
    border-color: rgba(0, 255, 0, 0.5);
    color: #00ff00;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .showcase-header h2 {
        font-size: 2rem;
    }
    
    .showcase-item {
        padding: 1.5rem 1rem;
    }
    
    .sci-fi-header h2 {
        font-size: 2rem;
    }
    
    .sci-fi-header p {
        font-size: 1rem;
    }
    
    .cube {
        width: 150px;
        height: 150px;
    }
    
    .face {
        width: 150px;
        height: 150px;
    }
    
    .front,
    .back,
    .right,
    .left,
    .top,
    .bottom {
        transform: translateZ(75px);
    }
    
    /* 导航栏响应式调整 */
    .navbar {
        height: 60px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-logo {
        font-size: 1.3rem;
    }
    
    .nav-logo-img {
        height: 40px;
    }
    
    /* 英雄区域响应式调整 */
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    /* 关于我们区域响应式调整 */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    /* 联系我们区域响应式调整 */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* 行业新闻板块样式 */
.industry-news-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0a2a 0%, #1a1a4a 50%, #2d1b69 100%);
}

.industry-news-section .section-header h2 {
    color: #ffffff;
}

.industry-news-section .section-header p {
    color: #f1f5f9;
}

.news-scroll-container {
    overflow: hidden;
    width: 100%;
    height: 200px;
    position: relative;
}

.news-scroll-wrapper {
    display: flex;
    animation: scroll-left 60s linear infinite;
    width: max-content;
}

.news-scroll-wrapper:hover {
    animation-play-state: paused;
}

.news-card {
    flex: 0 0 auto;
    width: 300px;
    margin-right: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.news-content h3 {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.news-content p {
    color: #f1f5f9;
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.news-date {
    font-size: 0.8rem;
    color: #a0a0ff;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .industry-news-section {
        padding: 60px 0;
    }
    
    .news-scroll-container {
        height: 180px;
    }
    
    .news-card {
        width: 280px;
        padding: 1.2rem;
    }
    
    .news-content h3 {
        font-size: 1rem;
    }
    
    .news-content p {
        font-size: 0.85rem;
    }
    
    /* 页脚响应式调整 */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 2rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-badges {
        justify-content: center;
    }
    
    .contact-info p {
        justify-content: center;
    }
}

/* 智涯千问页面样式 */
.zhiya-qianwen-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0a2a 0%, #1a1a4a 50%, #2d1b69 100%);
}

.zhiya-qianwen-section .section-header h2 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.7);
}

.zhiya-qianwen-section .section-header p {
    color: #a0a0ff;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 50px;
}

/* AI大师卡片网格 */
.ai-masters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.ai-master-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.ai-master-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 255, 255, 0.3);
}

.lawmate-image-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
    min-width: 300px;
    max-width: 500px;
}

.lawmate-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.lawmate-image-description {
    margin-top: 15px;
    font-size: 16px;
    color: #333;
    line-height: 1.4;
    text-align: center;
    font-weight: 500;
}

.ai-master-card {
    position: relative;
    overflow: visible;
}

.master-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00ffff, #0080ff);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.master-icon i {
    font-size: 30px;
    color: #ffffff;
}

.ai-master-card h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.ai-master-card p {
    color: #ccccff;
    line-height: 1.6;
    margin-bottom: 20px;
}

.master-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.master-features li {
    color: #a0a0ff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.master-features i {
    color: #00ffff;
    margin-right: 10px;
}

.master-link {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #00ffff, #0080ff);
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.2s ease;
}

.master-link:hover {
    background: linear-gradient(135deg, #0080ff, #00ffff);
    transform: scale(1.05);
}

/* 交互式3D立方体展示 */
.cube-showcase {
    text-align: center;
    margin-top: 60px;
}

.cube-showcase h3 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 40px;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.7);
}

.cube-container-interactive {
    perspective: 1000px;
    margin: 0 auto 40px;
    width: 300px;
    height: 300px;
}

.cube-interactive {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
    transform: rotateX(-20deg) rotateY(30deg);
}

.face-interactive {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.face-content {
    text-align: center;
    color: #ffffff;
}

.face-content i {
    font-size: 50px;
    margin-bottom: 15px;
    display: block;
}

.face-content h4 {
    font-size: 1.5rem;
    margin: 0;
}

.front-interactive {
    background: rgba(0, 255, 255, 0.2);
    transform: translateZ(150px);
}

.back-interactive {
    background: rgba(255, 0, 255, 0.2);
    transform: rotateY(180deg) translateZ(150px);
}

.right-interactive {
    background: rgba(0, 255, 0, 0.2);
    transform: rotateY(90deg) translateZ(150px);
}

.left-interactive {
    background: rgba(255, 255, 0, 0.2);
    transform: rotateY(-90deg) translateZ(150px);
}

.top-interactive {
    background: rgba(255, 0, 0, 0.2);
    transform: rotateX(90deg) translateZ(150px);
}

.bottom-interactive {
    background: rgba(0, 0, 255, 0.2);
    transform: rotateX(-90deg) translateZ(150px);
}

.cube-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.cube-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.cube-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.cube-btn:active {
    transform: scale(0.95);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .zhiya-qianwen-section {
        padding: 60px 0;
    }
    
    .zhiya-qianwen-section .section-header h2 {
        font-size: 2rem;
    }
    
    .ai-masters-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cube-container-interactive {
        width: 250px;
        height: 250px;
    }
    
    .cube-interactive {
        width: 100%;
        height: 100%;
    }
    
    .face-interactive {
        width: 250px;
        height: 250px;
    }
    
    .front-interactive {
        transform: translateZ(125px);
    }
    
    .back-interactive {
        transform: rotateY(180deg) translateZ(125px);
    }
    
    .right-interactive {
        transform: rotateY(90deg) translateZ(125px);
    }
    
    .left-interactive {
        transform: rotateY(-90deg) translateZ(125px);
    }
    
    .top-interactive {
        transform: rotateX(90deg) translateZ(125px);
    }
    
    .bottom-interactive {
        transform: rotateX(-90deg) translateZ(125px);
    }
    
    .face-content i {
        font-size: 40px;
    }
    
    .face-content h4 {
        font-size: 1.2rem;
    }
}