/* ═══════════════════════════════════════════
   PUE.co.kr — style.css
   Electric aurora tone · motion-maximal
   ═══════════════════════════════════════════ */

@font-face {
  font-family: "Pretendard Variable";
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/PretendardVariable.woff2") format("woff2-variations");
}

@property --ang {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

:root {
  --bg: #04060B;
  --surface: #070B13;
  --raised: #0C1220;
  --raised-2: #121A2C;
  --line: rgba(255, 255, 255, 0.08);
  --line-soft: rgba(255, 255, 255, 0.05);
  --text: #EEF2F9;
  --text-2: #9AA5B8;
  --text-3: #616D82;
  --accent: #22D3EE;
  --accent-2: #A78BFA;
  --accent-3: #F471B5;
  --good: #3DDC97;
  --accent-soft: rgba(34, 211, 238, 0.12);
  --aurora: linear-gradient(100deg, #22D3EE 5%, #A78BFA 50%, #F471B5 95%);
  --air: #3987e5;
  --liquid: #199e70;
  --immersion: #d95926;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    system-ui, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --mono: var(--font);
  --radius: 18px;
  --nav-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(167, 139, 250, 0.35); }

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1160px, 92%); margin-inline: auto; position: relative; z-index: 2; }
.container-narrow { width: min(820px, 92%); }

.tx-accent { color: var(--good); }
.fine { font-size: 0.8rem; color: var(--text-3); margin-top: 14px; }
.br-desk { display: none; }
@media (min-width: 720px) { .br-desk { display: block; } }

/* aurora gradient text helper */
.grad-text {
  background: var(--aurora);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 5s linear infinite;
}
@keyframes gradShift { to { background-position: 200% center; } }

/* ─────────── film grain overlay ─────────── */
.grain {
  position: fixed;
  inset: -60%;
  width: 220%;
  height: 220%;
  pointer-events: none;
  z-index: 90;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 0.9s steps(4) infinite;
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1.4%); }
  50% { transform: translate(1.6%, -1.2%); }
  75% { transform: translate(-1.2%, -1.8%); }
  100% { transform: translate(0, 0); }
}

/* ─────────── custom cursor ─────────── */
.cursor, .cursor-dot { display: none; }
@media (pointer: fine) {
  .cursor {
    display: block;
    position: fixed;
    top: 0; left: 0;
    width: 34px; height: 34px;
    border: 1.5px solid rgba(34, 211, 238, 0.65);
    border-radius: 50%;
    pointer-events: none;
    z-index: 400;
    transform: translate(-50%, -50%);
    transition: width 0.25s var(--ease), height 0.25s var(--ease),
      border-color 0.25s, background 0.25s, opacity 0.3s;
    mix-blend-mode: screen;
  }
  .cursor.on {
    width: 62px; height: 62px;
    border-color: rgba(244, 113, 181, 0.9);
    background: rgba(167, 139, 250, 0.12);
  }
  .cursor-dot {
    display: block;
    position: fixed;
    top: 0; left: 0;
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 401;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 12px var(--accent);
  }
}

/* ─────────── reveal on scroll ─────────── */
.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  filter: blur(9px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease),
    filter 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: none; filter: blur(0); }

/* ─────────── buttons ─────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  position: relative;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s, border-color 0.25s, color 0.25s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(100deg, #22D3EE, #A78BFA, #F471B5, #22D3EE);
  background-size: 300% auto;
  animation: gradShift 5s linear infinite;
  color: #04060B;
  font-weight: 700;
  box-shadow: 0 8px 34px rgba(167, 139, 250, 0.35);
}
.btn-primary:hover { box-shadow: 0 14px 48px rgba(244, 113, 181, 0.45); }
.btn-ghost { color: var(--text-2); border-color: var(--line); backdrop-filter: blur(6px); }
.btn-ghost:hover { color: var(--text); border-color: rgba(34, 211, 238, 0.5); box-shadow: 0 0 24px rgba(34, 211, 238, 0.15); }
.btn-outline { color: var(--accent); border-color: rgba(34, 211, 238, 0.45); }
.btn-outline:hover { background: var(--accent-soft); box-shadow: 0 0 20px rgba(34, 211, 238, 0.2); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* ─────────── progress bar ─────────── */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2.5px;
  width: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: var(--aurora);
  box-shadow: 0 0 14px rgba(167, 139, 250, 0.8);
  z-index: 420;
}

/* ─────────── nav ─────────── */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  transition: background 0.4s, backdrop-filter 0.4s;
}
.nav::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.35), rgba(244, 113, 181, 0.35), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.nav.scrolled {
  background: rgba(4, 6, 11, 0.7);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
}
.nav.scrolled::after { opacity: 1; }
.nav-inner {
  width: min(1240px, 94%);
  margin-inline: auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); }
.logo-mark { width: 30px; height: 30px; filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.6)); }
.logo-text {
  font-family: var(--mono);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}
.logo-text em { font-style: normal; color: var(--text-3); font-weight: 500; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--text-2);
  transition: color 0.25s, background 0.25s, text-shadow 0.25s;
}
.nav-links a:hover { color: var(--text); text-shadow: 0 0 16px rgba(34, 211, 238, 0.8); }
.nav-links a.active { color: var(--accent); background: var(--accent-soft); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  padding: 8px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    inset-inline: 0;
    flex-direction: column;
    padding: 18px 5%;
    background: rgba(4, 6, 11, 0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s var(--ease);
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 12px 6px; font-size: 1rem; }
  .nav-toggle { display: flex; }
  .nav-right .btn { display: none; }
}

/* ─────────── hero ─────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) 0 80px;
  overflow: hidden;
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* aurora blobs */
.aurora { position: absolute; inset: 0; pointer-events: none; filter: blur(90px) saturate(1.3); opacity: 0.5; }
.aurora i { position: absolute; border-radius: 50%; will-change: transform; }
.aurora i:nth-child(1) {
  width: 640px; height: 640px;
  left: -160px; top: -180px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.55), transparent 65%);
  animation: blobA 16s ease-in-out infinite alternate;
}
.aurora i:nth-child(2) {
  width: 720px; height: 720px;
  right: -220px; top: -80px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.5), transparent 65%);
  animation: blobB 20s ease-in-out infinite alternate;
}
.aurora i:nth-child(3) {
  width: 560px; height: 560px;
  left: 30%; bottom: -280px;
  background: radial-gradient(circle, rgba(244, 113, 181, 0.4), transparent 65%);
  animation: blobC 18s ease-in-out infinite alternate;
}
@keyframes blobA { to { transform: translate(140px, 110px) scale(1.15); } }
@keyframes blobB { to { transform: translate(-160px, 140px) scale(0.9); } }
@keyframes blobC { to { transform: translate(120px, -120px) scale(1.2); } }

/* giant watermark behind hero */
.hero-watermark {
  position: absolute;
  left: 50%; top: 46%;
  transform: translate(-50%, -50%);
  font-size: clamp(240px, 42vw, 640px);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.045);
  pointer-events: none;
  user-select: none;
  animation: wmFloat 12s ease-in-out infinite alternate;
}
@keyframes wmFloat { to { transform: translate(-50%, -54%) scale(1.03); } }

.hero-glow {
  position: absolute;
  width: 900px; height: 900px;
  border-radius: 50%;
  top: -420px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(167, 139, 250, 0.16), transparent 65%);
  animation: glowPulse 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; transform: translateX(-50%) scale(1.06); }
}
.hero-inner { position: relative; z-index: 2; text-align: center; will-change: transform, opacity; }
.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  text-shadow: 0 0 20px rgba(34, 211, 238, 0.7);
  margin-bottom: 26px;
}
.hero-title {
  font-size: clamp(2.2rem, 5.4vw, 4.3rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}
/* line mask reveal on load */
.t-line { display: block; overflow: hidden; }
.t-line > span {
  display: block;
  transform: translateY(112%);
  animation: lineUp 1.1s var(--ease) forwards;
}
.t-line:nth-child(2) > span { animation-delay: 0.18s; }
@keyframes lineUp { to { transform: translateY(0); } }

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--text-2);
  margin-bottom: 38px;
}
.hero-cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-formula {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 20px 34px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background:
    linear-gradient(var(--raised), var(--raised)) padding-box,
    linear-gradient(120deg, rgba(34, 211, 238, 0.5), rgba(167, 139, 250, 0.4), rgba(244, 113, 181, 0.4)) border-box;
  box-shadow: 0 0 40px rgba(167, 139, 250, 0.12);
  font-family: var(--mono);
  margin-bottom: 64px;
}
.hf-label { font-size: 1.7rem; font-weight: 700; }
.hf-eq { font-size: 1.4rem; color: var(--text-3); }
.hf-frac { display: flex; flex-direction: column; text-align: center; font-size: 0.95rem; }
.hf-top { padding-bottom: 6px; border-bottom: 1.5px solid var(--text-3); }
.hf-bottom { padding-top: 6px; color: var(--text-2); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 980px;
  margin-inline: auto;
}
.stat {
  background: rgba(7, 11, 19, 0.75);
  padding: 26px 18px;
  transition: background 0.3s;
}
.stat:hover { background: rgba(18, 26, 44, 0.85); }
.stat-num {
  font-family: var(--mono);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.1;
}
.stat-num .count {
  background: var(--aurora);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 6s linear infinite;
}
.stat-label { font-size: 0.84rem; color: var(--text-2); margin-top: 8px; }
.stat-src { display: block; font-size: 0.72rem; color: var(--text-3); margin-top: 2px; }
@media (max-width: 780px) { .hero-stats { grid-template-columns: 1fr 1fr; } }

.scroll-hint {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 38px;
  border: 1.5px solid var(--text-3);
  border-radius: 14px;
  z-index: 2;
}
.scroll-hint span {
  position: absolute;
  top: 7px; left: 50%;
  width: 3px; height: 8px;
  margin-left: -1.5px;
  border-radius: 3px;
  background: var(--accent);
  animation: hintDrop 1.8s ease-in-out infinite;
}
@keyframes hintDrop {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ─────────── ticker (double, opposite directions) ─────────── */
.ticker {
  border-block: 1px solid var(--line-soft);
  background: var(--surface);
  overflow: hidden;
  padding: 12px 0;
  display: grid;
  gap: 10px;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: tickerMove 40s linear infinite;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--text-2);
  white-space: nowrap;
}
.ticker-track.rev { animation-direction: reverse; animation-duration: 52s; color: var(--text-3); }
.ticker-track i { font-style: normal; font-size: 0.5rem; }
.ticker-track i { color: var(--accent); }
.ticker-track.rev i { color: var(--accent-3); }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tickerMove { to { transform: translateX(-50%); } }

/* ─────────── sections ─────────── */
.section { padding: 120px 0; position: relative; overflow: clip; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line-soft); }

/* huge outlined watermark word, parallax-driven */
.sec-watermark {
  position: absolute;
  top: 34px; left: 4%;
  font-size: clamp(72px, 12vw, 168px);
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.055);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  will-change: transform;
}

.section-head {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 46px;
}
.sec-num {
  font-family: var(--mono);
  font-size: 0.95rem;
  border-radius: 12px;
  padding: 6px 12px;
  margin-top: 6px;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    var(--aurora) border-box;
}
.section-alt .sec-num {
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--aurora) border-box;
}
.sec-eyebrow {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.sec-lead { color: var(--text-2); max-width: 640px; margin: -18px 0 44px; }
.lead { font-size: 1.06rem; margin-bottom: 18px; }
.lead strong, .lead b { color: var(--accent); }
.lead em { font-style: normal; color: var(--text); font-weight: 600; }

/* ─────────── glow-card: rotating conic border on hover ─────────── */
.glow-card { position: relative; }
.glow-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(
    from var(--ang),
    transparent 0turn 0.55turn,
    #22D3EE 0.7turn,
    #A78BFA 0.8turn,
    #F471B5 0.9turn,
    transparent 0.98turn
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
  animation: spinBorder 3.2s linear infinite paused;
  pointer-events: none;
}
.glow-card:hover::before { opacity: 1; animation-play-state: running; }
@keyframes spinBorder { to { --ang: 360deg; } }

/* 3D tilt base */
.tilt { transform-style: preserve-3d; will-change: transform; }

/* ─────────── 01 about ─────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 54px;
  align-items: start;
  margin-bottom: 70px;
}
@media (max-width: 920px) { .about-grid { grid-template-columns: 1fr; } }
.about-copy p { color: var(--text-2); margin-bottom: 18px; }
.about-copy p strong, .about-copy p b { color: var(--text); }

.scalebar { margin-top: 42px; padding-top: 8px; }
.scalebar-track {
  position: relative;
  height: 10px;
  border-radius: 6px;
  background: linear-gradient(90deg, #3DDC97, #d6c04a 50%, #d95926);
  box-shadow: 0 0 24px rgba(61, 220, 151, 0.25);
  margin-bottom: 54px;
}
.scalebar-marker {
  position: absolute;
  top: 16px;
  transform: translateX(-50%);
  text-align: center;
  white-space: nowrap;
}
.scalebar-marker::before {
  content: "";
  position: absolute;
  top: -13px; left: 50%;
  width: 2px; height: 8px;
  margin-left: -1px;
  background: var(--text);
  opacity: 0.6;
}
.scalebar-marker b { display: block; font-family: var(--mono); font-size: 0.88rem; }
.scalebar-marker span { font-size: 0.72rem; color: var(--text-3); }
.scalebar-marker:first-child { transform: translateX(0); text-align: left; }
.scalebar-marker:first-child::before { left: 1px; }
.scalebar-marker:last-child { transform: translateX(-100%); text-align: right; }
.scalebar-marker:last-child::before { left: auto; right: 1px; }

.flow-card {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.flow-card figcaption {
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.flow-card figcaption span { font-size: 0.78rem; color: var(--text-3); font-weight: 400; }
.flow-svg { width: 100%; height: auto; }
.fnode { fill: var(--raised-2); stroke: var(--line); }
.fnode-src { stroke: rgba(167, 139, 250, 0.55); }
.fnode-it { fill: rgba(61, 220, 151, 0.08); stroke: rgba(61, 220, 151, 0.55); }
.ftext { fill: var(--text-2); font-size: 13px; font-family: var(--font); }
.ftitle { font-weight: 600; fill: var(--text); }
.fdim { fill: var(--text-3); font-size: 10px; }
.fnum { font-family: var(--mono); font-size: 14px; font-weight: 700; }
.fnum-it { fill: var(--good); }
.fpath {
  fill: none;
  stroke: rgba(154, 165, 181, 0.4);
  stroke-width: 2;
  stroke-dasharray: 6 8;
  animation: flowDash 1.4s linear infinite;
}
.fpath-it { stroke: var(--good); stroke-width: 3.5; filter: drop-shadow(0 0 4px rgba(61, 220, 151, 0.7)); }
@keyframes flowDash { to { stroke-dashoffset: -14; } }
.flow-note { margin-top: 14px; font-size: 0.85rem; color: var(--text-2); }

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
@media (max-width: 920px) { .timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }
.tl-item {
  position: relative;
  padding: 22px 18px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(12, 18, 32, 0.5);
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.tl-item:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 12px 34px rgba(34, 211, 238, 0.12);
}
.tl-year {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}
.tl-item p { font-size: 0.85rem; color: var(--text-2); line-height: 1.6; }
.tl-item p b { color: var(--text); }
.tl-now { border-color: rgba(167, 139, 250, 0.5); background: rgba(167, 139, 250, 0.08); }
.tl-now .tl-year { color: var(--accent-2); }

/* ─────────── 02 calc ─────────── */
.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr;
  gap: 54px;
  align-items: start;
}
@media (max-width: 980px) { .calc-grid { grid-template-columns: 1fr; } }
.calc-copy p { color: var(--text-2); }
.calc-copy .lead { color: var(--text-2); }

.cat-table {
  margin: 26px 0 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  font-size: 0.88rem;
}
.cat-row {
  display: grid;
  grid-template-columns: 90px 1fr 1.3fr;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line-soft);
  align-items: center;
  transition: background 0.25s;
}
.cat-row:not(.cat-head):hover { background: rgba(34, 211, 238, 0.05); }
.cat-row:last-child { border-bottom: 0; }
.cat-head {
  background: var(--raised);
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
}
.cat-row span:nth-child(2), .cat-row span:nth-child(3) { color: var(--text-2); }
.cat-badge {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 3px 9px;
  text-align: center;
}
.cat-badge-hi { color: var(--accent); border-color: rgba(34, 211, 238, 0.5); box-shadow: 0 0 14px rgba(34, 211, 238, 0.15); }

.calc-tool {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}
.calc-tool-head h3 { font-size: 1.1rem; margin-bottom: 4px; }
.calc-tool-head p { font-size: 0.82rem; color: var(--text-3); margin-bottom: 14px; }

.calc-gauge-wrap { position: relative; text-align: center; margin-bottom: 6px; }
.gauge { width: min(232px, 68%); margin-inline: auto; overflow: visible; }
.gauge-track { fill: none; stroke: var(--raised-2); stroke-width: 14; stroke-linecap: round; }
.gauge-fill {
  fill: none;
  stroke: var(--good);
  stroke-width: 14;
  stroke-linecap: round;
  filter: drop-shadow(0 0 10px currentColor);
  transition: stroke-dashoffset 0.5s var(--ease), stroke 0.5s;
}
.gauge-readout {
  position: absolute;
  left: 50%; bottom: 4px;
  transform: translateX(-50%);
}
.gauge-value {
  display: block;
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--good);
  text-shadow: 0 0 26px currentColor;
  transition: color 0.4s;
}
.gauge-grade { font-size: 0.76rem; color: var(--text-2); }

.calc-sliders { display: grid; gap: 11px; margin: 16px 0; }
.cslider .cs-name {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-2);
  margin-bottom: 5px;
}
.cslider b { font-family: var(--mono); color: var(--text); font-weight: 600; }
.cslider input[type="range"] {
  width: 100%;
  height: 5px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--raised-2);
  border-radius: 4px;
  outline: none;
}
.cslider input::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #04060B;
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.5), 0 0 14px rgba(34, 211, 238, 0.6);
  cursor: grab;
  transition: transform 0.2s;
}
.cslider input::-webkit-slider-thumb:hover { transform: scale(1.2); }
.cslider input::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #04060B;
  cursor: grab;
}

.calc-bar {
  display: flex;
  gap: 2px;
  height: 26px;
  border-radius: 8px;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 0.72rem;
}
.cb-seg {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: flex-grow 0.4s var(--ease);
  border-radius: 3px;
}
.cb-it { background: rgba(61, 220, 151, 0.75); color: #04110A; font-weight: 700; }
.cb-cool { background: #2b5f9e; }
.cb-power { background: #6b7686; }
.cb-misc { background: #454e5c; }

/* ─────────── 03 benchmark ─────────── */
.chart-card {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px clamp(16px, 3vw, 34px);
  margin-bottom: 34px;
}
.chart-head { margin-bottom: 20px; }
.chart-head h3 { font-size: 1.2rem; }
.chart-head h3 span { font-family: var(--mono); font-size: 0.82rem; color: var(--text-3); margin-left: 10px; font-weight: 400; }
.chart-head p { font-size: 0.88rem; color: var(--text-2); }
.chart-wrap { position: relative; }
#trendChart { width: 100%; height: auto; display: block; }
.chart-tip {
  position: absolute;
  pointer-events: none;
  background: #04060A;
  border: 1px solid rgba(34, 211, 238, 0.35);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.15);
  border-radius: 10px;
  padding: 8px 12px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text);
  opacity: 0;
  transform: translate(-50%, -110%);
  transition: opacity 0.15s;
  white-space: nowrap;
  z-index: 5;
}
.chart-tip.show { opacity: 1; }
.chart-tip b { color: var(--accent); }

.tc-grid { stroke: rgba(255, 255, 255, 0.06); stroke-width: 1; }
.tc-axis-label { fill: var(--text-3); font-size: 11px; font-family: var(--mono); }
.tc-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.55));
}
.tc-area { fill: url(#trendArea); }
.tc-dot { fill: var(--accent); stroke: var(--raised); stroke-width: 2; transition: r 0.15s; }
.tc-ref { stroke-dasharray: 5 6; stroke-width: 1.5; fill: none; }
.tc-ref-label { font-size: 11px; font-family: var(--mono); }
.tc-hover-line { stroke: rgba(255, 255, 255, 0.2); stroke-width: 1; opacity: 0; }
.tc-hover-line.show { opacity: 1; }
.tc-pt-label { fill: var(--text-2); font-size: 11px; font-family: var(--mono); }

.chart-table { margin-top: 18px; font-size: 0.85rem; }
.chart-table summary { cursor: pointer; color: var(--text-3); font-size: 0.82rem; }
.chart-table summary:hover { color: var(--text-2); }
.chart-table table { margin-top: 12px; border-collapse: collapse; width: 100%; max-width: 380px; }
.chart-table caption { text-align: left; color: var(--text-3); font-size: 0.76rem; padding-bottom: 8px; }
.chart-table th, .chart-table td {
  text-align: left;
  padding: 7px 12px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono);
}
.chart-table th { color: var(--text-3); font-weight: 600; font-size: 0.76rem; }
.chart-src { margin-top: 16px; font-size: 0.74rem; color: var(--text-3); }

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 860px) { .insight-grid { grid-template-columns: 1fr; } }
.insight-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: rgba(12, 18, 32, 0.45);
  transition: border-color 0.35s, background 0.35s, box-shadow 0.35s;
}
.insight-card:hover {
  border-color: rgba(167, 139, 250, 0.4);
  background: rgba(12, 18, 32, 0.85);
  box-shadow: 0 18px 46px rgba(167, 139, 250, 0.12);
}
.ic-num {
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 700;
  display: block;
  margin-bottom: 12px;
  background: var(--aurora);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.insight-card h4 { margin-bottom: 8px; font-size: 1.02rem; }
.insight-card p { font-size: 0.88rem; color: var(--text-2); }

/* ─────────── 04 cooling ─────────── */
.cool-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}
.cool-tab {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-2);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s var(--ease);
}
.cool-tab span { font-family: var(--mono); font-size: 0.72rem; color: var(--text-3); margin-left: 6px; font-weight: 400; }
.cool-tab:hover { border-color: var(--tabc); color: var(--text); transform: translateY(-2px); }
.cool-tab.is-active {
  border-color: var(--tabc);
  background: color-mix(in srgb, var(--tabc) 14%, transparent);
  color: var(--text);
  box-shadow: 0 0 28px color-mix(in srgb, var(--tabc) 30%, transparent);
}

.cool-panel[hidden] { display: none; }
.cool-panel {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 46px;
  align-items: center;
  animation: panelIn 0.55s var(--ease);
  margin-bottom: 56px;
}
@media (max-width: 920px) { .cool-panel { grid-template-columns: 1fr; } }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(18px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
.cool-info h3 { font-size: 1.45rem; margin-bottom: 16px; letter-spacing: -0.01em; }
.cool-info p { color: var(--text-2); margin-bottom: 20px; }
.cool-info p b { color: var(--text); }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip {
  font-family: var(--mono);
  font-size: 0.76rem;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--coolc) 55%, transparent);
  color: color-mix(in srgb, var(--coolc) 75%, #fff);
  background: color-mix(in srgb, var(--coolc) 10%, transparent);
  box-shadow: 0 0 16px color-mix(in srgb, var(--coolc) 15%, transparent);
}
.pn-list { list-style: none; display: grid; gap: 9px; }
.pn-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.9rem;
  color: var(--text-2);
}
.pn-list li::before {
  position: absolute;
  left: 0; top: 0;
  font-family: var(--mono);
  font-weight: 700;
}
.pn-list .pro::before { content: "+"; color: var(--good); }
.pn-list .con::before { content: "−"; color: #e66767; }

.cool-diagram {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: inset 0 0 60px color-mix(in srgb, var(--coolc) 6%, transparent);
}
.cool-diagram svg { width: 100%; height: auto; }
.cd-unit { fill: var(--raised-2); stroke: var(--line); stroke-width: 1.5; }
.cd-unit-hot { stroke: rgba(230, 103, 103, 0.35); }
.cd-slot { stroke: rgba(255, 255, 255, 0.14); stroke-width: 3; stroke-linecap: round; }
.cd-chip { fill: color-mix(in srgb, var(--coolc) 18%, var(--raised-2)); stroke: var(--coolc); stroke-width: 1.5; }
.cd-fluid { fill: color-mix(in srgb, var(--coolc) 14%, var(--raised-2)); stroke: color-mix(in srgb, var(--coolc) 40%, transparent); }
.cd-board { fill: rgba(255, 255, 255, 0.16); }
.cd-label { fill: var(--text); font-weight: 700; font-size: 15px; font-family: var(--font); }
.cd-sub { fill: var(--text-3); font-size: 11px; font-family: var(--font); }
.cd-tag { font-size: 11px; font-family: var(--font); font-weight: 600; }
.cd-tag-cold { fill: #6db5ff; }
.cd-tag-hot { fill: #ff8f7a; }
.cd-flow {
  fill: none;
  stroke-width: 2.5;
  stroke-dasharray: 5 7;
  animation: flowDash 1.1s linear infinite;
}
.cd-flow-cold { stroke: #4a9cf5; }
.cd-flow-hot { stroke: #f56a4a; }
.cd-bubble {
  fill: color-mix(in srgb, var(--coolc) 60%, #fff);
  opacity: 0.7;
  animation: bubbleUp 3.2s ease-in infinite;
}
.cd-bubble.b2 { animation-delay: 0.9s; }
.cd-bubble.b3 { animation-delay: 1.7s; }
.cd-bubble.b4 { animation-delay: 2.4s; }
@keyframes bubbleUp {
  0% { transform: translateY(0); opacity: 0; }
  15% { opacity: 0.7; }
  100% { transform: translateY(-105px); opacity: 0; }
}

.cool-compare {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px clamp(18px, 3vw, 34px);
}
.cool-compare h3 { font-size: 1.1rem; margin-bottom: 24px; }
.range-chart { display: grid; gap: 16px; }
.rc-axis {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-3);
  padding-left: 110px;
  margin-bottom: 2px;
}
.rc-row { display: flex; align-items: center; gap: 14px; }
.rc-name { width: 96px; font-size: 0.88rem; color: var(--text-2); text-align: right; flex-shrink: 0; }
.rc-track {
  position: relative;
  flex: 1;
  height: 30px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
}
.rc-bar {
  position: absolute;
  top: 4px; bottom: 4px;
  left: var(--l, 0%);
  width: var(--wd, 0%);
  border-radius: 6px;
  background: color-mix(in srgb, var(--c) 80%, transparent);
  box-shadow: 0 0 20px color-mix(in srgb, var(--c) 45%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease);
}
.reveal.in .rc-bar { transform: scaleX(1); }
.rc-bar b {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
@media (max-width: 560px) {
  .rc-axis { padding-left: 0; }
  .rc-row { flex-direction: column; align-items: stretch; gap: 6px; }
  .rc-name { width: auto; text-align: left; }
}

/* ─────────── 05 metrics ─────────── */
.ppue-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 54px;
  align-items: center;
  margin-bottom: 64px;
}
@media (max-width: 920px) { .ppue-grid { grid-template-columns: 1fr; } }
.ppue-copy h3 { font-size: 1.4rem; margin-bottom: 14px; }
.ppue-copy p { color: var(--text-2); margin-bottom: 16px; }
.ppue-copy p b { color: var(--text); }
.ppue-formula {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(120deg, rgba(34, 211, 238, 0.55), rgba(167, 139, 250, 0.5)) border-box;
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.12);
  border-radius: 14px;
  padding: 16px 24px;
  margin: 8px 0 20px;
}
.pf-frac { display: inline-flex; flex-direction: column; text-align: center; font-size: 0.82rem; font-weight: 500; color: var(--text); }
.pf-frac span:first-child { border-bottom: 1.5px solid var(--text-3); padding-bottom: 4px; }
.pf-frac span:last-child { padding-top: 4px; color: var(--text-2); }

.ppue-diagram { width: 100%; }
.pd-outer {
  border: 1.5px dashed rgba(167, 139, 250, 0.55);
  border-radius: 18px;
  padding: 40px 22px 22px;
  position: relative;
  background: rgba(167, 139, 250, 0.035);
}
.pd-outer-label, .pd-zone-label {
  position: absolute;
  top: -12px; left: 20px;
  font-family: var(--mono);
  font-size: 0.72rem;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--bg);
}
.pd-outer-label { color: var(--accent-2); border: 1px solid rgba(167, 139, 250, 0.55); }
.pd-zone-label { color: var(--accent); border: 1px solid rgba(34, 211, 238, 0.55); background: var(--bg); }
.pd-shared {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.86rem;
  color: var(--text-2);
  margin-bottom: 18px;
  background: var(--raised);
}
.pd-shared i { font-style: normal; color: var(--text-3); font-size: 0.76rem; margin-left: 8px; }
.pd-zone {
  border: 1.5px dashed rgba(34, 211, 238, 0.6);
  border-radius: 14px;
  padding: 30px 16px 16px;
  position: relative;
  background: rgba(34, 211, 238, 0.04);
}
.pd-zone-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .pd-zone-inner { grid-template-columns: 1fr; } }
.pd-box {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 14px;
  font-size: 0.84rem;
  color: var(--text-2);
  text-align: center;
  background: var(--raised);
}
.pd-box-it { border-color: rgba(34, 211, 238, 0.55); color: var(--accent); font-weight: 600; }

.metric-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .metric-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .metric-cards { grid-template-columns: 1fr; } }
.mcard {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: rgba(12, 18, 32, 0.45);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.35s, box-shadow 0.35s;
}
.mcard:hover { border-color: rgba(34, 211, 238, 0.4); box-shadow: 0 16px 40px rgba(34, 211, 238, 0.1); }
.mcard-tag {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--raised), var(--raised)) padding-box,
    linear-gradient(120deg, rgba(34, 211, 238, 0.7), rgba(167, 139, 250, 0.7)) border-box;
  color: var(--accent);
  border-radius: 8px;
  padding: 4px 11px;
}
.mcard h4 { font-size: 0.95rem; color: var(--text); }
.mcard p { font-size: 0.86rem; color: var(--text-2); flex: 1; }
.mcard code {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--text-3);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 8px 12px;
}
.mcard-cta { justify-content: center; align-items: flex-start; border-style: dashed; }
.mcard-cta h4 { font-size: 1.05rem; }

/* ─────────── 06 limits ─────────── */
.limit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .limit-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .limit-grid { grid-template-columns: 1fr; } }
.limit-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: rgba(7, 11, 19, 0.55);
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s, box-shadow 0.35s;
}
.limit-card:hover { border-color: rgba(244, 113, 181, 0.35); box-shadow: 0 16px 40px rgba(244, 113, 181, 0.08); }
.lc-idx {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--accent-3);
  border: 1px solid rgba(244, 113, 181, 0.35);
  border-radius: 8px;
  padding: 3px 9px;
  display: inline-block;
  margin-bottom: 14px;
}
.limit-card h4 { margin-bottom: 8px; font-size: 1.02rem; }
.limit-card p { font-size: 0.87rem; color: var(--text-2); }

/* ─────────── 07 future ─────────── */
.density-block {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px clamp(18px, 3vw, 36px);
  margin-bottom: 44px;
}
.density-block h3 { font-size: 1.2rem; margin-bottom: 6px; }
.density-block > p { font-size: 0.9rem; color: var(--text-2); margin-bottom: 26px; }
.density-chart { display: grid; gap: 14px; }
.dc-row { display: flex; align-items: center; gap: 16px; }
.dc-label { width: 150px; font-size: 0.84rem; color: var(--text-2); text-align: right; flex-shrink: 0; }
.dc-bar {
  position: relative;
  height: 32px;
  width: var(--w);
  min-width: 86px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.2), rgba(34, 211, 238, 0.6));
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.15);
  display: flex;
  align-items: center;
  padding-left: 14px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s var(--ease);
}
.reveal.in .dc-bar { transform: scaleX(1); }
.dc-bar b { font-family: var(--mono); font-size: 0.78rem; white-space: nowrap; }
.dc-bar-next {
  background: linear-gradient(90deg, rgba(167, 139, 250, 0.25), rgba(244, 113, 181, 0.65));
  box-shadow: 0 0 28px rgba(244, 113, 181, 0.3);
}
@media (max-width: 560px) {
  .dc-row { flex-direction: column; align-items: stretch; gap: 6px; }
  .dc-label { width: auto; text-align: left; }
}

.future-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 860px) { .future-grid { grid-template-columns: 1fr; } }
.fcard {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  background: rgba(12, 18, 32, 0.45);
  transition: border-color 0.35s, box-shadow 0.35s;
}
.fcard:hover { border-color: rgba(167, 139, 250, 0.45); box-shadow: 0 18px 44px rgba(167, 139, 250, 0.12); }
.fcard-icon {
  font-size: 1.4rem;
  margin-bottom: 16px;
  background: var(--aurora);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fcard h4 { margin-bottom: 10px; font-size: 1.05rem; }
.fcard p { font-size: 0.88rem; color: var(--text-2); }

/* ─────────── FAQ ─────────── */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(12, 18, 32, 0.45);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item[open] { border-color: rgba(34, 211, 238, 0.4); box-shadow: 0 10px 30px rgba(34, 211, 238, 0.08); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 54px 20px 24px;
  font-weight: 600;
  font-size: 0.98rem;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 1.2rem;
  color: var(--accent);
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p {
  padding: 0 24px 22px;
  font-size: 0.9rem;
  color: var(--text-2);
}

/* ─────────── footer ─────────── */
.footer {
  border-top: 1px solid var(--line-soft);
  background: var(--surface);
  padding: 70px 0 30px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  left: 50%; bottom: -280px;
  width: 800px; height: 400px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(167, 139, 250, 0.12), transparent 65%);
  pointer-events: none;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 50px;
  margin-bottom: 50px;
}
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand p { font-size: 0.86rem; color: var(--text-3); margin-top: 16px; line-height: 1.8; }
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 620px) { .footer-nav { grid-template-columns: 1fr 1fr; } }
.footer-nav h5 {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-3);
  margin-bottom: 16px;
}
.footer-nav a, .footer-ref {
  display: block;
  font-size: 0.86rem;
  color: var(--text-2);
  padding: 5px 0;
  transition: color 0.25s, transform 0.25s;
}
.footer-nav a:hover { color: var(--accent); transform: translateX(4px); }
.footer-ref { color: var(--text-3); }
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--text-3);
}
.to-top {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  transition: color 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.to-top:hover {
  color: var(--accent);
  border-color: rgba(34, 211, 238, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.2);
}

/* ─────────── reduced motion ─────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; filter: none; }
  .rc-bar, .dc-bar { transform: scaleX(1); }
  .t-line > span { transform: none; animation: none; }
  .grain, .cursor, .cursor-dot { display: none; }
}

/* ═══════════════════════════════════════════
   v3 — effect layer (Vercel/Linear-inspired)
   ═══════════════════════════════════════════ */

/* faint dot grid under transparent sections */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 38%, #000 0%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 38%, #000 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* falling light beams in hero */
.beams { position: absolute; inset: 0; pointer-events: none; }
.beams i { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, 0.035); }
.beams i::after {
  content: "";
  position: absolute;
  left: -0.5px;
  width: 2px;
  height: 130px;
  top: -140px;
  background: linear-gradient(180deg, transparent, var(--bc, #22D3EE), transparent);
  filter: drop-shadow(0 0 6px var(--bc, #22D3EE));
  animation: beamDrop var(--bd, 5s) linear infinite;
  animation-delay: var(--bdel, 0s);
}
.beams i:nth-child(1) { left: 9%;  --bc: #22D3EE; --bd: 6.2s; --bdel: 0.4s; }
.beams i:nth-child(2) { left: 26%; --bc: #A78BFA; --bd: 8.5s; --bdel: 2.6s; }
.beams i:nth-child(3) { left: 74%; --bc: #F471B5; --bd: 7.4s; --bdel: 1.2s; }
.beams i:nth-child(4) { left: 91%; --bc: #22D3EE; --bd: 9.2s; --bdel: 4.4s; }
@keyframes beamDrop { to { top: 100%; } }

/* section glow dividers */
.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(760px, 82%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.45), rgba(167, 139, 250, 0.45), transparent);
}
.section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(560px, 70%);
  height: 140px;
  background: radial-gradient(ellipse 50% 100% at 50% 0%, rgba(34, 211, 238, 0.07), transparent 70%);
  pointer-events: none;
}

/* spotlight hover: cursor-tracked radial wash (applied via JS) */
.spot { position: relative; }
.spot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    380px circle at var(--mx, 50%) var(--my, 50%),
    rgba(167, 139, 250, 0.13),
    rgba(34, 211, 238, 0.06) 42%,
    transparent 68%
  );
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 0;
}
.spot:hover::after { opacity: 1; }

/* always-on traveling border beam (featured surfaces) */
.beam-border { position: relative; }
.beam-border::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(
    from var(--ang),
    transparent 0turn 0.74turn,
    #22D3EE 0.84turn,
    #F471B5 0.92turn,
    transparent 0.97turn
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: spinBorder 5.5s linear infinite;
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
}

/* hero title: per-char cascade (line 1, split by JS) */
.t-line > span.chars { transform: none; animation: none; }
.t-line > span.chars i {
  display: inline-block;
  font-style: normal;
  transform: translateY(112%) rotate(5deg);
  opacity: 0;
  filter: blur(6px);
  animation: chIn 0.8s var(--ease) forwards;
}
@keyframes chIn { to { transform: none; opacity: 1; filter: blur(0); } }

/* hero gradient line: periodic shimmer sweep */
.hero .grad-text {
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0) 58%) no-repeat,
    var(--aurora);
  background-size: 240% 100%, 100% auto;
  background-position: -140% 0, 0 center;
  -webkit-background-clip: text;
  background-clip: text;
  /* keep the line-mask reveal AND the shimmer (animation shorthand would otherwise override lineUp) */
  animation:
    lineUp 1.1s var(--ease) 0.18s forwards,
    shimmerSweep 4.6s ease-in-out 1.8s infinite;
}
@keyframes shimmerSweep {
  0%, 55% { background-position: -140% 0, 0 center; }
  100% { background-position: 240% 0, 0 center; }
}

/* ticker: edge fade + scroll-velocity skew */
.ticker {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  transition: transform 0.3s ease-out;
  will-change: transform;
}

/* stat tiles lift */
.stat { transition: background 0.3s, transform 0.3s var(--ease), box-shadow 0.3s; }
.stat:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(34, 211, 238, 0.08); }

/* chart dots pop-in base (r animated by JS) */
.tc-dot { transition: r 0.35s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  body::before { mask-image: none; -webkit-mask-image: none; }
  .beams, .beam-border::before { display: none; }
  .t-line > span.chars i { transform: none; opacity: 1; filter: none; animation: none; }
  .hero .grad-text { animation: none; }
}

/* ═══════════════════════════════════════════
   v4 — SVG filters · 3D · modern CSS APIs
   ═══════════════════════════════════════════ */

/* liquid-distorted hero watermark (feTurbulence displacement) */
.hero-watermark { filter: url(#liquid); }

/* scroll-driven hero watermark zoom-out (CSS scroll timeline) */
@supports (animation-timeline: scroll()) {
  .hero-watermark {
    animation: wmScroll linear both;
    animation-timeline: scroll();
    animation-range: 0 100vh;
  }
  @keyframes wmScroll {
    to { transform: translate(-50%, -85%) scale(1.45); opacity: 0; }
  }
}

/* orbit rings around the hero formula */
.formula-wrap { position: relative; display: inline-block; margin-bottom: 64px; }
.formula-wrap .hero-formula { position: relative; z-index: 1; margin-bottom: 0; }
.orbit {
  position: absolute;
  left: 50%; top: 50%;
  width: 640px;
  max-width: 92vw;
  transform: translate(-50%, -50%);
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}
.orbit-ring { fill: none; stroke: rgba(167, 139, 250, 0.22); stroke-dasharray: 3 8; }
.orbit-ring.o2 { stroke: rgba(34, 211, 238, 0.16); }
.orbit-dot { fill: #22D3EE; filter: drop-shadow(0 0 7px #22D3EE); }
.orbit-dot.od2 { fill: #F471B5; filter: drop-shadow(0 0 7px #F471B5); }

/* 3D perspective entrance for large surfaces */
.reveal.reveal-3d {
  transform: perspective(1100px) rotateX(10deg) translateY(46px) scale(0.965);
  transform-origin: center top;
}
.reveal.reveal-3d.in { transform: none; }

/* tilt glare sheen (element injected by JS) */
.tilt { position: relative; }
.glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.13) 47%, rgba(255, 255, 255, 0.02) 56%, transparent 68%);
  background-size: 220% 100%;
  background-position: var(--gp, 160%) 0;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}
.tilt:hover .glare { opacity: 1; }

/* glow-card borders now idle at low intensity, full on hover */
.glow-card::before { opacity: 0.14; animation-play-state: running; }
.glow-card:hover::before { opacity: 1; }

/* chart extras */
.tc-pulse {
  fill: none;
  stroke: #22D3EE;
  stroke-width: 2;
  animation: pulseRing 2.4s ease-out infinite;
}
@keyframes pulseRing {
  0% { r: 4; opacity: 0.9; }
  70%, 100% { r: 18; opacity: 0; }
}
.tc-scan {
  fill: url(#scanGrad);
  opacity: 0.55;
  animation: scanMove 7.5s linear infinite;
  pointer-events: none;
}
@keyframes scanMove { to { transform: translateX(606px); } }

/* cooling diagram flows get neon */
.cd-flow-cold { filter: drop-shadow(0 0 4px rgba(74, 156, 245, 0.8)); }
.cd-flow-hot { filter: drop-shadow(0 0 4px rgba(245, 106, 74, 0.8)); }

/* density bars: shimmer sweep */
.dc-bar { overflow: hidden; }
.dc-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.22) 50%, transparent 65%);
  background-size: 240% 100%;
  animation: barShine 3.8s ease-in-out infinite;
}
@keyframes barShine {
  0% { background-position: 200% 0; }
  60%, 100% { background-position: -60% 0; }
}

/* primary CTA: periodic shine sweep */
.btn-primary { overflow: hidden; }
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
  background-size: 260% 100%;
  animation: btnShine 3.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes btnShine {
  0% { background-position: 220% 0; }
  55%, 100% { background-position: -80% 0; }
}

/* insight hero numbers gently float */
.ic-num { animation: icFloat 4.4s ease-in-out infinite; }
.insight-card:nth-child(2) .ic-num { animation-delay: 0.7s; }
.insight-card:nth-child(3) .ic-num { animation-delay: 1.4s; }
@keyframes icFloat {
  50% { transform: translateY(-5px); }
}

/* cursor trail dots */
.cursor-trail {
  position: fixed;
  top: 0; left: 0;
  width: 5px; height: 5px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 399;
  transform: translate(-50%, -50%);
  opacity: 0.55;
}
.cursor-trail.t0 { background: #22D3EE; box-shadow: 0 0 8px #22D3EE; }
.cursor-trail.t1 { background: #A78BFA; box-shadow: 0 0 8px #A78BFA; width: 4px; height: 4px; }
.cursor-trail.t2 { background: #F471B5; box-shadow: 0 0 8px #F471B5; width: 3px; height: 3px; }

/* FAQ: native smooth open via ::details-content (Chrome 129+) */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq-item::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size 0.5s var(--ease), content-visibility 0.5s allow-discrete;
  }
  .faq-item[open]::details-content { block-size: auto; }
}

/* cooling tab switch crossfade (View Transitions API) */
::view-transition-old(root), ::view-transition-new(root) {
  animation-duration: 0.35s;
}

@media (prefers-reduced-motion: reduce) {
  .hero-watermark { filter: none; animation: none; }
  .orbit, .cursor-trail, .tc-scan, .tc-pulse { display: none; }
  .glare, .dc-bar::after, .btn-primary::after { display: none; }
  .reveal.reveal-3d { transform: none; }
}

/* gauge instrument ticks */
.gauge-tick {
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 2;
  stroke-linecap: round;
  transition: stroke 0.4s;
}
.gauge-tick.lit { filter: drop-shadow(0 0 3px currentColor); }

/* ═══════════════════════════════════════════
   v5 — operator (H3Solution) blocks
   ═══════════════════════════════════════════ */

.h3-cta {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 36px clamp(22px, 3.4vw, 44px);
  border-radius: var(--radius);
  border: 1px solid transparent;
  background:
    linear-gradient(var(--raised), var(--raised)) padding-box,
    var(--aurora) border-box;
  box-shadow: 0 0 50px rgba(167, 139, 250, 0.1);
}
@media (max-width: 860px) { .h3-cta { flex-direction: column; align-items: flex-start; } }
.h3-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--aurora);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}
.h3-cta h3 { font-size: 1.3rem; margin-bottom: 10px; letter-spacing: -0.01em; }
.h3-cta p { font-size: 0.92rem; color: var(--text-2); max-width: 560px; }
.h3-cta p b { color: var(--text); }
.h3-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }

.h3-intro { max-width: 780px; margin-bottom: 46px; }
.h3-intro p { color: var(--text-2); }
.h3-intro p b { color: var(--text); }
.h3-cards { margin-bottom: 34px; }
@media (min-width: 981px) { .h3-cards { grid-template-columns: repeat(4, 1fr); } }

.h3-facts { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.h3-links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.h3-addr { font-size: 0.82rem; color: var(--text-3); }

.footer-op { color: var(--text-2); }
.footer-op a { color: var(--accent); }
.footer-op a:hover { text-decoration: underline; }
@media (min-width: 621px) { .footer-nav { grid-template-columns: repeat(4, 1fr); } }

/* operator: live ops & verification highlight */
.h3-verify {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  padding: 32px clamp(22px, 3vw, 40px);
  border-radius: var(--radius);
  background: var(--raised);
  border: 1px solid var(--line);
  margin-bottom: 36px;
}
@media (max-width: 860px) { .h3-verify { grid-template-columns: 1fr; } }
.hv-item { display: flex; gap: 16px; align-items: flex-start; }
.hv-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--good);
  border: 1px solid rgba(61, 220, 151, 0.45);
  border-radius: 999px;
  padding: 5px 12px;
  margin-top: 2px;
}
.hv-label-v { color: var(--accent); border-color: rgba(34, 211, 238, 0.45); }
.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 8px var(--good);
  animation: liveBlink 1.6s ease-in-out infinite;
}
@keyframes liveBlink { 50% { opacity: 0.25; } }
.hv-item h4 { font-size: 1.02rem; margin-bottom: 6px; }
.hv-item p { font-size: 0.88rem; color: var(--text-2); }
.hv-item p b { color: var(--text); }

/* Pretendard unified: tabular figures for live-updating numbers */
.stat-num, .gauge-value, .cslider b, .chart-tip,
.tc-axis-label, .tc-pt-label, .tc-ref-label,
.rc-bar b, .dc-bar b, .ic-num, .tl-year {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}
