/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    display: none; /* 隐藏logo图片 */
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #ffffff 0%, #00ff88 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.5));
    border-radius: 1px;
}

.language-switch {
    display: none; /* 隐藏语言切换按钮 */
}

.lang-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 6px 12px;
    border-radius: 16px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    margin-top: 80px; /* Space for fixed navbar */
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #333;
}

.title {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.language-toggle {
    position: relative;
}

.lang-btn {
    background: linear-gradient(45deg, #333, #555);
    color: #ffffff;
    border: 2px solid #666;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lang-btn:hover {
    background: linear-gradient(45deg, #555, #777);
    border-color: #888;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid #333;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #666, #999, #666);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
    border-color: #555;
}

.product-card:hover::before {
    opacity: 1;
}

.product-image {
    width: 100%;
    height: 240px;
    object-fit: contain; /* 改为contain确保图片完整显示 */
    border-radius: 10px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
}

.product-card:hover .product-image {
    transform: scale(1.02);
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
    line-height: 1.4;
    text-align: center;
}

.product-stats {
    display: flex;
    justify-content: space-around;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.85rem;
    color: #cccccc;
    gap: 5px;
}

.stat-icon {
    width: 20px;
    height: 20px;
    fill: #888;
    opacity: 0.9;
}

.stat-value {
    font-weight: 700;
    color: #ffffff;
    font-size: 1rem;
}

.platforms {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #333;
}

.platform-icons {
    display: flex;
    gap: 12px;
}

.platform-icon {
    width: 28px;
    height: 28px;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.platform-icon:hover {
    transform: scale(1.15);
    opacity: 1;
}

.shopify-icon {
    fill: #96bf48;
}

.tiktok-icon {
    fill: #ff0050;
}

.facebook-icon {
    fill: #1877f2;
}

.develop-button {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(45deg, #007bff, #0056b3);
    padding: 10px 16px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .develop-button {
        font-size: 0.75rem;
        padding: 8px 14px;
    }
}

.develop-button:hover {
    background: linear-gradient(45deg, #0056b3, #004085);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #cccccc;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #333;
    border-top: 3px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hidden {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.875rem;
    }
    
    .logo-text {
        display: none;
    }
    
    .container {
        padding: 15px;
        margin-top: 70px;
    }
    
    .header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-stats {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .platforms {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        gap: 0.5rem;
    }
    
    .nav-link {
        font-size: 0.8rem;
        padding: 0.25rem;
    }
    
    .language-switch {
        padding: 2px;
    }
    
    .lang-btn {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
    
    .title {
        font-size: 1.5rem;
    }
    
    .product-card {
        padding: 15px;
    }
    
    .product-image {
        height: 150px;
    }
}