:root {
  --bg: #0c0c0c;
  --card: #161616;
  --field: #202020;
  --hover: #282828;
  --line: #2d2d2d;
  --line-strong: #404040;
  --ink: #f4f4f4;
  --muted: #929292;
  --ok: #4ade80;
  --bad: #f87171;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Space Grotesk", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Meiryo", "Malgun Gothic", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(60% 45% at 50% 0%, rgba(255, 255, 255, .045), transparent 70%),
    linear-gradient(to right, rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .9), transparent 85%);
  z-index: -1;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.mono, .eyebrow, .section-tag, .step-num, .badge, .pill-save, .pill-best, .win-lang-btn, .lang-menu, .price-val .cur, .price-val .unit, .win-body {
  font-family: "JetBrains Mono", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Meiryo", "Malgun Gothic", ui-monospace, SFMono-Regular, monospace;
}

.muted { color: var(--muted); }

/* Navbar */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 14px 0;
  background: rgba(12, 12, 12, .78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
}
.brand { display: inline-flex; align-items: center; justify-self: start; text-decoration: none; }
.brand-logo { height: 20px; width: auto; display: block; }
.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  justify-self: center;
}
.nav-link {
  padding: 6px 12px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color .14s, background .14s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--ink); background: rgba(255, 255, 255, .05); }
.nav-actions { display: inline-flex; align-items: center; gap: 8px; justify-self: end; }

.lang-dd { position: relative; display: inline-flex; }
.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 35;
  width: 214px;
  max-height: min(352px, 68vh);
  overflow-y: auto;
  padding: 6px;
  background: #1c1c1c;
  border: 1px solid #373737;
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .75);
  display: none;
  scrollbar-width: thin;
  scrollbar-color: #5a5a5a transparent;
}
.nav-wrap .lang-menu { z-index: 60; }
.lang-dd.open .lang-menu { display: block; }
.lang-dd.open .win-lang-btn { background: #262626; }
.lang-dd.open .win-lang-btn svg { transform: rotate(180deg); }
.lang-menu::-webkit-scrollbar { width: 6px; }
.lang-menu::-webkit-scrollbar-track { background: transparent; }
.lang-menu::-webkit-scrollbar-thumb { background: #5a5a5a; border-radius: 99px; }
.lang-opt {
  width: 100%;
  height: 34px;
  padding: 0 10px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #f4f4f4;
  font: inherit;
  font-size: 13px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background .1s;
}
.lang-opt:hover { background: #282828; }
.lang-opt.active { background: #242424; }
.lang-opt-code {
  width: 22px;
  flex-shrink: 0;
  font-size: 11px;
  color: #8c8c8c;
  letter-spacing: .3px;
}
.lang-opt.active .lang-opt-code { color: #f4f4f4; font-weight: 600; }
.lang-opt-name {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #f4f4f4;
  font-size: 13px;
}
.lang-opt-chk {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  fill: none;
  stroke: #f4f4f4;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
}
.lang-opt.active .lang-opt-chk { opacity: 1; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--line-strong);
  cursor: pointer;
  transition: transform .12s, background .14s, border-color .14s;
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.btn-sm { padding: 8px 13px; font-size: 13px; border-radius: 9px; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn-primary:hover { background: #e2e2e2; transform: translateY(-1px); }
.btn-ghost {
  background: var(--card);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--hover); border-color: #555; transform: translateY(-1px); }

/* Indicators */
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex-shrink: 0; background: var(--muted); }
.dot.ok { background: var(--ok); }
.dot.bad { background: var(--bad); }
.dot.pulse { box-shadow: 0 0 0 0 rgba(74, 222, 128, .65); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .55); }
  70% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* Hero Demo & Client Overview */
.hero-demo { padding: 38px 0 52px; }
.hero-demo-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 18px;
}
.hero-demo-top .eyebrow { margin-bottom: 14px; }
.hero-demo-top .section-sub { max-width: 640px; }
.hero-demo-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 0 10px;
  font-size: clamp(32px, 4.5vw, 50px);
  line-height: 1.08;
  letter-spacing: -1.2px;
  font-weight: 700;
}
.inline-logo { height: 0.64em; width: auto; display: block; transform: translateY(1px); }
.hero-demo-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}
.hero-secondary { border-top: 1px solid rgba(255, 255, 255, .06); }
.hero-secondary .hero-title { font-size: clamp(32px, 4.4vw, 48px); }
.hero { padding: 54px 0 36px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 38px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .7px;
  color: var(--muted);
  margin-bottom: 18px;
}
.hero-title {
  margin: 0 0 16px;
  font-size: clamp(38px, 5.4vw, 60px);
  line-height: 1.03;
  letter-spacing: -1.5px;
  font-weight: 700;
}
.hero-sub {
  margin: 0 0 26px;
  max-width: 500px;
  color: #b4b4b4;
  font-size: 16px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.hero-specs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.spec-item { display: flex; flex-direction: column; gap: 1px; }
.spec-item strong { font-family: "JetBrains Mono", monospace; font-size: 15px; font-weight: 700; }
.spec-item span { font-size: 12px; color: var(--muted); }
.spec-sep { width: 1px; height: 28px; background: var(--line); }

/* Zero.exe 1:1 Client Preview */
.app-mock {
  width: 100%;
  max-width: 420px;
  justify-self: center;
  background: #111111;
  border: 1px solid #373737;
  border-radius: 8px;
  overflow: visible;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .65);
}
.win-titlebar {
  height: 32px;
  padding: 0 2px 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #111111;
  border-radius: 7px 7px 0 0;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 12px;
  color: #f4f4f4;
  user-select: none;
}
.win-title-left { display: inline-flex; align-items: center; gap: 8px; }
.win-title-left img { width: 15px; height: 15px; border-radius: 2px; display: block; }
.win-title-btns { display: inline-flex; align-items: center; height: 100%; color: #d8d8d8; font-size: 11px; }
.win-title-btns span {
  width: 42px;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.win-btn-dim { opacity: .35; }
.win-body { padding: 18px 24px 18px; border-radius: 0 0 7px 7px; }
.win-head {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.win-logo { height: 42px; width: auto; display: block; }
.win-lang-btn {
  width: 74px;
  height: 30px;
  padding: 0 10px 0 12px;
  border-radius: 7px;
  border: 1px solid #373737;
  background: #1c1c1c;
  color: #f4f4f4;
  font: inherit;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background .12s;
  flex-shrink: 0;
}
.win-lang-btn:hover { background: #262626; }
.win-lang-btn svg, .win-game svg {
  fill: none;
  stroke: #969696;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.win-rule { height: 1px; background: #373737; margin-bottom: 18px; }
.win-label {
  font-size: 11px;
  color: #8c8c8c;
  letter-spacing: .5px;
  margin-bottom: 6px;
}
.win-card {
  width: 100%;
  height: 56px;
  border-radius: 10px;
  background: #1c1c1c;
  border: 1px solid #373737;
  padding: 0 16px;
  display: flex;
  align-items: center;
}
.win-game { justify-content: space-between; }
.win-game-name {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-style: italic;
  font-size: 19px;
  letter-spacing: .8px;
  color: #f4f4f4;
}
.win-weapon-btn {
  gap: 12px;
  font: inherit;
  color: #f4f4f4;
  cursor: pointer;
  text-align: left;
  padding-left: 14px;
  transition: background .12s, border-color .12s;
}
.win-weapon-btn:hover { background: #242424; border-color: #464646; }
.win-weapon-svg { height: 32px; width: auto; fill: #f4f4f4; display: block; flex-shrink: 0; }
.win-weapon-title { font-size: 17px; font-weight: 700; color: #f4f4f4; letter-spacing: -.3px; }
.win-weapon-tier { font-size: 17px; font-weight: 700; color: #8c8c8c; margin-left: -4px; }
.win-action {
  margin-top: 16px;
  width: 100%;
  height: 46px;
  border-radius: 10px;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid #f4f4f4;
  background: #f4f4f4;
  color: #111111;
  transition: background .12s, border-color .12s;
}
.win-action:hover { background: #e2e2e2; }
.win-action.armed {
  background: #1c1c1c;
  border-color: #373737;
  color: #f4f4f4;
}
.win-action.armed:hover { background: #282828; }
.win-status {
  margin-top: 12px;
  height: 18px;
  text-align: center;
  font-size: 11.5px;
  color: #8c8c8c;
}
.win-status.on { color: #f4f4f4; }
.win-footer {
  margin-top: 4px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #8c8c8c;
  user-select: none;
}

/* Sections */
.section { padding: 60px 0; }
.section-tight { padding: 24px 0; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}
.section-head.center { justify-content: center; text-align: center; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.3px;
  color: var(--muted);
  margin-bottom: 6px;
}
.section-title {
  margin: 0 0 8px;
  font-size: clamp(26px, 3.6vw, 36px);
  line-height: 1.12;
  letter-spacing: -.8px;
}
.section-sub { margin: 0; max-width: 560px; color: var(--muted); font-size: 15px; }

/* Before & After */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.ba-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}
.ba-after { border-color: rgba(74, 222, 128, .28); }
.ba-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.ba-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .5px; }
.badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.badge.bad { color: var(--bad); border-color: rgba(248, 113, 113, .35); background: rgba(248, 113, 113, .08); }
.badge.ok { color: var(--ok); border-color: rgba(74, 222, 128, .35); background: rgba(74, 222, 128, .08); }

.ba-media {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #080808;
  aspect-ratio: 16 / 9;
}
.ba-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-desc { margin: 11px 2px 2px; font-size: 13px; color: var(--muted); }

/* Features */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.feat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  transition: border-color .15s, transform .15s;
}
.feat-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.feat-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.feat-ico svg { width: 17px; height: 17px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feat-card h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.feat-card p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.step-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
}
.step-num { display: inline-block; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.step-card h3 { margin: 0 0 6px; font-size: 16px; }
.step-card p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: var(--ink);
  background: linear-gradient(180deg, #1d1d1d 0%, #151515 100%);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
}
.price-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.plan-name { font-size: 16px; font-weight: 700; }
.plan-term { font-size: 12px; color: var(--muted); }
.pill-save {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--ok);
  border: 1px solid rgba(74, 222, 128, .35);
  background: rgba(74, 222, 128, .08);
}
.pill-best {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
}
.price-val {
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1.5px;
  margin-bottom: 8px;
}
.price-val .cur { font-size: 18px; vertical-align: top; color: var(--muted); margin-right: 2px; }
.price-val .unit { font-size: 12px; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.price-note { margin: 0 0 18px; font-size: 13px; color: var(--muted); }
.plan-list {
  list-style: none;
  padding: 16px 0 22px;
  margin: 0 0 auto;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.plan-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: #cfcfcf;
}
.plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
}
.checkout-trust {
  text-align: center;
  margin: 18px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: "JetBrains Mono", monospace;
  color: var(--muted);
  font-size: 17px;
  line-height: 1;
}
.faq-item[open] summary::after { content: "−"; color: var(--ink); }
.faq-item p { margin: 10px 0 2px; font-size: 13.5px; color: var(--muted); }

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 38px;
  margin-top: 24px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { font-size: 13px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .feat-grid, .price-grid, .steps-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav { grid-template-columns: auto auto; }
  .nav-links { display: none; }
  .ba-grid { grid-template-columns: 1fr; }
  .feat-grid, .price-grid, .steps-grid { grid-template-columns: 1fr; }
  .hero-demo { padding: 24px 0 36px; }
  .hero-demo-title { gap: 10px; }
  .hero-demo-bar { justify-content: center; }
  .hero { padding-top: 34px; }
  .section { padding: 44px 0; }
}
