/* Kodium — TaskForge-grade dark SaaS skin, compact script-hub layout.
   Zero-dependency: CSS animations only, JS drives reveal/scramble/copy/tabs via data-* hooks. */

/* ─── Tokens ─── */
/* ─── Tokens (TaskForge Official Colorway: Black, Zinc Gray, Signature Orange) ─── */
:root {
  --bg: #0d0e10; /* TaskForge Deep Graphite Dark */
  --surface: #141518;
  --surface-2: #191b1e;
  --line: #24272a;
  --line-strong: #373b40;
  --ink: #f4f5f4;
  --ink-2: #c7c7c7;
  --muted: #8d8d8d;
  --dim: #5a5f63;
  --accent-01: #e47831; /* TaskForge Signature Orange */
  --accent-btn: #f07c30; /* TaskForge Button Orange */
  --accent-02: #a2f865; /* TaskForge Lime Green */
  --accent-03: #36cdff; /* TaskForge Sky Blue */
  --accent-04: #ff88be; /* TaskForge Pink */
  --accent-05: #b5947e; /* TaskForge Warm Sand */
  --accent-06: #c599ff; /* TaskForge Violet */
  --grad: linear-gradient(151deg, #ff8f39, #ffdea0 47%, #a5d2ff 82%);
  --grad-warm: linear-gradient(135deg, #e47831, #f07c30 60%, #ffaa6b);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
  --radius: 2px;
}

/* ─── Base ─── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 104px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  min-height: 100vh;
}

/* ─── Global Seamless Background (TaskForge Dot-Grid + Ambient Glow) ─── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1.2px),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 20px 20px, 80px 80px, 80px 80px;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(850px 500px at 50% 0%, rgba(228, 120, 49, 0.13), transparent 70%),
    radial-gradient(750px 500px at 88% 45%, rgba(240, 124, 48, 0.06), transparent 70%),
    radial-gradient(650px 450px at 12% 85%, rgba(228, 120, 49, 0.05), transparent 70%);
}

@media (pointer: fine) {
  body { cursor: none; }
  body a, body button { cursor: none; }
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

[hidden] { display: none !important; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.02em; }

p { margin: 0; }

pre { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

code, .mono { font-family: var(--mono); }

.accent-01 { color: var(--accent-01); }
.accent-04 { color: var(--accent-04); }
.dim { color: var(--dim); }
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ─── Luau / Lua Syntax Tokens ─── */
.tok-cm { color: #6e7681; font-style: italic; }
.tok-str { color: #7ee787; }
.tok-kw { color: #ff7b72; font-weight: 500; }
.tok-fn { color: #79c0ff; }
.tok-tk, .tok-type { color: #4ec9b0; }
.tok-global { color: #ffa657; font-weight: 500; }
.tok-num { color: #ff9e64; }
.tok-op { color: #79c0ff; }
.tok-var { color: #e6edf3; }
.tok-punct { color: #8b949e; }

.xxs { font-size: 11px; letter-spacing: 0.1em; }
.sm { font-size: 13px; }

.overline {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
  font-size: 13px;
  overflow: hidden;
}
.overline::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 45%, rgba(255, 255, 255, 0.09) 50%, transparent 55%);
  transform: translateX(-100%);
  animation: overline-slick 2.8s ease 0.8s infinite;
}
@keyframes overline-slick {
  55% { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}
.overline__icon { width: 13px; height: 13px; flex: none; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.section { position: relative; padding: 110px 0; }
.section__head { margin-bottom: 48px; position: relative; z-index: 2; }
.section__head .overline { margin-bottom: 14px; }
.section__title { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.05; margin-top: 14px; }
.section__sub { margin-top: 16px; max-width: 52ch; color: var(--muted); font-size: 14px; }

/* ─── Seamless Section Flow ─── */
.section--bg { position: relative; background: transparent; }

.divider {
  position: relative;
  height: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.side-label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0.55;
}
.side-label i { width: 5px; height: 5px; flex: none; border-radius: 2px; background: var(--dim); }
.side-label span {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.3em;
  color: var(--dim);
  writing-mode: vertical-rl;
  white-space: nowrap;
}
.side-label--l { left: 14px; }
.side-label--r { right: 14px; }
@media (min-width: 1220px) {
  .side-label { display: flex; }
}

/* ─── Reveal ─── */
[data-reveal], [data-hero] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].is-in, [data-hero].is-in { opacity: 1; transform: none; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 18px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: none;
  color: var(--ink-2);
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn:hover { color: var(--ink); border-color: var(--accent-01); transform: translateY(-1px); }
.btn--sm { padding: 8px 14px; font-size: 12px; }
.btn__icon { width: 14px; height: 14px; flex: none; }
.btn--ghost { border-color: transparent; color: var(--muted); }
.btn--ghost:hover { border-color: transparent; color: var(--ink); }
.btn--line { color: var(--ink-2); }
.btn--line:hover { border-color: var(--accent-01); color: var(--ink); }
.btn--grad {
  background: var(--grad-warm);
  border-color: transparent;
  color: #090a0a;
  font-weight: 600;
}
.btn--grad:hover { color: #090a0a; filter: brightness(1.1); box-shadow: 0 0 16px rgba(228, 120, 49, 0.4); }

/* ─── Fixed Header Unit (Top Executor Ticker + Navbar) ─── */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(13, 14, 16, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

/* Compact Top Executor Running Marquee */
.top-ticker {
  height: 32px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
  background: rgba(13, 14, 16, 0.75);
}
.top-ticker__track {
  display: flex;
  width: max-content;
  animation: marquee-x 30s linear infinite;
  white-space: nowrap;
  will-change: transform;
}
.top-ticker:hover .top-ticker__track { animation-play-state: paused; }
.top-ticker__set {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 14px;
  flex-shrink: 0;
}
@keyframes marquee-x {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}
.top-ticker__tag {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 600;
}
.top-ticker__name {
  color: var(--accent-01); /* Signature Orange */
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: filter 0.2s;
}
.top-ticker__name:hover { filter: brightness(1.2); }
.top-ticker__sep {
  color: var(--line-strong);
  font-family: var(--mono);
  font-size: 10.5px;
}
.top-ticker__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  z-index: 2;
  pointer-events: none;
}
.top-ticker__fade--l { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.top-ticker__fade--r { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

/* Navbar */
.navbar {
  position: relative;
  background: transparent;
}
.navbar__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 60px;
}
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand__logo { width: 22px; height: 22px; }
.brand__text { font-family: var(--mono); font-weight: 600; font-size: 14px; letter-spacing: 0.14em; color: var(--ink); }
.brand__ver { color: var(--dim); margin-left: 2px; }

.nav__menu { display: flex; align-items: center; gap: 6px; flex: 1; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--muted);
  border-radius: 6px;
  text-decoration: none;
  transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link span,
.dd__btn span {
  display: inline-block;
  transition: color 0.2s ease, filter 0.2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(228, 120, 49, 0.7);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.nav-link:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}
.nav-link:hover span,
.dd__btn:hover span,
.dd.is-open .dd__btn span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 10px rgba(240, 124, 48, 0.4));
}
.nav-link:hover::after {
  width: calc(100% - 16px);
}
.navbar__actions { display: flex; align-items: center; gap: 12px; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav__burger span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform 0.25s, opacity 0.25s; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { transform: translateY(0) rotate(-45deg); }

/* ─── Hero ─── */
.hero {
  position: relative;
  padding: 145px 0 100px;
  overflow: hidden;
  background: transparent;
}
.hero__bg {
  display: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__content { display: flex; flex-direction: column; align-items: center; }
.hero__title { font-size: clamp(40px, 6vw, 62px); line-height: 1.02; margin-top: 20px; }
.hero__line { display: block; }
.hero__sub { margin-top: 22px; max-width: 52ch; color: var(--muted); font-size: 16px; margin-inline: auto; }
.hero__badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-2);
}
.chip__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-01); box-shadow: 0 0 8px var(--accent-01); }

/* ─── Terminal cluster (hero 1:1 TaskForge Screenshot) ─── */
.terminal-cluster {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 48px auto 0;
  height: 360px;
}

.terminal {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(18, 22, 20, 0.88);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  text-align: left;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.terminal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(22, 26, 24, 0.65);
}

.terminal__dots { display: inline-flex; gap: 7px; flex: none; }
.terminal__dots i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.terminal__dots i:nth-child(1) { background: #ff5f56; }
.terminal__dots i:nth-child(2) { background: #ffbd2e; }
.terminal__dots i:nth-child(3) { background: #27c93f; }

.terminal__path {
  flex: 1;
  text-align: center;
  font-family: var(--mono);
  font-size: 12.5px;
  color: #7b8882;
  letter-spacing: 0.02em;
}

.terminal__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.terminal__copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.15s;
}
.terminal__copy-btn:hover {
  border-color: var(--accent-01);
  background: rgba(77, 214, 193, 0.12);
  color: var(--accent-01);
  transform: translateY(-1px);
}
.terminal__copy-btn svg { width: 12px; height: 12px; flex: none; }

.terminal__max-icon {
  width: 13px;
  height: 13px;
  flex: none;
  color: #55625c;
}

.terminal__body {
  padding: 24px 28px 28px;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.8;
}

/* 2 side terminals in the background: SOLID non-transparent background, reduced content opacity */
.terminal--back {
  position: absolute;
  top: 0;
  width: 450px;
  height: 220px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #0e1011; /* Solid opaque - tidak tembus pandang */
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}
.terminal--back-l { left: 0; }
.terminal--back-r { right: 0; }
.terminal--back .terminal__bar { opacity: 0.55; }
.terminal--back .terminal__body { padding: 18px 22px; font-size: 13px; opacity: 0.45; }

/* Center terminal (Main Kodium Loader) */
.terminal--center {
  position: absolute;
  top: 64px;
  left: 50%;
  transform: translateX(-50%);
  width: min(580px, 94%);
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #111314; /* Solid opaque */
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.term-cmd {
  font-size: 14px;
  margin-bottom: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.term-kw-purple { color: #b78af7; font-weight: 500; }
.term-txt-white { color: #f3f5f4; }
.term-param-orange { color: #ff8a4c; }
.term-val-green { color: #86efac; }
.term-accent-pink { color: #f472b6; font-weight: 500; }

.term-output {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #7e8c85;
  font-size: 13.5px;
}

.term-lua {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  color: #c9d1d9;
  margin: 0;
}
.term-lua.indent {
  padding-left: 14px;
}
.term-thinking {
  color: #55625c;
  margin-top: 14px;
  font-size: 13px;
}

@media (max-width: 860px) {
  .terminal-cluster {
    height: auto;
    min-height: 0;
    margin-top: 36px;
  }
  .terminal--back { display: none; }
  .terminal--center {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
  }
  .term-cmd { white-space: normal; }
}

.blink { display: inline-block; animation: blink 1.1s steps(2, start) infinite; }
@keyframes blink { 50% { opacity: 0; } }



/* ─── Features ─── */
.features .container { position: relative; z-index: 2; }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  background: var(--surface);
  transition: border-color 0.25s, transform 0.25s;
}
.feature-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.feature-card__icon { font-family: var(--mono); font-size: 15px; color: var(--accent-01); }
.feature-card__title { font-size: 16px; margin-top: 16px; }
.feature-card__text { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* ─── Games ─── */
.games .container { position: relative; z-index: 2; }
.games__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 820px;
  margin: 0 auto;
}
.game-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  position: relative;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.game-card:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35); }

.game-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #090a0c;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.game-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.game-card:hover .game-card__img { transform: scale(1.03); }

.game-card__media--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 50%, rgba(228, 120, 49, 0.06), transparent 70%), #0c0e10;
}
.game-card__placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.game-card__placeholder-icon {
  width: 32px;
  height: 32px;
  color: var(--dim);
  opacity: 0.6;
}

.game-card__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 24px 24px;
  flex: 1;
}
.game-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.game-card__title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.game-card__stat {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  color: var(--dim);
}
.game-card__stat--floating {
  position: absolute;
  bottom: 10px;
  left: 12px;
  z-index: 3;
  background: rgba(11, 13, 16, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  padding: 3px 9px;
  color: #c5cedb;
  font-size: 11px;
  letter-spacing: 0.02em;
  pointer-events: none;
}
.game-card__stat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38ef7d;
  box-shadow: 0 0 8px rgba(56, 239, 125, 0.85);
  animation: stat-dot-pulse 2s infinite ease-in-out;
}
@keyframes stat-dot-pulse {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* ─── Tags with Colored Background, Black Text, and Shimmer Animation ─── */
.tag {
  position: relative;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: #050607;
  cursor: default;
  user-select: none;
}

/* Shimmer reflection sweep animation */
.tag::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -120%;
  width: 70%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: rotate(25deg);
  animation: tag-shimmer 2.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes tag-shimmer {
  0%, 25% { left: -120%; }
  55%, 100% { left: 160%; }
}

/* Tag Free: Vibrant Orange with subtle pulse */
.tag--free {
  background: linear-gradient(135deg, #ffa048, #e47831);
  color: #050607;
  box-shadow: 0 0 10px rgba(228, 120, 49, 0.4);
  animation: tag-glow-free 3s infinite ease-in-out;
}
@keyframes tag-glow-free {
  0%, 100% { box-shadow: 0 0 8px rgba(228, 120, 49, 0.35); }
  50% { box-shadow: 0 0 16px rgba(228, 120, 49, 0.7); }
}

/* Tag Coming Soon: Bright Amber/Gold with subtle pulse */
.tag--soon {
  background: linear-gradient(135deg, #fde047, #eab308);
  color: #050607;
  box-shadow: 0 0 10px rgba(234, 179, 8, 0.4);
  animation: tag-glow-soon 3s infinite ease-in-out;
}
@keyframes tag-glow-soon {
  0%, 100% { box-shadow: 0 0 8px rgba(234, 179, 8, 0.35); }
  50% { box-shadow: 0 0 16px rgba(234, 179, 8, 0.7); }
}

/* Tag Premium: Vibrant Magenta/Pink with subtle pulse */
.tag--prem {
  background: linear-gradient(135deg, #ff6fa5, #d946ef);
  color: #050607;
  box-shadow: 0 0 10px rgba(217, 70, 239, 0.4);
  animation: tag-glow-prem 3s infinite ease-in-out;
}
@keyframes tag-glow-prem {
  0%, 100% { box-shadow: 0 0 8px rgba(217, 70, 239, 0.35); }
  50% { box-shadow: 0 0 16px rgba(217, 70, 239, 0.7); }
}
.game-card__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: calc(1.5em * 3);
}
.game-card__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.game-card__chips li {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 9px;
}
.game-card__copy { align-self: flex-start; margin-top: auto; }
.games__more { text-align: center; margin-top: 30px; position: relative; z-index: 2; }

/* ─── Pricing (In-Box Plan Toggle) ─── */
.pricing .container { position: relative; z-index: 2; }
.pricing__head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-inline: auto;
}
.pricing__head .overline { margin-inline: auto; }
.pricing__head .section__title { margin-inline: auto; }

.pricing__container {
  max-width: 500px;
  margin: 40px auto 0;
  position: relative;
  z-index: 2;
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 32px;
  background: var(--surface);
  position: relative;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

/* In-Box Top Bar: Toggle on Left, Popular Flag on Right */
.price-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.plan-toggle {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  cursor: pointer;
  user-select: none;
}

.plan-toggle__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.plan-toggle__slider {
  position: relative;
  width: 42px;
  height: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: background 0.25s, border-color 0.25s;
  flex: none;
}

.plan-toggle__slider::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--muted);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background 0.25s, box-shadow 0.25s;
}

.plan-toggle__label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  font-weight: 500;
  color: var(--ink-2);
}

.price-card__chip {
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(77, 214, 193, 0.1);
  border: 1px solid rgba(77, 214, 193, 0.25);
  color: #4dd6c1;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.price-card__flag {
  padding: 4px 10px;
  background: var(--grad-warm);
  color: #090a0a;
  border-radius: 999px;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}

.price-card__name { font-size: 19px; font-weight: 600; }
.price-card__price-wrap { display: flex; flex-direction: column; gap: 2px; }
.price-card__amount { font-size: 34px; font-weight: 600; letter-spacing: -0.02em; }
.price-card__amount small { font-size: 13px; font-weight: 400; letter-spacing: 0; }
.price-card__sub-amount {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.price-card__desc {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin-top: 8px;
  margin-bottom: 2px;
}

.price-card__list {
  display: flex;
  flex-direction: column;
  margin: 8px 0 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.price-card__list li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-2);
}

.price-card__list li::before { display: none; }

.price-card__icon {
  font-size: 12px;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  font-weight: 700;
}

.price-card__list li.is-checked .price-card__icon {
  color: var(--accent-01);
}

.price-card__list li.is-disabled {
  color: #4f5b55;
}

.price-card__list li.is-disabled .price-card__icon {
  color: #55635c;
}

.price-card__cta { margin-top: auto; width: 100%; text-align: center; }

/* Default State (Free) */
.price-card .tier-prem-only { display: none; }
.price-card .tier-free-only { display: block; }
.price-card span.tier-free-only { display: inline; }
.price-card div.tier-free-only { display: flex; }
.price-card ul.tier-free-only { display: flex; }
.price-card a.tier-free-only { display: inline-flex; }

/* Active State (Premium via :checked or .is-premium) */
.price-card:has(.plan-toggle__input:checked) .plan-toggle__slider,
.price-card.is-premium .plan-toggle__slider {
  background: rgba(228, 120, 49, 0.22);
  border-color: var(--accent-01);
}

.price-card:has(.plan-toggle__input:checked) .plan-toggle__slider::before,
.price-card.is-premium .plan-toggle__slider::before {
  transform: translateX(18px);
  background: var(--accent-01);
  box-shadow: 0 0 10px var(--accent-01);
}

.price-card:has(.plan-toggle__input:checked),
.price-card.is-premium {
  border: 1px solid transparent;
  background: linear-gradient(var(--surface-2), var(--surface-2)) padding-box, var(--grad-warm) border-box;
  box-shadow: 0 18px 50px rgba(228, 120, 49, 0.2);
}

.price-card:has(.plan-toggle__input:checked) .tier-free-only,
.price-card.is-premium .tier-free-only {
  display: none;
}

.price-card:has(.plan-toggle__input:checked) .tier-prem-only,
.price-card.is-premium .tier-prem-only {
  display: block;
}

.price-card:has(.plan-toggle__input:checked) span.tier-prem-only,
.price-card.is-premium span.tier-prem-only {
  display: inline;
}

.price-card:has(.plan-toggle__input:checked) div.tier-prem-only,
.price-card.is-premium div.tier-prem-only,
.price-card:has(.plan-toggle__input:checked) ul.tier-prem-only,
.price-card.is-premium ul.tier-prem-only {
  display: flex;
}

.price-card:has(.plan-toggle__input:checked) a.tier-prem-only,
.price-card.is-premium a.tier-prem-only {
  display: inline-flex;
}

.price-card:has(.plan-toggle__input:checked) .price-card__flag,
.price-card.is-premium .price-card__flag {
  opacity: 1;
  transform: translateY(0);
}

/* ─── FAQ ─── */
.faq__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.faq__head { margin-bottom: 0; }
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 4px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
}
.acc__num { color: var(--accent-01); }
.acc__q { flex: 1; }
.acc__plus { position: relative; width: 14px; height: 14px; flex: none; }
.acc__plus::before, .acc__plus::after {
  content: "";
  position: absolute;
  background: var(--dim);
  transition: background 0.2s, transform 0.3s;
}
.acc__plus::before { left: 0; right: 0; top: 6px; height: 2px; }
.acc__plus::after { top: 0; bottom: 0; left: 6px; width: 2px; }
.acc__item.is-open .acc__plus::before, .acc__item.is-open .acc__plus::after { background: var(--accent-01); }
.acc__item.is-open .acc__plus::after { transform: scaleY(0); }
.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel p { overflow: hidden; color: var(--muted); font-size: 14px; margin: 0 22px 20px; }

/* ─── Footer ─── */
.footer {
  position: relative;
  overflow: hidden;
  padding: 44px 0 56px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.footer::before {
  display: none;
}
.footer__inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__brand { display: inline-flex; align-items: center; gap: 10px; }
.footer__brand .brand__logo { width: 18px; height: 18px; }
.footer__brand .brand__text { font-size: 12.5px; }
.footer__links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__links a { font-family: var(--mono); font-size: 12px; color: var(--muted); transition: color 0.2s; }
.footer__links a:hover { color: var(--ink); }
.footer__right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.footer__discord { color: var(--accent-01) !important; }

/* ─── Custom cursor ─── */
.cursor-el { position: fixed; inset: 0; pointer-events: none; z-index: 9999; }
.cursor-el__dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-01);
  box-shadow: 0 0 8px var(--accent-01);
}
.cursor-el__ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(199, 199, 199, 0.35);
  transition: border-color 0.2s, background 0.2s;
}
.cursor-el.is-hover .cursor-el__ring { border-color: var(--accent-01); background: rgba(228, 120, 49, 0.1); }

/* ─── TaskForge 1:1 Components ─── */

/* Corner Brackets */
.corner-box { position: relative; }
.edge-corner { position: absolute; width: 6px; height: 6px; pointer-events: none; }
.edge-left-top { top: -1px; left: -1px; border-top: 1px solid var(--accent-01); border-left: 1px solid var(--accent-01); }
.edge-right-top { top: -1px; right: -1px; border-top: 1px solid var(--accent-01); border-right: 1px solid var(--accent-01); }
.edge-left-bottom { bottom: -1px; left: -1px; border-bottom: 1px solid var(--accent-01); border-left: 1px solid var(--accent-01); }
.edge-right-bottom { bottom: -1px; right: -1px; border-bottom: 1px solid var(--accent-01); border-right: 1px solid var(--accent-01); }



/* Navbar Dropdowns */
.dd { position: relative; }
.dd__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 8px 14px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--muted);
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.dd__btn::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(228, 120, 49, 0.7);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.dd__btn:hover, .dd.is-open .dd__btn {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}
.dd__btn:hover::after, .dd.is-open .dd__btn::after {
  width: calc(100% - 16px);
}
.dd__arrow {
  width: 9px;
  height: 9px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s;
  color: var(--dim);
}
.dd__btn:hover .dd__arrow {
  color: var(--accent-01);
  transform: translateY(1px);
}
.dd.is-open .dd__btn .dd__arrow {
  transform: rotate(180deg);
  color: var(--accent-01);
}
.dd__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 210px;
  background: rgba(16, 20, 18, 0.98);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 120;
}
.dd.is-open .dd__menu { display: flex; }
.dd__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 4px;
  transition: background 0.18s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.18s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.dd__item:hover {
  background: rgba(228, 120, 49, 0.1);
  color: #ffffff;
  transform: translateX(3px);
}
.dd__icon { width: 14px; height: 14px; color: var(--accent-01); flex: none; transition: transform 0.2s; }
.dd__item:hover .dd__icon { transform: scale(1.1); }

/* Hero Circuit Flow */
.hero-flow {
  width: 100%;
  max-width: 600px;
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.hero-flow__tracks {
  display: flex;
  justify-content: space-between;
  width: 100%;
  position: relative;
}
.hero-flow__track {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
}
.hero-flow__icon-wrap {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
  transition: border-color 0.2s, color 0.2s;
}
.hero-flow__icon-wrap svg { width: 16px; height: 16px; }
.hero-flow__icon-wrap:hover { border-color: var(--accent-01); color: var(--accent-01); }
.hero-flow__line {
  width: 1px;
  height: 48px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.hero-flow__pulse {
  position: absolute;
  top: -24px;
  left: 0;
  width: 1px;
  height: 24px;
  animation: flow-pulse-down 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.pulse--red { background: linear-gradient(180deg, transparent, #ff4d4d); animation-delay: 0s; }
.pulse--green { background: linear-gradient(180deg, transparent, #4dd6c1); animation-delay: 0.5s; }
.pulse--white { background: linear-gradient(180deg, transparent, #ffffff); animation-delay: 1.1s; }
.pulse--purple { background: linear-gradient(180deg, transparent, #8b6cff); animation-delay: 1.6s; }
.pulse--blue { background: linear-gradient(180deg, transparent, #3fb8ff); animation-delay: 0.8s; }

@keyframes flow-pulse-down {
  0% { transform: translateY(0); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateY(72px); opacity: 0; }
}

.hero-flow__bus {
  width: 78%;
  height: 1px;
  background: var(--line);
  position: relative;
  margin: 0 auto;
}
.hero-flow__bus-pulse {
  position: absolute;
  top: -1px;
  height: 2px;
  width: 48px;
  background: linear-gradient(90deg, transparent, var(--accent-01), transparent);
  animation: flow-bus 3.2s linear infinite;
}
@keyframes flow-bus {
  0% { left: 0; }
  100% { left: calc(100% - 48px); }
}

.hero-flow__center-node {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px auto 0;
  color: var(--accent-01);
  position: relative;
  z-index: 2;
}
.hero-flow__stem {
  width: 1px;
  height: 28px;
  background: var(--line);
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}
.hero-flow__stem-pulse {
  position: absolute;
  top: -24px;
  left: 0;
  width: 1px;
  height: 24px;
  background: linear-gradient(180deg, transparent, var(--accent-01));
  animation: flow-pulse-down 2s ease-in-out infinite 1.2s;
}



/* Interactive Script Console (AI-Input replica) */
.console-section { position: relative; padding: 110px 0; }
.console-panel {
  position: relative;
  max-width: 820px;
  margin: 40px auto 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(14, 18, 16, 0.95);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  padding: 26px;
}
.console-process {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.console-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-2);
}
.console-step__icon {
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-01);
}
.console-step__icon svg { width: 12px; height: 12px; }
.console-step__arrow { color: var(--dim); font-family: var(--mono); font-size: 11px; }
.console-input-row {
  display: flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface-2);
  padding: 4px 8px 4px 14px;
  gap: 12px;
  transition: border-color 0.2s;
}
.console-input-row:focus-within { border-color: var(--accent-01); }
.console-input {
  flex: 1;
  background: none;
  border: none;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13.5px;
  outline: none;
  padding: 8px 0;
}
.console-input::placeholder { color: var(--dim); }
.console-globe {
  width: 18px;
  height: 18px;
  color: var(--accent-01);
  animation: spin 12s linear infinite;
  flex: none;
}
.console-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.console-modes { display: flex; gap: 8px; flex-wrap: wrap; }
.console-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}
.console-mode-btn:hover { color: var(--ink); border-color: var(--line-strong); }
.console-mode-btn.is-on {
  border-color: var(--accent-01);
  color: var(--accent-01);
  background: rgba(228, 120, 49, 0.08);
}
.console-mode-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.console-actions-right { display: flex; align-items: center; gap: 12px; }
.console-dropdown-wrap { position: relative; }
.console-select-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: var(--radius);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
  cursor: pointer;
}
.console-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 220px;
  background: rgba(16, 20, 18, 0.98);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 6px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 120;
}
.console-select-menu.is-open { display: flex; }
.console-select-item {
  padding: 8px 12px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.console-select-item:hover { background: var(--surface-2); color: var(--accent-01); }
.console-output {
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: rgba(10, 13, 12, 0.9);
  border-radius: var(--radius);
}
.console-status-text {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.7;
}
.console-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.console-code-text {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent-04);
  word-break: break-all;
}

/* 4-Column Feature Model Grid */
.models-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.model-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.model-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}
.model-card__preview {
  height: 90px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 20, 18, 0.7);
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1.5px);
  background-size: 10px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}
.model-card__preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(11, 13, 12, 0.85) 100%);
}
.model-card__badge-icon {
  width: 30px;
  height: 30px;
  color: var(--accent-01);
  position: relative;
  z-index: 2;
}
.model-card__title { font-size: 15px; font-weight: 600; color: var(--ink); }
.model-card__sub { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.5; flex: 1; }
.model-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--accent-01);
  margin-top: 16px;
  transition: gap 0.2s;
}
.model-card:hover .model-card__link { gap: 9px; }
.model-card__arrow { width: 12px; height: 12px; }

/* Code Showcase Tabs */
.code-showcase {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  margin-top: 48px;
}
.code-showcase__info .section__title { margin-top: 14px; }
.code-showcase__links {
  display: flex;
  gap: 24px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.code-showcase__item { display: flex; flex-direction: column; gap: 4px; }
.code-showcase__label { color: var(--ink); font-size: 13px; font-weight: 500; }
.code-showcase__sublink { color: var(--accent-01); font-family: var(--mono); font-size: 12px; }

.code-panel {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(13, 16, 15, 0.94);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.code-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 0 16px;
}
.code-panel__tabs { display: flex; gap: 4px; }
.code-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}
.code-tab-btn:hover { color: var(--ink); }
.code-tab-btn.is-on { color: var(--ink); border-bottom-color: var(--accent-01); }
.code-tab-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--dim); }
.code-tab-btn.is-on .code-tab-dot { background: var(--accent-01); box-shadow: 0 0 6px var(--accent-01); }
.code-panel__body { padding: 22px; overflow-x: auto; }
.code-panel__body pre { font-family: var(--mono); font-size: 13px; line-height: 1.85; color: var(--ink-2); }

/* TaskForge Browser Mockup Showcase */
.browser-mockup {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(13, 16, 15, 0.95);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  margin-top: 44px;
  overflow: hidden;
}
.browser-mockup__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.browser-mockup__dots { display: flex; gap: 6px; }
.browser-mockup__dots i { width: 8px; height: 8px; border-radius: 50%; }
.browser-mockup__dots i:nth-child(1) { background: var(--accent-05); }
.browser-mockup__dots i:nth-child(2) { background: var(--accent-04); }
.browser-mockup__dots i:nth-child(3) { background: var(--accent-06); }
.browser-mockup__url { flex: 1; font-family: var(--mono); font-size: 11.5px; color: var(--dim); text-align: center; }
.browser-mockup__tabs { display: flex; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.browser-tab-btn {
  flex: 1;
  padding: 12px 16px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}
.browser-tab-btn:hover { color: var(--ink); }
.browser-tab-btn.is-on {
  color: var(--ink);
  border-bottom-color: var(--accent-01);
  background: rgba(228, 120, 49, 0.05);
}
.browser-mockup__panel {
  padding: 36px 32px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}
.browser-tab-content-left h3 { font-size: 22px; line-height: 1.3; }
.browser-tab-content-left p { color: var(--muted); font-size: 14px; margin-top: 14px; line-height: 1.6; }
.browser-checklist { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.browser-check-item { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); }
.browser-check-sq { width: 5px; height: 5px; background: var(--accent-01); flex: none; }
.browser-tab-content-right {
  position: relative;
  height: 220px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 20px;
}
.browser-tab-content-right::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1.5px);
  background-size: 12px 12px;
}
.browser-hologram-card {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(16, 20, 18, 0.85);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.browser-hologram-card:nth-child(2) { transform: translateX(16px); }
.browser-hologram-card:nth-child(3) { transform: translateX(-14px); }
.browser-hologram-card i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-01);
  box-shadow: 0 0 8px var(--accent-01);
}

/* ─── Responsive ─── */
@media (max-width: 1080px) {
  .side-label { display: none; }
}

@media (max-width: 940px) {
  .hero { padding: 140px 0 88px; }
  .games__grid { grid-template-columns: repeat(2, 1fr); }
  .models-grid { grid-template-columns: repeat(2, 1fr); }
  .code-showcase { grid-template-columns: 1fr; gap: 36px; }
  .browser-mockup__panel { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr; }
  .pricing__grid { grid-template-columns: 1fr; }
  .faq__inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 820px) {
  .section { padding: 84px 0; }
  .hero { padding: 132px 0 72px; }

  .nav__burger { display: flex; }
  .nav__menu {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 18px;
    background: rgba(13, 14, 16, 0.98);
    border-bottom: 1px solid var(--line);
  }
  .nav__menu.is-open { display: flex; }
  .nav-link, .dd__btn { padding: 12px 8px; font-size: 15px; width: 100%; justify-content: space-between; }
  .nav-link::after, .dd__btn::after { display: none; }
  .navbar__actions .btn--ghost { display: none; }
  .hero-flow { display: none; }
}

@media (max-width: 640px) {
  .models-grid { grid-template-columns: 1fr; }
  .browser-mockup__tabs { overflow-x: auto; flex-wrap: nowrap; }
  .browser-tab-btn { white-space: nowrap; flex: none; }
  .console-controls { flex-direction: column; align-items: stretch; }
}

@media (max-width: 560px) {
  .games__grid { grid-template-columns: 1fr; }
  .terminal__foot { flex-direction: column; align-items: flex-start; }
  .terminal__bar { gap: 8px; padding: 10px 12px; }
  .terminal__max { display: none; }
}