:root {
  --lx-primary: #1a6fb5;
  --lx-primary-dark: #0f4c81;
  --lx-ink: #0f172a;
  --lx-line: #e2e8f0;
  --lx-soft: #eff6ff;
  --lx-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --lx-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
.duration-400 {
  transition-duration: 400ms;
}

#header.scrolled,
#header.nav-scrolled {
  border-bottom-color: #e2e8f0;
}

.group:hover .logo-icon::before {
  transform: translateX(100%);
}

/* ============================================
   Hero Orbs & Decorations
   ============================================ */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.55;
}

/* ============================================
   Hero Section
   ============================================ */
.lx-hero::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.35) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  filter: blur(60px);
  pointer-events: none;
  animation: hero-orb-float 8s ease-in-out infinite;
}

@keyframes hero-orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, 20px) scale(1.1); }
}

.lx-hero-orb-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
  bottom: -150px;
  left: -100px;
  filter: blur(60px);
  pointer-events: none;
  animation: hero-orb-float-2 10s ease-in-out infinite;
}

@keyframes hero-orb-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.15); }
}

/* Hero cards - glassmorphism effect */
.lx-card {
  position: relative;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(15, 60, 120, 0.12),
              0 2px 8px rgba(15, 60, 120, 0.08);
  transition: transform 0.4s var(--lx-ease),
              box-shadow 0.4s var(--lx-ease),
              background 0.3s var(--lx-ease);
}

.lx-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 16px 48px rgba(15, 60, 120, 0.18),
              0 4px 16px rgba(15, 60, 120, 0.1);
}

.lx-hero-badge:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

/* ============================================
   Stats Bar
   ============================================ */
.lx-stats-bar {
  background: linear-gradient(135deg, #0066cc 0%, #0891b2 100%);
  color: #fff;
  border-bottom: 3px solid #1a6fb5;
  padding: 2.5rem 0;
  position: relative;
  overflow: hidden;
}

.lx-stats-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.lx-stats-bar::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.4) 0%, transparent 70%);
  top: -100px;
  right: 10%;
  filter: blur(60px);
  pointer-events: none;
}

.lx-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.lx-stats-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.lx-stats-item .lbl {
  font-size: 0.78rem;
  opacity: 0.9;
}

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

/* ============================================
   Hamburger Menu
   ============================================ */
.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   Service Card v2 — Themed & Interactive
   ============================================ */

.service-card {
  --card-c1: #3b82f6;
  --card-c2: #06b6d4;
  --card-c1-soft: rgba(59, 130, 246, 0.1);
  --card-c1-mid: rgba(59, 130, 246, 0.18);
  position: relative;
  border-radius: 20px;
  background: #ffffff;
  overflow: hidden;
  transition: all 0.4s var(--lx-ease);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);

  /* Pattern border using dashed + dotted double border */
  border: 2px dashed transparent;
  background-image:
    linear-gradient(#ffffff, #ffffff),
    repeating-linear-gradient(
      45deg,
      var(--card-c1-soft) 0,
      var(--card-c1-soft) 2px,
      transparent 2px,
      transparent 8px
    );
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

/* Per-card color themes */
.service-card[data-color="blue"]    { --card-c1: #3b82f6; --card-c2: #06b6d4; --card-c1-soft: rgba(59,130,246,0.1);  --card-c1-mid: rgba(59,130,246,0.18); }
.service-card[data-color="violet"]  { --card-c1: #8b5cf6; --card-c2: #a78bfa; --card-c1-soft: rgba(139,92,246,0.1); --card-c1-mid: rgba(139,92,246,0.18); }
.service-card[data-color="emerald"] { --card-c1: #10b981; --card-c2: #34d399; --card-c1-soft: rgba(16,185,129,0.1); --card-c1-mid: rgba(16,185,129,0.18); }
.service-card[data-color="green"]   { --card-c1: #22c55e; --card-c2: #4ade80; --card-c1-soft: rgba(34,197,94,0.1);  --card-c1-mid: rgba(34,197,94,0.18); }
.service-card[data-color="amber"]   { --card-c1: #f59e0b; --card-c2: #fbbf24; --card-c1-soft: rgba(245,158,11,0.1); --card-c1-mid: rgba(245,158,11,0.18); }
.service-card[data-color="rose"]    { --card-c1: #f43f5e; --card-c2: #fb7185; --card-c1-soft: rgba(244,63,94,0.1);  --card-c1-mid: rgba(244,63,94,0.18); }
.service-card[data-color="sky"]     { --card-c1: #0ea5e9; --card-c2: #38bdf8; --card-c1-soft: rgba(14,165,233,0.1); --card-c1-mid: rgba(14,165,233,0.18); }
.service-card[data-color="indigo"]  { --card-c1: #6366f1; --card-c2: #818cf8; --card-c1-soft: rgba(99,102,241,0.1); --card-c1-mid: rgba(99,102,241,0.18); }

/* Top gradient bar */
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--card-c1), var(--card-c2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--lx-ease);
}

.service-card:hover::before {
  transform: scaleX(1);
}

/* Corner glow */
.service-card::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 100%;
  background: radial-gradient(circle, var(--card-c1-soft) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--lx-ease);
  pointer-events: none;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-c1-mid);
  box-shadow:
    0 4px 12px rgba(15, 23, 42, 0.06),
    0 16px 40px var(--card-c1-soft),
    0 0 0 3px var(--card-c1-soft);
  background-image:
    linear-gradient(#ffffff, #ffffff),
    repeating-linear-gradient(
      45deg,
      var(--card-c1-mid) 0,
      var(--card-c1-mid) 2px,
      transparent 2px,
      transparent 6px
    );
}

/* Inner wrapper */
.service-card-inner {
  position: relative;
  z-index: 1;
  padding: 1.25rem;
}

/* Header: icon + title in same row */
.service-card-header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.625rem;
}

/* Icon */
.service-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  background: linear-gradient(135deg, var(--card-c1-soft), var(--card-c1-mid));
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover .service-card-icon {
  transform: scale(1.12) translateY(-2px);
}

/* Title */
.service-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
  transition: color 0.3s var(--lx-ease);
}

.service-card:hover .service-card-title {
  color: var(--card-c1);
}

/* Description */
.service-card-desc {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

/* List */
.service-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.service-card-list li {
  font-size: 0.8rem;
  color: #475569;
  padding-left: 0.875rem;
  position: relative;
  transition: transform 0.25s var(--lx-ease), color 0.25s var(--lx-ease);
}

.service-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--card-c1);
  opacity: 0.5;
  transition: opacity 0.25s var(--lx-ease);
}

.service-card:hover .service-card-list li {
  transform: translateX(3px);
}

.service-card:hover .service-card-list li::before {
  opacity: 1;
}

/* ============================================
   Article Prose
   ============================================ */
.article-body h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin: 2rem 0 0.75rem;
  scroll-margin-top: 6rem;
  position: relative;
  padding-left: 1rem;
}

.article-body h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 70%;
  background: linear-gradient(180deg, #3b82f6, #06b6d4);
  border-radius: 2px;
}

.article-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 1.5rem 0 0.5rem;
}

.article-body p {
  margin-bottom: 1rem;
  color: #475569;
  line-height: 1.8;
}

.article-body ul {
  margin: 0.75rem 0 1.25rem 1.25rem;
  list-style: none;
  color: #475569;
}

.article-body li {
  margin-bottom: 0.4rem;
  line-height: 1.7;
  position: relative;
  padding-left: 1.25rem;
}

.article-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.article-body code {
  background: #f1f5f9;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
  color: #1e40af;
}

/* ============================================
   Process Section
   ============================================ */
@media (min-width: 768px) {
  .process-line::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, #bfdbfe, #3b82f6, #06b6d4, #bfdbfe);
    z-index: 0;
  }
}

.process-line > div > div:first-child {
  position: relative;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.4s var(--lx-ease);
}

.process-line > div:hover > div:first-child {
  transform: scale(1.15);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.35) !important;
}

/* ============================================
   Buttons - Enhanced
   ============================================ */
.btn-primary {
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--lx-ease);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transition: left 0.6s var(--lx-ease);
}

.btn-primary:hover::before {
  left: 100%;
}

/* ============================================
   Case & News Cards - Enhanced
   ============================================ */
.case-card-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(15, 23, 42, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.4s var(--lx-ease);
}

.group:hover .case-card-thumb::after {
  opacity: 1;
}

.group:hover .case-card-icon {
  transform: scale(1.2) rotate(-5deg);
}

/* ============================================
   Why Us Grid Cards
   ============================================ */
.why-us-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--lx-ease),
              box-shadow 0.4s var(--lx-ease);
}

.why-us-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  opacity: 0.1;
  transform: translate(30%, -30%);
  transition: all 0.5s var(--lx-ease);
}

.why-us-card:hover::before {
  transform: translate(10%, -10%) scale(1.5);
  opacity: 0.2;
}

.why-us-card:hover {
  transform: translateY(-4px);
}

/* ============================================
   Back to Top - Enhanced
   ============================================ */
.back-top::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  opacity: 0;
  transition: opacity 0.3s var(--lx-ease);
}

.back-top:hover::before {
  opacity: 1;
}

.back-top span {
  position: relative;
  z-index: 1;
}

/* ============================================
   Section Title Decorations
   ============================================ */
.section-title-underline {
  display: inline-block;
  position: relative;
}

/* ============================================
   Navigation Active Indicator
   ============================================ */
.nav-link-active {
  position: relative;
  color: #2563eb !important;
}

.nav-link-active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #06b6d4);
  border-radius: 1px;
}

@media (max-width: 768px) {
  .nav-link-active {
    background-color: #eff6ff !important;
  }
  .nav-link-active::after {
    left: 16px;
    bottom: 50%;
    transform: translateY(50%);
    width: 3px;
    height: 16px;
  }
}

@media (min-width: 768px) {
  .nav-link-active {
    background-color: transparent !important;
  }
}

/* ============================================
   Subtle Background Pattern for Sections
   ============================================ */
.section-pattern-dots {
  background-image: radial-gradient(rgba(59, 130, 246, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* ============================================
   News Card Hover
   ============================================ */
.news-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, #3b82f6, #06b6d4);
  transition: height 0.4s var(--lx-ease);
  border-radius: 4px 0 0 4px;
}

.news-card:hover::before {
  height: 100%;
}

/* ============================================
   Floating Animation
   ============================================ */
@keyframes float-medium {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.float-medium {
  animation: float-medium 4s ease-in-out infinite;
}

/* ============================================
   Text Gradient Utility
   ============================================ */
.text-gradient-blue {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   Scrollbar Styling (Webkit)
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #94a3b8, #64748b);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #64748b, #475569);
}

/* Selection color */
::selection {
  background: rgba(59, 130, 246, 0.25);
  color: #1e40af;
}

/* ============================================
   DEEP OPTIMIZATION - Hero Advanced Effects
   ============================================ */
.lx-hero {
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(14, 165, 233, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(59, 130, 246, 0.25) 0%, transparent 60%),
    linear-gradient(150deg, #002d62 0%, #004a99 25%, #0066cc 55%, #0084b8 80%, #0090c8 100%);
  color: #fff;
  padding: 4rem 0 4.5rem;
  border-bottom: 4px solid #145a94;
  position: relative;
  overflow: hidden;
}

.lx-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 90% 80% at 35% 45%, black 0%, transparent 75%);
  animation: grid-shimmer 15s ease-in-out infinite;
}

@keyframes grid-shimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* Hero particle dots */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  animation: particle-float 8s ease-in-out infinite;
}

@keyframes particle-float {
  0%, 100% {
    transform: translateY(0) translateX(0);
    opacity: 0.3;
  }
  25% {
    opacity: 0.8;
  }
  50% {
    transform: translateY(-30px) translateX(10px);
    opacity: 0.5;
  }
  75% {
    opacity: 0.7;
  }
}

/* Hero title enhanced */
.lx-hero h1 {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  letter-spacing: -0.02em;
}

.lx-gradient-text {
  background: linear-gradient(135deg, #7dd3fc 0%, #f0f9ff 30%, #ffffff 50%, #e0f2fe 70%, #bae6fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradient-shift 5s ease-in-out infinite;
  position: relative;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Hero badge enhanced */
.lx-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #e0f2fe;
  transition: all 0.3s var(--lx-ease);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* ============================================
   DEEP OPTIMIZATION - 3D Buttons
   ============================================ */
.btn-primary {
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.3) inset,
    0 -1px 0 rgba(0, 0, 0, 0.1) inset,
    0 4px 0 #1e40af,
    0 6px 12px rgba(37, 99, 235, 0.4),
    0 10px 24px rgba(37, 99, 235, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transform: translateY(0);
  transition: all 0.15s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 -1px 0 rgba(0, 0, 0, 0.1) inset,
    0 5px 0 #1e40af,
    0 8px 18px rgba(37, 99, 235, 0.45),
    0 14px 32px rgba(37, 99, 235, 0.3);
}

.btn-primary:active {
  transform: translateY(3px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 -1px 0 rgba(0, 0, 0, 0.1) inset,
    0 1px 0 #1e40af,
    0 2px 6px rgba(37, 99, 235, 0.3),
    0 4px 12px rgba(37, 99, 235, 0.15);
}

/* Hero CTA Button - White button on dark/blue background */
.btn-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f0f6ff 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 -2px 0 rgba(0, 0, 0, 0.06) inset,
    0 2px 4px rgba(0, 0, 0, 0.1),
    0 6px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(0);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(59, 130, 246, 0.15),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.7s var(--lx-ease);
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 -2px 0 rgba(0, 0, 0, 0.06) inset,
    0 4px 8px rgba(0, 0, 0, 0.12),
    0 10px 24px rgba(0, 0, 0, 0.2);
}

.btn-hero:hover::before {
  left: 120%;
}

.btn-hero:active {
  transform: translateY(0);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-submit {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 2px 8px rgba(37, 99, 235, 0.3),
    0 4px 16px rgba(37, 99, 235, 0.15);
  transform: translateY(0);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  letter-spacing: 0.05em;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.3) inset,
    0 4px 12px rgba(37, 99, 235, 0.4),
    0 8px 24px rgba(37, 99, 235, 0.2);
}

.btn-submit:active {
  transform: translateY(0);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 2px 4px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 -1px 0 rgba(0, 0, 0, 0.05) inset,
    0 3px 0 #cbd5e1,
    0 5px 12px rgba(15, 23, 42, 0.1),
    0 8px 20px rgba(15, 23, 42, 0.06);
  border: 1px solid #e2e8f0;
  transform: translateY(0);
  transition: all 0.15s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 -1px 0 rgba(0, 0, 0, 0.05) inset,
    0 4px 0 #cbd5e1,
    0 7px 16px rgba(15, 23, 42, 0.12),
    0 12px 28px rgba(15, 23, 42, 0.08);
}

.btn-secondary:active {
  transform: translateY(2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 -1px 0 rgba(0, 0, 0, 0.05) inset,
    0 1px 0 #cbd5e1,
    0 2px 6px rgba(15, 23, 42, 0.08),
    0 4px 12px rgba(15, 23, 42, 0.04);
}

/* ============================================
   DEEP OPTIMIZATION - Card Premium Quality
   ============================================ */
.lx-card {
  background:
    linear-gradient(180deg, #ffffff 0%, #fefefe 100%);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 2px 4px rgba(15, 23, 42, 0.04),
    0 8px 24px rgba(15, 23, 42, 0.06),
    0 24px 60px rgba(15, 23, 42, 0.04);
}

.lx-card:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 4px 8px rgba(15, 23, 42, 0.05),
    0 16px 40px rgba(15, 23, 42, 0.08),
    0 40px 80px rgba(15, 23, 42, 0.06);
}

/* ============================================
   DEEP OPTIMIZATION - Navigation Glass
   ============================================ */
.nav-glass {
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 4px 20px rgba(15, 23, 42, 0.04);
}

.nav-scrolled {
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  background: rgba(255, 255, 255, 0.85);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 8px 30px rgba(15, 23, 42, 0.08);
}

/* ============================================
   DEEP OPTIMIZATION - Advanced Stats
   ============================================ */
.lx-stats-item {
  position: relative;
  text-align: center;
  padding: 1.1rem 0.75rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.06) 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.75rem;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 4px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.35s var(--lx-ease),
              background 0.3s var(--lx-ease),
              box-shadow 0.3s var(--lx-ease);
  backdrop-filter: blur(10px);
}

.lx-stats-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--lx-ease);
}

.lx-stats-item:hover::before {
  opacity: 1;
}

.lx-stats-item .val {
  font-size: clamp(1.7rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.3rem;
  background: linear-gradient(135deg, #ffffff 0%, #bae6fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* ============================================
   DEEP OPTIMIZATION - Case Cards Deluxe
   ============================================ */
.case-card-thumb {
  background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 50%, #ede9fe 100%);
  position: relative;
  overflow: hidden;
}

.case-card-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.4) 0%, transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
  opacity: 1;
  transition: opacity 0.5s var(--lx-ease);
}

.group:hover .case-card-thumb::before {
  opacity: 0.6;
}

.case-card-icon {
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 8px 16px rgba(37, 99, 235, 0.3));
}

/* Card shimmer effect */
.card-shimmer {
  position: relative;
  overflow: hidden;
}

.card-shimmer::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: skewX(-15deg);
  transition: left 0.8s var(--lx-ease);
  pointer-events: none;
}

.card-shimmer:hover::after {
  left: 150%;
}

/* ============================================
   DEEP OPTIMIZATION - Section Titles Deluxe
   ============================================ */
.section-title {
  position: relative;
  display: inline-block;
}

.section-title::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transition: opacity 0.4s var(--lx-ease);
}

.section-title:hover::before {
  opacity: 1;
}

.section-title-underline::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #06b6d4, #8b5cf6);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

/* ============================================
   DEEP OPTIMIZATION - Why Us Cards Deluxe
   ============================================ */
.why-us-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 4px 12px rgba(15, 23, 42, 0.04),
    0 16px 40px rgba(15, 23, 42, 0.04);
  transition: all 0.4s var(--lx-ease);
}

.why-us-card:hover {
  border-color: rgba(59, 130, 246, 0.25);
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 1) inset,
    0 8px 20px rgba(15, 23, 42, 0.06),
    0 28px 70px rgba(37, 99, 235, 0.1),
    0 0 0 5px rgba(59, 130, 246, 0.06);
}

/* ============================================
   DEEP OPTIMIZATION - Contact Cards
   ============================================ */
.contact-item {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.4s var(--lx-ease);
  overflow: hidden;
}

.contact-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #06b6d4, #8b5cf6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--lx-ease);
}

.contact-item:hover::before {
  transform: scaleX(1);
}

.contact-item:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow:
    0 8px 24px rgba(37, 99, 235, 0.1),
    0 24px 60px rgba(37, 99, 235, 0.06),
    0 0 0 4px rgba(59, 130, 246, 0.06);
}

/* ============================================
   Contact Section v2 - Refactored Panel
   ============================================ */

/* Left: Dark gradient info panel */
.contact-info-panel {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 2rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #1e1b4b 100%);
  box-shadow:
    0 4px 24px rgba(15, 23, 42, 0.25),
    0 24px 60px rgba(30, 58, 138, 0.15);
}

.contact-info-glow {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70%;
  height: 80%;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.3) 0%,
    rgba(139, 92, 246, 0.15) 40%,
    transparent 70%
  );
  filter: blur(40px);
  pointer-events: none;
}

/* Contact info rows */
.contact-info-row {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s var(--lx-ease);
  cursor: default;
}

.contact-info-row[href]:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateX(4px);
}

.contact-info-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform 0.3s var(--lx-ease);
}

.contact-info-row:hover .contact-info-icon {
  transform: scale(1.1) rotate(-5deg);
}

/* Right: Form panel */
.contact-form-panel {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 2rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 8px 24px rgba(15, 23, 42, 0.06),
    0 24px 60px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.4s var(--lx-ease);
}

.contact-form-panel:hover {
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 12px 32px rgba(37, 99, 235, 0.08),
    0 32px 80px rgba(15, 23, 42, 0.06);
}

.contact-form-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #06b6d4, #8b5cf6);
  border-radius: 24px 24px 0 0;
}

/* Privacy badge */
.contact-form-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 20px;
  background: #ecfdf5;
  color: #059669;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid #a7f3d0;
  flex-shrink: 0;
}

/* Responsive: stack panels on mobile */
@media (max-width: 1023px) {
  .contact-info-panel {
    padding: 1.75rem;
  }
  .contact-form-panel {
    padding: 1.75rem;
  }
}

/* ============================================
   DEEP OPTIMIZATION - Footer Deluxe
   ============================================ */
.lx-footer {
  position: relative;
  background: linear-gradient(180deg, #0f172a 0%, #0c1222 100%);
  overflow: hidden;
}

.lx-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    #3b82f6 20%,
    #06b6d4 40%,
    #8b5cf6 60%,
    #ec4899 80%,
    transparent 100%
  );
  opacity: 0.8;
}

.lx-footer::after {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.footer-link {
  position: relative;
  display: inline-block;
  transition: all 0.3s var(--lx-ease);
}

.footer-link:hover {
  color: #60a5fa;
  transform: translateX(4px);
}

.footer-link::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  transition: transform 0.3s var(--lx-ease);
}

.footer-link:hover::before {
  transform: translateY(-50%) scale(1);
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  background: rgba(15, 23, 42, 0.5);
}

/* ============================================
   DEEP OPTIMIZATION - Scroll Reveal Enhanced
   ============================================ */
.reveal {
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-from-left {
  opacity: 0;
  transform: translateX(-40px);
}

.reveal-from-right {
  opacity: 0;
  transform: translateX(40px);
}

.reveal-from-bottom {
  opacity: 0;
  transform: translateY(40px);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateX(0) translateY(0) scale(1);
}

.reveal-from-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-from-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-from-bottom.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--lx-ease), transform 0.6s var(--lx-ease);
}

.stagger-children.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger-children.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.is-visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.is-visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children.is-visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children.is-visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children.is-visible > *:nth-child(6) { transition-delay: 0.3s; }
.stagger-children.is-visible > *:nth-child(7) { transition-delay: 0.35s; }
.stagger-children.is-visible > *:nth-child(8) { transition-delay: 0.4s; }

/* ============================================
   DEEP OPTIMIZATION - Back to Top Premium
   ============================================ */
.back-top {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff, #f1f5f9);
  border: 1px solid #e2e8f0;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 4px 12px rgba(15, 23, 42, 0.1),
    0 12px 32px rgba(15, 23, 42, 0.08);
  transition: all 0.3s var(--lx-ease);
}

.back-top:hover {
  background: linear-gradient(145deg, #3b82f6, #2563eb);
  color: white;
  border-color: transparent;
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.1) inset,
    0 8px 20px rgba(37, 99, 235, 0.4),
    0 20px 48px rgba(37, 99, 235, 0.25);
}

/* ============================================
   DEEP OPTIMIZATION - News Cards Premium
   ============================================ */
.news-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  transition: all 0.4s var(--lx-ease);
}

.news-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.25);
  box-shadow:
    0 8px 24px rgba(15, 23, 42, 0.08),
    0 28px 70px rgba(37, 99, 235, 0.08),
    0 0 0 4px rgba(59, 130, 246, 0.06);
}

/* ============================================
   DEEP OPTIMIZATION - Logo Enhanced
   ============================================ */
.logo-icon {
  background: linear-gradient(145deg, #2563eb 0%, #0ea5e9 50%, #06b6d4 100%);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.1) inset,
    0 6px 16px rgba(37, 99, 235, 0.4),
    0 0 0 2px rgba(255, 255, 255, 0.15) inset;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--lx-ease), box-shadow 0.3s var(--lx-ease);
}

.group:hover .logo-icon {
  transform: scale(1.05) rotate(-3deg);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.08) inset,
    0 10px 28px rgba(37, 99, 235, 0.5),
    0 0 0 2px rgba(255, 255, 255, 0.2) inset;
}

body {
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Smooth image loading */
img {
  image-rendering: -webkit-optimize-contrast;
}

/* Focus ring accessibility */
:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Reduced motion — keep usability of reveals */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal,
  .reveal-from-bottom,
  .reveal-from-left,
  .reveal-from-right,
  .reveal-scale,
  .stagger-children > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================
   DEEP OPTIMIZATION - Hero Right Card Premium
   ============================================ */
.hero-feature-card {
  position: relative;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 8px 32px rgba(0, 0, 0, 0.15);
  transition: all 0.4s var(--lx-ease);
}

.hero-feature-card:hover {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.12));
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.3) inset,
    0 16px 48px rgba(0, 0, 0, 0.2);
}

.hero-feature-icon {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-feature-card:hover .hero-feature-icon {
  transform: scale(1.15) rotate(-5deg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.15));
}

/* ============================================
   INNER PAGE - Page Hero Deluxe
   统一内页 Hero section 视觉效果
   ============================================ */
.lx-page-hero {
  position: relative;
  overflow: hidden;
}

/* 网格纹理背景 */
.lx-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 80%);
}

/* 底部彩色渐变过渡线 */
.lx-page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    #3b82f6 20%,
    #06b6d4 40%,
    #8b5cf6 60%,
    #ec4899 80%,
    transparent 100%);
  opacity: 0.7;
  pointer-events: none;
}

/* 第二个光晕球（左下） */
.lx-page-hero .lx-hero-orb-bl {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
  bottom: -120px;
  left: -80px;
  filter: blur(70px);
  pointer-events: none;
  animation: lx-page-hero-float 12s ease-in-out infinite;
}

@keyframes lx-page-hero-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, -15px) scale(1.12); }
}

/* 面包屑增强 */
.lx-page-hero .lx-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-bottom: 1rem;
}

/* 标题渐变效果 */
.lx-page-hero h1 {
  background: linear-gradient(135deg, #ffffff 0%, #bae6fd 50%, #e0e7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 20px rgba(59, 130, 246, 0.3);
}

/* 副标题装饰圆点 */
.lx-page-hero .lx-hero-desc {
  position: relative;
  padding-left: 1rem;
}

.lx-page-hero .lx-hero-desc::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: linear-gradient(180deg, #3b82f6, #8b5cf6);
  border-radius: 2px;
}

/* ============================================
   INNER PAGE - Section Title Deluxe
   分类标题增强（services/about 等页面）
   ============================================ */
.lx-section-title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.75rem;
}

.lx-section-title-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  position: relative;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 6px 18px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lx-section-title:hover .lx-section-title-icon {
  transform: scale(1.08) rotate(-4deg);
}

.lx-section-title h2 {
  position: relative;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

/* 标题底部渐变线 */
.lx-section-title h2::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #06b6d4);
  border-radius: 2px;
  transition: width 0.4s var(--lx-ease);
}

.lx-section-title:hover h2::after {
  width: 80px;
}

/* 分类编号装饰 */
.lx-section-num {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(59, 130, 246, 0.1);
  letter-spacing: -0.05em;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

/* ============================================
   INNER PAGE - CTA Banner Deluxe
   ============================================ */
.lx-cta-banner {
  position: relative;
  overflow: hidden;
}

/* 网格背景 */
.lx-cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 75%);
}

/* 顶部彩色线 */
.lx-cta-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.lx-cta-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--lx-ease);
}

.lx-cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.4), transparent);
  transform: skewX(-15deg);
  transition: left 0.7s var(--lx-ease);
}

.lx-cta-btn:hover::before {
  left: 130%;
}

.lx-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.35);
}

/* ============================================
   INNER PAGE - Quote Banner Deluxe (about)
   ============================================ */
.lx-quote-banner {
  position: relative;
  overflow: hidden;
}

.lx-quote-banner::before {
  content: "\201C";
  position: absolute;
  top: -30px;
  left: 5%;
  font-size: 12rem;
  font-family: Georgia, serif;
  color: rgba(255, 255, 255, 0.15);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.lx-quote-banner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  border-radius: 2px;
}

/* ============================================
   INNER PAGE - Filter Pills Deluxe (cases)
   ============================================ */
.lx-filter-pill {
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--lx-ease);
}

.lx-filter-pill.active {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 4px 12px rgba(37, 99, 235, 0.35);
}

/* ============================================
   INNER PAGE - Article Body Deluxe (news-detail)
   ============================================ */
.lx-article-card {
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--lx-ease);
}

.lx-article-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #06b6d4, #8b5cf6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--lx-ease);
}

.lx-article-card:hover::before {
  transform: scaleX(1);
}

.lx-article-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 8px 24px rgba(15, 23, 42, 0.08),
    0 24px 60px rgba(37, 99, 235, 0.06);
}

/* 目录卡片增强 */
.lx-toc-card {
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--lx-ease);
}

.lx-toc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, #3b82f6, #06b6d4);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--lx-ease);
}

.lx-toc-card:hover::before {
  transform: scaleY(1);
}

/* 侧边栏 CTA 卡片增强 */
.lx-aside-cta {
  position: relative;
  overflow: hidden;
}

.lx-aside-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
}

/* ============================================
   INNER PAGE - Stats Mini Cards (about)
   ============================================ */
.lx-stat-mini {
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--lx-ease);
}

.lx-stat-mini::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #06b6d4);
  transition: width 0.4s var(--lx-ease);
}

.lx-stat-mini:hover::after {
  width: 70%;
}

/* ============================================
   INNER PAGE - Section Pattern Backgrounds
   ============================================ */
.lx-section-dots {
  position: relative;
}

.lx-section-dots::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(59, 130, 246, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent, black 30%, black 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, black 30%, black 70%, transparent);
}

/* ============================================
   Utility fixes used by index.html
   ============================================ */
.duration-400 {
  transition-duration: 400ms;
}

/* Primary light border helper (Tailwind config has primary.light) */
.border-primary-light {
  border-color: #3385d6;
}

/* Case / IP hover polish */
.case-card,
.ip-cert {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s ease;
}
.case-card:hover,
.ip-cert:hover {
  z-index: 1;
}
.case-card:focus-visible,
.ip-cert:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 3px;
}

/* Lightbox caption-friendly image bg */
.lx-lightbox-inner img {
  background: #fff;
}

/* Contact panel header responsive */
@media (max-width: 767px) {
  .contact-info-panel .flex.items-center.gap-3 {
    flex-direction: column;
    align-items: flex-start !important;
  }
  .contact-info-panel .justify-end {
    justify-content: flex-start !important;
    text-align: left !important;
  }
}


/* Sticky header offset for in-page anchors */
section[id],
#top {
  scroll-margin-top: 5.5rem;
}

/* Case / IP clickability hint */
.case-card::after,
.ip-cert::after {
  content: "点击查看大图";
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%) translateY(8px);
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #fff;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
  z-index: 5;
}
.case-card,
.ip-cert {
  position: relative;
}
.case-card:hover::after,
.ip-cert:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Softer selection */
::selection {
  background: rgba(37, 99, 235, 0.2);
  color: #0f172a;
}
