/* 
  Modern Premium Design System for Litai New Materials
  Theme: Clean Corporate Light (cnunc.com 1:1 clone)
*/
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap');

:root {
  /* Premium Corporate Bright Palette (Fortune & Prosperity Design) */
  /* 风水学“明堂亮堂”：底色改为透亮白，聚气生财 */
  --bg-base: #ffffff; 
  --bg-surface: #f8fafc;
  --bg-surface-glass: rgba(255, 255, 255, 0.85);
  --bg-surface-glass-light: rgba(248, 250, 252, 0.75);
  
  /* 五行“金”：力泰主色金橙，主旺正财 */
  --primary: #F9A800; 
  --primary-hover: #ffb822;
  --primary-glow: rgba(249, 168, 0, 0.2);
  
  /* 五行“水”：科技蓝，水管财，细水长流 */
  --accent: #3b82f6; 
  --accent-glow: rgba(59, 130, 246, 0.15);
  
  /* 字体反转为深色，稳如泰山，基业长青 */
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-inverse: #ffffff;
  
  /* 边框及阴影改为柔和淡色 */
  --border-light: rgba(0, 0, 0, 0.06);
  --border-strong: rgba(0, 0, 0, 0.12);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #F9A800 0%, #e09600 100%);
  --gradient-accent: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  --gradient-bg: none;
  
  /* Shadows */
  --shadow-glass: 0 4px 15px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 15px var(--primary-glow);
  --shadow-accent: 0 0 15px var(--accent-glow);
  
  /* Typography */
  --font-family: 'Outfit', 'Noto Sans SC', sans-serif;
  
  /* Layout */
  --container-width: 1920px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--bg-base);
  background-image: 
    radial-gradient(circle at 0% 0%, rgba(249, 168, 0, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 100% 0%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 30px 30px, 30px 30px;
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }
.container { width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 0 4vw; }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; color: var(--text-main); letter-spacing: -0.02em; }
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glassmorphism Utilities */
.glass-panel {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-glass);
  border-radius: var(--radius-lg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: var(--transition-normal);
  cursor: pointer;
  border: none;
  font-size: 1.125rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(255,255,255,0.1); transform: scaleX(0); transform-origin: right;
  transition: transform var(--transition-normal); z-index: -1;
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-primary { background: var(--gradient-primary); color: white; box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 30px var(--primary-glow); }
.btn-secondary { background: var(--bg-surface-glass-light); color: var(--text-main); border: 1px solid var(--border-strong); backdrop-filter: blur(10px); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary-hover); transform: translateY(-3px); }

/* Header & Nav */
/* Header */
.header { position: fixed; width: 100%; top: 0; z-index: 1000; background: var(--bg-surface-glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transition: var(--transition-normal); border-bottom: 1px solid var(--border-light); }
.header.scrolled {
  background: var(--bg-surface-glass);
  backdrop-filter: blur(10px);
}

/* Top Bar */
.top-bar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  padding: 0.4rem 0; font-size: 0.75rem; color: var(--text-muted); transition: var(--transition-fast);
}
.header.scrolled .top-bar { display: none; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.top-contact { display: flex; align-items: center; gap: 0.5rem; }
.top-bar-right { display: flex; align-items: center; gap: 1.5rem; }
.top-search { position: relative; display: flex; align-items: center; }
.top-search input {
  background: var(--bg-surface-glass); border: 1px solid var(--border-light);
  padding: 0.3rem 1rem 0.3rem 2rem; color: var(--text-main);
  font-size: 0.75rem; outline: none; width: 150px; transition: var(--transition-fast);
}
.top-search input:focus { border-color: var(--primary); width: 200px; }
.top-search button { position: absolute; left: 8px; background: none; border: none; color: var(--text-muted); cursor: pointer; display: flex; }
.lang-switch { color: var(--text-muted); font-weight: 600; text-decoration: none; }
.lang-switch:hover { color: var(--primary); }

.header-main { padding: 0; transition: var(--transition-normal); }
.header-main .container { display: flex; justify-content: flex-start; align-items: stretch; height: 80px; }
.header.scrolled .header-main .container { height: 60px; }

  .logo { display: flex; align-items: center; gap: 1rem; margin-right: 1.5rem; }
  .logo-img { height: 52px; transition: var(--transition-normal); }
  .logo-text { display: flex; align-items: baseline; gap: 1.5rem; }
  .logo-text .text { white-space: nowrap; }
  .logo-text .title { font-size: 1.4rem; color: var(--text-main); font-weight: 800; font-family: 'Noto Sans SC', sans-serif; letter-spacing: 1px; line-height: 1; }
  .logo-text .subtitle { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; letter-spacing: 2px; }

.nav-list { display: flex; align-items: stretch; gap: 0; height: 100%; }
.nav-item { height: 100%; display: flex; align-items: center; }
.nav-link {
  font-weight: 500; color: var(--text-main); font-size: 1rem; padding: 0 1.2rem;
  display: flex; align-items: center; text-decoration: none; position: relative;
  transition: color 0.3s; white-space: nowrap;
}
.nav-link:hover, .nav-link.active, .nav-item-dropdown:hover .nav-link { color: var(--primary); }
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 3px; background: var(--primary); transition: width 0.3s;
}
.nav-item:hover .nav-link::after, .nav-link.active::after { width: 100%; }

/* Mega Menu */
.dropdown-icon { margin-left: 4px; transition: transform 0.3s; }
.nav-item-dropdown:hover .dropdown-icon { transform: rotate(180deg); }

.mega-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(15px);
  opacity: 0; visibility: hidden; width: 950px; min-height: 400px;
  background: var(--bg-surface-glass); border-top: 3px solid var(--primary);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); padding: 2.5rem; z-index: 1001; pointer-events: none;
}
.nav-item-dropdown:hover .mega-menu {
  transform: translateX(-50%) translateY(0); opacity: 1; visibility: visible; pointer-events: auto;
}
.mega-menu-inner { display: flex; margin: 0 auto; min-height: 320px; }
.mega-left { flex: 0 0 280px; padding-right: 3rem; border-right: 1px solid var(--border-light); padding-left: 1rem; }
.mega-contact-card { display: flex; flex-direction: column; justify-content: center; height: 100%; }
.mega-contact-card h4 { color: var(--text-main); margin-bottom: 1rem; font-size: 1.1rem; border-bottom: 1px solid var(--border-light); padding-bottom: 0.5rem; }
.mega-contact-card p { font-size: 0.9rem; margin-bottom: 0.5rem; color: var(--text-muted); }
.mega-contact-card .phone { font-size: 1.6rem; font-weight: 700; color: var(--primary); margin-bottom: 1rem; font-family: 'Outfit'; }
.qr-codes { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1rem; }
.qr-item { text-align: center; }
.qr-item .img { width: 110px; height: 110px; background: transparent; margin-bottom: 0.5rem; display: flex; align-items: center; justify-content: center; margin-inline: auto; }
.qr-item .img img { max-width: 80%; max-height: 80%; }
.qr-item .text { font-size: 0.75rem; color: var(--text-muted); }
.mega-contact-card .address { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }
.mega-contact-card .address strong { color: var(--text-main); display: block; margin-top: 0.8rem; }
.mega-contact-card .address p { margin-bottom: 0; }

.mega-right { flex: 1; display: flex; flex-direction: column; gap: 1rem; padding-left: 3rem; }
.mega-right.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; }
.mega-right.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem 1rem; }
.mega-link {
  display: flex; flex-direction: column; padding: 0.5rem 1rem; border-radius: 4px;
  transition: var(--transition-fast); background: transparent; text-decoration: none !important; border-left: 3px solid transparent;
}
.mega-link .cn { font-weight: 600; color: var(--text-main); margin-bottom: 0; letter-spacing: 1px; transition: var(--transition-fast); }
.mega-link .en { display: none; }
.mega-link:hover { background: var(--bg-surface); border-left-color: var(--primary); transform: translateX(5px); }
.mega-link:hover .cn { color: var(--primary); }

/* Animations - Scroll Reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: all var(--transition-slow); }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: all var(--transition-slow); }
.reveal-left.active { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(50px); transition: all var(--transition-slow); }
.reveal-right.active { opacity: 1; transform: translateX(0); }
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* Global Section Styles */
section { padding: 8rem 0; position: relative; }
.section-header { text-align: center; margin-bottom: 5rem; max-width: 800px; margin-inline: auto; }
.section-label {
  display: inline-block; padding: 0.4rem 1.2rem; background: var(--bg-surface-glass-light);
  color: var(--primary-hover); font-size: 0.9rem; font-weight: 700; border-radius: var(--radius-pill);
  margin-bottom: 1.5rem; border: 1px solid var(--border-light); text-transform: uppercase; letter-spacing: 0.1em;
}
.section-title { font-size: 3rem; margin-bottom: 1.5rem; }
.section-desc { font-size: 1.25rem; color: var(--text-muted); }

/* Hero Section */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; padding-top: 100px; text-align: left;
}
.hero-bg-shapes {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; overflow: hidden; pointer-events: none;
}
.hero-bg-shapes .shape1 {
  position: absolute; top: -10%; right: -5%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.2) 0%, transparent 70%); border-radius: 50%; filter: blur(40px);
}
.hero-bg-shapes .shape2 {
  position: absolute; bottom: -20%; left: -10%; width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(245,158,11,0.1) 0%, transparent 70%); border-radius: 50%; filter: blur(60px);
}
.hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 4rem; width: 100%; position: relative; z-index: 10; }
.hero-content { max-width: 650px; margin: 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1.5rem;
  background: var(--bg-surface-glass); border: 1px solid var(--border-light); border-radius: var(--radius-pill);
  color: var(--text-main); font-size: 0.9rem; font-weight: 600; margin-bottom: 2rem; backdrop-filter: blur(10px);
}
.hero-badge span { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 10px var(--primary); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(249, 168, 0, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(249, 168, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(249, 168, 0, 0); } }
.hero h2 { font-size: 4.5rem; margin-bottom: 1.5rem; line-height: 1.1; }
.hero p { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 3rem; max-width: 600px; margin-inline: 0; }
.hero-buttons { display: flex; gap: 1.5rem; justify-content: flex-start; margin-bottom: 0; }

.hero-visual { flex: 1; display: flex; justify-content: flex-end; }
.hero-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; border-top: none; padding-top: 0; width: 100%; max-width: 500px;
}
.hero-stats .stat-item {
  background: var(--bg-surface-glass); padding: 2rem 1.5rem; border-radius: var(--radius-lg);
  border: 1px solid var(--border-light); backdrop-filter: blur(16px); align-items: flex-start; box-shadow: var(--shadow-glass);
}
.hero-stats .stat-item:nth-child(3) { grid-column: span 2; }
.stat-item { display: flex; flex-direction: column; align-items: flex-start; }
.stat-number { font-size: 3rem; font-weight: 900; line-height: 1; margin-bottom: 0.5rem; font-family: 'Outfit', sans-serif; }
.stat-number span { color: var(--primary); font-size: 2.5rem; }
.stat-label { font-size: 0.9rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }

/* Solutions / Core Business */
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.solution-card {
  padding: 3rem 2.5rem; transition: var(--transition-normal); position: relative; overflow: hidden;
  display: flex; flex-direction: column; height: 100%;
}
.solution-card:hover { transform: translateY(-10px); border-color: var(--primary-glow); box-shadow: var(--shadow-glow); }
.solution-icon {
  width: 72px; height: 72px; background: rgba(249, 168, 0, 0.1); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; margin-bottom: 2rem; color: var(--primary);
}
.solution-icon svg { width: 40px; height: 40px; stroke-width: 1.5; }
.solution-card h3 { font-size: 1.75rem; margin-bottom: 1rem; }
.solution-card p { color: var(--text-muted); margin-bottom: 2rem; flex-grow: 1; }
.solution-features { margin-bottom: 2.5rem; }
.solution-features li {
  position: relative; padding-left: 2rem; margin-bottom: 0.75rem; color: var(--text-main); font-weight: 500;
}
.solution-features li::before {
  content: ''; position: absolute; left: 0; top: 6px; width: 20px; height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/200.svg' viewBox='0 0 24 24' fill='none' stroke='%23F9A800' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: cover;
}

/* Solutions & Products Section */
.solutions-section, .products-section { position: relative; overflow: hidden; z-index: 1; }
.solutions-section::before, .products-section::before { content: ''; position: absolute; top: -10%; left: -10%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%); border-radius: 50%; filter: blur(60px); z-index: -1; pointer-events: none; }
.solutions-section::after, .products-section::after { content: ''; position: absolute; bottom: -20%; right: -5%; width: 700px; height: 700px; background: radial-gradient(circle, rgba(245,158,11,0.06) 0%, transparent 70%); border-radius: 50%; filter: blur(80px); z-index: -1; pointer-events: none; }
.products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; }
.product-card {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-light);
  display: flex; background: var(--bg-base); transition: var(--transition-normal);
}
.product-card:hover { border-color: var(--primary); transform: translateY(-5px); box-shadow: var(--shadow-glass); }
.product-visual {
  flex: 0 0 45%; position: relative; overflow: hidden; background: var(--bg-surface-glass);
  display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--border-light);
}
.product-visual svg { width: 120px; height: 120px; color: var(--primary); opacity: 0.8; transition: var(--transition-normal); }
.product-card:hover .product-visual svg { transform: scale(1.1); opacity: 1; }
.product-visual::after {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(45deg, rgba(249,168,0,0.1), transparent);
}
.product-content { padding: 3.5rem 2.5rem; flex: 1; position: relative; }
.product-number {
  position: absolute; top: 1.5rem; right: 2rem; font-size: 5rem; font-weight: 900;
  color: rgba(255,255,255,0.03); line-height: 1; font-family: 'Outfit';
}
.product-content h3 { font-size: 2rem; margin-bottom: 1.25rem; }
.product-content p { color: var(--text-muted); margin-bottom: 2rem; }
.product-tags { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.tag {
  padding: 0.4rem 1rem; background: var(--bg-surface); color: var(--primary-hover);
  font-size: 0.85rem; border-radius: var(--radius-pill); font-weight: 600; border: 1px solid var(--border-light);
}
.link-arrow { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--text-main); font-weight: 600; }
.link-arrow svg { width: 20px; height: 20px; transition: transform var(--transition-fast); }
.link-arrow:hover { color: var(--primary); }
.link-arrow:hover svg { transform: translateX(5px); }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
.feature-item { text-align: center; padding: 2.5rem 2rem; }
.feature-icon {
  width: 80px; height: 80px; background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0));
  border: 1px solid var(--border-light); border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 2rem; color: var(--primary); transition: var(--transition-normal); box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}
.feature-icon svg { width: 36px; height: 36px; }
.feature-item:hover .feature-icon {
  background: var(--primary); color: white; transform: scale(1.1); box-shadow: var(--shadow-glow); border-color: var(--primary);
}
.feature-item h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.feature-item p { color: var(--text-muted); }

/* Cases Section */
.cases-section { position: relative; overflow: hidden; z-index: 1; }
.cases-section::before { content: ''; position: absolute; top: 20%; right: -10%; width: 800px; height: 800px; background: radial-gradient(circle, rgba(37,99,235,0.05) 0%, transparent 70%); border-radius: 50%; filter: blur(80px); z-index: -1; pointer-events: none; }
.cases-section::after { content: ''; position: absolute; bottom: 10%; left: -15%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(245,158,11,0.05) 0%, transparent 70%); border-radius: 50%; filter: blur(70px); z-index: -1; pointer-events: none; }
.case-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.filter-btn { background: var(--bg-base); color: var(--text-muted); border: 1px solid var(--border-light); padding: 0.5rem 1.5rem; border-radius: var(--radius-pill); cursor: pointer; transition: var(--transition-fast); font-weight: 500; font-size: 0.95rem; }
.filter-btn:hover, .filter-btn.active { background: var(--primary); color: white; border-color: var(--primary); box-shadow: var(--shadow-glow); }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.case-card {
  border-radius: var(--radius-lg); overflow: hidden; background: transparent;
  border: 1px solid var(--border-light); transition: var(--transition-normal);
}
.case-card:hover { transform: translateY(-8px); border-color: var(--primary); box-shadow: var(--shadow-glass); }
.case-image {
  height: 240px; background: var(--bg-surface); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.case-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); border-radius: 0; }
.case-image::after {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.5));
}
.case-card:hover .case-image img { transform: scale(1.1); }
.case-tag {
  position: absolute; bottom: 1.5rem; left: 1.5rem; z-index: 10;
  display: inline-block; font-size: 0.8rem; color: white; background: var(--primary);
  padding: 0.3rem 0.8rem; border-radius: var(--radius-pill); font-weight: 600;
}
.case-content { padding: 2rem; }
.case-content h3 { font-size: 1.25rem; margin-bottom: 0.75rem; color: var(--text-main); }
.case-content p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1rem; }
.case-stats { border-top: 1px solid var(--border-light); padding-top: 1rem; margin-top: auto; }
.stat-pill { display: inline-block; background: rgba(249,168,0,0.1); color: var(--primary); font-size: 0.8rem; padding: 0.3rem 0.8rem; border-radius: var(--radius-sm); }

/* CTA Section */
.cta-section { text-align: center; padding: 6rem 0; position: relative; overflow: hidden; z-index: 1; }
.cta-section::before { content: ''; position: absolute; top: -50%; left: 50%; transform: translateX(-50%); width: 1000px; height: 1000px; background: radial-gradient(circle, rgba(245,158,11,0.06) 0%, transparent 70%); border-radius: 50%; filter: blur(100px); z-index: -1; pointer-events: none; }
.cta-box {
  background: var(--bg-base); border: 1px solid var(--border-light);
  padding: 4rem 4rem; border-radius: var(--radius-lg);
  max-width: 900px; margin: 0 auto; box-shadow: var(--shadow-glass); position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--primary);
}
.cta-section h2 { font-size: 2.5rem; margin-bottom: 1.5rem; color: var(--text-main); }
.cta-section p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 3rem; }

/* Footer */
.footer { background: transparent; padding-top: 4rem; color: var(--text-muted); border-top: 1px solid var(--border-light); }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 4rem; margin-bottom: 3rem; }
.footer-brand h3 { font-size: 1.75rem; margin-bottom: 1rem; color: var(--text-main); }
.footer-brand p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 0.95rem; line-height: 1.6; }
.footer-socials { display: flex; gap: 1rem; }
.social-icon {
  width: 40px; height: 40px; border-radius: 50%; background: #333;
  display: flex; align-items: center; justify-content: center; color: #ccc; transition: var(--transition-fast);
}
.social-icon:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.footer-column h4 { font-size: 1.15rem; margin-bottom: 2rem; color: var(--text-main); position: relative; padding-bottom: 0.5rem; }
.footer-column h4::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--primary);
}
.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column ul { display: flex; flex-direction: column; gap: 1rem; }
.footer-column ul a { color: var(--text-muted); font-size: 0.95rem; text-decoration: none; transition: var(--transition-fast); }
.footer-column ul a:hover { color: var(--primary); padding-left: 5px; }
.footer-bottom { border-top: 1px solid var(--border-light); padding: 2rem 0; text-align: center; color: var(--text-muted); font-size: 0.9rem; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner { gap: 2rem; }
  .hero h2 { font-size: 3.5rem; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats .stat-item:nth-child(3) { grid-column: auto; }
  .solutions-grid, .products-grid, .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-content { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .hero-inner { flex-direction: column; text-align: center; margin-top: 2rem; }
  .hero-content { max-width: 100%; }
  .hero h2 { font-size: 2.8rem; }
  .hero-buttons { justify-content: center; flex-direction: column; width: 100%; gap: 1rem; }
  .hero-buttons .btn { width: 100%; }
  .hero-visual { width: 100%; justify-content: center; margin-top: 2rem; }
  .hero-stats { grid-template-columns: 1fr; width: 100%; }
  .stat-item { align-items: center; text-align: center; }
  
  .nav-list { display: none; /* Add mobile menu icon in HTML later */ }
  .solutions-grid, .products-grid, .cases-grid, .features-grid { grid-template-columns: 1fr; }
  .product-card { flex-direction: column; }
  .product-visual { padding: 4rem 0; border-right: none; border-bottom: 1px solid var(--border-light); }
  .cta-box { padding: 3rem 1.5rem; }
  .cta-section h2 { font-size: 2.2rem; }
  .footer-content { grid-template-columns: 1fr; }
  
  /* Fix Mobile Header Overlap */
  .top-search { display: none !important; }
  .logo { gap: 0.5rem; margin-right: 0; }
  .logo-img { height: 36px; }
  .logo-text .title { font-size: 1.2rem; }
  .header-actions { gap: 0.8rem; margin-right: 0.5rem; }
}

/* Mobile Menu Responsive */
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; color: var(--text-main); padding: 0.5rem; margin-left: auto; }

@media (max-width: 1350px) {
    .logo-text .subtitle { display: none; }
    .nav-list {
        position: absolute; top: 100%; left: 0; width: 100%;
        background: var(--bg-surface-glass);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        display: none !important;
        border-top: 1px solid var(--border-light);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        padding: 0; height: auto !important;
        z-index: 1000;
        max-height: 75vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .nav-list.mobile-active { display: flex !important; }
    .nav-item { height: auto !important; width: 100%; border-bottom: 1px solid var(--border-light); display: flex; flex-direction: column; align-items: flex-start; }
    .nav-item:last-child { border-bottom: none; }
    .nav-link { padding: 1rem 2rem; display: flex; width: 100%; justify-content: space-between; }
    .mobile-menu-btn { display: block; }
    .header-tools { display: none !important; }
    
    .mega-menu { 
        position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; 
        padding: 1rem 0; border-top: none; width: 100%; min-height: auto; 
    }
    .nav-item:hover .mega-menu, .nav-item-dropdown:active .mega-menu { opacity: 1; visibility: visible; transform: none; display: block; }
    .mega-menu-inner { flex-direction: column; min-height: auto; }
    .mega-left { display: none; } /* Hide bulky QR codes in mobile menu */
    .mega-right { padding-left: 1rem; padding-right: 1rem; gap: 0.8rem; display: flex; flex-wrap: wrap; flex-direction: row; }
    .mega-right.grid-2, .mega-right.grid-3 { display: flex; flex-wrap: wrap; flex-direction: row; gap: 0.8rem; }
    .mega-link { padding: 0.5rem 1rem; margin-left: 0; border-left: none; border: 1px solid var(--border-light); border-radius: 20px; background: var(--bg-surface); flex: 0 0 auto; width: auto; text-align: center; }
    .mega-link:hover { background: var(--primary); color: white; border-color: var(--primary); transform: translateY(-2px); }
    .mega-link:hover .cn { color: white; }
}

.header-actions { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }


/* Cases Grid Image Hover Effects */
.case-card:hover .case-hover-img {
    transform: scale(1.08) !important;
}
.case-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.case-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px) !important;
}

/* Product Catalog Layout */
.catalog-container { display: flex; gap: 2rem; align-items: flex-start; }
.catalog-sidebar { flex: 0 0 250px; background: var(--surface); border: 1px solid var(--border-light); border-radius: 8px; padding: 1.5rem 0; position: sticky; top: 100px; }
.catalog-sidebar-title { font-size: 1.2rem; font-weight: 600; color: var(--text-main); padding: 0 1.5rem 1rem; margin-bottom: 0.5rem; border-bottom: 1px solid var(--border-light); }
.catalog-nav { list-style: none; margin: 0; padding: 0; }
.catalog-nav-item { display: block; }
.catalog-nav-link { display: flex; align-items: center; justify-content: space-between; padding: 0.8rem 1.5rem; color: var(--text-light); text-decoration: none; font-weight: 500; transition: all 0.3s ease; border-left: 3px solid transparent; }
.catalog-nav-link:hover, .catalog-nav-link.active { color: var(--primary); background: var(--primary-light); border-left-color: var(--primary); }
.catalog-main { flex: 1; }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }
.sku-card { background: transparent; border: none; border-radius: 8px; overflow: hidden; transition: all 0.3s ease; display: flex; flex-direction: column; text-decoration: none;  }
.sku-card:hover { transform: translateY(-5px); }
.sku-image-wrapper { aspect-ratio: 1; overflow: hidden; background: transparent; display: flex; align-items: center; justify-content: center; padding: 1.5rem;  }
.sku-image-wrapper img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform 0.3s ease;     filter: contrast(1.2) brightness(1.1);  }
.sku-card:hover .sku-image-wrapper img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform 0.3s ease;     filter: contrast(1.2) brightness(1.1);  }
.sku-content { padding: 1rem; text-align: center; background: transparent; border: none; }
.sku-title { font-size: 1rem; font-weight: 500; color: var(--text-main); margin: 0; }
.catalog-pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; }
.page-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 4px; border: 1px solid var(--border-light); background: var(--surface); color: var(--text-main); text-decoration: none; font-weight: 500; transition: all 0.3s ease; }
.page-btn:hover, .page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

@media (max-width: 768px) {
    .catalog-container { flex-direction: column; }
    .catalog-sidebar { width: 100%; flex: none; position: static; }
}

/* --- Product Detail Modal --- */
.product-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
}
.product-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.product-modal {
    background: #fff;
    width: 90%;
    max-width: 800px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: row;
    position: relative;
}
.product-modal-overlay.active .product-modal {
    transform: translateY(0);
}
.pm-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
    z-index: 10;
}
.pm-close:hover {
    color: var(--primary);
}
.pm-image {
    flex: 1;
    background: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}
.pm-image img { max-width: 100%; max-height: 400px; object-fit: contain;     filter: contrast(1.2) brightness(1.1);  }
.pm-content {
    flex: 1;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
}
.pm-title {
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    font-weight: 600;
}
.pm-divider {
    width: 40px;
    height: 3px;
    background: var(--primary);
    margin-bottom: 1.5rem;
}
.pm-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}
.pm-specs li {
    display: flex;
    padding: 0.8rem 0;
    border-bottom: 1px dashed #eee;
    font-size: 0.95rem;
}
.pm-specs li span:first-child {
    width: 100px;
    color: #888;
}
.pm-specs li span:last-child {
    color: var(--text-main);
    font-weight: 500;
}
.pm-action {
    margin-top: auto;
}
.pm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    background: var(--primary);
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}
.pm-btn:hover {
    background: #e68a00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
}

@media (max-width: 768px) {
    .product-modal {
        flex-direction: column;
        max-height: 90vh;
        overflow-y: auto;
    }
    .pm-image {
        padding: 1.5rem;
    }
    .pm-image img { max-width: 100%; max-height: 400px; object-fit: contain;     filter: contrast(1.2) brightness(1.1);  }
    .pm-content {
        padding: 2rem 1.5rem;
    }
}

/* Explicit Transparency Overrides for Cases Placeholders */
.case-card {
    background: transparent !important;\n    opacity: 0 !important;
}
.case-image-wrapper {
    background: transparent !important;\n    opacity: 0 !important;
}
.case-hover-img[src*="white_placeholder.png"] {
    background: transparent !important;\n    opacity: 0 !important;
}
.case-hover-img[src*="white_placeholder.png"] + .case-overlay {
    display: none !important;
}

/* Honors Category Cards */
.honors-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.honor-category-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.honor-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    width: 100%;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}
.honor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.honor-card-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}
.honor-card-images img {
    height: 100px;
    width: auto;
    object-fit: contain;
    border: 1px solid #eee;
    padding: 4px;
    border-radius: 4px;
    transition: transform 0.3s;
    background: #fff;
}
.honor-card-images img:hover {
    transform: scale(1.8);
    z-index: 10;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.honor-category-title {
    margin-top: 1.5rem;
    color: var(--text-main);
    font-weight: 600;
    font-size: 1.25rem;
    text-align: center;
}

/* Image Lightbox Modal */
.image-lightbox-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.85);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(8px);
}
.image-lightbox-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.image-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}
.image-lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.5);
    object-fit: contain;
}
.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
    font-family: Arial, sans-serif;
    transition: color 0.3s;
}
.lightbox-close:hover {
    color: var(--primary);
}
