:root {
  --brand: #1c1efa;
  --brand-700: #1012c9;
  --brand-soft: #eef0ff;
  --ink: #151924;
  --muted: #606a7b;
  --line: #dde3ec;
  --surface: #f5f7fb;
  --white: #ffffff;
  --night: #0a1026;
  --night-2: #111a38;
  --health: #159d91;
  --health-soft: #e6f7f4;
  --warning: #a56416;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 30px;
  --shadow: 0 18px 45px rgba(25, 32, 62, 0.1);
  --container: min(1180px, calc(100vw - 48px));
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-top: 76px;
  color: var(--ink);
  background: var(--white);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.76;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* PPT-style full-screen sections — every section fills the viewport */
.full-section {
  height: 100dvh;
  height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  overflow: visible;
  padding: 0;
}
.full-section > .container {
  padding-top: 76px;
}

.full-section.solutions-section {
  justify-content: flex-end;
  padding-top: 76px;
}

/* Scroll transition: sections fade in as they enter viewport */
.full-section {
  opacity: 0;
  transform: translateY(60px) scale(0.97);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.full-section.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Sections that slide in from the right (dark sections) */
.full-section.slide-left {
  transform: translateX(80px) scale(0.97);
}
.full-section.visible.slide-left {
  transform: translateX(0) scale(1);
}

/* Sections that slide in from the left */
.full-section.slide-right {
  transform: translateX(-80px) scale(0.97);
}
.full-section.visible.slide-right {
  transform: translateX(0) scale(1);
}

/* No initial animation for Hero — it's always visible */
.hero {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Section bridge arrows */
.section-bridge {
  position: fixed;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 10;
  cursor: pointer;
  transition: opacity .3s ease, transform .3s ease;
}
.section-bridge:hover { opacity: .65; transform: translateX(-50%) translateY(3px); }
.bridge-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .06em;
}
.dark .bridge-text,
.bridge-text.dark-bridge {
  color: rgba(255,255,255,.55);
}
.bridge-arrow {
  width: 24px;
  height: 24px;
  animation: heartBeat 1.6s ease-in-out infinite;
}
@keyframes heartBeat {
  0%   { transform: translate(0, 0) scale(1); opacity: 1; }
  15%  { transform: translate(0, -4px) scale(1.08); opacity: .9; }
  30%  { transform: translate(0, 0) scale(1); opacity: 1; }
  45%  { transform: translate(0, -3px) scale(1.05); opacity: .85; }
  60%  { transform: translate(0, 0) scale(1); opacity: 1; }
  75%  { transform: translate(-1px, 1px) scale(.98); opacity: .7; }
  100% { transform: translate(0, 0) scale(1); opacity: 1; }
}
img, video { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid rgba(28, 30, 250, .28);
  outline-offset: 3px;
}

.container { width: var(--container); margin-inline: auto; }
.section { padding: 104px 0; }
.full-section.section { padding: 0; }
.section.compact { padding: 72px 0; }
.section.tint { background: var(--surface); }
.section.brand-tint { background: linear-gradient(180deg, #f7f8ff 0%, #eef1ff 100%); }
.section.dark { color: var(--white); background: var(--night); overflow: hidden; position: relative; }
.section.dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 84%);
}
.section.dark > .container { position: relative; z-index: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.dark .eyebrow { color: #8f9cff; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.03em; }
h1 { font-size: clamp(44px, 5.3vw, 78px); font-weight: 850; }
h2 { font-size: clamp(34px, 4vw, 54px); font-weight: 820; }
h3 { font-size: clamp(22px, 2.1vw, 30px); font-weight: 760; }
h4 { font-size: 19px; font-weight: 760; }
p { margin: 0; }
.lead { font-size: clamp(19px, 2vw, 23px); line-height: 1.72; color: var(--muted); }
.dark .lead, .dark .muted { color: #bcc5dd; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.7; }
.section-heading { display: grid; grid-template-columns: 1.05fr .7fr; gap: 48px; align-items: end; margin-bottom: 24px; }
.section-heading.single { grid-template-columns: 1fr; max-width: 820px; margin-bottom: 20px; }
.section-heading p { color: var(--muted); }
.dark .section-heading p { color: #bcc5dd; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 760;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { color: #fff; background: var(--brand); }
.btn.primary:hover { background: var(--brand-700); }
.btn.secondary { color: var(--ink); border-color: var(--line); background: #fff; }
.btn.secondary:hover { border-color: var(--brand); color: var(--brand); }
.btn.light { color: var(--night); background: #fff; }
.btn.ghost-light { color: #fff; border-color: rgba(255,255,255,.28); }
.text-link { color: var(--brand); font-weight: 760; }
.text-link::after { content: " \2192"; }

/* ---- Header / Nav ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  min-height: 76px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(221,227,236,.86);
  scroll-snap-align: none;
}
.nav-shell { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-logo img { width: 184px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { padding: 10px 11px; border-radius: 9px; font-size: 14px; font-weight: 680; color: #363e50; }
.site-nav a:hover, .site-nav a.active { color: var(--brand); background: var(--brand-soft); }
.nav-cta { padding: 10px 16px !important; color: #fff !important; background: var(--brand) !important; border-radius: 999px; }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.menu-button span, .menu-button::before, .menu-button::after { content: ""; display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--ink); transition: .2s ease; }

/* ---- Hero ---- */
.hero { padding: 0; overflow: hidden; min-height: 100vh; display: flex; align-items: center; position: relative;
  background: linear-gradient(160deg, #e8eeff 0%, #f0f4ff 25%, #f5f0ff 50%, #fef0f5 75%, #f0f8ff 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(ellipse 600px 600px at 20% 50%, rgba(28,30,250,.10) 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at 75% 30%, rgba(21,157,145,.09) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 60% 80%, rgba(28,30,250,.07) 0%, transparent 70%);
  animation: heroGlow 12s ease-in-out infinite alternate;
  z-index: 0;
  pointer-events: none;
}
@keyframes heroGlow {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(30px, -20px) scale(1.08); }
  100% { transform: translate(-20px, 15px) scale(0.95); }
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; min-height: 100vh; padding: 20px 0 60px; position: relative; z-index: 2; }
.hero-copy { position: relative; z-index: 2; }

/* Bubbles */
.bubbles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.bubble {
  position: absolute;
  bottom: -80px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.95) 0%, rgba(28,30,250,.12) 35%, transparent 65%);
  border: 1px solid rgba(255,255,255,.4);
  box-shadow: 0 0 16px rgba(28,30,250,.1), inset 0 0 12px rgba(255,255,255,.5);
  animation: rise linear infinite;
}
.bubble:nth-child(1)  { width: 40px; height: 40px; left: 8%;  animation-duration: 8s;  animation-delay: 0s; }
.bubble:nth-child(2)  { width: 25px; height: 25px; left: 15%; animation-duration: 10s; animation-delay: 2s; }
.bubble:nth-child(3)  { width: 55px; height: 55px; left: 25%; animation-duration: 12s; animation-delay: 4s; }
.bubble:nth-child(4)  { width: 35px; height: 35px; left: 35%; animation-duration: 9s;  animation-delay: 1s; }
.bubble:nth-child(5)  { width: 45px; height: 45px; left: 45%; animation-duration: 11s; animation-delay: 3s; }
.bubble:nth-child(6)  { width: 30px; height: 30px; left: 55%; animation-duration: 13s; animation-delay: 5s; }
.bubble:nth-child(7)  { width: 50px; height: 50px; left: 65%; animation-duration: 8s;  animation-delay: 0.5s; }
.bubble:nth-child(8)  { width: 20px; height: 20px; left: 75%; animation-duration: 10s; animation-delay: 2.5s; }
.bubble:nth-child(9)  { width: 60px; height: 60px; left: 82%; animation-duration: 14s; animation-delay: 6s; }
.bubble:nth-child(10) { width: 28px; height: 28px; left: 90%; animation-duration: 9s;  animation-delay: 1.5s; }
.bubble:nth-child(11) { width: 38px; height: 38px; left: 5%;  animation-duration: 11s; animation-delay: 7s; }
.bubble:nth-child(12) { width: 22px; height: 22px; left: 50%; animation-duration: 15s; animation-delay: 8s; }
.bubble:nth-child(13) { width: 48px; height: 48px; left: 70%; animation-duration: 10s; animation-delay: 3.5s; }
.bubble:nth-child(14) { width: 32px; height: 32px; left: 20%; animation-duration: 12s; animation-delay: 5.5s; }
.bubble:nth-child(15) { width: 26px; height: 26px; left: 88%; animation-duration: 13s; animation-delay: 4.5s; }

@keyframes rise {
  0%   { transform: translateY(0) translateX(0) scale(1);    opacity: 0; }
  10%  { opacity: .85; }
  40%  { opacity: .65; }
  70%  { transform: translateY(-70vh) translateX(20px) scale(1.05); opacity: .4; }
  100% { transform: translateY(-110vh) translateX(-10px) scale(.7); opacity: 0; }
}

/* Scroll hint - Apple style */
.hero-scroll-hint {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 10;
  cursor: pointer;
  color: var(--brand);
  transition: opacity .3s ease, transform .3s ease;
}
.hero-scroll-hint:hover { opacity: .65; transform: translateX(-50%) translateY(3px); }
.scroll-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: .06em;
}
.scroll-arrow {
  animation: heartBeat 1.6s ease-in-out infinite;
}
@keyframes heartBeat {
  0%   { transform: translate(0, 0) scale(1); opacity: 1; }
  15%  { transform: translate(0, -4px) scale(1.08); opacity: .9; }
  30%  { transform: translate(0, 0) scale(1); opacity: 1; }
  45%  { transform: translate(0, -3px) scale(1.05); opacity: .85; }
  60%  { transform: translate(0, 0) scale(1); opacity: 1; }
  75%  { transform: translate(-1px, 1px) scale(.98); opacity: .7; }
  100% { transform: translate(0, 0) scale(1); opacity: 1; }
}
.hero-copy h1 span { display: block; color: var(--brand); }
.hero-subtitle {
  margin: 14px 0 0;
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 600;
  color: var(--health);
  letter-spacing: .02em;
}
.hero-copy .lead { margin-top: 28px; max-width: 720px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.tag { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: #4d5668; background: #fff; font-size: 13px; }
.hero-visual { display: flex; flex-direction: column; }
.hero-video-wrap { position: relative; min-height: 480px; }
.hero-visual-subtitle {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--health);
  letter-spacing: .02em;
  text-align: center;
  white-space: nowrap;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(8px);
  padding: 6px 20px;
  border-radius: 999px;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  z-index: 3;
}

/* Image placeholders — replace src with real images */
.placeholder-img {
  position: absolute;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--night) 0%, var(--brand-700) 50%, #2a3a8a 100%);
  box-shadow: var(--shadow);
}
.placeholder-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(28,30,250,.3) 0%, transparent 60%);
}
.hero-main-image { position: absolute; inset: 24px 0 66px 42px; width: calc(100% - 42px); height: calc(100% - 90px); border-radius: 24px; box-shadow: var(--shadow); background: linear-gradient(135deg, var(--night) 0%, var(--brand-700) 50%, #2a3a8a 100%); overflow: hidden; }
.hero-main-image video { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }

/* Hero illustration canvas */
.hero-illustration-wrap { background: linear-gradient(135deg, var(--night) 0%, var(--brand-700) 50%, #2a3a8a 100%); }
.hero-illustration-wrap canvas { display: block; width: 100%; height: 100%; }

/* Hero secondary image */
.hero-index { position: absolute; right: 16px; top: 0; width: 90px; height: 90px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--brand); font-weight: 800; line-height: 1.25; text-align: center; box-shadow: 0 12px 28px rgba(28,30,250,.26); z-index: 2; font-size: 15px; }
.hero-index small { display: block; font-size: 11px; font-weight: 650; opacity: .78; }

/* ---- Proof Strip ---- */
.proof-strip {
  color: #fff;
  background: var(--night);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0 0;
}
/* Animated gradient overlay */
.proof-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 700px 700px at 15% 60%, rgba(28,30,250,.12) 0%, transparent 60%),
    radial-gradient(ellipse 500px 500px at 85% 25%, rgba(21,157,145,.10) 0%, transparent 60%);
  animation: proofGlow 10s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes proofGlow {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(40px, -30px) scale(1.05); }
  100% { transform: translate(-30px, 20px) scale(.95); }
}

/* Decorative SVGs */
.proof-deco {
  position: absolute;
  pointer-events: none;
  opacity: .7;
}
.proof-deco-1 { width: 200px; height: 200px; top: 8%; left: 5%; animation: decoSpin 40s linear infinite; }
.proof-deco-2 { width: 120px; height: 120px; top: 15%; right: 10%; animation: decoFloat 8s ease-in-out infinite; }
.proof-deco-3 { width: 80px; height: 80px; bottom: 25%; left: 12%; animation: decoFloat 10s ease-in-out infinite reverse; }
.proof-deco-4 { width: 160px; height: 160px; bottom: 20%; right: 8%; animation: decoSpin 50s linear infinite reverse; }
.proof-deco-5 { width: 60px; height: 60px; top: 50%; left: 50%; animation: decoPulse 4s ease-in-out infinite; }
.proof-deco-6 { width: 220px; height: 220px; top: 40%; right: 25%; animation: decoSpin 60s linear infinite; }

@keyframes decoSpin { to { transform: rotate(360deg); } }
@keyframes decoFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-18px); }
}
@keyframes decoPulse {
  0%, 100% { transform: scale(1); opacity: .7; }
  50%      { transform: scale(1.2); opacity: .4; }
}

.proof-content {
  position: relative;
  z-index: 2;
}
.proof-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: start;
}
.about-text {
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.9;
  color: rgba(255,255,255,.82);
}
.about-text p { margin-bottom: 16px; }
.about-text p:last-child { margin-bottom: 0; }
.about-text strong { color: #fff; font-weight: 600; }

/* Mission & Vision cards */
.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.mv-card {
  padding: 20px 22px;
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  transition: transform .3s ease, background .3s ease;
}
.mv-card:hover { transform: translateY(-3px); background: rgba(255,255,255,.06); }
.mv-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--health);
  margin-bottom: 8px;
}
.mv-card p {
  color: rgba(255,255,255,.9);
  font-size: clamp(13px, 1.3vw, 15px);
  line-height: 1.6;
  margin: 0;
}

/* Strength Metrics — right column, vertical stack */
.strength-heading {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: .02em;
}
.strength-hint {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,.4);
  margin-left: 8px;
}
.strength-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.strength-card {
  position: relative;
  padding: 20px;
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
}
.strength-card:hover {
  transform: translateX(4px);
  background: rgba(255,255,255,.07);
  border-color: rgba(28,30,250,.3);
}
.strength-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
}
.strength-value {
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 700;
  color: #fff;
  margin-top: 6px;
  line-height: 1.4;
}
.strength-desc {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  margin-top: 4px;
  line-height: 1.5;
}
/* Section bridge / scroll arrow between sections */
.section-bridge {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 10;
  cursor: pointer;
  color: rgba(255,255,255,.5);
  transition: opacity .3s ease, transform .3s ease;
}
.section-bridge:hover { opacity: .7; transform: translateX(-50%) translateY(3px); }
.bridge-text {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  letter-spacing: .06em;
}
.bridge-arrow {
  animation: heartBeat 1.6s ease-in-out infinite;
}

/* ---- Four-Layer Architecture Cards ---- */
.layer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.layer-card {
  position: relative;
  padding: 20px 22px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(31,39,79,.04);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.layer-card:hover { transform: translateY(-3px); border-color: #c5caff; box-shadow: 0 12px 28px rgba(31,39,79,.08); }
.layer-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 3px 8px;
  border-radius: 5px;
}
.layer-name {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-left: 8px;
}
.layer-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin-top: 10px;
  letter-spacing: -.01em;
}
.layer-desc {
  font-size: 13px;
  font-weight: 600;
  color: var(--health);
  margin-top: 4px;
}
.layer-card p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
.layer-points {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.layer-points p {
  font-size: 12px;
  color: var(--ink);
  margin-top: 4px;
  padding-left: 14px;
  position: relative;
  line-height: 1.55;
}
.layer-points p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  opacity: .45;
}
.layer-disclaimer {
  font-size: 11px !important;
  color: var(--warning) !important;
  font-style: italic;
}

/* ---- Industry-Academia & Enterprise ---- */
.ea-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.ea-left { display: flex; flex-direction: column; gap: 14px; }
.ea-right { display: flex; flex-direction: column; height: 680px; }
.ea-hero-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: 16px !important;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(31,39,79,.10);
  min-height: 0;
}
.ea-hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: linear-gradient(135deg, var(--night) 0%, var(--night-2) 100%);
  color: #fff;
  overflow: hidden;
}
.ea-card {
  padding: 22px 24px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(31,39,79,.03);
  transition: transform .25s ease, box-shadow .25s ease;
}
.ea-card:hover { transform: translateX(4px); box-shadow: 0 8px 24px rgba(31,39,79,.07); }
.ea-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 4px 10px;
  border-radius: 6px;
}
.ea-badge.award { color: var(--health); background: var(--health-soft); }
.ea-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-top: 10px;
  letter-spacing: -.01em;
}
.ea-card p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
.ea-highlight {
  font-size: 13px !important;
  color: var(--ink) !important;
  font-weight: 500;
  margin-top: 10px !important;
}

.ea-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin: 12px 0;
}
.ea-hero-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--health);
  margin: 0;
}
.ea-hero-sub {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  font-weight: 600;
  margin: 4px 0 0;
}
.ea-hero-content h3 {
  font-size: 18px;
  font-weight: 800;
  margin-top: 8px;
}
.ea-hero-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--health);
  margin-top: 4px;
}
.ea-hero-content > p:last-of-type {
  font-size: 14px;
  color: rgba(255,255,255,.78);
  line-height: 1.7;
  margin-top: 10px;
}
.ea-stats {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.stat-item { display: flex; flex-direction: column; }
.stat-value {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.stat-desc {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  margin-top: 2px;
}

/* ---- Grids & Cards ---- */
.problem-grid, .solution-grid, .value-grid, .card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.problem-card, .solution-card, .value-card, .plain-card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.problem-card:hover, .solution-card:hover, .value-card:hover, .plain-card:hover { transform: translateY(-4px); border-color: #c5caff; box-shadow: 0 18px 36px rgba(31,39,79,.09); }
.card-number { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; margin-bottom: 28px; border-radius: 50%; color: var(--brand); background: var(--brand-soft); font-size: 13px; font-weight: 800; }
.problem-card p, .solution-card p, .value-card p, .plain-card p { margin-top: 13px; color: var(--muted); }
.solution-card { min-height: 300px; display: flex; flex-direction: column; }
.solution-card .text-link { margin-top: auto; padding-top: 24px; }
.solution-card.featured { grid-column: span 2; color: #fff; background: var(--brand); border-color: var(--brand); }
.solution-card.featured p, .solution-card.featured .text-link { color: #e7e9ff; }

/* ---- Capability Band ---- */
.capability-band { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.capability-list { display: grid; gap: 12px; }
.capability-item { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.capability-item:last-child { border-bottom: 0; }
.capability-item strong { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; color: #8f9cff; font-size: 13px; }
.capability-item p { margin-top: 5px; color: #b9c4de; font-size: 15px; }
.capability-visual { position: relative; min-height: 560px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); overflow: hidden; }
.capability-visual img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; opacity: .72; }
.capability-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10,16,38,.88)); }
.visual-caption { position: absolute; z-index: 2; left: 30px; right: 30px; bottom: 28px; }
.visual-caption small { color: #8f9cff; text-transform: uppercase; letter-spacing: .1em; }
.visual-caption h3 { margin-top: 8px; }

/* ---- Process ---- */
.process { counter-reset: process; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.process-step { min-height: 230px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-step::before { counter-increment: process; content: "0" counter(process); display: block; margin-bottom: 42px; color: var(--brand); font-size: 13px; font-weight: 800; }
.process-step p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---- Media Feature ---- */
.media-feature { display: grid; grid-template-columns: 1.08fr .92fr; gap: 30px; align-items: stretch; }
.media-frame { min-height: 440px; border-radius: var(--radius-lg); overflow: hidden; background: #0d142b; }
.media-frame > img, .media-frame > video, .media-frame > svg { width: 100%; height: 100%; min-height: 440px; object-fit: cover; }
.media-video-wrap { position: relative; }
.media-video-wrap video { display: block; }

/* Media video controls */
.media-video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  opacity: 0;
  transition: opacity .3s ease;
  z-index: 2;
}
.media-video-wrap:hover .media-video-controls,
.media-video-controls:hover { opacity: 1; }

.media-play-btn, .media-mute-btn {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease;
}
.media-play-btn:hover, .media-mute-btn:hover { background: rgba(255,255,255,.32); }
.media-play-btn svg,
.media-mute-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: currentColor;
}
.media-mute-btn svg {
  width: 16px;
  height: 16px;
}

.media-play-btn .icon-pause { display: none; }
.media-play-btn.playing .icon-play { display: none; }
.media-play-btn.playing .icon-pause { display: block; }

.media-mute-btn .icon-sound { display: none; }
.media-mute-btn.unmuted .icon-muted { display: none; }
.media-mute-btn.unmuted .icon-sound { display: block; }

.media-progress-wrap {
  flex: 1;
  height: 8px;
  cursor: pointer;
  border-radius: 4px;
  transition: height .15s ease;
}
.media-progress-wrap:hover { height: 12px; }
.media-progress {
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,.25);
  border-radius: 4px;
  overflow: hidden;
}
.media-progress-fill {
  height: 100%;
  width: 0%;
  background: #fff;
  border-radius: 4px;
  transition: width .15s linear;
}
.media-copy { padding: 44px; border-radius: var(--radius-lg); background: var(--surface); }
.media-copy p { margin-top: 18px; color: var(--muted); }
.media-list { display: grid; gap: 14px; margin-top: 28px; }
.media-list div { display: flex; gap: 12px; align-items: flex-start; padding-top: 14px; border-top: 1px solid var(--line); }
.media-list b { color: var(--brand); }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.contact-list { display: grid; gap: 18px; margin-top: 24px; }
.contact-item { padding-top: 14px; border-top: 1px solid var(--line); }
.contact-item span { display: block; color: var(--muted); font-size: 13px; }
.contact-item strong { display: block; margin-top: 4px; font-size: 16px; }
.contact-form { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: grid; gap: 6px; }
.form-field.full { grid-column: 1/-1; }
.form-field label { font-size: 13px; font-weight: 720; }
.form-field input, .form-field textarea, .form-field select { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid #ccd4e0; border-radius: 10px; background: #fff; }
.form-field textarea { min-height: 90px; resize: vertical; }
.form-note { margin-top: 10px; color: var(--muted); font-size: 12px; }

/* ---- CTA Band ---- */
.cta-band { padding: 66px 0; color: #fff; background: var(--brand); scroll-snap-align: none; }
.cta-grid { display: grid; grid-template-columns: 1fr auto; gap: 46px; align-items: center; }
.cta-grid p { margin-top: 13px; color: #e2e5ff; }

/* ---- Footer ---- */
.site-footer { padding: 58px 0 28px; color: #dbe1f0; background: #080d1e; scroll-snap-align: none; }
.footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3, .7fr); gap: 46px; }
.footer-brand p { margin-top: 20px; color: #9ba7bf; font-size: 14px; max-width: 420px; }
.footer-col h4 { color: #fff; font-size: 15px; }
.footer-col a { display: block; margin-top: 10px; color: #aeb8cd; font-size: 13px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #808da8; font-size: 12px; }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  :root { --container: min(100% - 40px, 960px); }
  .site-nav a { padding-inline: 8px; font-size: 13px; }
  .hero-grid { gap: 34px; padding-top: 100px; }
  .hero-scroll-hint { bottom: 24px; }
}

@media (max-width: 900px) {
  .menu-button { display: block; }
  .site-nav { position: fixed; left: 20px; right: 20px; top: 84px; display: none; padding: 16px; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 14px; font-size: 15px; }
  .hero-grid, .section-heading, .capability-band, .media-feature, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; }
  .hero-visual { min-height: auto; }
  .hero-video-wrap { min-height: 500px; }
  .section-heading { gap: 18px; }
  .problem-grid, .solution-grid, .value-grid, .card-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-card.featured { grid-column: span 2; }
  .proof-grid { grid-template-columns: 1fr; gap: 32px; }
  .mission-vision { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-col:last-child { grid-column: 2/4; }
}

@media (max-width: 640px) {
  :root { --container: calc(100vw - 30px); }
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .full-section.section { padding: 48px 0; }
  .brand-logo img { width: 158px; }
  .hero { padding-top: 48px; min-height: auto; }
  .hero-grid { padding-top: 80px; min-height: auto; }
  .hero-copy h1 { font-size: 43px; }
  .hero-visual { min-height: auto; }
  .hero-video-wrap { min-height: 400px; }
  .hero-main-image { inset: 12px 0 50px 18px; width: calc(100% - 18px); height: calc(100% - 62px); }
  .hero-secondary-image { width: 48%; border-width: 5px; }
  .hero-index { width: 72px; height: 72px; right: 8px; font-size: 12px; }
  .problem-grid, .solution-grid, .value-grid, .card-grid { grid-template-columns: 1fr; }
  .layer-grid { grid-template-columns: 1fr; }
  .ea-grid { grid-template-columns: 1fr; }
  .ea-right { position: static; }
  .solution-card.featured { grid-column: span 1; }
  .process { grid-template-columns: 1fr; }
  .process-step { min-height: 190px; }
  .capability-visual { min-height: 410px; }
  .media-frame { min-height: 300px; }
  .media-copy, .contact-form { padding: 26px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: 1; }
  .cta-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
  .footer-col:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 420px) {
  .hero-copy h1 { font-size: 38px; }
  .hero-visual-subtitle { white-space: normal; font-size: 13px; padding: 5px 14px; }
}

/* ---- Ambient Orbs (background spheres) ---- */
.orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .45;
  animation: orbFloat ease-in-out infinite;
}

/* Light-section orbs */
.section:not(.dark):not(.hero) .orb { background: var(--brand); }
.section:not(.dark):not(.hero) .orb:nth-child(2) { background: var(--health); }
.section:not(.dark):not(.hero) .orb:nth-child(3) { background: #7c6aff; }

/* Dark-section orbs */
.section.dark .orb {
  background: rgba(28, 30, 250, .35);
  filter: blur(100px);
  opacity: .55;
}
.section.dark .orb:nth-child(2) {
  background: rgba(21, 157, 145, .25);
}
.section.dark .orb:nth-child(3) {
  background: rgba(143, 156, 255, .2);
}

.orb-1 { width: 500px; height: 500px; top: -10%; left: -8%; animation-duration: 18s; }
.orb-2 { width: 400px; height: 400px; bottom: -15%; right: -5%; animation-duration: 22s; animation-delay: -6s; }
.orb-3 { width: 350px; height: 350px; top: 40%; left: 50%; animation-duration: 26s; animation-delay: -12s; }

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%      { transform: translate(40px, -30px) scale(1.08); }
  50%      { transform: translate(-20px, 20px) scale(.95); }
  75%      { transform: translate(30px, 10px) scale(1.04); }
}

/* Proof strip orbs */
.proof-strip .orb { background: var(--brand); opacity: .2; filter: blur(120px); }
.proof-strip .orb:nth-child(2) { background: var(--health); }

/* Tint sections get soft gradient backgrounds */
.section.tint {
  background:
    linear-gradient(180deg, var(--surface) 0%, #eef0ff 40%, #e6f7f4 70%, var(--surface) 100%);
}

/* Make non-hero full-sections clip their overflow for orbs */
.full-section:not(.hero) { overflow: hidden; }

/* Ensure content sits above orbs */
.full-section > .container,
.full-section .capability-band,
.full-section .media-feature {
  position: relative;
  z-index: 1;
}

/* CTA band gets subtle orbs too */
.cta-band {
  position: relative;
  overflow: hidden;
}
.cta-band .orb {
  background: #fff;
  filter: blur(80px);
  opacity: .12;
}

@media (max-width: 640px) {
  .orb { filter: blur(50px) !important; opacity: .3 !important; }
  .orb-1 { width: 300px !important; height: 300px !important; }
  .orb-2 { width: 250px !important; height: 250px !important; }
  .orb-3 { width: 200px !important; height: 200px !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* ===== Wormhole Canvas ===== */
.wormhole-visual {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}
.wormhole-visual:hover {
  box-shadow: 0 0 60px rgba(28, 30, 250, 0.4), 0 0 120px rgba(28, 30, 250, 0.15);
  transition: box-shadow 0.6s ease;
}

#wormhole-canvas {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 440px;
}

/* Full-screen canvas overlay (injected by JS) */
#wormhole-canvas[style*="position: fixed"] {
  pointer-events: none;
}

/* Explore prompt */
.wormhole-prompt {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(10, 16, 38, 0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(74, 202, 255, 0.25);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 10;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.wormhole-visual:hover .wormhole-prompt {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Star sparkle */
.wormhole-star {
  display: inline-block;
  width: 16px;
  height: 16px;
  position: relative;
  flex-shrink: 0;
}
.wormhole-star::before,
.wormhole-star::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.wormhole-star::before {
  width: 3px;
  height: 3px;
  background: #4ACAFF;
  border-radius: 50%;
  box-shadow: 0 0 8px #4ACAFF, 0 0 14px rgba(74, 202, 255, 0.4);
}
.wormhole-star::after {
  width: 16px;
  height: 16px;
  background: transparent;
  border: 1px solid rgba(74, 202, 255, 0.5);
  border-radius: 50%;
  animation: starRing 2s ease-out infinite;
}
@keyframes starRing {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; border-width: 2px; }
  100% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; border-width: 0.5px; }
}

/* ---- News Section ---- */
.news-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: end;
  height: 110dvh;
  padding: 120px 0 0;
  box-sizing: border-box;
}
.news-article {
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.15) transparent;
}
.news-article::-webkit-scrollbar { width: 4px; }
.news-article::-webkit-scrollbar-track { background: transparent; }
.news-article::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 4px; }

.news-date {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  margin: 0 0 8px;
  letter-spacing: .02em;
}
.news-title {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 820;
  margin: 0 0 12px;
  line-height: 1.25;
}
.news-lead {
  font-size: 15px;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  margin-bottom: 18px;
}
.news-sections {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.news-block {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  padding: 14px 16px;
}
.news-block-title {
  font-size: 14px;
  font-weight: 700;
  color: #8f9cff;
  margin: 0 0 6px;
  letter-spacing: .03em;
}
.news-block ul {
  margin: 0;
  padding: 0 0 0 18px;
  list-style: none;
}
.news-block li {
  position: relative;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,.78);
  padding: 2px 0 2px 16px;
}
.news-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8f9cff;
}
.news-block li strong { color: #fff; }
.news-foot {
  font-size: 12px;
  color: rgba(255,255,255,.4);
  margin-top: 14px;
  font-style: italic;
}

.news-video-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  aspect-ratio: 9/16;
  max-height: 88vh;
}
.news-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- Form Success Modal ---- */
.form-success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,16,38,.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  transition: opacity .3s ease;
}
.form-success-overlay.show { opacity: 1; }
.form-success-modal {
  background: #fff;
  border-radius: 20px;
  padding: 40px 36px 32px;
  text-align: center;
  max-width: 380px;
  width: 90%;
  box-shadow: 0 30px 80px rgba(10,16,38,.25);
  transform: translateY(20px) scale(.96);
  transition: transform .3s ease;
}
.form-success-overlay.show .form-success-modal {
  transform: translateY(0) scale(1);
}
.form-success-modal h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 16px 0 8px;
  color: var(--ink);
}
.form-success-modal p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}
.form-success-close {
  padding: 10px 28px;
  border: none;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}
.form-success-close:hover { background: var(--brand-700); }

/* ===== Video Fullscreen Overlay ===== */
.video-fs-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(5, 10, 22, 0.95);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.video-fs-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.video-fs-player {
  position: relative;
  width: min(1200px, 94vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.video-fs-close {
  position: absolute;
  top: -52px;
  right: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  font-size: 20px;
}
.video-fs-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}
.video-fs-title {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
  letter-spacing: 0.02em;
}
.video-fs-video {
  width: 100%;
  max-height: 78vh;
  border-radius: 16px;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.video-fs-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  width: 100%;
  max-width: 600px;
}
.video-fs-play-btn,
.video-fs-mute-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}
.video-fs-play-btn:hover,
.video-fs-mute-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}
.video-fs-play-btn svg,
.video-fs-mute-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.video-fs-mute-btn svg {
  width: 16px;
  height: 16px;
}
.video-fs-play-btn .icon-pause { display: none; }
.video-fs-play-btn.playing .icon-play { display: none; }
.video-fs-play-btn.playing .icon-pause { display: block; }
.video-fs-mute-btn .icon-sound { display: none; }
.video-fs-mute-btn.unmuted .icon-muted { display: none; }
.video-fs-mute-btn.unmuted .icon-sound { display: block; }
.video-fs-progress-wrap {
  flex: 1;
  height: 8px;
  cursor: pointer;
  border-radius: 4px;
  transition: height 0.15s ease;
}
.video-fs-progress-wrap:hover { height: 12px; }
.video-fs-progress {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
}
.video-fs-progress-fill {
  height: 100%;
  width: 0%;
  background: #fff;
  border-radius: 4px;
  transition: width 0.15s linear;
}

/* Zoom button in video controls */
.media-zoom-btn {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease;
  box-sizing: border-box;
  line-height: 1;
}
.media-zoom-btn:hover { background: rgba(255,255,255,.32); }
.media-zoom-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
}

/* Zoom button for carousel videos */
.carousel-video-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
}
.carousel-video-wrap .carousel-zoom-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  padding: 0;
  margin: 0;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease, transform 0.2s ease;
  z-index: 2;
  box-sizing: border-box;
  line-height: 1;
}
.carousel-video-wrap:hover .carousel-zoom-btn {
  opacity: 1;
}
.carousel-video-wrap .carousel-zoom-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}
.carousel-video-wrap .carousel-zoom-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

