/*
Theme Name: 剑威不锈钢企业主题
Theme URI: https://jianweisteel.com
Author: 剑威不锈钢
Author URI: https://jianweisteel.com
Description: 剑威不锈钢企业官网主题 - 科技感设计，支持WooCommerce商城和多语言
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jianwei-steel
Tags: custom-background, custom-logo, custom-menu, featured-images, translation-ready, e-commerce
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.
*/

/* ========================================
   CSS Variables - 设计系统
   ======================================== */

:root {
    /* Colors - 蓝色科技风格 */
    --color-primary: #0a1628;
    --color-primary-light: #1e3a5f;
    --color-primary-dark: #050d18;
    --color-secondary: #4a90d9;
    --color-accent: #00d4ff;
    --color-accent-hover: #00a8cc;
    --color-accent-glow: rgba(0, 212, 255, 0.3);
    
    --color-background: #f5f7fa;
    --color-surface: #ffffff;
    --color-surface-elevated: #ffffff;
    
    --color-text: #2d3436;
    --color-text-light: #636e72;
    --color-text-muted: #95a5a6;
    --color-white: #ffffff;
    
    --color-border: #dfe6e9;
    --color-border-light: #ecf0f1;
    --color-success: #27ae60;
    --color-warning: #f39c12;
    --color-error: #e74c3c;
    
    /* Typography - 字体系统 */
    --font-heading: 'Montserrat', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Open Sans', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Roboto Mono', 'Courier New', monospace;
    
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    
    /* Spacing - 间距系统 */
    --spacing-0: 0;
    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 0.75rem;
    --spacing-4: 1rem;
    --spacing-5: 1.25rem;
    --spacing-6: 1.5rem;
    --spacing-8: 2rem;
    --spacing-10: 2.5rem;
    --spacing-12: 3rem;
    --spacing-16: 4rem;
    --spacing-20: 5rem;
    --spacing-24: 6rem;
    
    /* Layout - 布局 */
    --container-max-width: 1280px;
    --container-padding: 1.5rem;
    --header-height: 80px;
    --header-height-scrolled: 70px;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* Shadows - 阴影 */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px var(--color-accent-glow);
    
    /* Transitions - 过渡动画 */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Z-Index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;
}

/* ========================================
   Reset & Base Styles
   ======================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
    color: var(--color-text);
    background-color: var(--color-background);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
    color: var(--color-primary);
    margin-bottom: var(--spacing-4);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

p {
    margin-bottom: var(--spacing-4);
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-accent-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ========================================
   Layout
   ======================================== */

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--spacing-16) 0;
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--spacing-6);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .section { padding: var(--spacing-10) 0; }
}

/* ========================================
   Header
   ======================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(26, 42, 58, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: var(--z-fixed);
    transition: all var(--transition-base);
}

.site-header.scrolled {
    height: var(--header-height-scrolled);
    background: rgba(26, 42, 58, 0.98);
    box-shadow: var(--shadow-lg);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    text-decoration: none;
}

.site-logo img {
    height: 40px;
    width: auto;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    gap: var(--spacing-8);
}

.main-navigation a {
    color: var(--color-white);
    font-weight: var(--font-weight-medium);
    position: relative;
    padding: var(--spacing-2) 0;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-base);
}

.main-navigation a:hover::after,
.main-navigation a.active::after {
    width: 100%;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-4);
}

.header-search,
.header-cart,
.lang-switcher {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    color: var(--color-white);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.header-search:hover,
.header-cart:hover,
.lang-switcher:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-accent);
}


/* Language Switcher Select */
.lang-switcher-short {
    display: flex;
    align-items: center;
}

.lang-select {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    color: var(--color-white);
    padding: 6px 12px;
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-select:hover {
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.1);
}

.lang-select:focus {
    outline: none;
    border-color: var(--color-accent);
}

.lang-select option {
    background: var(--color-primary-dark);
    color: var(--color-white);
    padding: 8px;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: var(--color-accent);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: var(--z-dropdown);
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-white);
    transition: all var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 1024px) {
    .menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--color-primary);
        flex-direction: column;
        justify-content: center;
        padding: var(--spacing-8);
        transition: right var(--transition-base);
    }
    
    .main-navigation.open {
        right: 0;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: var(--spacing-6);
        text-align: center;
    }
    
    .main-navigation a {
        font-size: var(--font-size-xl);
    }
}

/* ========================================
   Footer
   ======================================== */

.site-footer {
    background: var(--color-primary);
    color: var(--color-white);
    padding: var(--spacing-16) 0 var(--spacing-8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--spacing-10);
    margin-bottom: var(--spacing-10);
}

.footer-widget h4 {
    color: var(--color-white);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-6);
}

.footer-widget ul li {
    margin-bottom: var(--spacing-3);
}

.footer-widget a {
    color: var(--color-secondary);
    transition: color var(--transition-fast);
}

.footer-widget a:hover {
    color: var(--color-accent);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-3);
    margin-bottom: var(--spacing-4);
    color: var(--color-secondary);
}

.footer-contact svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--color-accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social {
    display: flex;
    gap: var(--spacing-4);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--color-accent);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-4);
        text-align: center;
    }
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-2);
    padding: var(--spacing-3) var(--spacing-6);
    font-family: var(--font-heading);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-primary {
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-hover));
    color: var(--color-white);
    border-color: transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

.btn-outline {
    background: transparent;
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.btn-outline:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

/* ========================================
   Cards
   ======================================== */

.card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-body {
    padding: var(--spacing-6);
}

.card-title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-2);
}

.card-text {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-4);
}

/* Product Card */
.product-card {
    position: relative;
}

.product-card .card-image {
    aspect-ratio: 1;
}

.product-card .price {
    font-family: var(--font-mono);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-accent);
    margin-bottom: var(--spacing-3);
}

.product-card .btn-add-cart {
    width: 100%;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.95) 0%, rgba(30, 58, 95, 0.9) 100%), url('https://images.unsplash.com/photo-1565193566173-7a0ee3dbe261?w=1920&q=80');
    background-size: cover;
    background-position: center center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 70%, rgba(0, 168, 232, 0.15) 0%, transparent 50%);
    animation: pulse 15s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, var(--color-background), transparent);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-white);
    margin-bottom: var(--spacing-6);
}

.hero-title span {
    color: var(--color-accent);
}

.hero-text {
    font-size: var(--font-size-lg);
    color: var(--color-secondary);
    margin-bottom: var(--spacing-8);
    line-height: var(--line-height-relaxed);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-4);
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: var(--spacing-4) var(--spacing-8);
}

/* ========================================
   Features Section
   ======================================== */

.features-section {
    padding: var(--spacing-20) 0;
    background: var(--color-surface);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--spacing-12);
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: var(--spacing-4);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    border-radius: var(--radius-full);
}

.section-subtitle {
    color: var(--color-text-light);
    font-size: var(--font-size-lg);
}

.feature-card {
    text-align: center;
    padding: var(--spacing-8);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-6);
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
    border-radius: var(--radius-lg);
    color: var(--color-white);
}

.feature-icon svg {
    width: 36px;
    height: 36px;
}

.feature-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-3);
}

.feature-text {
    color: var(--color-text-light);
}

/* ========================================
   Products Section
   ======================================== */

.products-section {
    padding: var(--spacing-20) 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-6);
}

@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .product-grid { grid-template-columns: 1fr; }
}

/* ========================================
   Stats Section
   ======================================== */

.stats-section {
    padding: var(--spacing-16) 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-8);
    text-align: center;
}

.stat-item {
    color: var(--color-white);
}

.stat-number {
    font-family: var(--font-mono);
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-accent);
    margin-bottom: var(--spacing-2);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.stat-number.animate {
    opacity: 1;
    transform: translateY(0);
}

.stat-label {
    font-size: var(--font-size-lg);
    color: var(--color-secondary);
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-10);
    }
    
    .stat-number {
        font-size: var(--font-size-4xl);
    }
}

/* ========================================
   Page Title
   ======================================== */

.page-header {
    padding: calc(var(--header-height) + var(--spacing-16)) 0 var(--spacing-10);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    text-align: center;
}

.page-title {
    color: var(--color-white);
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-4);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: var(--spacing-3);
    color: var(--color-secondary);
}

.breadcrumb a {
    color: var(--color-secondary);
}

.breadcrumb a:hover {
    color: var(--color-accent);
}

.breadcrumb-separator {
    color: var(--color-text-muted);
}

/* ========================================
   Animations
   ======================================== */

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Stagger Animation Delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ========================================
   Utilities
   ======================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-muted { color: var(--color-text-muted); }
.text-white { color: var(--color-white); }

.bg-primary { background-color: var(--color-primary); }
.bg-surface { background-color: var(--color-surface); }
.bg-accent { background-color: var(--color-accent); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-1); }
.mb-2 { margin-bottom: var(--spacing-2); }
.mb-3 { margin-bottom: var(--spacing-3); }
.mb-4 { margin-bottom: var(--spacing-4); }
.mb-6 { margin-bottom: var(--spacing-6); }
.mb-8 { margin-bottom: var(--spacing-8); }

.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--spacing-4); }
.mt-6 { margin-top: var(--spacing-6); }
.mt-8 { margin-top: var(--spacing-8); }

.py-10 { padding-top: var(--spacing-10); padding-bottom: var(--spacing-10); }
.py-16 { padding-top: var(--spacing-16); padding-bottom: var(--spacing-16); }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--spacing-2); }
.gap-4 { gap: var(--spacing-4); }
.gap-6 { gap: var(--spacing-6); }

.hidden { display: none; }
.visible { display: block; }

@media (max-width: 768px) {
    .hide-mobile { display: none; }
}

/* ========================================
   WooCommerce Styles
   ======================================== */

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-6);
}

.woocommerce .woocommerce-result-count {
    color: var(--color-text-light);
}

.woocommerce .woocommerce-ordering select {
    padding: var(--spacing-2) var(--spacing-4);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--color-surface);
}

.woocommerce .price {
    font-family: var(--font-mono);
    font-weight: var(--font-weight-bold);
    color: var(--color-accent);
}

.woocommerce .price del {
    color: var(--color-text-muted);
    font-weight: var(--font-weight-regular);
}

.woocommerce span.onsale {
    background: var(--color-accent);
    border-radius: var(--radius-full);
}

.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-hover));
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Cart */
.woocommerce .cart-collaterals {
    margin-top: var(--spacing-8);
}

.woocommerce .cart_totals h2 {
    font-size: var(--font-size-xl);
}

/* Checkout */
.woocommerce-checkout .woocommerce-info {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--spacing-3);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-glow);
}

/* ========================================
   Responsive Utilities
   ======================================== */

@media (max-width: 640px) {
    :root {
        --container-padding: 1rem;
    }
    
    h1 { font-size: var(--font-size-3xl); }
    h2 { font-size: var(--font-size-2xl); }
    h3 { font-size: var(--font-size-xl); }
}

/* ========================================
   Responsive Utilities
   ======================================== */

/* ========================================
   Large Desktop - 1440px+
   ======================================== */
@media (min-width: 1440px) {
    :root {
        --container-max-width: 1400px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
}

/* ========================================
   Desktop - 1200px - 1439px
   ======================================== */
@media (min-width: 1200px) and (max-width: 1439px) {
    .container {
        max-width: 1140px;
    }
}

/* ========================================
   Tablet Landscape / iPad Pro - 1024px - 1199px
   ======================================== */
@media (min-width: 1024px) and (max-width: 1199px) {
    :root {
        --container-max-width: 960px;
        --header-height: 70px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-text {
        font-size: 1.125rem;
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* ========================================
   Tablet Portrait / iPad - 768px - 1023px
   ======================================== */
@media (min-width: 768px) and (max-width: 1023px) {
    :root {
        --container-max-width: 720px;
        --header-height: 60px;
    }
    
    body {
        font-size: 0.9375rem;
    }
    
    .hero {
        min-height: 80vh;
        padding-top: 60px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 0.9375rem;
    }
    
    .grid-4, .grid-3, .grid-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.875rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .site-header .header-inner {
        padding: 0 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .card-body {
        padding: 1.25rem;
    }
}

/* ========================================
   Mobile Large / iPad Mini - 480px - 767px
   ======================================== */
@media (min-width: 480px) and (max-width: 767px) {
    :root {
        --container-max-width: 100%;
        --container-padding: 1rem;
        --header-height: 56px;
    }
    
    body {
        font-size: 0.9375rem;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .hero {
        min-height: 70vh;
        padding-top: 56px;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .hero-text {
        font-size: 0.9375rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .section {
        padding: 2.5rem 0;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .section-subtitle {
        font-size: 0.875rem;
    }
    
    .grid-4, .grid-3, .grid-2 {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .stat-item {
        padding: 1rem 0.5rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-widget {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .feature-card {
        padding: 1.25rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .feature-title {
        font-size: 1.125rem;
    }
    
    .feature-text {
        font-size: 0.875rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.8125rem;
    }
    
    /* Header mobile */
    .site-branding {
        font-size: 1rem;
    }
    
    .header-actions {
        gap: 0.5rem;
    }
    
    .header-search, .header-cart, .lang-switcher {
        width: 36px;
        height: 36px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-primary);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .main-navigation.open {
        right: 0;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .main-navigation a {
        font-size: 1.125rem;
    }
}

/* ========================================
   Mobile Small - 320px - 479px
   ======================================== */
@media (max-width: 479px) {
    :root {
        --container-padding: 0.875rem;
        --header-height: 56px;
    }
    
    body {
        font-size: 0.875rem;
    }
    
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.375rem; }
    h3 { font-size: 1.125rem; }
    h4 { font-size: 1rem; }
    
    .hero {
        min-height: 65vh;
        padding: 56px 0.5rem 0;
    }
    
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.35;
    }
    
    .hero-text {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 0.625rem 1rem;
        font-size: 0.8125rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.375rem;
    }
    
    .section-subtitle {
        font-size: 0.8125rem;
    }
    
    .grid-4, .grid-3, .grid-2 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 0.75rem 0.25rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.6875rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .footer-widget {
        text-align: center;
        padding: 0;
    }
    
    .footer-widget h4 {
        font-size: 1rem;
    }
    
    .footer-contact li {
        font-size: 0.8125rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
        font-size: 0.75rem;
    }
    
    .feature-card {
        padding: 1rem;
    }
    
    .feature-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 0.75rem;
    }
    
    .feature-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .feature-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-text {
        font-size: 0.8125rem;
        margin-bottom: 0.75rem;
    }
    
    .card-body {
        padding: 0.875rem;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .card-text {
        font-size: 0.8125rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
        width: 100%;
        text-align: center;
    }
    
    /* Header */
    .site-branding {
        font-size: 0.875rem;
    }
    
    .site-logo img {
        height: 28px;
    }
    
    .header-actions {
        gap: 0.375rem;
    }
    
    .header-search, .header-cart, .lang-switcher {
        width: 32px;
        height: 32px;
    }
    
    .header-search svg, .header-cart svg {
        width: 16px;
        height: 16px;
    }
    
    .cart-count {
        min-width: 16px;
        height: 16px;
        font-size: 0.625rem;
    }
    
    .menu-toggle {
        width: 24px;
        height: 16px;
    }
    
    .menu-toggle span {
        height: 2px;
    }
}

/* ========================================
   iPad Pro Specific - 1024px x 1366px
   ======================================== */
@media (width: 1024px) and (height: 1366px), 
       (width: 768px) and (height: 1024px) {
    .hero {
        min-height: 60vh;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ========================================
   Landscape Mobile Fix
   ======================================== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 0 3rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .hero-buttons .btn {
        width: auto;
    }
}

/* ========================================
   High DPI / Retina Displays
   ======================================== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero::before {
        background: radial-gradient(circle at 30% 70%, rgba(0, 168, 232, 0.08) 0%, transparent 50%);
    }
}

/* ========================================
   Reduced Motion
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


/* ========================================
   Language Switcher / 语言切换器
   ======================================== */
.lang-switcher-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* TranslatePress 短代码样式 */
.lang-switcher-wrapper .trp_language_switcher_shortcode,
.lang-switcher-wrapper .language-switcher {
    display: flex;
    align-items: center;
}

.lang-switcher-wrapper select.trp-select,
.lang-switcher-wrapper .trp_language_switcher_shortcode select,
.lang-switcher-wrapper select[id*="trp-language-switcher"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    font-size: var(--font-size-sm);
    font-family: var(--font-body);
    color: var(--color-text);
    cursor: pointer;
    transition: all var(--transition-fast);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23636e72' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
}

.lang-switcher-wrapper select.trp-select:hover,
.lang-switcher-wrapper select:focus {
    border-color: var(--color-accent);
    outline: none;
    box-shadow: 0 0 0 3px var(--color-accent-glow);
}

/* 当前语言高亮 */
.lang-switcher-wrapper .current-language {
    font-weight: var(--font-weight-semibold);
    color: var(--color-accent);
}

/* 语言列表下拉 */
.lang-switcher-wrapper ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: var(--spacing-2);
}

.lang-switcher-wrapper ul li a,
.lang-switcher-wrapper ul li span {
    display: flex;
    align-items: center;
    padding: var(--spacing-2) var(--spacing-3);
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.lang-switcher-wrapper ul li a:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.lang-switcher-wrapper ul li.active a,
.lang-switcher-wrapper ul li.current-language a {
    background: var(--color-accent);
    color: var(--color-white);
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .lang-switcher-wrapper select.trp-select,
    .lang-switcher-wrapper .trp_language_switcher_shortcode select {
        padding: 0.375rem 1.5rem 0.375rem 0.5rem;
        font-size: var(--font-size-xs);
    }
}



/* ========================================
   Header Modern Blue Tech
   ======================================== */
.site-header {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.site-logo .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.site-logo .logo-main {
    font-size: 24px;
    font-weight: 700;
    color: #00d4ff;
    font-family: var(--font-heading);
}

.site-logo .logo-sub {
    font-size: 14px;
    color: #ffffff;
    font-family: var(--font-heading);
    letter-spacing: 2px;
}

.main-menu a {
    position: relative;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.main-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #4a90d9);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.main-menu a:hover {
    color: #00d4ff;
}

.main-menu a:hover::before {
    width: 60%;
}

.header-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.header-icon:hover {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #00d4ff, #4a90d9);
    color: #0a1628;
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Language Switcher Modern */
.lang-switcher-wrapper select,
.trp-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: #ffffff;
    border-radius: 8px;
    padding: 6px 28px 6px 12px;
    font-size: 13px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2300d4ff' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.lang-switcher-wrapper select:focus,
.trp-select:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
}

.lang-switcher-wrapper option {
    background: #0a1628;
    color: #ffffff;
}

/* Footer Modern */
.site-footer {
    background: linear-gradient(180deg, #0a1628 0%, #050d18 100%);
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.footer-widget h4::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 16px;
    background: linear-gradient(180deg, #00d4ff, #4a90d9);
    margin-right: 10px;
    vertical-align: middle;
    border-radius: 2px;
}

/* ========================================
   Enhanced Blue Tech Header
   ======================================== */

/* Header Glow Effect */
.site-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.5), transparent);
    opacity: 0.6;
}

/* Header Scrolled Glow */
.site-header.scrolled::after {
    opacity: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* CTA Button - Get Quote */
.header-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #00d4ff 0%, #4a90d9 100%);
    color: #0a1628;
    font-weight: 600;
    font-size: 14px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.header-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.5);
    color: #0a1628;
}

.header-cta-btn svg {
    width: 16px;
    height: 16px;
}

/* Enhanced Navigation */
.main-navigation a {
    position: relative;
    padding: 8px 20px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.main-navigation a::before {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #4a90d9);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.main-navigation a:hover,
.main-navigation a.active {
    color: #00d4ff;
}

.main-navigation a:hover::before,
.main-navigation a.active::before {
    width: 70%;
}

/* Header Icons Enhanced */
.header-search,
.header-cart {
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    cursor: pointer;
}

.header-search:hover,
.header-cart:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.3);
    color: #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.header-cart {
    position: relative;
}

/* Language Switcher Enhanced */
.lang-switcher-wrapper {
    position: relative;
}

.lang-switcher-wrapper .trp-select,
.lang-switcher-wrapper select {
    appearance: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 32px 8px 14px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2300d4ff' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.lang-switcher-wrapper .trp-select:hover,
.lang-switcher-wrapper select:hover {
    border-color: #00d4ff;
    background-color: rgba(0, 212, 255, 0.1);
}

.lang-switcher-wrapper .trp-select:focus,
.lang-switcher-wrapper select:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2);
}

/* ========================================
   Enhanced Blue Tech Footer
   ======================================== */

.site-footer {
    background: linear-gradient(180deg, #0a1628 0%, #050d18 100%);
    border-top: 1px solid rgba(0, 212, 255, 0.15);
    position: relative;
    overflow: hidden;
}

/* Footer Glow Background */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Footer Widget Enhanced */
.footer-widget {
    position: relative;
    z-index: 1;
}

.footer-widget h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-widget h4::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: linear-gradient(180deg, #00d4ff, #4a90d9);
    margin-right: 0;
    vertical-align: middle;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 14px;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget ul li {
    margin-bottom: 12px;
}

.footer-widget ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-widget ul li a::before {
    content: '›';
    position: absolute;
    left: 0;
    color: #00d4ff;
    font-weight: bold;
    transition: all 0.3s ease;
}

.footer-widget ul li a:hover {
    color: #00d4ff;
    padding-left: 20px;
}

.footer-widget ul li a:hover::before {
    left: 5px;
}

/* Footer Contact Enhanced */
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 16px;
}

.footer-contact li svg {
    color: #00d4ff;
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact li span {
    line-height: 1.6;
}

/* Footer Social Enhanced */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.3);
    color: #00d4ff;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}

/* Footer Bottom Enhanced */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    margin-top: 40px;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #00d4ff;
}

.footer-links span {
    color: rgba(255, 255, 255, 0.2);
}

/* Mobile Menu Toggle Enhanced */
.menu-toggle {
    width: 42px;
    height: 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.3);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle:hover span {
    background: #00d4ff;
}


/* ===========================================
   Homepage Styles - Blue Tech Design
   =========================================== */

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a1628 0%, #1a2d4a 50%, #0d1f35 100%);
    overflow: hidden;
}

.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(0,212,255,0.1)"/></svg>') repeat;
    background-size: 50px 50px;
    opacity: 0.5;
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.hero-content {
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    color: #00d4ff;
    margin-bottom: 24px;
}

.hero-badge .badge-icon {
    font-size: 16px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-title-accent {
    background: linear-gradient(90deg, #00d4ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.hero-stat-item {
    text-align: center;
}

.hero-stat-num {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #00d4ff;
}

.hero-stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Stats Section */
.stats-section {
    background: #ffffff;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    color: #00d4ff;
    margin-bottom: 15px;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #64748b;
}

/* Factory Section */
.factory-section {
    padding: 80px 0;
    background: #ffffff;
}

.factory-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.factory-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1628 0%, #1a2d4a 100%);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.factory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.factory-card-large {
    grid-row: span 2;
    min-height: 420px;
}

.factory-image {
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
}

.factory-image svg {
    margin-bottom: 10px;
}

.factory-placeholder-text {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.factory-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.factory-card:hover .factory-overlay {
    opacity: 1;
}

.factory-cta {
    text-align: center;
}

/* Certifications Section */
.certifications-section {
    padding: 80px 0;
    background: #f8fafc;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.certification-card {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.certification-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 212, 255, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00d4ff;
}

.certification-title {
    font-size: 18px;
    font-weight: 600;
    color: #0a1628;
    margin-bottom: 8px;
}

.certification-desc {
    font-size: 14px;
    color: #64748b;
}

/* Customers Section */
.customers-section {
    padding: 80px 0;
    background: #ffffff;
}

.customers-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.customer-logo-placeholder {
    aspect-ratio: 3/2;
    background: #f8fafc;
    border: 2px dashed #e2e8f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 13px;
    transition: all 0.3s ease;
}

.customer-logo-placeholder:hover {
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.05);
    color: #00d4ff;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: #f8fafc;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-stars {
    color: #f39c12;
    font-size: 18px;
    margin-bottom: 15px;
    letter-spacing: 3px;
}

.testimonial-text {
    font-size: 15px;
    color: #64748b;
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00d4ff, #00a8cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.testimonial-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #0a1628;
    margin-bottom: 3px;
}

.testimonial-info span {
    font-size: 13px;
    color: #94a3b8;
}

@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .factory-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .factory-card-large {
        grid-row: span 1;
    }
    
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .customers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .factory-grid {
        grid-template-columns: 1fr;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .customers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Products Home Section */
.products-home-section {
    padding: 80px 0;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 16px;
    color: #64748b;
}

.products-home-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-home-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.product-home-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #00d4ff;
}

.product-home-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 212, 255, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00d4ff;
}

.product-home-title {
    font-size: 18px;
    font-weight: 600;
    color: #0a1628;
    margin-bottom: 10px;
}

.product-home-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 15px;
}

.product-home-link {
    color: #00d4ff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-home-link:hover {
    color: #0a1628;
}

/* Why Section */
.why-section {
    padding: 80px 0;
    background: #ffffff;
}

.why-grid {
    display: flex;
    justify-content: center;
}

.why-content {
    max-width: 700px;
}

.why-content .section-tag,
.why-content .section-title {
    text-align: left;
}

.why-desc {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 30px;
}

.why-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.why-feature-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
}

.why-feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00d4ff;
}

.why-feature-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: #0a1628;
    margin-bottom: 5px;
}

.why-feature-text p {
    font-size: 14px;
    color: #64748b;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a1628 0%, #1a2d4a 100%);
}

.cta-content {
    text-align: center;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.cta-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #00d4ff, #00a8cc);
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
}

.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-white {
    background: #ffffff;
    color: #0a1628;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 1024px) {
    .stats-grid,
    .products-home-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 42px;
    }

    .section-title {
        font-size: 30px;
    }
    
    .site-header {
        height: 70px;
    }
    
    .header-cta-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    /* Header */
    .site-header {
        height: 60px;
    }
    
    .site-branding {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .site-logo {
        font-size: 18px;
    }
    
    .site-logo img {
        height: 30px;
    }
    
    /* Hide elements on mobile */
    .header-search,
    .lang-switcher-wrapper,
    .header-cta-btn {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    /* Navigation */
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: #0a1628;
        z-index: 1000;
        transition: right 0.3s ease;
        padding: 80px 20px 20px;
    }
    
    .main-navigation.open {
        right: 0;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-navigation li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .main-navigation a {
        display: block;
        padding: 15px 0;
        font-size: 16px;
    }
    
    /* Hero */
    .hero-section {
        min-height: 80vh;
        padding-top: 60px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-desc {
        font-size: 15px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .hero-stat-item {
        flex: 1 1 100px;
    }
    
    .hero-stat-num {
        font-size: 28px;
    }
    
    .hero-actions,
    .cta-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
    
    /* Stats */
    .stats-section {
        padding: 40px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-card {
        padding: 20px 15px;
    }
    
    .stat-value {
        font-size: 24px;
    }
    
    .stat-icon svg {
        width: 30px;
        height: 30px;
    }
    
    /* Products */
    .products-home-section {
        padding: 50px 0;
    }
    
    .products-home-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-home-card {
        padding: 20px 15px;
    }
    
    .product-home-icon {
        width: 60px;
        height: 60px;
    }
    
    .product-home-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .product-home-title {
        font-size: 15px;
    }
    
    .product-home-desc {
        font-size: 12px;
    }
    
    /* Why */
    .why-section {
        padding: 50px 0;
    }
    
    .why-features {
        grid-template-columns: 1fr;
    }
    
    /* CTA */
    .cta-section {
        padding: 50px 0;
    }
    
    .cta-title {
        font-size: 24px;
    }
    
    .cta-desc {
        font-size: 15px;
    }
    
    /* Section titles */
    .section-title,
    .cta-title {
        font-size: 22px;
    }
    
    .section-tag {
        font-size: 12px;
        padding: 4px 12px;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }
    
    .stats-grid,
    .products-home-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
}
