/* ========== 全局样式 ========== */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #0f172a;
    --accent-color: #f59e0b;
    --text-color: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ========== 导航栏 ========== */
.navbar {
    background: var(--white) !important;
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color) !important;
}

.navbar-brand i {
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    padding: 0.5rem 1.25rem !important;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 60%;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.btn-lang {
    background: var(--gradient-primary);
    border: none;
    color: var(--white) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 500;
}

.btn-lang:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========== 主内容区域 ========== */
main {
    padding-top: 80px;
}

.container {
    max-width: 1200px;
}

/* ========== Hero区域 ========== */
.hero-section {
    background: var(--gradient-dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin: 0 !important;
    padding: 120px 0 80px !important;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 50px 50px;
    opacity: 0.5;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons .btn {
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.btn-primary-custom {
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.4);
    color: var(--white);
}

.btn-outline-custom {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--white);
}

.btn-outline-custom:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    color: var(--white);
}

.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    padding: 2rem;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    border-radius: 30px;
    opacity: 0.2;
    transform: rotate(-3deg);
}

.floating-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1.5rem;
    position: absolute;
    animation: float 3s ease-in-out infinite;
}

.floating-card-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.floating-card-2 {
    bottom: 20%;
    left: -5%;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ========== 特性区域 ========== */
.features-section {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    border: 1px solid #e2e8f0;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.feature-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ========== 统计区域 ========== */
.stats-section {
    background: var(--gradient-dark);
    padding: 80px 0;
    position: relative;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #94a3b8;
    font-size: 1rem;
    font-weight: 500;
}

/* ========== 产品区域 ========== */
.products-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.product-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    border: none;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.product-image i {
    font-size: 4rem;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.product-body {
    padding: 2rem;
}

.product-body h4 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.product-body p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.product-features li {
    padding: 0.5rem 0;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.product-features li i {
    color: #10b981;
    margin-right: 0.75rem;
}

.btn-product {
    width: 100%;
    padding: 1rem;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-product:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ========== 关于我们 ========== */
.about-section {
    padding: 100px 0;
}

.about-card {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem;
    height: 100%;
    box-shadow: var(--shadow-md);
    border: none;
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.about-icon {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.about-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.info-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 20px;
}

.info-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.info-item p {
    color: var(--text-light);
    margin: 0;
}

/* ========== 联系表单 ========== */
.contact-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact-info-card {
    background: var(--gradient-dark);
    border-radius: 24px;
    padding: 3rem;
    height: 100%;
    color: var(--white);
}

.contact-info-card h4 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-item-icon i {
    color: var(--white);
}

.contact-item h6 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: #94a3b8;
    margin: 0;
}

.contact-form-card {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.form-control {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-label {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.btn-submit {
    background: var(--gradient-primary);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    color: var(--white);
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.3);
    color: var(--white);
}

/* ========== Footer ========== */
footer {
    background: var(--secondary-color);
    padding: 3rem 0;
}

footer h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

footer p {
    color: #64748b;
}

footer a {
    color: #94a3b8;
    font-size: 1.25rem;
    margin-left: 1rem;
}

footer a:hover {
    color: var(--white);
    transform: translateY(-3px);
}

/* ========== 响应式 ========== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 60px !important;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .navbar-nav {
        padding: 1rem 0;
    }
    
    .btn-lang {
        margin-top: 1rem;
    }
}


/* ========== 首页产品卡片 ========== */
.product-card-home {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    height: 100%;
}

.product-card-home:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.product-image-home {
    height: 180px;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-image-home i {
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.6;
}

.badge-hot, .badge-new {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
}

.badge-hot {
    background: #ef4444;
    color: white;
}

.badge-new {
    background: #10b981;
    color: white;
}

.product-info-home {
    padding: 1.25rem;
}

.product-category-tag {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.product-info-home h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
    line-height: 1.4;
    min-height: 2.8em;
}

.product-model {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price .price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.btn-view {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-view:hover {
    color: var(--primary-color);
}

.btn-view i {
    transition: transform 0.3s ease;
}

.btn-view:hover i {
    transform: translateX(4px);
}

/* ========== 产品页面样式 ========== */
.products-page-section {
    padding: 100px 0;
    background: var(--bg-light);
    margin-top: -1rem;
}

.category-sidebar {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}

.sidebar-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg-light);
    margin-bottom: 1rem;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list li a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.category-list li a:hover,
.category-list li.active a {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
}

.category-list li a .count {
    margin-left: auto;
    background: var(--bg-light);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.category-list li.active a .count {
    background: var(--primary-color);
    color: white;
}

.contact-box {
    background: var(--gradient-primary);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    color: white;
}

.contact-box h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-box p {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.btn-contact {
    background: white;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    width: 100%;
    text-align: center;
    display: block;
}

.btn-contact:hover {
    background: rgba(255,255,255,0.9);
    color: var(--primary-color);
}

.results-bar {
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    color: var(--text-light);
}

/* ========== 产品网格卡片 ========== */
.product-card-grid {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    height: 100%;
}

.product-card-grid:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
}

.product-image-wrapper img.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card-grid:hover .product-image-wrapper img.product-image {
    transform: scale(1.05);
}

.product-image-placeholder {
    height: 200px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-placeholder i {
    font-size: 5rem;
    color: #94a3b8;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
}

.product-badge.hot {
    background: #ef4444;
    color: white;
}

.product-badge.new {
    background: #10b981;
    color: white;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.product-card-grid:hover .product-overlay {
    opacity: 1;
}

.btn-quick-view {
    background: var(--white);
    color: var(--secondary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.product-card-grid:hover .btn-quick-view {
    transform: translateY(0);
}

.btn-quick-view:hover {
    background: var(--primary-color);
    color: white;
}

.product-details {
    padding: 1.5rem;
}

.product-category {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.product-desc {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-meta {
    margin-bottom: 0.75rem;
}

.product-meta .model {
    font-size: 0.8rem;
    color: var(--text-light);
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.spec-tag {
    background: var(--bg-light);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-color);
}

.spec-tag i {
    color: #10b981;
    margin-right: 4px;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--bg-light);
}

.price-tag {
    color: var(--primary-color);
}

.price-tag .currency {
    font-size: 0.875rem;
    font-weight: 600;
}

.price-tag .amount {
    font-size: 1.5rem;
    font-weight: 700;
}

.btn-inquiry {
    background: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.btn-inquiry:hover {
    background: var(--primary-color);
    color: white;
}

.btn-inquiry i {
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.btn-inquiry:hover i {
    transform: translateX(4px);
}


/* 产品操作按钮 */
.product-action {
    margin-top: auto;
}

.btn-inquiry.full-width {
    width: 100%;
    text-align: center;
    justify-content: center;
}