* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 4.5rem;
    font-weight: 300;
    margin-bottom: 10px;
    letter-spacing: 8px;
    font-family: 'KaiTi', '楷体', 'STKaiti', '华文楷体', 'SimKai', serif;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3),
                 0 0 20px rgba(255, 255, 255, 0.2);
    transform: perspective(500px) rotateX(5deg);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: perspective(500px) rotateX(5deg) translateY(0px);
    }
    50% {
        transform: perspective(500px) rotateX(5deg) translateY(-5px);
    }
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 300;
    margin-bottom: 15px;
}

.chat-notice {
    font-size: 0.95rem;
    opacity: 0.85;
    font-weight: 300;
    margin-top: 15px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.yellow-text {
    color: #FFD700;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Main Content */
main {
    padding: 60px 0;
    min-height: calc(100vh - 400px);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #2c3e50;
    font-weight: 600;
}

.product-info p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    flex: 1;
}

/* Footer Styles */
footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0 30px;
    margin-top: 80px;
}

.chat-section {
    text-align: center;
    margin-bottom: 40px;
}

.chat-section h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 300;
}

.chat-section p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.chat-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.chat-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.chat-button span {
    font-size: 1.3rem;
}

.footer-text {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
    font-size: 0.9rem;
}

/* 固定在右侧的在线咨询按钮 */
.fixed-chat-button {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.5);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 500;
    z-index: 1000;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.fixed-chat-button:hover {
    transform: translateY(-50%) translateX(-5px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.7);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.chat-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.chat-text {
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 3rem;
        letter-spacing: 5px;
    }

    .subtitle {
        font-size: 1rem;
    }

    .chat-notice {
        font-size: 0.85rem;
        padding: 8px 15px;
        margin-top: 12px;
    }

    main {
        padding: 40px 0;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }

    .product-image {
        height: 200px;
    }

    .product-info {
        padding: 20px;
    }

    .chat-section h2 {
        font-size: 1.5rem;
    }

    .chat-button {
        padding: 12px 30px;
        font-size: 1rem;
    }

    footer {
        padding: 40px 0 20px;
    }

    .fixed-chat-button {
        right: 15px;
        padding: 12px 18px;
        font-size: 0.9rem;
    }

    .chat-icon {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 40px 0;
    }

    header h1 {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .chat-notice {
        font-size: 0.8rem;
        padding: 8px 12px;
        margin-top: 10px;
        max-width: 90%;
    }

    .yellow-text {
        color: #FFD700 !important;
    }

    .container {
        padding: 0 15px;
    }

    .product-info h3 {
        font-size: 1.1rem;
    }

    .product-info p {
        font-size: 0.9rem;
    }

    .fixed-chat-button {
        right: 10px;
        padding: 10px 15px;
        font-size: 0.85rem;
    }

    .chat-text {
        display: none;
    }

    .chat-icon {
        font-size: 1.5rem;
    }
}
