* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    background: linear-gradient(135deg, #ffffff, #f0f8ff);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border-bottom: 1px solid #e0e0e0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    color: #007bff;
    font-size: 1.8rem;
    background: linear-gradient(135deg, #007bff, #00bcd4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.tagline {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

nav ul li a:hover {
    color: #007bff;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #007bff;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* 横幅样式 */
.hero {
    background: linear-gradient(135deg, #007bff, #00bcd4);
    color: white;
    text-align: center;
    padding: 150px 20px 100px;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-note {
    margin-top: 30px;
    font-size: 1rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    animation: fadeInUp 1s ease 0.4s both;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn:hover {
    background: linear-gradient(135deg, #e55a2b, #e0821c);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* 商品区域 */
.products {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
    position: relative;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxjaXJjbGUgY3g9IjIwIiBjeT0iMjAiIHI9IjAuNSIgZmlsbD0icmdiYSgwLDAsMCwwLjEpIi8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI3BhdHRlcm4pIi8+PC9zdmc+') fixed;
}

.products h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.products h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #007bff, #00bcd4);
    border-radius: 2px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    transform: translateY(0);
    border: 1px solid #eee;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    opacity: 0.8;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 107, 53, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0);
    }
}

.product-info {
    padding: 30px 25px 20px;
}

.product-info h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #333;
    position: relative;
}

.product-info h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: #007bff;
}

.price {
    font-size: 2rem;
    color: #ff6b35;
    font-weight: bold;
    margin: 20px 0;
    display: flex;
    align-items: flex-end;
}

.price span {
    font-size: 1.1rem;
    color: #666;
    margin-left: 5px;
    margin-bottom: 2px;
}

.product-info ul {
    list-style: none;
    margin: 25px 0;
}

.product-info ul li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: center;
    transition: all 0.2s;
    gap: 8px;
}

.product-info ul li:hover {
    padding-left: 5px;
    color: #007bff;
}

.product-info ul li:before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    margin-right: 12px;
    font-size: 1.2rem;
}

.product-info ul li:last-child {
    border-bottom: none;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.user-count {
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
}

.buy-btn {
    width: auto;
    padding: 12px 20px;
    background: linear-gradient(135deg, #007bff, #00bcd4);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.buy-btn:hover {
    background: linear-gradient(135deg, #0056b3, #008ba3);
    color: white;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0,123,255,0.4);
}

.buy-btn:active {
    transform: translateY(-1px);
}

.buy-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.buy-btn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(50, 50);
        opacity: 0;
    }
}

/* 关于我们 */
.about {
    padding: 100px 0;
    background: white;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSgtNDUpIj48Y2lyY2xlIGN4PSIyMCIgY3k9IjIwIiByPSIwLjUiIGZpbGw9InJnYmEoMCwwLDAsMC4wNSkiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjcGF0dGVybikiLz48L3N2Zz4=') fixed;
}

.about h2, .contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.about h2::after, .contact h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #007bff, #00bcd4);
    border-radius: 2px;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.8;
    color: #555;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 联系我们 */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    align-items: start;
}

.contact-info h3, .contact-form h3 {
    margin-bottom: 25px;
    color: #333;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info h3::after, .contact-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #007bff;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info p::before {
    content: "•";
    color: #007bff;
    font-size: 1.5rem;
    margin-right: 10px;
}

.contact-tips {
    margin-top: 30px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-tips h4 {
    margin-bottom: 15px;
    color: #007bff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-tips ul {
    padding-left: 20px;
}

.contact-tips li {
    margin-bottom: 10px;
    color: #666;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form form > p {
    margin-bottom: 20px;
    color: #666;
}

.contact-form input, .contact-form textarea {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
    background: white;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* 用户评价区 */
.testimonials {
    padding: 100px 0;
    background: white;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiPjxjaXJjbGUgY3g9IjIwIiBjeT0iMjAiIHI9IjAuNSIgZmlsbD0icmdiYSgwLDAsMCwwLjA1KSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==') fixed;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.testimonials h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #007bff, #00bcd4);
    border-radius: 2px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #eee;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.testimonial-card::before {
    content: "\"";
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(0,123,255,0.1);
    font-family: Georgia, serif;
}

.rating {
    color: #ffc107;
    font-size: 1.3rem;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.testimonial-card blockquote {
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 25px;
    color: #555;
    line-height: 1.7;
    font-size: 1.05rem;
}

.user {
    text-align: right;
    font-weight: bold;
    color: #007bff;
    font-size: 1.1rem;
}

/* 底部样式 */
footer {
    background: linear-gradient(135deg, #2c3e50, #1a2a3a);
    color: #ecf0f1;
    position: relative;
    text-align: center;
    padding: 30px 0;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #007bff, #00bcd4, #ff6b35);
}

.footer-simple {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-logo h3 {
    margin-bottom: 5px;
    color: #00bcd4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-logo p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.footer-info {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-info p {
    margin: 3px 0;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: #00bcd4;
    text-decoration: underline;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007bff, #00bcd4);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, #0056b3, #008ba3);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
    -webkit-overflow-scrolling: touch; /* 保证 iOS 上容器滚动更顺畅 */
}

/* 防止弹窗打开时背景页面在移动端继续滚动 */
body.modal-open {
    overflow: hidden;
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    -webkit-overflow-scrolling: none;
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 600px;
    animation: slideIn 0.3s ease;
    display: flex;
    flex-direction: column;
    max-height: 80vh;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: linear-gradient(135deg, #007bff, #00bcd4);
    color: white;
    padding: 25px;
    text-align: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
}

.modal-body {
    padding: 30px;
    line-height: 1.7;
    color: #555;
    overflow-y: auto;
    flex: 1;
    -webkit-overflow-scrolling: touch; /* 为iOS设备添加更好的滚动体验 */
}

.modal-body p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.modal-footer {
    padding: 20px 30px;
    text-align: center;
    background-color: #f8f9fa;
}

.modal-footer .btn {
    background: linear-gradient(135deg, #007bff, #00bcd4);
    padding: 12px 30px;
    font-size: 1.1rem;
    margin: 0;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.modal-footer .btn:hover {
    background: linear-gradient(135deg, #0056b3, #008ba3);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    transform: none;
}

/* 添加移动端弹窗样式修复 */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 20px 15px;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 20px 15px;
        max-height: 65vh;
        /* 添加滚动条样式 */
        scrollbar-width: thin;
        scrollbar-color: #007bff #f1f1f1;
    }
    
    /* Webkit浏览器滚动条样式 */
    .modal-body::-webkit-scrollbar {
        width: 6px;
    }
    
    .modal-body::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }
    
    .modal-body::-webkit-scrollbar-thumb {
        background: #007bff;
        border-radius: 10px;
    }
    
    .modal-body::-webkit-scrollbar-thumb:hover {
        background: #0056b3;
    }
    
    .modal-body p {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .modal-footer {
        padding: 15px;
    }
    
    .modal-footer .btn {
        width: 100%;
        padding: 15px;
        font-size: 1rem;
    }
}

/* 针对更小屏幕的优化 */
@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        margin: 2.5% auto;
        max-height: 95vh;
    }
    
    .modal-body {
        max-height: 70vh;
        padding: 15px 10px;
    }
    
    .modal-header {
        padding: 15px 10px;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .close-modal {
        font-size: 1.5rem;
        width: 20px;
        height: 20px;
        right: 10px;
    }
    
    .modal-body p {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .modal-footer {
        padding: 12px 10px;
    }
    
    .modal-footer .btn {
        padding: 12px;
        font-size: 0.9rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
        padding: 10px 15px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .tagline {
        font-size: 0.8rem;
        text-align: center;
    }
    
    nav ul {
        margin-top: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 3px 5px;
    }
    
    nav ul li a {
        font-size: 0.9rem;
        padding: 5px 8px;
    }
    
    .hero {
        padding: 120px 15px 50px;
        text-align: center;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
    
    .product-card {
        margin-bottom: 10px;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-image {
        max-width: 100%;
    }
    
    .about-image img {
        max-width: 100%;
        height: auto;
    }
    
    .products h2, .about h2, .contact h2, .testimonials h2 {
        font-size: 2rem;
    }
    
    .footer-content, .footer-simple {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 20px 15px;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-links a {
        margin: 5px 10px;
        font-size: 0.9rem;
    }
    
    .contact-form form {
        padding: 20px 15px;
    }
    
    .contact-form input,
    .contact-form textarea {
        margin-bottom: 15px;
        padding: 12px 15px;
    }
}

@media (max-width: 480px) {
    header .container {
        padding: 8px 10px;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    nav ul li {
        margin: 2px 3px;
    }
    
    nav ul li a {
        font-size: 0.8rem;
        padding: 4px 6px;
    }
    
    .hero {
        padding: 100px 10px 40px;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .hero-note p {
        font-size: 0.8rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .product-info {
        padding: 15px 10px;
    }
    
    .product-info h3 {
        font-size: 1.2rem;
    }
    
    .price {
        font-size: 1.5rem;
    }
    
    .product-info ul li {
        font-size: 0.9rem;
    }
    
    .buy-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .about-text p, .contact-info p {
        font-size: 0.9rem;
    }
    
    .products, .about, .contact, .testimonials {
        padding: 50px 0;
    }
    
    .product-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .user-count {
        font-size: 0.8rem;
    }
    
    .contact-tips ul li {
        font-size: 0.85rem;
    }
    
    .testimonial-card {
        padding: 20px 15px;
    }
    
    .testimonial-card p {
        font-size: 0.95rem;
    }
    
    .user {
        font-size: 1rem;
    }
}

/* 针对超小屏幕设备进一步优化 */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    header .container {
        padding: 5px;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .tagline {
        font-size: 0.7rem;
    }
    
    nav ul li a {
        font-size: 0.7rem;
        padding: 3px 5px;
    }
    
    .hero h2 {
        font-size: 1.3rem;
    }
    
    .hero p {
        font-size: 0.8rem;
    }
    
    .product-info h3 {
        font-size: 1.1rem;
    }
    
    .price {
        font-size: 1.3rem;
    }
    
    section h2 {
        font-size: 1.7rem;
    }
}

/* 为触摸设备优化交互 */
@media (hover: none) and (pointer: coarse) {
    .product-card:hover,
    .testimonial-card:hover {
        transform: none;
        box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    }
    
    .product-card:active,
    .testimonial-card:active {
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }
    
    .btn:hover,
    .buy-btn:hover {
        transform: none;
    }
    
    .btn:active,
    .buy-btn:active {
        transform: translateY(-2px);
    }
}
