/* ========================================
   精诚WMS官网 - 大气现代风格
   参考: 领星WMS / 企业级SaaS产品站
   ======================================== */

/* CSS Variables */
:root {
    --primary: #1a56db;
    --primary-dark: #0d3aa8;
    --primary-light: #4c7bf3;
    --primary-bg: #eef2ff;
    --secondary: #0d2137;
    --accent: #00b4d8;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    --border: #e5e7eb;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 4px 16px rgba(0,0,0,0.06);
    --shadow-md: 0 12px 40px rgba(26,86,219,0.10);
    --shadow-lg: 0 20px 60px rgba(26,86,219,0.15);
    --shadow-xl: 0 30px 80px rgba(13,33,55,0.20);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Helvetica Neue", sans-serif; color: var(--text-primary); line-height: 1.7; background: var(--bg-white); font-size: 16px; overflow-x: hidden; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; display: block; }
ul, li { list-style: none; }

.hide-on-mobile { display: block; }

/* Container */
.container-wms { max-width: 1400px; margin: 0 auto; padding: 0 32px; }

/* ========================================
   Header & Navigation
   ======================================== */
.wms-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}
.wms-header.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255,255,255,0.98);
}

.wms-nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1400px; margin: 0 auto; padding: 0 32px; height: 78px;
}
.wms-logo {
    display: flex; align-items: center; gap: 14px;
    font-size: 24px; font-weight: 800; color: var(--primary);
    letter-spacing: -0.5px;
}
.wms-logo img { height: 42px; width: auto; }

/* Navigation Menu */
.wms-menu { display: flex; align-items: center; gap: 2px; }
.wms-menu > li { position: relative; }
.wms-menu > li > a {
    display: block; padding: 11px 22px; font-size: 15.5px; font-weight: 500;
    color: var(--text-primary); border-radius: var(--radius-sm);
    transition: var(--transition);
    letter-spacing: 0.2px;
}
.wms-menu > li:hover > a,
.wms-menu > li.active > a { 
    color: var(--primary); 
    background: var(--primary-bg); 
}

/* Dropdown Submenu */
.wms-submenu {
    position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
    min-width: 220px; padding: 10px 0;
    background: white; border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg), 0 4px 6px rgba(0,0,0,0.02);
    opacity: 0; visibility: hidden;
    transform: translateX(-50%) translateY(-8px);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.04);
    text-align: center;
}
.wms-submenu::before {
    content: ''; position: absolute; top: -7px; left: 50%; transform: translateX(-50%);
    border-left: 8px solid transparent; border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}
.wms-menu > li:hover .wms-submenu {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.wms-submenu a {
    display: block; padding: 11px 24px; font-size: 14.5px;
    color: var(--text-secondary); transition: all 0.2s ease;
    text-align: center;
}
.wms-submenu a:hover { 
    color: var(--primary); 
    background: var(--primary-bg); 
    padding-left: 28px;
}

/* Mobile Menu Toggle */
.wms-mobile-toggle {
    display: none; cursor: pointer; font-size: 26px; color: var(--primary);
    padding: 8px 12px; line-height: 1; transition: all 0.3s ease;
    user-select: none; -webkit-tap-highlight-color: transparent;
}
.wms-mobile-toggle:hover { color: var(--primary-dark); }
.wms-mobile-menu {
    display: none; position: fixed; top: 78px; left: 0; right: 0; bottom: 0;
    background: white; z-index: 9999; overflow-y: auto; padding: 16px;
    box-shadow: -5px 0 30px rgba(0,0,0,0.15);
}
.wms-mobile-menu.active { display: block !important; }
.wms-mobile-menu a {
    display: block; padding: 15px 18px; font-size: 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary); text-decoration: none; transition: all 0.25s;
}
.wms-mobile-menu a:hover,
.wms-mobile-menu a:active {
    background: var(--primary-bg); color: var(--primary); padding-left: 24px;
}
.wms-mobile-menu .sub-item {
    padding-left: 40px; font-size: 14.5px; color: var(--text-secondary);
    background: #fafbfc;
}

.wms-mobile-overlay {
    display: none; position: fixed; top: 78px; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5); z-index: 9998;
}
.wms-mobile-overlay.active { display: block !important; }

/* ========================================
   CTA Button Styles
   ======================================== */
.wms-header-cta {
    display: flex;
    align-items: center;
    margin-left: 16px;
}
.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 28px;
    font-size: 14.5px;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(26, 86, 219, 0.35);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.btn-cta-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}
.btn-cta-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 86, 219, 0.45);
}
.btn-cta-primary:hover::before {
    left: 100%;
}
.btn-cta-primary svg {
    transition: transform 0.3s ease;
}
.btn-cta-primary:hover svg {
    transform: translateX(3px);
}

/* Mobile Menu CTA Button */
.mobile-cta-btn {
    display: block !important;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), #4c7bf3) !important;
    color: white !important;
    border-radius: 50px;
    margin-top: 16px;
    padding: 14px 24px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(26, 86, 219, 0.3);
    border: none !important;
}
.mobile-cta-btn:active {
    transform: scale(0.98);
}

.header-placeholder { height: 78px; }

/* ========================================
   Hero Banner - Video Background
   ======================================== */
.wms-hero {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-top: 0;
    padding-top: 78px;
    background: #0a0a0a;
}

/* Video Container */
.hero-video-container {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Video Overlay - Dark gradient for text readability */
.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 15, 30, 0.88) 0%,
        rgba(13, 33, 55, 0.82) 40%,
        rgba(26, 86, 219, 0.65) 80%,
        rgba(76, 123, 243, 0.55) 100%
    );
    z-index: 2;
}

/* Animated gradient overlay effect */
.hero-video-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, transparent 0%, rgba(0,0,0,0.3) 100%);
    animation: overlayPulse 8s ease-in-out infinite alternate;
}

@keyframes overlayPulse {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}
.wms-hero-content {
    position: relative; z-index: 3; max-width: 900px; margin: 0 auto; padding: 100px 32px 90px;
    text-align: center; color: white;
}
.wms-hero-title {
    font-size: 54px; font-weight: 800; margin-bottom: 24px;
    animation: heroFadeUp 1s ease;
    letter-spacing: -1px; line-height: 1.15;
    text-shadow: 0 2px 30px rgba(0,0,0,0.15);
}
.wms-hero-subtitle {
    font-size: 21px; opacity: 0.9; margin-bottom: 44px; font-weight: 300;
    animation: heroFadeUp 1s ease 0.15s both;
    line-height: 1.6; max-width: 650px; margin-left: auto; margin-right: auto;
}
.wms-hero-btns { 
    display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; 
    animation: heroFadeUp 1s ease 0.3s both; 
}

.btn-primary-wms {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 16px 44px; font-size: 16.5px; font-weight: 600;
    background: white; color: var(--primary-dark); border-radius: 50px;
    border: none; cursor: pointer; transition: var(--transition);
    letter-spacing: 0.3px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-primary-wms:hover { 
    background: white; 
    transform: translateY(-3px); 
    box-shadow: 0 12px 36px rgba(0,0,0,0.25); 
    color: var(--primary-dark);
}
.btn-outline-wms {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 16px 44px; font-size: 16.5px; font-weight: 600;
    background: rgba(255,255,255,0.08); color: white; 
    border: 2px solid rgba(255,255,255,0.5); border-radius: 50px;
    cursor: pointer; transition: var(--transition);
    backdrop-filter: blur(4px);
}
.btn-outline-wms:hover {
    background: white;
    color: var(--primary-dark);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.2);
}

/* Video Control Button */
.hero-video-control {
    position: absolute;
    bottom: 100px; right: 40px;
    z-index: 5;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255,255,255,0.3);
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s ease;
}
.hero-video-control:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
    transform: scale(1.08);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px; left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    animation: fadeInUp 1s ease 1.5s both;
}
.scroll-arrow {
    width: 24px; height: 24px;
    margin: 8px auto 0;
    border-right: 2px solid rgba(255,255,255,0.6);
    border-bottom: 2px solid rgba(255,255,255,0.6);
    transform: rotate(45deg);
    animation: scrollBounce 2s ease infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 1; }
    50% { transform: rotate(45deg) translate(6px, 6px); opacity: 0.4; }
}

/* Hero dots */
.wms-hero-dots {
    position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
    z-index: 4; display: flex; gap: 12px;
}
.wms-hero-dot {
    width: 14px; height: 14px; border-radius: 50%;
    background: rgba(255,255,255,0.35); cursor: pointer; transition: var(--transition);
    border: 2px solid transparent;
}
.wms-hero-dot:hover { background: rgba(255,255,255,0.6); }
.wms-hero-dot.active { 
    background: white; 
    width: 40px; border-radius: 7px; 
    border-color: rgba(255,255,255,0.3);
}

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

/* ========================================
   Section Common Styles
   ======================================== */
.wms-section { padding: 110px 0; }
.wms-section-gray { background: var(--bg-light); }
.wms-section-blue { background: var(--primary-bg); }
.wms-section-dark {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-dark) 100%);
    color: white;
}

.wms-section-title {
    text-align: center; margin-bottom: 68px;
}
.wms-section-title h2 {
    font-size: 40px; font-weight: 800; color: var(--text-primary); 
    margin-bottom: 16px; letter-spacing: -0.5px;
    line-height: 1.2;
}
.wms-section-dark .wms-section-title h2 { color: white; }
.wms-section-title p {
    font-size: 17px; color: var(--text-muted); max-width: 620px; margin: 0 auto;
    line-height: 1.7;
}
.wms-section-dark .wms-section-title p { color: rgba(255,255,255,0.7); }
.wms-section-title .title-line {
    width: 64px; height: 4px; background: linear-gradient(90deg, var(--primary), var(--primary-light)); 
    margin: 18px auto 0; border-radius: 2px;
}

/* ========================================
   Product Cards
   ======================================== */
.wms-product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media(max-width:1200px){ .wms-product-grid{ grid-template-columns:repeat(3,1fr); } }
@media(max-width:992px){ .wms-product-grid{ grid-template-columns:repeat(2,1fr); gap:20px; } }
@media(max-width:640px){ .wms-product-grid{ grid-template-columns:1fr; } }

.wms-product-card {
    background: white; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
}
.wms-product-card::before {
    content:''; position:absolute; top:0; left:0; right:0; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0; transition: opacity 0.4s;
}
.wms-product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.wms-product-card:hover::before { opacity: 1; }

.wms-product-card-img {
    height: 200px; overflow: hidden;
    background: linear-gradient(135deg, var(--primary-bg), #dbeafe);
    display: flex; align-items: center; justify-content: center;
}
.wms-product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.wms-product-card:hover .wms-product-card-img img { transform: scale(1.08); }
.wms-product-card-icon { font-size: 72px; color: var(--primary); opacity: 0.45; }

/* ========================================
   Product SVG Icons - Professional Style
   ======================================== */
.product-icon-bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-icon-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    animation: iconShimmer 8s linear infinite;
    pointer-events: none;
}

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

.product-svg-icon {
    width: 95px;
    height: 95px;
    color: currentColor;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.08));
}

.wms-product-card:hover .product-svg-icon {
    transform: scale(1.12) translateY(-5px);
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.15));
}

/* Icon Color Themes */
.product-icon-blue {
    background: linear-gradient(145deg, #eef2ff 0%, #dbeafe 50%, #c7d2fe 100%);
    color: #3b5998;
}
.product-icon-blue:hover { color: #2563eb; }

.product-icon-green {
    background: linear-gradient(145deg, #ecfdf5 0%, #d1fae5 50%, #a7f3d0 100%);
    color: #2d6a4f;
}
.product-icon-green:hover { color: #059669; }

.product-icon-orange {
    background: linear-gradient(145deg, #fff7ed 0%, #fed7aa 50%, #fdba74 100%);
    color: #c2410c;
}
.product-icon-orange:hover { color: #ea580c; }

.product-icon-purple {
    background: linear-gradient(145deg, #f5f3ff 0%, #ede9fe 50%, #ddd6fe 100%);
    color: #6b21a8;
}
.product-icon-purple:hover { color: #9333ea; }
.wms-product-card-body { padding: 24px 20px; }
.wms-product-card-body h3 {
    font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--text-primary);
    letter-spacing: -0.2px;
}
.wms-product-card-body h3 a { color: inherit; }
.wms-product-card-body h3 a:hover { color: var(--primary); }
.wms-product-card-body p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.wms-product-card-link {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 16px; font-size: 14px; color: var(--primary); font-weight: 600;
    transition: var(--transition);
}
.wms-product-card-link:hover { gap: 12px; color: var(--primary-dark); }

/* ========================================
   Feature Cards
   ======================================== */
.wms-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media(max-width:1200px){ .wms-feature-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:640px){ .wms-feature-grid{ grid-template-columns:1fr; } }

.wms-feature-item {
    text-align: center; padding: 44px 28px; border-radius: var(--radius-lg);
    background: white; transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative; overflow: hidden;
}
.wms-feature-item::after {
    content:''; position:absolute; bottom:0; left:50%; transform:translateX(-50%);
    width: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.4s ease;
    border-radius: 4px 4px 0 0;
}
.wms-feature-item:hover { 
    transform: translateY(-8px); 
    box-shadow: var(--shadow-md); 
    border-color: transparent;
}
.wms-feature-item:hover::after { width: 60%; }

.wms-feature-icon {
    width: 80px; height: 80px; border-radius: 20px; margin: 0 auto 24px;
    display: flex; align-items: center; justify-content: center;
    font-size: 34px; color: white;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    box-shadow: 0 8px 24px rgba(26,86,219,0.25);
    transition: transform 0.4s ease;
}
.wms-feature-item:hover .wms-feature-icon { transform: scale(1.1) rotate(-3deg); }

/* ========================================
   Feature Icons - Professional SVG Style
   ======================================== */
.feature-icon-svg {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-icon-svg svg {
    width: 44px;
    height: 44px;
    transition: all 0.35s ease;
}

.wms-feature-item:hover .feature-icon-svg {
    transform: scale(1.12) translateY(-4px) rotate(3deg);
    box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}

.wms-feature-item:hover .feature-icon-svg svg {
    transform: scale(1.08);
}

/* Feature Icon Color Themes */
.feature-icon-blue {
    background: linear-gradient(145deg, #dbeafe 0%, #bfdbfe 50%, #93c5fd 100%);
    color: #1e40af;
    box-shadow: 0 8px 24px rgba(30,64,175,0.18);
}
.feature-icon-blue:hover { box-shadow: 0 14px 36px rgba(30,64,175,0.28); }

.feature-icon-green {
    background: linear-gradient(145deg, #d1fae5 0%, #a7f3d0 50%, #6ee7b7 100%);
    color: #065f46;
    box-shadow: 0 8px 24px rgba(6,95,70,0.18);
}
.feature-icon-green:hover { box-shadow: 0 14px 36px rgba(6,95,70,0.28); }

.feature-icon-purple {
    background: linear-gradient(145deg, #ede9fe 0%, #ddd6fe 50%, #c4b5fd 100%);
    color: #5b21b6;
    box-shadow: 0 8px 24px rgba(91,33,182,0.18);
}
.feature-icon-purple:hover { box-shadow: 0 14px 36px rgba(91,33,182,0.28); }

.feature-icon-orange {
    background: linear-gradient(145deg, #fed7aa 0%, #fdba74 50%, #fb923c 100%);
    color: #c2410c;
    box-shadow: 0 8px 24px rgba(194,65,12,0.18);
}
.feature-icon-orange:hover { box-shadow: 0 14px 36px rgba(194,65,12,0.28); }

.feature-icon-red {
    background: linear-gradient(145deg, #fecaca 0%, #fca5a5 50%, #f87171 100%);
    color: #991b1b;
    box-shadow: 0 8px 24px rgba(153,27,27,0.18);
}
.feature-icon-red:hover { box-shadow: 0 14px 36px rgba(153,27,27,0.28); }

.feature-icon-cyan {
    background: linear-gradient(145deg, #cffafe 0%, #a5f3fc 50%, #67e8f9 100%);
    color: #0e7490;
    box-shadow: 0 8px 24px rgba(14,116,144,0.18);
}
.feature-icon-cyan:hover { box-shadow: 0 14px 36px rgba(14,116,144,0.28); }

.feature-icon-teal {
    background: linear-gradient(145deg, #ccfbf1 0%, #99f6e4 50%, #5eead4 100%);
    color: #115e59;
    box-shadow: 0 8px 24px rgba(17,94,89,0.18);
}
.feature-icon-teal:hover { box-shadow: 0 14px 36px rgba(17,94,89,0.28); }

.feature-icon-indigo {
    background: linear-gradient(145deg, #e0e7ff 0%, #c7d2fe 50%, #a5b4fc 100%);
    color: #3730a3;
    box-shadow: 0 8px 24px rgba(55,48,163,0.18);
}
.feature-icon-indigo:hover { box-shadow: 0 14px 36px rgba(55,48,163,0.28); }
.wms-feature-item h4 { font-size: 18px; font-weight: 700; margin-bottom: 12px; color: var(--text-primary); letter-spacing: -0.2px; }
.wms-feature-item p { font-size: 14.5px; color: var(--text-secondary); line-height: 1.7; }

/* ========================================
   Case / Solution Cards
   ======================================== */
.wms-case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media(max-width:1024px){ .wms-case-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:640px){ .wms-case-grid{ grid-template-columns:1fr; } }

/* Case List - caselist.html */
.case-item {
    background: white; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}
@media(max-width:768px){
    .case-item {
        flex-direction: column !important;
    }
    .case-item > div[style*="flex:0 0"] {
        flex: none !important;
        width: 100% !important;
        min-height: 200px !important;
        max-height: 220px !important;
    }
    .case-item > div[style*="flex:1"] {
        padding: 24px 20px !important;
    }
}

.wms-case-card {
    background: white; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.04);
}
.wms-case-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.wms-case-card-img { height: 220px; overflow: hidden; background: var(--bg-light); }
.wms-case-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.wms-case-card:hover .wms-case-card-img img { transform: scale(1.06); }
.wms-case-card-body { padding: 28px; }
.wms-case-card-body .tag {
    display: inline-block; padding: 5px 14px; font-size: 13px; font-weight: 600; 
    color: var(--primary); background: var(--primary-bg); 
    border-radius: 50px; margin-bottom: 14px; letter-spacing: 0.3px;
}
.wms-case-card-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.2px; }
.wms-case-card-body h3 a { color: inherit; }
.wms-case-card-body h3 a:hover { color: var(--primary); }
.wms-case-card-body p { font-size: 14.5px; color: var(--text-secondary); line-height: 1.7; }

/* ========================================
   News Cards
   ======================================== */
.wms-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media(max-width:1024px){ .wms-news-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:640px){ .wms-news-grid{ grid-template-columns:1fr; } }

.wms-news-card {
    background: white; border-radius: var(--radius-md); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.04);
}
.wms-news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.wms-news-card-img { height: 200px; overflow: hidden; background: var(--bg-light); }
.wms-news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.wms-news-card:hover .wms-news-card-img img { transform: scale(1.06); }
.wms-news-card-body { padding: 24px; }
.wms-news-card-body .date { 
    font-size: 13px; font-weight: 500; color: var(--primary); 
    margin-bottom: 10px; letter-spacing: 0.3px; 
}
.wms-news-card-body h3 { 
    font-size: 17px; font-weight: 700; margin-bottom: 10px; 
    line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical; overflow: hidden; letter-spacing: -0.2px;
}
.wms-news-card-body h3 a { color: inherit; }
.wms-news-card-body h3 a:hover { color: var(--primary); }
.wms-news-card-body p { 
    font-size: 14.5px; color: var(--text-secondary); line-height: 1.7; 
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; 
}

/* News list style */
.wms-news-list-item {
    display: flex; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.wms-news-list-item:hover { background: var(--bg-light); padding-left: 20px; padding-right: 20px; border-radius: var(--radius-sm); }
.wms-news-list-date {
    min-width: 76px; text-align: center;
    background: linear-gradient(135deg, var(--primary-bg), #dbeafe); 
    border-radius: 14px; padding: 14px 12px;
}
.wms-news-list-date .day { font-size: 32px; font-weight: 800; color: var(--primary); line-height: 1; }
.wms-news-list-date .ym { font-size: 12px; color: var(--text-muted); margin-top: 6px; font-weight: 500; }
.wms-news-list-info h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.2px; }
.wms-news-list-info p { font-size: 14.5px; color: var(--text-secondary); line-height: 1.7; }

/* More link */
.more-link {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; font-size: 15px; font-weight: 600;
    color: var(--primary); border: 2px solid var(--primary);
    border-radius: 50px; transition: var(--transition);
    background: white;
}
.more-link:hover { 
    background: var(--primary); color: white; 
    transform: translateY(-2px); 
    box-shadow: var(--shadow-md);
}
.mt-4 { margin-top: 48px; }

/* ========================================
   Page Layout
   ======================================== */
.wms-page-banner {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    padding: 78px 0 58px; text-align: center; color: white;
    position: relative; overflow: hidden;
}
.wms-page-banner::before {
    content:''; position:absolute; top:-50%; right:-10%;
    width: 400px; height: 400px; border-radius: 50%;
    background: rgba(255,255,255,0.04);
}
.wms-page-banner::after {
    content:''; position:absolute; bottom:-30%; left:-5%;
    width: 300px; height: 300px; border-radius: 50%;
    background: rgba(255,255,255,0.03);
}
.wms-page-banner h1 { 
    font-size: 40px; font-weight: 800; margin-bottom: 12px; 
    letter-spacing: -0.5px; position:relative; z-index:1;
}
.wms-page-banner p { font-size: 17px; opacity: 0.85; position:relative; z-index:1; }

.breadcrumb-wms {
    display: flex; justify-content: center; gap: 10px; margin-top: 18px; 
    font-size: 14px; opacity: 0.7; position:relative; z-index:1;
}
.breadcrumb-wms a { color: white; font-weight: 500; }
.breadcrumb-wms span { opacity: 0.5; }

/* Sidebar layout */
.wms-layout-main {
    display: grid; grid-template-columns: 280px 1fr; gap: 44px;
    padding: 56px 0;
}
.wms-sidebar {
    position: relative;
}
.wms-sidebar-toggle {
    display: none;
}
main.wms-main-content .mobile-contact-card {
    display: none !important;
}
.wms-sidebar-menu {
    background: white; border-radius: var(--radius-md); overflow: hidden;
    box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.05);
    position: sticky; top: 94px;
}
.wms-sidebar-menu a {
    display: block; padding: 16px 26px; font-size: 15px;
    color: var(--text-secondary); border-bottom: 1px solid var(--border);
    transition: all 0.25s ease; font-weight: 500;
}
.wms-sidebar-menu a:last-child { border-bottom: none; }
.wms-sidebar-menu a:hover,
.wms-sidebar-menu a.active { 
    color: var(--primary); 
    background: var(--primary-bg); 
    padding-left: 32px;
    font-weight: 600;
}

.wms-main-content { min-width: 0; }

/* Pagination */
.pagebar {
    display: flex; justify-content: center; align-items: center; gap: 8px;
    margin-top: 52px; flex-wrap: wrap;
}
.pagebar a,
.pagebar span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 42px; height: 42px; padding: 0 14px;
    font-size: 14.5px; font-weight: 500;
    border-radius: var(--radius-sm); border: 1px solid var(--border);
    background: white; color: var(--text-secondary); transition: var(--transition);
}
.pagebar a:hover,
.pagebar span:not(a):not(.page-first):not(.page-pre):not(.page-next):not(.page-last) { 
    color: white; background: var(--primary); border-color: var(--primary); 
    box-shadow: 0 4px 12px rgba(26,86,219,0.2);
}
.page-first,.page-pre,.page-next,.page-last { font-size: 13px; }

/* ========================================
   Detail Pages
   ======================================== */
.wms-detail { padding: 56px 0; }
.wms-detail-header { text-align: center; margin-bottom: 44px; }
.wms-detail-header h1 { font-size: 32px; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.3px; }
.wms-detail-meta {
    display: flex; justify-content: center; gap: 28px; font-size: 14.5px; color: var(--text-muted);
}
.wms-detail-body { font-size: 16.5px; line-height: 1.9; color: var(--text-secondary); }
.wms-detail-body img { max-width: 100%; border-radius: var(--radius-md); margin: 24px 0; box-shadow: var(--shadow-sm); }
.wms-detail-body h2, .wms-detail-body h3, .wms-detail-body h4 { color: var(--text-primary); margin: 28px 0 14px; font-weight: 700; }
.wms-detail-body p { margin-bottom: 18px; }

.wms-detail-nav {
    display: flex; justify-content: space-between; margin-top: 56px;
    padding-top: 28px; border-top: 2px solid var(--border);
}
.wms-detail-nav .nav-link { font-size: 14.5px; color: var(--text-secondary); max-width: 46%; transition: var(--transition); }
.wms-detail-nav .nav-link:hover { color: var(--primary); }
.wms-detail-nav .nav-label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 4px; font-weight: 600; }

/* ========================================
   About Page
   ======================================== */
.wms-about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.wms-about-intro-text h2 { font-size: 36px; font-weight: 800; margin-bottom: 24px; letter-spacing: -0.5px; }
.wms-about-intro-text p { font-size: 16px; color: var(--text-secondary); line-height: 1.85; margin-bottom: 18px; }
.wms-about-intro-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.wms-about-intro-img img { width: 100%; border-radius: var(--radius-lg); }

/* Stats */
.wms-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.wms-stat-item { text-align: center; padding: 38px 16px; }
.wms-stat-num { font-size: 48px; font-weight: 800; color: var(--primary); letter-spacing: -1px; }
.wms-stat-label { font-size: 15.5px; color: var(--text-secondary); margin-top: 10px; font-weight: 500; }

/* Contact */
.wms-contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 52px; }
.wms-contact-item {
    text-align: center; padding: 44px 28px; border-radius: var(--radius-lg);
    background: white; border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}
.wms-contact-item:hover { 
    transform: translateY(-6px); 
    box-shadow: var(--shadow-md); 
    border-color: transparent;
}
.wms-contact-icon { font-size: 44px; color: var(--primary); margin-bottom: 18px; }
.wms-contact-item h4 { font-size: 17px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.2px; }
.wms-contact-item p { font-size: 14.5px; color: var(--text-secondary); line-height: 1.7; }

/* ========================================
   Footer
   ======================================== */
.wms-footer {
    background: linear-gradient(135deg, #0d2137 0%, #162850 50%, #1a365d 100%); color: white;
    padding-top: 72px; position: relative; overflow: hidden;
}
.wms-footer::before {
    content:''; position:absolute; top:0; left:0; right:0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}
.wms-footer-top { 
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; 
    padding-bottom: 56px; 
}
.wms-footer-brand h3 { font-size: 24px; font-weight: 800; margin-bottom: 18px; letter-spacing: -0.3px; }
.wms-footer-brand p { font-size: 14.5px; opacity: 0.7; line-height: 1.8; }
.wms-footer-col h4 { 
    font-size: 16px; font-weight: 700; margin-bottom: 24px; 
    position: relative; letter-spacing: 0.2px;
}
.wms-footer-col h4::after {
    content: ''; display: block; width: 36px; height: 3px; 
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    margin-top: 12px; border-radius: 2px;
}
.wms-footer-col a { 
    display: block; font-size: 14.5px; opacity: 0.7; 
    padding: 7px 0; transition: all 0.25s ease; 
}
.wms-footer-col a:hover { opacity: 1; color: white; transform: translateX(6px); }
.wms-footer-col p { font-size: 14.5px; opacity: 0.7; line-height: 1.8; }

.wms-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0;
    text-align: center; font-size: 13.5px; opacity: 0.5;
}

/* ========================================
   Partner Grid
   ======================================== */
.wms-partner-grid { 
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 36px;
}
.wms-partner-item { 
    width: 150px; height: 74px; display: flex; align-items: center; justify-content: center;
    background: white; border-radius: 12px; border: 1px solid var(--border);
    padding: 14px 24px; opacity: 0.6; transition: var(--transition);
    filter: grayscale(100%);
}
.wms-partner-item:hover { opacity: 1; filter: grayscale(0); border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ========================================
   CTA Section
   ======================================== */
.wms-cta {
    text-align: center; padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white; position: relative; overflow: hidden;
}
.wms-cta::before {
    content:''; position:absolute; top:-100px; right:-100px;
    width: 400px; height: 400px; border-radius: 50%;
    background: rgba(255,255,255,0.03);
}
.wms-cta::after {
    content:''; position:absolute; bottom:-80px; left:-60px;
    width: 300px; height: 300px; border-radius: 50%;
    background: rgba(255,255,255,0.03);
}
.wms-cta h2 { font-size: 40px; font-weight: 800; margin-bottom: 18px; letter-spacing: -0.5px; position:relative; z-index:1; }
.wms-cta p { font-size: 18px; opacity: 0.88; margin-bottom: 38px; position:relative; z-index:1; line-height:1.6; }

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(32px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-32px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-32px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(32px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}
.animate-fadeUp { animation: fadeInUp 0.7s cubic-bezier(0.4,0,0.2,1) both; }

/* Utility */
.d-flex { display: flex; }
.justify-center { justify-content: center; }
.gap-2 { gap: 16px; }
.flex-wrap { flex-wrap: wrap; }
.text-center { text-align: center; }

/* Responsive */
@media(max-width:1200px){
    .container-wms{ padding:0 24px; }
    .wms-nav-inner{ padding:0 24px; }
    .wms-hero-title{ font-size:44px; }
    .wms-hero{ min-height:640px; }
    .wms-section{ padding:90px 0; }
    .wms-section-title h2{ font-size:34px; }
    .wms-footer-top{ grid-template-columns:1.5fr 1fr 1fr; gap:32px; }
    .wms-layout-main{ grid-template-columns:240px 1fr; gap:32px; }
}
@media(max-width:768px){
    .hide-on-mobile { display: none !important; }
    .wms-menu{ display:none; }
    .wms-mobile-toggle{ display:block; }

    /* Hide CTA in header on mobile (exists in mobile menu) */
    .wms-header-cta { display: none; }
    .wms-hero-title{ font-size:34px; }
    .wms-hero-subtitle{ font-size:17px; }
    .wms-hero{ min-height:560px; }
    .wms-hero-content{ padding:70px 20px 60px; }

    /* Video Control Mobile */
    .hero-video-control {
        bottom: 80px; right: 20px;
        width: 48px; height: 48px;
        font-size: 16px;
    }

    /* Scroll Indicator Mobile */
    .hero-scroll-indicator { display: none; }
    .wms-section{ padding:70px 0; }
    .wms-section-title{ margin-bottom:48px; }
    .wms-section-title h2{ font-size:28px; }
    .wms-page-banner{ padding:62px 0 46px; }
    .wms-page-banner h1{ font-size:30px; }
    .wms-footer-top{ grid-template-columns:1fr; gap:28px; }
    .wms-layout-main{ grid-template-columns:1fr; }
    .wms-sidebar-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 20px;
        background: white;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
        border: 1px solid rgba(0,0,0,0.05);
        font-size: 15px;
        font-weight: 600;
        color: var(--primary);
        cursor: pointer;
        margin-bottom: 16px;
    }
    .wms-sidebar-toggle svg {
        transition: transform 0.3s ease;
    }
    .wms-sidebar-menu {
        display: none !important;
        position: absolute;
        z-index: 100;
        width: calc(100% - 48px);
        left: 24px;
        margin-top: 4px;
    }
    aside.wms-sidebar #sidebar-contact {
        display: none !important;
    }
    main.wms-main-content .mobile-contact-card {
        display: block !important;
        background: white;
        border-radius: var(--radius-md);
        padding: 28px 24px;
        border: 1px solid rgba(0,0,0,0.05);
        box-shadow: var(--shadow-sm);
        text-align: center;
        margin-top: 32px;
    }
    .wms-about-intro{ grid-template-columns:1fr; gap:36px; }
    .wms-contact-grid{ grid-template-columns:1fr; }
    .wms-cta{ padding:70px 0; }
    .wms-cta h2{ font-size:28px; }
}
