/* ========== Design Tokens ========== */
:root {
  --primary: #0A1628;
  --primary-light: #1E293B;
  --tech-blue: #2563EB;
  --tech-blue-light: #3B82F6;
  --accent: #F97316;
  --accent-hover: #EA580C;
  --accent-glow: rgba(249, 115, 22, 0.3);
  --success: #10B981;
  --bg-white: #FFFFFF;
  --bg-light: #F8FAFC;
  --bg-section: #F1F5F9;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --font-display: 'Inter', 'Noto Sans SC', -apple-system, sans-serif;
  --font-body: 'Inter', 'Noto Sans SC', -apple-system, sans-serif;
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.16);
}

/* ========== Reset ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--bg-white);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-6); }

/* ========== Navbar ========== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.3s ease;
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex; align-items: center; gap: 0;
  font-weight: 700; font-size: 20px; color: var(--primary);
  font-family: var(--font-display);
}
.nav-logo .logo-img {
  height: 40px; width: auto; display: block;
}
.nav-links { display: flex; align-items: center; gap: var(--space-6); }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  transition: color 0.2s ease; position: relative;
  padding: var(--space-2) 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--tech-blue); }
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--tech-blue); border-radius: 1px;
  transform: scaleX(0); transition: transform 0.25s var(--ease-standard);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  padding: 10px 24px; border-radius: var(--radius-md);
  background: var(--accent); color: #fff !important;
  font-weight: 600; font-size: 14px;
  transition: all 0.25s var(--ease-spring) !important;
}
.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--accent-glow);
}
.mobile-toggle { display: none; flex-direction: column; gap: 5px; width: 28px; padding: 4px 0; background: none; }
.mobile-toggle span { display: block; height: 2px; background: var(--text-primary); border-radius: 2px; transition: all 0.3s ease; }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(255,255,255,0.98); padding: 100px var(--space-6) var(--space-6);
}
.mobile-menu.open { display: flex; flex-direction: column; gap: var(--space-2); }
.mobile-menu a {
  display: block; padding: var(--space-4); border-radius: var(--radius-md);
  font-size: 18px; font-weight: 500; color: var(--text-primary);
  transition: background 0.2s ease;
}
.mobile-menu a:hover { background: var(--bg-light); }
.mobile-menu .nav-cta { text-align: center; margin-top: var(--space-4); }

/* ========== Hero ========== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--primary) 0%, #0F1F3D 50%, #162D50 100%);
  padding-top: 72px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(37,99,235,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(249,115,22,0.08) 0%, transparent 40%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 10%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 10%, transparent 100%);
  pointer-events: none;
}
.hero .container {
  position: relative; z-index: 1; padding-top: var(--space-20); padding-bottom: var(--space-20);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: 8px 20px; border-radius: 9999px;
  background: rgba(37,99,235,0.15); border: 1px solid rgba(37,99,235,0.25);
  font-size: 13px; font-weight: 500; color: var(--tech-blue-light);
  margin-bottom: var(--space-8);
}
.hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(36px, 5.5vw, 60px); line-height: 1.15;
  color: #fff; letter-spacing: -0.02em; margin-bottom: var(--space-6);
}
.hero h1 .highlight { color: var(--accent); }
.hero p {
  font-size: clamp(15px, 1.8vw, 18px); color: rgba(255,255,255,0.7);
  max-width: 580px; line-height: 1.7; margin-bottom: var(--space-10);
}
.hero-actions { display: flex; gap: var(--space-4); flex-wrap: wrap; }
.btn-accent {
  padding: 16px 36px; border-radius: var(--radius-md);
  background: var(--accent); color: #fff; font-weight: 700; font-size: 16px;
  transition: all 0.25s var(--ease-spring);
  box-shadow: 0 4px 16px var(--accent-glow);
  position: relative; overflow: hidden;
}
.btn-accent::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0; transition: opacity 0.3s ease;
}
.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px var(--accent-glow);
}
.btn-accent:hover::before { opacity: 1; }
.btn-outline-white {
  padding: 16px 36px; border-radius: var(--radius-md);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: #fff; font-weight: 600; font-size: 16px;
  transition: all 0.25s var(--ease-spring);
}
.btn-outline-white:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
}

/* ========== Section Common ========== */
.section { padding: var(--space-24) 0; }
.section-header { text-align: center; margin-bottom: var(--space-16); }
.section-header .tag {
  display: inline-block; padding: 6px 16px; border-radius: 9999px;
  background: rgba(37,99,235,0.08);
  font-size: 12px; font-weight: 600; color: var(--tech-blue);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
}
.section-header h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(26px, 3.5vw, 40px); line-height: 1.2;
  color: var(--text-primary); margin-bottom: var(--space-4);
}
.section-header p {
  font-size: 16px; color: var(--text-secondary);
  max-width: 560px; margin: 0 auto;
}
.bg-light { background: var(--bg-light); }

/* ========== Bento Grid ========== */
.bento-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}
.bento-card {
  padding: var(--space-8); border-radius: var(--radius-lg);
  background: var(--bg-white);
  border: 1px solid var(--border);
  transition: all 0.35s var(--ease-standard);
  position: relative; overflow: hidden;
}
.bento-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--tech-blue), var(--accent));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease-standard);
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.bento-card:hover::before { transform: scaleX(1); }
.bento-card.wide { grid-column: span 2; }
.bento-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: var(--space-5);
  background: rgba(37,99,235,0.08);
  color: var(--tech-blue);
}
.bento-card h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 20px; margin-bottom: var(--space-3); color: var(--text-primary);
}
.bento-card p {
  font-size: 14px; color: var(--text-secondary); line-height: 1.7;
  margin-bottom: var(--space-4);
}
.bento-card .card-link {
  font-size: 14px; font-weight: 600; color: var(--tech-blue);
  display: inline-flex; align-items: center; gap: var(--space-2);
  transition: gap 0.25s ease;
}
.bento-card .card-link:hover { gap: var(--space-3); }

/* ========== Stats ========== */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6);
}
.stat-item { text-align: center; padding: var(--space-6) var(--space-4); }
.stat-item .number {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(36px, 5vw, 52px);
  background: linear-gradient(135deg, var(--tech-blue), var(--primary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1; margin-bottom: var(--space-2);
  display: inline-flex; align-items: baseline;
}
.stat-item .counter-num {
  -webkit-text-fill-color: transparent;
}
.stat-item .plus {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(36px, 5vw, 52px);
  background: linear-gradient(135deg, var(--tech-blue), var(--primary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-left: 2px;
}
.stat-item .label {
  font-size: 14px; color: var(--text-muted); font-weight: 500;
}

/* ========== QR Code Showcase ========== */
.qr-badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: linear-gradient(135deg, var(--tech-blue), #7C3AED);
  color: #fff; font-size: 12px; font-weight: 600;
  padding: 4px 12px; border-radius: 20px;
  letter-spacing: 0.5px;
}
.qr-showcase {
  display: flex; gap: var(--space-6); flex-wrap: wrap;
}
.qr-item {
  display: flex; flex-direction: column; align-items: center; gap: var(--space-3);
}
.qr-placeholder {
  width: 120px; height: 120px; border-radius: var(--radius-md);
  background: #fff; border: 2px dashed var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--text-muted); text-align: center;
  padding: var(--space-3); line-height: 1.4;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.qr-placeholder:hover {
  border-color: var(--tech-blue); background: #EFF6FF;
}
.qr-item span {
  font-size: 12px; color: var(--text-muted); font-weight: 500;
}

/* ========== Solution Visual Placeholder ========== */
.solution-visual {
  flex: 1; aspect-ratio: 4/3; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--bg-light), var(--border-light));
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.solution-visual img {
  width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg);
  transition: transform 0.5s ease;
}
.solution-visual:hover img {
  transform: scale(1.03);
}
.solution-visual .visual-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--space-3); color: var(--text-muted); text-align: center;
  padding: var(--space-8); width: 100%; height: 100%;
}
.solution-visual .visual-placeholder .placeholder-icon {
  font-size: 48px; opacity: 0.6;
  animation: float 3s ease-in-out infinite;
}
.solution-visual .visual-placeholder .placeholder-text {
  font-size: 13px; line-height: 1.5; max-width: 200px;
}
.solution-visual .visual-placeholder .placeholder-hint {
  font-size: 11px; color: var(--tech-blue); opacity: 0.7;
  margin-top: var(--space-2);
}
.solution-visual:hover {
  border-color: var(--tech-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ========== Solution ========== */
.solution-row {
  display: flex; align-items: center; gap: var(--space-16);
  margin-bottom: var(--space-16);
}
.solution-row:nth-child(even) { flex-direction: row-reverse; }
.solution-text { flex: 1; }
.solution-text h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 24px; margin-bottom: var(--space-4); color: var(--text-primary);
}
.solution-text p {
  font-size: 15px; color: var(--text-secondary); line-height: 1.7;
  margin-bottom: var(--space-6);
}
.solution-text ul li {
  padding: var(--space-2) 0; font-size: 14px; color: var(--text-secondary);
  display: flex; align-items: center; gap: var(--space-3);
}
.solution-text ul li::before {
  content: ''; display: block; width: 8px; height: 8px;
  border-radius: 50%; background: var(--tech-blue); flex-shrink: 0;
}
.solution-visual {
  flex: 1; aspect-ratio: 4/3; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--bg-light), var(--border-light));
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; color: var(--text-muted);
}

/* ========== Case Cards ========== */
.case-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6);
}
.case-card {
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  border: 1px solid var(--border);
  overflow: hidden; transition: all 0.35s var(--ease-standard);
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.case-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--tech-blue), var(--primary));
  display: flex; align-items: center; justify-content: center;
  font-size: 64px; color: rgba(255,255,255,0.3);
  overflow: hidden;
}
.case-thumb-link {
  display: block;
  text-decoration: none;
}
.case-thumb-link .case-thumb {
  transition: transform 0.4s var(--ease-standard);
}
.case-thumb-link:hover .case-thumb {
  transform: scale(1.05);
}
.case-body { padding: var(--space-6); }
.case-body .case-tag {
  display: inline-block; padding: 4px 12px; border-radius: 9999px;
  background: rgba(37,99,235,0.08); font-size: 12px;
  font-weight: 500; color: var(--tech-blue); margin-bottom: var(--space-3);
}
.case-body h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 18px; margin-bottom: var(--space-2);
}
.case-body p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }
.case-meta {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--space-4) var(--space-6); border-top: 1px solid var(--border-light);
  font-size: 13px; color: var(--text-muted);
}

/* ========== CTA Section ========== */
.cta-section {
  padding: var(--space-20) 0;
  background: linear-gradient(160deg, var(--primary) 0%, #0F1F3D 100%);
  position: relative; overflow: hidden; text-align: center;
}
.cta-section::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(249,115,22,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(26px, 3.5vw, 38px); color: #fff;
  margin-bottom: var(--space-4); position: relative;
}
.cta-section p {
  font-size: 16px; color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-8); position: relative;
}
.cta-section .hero-actions { justify-content: center; position: relative; }

/* ========== Footer ========== */
.footer {
  background: var(--primary); color: rgba(255,255,255,0.7);
  padding: var(--space-16) 0 var(--space-8);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8); margin-bottom: var(--space-12);
}
.footer-brand .nav-logo { margin-bottom: var(--space-4); color: #fff; }
.footer-brand .nav-logo .logo-img {
  height: 36px; filter: brightness(1.4) contrast(1.1);
}
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  font-weight: 600; font-size: 14px; color: #fff;
  margin-bottom: var(--space-5); text-transform: uppercase; letter-spacing: 0.06em;
}
.footer-col a {
  display: block; font-size: 14px; padding: var(--space-1) 0;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: var(--space-6); border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
}
.footer-bottom a { color: rgba(255,255,255,0.5); transition: color 0.2s ease; }
.footer-bottom a:hover { color: #fff; }

/* ========== Page Hero (sub pages) ========== */
.page-hero {
  padding-top: 120px; padding-bottom: var(--space-16);
  background: linear-gradient(160deg, var(--primary) 0%, #0F1F3D 100%);
  text-align: center; color: #fff;
}
.page-hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(32px, 4.5vw, 48px); margin-bottom: var(--space-4);
}
.page-hero p { font-size: 17px; color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto; }

/* ========== Contact Form ========== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12);
}
.contact-form .form-group { margin-bottom: var(--space-5); }
.contact-form label {
  display: block; font-size: 14px; font-weight: 500;
  color: var(--text-primary); margin-bottom: var(--space-2);
}
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); font-family: inherit; font-size: 14px;
  transition: all 0.2s ease; background: var(--bg-white);
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none; border-color: var(--tech-blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .btn-submit {
  padding: 14px 36px; border-radius: var(--radius-md);
  background: var(--accent); color: #fff; font-weight: 600; font-size: 15px;
  transition: all 0.25s var(--ease-spring);
}
.contact-form .btn-submit:hover {
  background: var(--accent-hover); transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--accent-glow);
}
.contact-info { padding-left: var(--space-8); }
.contact-info h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 20px; margin-bottom: var(--space-6);
}
.contact-info .info-item {
  display: flex; align-items: flex-start; gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.contact-info .info-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: rgba(37,99,235,0.08); color: var(--tech-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.contact-info .info-item h4 { font-size: 14px; font-weight: 600; margin-bottom: var(--space-1); }
.contact-info .info-item p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ========== About Page ========== */
.timeline { position: relative; padding-left: var(--space-8); }
.timeline::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--border);
}
.timeline-item {
  position: relative; padding-bottom: var(--space-10);
  padding-left: var(--space-8);
}
.timeline-item::before {
  content: ''; position: absolute; left: -5px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--tech-blue); border: 2px solid var(--bg-white);
  box-shadow: 0 0 0 2px var(--tech-blue);
}
.timeline-item .year {
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  color: var(--tech-blue); margin-bottom: var(--space-2);
}
.timeline-item p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

.cert-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6);
}
.cert-item {
  padding: var(--space-8); text-align: center;
  border-radius: var(--radius-lg); background: var(--bg-white);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.cert-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cert-item .cert-icon {
  font-size: 48px; margin-bottom: var(--space-4);
}
.cert-item h3 { font-size: 16px; font-weight: 600; margin-bottom: var(--space-2); }
.cert-item p { font-size: 13px; color: var(--text-muted); }

/* ========== News ========== */
.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6);
}
.news-card {
  border-radius: var(--radius-lg); background: var(--bg-white);
  border: 1px solid var(--border); overflow: hidden;
  transition: all 0.35s var(--ease-standard);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-thumb {
  aspect-ratio: 16/9; background: linear-gradient(135deg, var(--bg-section), var(--border));
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; color: var(--text-muted);
}
.news-body { padding: var(--space-6); }
.news-body .news-date { font-size: 12px; color: var(--text-muted); margin-bottom: var(--space-2); }
.news-body h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 17px; margin-bottom: var(--space-2); line-height: 1.4;
}
.news-body p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }



/* ========== Scroll Reveal ========== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s var(--ease-standard), transform 0.6s var(--ease-standard);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========== 案例筛选显示/隐藏 ========== */
.filter-show { 
  display: block !important; 
  opacity: 1 !important;
  transform: none !important;
}
.filter-hide { 
  display: none !important; 
}

/* 确保案例卡片初始显示 */
.case-card.filter-show {
  opacity: 1 !important;
  transform: none !important;
}

/* ========== 响应式布局（统一整理） ========== */

/* --- 大屏桌面：>= 1440px --- */
@media (min-width: 1440px) {
  .container { max-width: 1320px; }
  .hero h1 { font-size: 64px; }
  .section-header h2 { font-size: 44px; }
}

/* --- 平板：<= 1024px --- */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card.wide { grid-column: span 2; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .hardware-grid { grid-template-columns: repeat(2, 1fr); }
  
  .solution-row { flex-direction: column !important; gap: 32px; }
  .solution-text, .solution-visual { width: 100%; }
  
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { padding-left: 0; padding-top: 32px; }
  
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  
  .filter-bar { gap: 12px; flex-wrap: wrap; }
  .filter-group { min-width: 140px; }
}

/* --- 手机：<= 768px --- */
@media (max-width: 768px) {
  body { overflow-x: hidden; }
  .container { padding: 0 16px; }
  
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
  .navbar .container { height: 60px; }
  
  .hero { min-height: 100vh; padding-top: 60px; }
  .hero .container { padding-top: 48px; padding-bottom: 48px; }
  .hero-badge { font-size: 12px; padding: 6px 14px; }
  .hero-actions { flex-direction: column; align-items: center; gap: 12px; }
  .hero-actions a { width: 100%; max-width: 320px; text-align: center; }
  
  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }
  .section-header h2 { font-size: 26px; }
  
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card.wide { grid-column: span 1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .case-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .hardware-grid { grid-template-columns: 1fr; }
  
  .solution-row { gap: 24px; }
  .solution-text h3 { font-size: 20px; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  
  .page-hero { padding: 100px 0 48px; }
  .page-hero h1 { font-size: 28px; }
  
  .contact-grid { gap: 40px; }
  .contact-info { padding-top: 0; }
  
  .filter-bar { 
    flex-direction: column; 
    align-items: stretch; 
    gap: 12px; 
    padding: 16px; 
  }
  .filter-group { min-width: 100%; }
  .filter-select, .filter-input { width: 100%; height: 42px; }
  .search-input-group { display: flex; }
  .search-input-group .filter-input { flex: 1; }
  .search-btn { height: 42px; }
  
  .timeline { padding-left: 24px; }
  .timeline-item { padding-left: 20px; }
  
  .cta-section { padding: 64px 0; }
  .cta-section h2 { font-size: 24px; }
  .cta-section .hero-actions { flex-direction: column; align-items: center; }
  
  .photo-slider { width: 100%; overflow: hidden; }
  .slides-container { display: flex; width: 300%; }
  .slide { width: 33.333%; flex-shrink: 0; }
  .slide img { width: 100%; height: auto; }
  
  .case-card,
  .news-card,
  .bento-card,
  .cert-item {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  
  .btn-accent,
  .btn-outline-white,
  .nav-cta,
  .search-btn,
  .slider-prev,
  .slider-next,
  .mobile-toggle {
    min-height: 44px;
    min-width: 44px;
  }
  
  input, select, textarea, button {
    font-size: 16px !important;
  }
  
  h1, h2, h3, h4, h5, h6, p, span, a, li {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  img {
    max-width: 100% !important;
    height: auto !important;
  }
  
  /* Logo保持固定高度，不受通用img规则影响 */
  .nav-logo .logo-img {
    height: 36px !important;
    width: auto !important;
    max-width: 160px !important;
  }
  .footer-brand .nav-logo .logo-img {
    height: 32px !important;
    width: auto !important;
    max-width: 140px !important;
  }
  /* 直接内联样式的页脚 logo（cases/news/about 等页），方图需在移动端固定高度，否则会被 img 全局规则撑满整屏 */
  .footer-brand > img {
    height: 30px !important;
    width: auto !important;
    max-width: 150px !important;
  }

  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .reveal.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
}

/* --- 小屏手机：<= 480px --- */
@media (max-width: 480px) {
  .container { padding: 0 12px; }
  
  .nav-logo .logo-img {
    height: 32px !important;
    max-width: 140px !important;
  }
  .footer-brand .nav-logo .logo-img {
    height: 28px !important;
    max-width: 120px !important;
  }
  .footer-brand > img {
    height: 28px !important;
    width: auto !important;
    max-width: 130px !important;
  }

  .stats-grid { grid-template-columns: 1fr; }
  .stat-item .number { font-size: 36px; }
  .stat-item .label { font-size: 13px; }
  
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 14px; }
  
  .btn-accent, .btn-outline-white { 
    padding: 14px 24px; 
    font-size: 14px; 
  }
  
  .bento-card { padding: 24px; }
  .bento-card h3 { font-size: 18px; }
  .case-body { padding: 16px; }
  .case-body h3 { font-size: 16px; }
  .news-body { padding: 16px; }
  .news-body h3 { font-size: 16px; }
  
  .section { padding: 48px 0; }
  
  .page-hero h1 { font-size: 24px; }
  .page-hero p { font-size: 14px; }
  
  .photo-slider {
    margin-left: -12px;
    margin-right: -12px;
    width: calc(100% + 24px);
    border-radius: 0;
  }
  .slide-caption {
    font-size: 13px;
    padding: 8px 12px;
  }
}

/* 修复iOS Safari的100vh问题 */
@supports (-webkit-touch-callout: none) {
  .hero {
    min-height: -webkit-fill-available !important;
  }
  
  @media (max-width: 768px) {
    .hero {
      min-height: -webkit-fill-available !important;
    }
  }
}

/* 打印样式 */
@media print {
  .navbar, .mobile-menu, .hero-actions,
  .cta-section, .footer, .filter-bar { 
    display: none !important; 
  }
  .hero { 
    min-height: auto; 
    padding: 20px; 
    background: white; 
    color: black; 
  }
  .section { padding: 20px 0; }
  body { font-size: 12pt; }
}
