/* ============================================
   lightweight.css — Self-contained site stylesheet.
   Replaces Bootstrap + main.css entirely.
   ============================================ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: hidden; }
body {
  background: #0a0a2e;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
body > div { min-height: 100vh; display: flex; flex-direction: column; }
a { text-decoration: none; color: inherit; display: block; }
a:hover, a:focus { text-decoration: none; }
li { list-style: none; }
img { object-fit: cover; max-width: 100%; }
.container-fluid { width: 100%; padding: 0; }
.row { display: block; width: 100%; }
.main { flex: 1; }

/* ── Navigation ── */
.nav-menu { position: relative; z-index: 999; }
nav {
  position: absolute; top: 30px; left: 30px; right: 30px;
  height: 80px; padding: 20px 36px 0; border-radius: 6px;
  display: flex; align-items: flex-start;
}
nav .logo { width: 20%; height: 40px; flex-shrink: 0; }
nav .logo a { display: inline-block; }
nav .logo a img { height: 40px; }
nav .nav { display: flex; height: 40px; padding: 0; margin: 0; }
nav .nav > li { position: relative; padding-bottom: 12px; margin-bottom: -12px; }
nav .nav > li > a {
  color: #fff; display: block; padding: 10px 16px;
  font-size: clamp(12px, 1.4vw, 16px); font-weight: 500;
  white-space: nowrap; transition: color 0.2s;
  background: transparent; border-radius: 4px;
}
nav .nav > li > a:hover { color: #00D4FF; background: rgba(255,255,255,0.06); }
nav .nav > li:hover > a { color: #00D4FF; }
nav .submenu {
  position: absolute; top: 100%; left: 0; display: none;
  padding: 12px 16px; border-radius: 8px;
  background: rgba(10, 12, 30, 0.96); backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px); min-width: 220px;
  border: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  margin-top: 0;
}
nav .nav > li:hover > .submenu { display: block; }
nav .submenu > li { display: block; }
nav .submenu a {
  color: rgba(255,255,255,0.75); white-space: nowrap; display: block;
  padding: 10px 14px; font-size: 14px; border-radius: 4px;
  transition: all 0.15s; line-height: 1.4;
}
nav .submenu a:hover { color: #fff; background: rgba(0,212,255,0.12); }
nav .submenu > li > h6 { font-weight: 600; margin: 0; }
nav .submenu > li > h6 > a { display: block; padding: 8px 12px; }

/* ── CMS Content: responsive images & prevent overflow ── */
.cms-content {
  overflow-wrap: break-word;
  word-break: break-word;
}
.cms-content img {
  max-width: 100%;
  height: auto !important;
  border-radius: 8px;
}
.cms-content table {
  max-width: 100%;
  overflow-x: auto;
  display: block;
}
.cms-content iframe,
.cms-content video {
  max-width: 100%;
  height: auto;
}

/* ---- Animated grid background for hero ---- */
.lw-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: lw-grid-move 20s linear infinite;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 70%);
}
@keyframes lw-grid-move {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

/* ---- Hero tagline ---- */
.lw-hero-tagline {
  position: relative;
  font-size: clamp(13px, 2vw, 22px);
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.15em;
  margin-top: 16px;
  font-weight: 500;
}

/* ---- Metrics strip ---- */
.lw-metrics-strip {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin-top: 60px;
  padding: 28px 40px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.lw-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}
.lw-metric-value {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  background: linear-gradient(135deg, #00D4FF, #4169E1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lw-metric-label {
  font-size: clamp(11px, 1.2vw, 14px);
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  font-weight: 500;
}
.lw-metric-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* ---- Glow button ---- */
.lw-btn-glow {
  position: relative;
  overflow: hidden;
}
.lw-btn-glow::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(0,100,200,0.5), rgba(0,212,255,0.4));
  filter: blur(12px);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}
.lw-btn-glow:hover::after {
  opacity: 1;
}

/* ---- Card glow effect ---- */
.lw-card-glow {
  position: relative;
  overflow: hidden;
}
.lw-card-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00D4FF, #4169E1, transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.lw-card-glow:hover::before {
  opacity: 1;
}

/* ---- Tech tag variant for marquee ---- */
.lw-tech-tag {
  background: rgba(0,212,255,0.08) !important;
  border-color: rgba(0,212,255,0.2) !important;
  color: #00D4FF !important;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: clamp(11px, 1.3vw, 16px) !important;
  letter-spacing: 0.05em;
}

/* ---- Hero Sections ---- */
.lw-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10% 6% 6%;
  overflow: hidden;
}
.lw-hero-home {
  background: linear-gradient(135deg, #020614 0%, #0a1628 25%, #0d2d5a 50%, #0a3d8f 75%, #061a40 100%);
  min-height: 70vh;
}
.lw-hero-deepness {
  background: linear-gradient(135deg, #030614 0%, #0a1628 25%, #0f2847 50%, #162d50 75%, #0d1b3e 100%);
  min-height: 40vh;
  text-align: center;
  padding: 16% 6% 4%;
}
.lw-hero-deepness::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 25% 40%, rgba(0,119,255,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 500px 350px at 75% 60%, rgba(99,102,241,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 300px 300px at 50% 20%, rgba(139,92,246,0.08) 0%, transparent 70%);
  animation: lw-deepness-glow 12s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes lw-deepness-glow {
  0%   { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1;   transform: scale(1.05); }
}
.lw-hero-deepness::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 80%);
  pointer-events: none;
}
.lw-deepness-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.25);
  color: #60a5fa;
  font-size: clamp(11px, 1.3vw, 14px);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
  position: relative;
}
.lw-deepness-badge::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #60a5fa;
  animation: lw-pulse-dot 2s ease-in-out infinite;
}
@keyframes lw-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
.lw-deepness-sub {
  position: relative;
  font-size: clamp(14px, 2vw, 22px);
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 36px;
}
.lw-deepness-stats {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 48px;
}
.lw-deepness-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lw-deepness-stat-val {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lw-deepness-stat-lbl {
  font-size: clamp(11px, 1.2vw, 14px);
  color: rgba(255,255,255,0.45);
  margin-top: 6px;
  letter-spacing: 0.05em;
}
.lw-hero-news {
  background: linear-gradient(135deg, #0d1b2a 0%, #1b2838 50%, #2d4a3e 100%);
  min-height: 40vh;
}
.lw-hero-educate {
  background: linear-gradient(135deg, #0a0a2e 0%, #1a1a3e 50%, #2e1065 100%);
  min-height: 50vh;
}
.lw-hero-plan {
  background: linear-gradient(135deg, #0b1628 0%, #162d50 40%, #1a3a6a 70%, #0d47a1 100%);
  min-height: 45vh;
}
.lw-hero h1 {
  font-size: clamp(28px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}
.lw-hero .subtitle {
  font-size: clamp(14px, 2.5vw, 30px);
  line-height: 1.8;
  opacity: 0.9;
}
.lw-hero .gradient-text {
  background: linear-gradient(to right, #64b5f6, #ce93d8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lw-hero .gradient-text-green {
  background: linear-gradient(to right, #00D4FF, #A78BFA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lw-hero .gradient-text-blue {
  background: linear-gradient(to right, blue, rebeccapurple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Animated particles for hero (pure CSS) ---- */
.lw-hero-home::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 20% 50%, rgba(0,212,255,0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(65,105,225,0.08) 0%, transparent 50%),
              radial-gradient(circle at 50% 80%, rgba(0,150,255,0.06) 0%, transparent 50%);
  animation: lw-float 20s ease-in-out infinite;
  pointer-events: none;
}
@keyframes lw-float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(2%, -2%); }
  66% { transform: translate(-1%, 1%); }
}

/* ---- Section blocks (replace background images) ---- */
.lw-section {
  padding: 60px 6%;
  position: relative;
}
.lw-section-dark {
  background: linear-gradient(180deg, #0a0a2e 0%, #111133 50%, #0d1b3e 100%);
  color: #fff;
}
.lw-section-darker {
  background: linear-gradient(180deg, #050510 0%, #0a0a2e 100%);
  color: #fff;
}
.lw-section-gradient1 {
  background: linear-gradient(180deg, #0d1b3e 0%, #1a2d5a 30%, #162850 100%);
  color: #fff;
}
.lw-section-gradient2 {
  background: linear-gradient(180deg, #111133 0%, #1a1a4e 50%, #0d0d3a 100%);
  color: #fff;
}
.lw-section-gradient3 {
  background: linear-gradient(180deg, #0d0d2a 0%, #151540 50%, #0a0a2e 100%);
  color: #fff;
}
.lw-section-light {
  background: #f5f7fa;
  color: #333;
}
.lw-section-black {
  background: #000;
  color: #f0f0f0;
}
.lw-section h2 {
  font-size: clamp(24px, 4vw, 64px);
  font-weight: 800;
  margin-bottom: 15px;
}
.lw-section h3 {
  font-size: clamp(18px, 2.5vw, 40px);
  font-weight: 700;
  margin-bottom: 10px;
}
.lw-section .section-subtitle {
  font-size: clamp(12px, 1.8vw, 24px);
  opacity: 0.85;
  margin-bottom: 40px;
}

/* ---- Feature grid (replaces third-grid, fourth-grid) ---- */
.lw-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.lw-feature-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 30px 24px;
  transition: transform 0.3s, background 0.3s;
}
.lw-feature-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.1);
  border-color: rgba(0,212,255,0.25);
}
.lw-feature-card .card-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}
.lw-feature-card h4 {
  font-size: clamp(14px, 2vw, 24px);
  font-weight: 700;
  margin-bottom: 10px;
}
.lw-feature-card p {
  font-size: clamp(11px, 1.3vw, 16px);
  opacity: 0.8;
  line-height: 1.6;
}

/* ---- Icon grid (replaces icons-grid) ---- */
.lw-icons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 30px;
}
.lw-icon-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  font-size: clamp(11px, 1.3vw, 18px);
  font-weight: 600;
}
.lw-icon-item .ico {
  font-size: 20px;
  width: 30px;
  text-align: center;
}

/* ---- Partner text marquee (replaces school emblem images) ---- */
.lw-marquee {
  overflow: hidden;
  padding: 20px 0;
  position: relative;
}
.lw-marquee::before,
.lw-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.lw-marquee::before {
  left: 0;
  background: linear-gradient(to right, #0a0a2e, transparent);
}
.lw-marquee::after {
  right: 0;
  background: linear-gradient(to left, #0a0a2e, transparent);
}
.lw-marquee-track {
  display: flex;
  gap: 40px;
  animation: lw-scroll 30s linear infinite;
  white-space: nowrap;
}
.lw-marquee-track:hover { animation-play-state: paused; }
@keyframes lw-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.lw-marquee-item {
  flex-shrink: 0;
  padding: 10px 24px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  font-size: clamp(12px, 1.5vw, 18px);
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

/* ---- Review cards marquee ---- */
.lw-reviews {
  overflow: hidden;
  padding: 20px 0;
}
.lw-reviews-track {
  display: flex;
  gap: 30px;
  animation: lw-scroll 40s linear infinite;
}
.lw-reviews-track:hover { animation-play-state: paused; }
.lw-review-card {
  flex-shrink: 0;
  width: 320px;
  padding: 24px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  color: #fff;
}
.lw-review-card h5 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #00D4FF;
}
.lw-review-card p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.85;
}

/* ---- Stats row ---- */
.lw-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.lw-stat {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lw-stat .stat-icon {
  font-size: 28px;
}
.lw-stat .stat-text {
  font-size: clamp(12px, 1.5vw, 20px);
  font-weight: 700;
}
.lw-stat .stat-sub {
  font-size: clamp(10px, 1.2vw, 16px);
  opacity: 0.7;
}

/* ---- CTA buttons ---- */
.lw-btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  margin: 8px;
}
.lw-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  text-decoration: none;
}
.lw-btn-primary {
  background: linear-gradient(135deg, #0064C8, #4169E1);
  color: #fff;
}
.lw-btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
}
.lw-btn-green {
  background: linear-gradient(135deg, #0077CC, #00D4FF);
  color: #fff;
}

/* ---- News list (replaces cooperate image backgrounds) ---- */
.lw-news-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.lw-news-item {
  display: flex;
  gap: 24px;
  padding: 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  align-items: center;
  transition: transform 0.2s;
}
.lw-news-item:hover {
  transform: translateX(4px);
  background: rgba(255,255,255,0.08);
}
.lw-news-item.reverse { flex-direction: row-reverse; }
.lw-news-thumb {
  flex-shrink: 0;
  width: 120px;
  height: 90px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #fff;
}
.lw-news-thumb:nth-child(1) { background: linear-gradient(135deg, #1565c0, #42a5f5); }
.lw-news-body h3 {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}
.lw-news-body .date {
  font-size: 13px;
  opacity: 0.6;
  margin-bottom: 8px;
}
.lw-news-body p {
  font-size: clamp(12px, 1.3vw, 15px);
  opacity: 0.8;
  line-height: 1.6;
}
a.lw-news-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
a.lw-news-link:hover,
a.lw-news-link:focus {
  text-decoration: none;
  color: inherit;
}
a.lw-news-link:hover .lw-news-item {
  transform: translateX(4px);
  background: rgba(255,255,255,0.08);
}
/* Pagination */
.lw-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.lw-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #c9d1d9;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.lw-page-btn:hover {
  background: rgba(0,217,255,0.15);
  color: #00d9ff;
  text-decoration: none;
}
.lw-page-btn.active {
  background: #00d9ff;
  color: #0a0c1e;
  font-weight: 700;
  border-color: #00d9ff;
}
.lw-page-btn.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}
.lw-page-ellipsis {
  color: rgba(255,255,255,0.4);
  padding: 0 4px;
}

/* ---- Educate grid ---- */
.lw-edu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.lw-edu-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
}
.lw-edu-card .edu-icon {
  font-size: 40px;
  flex-shrink: 0;
}
.lw-edu-card h4 {
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 700;
  margin-bottom: 4px;
}
.lw-edu-card p {
  font-size: clamp(12px, 1.3vw, 16px);
  opacity: 0.75;
}

/* ---- Two-column layout ---- */
.lw-two-col {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.lw-two-col .col-left { flex: 6; }
.lw-two-col .col-right { flex: 4; }

/* ---- Unified 53KF consultation panel ---- */
.lw-consult-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 28px;
}
.lw-consult-panel h3 {
  font-size: clamp(18px, 2.3vw, 26px);
  font-weight: 700;
  margin-bottom: 10px;
}
.lw-consult-desc {
  font-size: clamp(13px, 1.35vw, 16px);
  line-height: 1.8;
  opacity: 0.82;
}
.lw-consult-actions {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.lw-consult-actions .lw-btn {
  margin: 0;
  min-width: 180px;
  text-align: center;
}
.lw-consult-tip {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.58);
}

/* ---- Global site consult floating button ---- */
.lw-site-consult-float {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 10000;
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #0064c8, #00d4ff);
  box-shadow: 0 8px 24px rgba(0, 83, 166, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.lw-site-consult-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 83, 166, 0.45);
}

/* ---- Capability list ---- */
.lw-cap-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lw-cap-list li {
  font-size: clamp(14px, 1.8vw, 24px);
  font-weight: 700;
  line-height: 2.5;
  padding-left: 20px;
  position: relative;
}
.lw-cap-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #00D4FF;
}

/* ---- Switch features (replace switch images) ---- */
.lw-switch-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.lw-switch-tab {
  padding: 16px 24px;
  font-size: clamp(14px, 2vw, 28px);
  font-weight: 700;
  cursor: pointer;
  opacity: 0.5;
  border-left: 3px solid transparent;
  transition: all 0.3s;
}
.lw-switch-tab:hover, .lw-switch-tab.active {
  opacity: 1;
  border-left-color: #00D4FF;
  background: rgba(255,255,255,0.05);
}
.lw-switch-content {
  display: none;
  padding: 24px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  font-size: clamp(12px, 1.5vw, 18px);
  line-height: 1.8;
}
.lw-switch-content.active { display: block; }

/* ---- Hamburger Toggle (hidden on desktop) ---- */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  margin-left: auto;
  z-index: 1001;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  /* Navigation */
  .nav-hamburger { display: flex; }
  nav { padding: 12px 16px 0; top: 10px; left: 10px; right: 10px; height: 56px; }
  nav .logo { width: auto; }
  nav .logo a img { height: 32px; }
  nav .nav {
    display: none;
    flex-direction: column;
    justify-content: center;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 10, 46, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 80px 24px 40px;
    overflow-y: auto;
    z-index: 1000;
    height: auto;
  }
  nav .nav.mobile-open { display: flex; }
  nav .nav > li { border-bottom: 1px solid rgba(255,255,255,0.06); }
  nav .nav > li > a { font-size: 17px; padding: 14px 0; white-space: normal; }
  nav .submenu {
    position: static;
    display: none;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0 0 8px 16px;
    margin-top: 0;
    min-width: 0;
  }
  nav .nav > li.submenu-open > .submenu { display: block; }
  nav .submenu a { font-size: 15px; padding: 10px 0; }

  /* Top-right widget */
  .site-top-right { top: 14px; right: 56px; padding: 4px 10px; }

  /* Hero */
  .lw-hero { min-height: 40vh; padding: 100px 5% 6%; }
  .lw-hero h1 { font-size: clamp(22px, 7vw, 40px) !important; }
  .lw-hero-tagline { font-size: 13px !important; letter-spacing: 0.05em; }
  .lw-metrics-strip { flex-wrap: wrap; gap: 16px; padding: 20px 16px; }
  .lw-metric { padding: 8px 16px; }
  .lw-metric-divider { display: none; }

  /* Content grids */
  .lw-features { grid-template-columns: 1fr; }
  .lw-icons-grid { grid-template-columns: repeat(2, 1fr); }
  .lw-edu-grid { grid-template-columns: 1fr; }
  .lw-two-col { flex-direction: column; }

  /* Sections */
  .lw-section { padding: 40px 16px !important; }
  .lw-section h2 { font-size: clamp(18px, 5vw, 28px); }

  /* Consult panel */
  .lw-consult-panel { width: 100%; padding: 22px 18px; }
  .lw-site-consult-float { right: 12px; bottom: 72px; font-size: 13px; padding: 10px 14px; }
  .lw-consult-actions .lw-btn { width: 100%; min-width: 0; }

  /* News */
  .lw-news-item { flex-direction: column !important; }

  /* Deepness */
  .lw-deepness-stats { gap: 24px; }
  .lw-deepness-sub br { display: none; }

  /* Footer */
  .lw-footer-upper { flex-direction: column; gap: 28px; padding: 32px 16px 24px; }
  .lw-footer-brand { flex: none; text-align: center; }
  .lw-footer-brand .lw-footer-social { justify-content: center; }
  .lw-footer-nav { flex-direction: row; flex-wrap: wrap; gap: 12px 32px; justify-content: center; }
  .lw-footer-col { flex: 0 0 auto; min-width: 120px; text-align: center; }
  .lw-footer-col h4 { font-size: 13px; margin-bottom: 4px; }
  .lw-footer-col a { font-size: 12px; }
  .lw-footer-qr { display: none; }
  .lw-footer-bottom { flex-direction: column; align-items: center; text-align: center; padding: 16px; }
  .lw-footer-legal, .lw-footer-extra { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 480px) {
  nav { top: 6px; left: 6px; right: 6px; padding: 10px 12px 0; }
  nav .logo a img { height: 28px; }
  .lw-hero h1 { font-size: clamp(20px, 6vw, 32px) !important; }
  .lw-hero .lw-btn { font-size: 14px; padding: 10px 20px; }
  .lw-feature-card { padding: 20px 16px; }
}

/* ============================================
   Footer — Redesigned (inspired by Huawei / Alibaba)
   ============================================ */
.lw-footer {
  background: #070714;
  color: rgba(255,255,255,0.6);
  margin-left: -15px;
  margin-right: -15px;
  font-size: 13px;
}

/* ── Upper section ── */
.lw-footer-upper {
  display: flex;
  gap: 56px;
  padding: 56px 7% 44px;
  max-width: 1240px;
  margin: 0 auto;
  align-items: flex-start;
}

/* Brand column */
.lw-footer-brand {
  flex: 0 0 240px;
}
.lw-footer-logo img {
  height: 32px;
  display: block;
  margin-bottom: 16px;
  opacity: 0.85;
}
.lw-footer-brand p {
  font-size: 12.5px;
  line-height: 1.9;
  color: rgba(255,255,255,0.38);
  margin: 0;
}
.lw-footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.lw-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.45);
  transition: all 0.25s;
}
.lw-footer-social a:hover {
  color: #fff;
  background: rgba(0,217,255,0.18);
  text-decoration: none;
}

/* Link columns */
.lw-footer-nav {
  display: flex;
  gap: 56px;
  flex: 1;
}
.lw-footer-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.lw-footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  margin: 0 0 6px;
  letter-spacing: 0.02em;
}
.lw-footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.lw-footer-col a:hover {
  color: #00d9ff;
  text-decoration: none;
}

/* QR code */
.lw-footer-qr {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.lw-footer-qr img {
  width: 96px;
  height: 96px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
}
.lw-footer-qr span {
  font-size: 11px;
  color: rgba(255,255,255,0.32);
}

/* ── Divider ── */
.lw-footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08) 20%, rgba(255,255,255,0.08) 80%, transparent);
  margin: 0 7%;
}

/* ── Bottom bar ── */
.lw-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 7%;
  max-width: 1240px;
  margin: 0 auto;
  gap: 12px;
  flex-wrap: nowrap;
}

.lw-footer-legal {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.lw-footer-legal span,
.lw-footer-legal a {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.lw-footer-legal a:hover {
  color: #00d9ff;
}
.lw-footer-legal .lw-sep {
  margin: 0 8px;
  color: rgba(255,255,255,0.15);
  user-select: none;
}
.lw-footer-legal .lw-ga img {
  width: 14px;
  height: auto;
  vertical-align: -1px;
  margin-right: 3px;
  opacity: 0.7;
}

.lw-footer-extra {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
}
.lw-footer-extra a {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.lw-footer-extra a:hover {
  color: #00d9ff;
}
.lw-footer-power {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  white-space: nowrap;
}
.lw-footer-power a {
  color: #00d9ff;
  text-decoration: none;
}

/* ============================================
   Top-right fixed lang + GitHub widget
   ============================================ */
.site-top-right {
  position: fixed;
  top: 18px;
  right: 70px;
  z-index: 10000;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 6px;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.12);
  white-space: nowrap;
  height: auto !important;
  min-height: 0 !important;
  width: auto !important;
}
.site-top-right .str-lang-btn {
  font-size: 13px;
  padding: 2px 6px;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s;
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
}
.site-top-right .str-lang-btn:hover {
  color: #fff;
}
.site-top-right .str-lang-btn.str-active {
  color: #00d9ff;
  background: rgba(0,217,255,0.15);
}
.site-top-right .str-sep {
  color: rgba(255,255,255,0.2);
  font-size: 13px;
  user-select: none;
}
.site-top-right .str-github {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
  text-decoration: none;
}
.site-top-right .str-github:hover {
  color: #fff;
  text-decoration: none;
}
.site-top-right .str-github svg {
  vertical-align: middle;
}
@media (max-width: 768px) {
  .site-top-right .str-github { display: none; }
}
