/* ============================================
   企业官网完整样式（全屏自适应）
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f8fafc;
    color: #0f172a;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
img { max-width: 100%; display: block; }

/* ===== 按钮 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-primary {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    box-shadow: 0 4px 14px rgba(79,70,229,0.25);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(79,70,229,0.35);
}
.btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.4);
    color: #fff;
}
.btn-outline-light:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.08);
}
.btn-outline {
    background: transparent;
    border: 2px solid #e2e8f0;
    color: #0f172a;
}
.btn-outline:hover {
    border-color: #4f46e5;
    color: #4f46e5;
}
.btn-lg {
    padding: 16px 44px;
    font-size: 18px;
    border-radius: 40px;
}
.btn-block {
    width: 100%;
    justify-content: center;
    padding: 14px;
    border-radius: 16px;
}

/* ===== 导航栏 ===== */
.site-header {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 16px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo a {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
}
.logo a i {
    color: #4f46e5;
    margin-right: 6px;
}
.main-nav ul {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}
.main-nav ul li a {
    color: #475569;
    font-weight: 500;
    transition: color 0.2s;
}
.main-nav ul li a:hover {
    color: #4f46e5;
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #0f172a;
    cursor: pointer;
}

/* ===== 全屏主横幅 ===== */
.hero-full {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eef2ff 0%, #ede9fe 50%, #f5f3ff 100%);
    position: relative;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(79,70,229,0.06), transparent 60%);
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}
.hero-badge {
    display: inline-block;
    background: rgba(79,70,229,0.12);
    color: #4f46e5;
    padding: 6px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    margin-bottom: 24px;
}
.hero-content h1 {
    font-size: clamp(2.8rem, 10vw, 4.8rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
}
.hero-content h1 span {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-desc {
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    color: #475569;
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.6;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-stats {
    margin-top: 36px;
    display: flex;
    gap: 40px;
    justify-content: center;
    color: #64748b;
    font-size: 16px;
    flex-wrap: wrap;
}
.hero-stats i {
    color: #4f46e5;
    margin-right: 6px;
}
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(79,70,229,0.3);
    border-radius: 30px;
    position: relative;
}
.scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: #4f46e5;
    border-radius: 4px;
    animation: scrollMove 2s infinite;
}
@keyframes scrollMove {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

/* ===== 特色优势 ===== */
.features {
    padding: 80px 0;
    background: #fff;
}
.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-tag {
    display: inline-block;
    background: #eef2ff;
    color: #4f46e5;
    font-weight: 600;
    font-size: 13px;
    padding: 4px 20px;
    border-radius: 30px;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.section-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin: 0 0 8px;
}
.section-sub {
    color: #64748b;
    font-size: 18px;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
}
.feature-card {
    text-align: center;
    padding: 32px 24px;
    background: #f8fafc;
    border-radius: 24px;
    transition: all 0.4s ease;
    border: 1px solid transparent;
}
.feature-card:hover {
    background: #fff;
    border-color: rgba(79,70,229,0.1);
    box-shadow: 0 12px 40px rgba(0,0,0,0.04);
    transform: translateY(-6px);
}
.feature-icon {
    font-size: 48px;
    color: #4f46e5;
    margin-bottom: 16px;
}
.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}
.feature-card p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
}

/* ===== 关于我们 ===== */
.about-section {
    padding: 80px 0;
    background: #f8fafc;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-text h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin: 12px 0 20px;
}
.about-text p {
    color: #475569;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 16px;
}
.about-text .btn {
    margin-top: 10px;
}
.about-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.about-card {
    background: #fff;
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    text-align: center;
    transition: all 0.4s ease;
}
.about-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}
.about-card i {
    font-size: 48px;
    color: #4f46e5;
    margin-bottom: 12px;
}
.about-card span {
    display: block;
    font-weight: 600;
    font-size: 18px;
    color: #0f172a;
}

/* ===== 商品展示 ===== */
.products-section {
    padding: 80px 0;
    background: #fff;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}
.product-card {
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.08);
}
.product-card .product-image {
    width: 100%;
    height: 240px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-image img {
    transform: scale(1.04);
}
.product-card .product-image .placeholder-icon {
    font-size: 60px;
    color: #cbd5e1;
}
.product-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #ef4444;
    color: #fff;
    padding: 4px 18px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
}
.product-card .product-body {
    padding: 24px 26px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-card .product-body h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card .product-desc {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    min-height: 44px;
    margin-bottom: 14px;
}
.product-card .product-price {
    font-size: 28px;
    font-weight: 700;
    color: #4f46e5;
    margin-bottom: 18px;
}
.product-card .product-price .price-original {
    font-size: 16px;
    font-weight: 400;
    color: #94a3b8;
    text-decoration: line-through;
    margin-left: 10px;
}

/* ===== 客户评价 ===== */
.testimonials {
    padding: 80px 0;
    background: #f8fafc;
}
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}
.testimonial-card {
    background: #fff;
    padding: 30px 28px;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    text-align: center;
    transition: all 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.05);
}
.testimonial-card .stars {
    color: #f59e0b;
    font-size: 22px;
    margin-bottom: 12px;
}
.testimonial-card p {
    color: #334155;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 16px;
}
.testimonial-author {
    font-weight: 600;
    color: #0f172a;
}
.testimonial-author span {
    font-weight: 400;
    color: #94a3b8;
    font-size: 14px;
}

/* ===== 底部 ===== */
.footer {
    background: #0f172a;
    color: rgba(255,255,255,0.6);
    padding: 50px 0 20px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand h3 {
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    margin: 0 0 4px;
}
.footer-brand p {
    margin: 0;
    font-size: 14px;
}
.footer-links {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}
.footer-links div {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.footer-links h4 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 4px;
}
.footer-links a {
    color: rgba(255,255,255,0.5);
    transition: color 0.2s;
}
.footer-links a:hover {
    color: #fff;
}
.footer-links a i {
    margin-right: 6px;
}
.footer-social {
    display: flex;
    gap: 16px;
}
.footer-social a {
    color: rgba(255,255,255,0.4);
    font-size: 22px;
    transition: color 0.2s;
}
.footer-social a:hover {
    color: #fff;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 14px;
    color: rgba(255,255,255,0.25);
}

/* ===== 空状态 ===== */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
}
.empty-state i {
    font-size: 64px;
    color: #e2e8f0;
    margin-bottom: 16px;
    display: block;
}
.text-center { text-align: center; }

/* ===== 响应式 ===== */
@media (max-width: 992px) {
    .hero-full { min-height: 70vh; padding: 60px 0; }
    .hero-content h1 { font-size: 3.2rem; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image { order: -1; }
}
@media (max-width: 768px) {
    .site-header { padding: 12px 0; }
    .main-nav ul {
        display: none;
        flex-direction: column;
        gap: 12px;
        padding: 16px 0;
        background: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        border-top: 1px solid rgba(0,0,0,0.04);
        box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    }
    .main-nav ul.open {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
    .hero-full { min-height: 60vh; padding: 40px 0; }
    .hero-content h1 { font-size: 2.6rem; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-stats { flex-direction: column; gap: 6px; }
    .feature-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; align-items: center; text-align: center; }
    .footer-links { flex-direction: column; align-items: center; gap: 20px; }
    .footer-links div { align-items: center; }
    .footer-social { justify-content: center; }
    .about-image { grid-template-columns: 1fr; }
}

.product-sales {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.product-sales i {
    color: #fbbf24;
    margin-right: 4px;
}
@media (max-width: 480px) {
    .hero-content h1 { font-size: 2rem; }
    .hero-desc { font-size: 1rem; }
    .btn-lg { padding: 14px 28px; font-size: 16px; }
    .product-card .product-image { height: 180px; }
}