/* ===================================================
   OFFCUT — Tools for editors who actually edit.
   Design tokens & global styles
   =================================================== */

:root {
  /* Brand */
  --acc: #C5F542;            /* 채도 약간 낮춘 형광 라임 */
  --acc-dim: #9DBE36;
  --acc-soft: rgba(197, 245, 66, 0.15);
  --acc-glow: rgba(197, 245, 66, 0.35);

  /* Surface */
  --bg-0: #0A0A0A;
  --bg-1: #111111;
  --bg-2: #161616;
  --bg-3: #1C1C1C;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* Text */
  --tx-0: #F5F5F5;
  --tx-1: rgba(245, 245, 245, 0.72);
  --tx-2: rgba(245, 245, 245, 0.48);
  --tx-3: rgba(245, 245, 245, 0.32);

  /* Type */
  --ff-kr: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --ff-en: "Inter", "Pretendard Variable", system-ui, sans-serif;
  --ff-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Layout */
  --container: 1240px;
  --pad-x: 24px;
  --radius: 14px;
  --radius-lg: 22px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg-0);
  color: var(--tx-0);
  font-family: var(--ff-kr);
  font-feature-settings: "ss01", "cv01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.55;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; padding: 0; margin: 0; }

::selection { background: var(--acc); color: #000; }

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ===== Effects: Noise + Grid ===== */
.noise {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.6'/></svg>");
}

/* CRT-style scanlines — very subtle, slowly drifting */
.scanlines {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.04) 0px,
    rgba(255, 255, 255, 0.04) 1px,
    transparent 1px,
    transparent 3px
  );
  animation: scanline-drift 8s linear infinite;
}
@keyframes scanline-drift {
  0% { background-position: 0 0; }
  100% { background-position: 0 6px; }
}

/* Random screen flicker — toggled by JS adding .is-flicker */
.flicker {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  background:
    linear-gradient(90deg, rgba(255, 0, 80, 0.05), transparent 30%, transparent 70%, rgba(0, 200, 255, 0.05)),
    rgba(255, 255, 255, 0.04);
  mix-blend-mode: screen;
  transition: opacity 0.06s linear;
}
.flicker.is-flicker { opacity: 1; }

/* Hero spotlight — large soft accent halo following cursor */
.spotlight {
  position: fixed;
  top: 0; left: 0;
  width: 520px; height: 520px;
  pointer-events: none;
  z-index: 1;
  transform: translate3d(-50%, -50%, 0);
  background: radial-gradient(circle, var(--acc-glow) 0%, rgba(197,245,66,0.08) 30%, transparent 70%);
  filter: blur(40px);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  mix-blend-mode: screen;
}
.spotlight.is-on { opacity: 0.6; }

.grid-bg {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 80%);
}

/* Custom cursor removed — using native pointer */

/* ===================================================
   Navigation
   =================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.4s var(--ease), border-bottom 0.4s var(--ease), padding 0.4s var(--ease);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(0);
}
.nav.is-scrolled {
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding: 10px 0;
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--tx-0);
  font-family: var(--ff-en);
  font-weight: 800;
  letter-spacing: 0.02em;
}
.logo-mark {
  display: inline-flex;
  height: 36px;
  align-items: center;
}
.logo-mark img {
  height: 100%;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 12px var(--acc-glow));
}

/* ----- Logo VHS / RGB-split glitch ----- */
.logo-mark--glitch {
  position: relative;
  isolation: isolate;
}
.logo-mark--glitch .logo-mark__layer {
  height: 36px;
  width: auto;
  display: block;
}
.logo-mark--glitch .logo-mark__layer--base {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 10px var(--acc-glow));
  animation: logo-flicker 7s steps(1) infinite;
}
.logo-mark--glitch .logo-mark__layer--r,
.logo-mark--glitch .logo-mark__layer--g,
.logo-mark--glitch .logo-mark__layer--b {
  position: absolute;
  top: 0; left: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.55;
}
/* red ghost — drifts slow */
.logo-mark--glitch .logo-mark__layer--r {
  filter: drop-shadow(0 0 0 #ff2e6d) brightness(0) saturate(100%) invert(36%) sepia(89%) saturate(6044%) hue-rotate(330deg) brightness(101%) contrast(101%);
  animation: logo-shift-r 3.6s steps(1) infinite;
  z-index: 2;
}
/* green/accent ghost — pulses with brand */
.logo-mark--glitch .logo-mark__layer--g {
  filter: brightness(0) saturate(100%) invert(91%) sepia(35%) saturate(763%) hue-rotate(31deg) brightness(101%) contrast(94%);
  animation: logo-shift-g 4.1s steps(1) infinite;
  z-index: 2;
}
/* cyan ghost */
.logo-mark--glitch .logo-mark__layer--b {
  filter: brightness(0) saturate(100%) invert(70%) sepia(95%) saturate(2876%) hue-rotate(170deg) brightness(101%) contrast(101%);
  animation: logo-shift-b 5.3s steps(1) infinite;
  z-index: 2;
}

/* Slice-mask "channel disturbance" overlay — appears randomly via .is-glitch */
.logo-mark--glitch::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 4px,
    rgba(255,255,255,0.18) 4px,
    rgba(255,255,255,0.18) 5px
  );
  mix-blend-mode: overlay;
  opacity: 0;
  transition: opacity 0.08s linear;
}
.logo-mark--glitch.is-glitch::after { opacity: 1; }
.logo-mark--glitch.is-glitch .logo-mark__layer--base { transform: translateX(2px) skewX(-2deg); }
.logo-mark--glitch.is-glitch .logo-mark__layer--r { transform: translate(-3px, 1px); opacity: 0.9; }
.logo-mark--glitch.is-glitch .logo-mark__layer--b { transform: translate(3px, -1px); opacity: 0.9; }

/* Hover — locked-in stronger glitch + scanline jitter */
.logo-mark--glitch:hover .logo-mark__layer--r { animation-duration: 0.4s; }
.logo-mark--glitch:hover .logo-mark__layer--g { animation-duration: 0.55s; }
.logo-mark--glitch:hover .logo-mark__layer--b { animation-duration: 0.5s; }
.logo-mark--glitch:hover::after { opacity: 0.7; }

@keyframes logo-shift-r {
  0%, 60%, 100% { transform: translate(-1px, 0); opacity: 0.45; }
  62% { transform: translate(-5px, 1px); opacity: 0.9; }
  64% { transform: translate(-2px, -1px); opacity: 0.7; }
  66% { transform: translate(-1px, 0); opacity: 0.45; }
}
@keyframes logo-shift-g {
  0%, 70%, 100% { transform: translate(0, 0); opacity: 0.5; }
  72% { transform: translate(2px, 0); opacity: 0.85; }
  74% { transform: translate(0, 1px); opacity: 0.6; }
}
@keyframes logo-shift-b {
  0%, 80%, 100% { transform: translate(1px, 0); opacity: 0.45; }
  82% { transform: translate(4px, -1px); opacity: 0.85; }
  84% { transform: translate(1px, 0); opacity: 0.5; }
}
@keyframes logo-flicker {
  0%, 97%, 100% { opacity: 1; }
  98% { opacity: 0.6; }
  98.5% { opacity: 1; }
  99% { opacity: 0.4; }
}
.logo-type {
  font-size: 17px;
  letter-spacing: 0.16em;
}
.logo-type.lg { font-size: 32px; }

.nav__menu {
  display: flex;
  gap: 28px;
  font-family: var(--ff-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.nav__menu a {
  color: var(--tx-1);
  position: relative;
  padding: 6px 2px;
  transition: color 0.2s var(--ease);
}
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--acc);
  transition: width 0.3s var(--ease);
}
.nav__menu a:hover { color: var(--tx-0); }
.nav__menu a:hover::after { width: 100%; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--acc);
  color: #000;
  border-radius: 999px;
  font-family: var(--ff-en);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  transition: transform 0.2s var(--ease), box-shadow 0.3s var(--ease);
}
.nav__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--acc-glow);
}

.nav__burger {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
}
.nav__burger span {
  width: 18px; height: 2px;
  background: var(--tx-0);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.drawer {
  position: fixed;
  top: 0; right: 0;
  width: 78%; max-width: 360px;
  height: 100vh;
  background: var(--bg-1);
  border-left: 1px solid var(--line);
  z-index: 99;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  padding: 88px 28px 28px;
}
.drawer.is-open { transform: translateX(0); }
.drawer ul { display: flex; flex-direction: column; gap: 4px; }
.drawer a {
  display: block;
  padding: 14px 0;
  font-family: var(--ff-en);
  font-weight: 600;
  font-size: 22px;
  border-bottom: 1px solid var(--line);
  color: var(--tx-0);
}

/* ===================================================
   Hero
   =================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 100px;
  z-index: 2;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 30%; left: 50%;
  width: 700px; height: 700px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--acc-glow) 0%, transparent 65%);
  filter: blur(60px);
  z-index: -1;
  opacity: 0.45;
  pointer-events: none;
}
.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px var(--pad-x) 80px;
  width: 100%;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--tx-1);
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 32px;
}
.hero__badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 12px var(--acc);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero__title {
  font-family: var(--ff-en);
  font-weight: 900;
  font-size: clamp(64px, 16vw, 280px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
}

/* Glitch */
.glitch {
  position: relative;
  display: inline-block;
  color: var(--tx-0);
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.glitch::before {
  color: var(--acc);
  animation: glitch-anim-1 4s infinite linear alternate-reverse;
  clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
  transform: translate(-3px, 0);
  opacity: 0.85;
  mix-blend-mode: screen;
}
.glitch::after {
  color: #ff5e8a;
  animation: glitch-anim-2 5s infinite linear alternate-reverse;
  clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
  transform: translate(3px, 0);
  opacity: 0.5;
  mix-blend-mode: screen;
}
@keyframes glitch-anim-1 {
  0%, 92%, 100% { transform: translate(0, 0); }
  93% { transform: translate(-4px, 1px); }
  95% { transform: translate(2px, -1px); }
  97% { transform: translate(-1px, 2px); }
}
@keyframes glitch-anim-2 {
  0%, 90%, 100% { transform: translate(0, 0); }
  91% { transform: translate(3px, -1px); }
  93% { transform: translate(-2px, 1px); }
  96% { transform: translate(1px, 2px); }
}

.hero__sub {
  font-family: var(--ff-en);
  font-weight: 600;
  font-size: clamp(20px, 3vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--tx-0);
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero__sub-line em {
  font-style: italic;
  color: var(--acc);
}

.hero__desc {
  font-family: var(--ff-kr);
  font-size: 16px;
  color: var(--tx-1);
  max-width: 540px;
  margin: 0 0 36px;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-family: var(--ff-en);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: all 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn--primary {
  background: var(--acc);
  color: #000;
  box-shadow: 0 0 0 1px rgba(197,245,66,0.4);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--acc-glow), 0 0 0 1px rgba(197,245,66,0.6);
}
.btn--ghost {
  border-color: var(--line-strong);
  color: var(--tx-0);
  background: rgba(255, 255, 255, 0.02);
}
.btn--ghost:hover {
  border-color: var(--acc);
  color: var(--acc);
  background: var(--acc-soft);
}
.btn--lg { padding: 18px 32px; font-size: 15px; }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-family: var(--ff-en);
}
.hero__stats > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero__stats strong {
  font-size: 28px;
  font-weight: 800;
  color: var(--tx-0);
  letter-spacing: -0.01em;
}
.hero__stats span {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--tx-2);
  text-transform: uppercase;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--tx-2);
}
.hero__scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--acc), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -36px; left: 0;
  width: 100%; height: 36px;
  background: linear-gradient(to bottom, transparent, var(--acc));
  animation: scroll-down 1.8s ease-in-out infinite;
}
@keyframes scroll-down {
  0% { top: -36px; }
  100% { top: 36px; }
}

/* Marquee */
.marquee {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.4);
  padding: 18px 0;
}
.marquee__track {
  display: inline-flex;
  gap: 32px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: var(--ff-en);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.12em;
  color: var(--tx-0);
  align-items: center;
}
.marquee__track .dot {
  color: var(--acc);
  font-size: 14px;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===================================================
   Section base
   =================================================== */
.section {
  position: relative;
  padding: 140px 0;
  z-index: 2;
}
.section__head {
  margin-bottom: 80px;
  max-width: 880px;
}
.section__label {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--tx-2);
  margin-bottom: 18px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.section__title {
  font-family: var(--ff-en);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--tx-0);
}
.section__title .accent {
  color: var(--acc);
  font-style: italic;
  font-weight: 800;
}

/* ===================================================
   Manifesto
   =================================================== */
.manifesto__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.manifesto__copy p {
  font-family: var(--ff-kr);
  font-size: 18px;
  line-height: 1.75;
  color: var(--tx-1);
  margin: 0 0 18px;
}
.manifesto__copy .hl {
  color: var(--acc);
  font-weight: 600;
}

.manifesto__principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.manifesto__principles li {
  padding: 28px 24px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.manifesto__principles li::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--acc), transparent);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.manifesto__principles li:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: var(--bg-2);
}
.manifesto__principles li:hover::before { opacity: 1; }
.manifesto__principles .num {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--acc);
  display: block;
  margin-bottom: 12px;
}
.manifesto__principles h3 {
  font-family: var(--ff-en);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--tx-0);
}
.manifesto__principles p {
  font-size: 14px;
  color: var(--tx-1);
  line-height: 1.6;
  margin: 0;
}

/* ===================================================
   Products
   =================================================== */
.products__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.product-card {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.3s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}
.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(197, 245, 66, 0.08), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.product-card:hover {
  border-color: rgba(197, 245, 66, 0.3);
}
.product-card:hover::before { opacity: 1; }
.product-card--alt {
  background: var(--bg-2);
}

.product-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--tx-2);
  margin-bottom: 36px;
}
.product-card__tag {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.product-card__version { color: var(--acc); }

.product-card__icon {
  color: var(--acc);
  margin-bottom: 24px;
}
.product-card__title {
  font-family: var(--ff-en);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 20px;
}
.product-card__title span {
  color: var(--acc);
  font-style: italic;
}
.product-card__desc {
  font-family: var(--ff-kr);
  font-size: 15px;
  line-height: 1.7;
  color: var(--tx-1);
  margin: 0 0 24px;
  max-width: 480px;
}
.product-card__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  margin-bottom: 24px;
}
.product-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--tx-0);
}
.dot-acc {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--acc);
  flex-shrink: 0;
}
.product-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-en);
  font-size: 14px;
  font-weight: 600;
  color: var(--acc);
  transition: gap 0.25s var(--ease);
}
.card-link:hover { gap: 12px; }
.card-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--tx-2);
}
.pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ff9f3d;
  box-shadow: 0 0 12px #ff9f3d;
  animation: pulse 1.6s ease-in-out infinite;
}
.pulse--green {
  background: var(--acc);
  box-shadow: 0 0 12px var(--acc);
}

/* ===================================================
   Features
   =================================================== */
.features__tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 40px;
}
.ft-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: transparent;
  border: none;
  border-radius: 999px;
  font-family: var(--ff-en);
  font-size: 13px;
  font-weight: 600;
  color: var(--tx-1);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.ft-tab__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--tx-3);
  transition: background 0.3s var(--ease);
}
.ft-tab.is-active {
  background: var(--acc);
  color: #000;
}
.ft-tab.is-active .ft-tab__dot { background: #000; }

.features__grid {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.features__grid.is-active { display: grid; }

.feature-card {
  position: relative;
  padding: 32px 28px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
  overflow: hidden;
}
.feature-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--acc) 0%, transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-4px);
  background: var(--bg-2);
}
.feature-card:hover::after { opacity: 1; }
.feature-card__num {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--acc);
  display: block;
  margin-bottom: 16px;
}
.feature-card__icon {
  font-size: 32px;
  margin-bottom: 16px;
  filter: grayscale(0.2);
}
.feature-card h3 {
  font-family: var(--ff-en);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--tx-1);
  margin: 0 0 16px;
}
.feature-card code {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--acc);
  background: var(--acc-soft);
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

/* ===================================================
   Workflow
   =================================================== */
.workflow__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.workflow__steps::before {
  content: "";
  position: absolute;
  top: 64px; left: 5%; right: 5%;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--line-strong) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.workflow__steps li {
  position: relative;
  padding: 28px 24px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  z-index: 1;
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease);
}
.workflow__steps li:hover {
  transform: translateY(-4px);
  border-color: var(--acc-dim);
}
.step-num {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--acc);
  display: block;
  margin-bottom: 12px;
}
.step-icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.workflow__steps h3 {
  font-family: var(--ff-en);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--tx-0);
}
.workflow__steps p {
  font-size: 14px;
  color: var(--tx-1);
  margin: 0;
  line-height: 1.6;
}

/* ===================================================
   Tech Stack
   =================================================== */
.tech__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tech__chip {
  padding: 12px 22px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--ff-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--tx-1);
  transition: all 0.25s var(--ease);
}
.tech__chip:hover {
  background: var(--acc-soft);
  border-color: var(--acc);
  color: var(--acc);
  transform: translateY(-2px);
}

/* ===================================================
   Roadmap
   =================================================== */
.roadmap__line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.rm-card {
  padding: 28px 24px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  transition: transform 0.4s var(--ease), border-color 0.3s var(--ease);
}
.rm-card:hover {
  transform: translateY(-4px);
}
.rm-card--done {
  opacity: 0.7;
}
.rm-card--current {
  background: linear-gradient(180deg, rgba(197, 245, 66, 0.06), var(--bg-1));
  border-color: var(--acc-dim);
  box-shadow: 0 0 0 1px rgba(197, 245, 66, 0.15), 0 16px 48px rgba(197, 245, 66, 0.06);
}
.rm-phase {
  display: block;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--tx-2);
  margin-bottom: 8px;
}
.rm-status {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--tx-3);
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  margin-bottom: 16px;
}
.rm-card--done .rm-status { color: var(--acc); border-color: var(--acc-dim); }
.rm-card--current .rm-status {
  background: var(--acc);
  color: #000;
  border-color: var(--acc);
}
.rm-card h3 {
  font-family: var(--ff-en);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
}
.rm-card p {
  font-size: 14px;
  color: var(--tx-1);
  margin: 0;
  line-height: 1.6;
}

/* ===================================================
   CTA
   =================================================== */
.cta {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-0), var(--bg-1));
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  bottom: -200px; left: 50%;
  width: 800px; height: 400px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, var(--acc-glow), transparent 70%);
  filter: blur(60px);
  opacity: 0.4;
  pointer-events: none;
}
.cta__inner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cta__inner .section__label { margin-bottom: 24px; }
.cta__title {
  font-family: var(--ff-en);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
}
.cta__title .accent {
  color: var(--acc);
  font-style: italic;
}
.cta__desc {
  font-family: var(--ff-kr);
  font-size: 17px;
  line-height: 1.7;
  color: var(--tx-1);
  margin: 0 0 40px;
}
.cta__row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
}
.cta__meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.cta__meta > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cta__meta span {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--tx-2);
}
.cta__meta strong {
  font-family: var(--ff-en);
  font-size: 14px;
  font-weight: 600;
  color: var(--tx-0);
}

/* ===================================================
   Footer
   =================================================== */
.footer {
  background: var(--bg-0);
  border-top: 1px solid var(--line);
  padding: 80px 0 32px;
  position: relative;
  z-index: 2;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.footer__brand p {
  font-family: var(--ff-en);
  font-style: italic;
  color: var(--tx-2);
  font-size: 14px;
  margin: 12px 0 0;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer__cols h4 {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--tx-2);
  margin: 0 0 16px;
  text-transform: uppercase;
}
.footer__cols ul { display: flex; flex-direction: column; gap: 10px; }
.footer__cols a {
  font-size: 14px;
  color: var(--tx-1);
  transition: color 0.2s var(--ease);
}
.footer__cols a:hover { color: var(--acc); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--tx-2);
}
.footer__mono { color: var(--acc); }

/* ===================================================
   Reveal animations
   =================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .glitch::before, .glitch::after { animation: none; }
  .marquee__track { animation: none; }
  .hero__scroll-line::after { animation: none; }
  .scanlines { animation: none; opacity: 0.08; }
  .logo-mark--glitch .logo-mark__layer { animation: none !important; }
  .logo-mark--glitch .logo-mark__layer--r,
  .logo-mark--glitch .logo-mark__layer--g,
  .logo-mark--glitch .logo-mark__layer--b { display: none; }
}

/* ===================================================
   Responsive
   =================================================== */
@media (max-width: 1024px) {
  .section { padding: 100px 0; }
  .section__head { margin-bottom: 56px; }
  .manifesto__grid { gap: 56px; }
}

@media (max-width: 768px) {
  :root { --pad-x: 20px; }
  .nav__menu { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .hero__inner { padding: 32px 20px 56px; }
  .hero__stats { gap: 28px; }
  .hero__stats strong { font-size: 22px; }
  .marquee__track { font-size: 16px; gap: 24px; }

  .section { padding: 80px 0; }
  .section__head { margin-bottom: 40px; }

  .manifesto__grid { grid-template-columns: 1fr; gap: 40px; }
  .manifesto__principles { grid-template-columns: 1fr; }

  .products__grid { grid-template-columns: 1fr; }
  .product-card { padding: 28px 24px; }
  .product-card__title { font-size: 36px; }

  .features__grid.is-active { grid-template-columns: 1fr; }

  .workflow__steps { grid-template-columns: 1fr; }
  .workflow__steps::before { display: none; }

  .roadmap__line { grid-template-columns: 1fr; }

  .cta__meta { gap: 24px; }

  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer__bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 64px; }
  .hero__sub { font-size: 18px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .features__tabs { width: 100%; justify-content: stretch; }
  .ft-tab { flex: 1; justify-content: center; padding: 12px 16px; }
  .footer__cols { grid-template-columns: 1fr; }
}
