/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 保险板块按钮样式，确保可点击 */
.insurance-link, .insurance-btn, .expand-btn, .buy-insurance-btn {
    display: inline-block !important;
    padding: 10px 20px !important;
    margin-right: 10px !important;
    background-color: #007bff !important;
    color: white !important;
    text-decoration: none !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    z-index: 1000 !important;
    position: relative !important;
    border: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.buy-insurance-btn {
    background-color: #28a745 !important;
}

.insurance-link:hover, .insurance-btn:hover, .expand-btn:hover, .buy-insurance-btn:hover {
    opacity: 0.9 !important;
    transform: translateY(-1px) !important;
}

.insurance-link:active, .insurance-btn:active, .expand-btn:active, .buy-insurance-btn:active {
    transform: translateY(0) !important;
}

/* 确保模态框可以正常显示 */
.modal {
    z-index: 10000 !important;
}

:root {
    /* 明亮版未来科技感色彩方案 */
    --primary-color: #00d2ff;
    --secondary-color: #9d4edd;
    --accent-color: #7c3aed;
    --light-color: #a78bfa;
    --dark-color: #1e293b;
    --text-color: #f1f5f9;
    --bg-color: #f8fafc;
    --purple-color: #8b5cf6;
    --blue-color: #06b6d4;
    --green-color: #10b981;
    --orange-color: #f59e0b;
    --pink-color: #ec4899;
    --cyan-color: #00d2ff;
    --magenta-color: #d946ef;
    --lime-color: #84cc16;
    --teal-color: #14b8a6;
    --indigo-color: #6366f1;
    --neon-blue: #00d4ff;
    --neon-purple: #a855f7;
    --neon-cyan: #22d3ee;
    --neon-green: #10b981;
    --dark-bg: #0f172a;
    --card-bg: rgba(255, 255, 255, 0.9);
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0f9ff 100%);
    background-attachment: fixed;
}

/* 头部样式 */
header {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-color) 50%, var(--accent-color) 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 210, 255, 0.3);
    animation: gradientShift 5s ease infinite;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 210, 255, 0.1), transparent);
    animation: scanLine 3s linear infinite;
}

@keyframes scanLine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

header {
    background-size: 200% 200%;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.site-name h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.site-name .tagline {
    font-size: 0.9rem;
    color: var(--light-color);
    margin: 0.2rem 0 0 0;
    font-weight: 300;
}

/* 导航栏样式调整 */
nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3498db, #9b59b6);
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* 首页板块样式 */
#home {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, var(--accent-color) 100%);
}

/* 关于我们板块样式 */
#about {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, var(--blue-color) 100%);
}

/* 保险生活板块样式 */
#insurance {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, var(--neon-purple) 100%);
}

/* 生物科技板块样式 */
#biotech {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, var(--neon-green) 100%);
}

/* 生物科技网格样式 */
.biotech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* 生物科技卡片样式 */
.biotech-item {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 210, 255, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 210, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

/* 生物科技卡片科技装饰 */
.biotech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple), var(--neon-cyan));
    z-index: 2;
    animation: borderGlow 3s ease-in-out infinite;
}

/* 生物科技卡片网格背景 */
.biotech-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 210, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 210, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

/* 生物科技卡片悬停效果 */
.biotech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 210, 255, 0.2);
    border-color: rgba(0, 210, 255, 0.5);
}

.biotech-item:hover::after {
    opacity: 1;
}

/* 生物科技卡片标题样式 */
.biotech-item h3 {
    color: var(--neon-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

/* 生物科技卡片内容样式 */
.biotech-item p {
    color: var(--dark-color);
    line-height: 1.6;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

/* 购物天堂板块样式 */
#products {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, var(--neon-blue) 100%);
}

/* 商家服务板块样式 */
#services {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, var(--neon-green) 100%);
}

/* 联系我们板块样式 */
#contact {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, var(--magenta-color) 100%);
}

/* 通用板块标题样式 */
section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-color);
    font-size: 2.5rem;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
}

/* 通用网格样式 */
.feature-grid, .about-content, .service-grid, .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* 通用内容卡片样式 */
.feature-item, .about-item, .service-item, .product-item, .news-item {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 210, 255, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 210, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

/* 卡片科技装饰 */
.feature-item::before, .about-item::before, .service-item::before, .product-item::before, .news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple), var(--neon-cyan));
    z-index: 2;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* 卡片网格背景 */
.feature-item::after, .about-item::after, .service-item::after, .product-item::after, .news-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 210, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 210, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

/* 卡片悬停效果 */
.feature-item:hover, .about-item:hover, .service-item:hover, .product-item:hover, .news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 210, 255, 0.2);
    border-color: rgba(0, 210, 255, 0.5);
}

.feature-item:hover::after, .about-item:hover::after, .service-item:hover::after, .product-item:hover::after, .news-item:hover::after {
    opacity: 1;
}

/* 卡片标题样式 */
.feature-item h3, .about-item h3, .service-item h3, .product-item h3, .news-item h3 {
    color: var(--neon-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
}

/* 卡片内容样式 */
.feature-item p, .about-item p, .service-item p, .product-item p, .news-item p {
    color: var(--dark-color);
    line-height: 1.6;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

/* 保险生活板块特殊样式 */
#insurance .product-item h3 {
    color: var(--neon-purple);
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}

/* 购物天堂板块特殊样式 */
#products .product-item h3 {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
}

/* 商家服务板块特殊样式 */
#services .service-item h3 {
    color: var(--neon-green);
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

/* 联系我们板块标题样式 */
#contact h2 {
    color: var(--text-color);
    text-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
}

/* 联系我们板块内容样式 */
#contact .contact-info p {
    color: var(--text-color);
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

#contact .contact-form h3 {
    color: var(--neon-blue);
    margin-bottom: 2rem;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
}


/* 按钮样式 */
.expand-btn, .btn-more, .submit-btn, .buy-insurance-btn {
    background: linear-gradient(135deg, var(--dark-color), var(--accent-color));
    color: var(--text-color);
    border: 1px solid rgba(0, 210, 255, 0.3);
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 210, 255, 0.2);
    font-size: 14px;
    position: relative;
    overflow: hidden;
    margin-right: 10px;
    display: inline-block;
    margin-bottom: 10px;
}

/* 买保险按钮特殊样式 */
.buy-insurance-btn {
    background: linear-gradient(135deg, var(--green-color), var(--blue-color));
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3), 0 0 15px rgba(5, 150, 105, 0.2);
}

.buy-insurance-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4), 0 0 25px rgba(5, 150, 105, 0.3);
    border-color: rgba(16, 185, 129, 0.8);
    color: white;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid rgba(0, 210, 255, 0.3);
    width: 90%;
    max-width: 800px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 210, 255, 0.2);
    animation: slideUp 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.close:hover {
    color: #00d2ff;
    transform: rotate(90deg);
}

/* 表单样式 */
.form-section {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(248, 250, 252, 0.8);
    border-radius: 10px;
    border: 1px solid rgba(0, 210, 255, 0.2);
}

.form-section h3 {
    color: var(--neon-blue);
    margin-bottom: 20px;
    font-size: 1.3rem;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    min-width: 250px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark-color);
    font-weight: 600;
    font-size: 14px;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
    color: var(--dark-color);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.2), 0 0 15px rgba(0, 210, 255, 0.3);
    transform: scale(1.02);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
}

.cancel-btn {
    background: linear-gradient(135deg, #64748b, #94a3b8);
    color: white;
    border: 1px solid rgba(100, 116, 139, 0.3);
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(100, 116, 139, 0.3);
    font-size: 14px;
}

.cancel-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(100, 116, 139, 0.4);
    border-color: rgba(100, 116, 139, 0.5);
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.expand-btn::before, .btn-more::before, .submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 210, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.expand-btn:hover, .btn-more:hover, .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 210, 255, 0.3);
    border-color: rgba(0, 210, 255, 0.5);
    color: white;
}

.expand-btn:hover::before, .btn-more:hover::before, .submit-btn:hover::before {
    left: 100%;
}

/* 表单样式 */
.contact-form form {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.2);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input, .form-group textarea, .contact-form select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    margin-top: 0.5rem;
    background: rgba(15, 23, 42, 0.7);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus, .contact-form select:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.2), 0 0 15px rgba(0, 210, 255, 0.3);
    transform: scale(1.02);
    background: rgba(15, 23, 42, 0.9);
}

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

/* 展开内容样式 */
.expand-content {
    margin-top: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    color: #1e293b;
    border: 1px solid rgba(0, 210, 255, 0.5);
    border-radius: 12px;
    display: none;
    animation: slideDown 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.2);
    backdrop-filter: blur(10px);
    font-size: 14px;
    line-height: 1.6;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }
}

/* 导航栏增强样式 */
nav ul li a {
    position: relative;
    overflow: hidden;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
}

nav ul li a:hover {
    background: rgba(0, 210, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
}

nav ul li a.active {
    background: rgba(0, 210, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
}

/* 页脚增强样式 */
footer {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    color: var(--dark-color);
    margin-top: 0;
    border-top: 1px solid rgba(0, 210, 255, 0.3);
}

.footer-content {
    background: transparent;
}

.footer-info h3, .footer-links h3, .footer-social h3 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
}

.footer-info p {
    color: var(--dark-color);
    opacity: 0.8;
}

.footer-links ul li a, .footer-social ul li a {
    color: var(--dark-color);
    opacity: 0.7;
    transition: all 0.3s ease;
    padding: 6px 0;
    display: inline-block;
    text-decoration: none;
    position: relative;
}

.footer-links ul li a:hover, .footer-social ul li a:hover {
    color: var(--neon-blue);
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
    opacity: 1;
}

/* 页脚样式调整 */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-info p {
    color: var(--text-color);
    line-height: 1.6;
    opacity: 0.9;
}

.footer-links ul, .footer-social ul {
    list-style: none;
}

.footer-links ul li, .footer-social ul li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    background: rgba(0, 210, 255, 0.1);
    color: var(--dark-color);
    text-align: center;
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 210, 255, 0.3);
}

.footer-bottom p {
    margin: 0;
    opacity: 0.6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .logo-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    nav ul li a {
        display: block;
        width: 100%;
        text-align: center;
    }
    
    section {
        padding: 1rem;
    }
    
    .feature-grid, .product-grid, .service-grid, .news-grid {
        grid-template-columns: 1fr;
    }
    
    .icon-container {
        width: 100%;
        height: 350px;
    }
    
    .circle-container {
        width: 280px;
        height: 280px;
        top: 35px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .hexagon {
        width: 80px;
        height: 92.38px;
    }
    
    .hexagon:nth-child(1) {
        top: 95px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .hexagon:nth-child(2) {
        top: 155px;
        left: calc(50% - 50px);
    }
    
    .hexagon:nth-child(3) {
        top: 155px;
        left: calc(50% + 50px);
    }
}

/* 会员系统样式 */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.user-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.user-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    color: #333;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.user-btn:hover {
    background-color: #f0f0f0;
}

.user-btn-primary {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.user-btn-primary:hover {
    background-color: #45a049;
}

.user-info {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* 验证消息样式 */
.validation-message {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    font-weight: bold;
}

.validation-message.valid {
    color: #4CAF50;
}

.validation-message.invalid {
    color: #f44336;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
}

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

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* 表单样式 */
.form-section {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 200px;
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.submit-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.submit-btn:hover {
    background-color: #45a049;
}

.cancel-btn {
    background-color: #ccc;
    color: #333;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.cancel-btn:hover {
    background-color: #999;
}

/* 购物天堂样式 */
.product-categories {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.category-btn {
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background-color: white;
    color: #333;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.category-btn:hover {
    background-color: #f0f0f0;
}

.category-btn.active {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.product-category {
    margin: 20px 0;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.product-category h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 20px;
}

.category-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.no-products {
    text-align: center;
    padding: 50px 0;
    color: #666;
}

.ccc-mark {
    display: inline-block;
    background-color: #0069d9;
    color: white;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-left: 5px;
}

/* 条件字段样式 */
.food-only,
.electrical-only,
.ccc-required {
    display: none;
}

/* 商品项样式增强 */
.product-item {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    background-color: white;
    transition: all 0.3s ease;
}

.product-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.product-item h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
    font-size: 18px;
}

/* 商品媒体样式 */
.product-media {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f5f5f5;
    padding: 10px;
}

.product-image,
.product-video {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
}

.product-image:last-child,
.product-video:last-child {
    margin-bottom: 0;
}

.product-video {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
}

/* 商品价格和库存样式 */
.product-price {
    font-size: 24px;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 5px;
}

/* 商品上架按钮样式 */
.upload-product-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.upload-product-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.upload-product-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.3);
}

/* 媒体上传选项样式 */
.upload-options {
    display: flex;
    gap: 15px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.upload-option-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid #3498db;
    border-radius: 8px;
    background-color: white;
    color: #3498db;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.1);
}

.upload-option-btn:hover {
    background-color: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.upload-option-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.3);
}

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

/* 相机预览样式 */
.camera-preview {
    margin: 20px 0;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 8px;
    text-align: center;
}

#cameraVideo {
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
    margin-bottom: 15px;
    background-color: #000;
}

.camera-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.capture-btn {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.capture-btn:hover {
    background-color: #c0392b;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
}

.stop-camera-btn {
    background-color: #95a5a6;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(149, 165, 166, 0.3);
}

.stop-camera-btn:hover {
    background-color: #7f8c8d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(149, 165, 166, 0.4);
}

/* 媒体预览样式 */
.media-preview {
    margin: 20px 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.preview-item {
    position: relative;
    border: 2px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.preview-item:hover {
    border-color: #3498db;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

.preview-image,
.preview-video {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.preview-video {
    background-color: #000;
}

.delete-media-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(255, 0, 0, 0.8);
    color: white;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.delete-media-btn:hover {
    background-color: red;
    transform: scale(1.1);
}

.product-stock {
    font-size: 14px;
    color: #27ae60;
    margin-bottom: 15px;
}

/* 商品描述样式 */
.product-description {
    margin: 15px 0;
    line-height: 1.6;
    color: #555;
}

/* 厂商信息样式 */
.manufacturer-info {
    margin-top: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #4CAF50;
}

.manufacturer-info h5 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
    font-size: 16px;
}

/* 商品元信息样式 */
.product-meta {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: #999;
}

/* 表单提示文本样式 */
.form-hint {
    margin-top: 5px;
    font-size: 12px;
    color: #666;
    font-style: italic;
    margin-bottom: 0;
}

/* AI精灵样式 */
.ai-sprite-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4), 0 0 25px rgba(0, 210, 255, 0.2);
    z-index: 9999;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 210, 255, 0.3);
}

.ai-sprite-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.6), 0 0 35px rgba(0, 210, 255, 0.3);
}

.ai-icon {
    font-size: 28px;
    z-index: 2;
}

.ai-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    animation: pulse 2s infinite;
    z-index: 1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.4;
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

.ai-sprite-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 400px;
    max-height: 600px;
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 210, 255, 0.2);
    display: none;
    flex-direction: column;
    z-index: 9998;
    overflow: hidden;
    animation: slideUp 0.3s ease;
    border: 1px solid rgba(0, 210, 255, 0.3);
}

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

.ai-header {
    background: linear-gradient(135deg, var(--dark-bg), var(--dark-color), var(--accent-color));
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-color);
    border-bottom: 1px solid rgba(0, 210, 255, 0.3);
}

.ai-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-avatar {
    font-size: 32px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-info h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
}

.ai-status {
    margin: 2px 0 0 0;
    font-size: 12px;
    opacity: 0.9;
    color: var(--neon-green);
}

.ai-close {
    background: rgba(0, 210, 255, 0.2);
    border: 1px solid rgba(0, 210, 255, 0.3);
    color: var(--text-color);
    font-size: 28px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
}

.ai-close:hover {
    background: rgba(0, 210, 255, 0.3);
    transform: rotate(90deg);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
}

.ai-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: rgba(15, 23, 42, 0.8);
    min-height: 300px;
    max-height: 400px;
}

.ai-message {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-message.ai-bot .ai-content {
    background: var(--card-bg);
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-radius: 12px 12px 12px 4px;
    padding: 12px 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 0 15px rgba(0, 210, 255, 0.1);
    max-width: 85%;
    color: var(--text-color);
}

.ai-message.ai-user {
    flex-direction: row-reverse;
}

.ai-message.ai-user .ai-content {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    color: white;
    border-radius: 12px 12px 4px 12px;
    padding: 12px 16px;
    box-shadow: 0 2px 8px rgba(0, 210, 255, 0.3);
    max-width: 85%;
}

.ai-message .ai-avatar {
    font-size: 24px;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.ai-content p {
    margin: 0 0 8px 0;
    line-height: 1.6;
}

.ai-content p:last-child {
    margin-bottom: 0;
}

.ai-content ul {
    margin: 8px 0;
    padding-left: 20px;
}

.ai-content li {
    margin: 4px 0;
    line-height: 1.5;
}

.ai-input-area {
    border-top: 1px solid rgba(0, 210, 255, 0.3);
    padding: 16px;
    background: var(--card-bg);
}

.ai-quick-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.ai-quick-btn {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(0, 210, 255, 0.3);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.ai-quick-btn:hover {
    background: rgba(0, 210, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 210, 255, 0.3);
    border-color: rgba(0, 210, 255, 0.5);
}

.ai-input-wrapper {
    display: flex;
    gap: 8px;
}

.ai-input-wrapper input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid rgba(0, 210, 255, 0.3);
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
    background: rgba(15, 23, 42, 0.7);
    color: var(--text-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.ai-input-wrapper input:focus {
    border-color: var(--neon-blue);
    box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.2), 0 0 15px rgba(0, 210, 255, 0.3);
    background: rgba(15, 23, 42, 0.9);
}

.ai-send {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    border: 1px solid rgba(0, 210, 255, 0.3);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 210, 255, 0.4), 0 0 20px rgba(0, 210, 255, 0.2);
}

.ai-send:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 210, 255, 0.6), 0 0 30px rgba(0, 210, 255, 0.3);
}

.ai-send:active {
    transform: scale(0.95);
}

/* AI思考动画 */
.ai-thinking-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.ai-thinking-content {
    background: var(--card-bg);
    border: 1px solid rgba(0, 210, 255, 0.3);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 210, 255, 0.2);
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.ai-brain-animation {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    position: relative;
}

.brain-core {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: brainPulse 1.5s infinite;
    box-shadow: 0 0 25px rgba(0, 210, 255, 0.4);
}

@keyframes brainPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 25px rgba(0, 210, 255, 0.4);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        box-shadow: 0 0 40px rgba(0, 210, 255, 0.6);
    }
}

.brain-ring {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 3px solid var(--neon-blue);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ringRotate 2s linear infinite;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
}

@keyframes ringRotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.brain-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.3) 0%, transparent 70%);
    animation: pulseExpand 2s infinite;
}

@keyframes pulseExpand {
    0% {
        transform: scale(0.5);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.ai-thinking-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--neon-blue);
    margin-bottom: 16px;
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
}

.ai-thinking-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.ai-thinking-dots span {
    width: 10px;
    height: 10px;
    background: var(--neon-blue);
    border-radius: 50%;
    animation: dotBounce 1.4s infinite ease-in-out both;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
}

.ai-thinking-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.ai-thinking-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes dotBounce {
    0%, 80%, 100% {
        transform: scale(0);
        box-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
    }
    40% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(0, 210, 255, 0.8);
    }
}

/* AI助手按钮 */
.ai-help-btn {
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    color: white;
    border: 1px solid rgba(0, 210, 255, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 210, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 6px;
}

.ai-help-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 210, 255, 0.5);
    border-color: rgba(0, 210, 255, 0.5);
}

.ai-help-btn::before {
    content: "🤖";
    font-size: 16px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .ai-sprite-window {
        width: calc(100% - 40px);
        right: 20px;
        bottom: 90px;
        max-height: 500px;
    }
    
    .ai-sprite-fab {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .ai-icon {
        font-size: 24px;
    }
    
    .ai-messages {
        max-height: 300px;
    }
    
    .ai-quick-actions {
        gap: 6px;
    }
    
    .ai-quick-btn {
        font-size: 11px;
        padding: 6px 10px;
    }
}

/* 自动搜索通知样式 */
.ai-search-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    z-index: 10001;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 320px;
    animation: slideInRight 0.5s ease;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

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

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

.ai-search-notification.hiding {
    animation: fadeOut 0.5s ease forwards;
}

.ai-search-icon {
    font-size: 24px;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.ai-search-content {
    flex: 1;
}

.ai-search-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-search-progress {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.ai-search-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #00d2ff 0%, #3a7bd5 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
}

.ai-search-info {
    font-size: 13px;
    opacity: 0.95;
    line-height: 1.4;
}

.ai-search-keyword {
    font-weight: 600;
    color: #00d2ff;
}

.ai-search-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.ai-search-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* 响应式设计 - 搜索通知 */
@media (max-width: 768px) {
    .ai-search-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
        padding: 12px 16px;
    }
    
    .ai-search-title {
        font-size: 14px;
    }
    
    .ai-search-info {
        font-size: 12px;
    }
    
    .ai-search-icon {
        font-size: 20px;
    }
}

/* 新闻中心板块样式 */
#news {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f9ca24 0%, #f093fb 100%);
}

#news h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.news-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.news-preview-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #ff6b6b;
    backdrop-filter: blur(10px);
}

.news-preview-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.news-preview-item h3 {
    color: #ff6b6b;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    line-height: 1.4;
}

.news-preview-item p {
    color: #2d3436;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.news-date {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    margin-right: 1rem;
}

.news-link {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: #764ba2;
}

.news-more {
    text-align: center;
    margin-top: 2rem;
}

.btn-more {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #ff6b6b 0%, #f9ca24 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.btn-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
}

/* 响应式设计 - 新闻板块 */
@media (max-width: 768px) {
    .news-preview {
        grid-template-columns: 1fr;
    }
    
    .news-preview-item h3 {
        font-size: 1.1rem;
    }
}


 / *   vf�z�Q萤Nf�|�~gWW7h_  * / 
 . i n t e r n a l - t r a d i n g - s e c t i o n   { 
         p a d d i n g :   2 r e m ; 
         b a c k g r o u n d :   # f 8 f 9 f a ; 
         m a r g i n - b o t t o m :   2 r e m ; 
         b o r d e r - r a d i u s :   1 5 p x ; 
         b o x - s h a d o w :   0   5 p x   1 5 p x   r g b a ( 0 , 0 , 0 , 0 . 1 ) ; 
         a n i m a t i o n :   f a d e I n   0 . 5 s   e a s e - i n - o u t ; 
 } 
 
 . t r a d i n g - i n f o   { 
         m a x - w i d t h :   1 2 0 0 p x ; 
         m a r g i n :   0   a u t o ; 
 } 
 
 . s t o c k - i n f o   { 
         b a c k g r o u n d :   w h i t e ; 
         p a d d i n g :   1 . 5 r e m ; 
         b o r d e r - r a d i u s :   1 0 p x ; 
         b o x - s h a d o w :   0   2 p x   8 p x   r g b a ( 0 , 0 , 0 , 0 . 0 5 ) ; 
         t e x t - a l i g n :   c e n t e r ; 
 } 
 
 . s t o c k - i n f o   h 3   { 
         m a r g i n - t o p :   0 ; 
         c o l o r :   # 3 3 3 ; 
         f o n t - s i z e :   1 . 5 r e m ; 
         m a r g i n - b o t t o m :   1 . 5 r e m ; 
 } 
 
 . p r i c e - c o n t a i n e r   { 
         d i s p l a y :   f l e x ; 
         j u s t i f y - c o n t e n t :   c e n t e r ; 
         g a p :   2 r e m ; 
         m a r g i n - b o t t o m :   1 . 5 r e m ; 
         f l e x - w r a p :   w r a p ; 
 } 
 
 . p r i c e - i t e m   { 
         d i s p l a y :   f l e x ; 
         f l e x - d i r e c t i o n :   c o l u m n ; 
         a l i g n - i t e m s :   c e n t e r ; 
         g a p :   0 . 5 r e m ; 
 } 
 
 . p r i c e - l a b e l   { 
         f o n t - s i z e :   0 . 9 r e m ; 
         c o l o r :   # 6 6 6 ; 
         f o n t - w e i g h t :   5 0 0 ; 
 } 
 
 . p r i c e - v a l u e   { 
         f o n t - s i z e :   1 . 3 r e m ; 
         f o n t - w e i g h t :   b o l d ; 
         c o l o r :   # 3 3 3 ; 
 } 
 
 . s e l l - p r i c e   { 
         c o l o r :   # e 7 4 c 3 c ; 
 } 
 
 . b u y - p r i c e   { 
         c o l o r :   # 2 7 a e 6 0 ; 
 } 
 
 . t r a d i n g - b u t t o n s   { 
         d i s p l a y :   f l e x ; 
         j u s t i f y - c o n t e n t :   c e n t e r ; 
         g a p :   1 r e m ; 
         f l e x - w r a p :   w r a p ; 
 } 
 
 . t r a d i n g - b t n   { 
         p a d d i n g :   0 . 8 r e m   2 r e m ; 
         b o r d e r :   n o n e ; 
         b o r d e r - r a d i u s :   2 5 p x ; 
         c u r s o r :   p o i n t e r ; 
         f o n t - w e i g h t :   b o l d ; 
         f o n t - s i z e :   1 r e m ; 
         t r a n s i t i o n :   a l l   0 . 3 s   e a s e ; 
         m i n - w i d t h :   1 2 0 p x ; 
 } 
 
 . b u y - b t n   { 
         b a c k g r o u n d :   # 2 7 a e 6 0 ; 
         c o l o r :   w h i t e ; 
         b o x - s h a d o w :   0   4 p x   1 2 p x   r g b a ( 3 9 ,   1 7 4 ,   9 6 ,   0 . 3 ) ; 
 } 
 
 . s e l l - b t n   { 
         b a c k g r o u n d :   # e 7 4 c 3 c ; 
         c o l o r :   w h i t e ; 
         b o x - s h a d o w :   0   4 p x   1 2 p x   r g b a ( 2 3 1 ,   7 6 ,   6 0 ,   0 . 3 ) ; 
 } 
 
 . t r a d i n g - b t n : h o v e r   { 
         t r a n s f o r m :   t r a n s l a t e Y ( - 2 p x ) ; 
         b o x - s h a d o w :   0   6 p x   1 6 p x   r g b a ( 0 , 0 , 0 , 0 . 2 ) ; 
 } 
 
 . t r a d i n g - b t n : a c t i v e   { 
         t r a n s f o r m :   t r a n s l a t e Y ( 0 ) ; 
 } 
 
 @ k e y f r a m e s   f a d e I n   { 
         f r o m   { 
                 o p a c i t y :   0 ; 
                 t r a n s f o r m :   t r a n s l a t e Y ( - 2 0 p x ) ; 
         } 
         t o   { 
                 o p a c i t y :   1 ; 
                 t r a n s f o r m :   t r a n s l a t e Y ( 0 ) ; 
         } 
 } 
 
 
 / *   vf�z�Q萤Nf�|�~gWW7h_  -   N)Yl�L�zzΘ<h N�  * / 
 # i n t e r n a l - t r a d i n g   { 
         p a d d i n g :   4 r e m   2 r e m ; 
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   # f 0 f 9 f f   0 % ,   # e 0 f 2 f e   5 0 % ,   # f 0 f 9 f f   1 0 0 % ) ; 
         a n i m a t i o n :   f a d e I n   0 . 5 s   e a s e - i n - o u t ; 
 } 
 
 . t r a d i n g - i n f o   { 
         m a x - w i d t h :   1 2 0 0 p x ; 
         m a r g i n :   0   a u t o ; 
         t e x t - a l i g n :   c e n t e r ; 
 } 
 
 # i n t e r n a l - t r a d i n g   h 2   { 
         f o n t - s i z e :   2 . 5 r e m ; 
         c o l o r :   v a r ( - - n e o n - b l u e ) ; 
         m a r g i n - b o t t o m :   3 r e m ; 
         t e x t - s h a d o w :   0   0   1 0 p x   r g b a ( 0 ,   2 1 0 ,   2 5 5 ,   0 . 3 ) ; 
 } 
 
 . s t o c k - i n f o   { 
         b a c k g r o u n d :   v a r ( - - c a r d - b g ) ; 
         b o r d e r - r a d i u s :   1 5 p x ; 
         p a d d i n g :   3 r e m   2 r e m ; 
         b o x - s h a d o w :   0   4 p x   1 5 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 3 ) ,   0   0   2 0 p x   r g b a ( 0 ,   2 1 0 ,   2 5 5 ,   0 . 1 ) ; 
         t r a n s i t i o n :   a l l   0 . 3 s   e a s e ; 
         b o r d e r :   1 p x   s o l i d   r g b a ( 0 ,   2 1 0 ,   2 5 5 ,   0 . 2 ) ; 
         b a c k d r o p - f i l t e r :   b l u r ( 1 0 p x ) ; 
         m a x - w i d t h :   8 0 0 p x ; 
         m a r g i n :   0   a u t o ; 
 } 
 
 . s t o c k - i n f o : h o v e r   { 
         t r a n s f o r m :   t r a n s l a t e Y ( - 5 p x ) ; 
         b o x - s h a d o w :   0   1 2 p x   2 5 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 4 ) ,   0   0   3 0 p x   r g b a ( 0 ,   2 1 0 ,   2 5 5 ,   0 . 2 ) ; 
 } 
 
 . s t o c k - i n f o   h 3   { 
         m a r g i n - t o p :   0 ; 
         c o l o r :   v a r ( - - n e o n - p u r p l e ) ; 
         f o n t - s i z e :   1 . 8 r e m ; 
         m a r g i n - b o t t o m :   2 r e m ; 
         t e x t - s h a d o w :   0   0   1 0 p x   r g b a ( 1 6 8 ,   8 5 ,   2 4 7 ,   0 . 3 ) ; 
 } 
 
 . p r i c e - c o n t a i n e r   { 
         d i s p l a y :   f l e x ; 
         j u s t i f y - c o n t e n t :   c e n t e r ; 
         g a p :   3 r e m ; 
         m a r g i n - b o t t o m :   2 r e m ; 
         f l e x - w r a p :   w r a p ; 
 } 
 
 . p r i c e - i t e m   { 
         d i s p l a y :   f l e x ; 
         f l e x - d i r e c t i o n :   c o l u m n ; 
         a l i g n - i t e m s :   c e n t e r ; 
         g a p :   0 . 8 r e m ; 
 } 
 
 . p r i c e - l a b e l   { 
         f o n t - s i z e :   1 r e m ; 
         c o l o r :   v a r ( - - d a r k - c o l o r ) ; 
         f o n t - w e i g h t :   6 0 0 ; 
 } 
 
 . p r i c e - v a l u e   { 
         f o n t - s i z e :   1 . 5 r e m ; 
         f o n t - w e i g h t :   b o l d ; 
         c o l o r :   v a r ( - - n e o n - b l u e ) ; 
         t e x t - s h a d o w :   0   0   8 p x   r g b a ( 0 ,   2 1 0 ,   2 5 5 ,   0 . 4 ) ; 
 } 
 
 . s e l l - p r i c e   { 
         c o l o r :   v a r ( - - n e o n - p u r p l e ) ; 
         t e x t - s h a d o w :   0   0   8 p x   r g b a ( 1 6 8 ,   8 5 ,   2 4 7 ,   0 . 4 ) ; 
 } 
 
 . b u y - p r i c e   { 
         c o l o r :   v a r ( - - n e o n - g r e e n ) ; 
         t e x t - s h a d o w :   0   0   8 p x   r g b a ( 1 6 ,   1 8 5 ,   1 2 9 ,   0 . 4 ) ; 
 } 
 
 . t r a d i n g - b u t t o n s   { 
         d i s p l a y :   f l e x ; 
         j u s t i f y - c o n t e n t :   c e n t e r ; 
         g a p :   2 r e m ; 
         f l e x - w r a p :   w r a p ; 
         m a r g i n - t o p :   2 r e m ; 
 } 
 
 . t r a d i n g - b t n   { 
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   v a r ( - - n e o n - b l u e ) ,   v a r ( - - n e o n - p u r p l e ) ) ; 
         c o l o r :   w h i t e ; 
         b o r d e r :   1 p x   s o l i d   r g b a ( 0 ,   2 1 0 ,   2 5 5 ,   0 . 3 ) ; 
         p a d d i n g :   1 2 p x   3 0 p x ; 
         b o r d e r - r a d i u s :   2 5 p x ; 
         c u r s o r :   p o i n t e r ; 
         f o n t - w e i g h t :   6 0 0 ; 
         f o n t - s i z e :   1 . 1 r e m ; 
         t r a n s i t i o n :   a l l   0 . 3 s   e a s e ; 
         m i n - w i d t h :   1 5 0 p x ; 
         t e x t - d e c o r a t i o n :   n o n e ; 
         d i s p l a y :   i n l i n e - b l o c k ; 
         t e x t - a l i g n :   c e n t e r ; 
 } 
 
 . t r a d i n g - b t n : h o v e r   { 
         t r a n s f o r m :   t r a n s l a t e Y ( - 2 p x ) ; 
         b o x - s h a d o w :   0   6 p x   2 0 p x   r g b a ( 0 ,   2 1 0 ,   2 5 5 ,   0 . 4 ) ,   0   0   2 5 p x   r g b a ( 0 ,   2 1 0 ,   2 5 5 ,   0 . 3 ) ; 
 } 
 
 . t r a d i n g - b t n : a c t i v e   { 
         t r a n s f o r m :   t r a n s l a t e Y ( 0 ) ; 
 } 
 
 / *   )Yl�L�zzN�Q萤Nf�|�~gWW�~T7h_  * / 
 . t r a d i n g - s k y - c o n t a i n e r   { 
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   # f 0 f 9 f f   0 % ,   # e 0 f 2 f e   5 0 % ,   # f 0 f 9 f f   1 0 0 % ) ; 
         p a d d i n g :   4 r e m   0 ; 
 } 
 
 @ k e y f r a m e s   f a d e I n   { 
         f r o m   { 
                 o p a c i t y :   0 ; 
                 t r a n s f o r m :   t r a n s l a t e Y ( - 2 0 p x ) ; 
         } 
         t o   { 
                 o p a c i t y :   1 ; 
                 t r a n s f o r m :   t r a n s l a t e Y ( 0 ) ; 
         } 
 } 
 
 