/* =========================
   NIRVANA-极境 replica
   ========================= */

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
html, body { margin: 0; padding: 0; background: #000; color: #f5f5f5; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Segoe UI", "Microsoft YaHei", sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { width: 100%; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; }

:root {
  --container-max: 1280px;
  --header-h: 64px;
}

.spotlight {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(circle at var(--mx,50%) var(--my,30%), rgba(80,160,255,.07), transparent 40%);
}

/* ===== HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  display: block;
  opacity: 1;
  visibility: visible;
  transform: none;
  background: linear-gradient(180deg, rgba(3,7,18,.88) 0%, rgba(3,7,18,.62) 72%, rgba(3,7,18,0) 100%);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  border-bottom: 1px solid rgba(255,255,255,.08);
  pointer-events: auto;
}
.header-inner {
  max-width: var(--container-max); margin: 0 auto; padding: 0 32px;
  height: var(--header-h); display: flex; align-items: center; justify-content: space-between;
}
.brand-logo {
  width: auto; height: 44px; display: block;
  filter: drop-shadow(0 0 16px rgba(255,255,255,.34));
}
.desktop-nav { display: flex; align-items: center; gap: 32px; }
.desktop-nav a, .nav-dropdown {
  color: #d1d5db; font-size: 15px;
  display: inline-flex; align-items: center; gap: 4px;
  transition: color .2s ease;
}
.desktop-nav a:hover, .nav-dropdown:hover { color: #fff; }
.nav-dropdown { padding: 14px 0; }
.header-cta {
  padding: 8px 18px; border: 1px solid #4b5563; color: #fff; font-weight: 600;
  border-radius: 999px; transition: background .2s;
}
.header-cta:hover { background: rgba(31,41,55,.7); }
.mobile-toggle { display: none; color: #d1d5db; }
@media (max-width: 768px) {
  .desktop-nav, .header-cta { display: none; }
  .mobile-toggle { display: inline-flex; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  justify-content: flex-end;
  padding: calc(var(--header-h) + 12px) 18px 18px;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu-panel {
  width: min(84vw, 320px);
  align-self: flex-start;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(7,11,20,.96);
  box-shadow: 0 24px 70px rgba(0,0,0,.42);
  padding: 14px;
}
.mobile-menu-panel a,
.mobile-menu-panel button {
  display: block;
  width: 100%;
  padding: 14px 12px;
  border-radius: 6px;
  color: #e5e7eb;
  text-align: left;
  font-size: .98rem;
}
.mobile-menu-panel a:hover,
.mobile-menu-panel button:hover {
  background: rgba(255,255,255,.06);
  color: #fff;
}

/* ===== HERO ===== */
.hero {
  position: relative; width: 100%; height: 100vh; height: 100svh; min-height: 720px; overflow: hidden; background: #000; isolation: isolate;
}
.hero-showreel {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .36;
  filter: saturate(.82) contrast(1.08) brightness(.72);
  transform: scale(1.04);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.38) 0%, rgba(0,0,0,.05) 42%, rgba(0,0,0,.2) 100%),
    radial-gradient(ellipse at center, rgba(255,255,255,.12) 0%, rgba(255,255,255,.04) 24%, transparent 58%),
    url("./assets/nirvana/logos/yunceqing-art-white-transparent.png") no-repeat center 47%;
  background-size: auto, auto, min(74vw, 1040px) auto;
  opacity: .86;
  filter: drop-shadow(0 0 18px rgba(255,255,255,.42)) drop-shadow(0 0 48px rgba(110,150,255,.2));
}
.hero::after {
  content: "AGENT CHANGE WORLD";
  position: absolute;
  left: 50%;
  bottom: clamp(22px, 5vh, 54px);
  z-index: 4;
  width: min(92vw, 1120px);
  pointer-events: none;
  transform: translateX(-50%) skewX(-8deg);
  text-align: center;
  font-family: "Arial Black", Impact, "Helvetica Neue", sans-serif;
  font-size: clamp(36px, 5.8vw, 84px);
  line-height: .88;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(100deg, #ffffff 0%, #9fb7ff 24%, #ffffff 42%, #66f3ff 58%, #ffffff 82%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 1px rgba(255,255,255,.72);
  text-shadow: 0 0 12px rgba(255,255,255,.72), 0 0 28px rgba(105,170,255,.52), 0 0 56px rgba(85,245,255,.28);
  opacity: .94;
  animation: agentSloganPulse 4.8s ease-in-out infinite;
}
@keyframes agentSloganPulse {
  0%, 100% { filter: drop-shadow(0 0 14px rgba(255,255,255,.24)); opacity: .86; }
  50% { filter: drop-shadow(0 0 28px rgba(102,243,255,.42)); opacity: 1; }
}
#hero-canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; display: block; }
.hero-radial {
  position: absolute; inset: 0; z-index: 2;
  background:
    radial-gradient(circle at center, rgba(10,10,10,0) 0%, rgba(0,0,0,.72) 74%, rgba(0,0,0,1) 100%),
    linear-gradient(90deg, rgba(0,0,0,.72), transparent 28%, transparent 72%, rgba(0,0,0,.72));
  pointer-events: none;
}
.hero-led-word { width: min(96vw, 1600px); height: auto; opacity: .92; }
.led-halo {
  fill: rgba(120,170,255,.06);
  filter: blur(2px);
}
.led-dots {
  opacity: .55;
  animation: ledFlicker 4.2s ease-in-out infinite;
}
@keyframes ledFlicker {
  0%, 100% { opacity: .45; }
  20% { opacity: .65; }
  50% { opacity: .55; }
  72% { opacity: .8; }
}
.led-scan {
  animation: ledScanX 5.5s linear infinite;
  transform-origin: center;
}
@keyframes ledScanX {
  0%   { transform: translateX(-100%); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}
.hero-robot {
  display: none;
}
.hero-robot spline-viewer {
  width: 100%; height: 100%;
  background: transparent !important;
  --spline-loader-color: rgba(120,170,255,.5);
}
.hero-robot spline-viewer::part(logo),
.hero-robot spline-viewer::part(default-loader) { display: none; }

@media (max-width: 1180px) {
  :root { --header-h: 60px; }
  .header-inner { padding: 0 22px; }
  .brand-logo { height: 38px; }
  .desktop-nav { gap: 22px; }
  .desktop-nav a,
  .nav-dropdown { font-size: 14px; }
  .header-cta { padding: 7px 16px; }
  .hero { min-height: 660px; }
  .hero::before {
    background-position: center 44%;
    background-size: auto, auto, min(82vw, 860px) auto;
  }
  .hero::after {
    width: min(94vw, 940px);
    bottom: clamp(28px, 5.5vh, 48px);
    font-size: clamp(34px, 6.2vw, 66px);
  }
}

@media (max-width: 900px) {
  .brand-logo { height: 34px; max-width: 180px; object-fit: contain; }
  .desktop-nav { gap: 16px; }
  .desktop-nav a,
  .nav-dropdown { font-size: 13px; }
  .header-cta { display: none; }
  .hero { min-height: 620px; }
  .hero-showreel {
    opacity: .42;
    transform: none;
    object-position: center center;
  }
  .hero::before {
    background-position: center 40%;
    background-size: auto, auto, min(96vw, 700px) auto;
    opacity: .82;
  }
  .hero::after {
    width: 94vw;
    bottom: max(28px, env(safe-area-inset-bottom));
    font-size: clamp(30px, 8.5vw, 52px);
    line-height: .9;
    white-space: normal;
    transform: translateX(-50%) skewX(-7deg);
  }
}

@media (max-width: 768px) {
  :root { --header-h: 56px; }
  .site-header {
    background: linear-gradient(180deg, rgba(3,7,18,.92) 0%, rgba(3,7,18,.76) 100%);
  }
  .header-inner { padding: 0 16px; }
  .brand-logo { height: 32px; max-width: 168px; }
  .mobile-toggle {
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
  }
  .mobile-menu {
    justify-content: center;
    padding-inline: 14px;
  }
  .mobile-menu-panel {
    width: min(100%, 360px);
  }
  .hero {
    min-height: 600px;
  }
  .hero-showreel {
    opacity: .44;
    transform: none;
    object-position: 50% center;
  }
  #hero-canvas { opacity: .68; }
  .hero-radial {
    background:
      radial-gradient(circle at center, rgba(10,10,10,0) 0%, rgba(0,0,0,.54) 64%, rgba(0,0,0,.95) 100%),
      linear-gradient(90deg, rgba(0,0,0,.62), transparent 34%, transparent 66%, rgba(0,0,0,.62));
  }
  .hero::before {
    background-position: center 38%;
    background-size: auto, auto, min(94vw, 590px) auto;
    opacity: .8;
  }
  .hero::after {
    bottom: max(24px, env(safe-area-inset-bottom));
    width: 92vw;
    font-size: clamp(26px, 10vw, 42px);
    line-height: .92;
    -webkit-text-stroke: .55px rgba(255,255,255,.78);
    text-shadow: 0 0 10px rgba(255,255,255,.68), 0 0 24px rgba(105,170,255,.5), 0 0 42px rgba(85,245,255,.24);
  }
}

@media (max-width: 480px) {
  .hero { min-height: 560px; }
  .hero::before {
    background-position: center 37%;
    background-size: auto, auto, min(96vw, 520px) auto;
  }
  .hero::after {
    width: 94vw;
    bottom: max(22px, env(safe-area-inset-bottom));
    font-size: clamp(24px, 11.5vw, 38px);
  }
}

@media (orientation: landscape) and (max-height: 520px) {
  :root { --header-h: 52px; }
  .header-inner { padding: 0 18px; }
  .brand-logo { height: 28px; max-width: 148px; }
  .hero {
    height: 100svh;
    min-height: 520px;
  }
  .hero-showreel { transform: none; }
  .hero::before {
    background-position: center 45%;
    background-size: auto, auto, min(58vw, 600px) auto;
  }
  .hero::after {
    bottom: 18px;
    width: 88vw;
    font-size: clamp(24px, 6vw, 40px);
    white-space: nowrap;
  }
}

/* ===== BENEFITS / 4-STEP STICKY ===== */
.benefits { position: relative; height: 400vh; background: #000; color: #fff; }
.benefits-sticky {
  position: sticky; top: 0; height: 100vh; width: 100%;
  display: flex; align-items: center;
  padding: 0 64px;
}
.benefits-grid {
  width: 100%; max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.benefits-copy { position: relative; min-height: 360px; }
.benefit-step {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  opacity: 0; filter: blur(8px); transform: translateY(10px);
  transition: opacity .55s ease, filter .55s ease, transform .55s ease;
  pointer-events: none;
}
.benefit-step.is-active { opacity: 1; filter: blur(0); transform: none; pointer-events: auto; }
.benefit-step h2 {
  font-size: clamp(2.4rem, 4.8vw, 4rem); font-weight: 800;
  margin: 0 0 24px; line-height: 1.1; letter-spacing: -0.02em;
}
.benefit-step p { font-size: clamp(1rem, 1.4vw, 1.25rem); line-height: 1.7; color: #d1d5db; margin: 0; }

.benefits-visual { position: relative; min-height: 480px; display: flex; align-items: center; justify-content: center; overflow: clip; contain: paint; }
.visual-glow {
  position: absolute; width: 30rem; height: 30rem; border-radius: 50%;
  background-color: rgba(255, 215, 0, 1); filter: blur(150px); opacity: .33;
  transition: background-color .8s ease;
}
.benefit-icon {
  position: absolute; color: var(--c, #FFD700);
  filter: drop-shadow(0 0 1.5rem var(--c, #FFD700));
  opacity: 0; transform: scale(.5);
  transition: opacity .55s ease, transform .55s ease;
}
.benefit-icon.is-active { opacity: 1; transform: scale(1); }
.benefit-icon svg { width: 12rem; height: 12rem; }
@media (min-width: 640px) { .benefit-icon svg { width: 18rem; height: 18rem; } }

@media (max-width: 900px) {
  .benefits-grid { grid-template-columns: 1fr; gap: 32px; }
  .benefits-visual { min-height: 320px; }
  .visual-glow { width: 22rem; height: 22rem; }
  .benefit-icon svg { width: 10rem; height: 10rem; }
  .benefits-sticky { padding: 0 24px; }
}

/* ===== TWO MODES ===== */
.modes { position: relative; min-height: 100vh; padding: 96px 0; background: #000; overflow: hidden; }
.noise-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .04;
  background-image:
    radial-gradient(rgba(255,255,255,.6) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,.4) 1px, transparent 1px);
  background-size: 4px 4px, 7px 7px;
  background-position: 0 0, 2px 2px;
}
.modes-inner {
  max-width: var(--container-max); margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 2fr 3fr; gap: 64px; align-items: start;
}
.modes-left { position: sticky; top: calc(var(--header-h) + 32px); display: flex; flex-direction: column; gap: 48px; }
.modes-title h2 {
  font-size: clamp(2.6rem, 5vw, 4.5rem); font-weight: 900; letter-spacing: -0.03em;
  line-height: 1.05; margin: 0;
}
.modes-title h2.muted { color: #6b7280; }
.mode-item h3 { font-size: 1.6rem; margin: 0 0 8px; transition: color .3s; }
.mode-item p { font-size: 1.05rem; color: #d1d5db; line-height: 1.7; margin: 0; transition: color .3s; }
.mode-item:not(.is-active) h3 { color: #6b7280; }
.mode-item:not(.is-active) p { color: #4b5563; }
.mode-item:hover h3 { color: #fff; }
.mode-item:hover p { color: #d1d5db; }

.modes-right { min-height: 600px; }
.mode-visual {
  position: relative; height: 600px; border-radius: 24px; overflow: hidden;
  background: linear-gradient(135deg, rgba(59,130,246,.06), rgba(0,0,0,1) 60%);
  border: 1px solid rgba(255,255,255,.06);
}
.mv-orb {
  position: absolute; left: 50%; top: 45%; width: 320px; height: 320px;
  border-radius: 50%; transform: translate(-50%,-50%);
  background: radial-gradient(circle at 35% 30%, rgba(120,180,255,.7), rgba(40,80,160,.4) 45%, rgba(10,15,30,0) 70%);
  filter: blur(2px);
  animation: orbFloat 9s ease-in-out infinite;
}
@keyframes orbFloat { 0%,100% { transform: translate(-50%,-50%) scale(1); } 50% { transform: translate(-50%,-55%) scale(1.05); } }
.mv-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 70%);
}
.mv-line {
  position: absolute; height: 1px;
  background: linear-gradient(to right, transparent, rgba(96,165,250,.6), transparent);
  animation: mvScan 6s linear infinite;
}
.mv-line.l1 { top: 30%; left: 0; right: 0; animation-delay: 0s; }
.mv-line.l2 { top: 50%; left: 0; right: 0; animation-delay: 1.5s; }
.mv-line.l3 { top: 70%; left: 0; right: 0; animation-delay: 3s; }
@keyframes mvScan { 0% { transform: translateX(-30%); opacity: 0; } 50% { opacity: 1; } 100% { transform: translateX(30%); opacity: 0; } }
.mv-tag {
  position: absolute; padding: 6px 14px; border-radius: 999px;
  background: rgba(15,23,42,.7); border: 1px solid rgba(96,165,250,.35);
  color: #cbd5e1; font-size: .8rem; backdrop-filter: blur(8px);
}
.mv-tag.t1 { top: 18%; left: 12%; }
.mv-tag.t2 { top: 12%; right: 14%; }
.mv-tag.t3 { bottom: 16%; left: 18%; }

@media (max-width: 1024px) {
  .modes-inner { grid-template-columns: 1fr; }
  .modes-left { position: relative; top: 0; }
}

/* ===== SOLUTIONS ===== */
.solutions {
  position: relative; min-height: 100vh; background: #000; color: #fff;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 96px 32px; overflow: hidden;
}
.solutions-head { max-width: 960px; text-align: center; margin-bottom: 32px; }
.pill {
  display: inline-block; background: rgba(255,255,255,.05); border-radius: 999px;
  padding: 4px 16px; font-size: 1rem; color: #d4d4d4; margin: 0 0 16px; backdrop-filter: blur(6px);
}
.grad-text {
  font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 16px;
  background: linear-gradient(180deg, #fafafa 0%, #a3a3a3 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.divider-glow { width: 100%; max-width: 720px; height: 1px; margin: 24px auto 64px; position: relative; }
.divider-glow::before, .divider-glow::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, transparent, rgba(59,130,246,.7), transparent);
}
.divider-glow::before { filter: blur(10px); }
.divider-glow::after { opacity: .5; }

.solution-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px;
  width: 100%; max-width: 1100px;
}
.solution-card {
  position: relative; height: 350px; padding: 32px; border-radius: 18px;
  background: #0A0E1B; border: 1px solid rgba(30,41,59,.5); overflow: hidden;
  transition: border-color .3s, box-shadow .3s, transform .4s ease-out;
  display: block;
}
.solution-card.primary-solution {
  order: -1;
  border-color: rgba(147,197,253,.38);
  box-shadow: 0 24px 70px -42px rgba(96,165,250,.72);
}
.solution-card.primary-solution .card-body h3::after {
  content: "主业";
  display: inline-block;
  margin-left: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  vertical-align: middle;
  background: rgba(96,165,250,.16);
  color: #93c5fd;
  font-size: .72rem;
  font-weight: 700;
}
.solution-card:hover {
  border-color: #334155;
  box-shadow: 0 25px 60px -20px rgba(59,130,246,.25);
}
.card-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 32px 32px;
}
.card-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 400px 400px at var(--mouse-x,50%) var(--mouse-y,50%), rgba(59,130,246,var(--opacity,0)), transparent 70%);
  transition: opacity .3s;
}
.card-body { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; }
.card-body h3 { font-size: 1.5rem; font-weight: 700; margin: 0 0 16px; line-height: 1.3; }
.card-body p {
  color: #a3a3a3; font-size: 1rem; line-height: 1.7; margin: 0 0 24px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card-body .more {
  font-size: .85rem; font-weight: 600; letter-spacing: .05em; color: #d4d4d4;
  transition: color .3s; margin-top: auto;
}
.solution-card:hover .more { color: #fff; }

.card-icon {
  position: absolute; bottom: 16px; right: 16px;
  width: 112px; height: 112px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(23,37,84,.3); backdrop-filter: blur(12px);
  color: rgba(96,165,250,.6); transition: background .3s, color .3s, box-shadow .3s, transform .3s;
  z-index: 2;
}
.card-icon svg { width: 4.5rem; height: 4.5rem; }
.solution-card:hover .card-icon {
  background: rgba(23,37,84,.5); color: #60a5fa;
  box-shadow: 0 18px 38px -10px rgba(59,130,246,.3);
}

@media (max-width: 800px) {
  .solution-grid { grid-template-columns: 1fr; }
  .solution-card { height: auto; min-height: 320px; }
  .card-icon { width: 84px; height: 84px; }
  .card-icon svg { width: 3rem; height: 3rem; }
}

/* ===== MASK / SCALE SECTION ===== */
.mask-section { position: relative; height: 250vh; background: #000; }
.mask-sticky { position: sticky; top: 0; height: 100vh; width: 100%; overflow: hidden; contain: paint; }
.mask-bg { position: absolute; inset: 0; z-index: 0; transform: scale(1.1); }
.mask-video { width: 100%; height: 100%; object-fit: cover; }
.mask-veil { position: absolute; inset: 0; background: rgba(0,0,0,.4); }
.mask-overlay {
  position: absolute; inset: 0; z-index: 10;
  background: #000; mix-blend-mode: multiply; pointer-events: none;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.mask-title {
  color: #fff; font-weight: 800; line-height: 1.1; user-select: none; margin: 0;
  font-size: clamp(3rem, 9vw, 8rem);
  transform-origin: 48.5% 64%;
  transform: scale(200);
  will-change: transform;
}
.mask-foreground {
  position: absolute; inset: 0; z-index: 20;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; pointer-events: none; padding: 0 16px;
}
.mask-title-clone {
  color: transparent; font-weight: 800; line-height: 1.1; user-select: none; margin: 0;
  font-size: clamp(3rem, 9vw, 8rem); pointer-events: none;
}
.mask-sub {
  color: #f5f5f5; font-size: clamp(1rem, 1.6vw, 1.4rem); font-weight: 300; letter-spacing: 0.05em;
  max-width: 720px; padding: 16px 32px; margin: 32px 0 0;
  background: rgba(0,0,0,.3); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.1); border-radius: 18px;
  opacity: 0; transform: translateY(60px);
  transition: opacity .8s ease, transform .8s ease;
  pointer-events: auto;
}
.mask-sub.is-on { opacity: 1; transform: translateY(0); }
.scroll-hint {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 30;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: rgba(255,255,255,.4); font-size: .7rem; letter-spacing: .2em;
}
.scroll-hint i {
  width: 1px; height: 64px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), rgba(255,255,255,.2), transparent);
}

/* ===== LOGOS / TIME ===== */
.logos-section { position: relative; padding: 208px 32px; background: #000; overflow: hidden; }
.logos-inner { max-width: var(--container-max); margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.static-glow-text {
  font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; color: #fff; margin: 0 0 32px;
  text-shadow: 0 0 24px rgba(255,255,255,.18), 0 0 48px rgba(96,165,250,.12);
}
.logos-sub { font-size: clamp(1.1rem, 1.6vw, 1.6rem); color: #d1d5db; margin: 0 0 128px; }
.logo-marquee {
  position: relative; height: 80px; overflow: hidden;
  contain: paint;
  mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}
.logo-track {
  display: flex; position: absolute; left: 0; top: 0; height: 100%;
  animation: marquee 40s linear infinite;
}
.logo-cell {
  flex-shrink: 0; width: 192px; height: 80px;
  display: flex; align-items: center; justify-content: center; margin: 0 48px;
}
.logo-cell img {
  max-width: 120px; max-height: 40px; width: auto; height: auto;
  object-fit: contain; filter: brightness(.95);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== CTA ===== */
.cta-section { position: relative; height: 70vh; min-height: 480px; padding: 80px 0; background: #000; overflow: hidden; }
#cta-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cta-inner {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: flex-end;
  padding: 0 32px; pointer-events: none;
}
.cta-copy { width: 100%; max-width: 540px; text-align: center; pointer-events: auto; }
.cta-copy h2 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 700; color: #fff; margin: 0 0 32px; }
.btn-cta-glow {
  position: relative; display: inline-block;
  padding: 14px 40px; border-radius: 999px;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: #fff; font-size: 1rem; font-weight: 700; letter-spacing: .05em;
  box-shadow: 0 10px 36px -8px rgba(59,130,246,.55), 0 0 0 1px rgba(255,255,255,.08) inset;
  transition: transform .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.btn-cta-glow::after {
  content: ""; position: absolute; inset: -2px; border-radius: 999px;
  background: conic-gradient(from 0deg, rgba(96,165,250,.0), rgba(96,165,250,.7), rgba(96,165,250,.0));
  filter: blur(8px); opacity: .6; z-index: -1;
  animation: glowSpin 4s linear infinite;
}
@keyframes glowSpin { to { transform: rotate(360deg); } }
.btn-cta-glow:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -10px rgba(59,130,246,.7); }

@media (max-width: 768px) { .cta-inner { justify-content: center; } }

/* ===== FOOTER ===== */
.site-footer {
  position: relative; padding: 96px 32px;
  border-top: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.2); backdrop-filter: blur(16px);
}
.footer-inner {
  max-width: var(--container-max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start;
}
.footer-logo {
  width: auto; height: 60px;
  filter: drop-shadow(0 0 18px rgba(255,255,255,.26));
}
.footer-tag { color: #a3a3a3; margin: 24px 0 0; line-height: 1.6; }
.footer-meta { margin-top: 48px; color: #6b7280; font-size: .85rem; line-height: 1.7; }
.footer-meta a { color: inherit; }
.footer-meta a:hover { color: #d1d5db; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-cols h3 { font-size: .95rem; color: #e5e5e5; margin: 0 0 16px; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-cols a, .link-btn { color: #a3a3a3; transition: color .2s; padding: 0; font-size: .95rem; }
.footer-cols a:hover, .link-btn:hover { color: #fff; }

/* ===== CONTACT MODAL ===== */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s ease;
}
.contact-modal.is-open { opacity: 1; pointer-events: auto; }
.contact-panel {
  width: min(92vw, 440px);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(12,18,32,.96), rgba(3,6,14,.98));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 90px rgba(0,0,0,.5), 0 0 46px rgba(90,150,255,.16);
  padding: 28px;
  color: #fff;
  position: relative;
}
.contact-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #cbd5e1;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}
.contact-close:hover { color: #fff; background: rgba(255,255,255,.08); }
.contact-panel h2 {
  margin: 0 40px 8px 0;
  font-size: 1.35rem;
  letter-spacing: 0;
}
.contact-panel p {
  margin: 0;
  color: #94a3b8;
  line-height: 1.7;
}
.contact-qr {
  margin: 22px auto 16px;
  width: 220px;
  height: 220px;
  padding: 10px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 34px rgba(96,165,250,.24);
}
.contact-qr img { width: 100%; height: 100%; object-fit: contain; }
.contact-email {
  display: block;
  color: #93c5fd;
  margin-top: 14px;
  word-break: break-all;
}

.footer-ascii {
  max-width: var(--container-max); margin: 96px auto 0;
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 48px; text-align: center; overflow-x: auto;
}
.ascii-art {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px; color: #4b5563; user-select: none; margin: 0; white-space: pre; line-height: 1.4;
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .ascii-art { font-size: 8px; }
}

/* ===== REVEAL ANIMATION ===== */
.reveal { opacity: 0; transform: translateY(50px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-on { opacity: 1; transform: none; }
