/* ═══════════════════════════════════════════════════
   BUNNI EXECUTOR — style.css  v2
   Dark glass · Fuchsia-violet accent · April 2026
   ═══════════════════════════════════════════════════ */

:root {
  --bg:       #07070f;
  --bg-s:     #0c0c1a;
  --bg-c:     #111122;
  --bg-c2:    #15152b;
  --b:        rgba(160,90,255,.13);
  --bh:       rgba(200,120,255,.28);
  --ac:       #d946ef;
  --ac2:      #9333ea;
  --ac3:      #e879f9;
  --vio:      #7c3aed;
  --gr:       #10b981;
  --grg:      rgba(16,185,129,.12);
  --re:       #f87171;
  --ye:       #f59e0b;
  --t1:       #f0eeff;
  --t2:       #a89fc4;
  --t3:       #524f6a;
  --r:        12px;
  --rl:       18px;
  --maxw:     1120px;
  --nw:       720px;
  --tr:       .2s cubic-bezier(.4,0,.2,1);
  --f:        'Sora', sans-serif;
  --m:        'DM Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body { background: var(--bg); color: var(--t1); font-family: var(--f); line-height: 1.7; overflow-x: hidden; }
::selection { background: var(--ac); color: #fff; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--ac2); border-radius: 4px; }

a { color: var(--ac3); text-decoration: none; transition: color var(--tr); }
a:hover { color: var(--ac); }
strong { color: var(--t1); font-weight: 600; }
code { font-family: var(--m); background: rgba(160,90,255,.14); padding: .1em .4em; border-radius: 5px; font-size: .84em; color: var(--ac3); }

/* ─── Layout ─── */
.container        { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: var(--nw);   margin: 0 auto; padding: 0 1.5rem; }
.centered-col     { text-align: center; }

/* ══════════════════════════════════════
   ANIMATED STATUS DOT (reusable)
══════════════════════════════════════ */
@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,.6); }
  50%       { box-shadow: 0 0 0 5px rgba(16,185,129,0); }
}
@keyframes ring-pulse {
  0%   { transform: scale(1);   opacity: .7; }
  100% { transform: scale(2.2); opacity: 0;  }
}

.svc-dot {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.svc-dot::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gr);
  display: block;
  animation: dot-pulse 2s ease-in-out infinite;
}
.svc-dot::after {
  content: '';
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--gr);
  animation: ring-pulse 2s ease-out infinite;
}
.svc-dot.large-dot::before { width: 11px; height: 11px; }
.svc-dot.large-dot::after  { width: 11px; height: 11px; }

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(7,7,15,.88);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--b);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem;
  height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.nav-logo {
  display: flex; align-items: center; gap: .45rem;
  font-size: 1.05rem; font-weight: 700; letter-spacing: -.02em; color: var(--t1); text-decoration: none;
}
.logo-emoji { font-size: 1.25rem; }
.accent { color: var(--ac); }

.nav-links { display: flex; align-items: center; gap: 1.8rem; list-style: none; }
.nav-links a { color: var(--t2); font-size: .85rem; font-weight: 500; text-decoration: none; transition: color var(--tr); }
.nav-links a:hover { color: var(--t1); }

.nav-cta-btn {
  display: inline-flex; align-items: center; gap: .3rem;
  background: linear-gradient(135deg, var(--ac), var(--vio));
  color: #fff !important; padding: .36rem .95rem; border-radius: 8px;
  font-weight: 600 !important; font-size: .82rem !important;
  transition: transform var(--tr), box-shadow var(--tr) !important;
}
.nav-cta-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 18px rgba(217,70,239,.38); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--t2); border-radius: 2px; transition: var(--tr); }

/* ══════════════════════════════════════
   BREADCRUMB BAR
══════════════════════════════════════ */
.bc-bar {
  position: fixed; top: 58px; left: 0; right: 0; z-index: 190;
  background: rgba(11,11,26,.75);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--b);
}
.bc-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem;
  height: 34px; display: flex; align-items: center; justify-content: space-between;
}
.bc-inner ol { display: flex; align-items: center; gap: .4rem; list-style: none; }
.bc-inner li { display: flex; align-items: center; gap: .4rem; font-size: .75rem; color: var(--t3); }
.bc-inner a  { color: var(--t3); text-decoration: none; transition: color var(--tr); }
.bc-inner a:hover { color: var(--ac3); }
.bc-inner svg { color: var(--t3); flex-shrink: 0; }
.bc-chevron { opacity: .4; }

.bc-right { display: flex; align-items: center; gap: .5rem; font-size: .73rem; color: var(--t3); }
.bc-live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gr);
  animation: dot-pulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(16,185,129,.6);
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  position: relative; overflow: hidden;
  padding: 116px 1.5rem 5rem;
  min-height: 100svh; display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .3; }
.orb1 { width: 580px; height: 500px; top: -160px; left: -80px; background: radial-gradient(circle, #9333ea, transparent 70%); }
.orb2 { width: 460px; height: 380px; bottom: -80px; right: -60px; background: radial-gradient(circle, #5b21b6, transparent 70%); }
.hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(160,90,255,.18) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 40%, transparent 100%);
}

.hero-layout {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}

/* ── Hero left ── */
.hero-left { display: flex; flex-direction: column; gap: 1.15rem; }

.hero-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(160,90,255,.1); border: 1px solid rgba(160,90,255,.22);
  border-radius: 99px; padding: .28rem .85rem;
  font-size: .75rem; font-weight: 600; color: var(--ac3); letter-spacing: .02em; width: fit-content;
  animation: fadeUp .6s ease both;
}
.pulse-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gr);
  box-shadow: 0 0 6px var(--gr); animation: dot-pulse 2s infinite; flex-shrink: 0;
}

.hero-h1 {
  font-size: clamp(1.6rem, 3vw, 2.55rem);
  font-weight: 800; letter-spacing: -.035em; line-height: 1.15;
  background: linear-gradient(145deg, #fff 0%, var(--ac3) 55%, var(--ac) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: fadeUp .7s ease .08s both;
}
.hero-p {
  font-size: .97rem; color: var(--t2); line-height: 1.75;
  animation: fadeUp .7s ease .16s both;
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ── Share ── */
.share-row { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.share-cta  { justify-content: center; margin-top: 1.5rem; }
.share-lbl  { font-size: .75rem; color: var(--t3); font-weight: 500; margin-right: .15rem; }

.soc-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 7px; border: 1px solid rgba(255,255,255,.1);
  text-decoration: none; transition: transform var(--tr), box-shadow var(--tr), opacity var(--tr); opacity: .75;
}
.soc-btn svg { width: 13px; height: 13px; }
.soc-btn:hover { transform: translateY(-2px); opacity: 1; box-shadow: 0 4px 14px rgba(0,0,0,.4); }
.soc-x  { background: #000; color: #fff; }
.soc-fb { background: #1877f2; color: #fff; }
.soc-li { background: #0a66c2; color: #fff; }
.soc-rd { background: #ff4500; color: #fff; }
.soc-pt { background: #e60023; color: #fff; }

/* ── Buttons ── */
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.cta-actions  { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; justify-content: center; }

.btn-primary {
  display: inline-flex; align-items: center; gap: .45rem;
  background: linear-gradient(135deg, var(--ac) 0%, var(--vio) 100%);
  color: #fff; padding: .72rem 1.5rem; font-size: .92rem;
  font-family: var(--f); font-weight: 700; letter-spacing: -.01em;
  border: none; border-radius: var(--r); cursor: pointer;
  box-shadow: 0 4px 22px rgba(217,70,239,.32);
  transition: transform var(--tr), box-shadow var(--tr);
  text-decoration: none;
}
.btn-primary:hover { transform: translateY(-2px) scale(1.015); box-shadow: 0 8px 34px rgba(217,70,239,.48); }
.btn-primary:active { transform: scale(.98); }
.btn-lg { padding: .85rem 1.85rem; font-size: 1rem; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .72rem 1.4rem; background: transparent;
  color: var(--t2); border: 1px solid var(--bh); border-radius: var(--r);
  text-decoration: none; font-weight: 600; font-size: .88rem;
  transition: transform var(--tr), border-color var(--tr), color var(--tr);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--ac); color: var(--ac3); }

/* ── Stats ── */
.hero-stats { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.hstat { display: flex; flex-direction: column; gap: .05rem; }
.hstat strong { font-size: 1.2rem; font-weight: 800; color: var(--ac3); letter-spacing: -.03em; line-height: 1.1; }
.hstat span   { font-size: .72rem; color: var(--t3); }
.hstat-div    { width: 1px; height: 28px; background: var(--b); }

/* ── Hero Right ── */
.hero-right { display: flex; flex-direction: column; gap: 1rem; }

/* Editor */
.editor-win {
  background: var(--bg-c); border: 1px solid var(--b); border-radius: var(--rl);
  overflow: hidden; box-shadow: 0 0 50px rgba(124,58,237,.14), 0 1px 0 rgba(255,255,255,.04) inset;
}
.editor-bar {
  display: flex; align-items: center; gap: 0; padding: .7rem 1rem;
  background: rgba(255,255,255,.025); border-bottom: 1px solid var(--b);
}
.editor-dots { display: flex; align-items: center; gap: 5px; margin-right: .75rem; }
.edot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.edot.r { background: #ff5f57; } .edot.y { background: #febc2e; } .edot.g { background: #28c840; }
.editor-title { font-size: .73rem; color: var(--t3); font-family: var(--m); margin-right: auto; }
.editor-badge {
  font-size: .62rem; font-weight: 700; letter-spacing: .08em;
  background: var(--grg); color: var(--gr); border: 1px solid rgba(16,185,129,.25);
  padding: .15rem .45rem; border-radius: 4px;
}
.editor-img { width: 100%; height: auto; display: block; }
.editor-body { padding: 1rem 1.1rem .5rem; }
.code-pre {
  font-family: var(--m); font-size: .78rem; line-height: 1.9;
  color: var(--t2); white-space: pre; overflow-x: auto; max-width: 100%;
}
.ck { color: #c084fc; font-weight: 600; }
.cs { color: #86efac; }
.cc { color: #3f3f5a; font-style: italic; }
.cf { color: #60a5fa; }

.editor-footer {
  display: flex; align-items: center; gap: .5rem;
  padding: .55rem 1.1rem; border-top: 1px solid var(--b);
  background: rgba(255,255,255,.015);
}
.ef-live { display: flex; align-items: center; gap: .4rem; font-size: .75rem; color: var(--gr); font-weight: 600; }
.ef-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gr);
  box-shadow: 0 0 6px var(--gr); animation: dot-pulse 2s infinite; flex-shrink: 0;
}
.ef-chip {
  margin-left: auto; font-size: .7rem; color: var(--t3);
  background: rgba(255,255,255,.05); border: 1px solid var(--b);
  padding: .1rem .45rem; border-radius: 4px; font-family: var(--m);
}
.ef-chip + .ef-chip { margin-left: .35rem; }

/* Glass card */
.glass-card {
  background: rgba(17,17,34,.7); border: 1px solid var(--b); border-radius: var(--r);
  padding: 1rem 1.1rem; backdrop-filter: blur(10px);
}
.gc-header { display: flex; align-items: center; gap: .5rem; margin-bottom: .85rem; }
.gc-icon { width: 13px; height: 13px; color: var(--t3); flex-shrink: 0; }
.gc-title { font-size: .8rem; font-weight: 700; color: var(--t1); flex: 1; }
.gc-link { font-size: .72rem; color: var(--t3); text-decoration: none; white-space: nowrap; transition: color var(--tr); }
.gc-link:hover { color: var(--ac3); }

.cl-mini { list-style: none; display: flex; flex-direction: column; gap: .65rem; }
.cl-mini li { display: flex; align-items: flex-start; gap: .7rem; }
.cl-v {
  font-family: var(--m); font-size: .7rem; font-weight: 600;
  padding: .15rem .45rem; border-radius: 5px; white-space: nowrap; flex-shrink: 0; margin-top: .1rem;
}
.cl-v.new { background: rgba(16,185,129,.12); color: var(--gr); border: 1px solid rgba(16,185,129,.2); }
.cl-v.fix { background: rgba(248,113,113,.1); color: var(--re); border: 1px solid rgba(248,113,113,.2); }
.cl-info { display: flex; flex-direction: column; gap: .12rem; }
.cl-name { font-size: .78rem; color: var(--t2); line-height: 1.4; }
.cl-date { font-size: .7rem; color: var(--t3); }

/* ══════════════════════════════════════
   SECTIONS
══════════════════════════════════════ */
.section   { padding: 4rem 1.5rem; }
.sec-alt   { background: var(--bg-s); border-top: 1px solid var(--b); border-bottom: 1px solid var(--b); }

.sec-label {
  display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ac); background: rgba(217,70,239,.08); border: 1px solid rgba(217,70,239,.18);
  border-radius: 99px; padding: .22rem .7rem; margin-bottom: .65rem;
}
.sec-h2  { font-size: clamp(1.45rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -.03em; color: var(--t1); margin-bottom: .5rem; }
.sec-sub { color: var(--t2); font-size: .93rem; margin-bottom: 2rem; max-width: 520px; }
.body-text { color: var(--t2); font-size: .93rem; line-height: 1.8; margin-bottom: .85rem; }

/* ══════════════════════════════════════
   STATUS BANNER
══════════════════════════════════════ */
.status-banner {
  background: rgba(16,185,129,.04);
  border-bottom: 1px solid rgba(16,185,129,.12);
}
.status-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: .9rem; padding-bottom: .9rem; gap: 1.5rem; flex-wrap: wrap;
}
.sb-left  { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.sb-label { font-size: .72rem; font-weight: 700; color: var(--gr); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }

.sb-services { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.sb-item { display: flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--t2); white-space: nowrap; }

.sb-right { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.sb-uptime { display: flex; flex-direction: column; align-items: flex-end; }
.sbu-label { font-size: .65rem; color: var(--t3); }
.sbu-val   { font-size: .85rem; font-weight: 700; color: var(--gr); line-height: 1; }

.sb-detail-btn {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .75rem; color: var(--t3); text-decoration: none;
  border: 1px solid var(--b); border-radius: 7px; padding: .3rem .7rem;
  transition: color var(--tr), border-color var(--tr);
  white-space: nowrap;
}
.sb-detail-btn:hover { color: var(--ac3); border-color: var(--bh); }

/* ══════════════════════════════════════
   STATUS FULL + CHANGELOG
══════════════════════════════════════ */
.status-grid {
  display: grid; grid-template-columns: 1fr 1.35fr; gap: 1.25rem; align-items: stretch;
}

.status-dash {
  background: var(--bg-c); border: 1px solid var(--b); border-radius: var(--rl);
  overflow: hidden; display: flex; flex-direction: column;
}
.sd-top {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--b);
  background: rgba(16,185,129,.04);
}
.sd-indicator { display: flex; align-items: center; gap: .7rem; }
.sd-main-label { font-size: .88rem; font-weight: 700; color: var(--t1); }
.sd-sub-label  { font-size: .71rem; color: var(--t3); margin-top: .1rem; }
.sd-uptime-tag {
  font-size: .72rem; font-weight: 700; color: var(--gr);
  background: var(--grg); border: 1px solid rgba(16,185,129,.22);
  padding: .25rem .6rem; border-radius: 99px; white-space: nowrap; flex-shrink: 0;
}

.sd-services { padding: .5rem 0; flex: 1; }
.sd-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: .62rem 1.25rem; transition: background var(--tr);
}
.sd-row:hover { background: rgba(255,255,255,.02); }
.sd-row-left  { display: flex; align-items: center; gap: .6rem; }
.sd-name      { font-size: .84rem; color: var(--t2); }
.sd-status    { font-size: .76rem; font-weight: 600; }
.sd-status.ok { color: var(--gr); }

.uptime-chart { padding: 1rem 1.25rem; border-top: 1px solid var(--b); }
.uc-label { display: flex; justify-content: space-between; font-size: .73rem; color: var(--t3); margin-bottom: .5rem; }
.uc-pct   { color: var(--gr); font-weight: 700; }
.uc-bar   { height: 6px; background: rgba(255,255,255,.06); border-radius: 99px; overflow: hidden; margin-bottom: .45rem; }
.uc-fill  { height: 100%; width: 99.4%; background: linear-gradient(90deg, var(--gr), #34d399); border-radius: 99px; }
.uc-days  { display: flex; justify-content: space-between; font-size: .68rem; color: var(--t3); }

/* Changelog card */
.changelog-card {
  background: var(--bg-c); border: 1px solid var(--b); border-radius: var(--rl);
  overflow: hidden; display: flex; flex-direction: column;
}
.cl-card-title { font-size: .82rem; font-weight: 700; color: var(--t1); padding: 1rem 1.25rem; border-bottom: 1px solid var(--b); flex-shrink: 0; }
.cl-entries    { display: flex; flex-direction: column; flex: 1; }

.cl-entry { padding: 1rem 1.25rem; border-bottom: 1px solid var(--b); }
.cl-entry:last-child { border-bottom: none; }
.cl-e-head  { display: flex; align-items: center; gap: .5rem; margin-bottom: .55rem; flex-wrap: wrap; }
.cl-ver     { font-family: var(--m); font-weight: 600; color: var(--ac3); font-size: .82rem; }
.cl-badge   { padding: .12rem .45rem; border-radius: 99px; font-size: .67rem; font-weight: 700; }
.cl-badge.new { background: rgba(16,185,129,.12); color: var(--gr); }
.cl-badge.fix { background: rgba(248,113,113,.1); color: var(--re); }
.cl-badge.upd { background: rgba(245,158,11,.1); color: var(--ye); }
.cl-date    { font-size: .74rem; color: var(--t3); margin-left: auto; }
.cl-items   { list-style: none; display: flex; flex-direction: column; gap: .28rem; }
.cl-items li { font-size: .82rem; color: var(--t2); padding-left: .9rem; position: relative; }
.cl-items li::before { content: '›'; position: absolute; left: 0; color: var(--ac); font-weight: 700; }

/* ══════════════════════════════════════
   HERO CHANGELOG CARD (redesigned)
══════════════════════════════════════ */
.cl-hero-card {
  background: var(--bg-c); border: 1px solid var(--b); border-radius: var(--r);
  overflow: hidden;
}
.clh-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 1rem; border-bottom: 1px solid var(--b);
  font-size: .75rem; font-weight: 700; color: var(--t2);
  background: rgba(255,255,255,.02);
}
.clh-left { display: flex; align-items: center; gap: .4rem; }
.clh-left svg { color: var(--t3); flex-shrink: 0; }
.clh-more { font-size: .72rem; color: var(--t3); text-decoration: none; transition: color var(--tr); }
.clh-more:hover { color: var(--ac3); }

.clh-list { display: flex; flex-direction: column; }
.clh-row {
  display: grid; grid-template-columns: auto 1fr;
  align-items: center; gap: .75rem;
  padding: .72rem 1rem; border-bottom: 1px solid var(--b);
  transition: background var(--tr);
}
.clh-row:last-child { border-bottom: none; }
.clh-row:hover { background: rgba(255,255,255,.025); }

.clh-row-left  { display: flex; align-items: center; gap: .45rem; flex-shrink: 0; }
.clh-row-right { display: flex; flex-direction: column; gap: .12rem; min-width: 0; }

.clh-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  animation: dot-pulse 2.5s ease-in-out infinite;
}
.new-dot { background: var(--gr); box-shadow: 0 0 5px var(--gr); }
.fix-dot { background: var(--re); box-shadow: 0 0 5px var(--re); animation-delay: .8s; }

.clh-ver   { font-family: var(--m); font-size: .75rem; font-weight: 600; color: var(--ac3); white-space: nowrap; }
.clh-badge { font-size: .62rem; font-weight: 700; padding: .1rem .38rem; border-radius: 4px; }
.clh-badge.new { background: rgba(16,185,129,.12); color: var(--gr); }
.clh-badge.fix { background: rgba(248,113,113,.1); color: var(--re); }
.clh-msg  { font-size: .79rem; color: var(--t2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clh-date { font-size: .68rem; color: var(--t3); }

/* ══════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════ */
.hiw-section { background: var(--bg); }

.hiw-track {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0; align-items: start;
  margin-bottom: 2.5rem;
}

.hiw-step {
  background: var(--bg-c); border: 1px solid var(--b); border-radius: var(--rl);
  padding: 1.8rem 1.5rem; display: flex; flex-direction: column; gap: .85rem;
  transition: border-color var(--tr), box-shadow var(--tr);
  height: 100%;
}
.hiw-step:hover { border-color: var(--bh); box-shadow: 0 8px 32px rgba(124,58,237,.1); }

.hiw-num {
  font-size: .65rem; font-weight: 800; letter-spacing: .12em;
  color: var(--ac); opacity: .7; font-family: var(--m);
}
.hiw-icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(217,70,239,.15), rgba(124,58,237,.15));
  border: 1px solid rgba(217,70,239,.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--ac3);
}
.hiw-step h3 { font-size: 1.05rem; font-weight: 700; color: var(--t1); }
.hiw-step p  { font-size: .84rem; color: var(--t3); line-height: 1.7; flex: 1; }

.hiw-chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.hiw-chips span {
  background: rgba(255,255,255,.05); border: 1px solid var(--b);
  color: var(--t2); padding: .22rem .6rem; border-radius: 6px;
  font-size: .75rem; font-weight: 500;
}

.hiw-stat-row { display: flex; gap: 1.1rem; }
.hiw-stat { display: flex; flex-direction: column; gap: .05rem; }
.hiw-stat strong { font-size: 1rem; font-weight: 800; color: var(--ac3); letter-spacing: -.02em; }
.hiw-stat span   { font-size: .7rem; color: var(--t3); }

.hiw-code-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--bg-c2); border: 1px solid var(--b);
  border-radius: 8px; padding: .45rem .75rem;
  max-width: 100%; overflow: hidden;
}
.hcp-dot  { width: 6px; height: 6px; border-radius: 50%; background: var(--gr); box-shadow: 0 0 6px var(--gr); animation: dot-pulse 2s infinite; flex-shrink: 0; }
.hiw-code-pill code { font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: none; padding: 0; color: var(--t2); }

.hiw-connector {
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: .25rem; padding: 0 .5rem;
  color: var(--t3); margin-top: 5.5rem; opacity: .5;
}
.hiw-line { width: 1px; height: 32px; background: var(--b); }

.hiw-cta { display: flex; align-items: center; justify-content: center; gap: .75rem; flex-wrap: wrap; }


.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-visual { }
.about-img    { width: 100%; height: auto; display: block; border-radius: var(--rl); border: 1px solid var(--b); }

/* ══════════════════════════════════════
   FEATURES
══════════════════════════════════════ */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--b); border-radius: var(--rl); overflow: hidden; }
.feat-card {
  background: var(--bg-c); padding: 1.4rem 1.25rem;
  display: flex; flex-direction: column; gap: .5rem;
  transition: background var(--tr);
}
.feat-card:hover { background: var(--bg-c2); }
.fi { font-size: 1.5rem; }
.feat-card h3 { font-size: .88rem; font-weight: 700; color: var(--t1); }
.feat-card p  { font-size: .8rem; color: var(--t3); line-height: 1.6; }

/* ══════════════════════════════════════
   DOWNLOAD
══════════════════════════════════════ */
.smart-box {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: linear-gradient(135deg, rgba(217,70,239,.07), rgba(124,58,237,.07));
  border: 1px solid rgba(217,70,239,.22); border-radius: var(--rl);
  padding: 1.1rem 1.4rem; margin-bottom: 1.5rem; flex-wrap: wrap;
}
.smart-left  { display: flex; align-items: center; gap: .85rem; }
.smart-icon  { font-size: 1.8rem; }
.smart-name  { font-size: .95rem; font-weight: 700; color: var(--t1); }
.smart-sub   { font-size: .78rem; color: var(--t3); margin-top: .15rem; }

/* Tabs */
.ptabs { display: flex; gap: 3px; margin-bottom: 0; background: var(--bg-c); border: 1px solid var(--b); border-radius: var(--r); padding: 3px; width: fit-content; }
.ptab {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem 1rem; background: transparent;
  border: none; border-radius: 9px;
  font-family: var(--f); font-size: .82rem; font-weight: 600; color: var(--t3);
  cursor: pointer; transition: all var(--tr); white-space: nowrap;
}
.ptab:hover { color: var(--t2); }
.ptab.active { background: rgba(217,70,239,.16); color: var(--ac3); }

/* Panels */
.ppanel { display: none; }
.ppanel.active { display: block; }
.pp-wrap {
  background: var(--bg-c); border: 1px solid var(--b);
  border-radius: 0 var(--rl) var(--rl) var(--rl); padding: 1.5rem;
  display: flex; flex-direction: column; gap: 1.25rem;
}

.pp-req {}
.req-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.rc {
  background: rgba(160,90,255,.07); border: 1px solid rgba(160,90,255,.16);
  color: var(--ac3); padding: .28rem .75rem; border-radius: 99px;
  font-size: .75rem; font-weight: 600;
}

.install-ol { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.install-ol li { display: grid; grid-template-columns: 30px 1fr; gap: .65rem; align-items: start; }
.sn {
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 7px; flex-shrink: 0; margin-top: .15rem;
  background: linear-gradient(135deg, var(--ac), var(--vio));
  font-size: .72rem; font-weight: 800; color: #fff;
}
.install-ol li div { font-size: .86rem; color: var(--t2); line-height: 1.65; }
.install-ol strong { color: var(--t1); }

.pp-img { width: 100%; height: auto; display: block; border-radius: var(--r); border: 1px solid var(--b); }
.pp-btn { width: fit-content; }

/* ══════════════════════════════════════
   IMAGE PLACEHOLDER
══════════════════════════════════════ */
.img-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7rem;
  padding: 2.5rem 1.5rem; border: 1.5px dashed var(--b); border-radius: var(--r);
  background: rgba(255,255,255,.015); font-size: .78rem; color: var(--t3); text-align: center;
}
.pp-img-ph { min-height: 120px; padding: 1.5rem; }

/* ══════════════════════════════════════
   SCRIPTS
══════════════════════════════════════ */
.games-wrap { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.gp {
  background: rgba(160,90,255,.06); border: 1px solid rgba(160,90,255,.15);
  color: var(--ac3); padding: .32rem .8rem; border-radius: 99px;
  font-size: .8rem; font-weight: 600; cursor: default;
  transition: background var(--tr), transform var(--tr);
}
.gp:hover { background: rgba(160,90,255,.14); transform: translateY(-1px); }
.scripts-note {
  font-size: .82rem; color: var(--t3); line-height: 1.7;
  padding: .7rem 1rem; border-left: 2px solid var(--ac2);
  background: rgba(217,70,239,.04); border-radius: 0 8px 8px 0;
}
.scripts-note a { color: var(--ac3); }

/* ══════════════════════════════════════
   COMPARE TABLE
══════════════════════════════════════ */
.table-wrap { overflow-x: auto; border: 1px solid var(--b); border-radius: var(--rl); -webkit-overflow-scrolling: touch; }
.cmp-table  { width: 100%; border-collapse: collapse; min-width: 520px; }
.cmp-table th {
  background: rgba(160,90,255,.08); color: var(--ac3);
  font-size: .75rem; font-weight: 700; text-align: left;
  padding: .8rem 1.1rem; letter-spacing: .04em; text-transform: uppercase;
}
.cmp-table td { padding: .7rem 1.1rem; font-size: .85rem; color: var(--t2); border-top: 1px solid var(--b); }
.cmp-table tr:hover td { background: rgba(160,90,255,.03); }
.cmp-table td:first-child { color: var(--t1); font-weight: 600; }
.bc { background: rgba(217,70,239,.05) !important; }
.chk { color: var(--gr); font-weight: 700; }
.crs { color: var(--re); }
.neu { color: var(--ye); }

/* ══════════════════════════════════════
   FAQ
══════════════════════════════════════ */
.faq-stack { margin-top: 1.75rem; border: 1px solid var(--b); border-radius: var(--rl); overflow: hidden; }
.faq-item  { background: var(--bg-c); border-bottom: 1px solid var(--b); }
.faq-item:last-child { border-bottom: none; }
.faq-item[open] { background: var(--bg-c2); }

.faq-item summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: .95rem 1.2rem; cursor: pointer; user-select: none; list-style: none;
  font-weight: 600; font-size: .9rem; color: var(--t1); gap: 1rem;
  transition: color var(--tr);
}
.faq-item summary::-webkit-details-marker { display: none; }
.fq-icon { flex-shrink: 0; width: 16px; height: 16px; color: var(--ac); transition: transform var(--tr); }
.fq-icon svg { width: 100%; height: 100%; }
.faq-item[open] .fq-icon { transform: rotate(180deg); }
.faq-body {
  padding: .7rem 1.2rem 1rem; font-size: .86rem; color: var(--t2);
  line-height: 1.75; border-top: 1px solid var(--b);
}
.faq-body a { color: var(--ac3); }

/* ══════════════════════════════════════
   FINAL CTA
══════════════════════════════════════ */
.sec-cta { padding: 6rem 1.5rem; position: relative; overflow: hidden; text-align: center; }
.cta-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 700px; height: 350px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(217,70,239,.13) 0%, transparent 65%);
  pointer-events: none;
}
.cta-body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.cta-bunny { font-size: 3.2rem; animation: float 3.5s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.cta-h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 800; letter-spacing: -.04em;
  background: linear-gradient(135deg, #fff 0%, var(--ac3) 70%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.cta-p { color: var(--t2); font-size: .95rem; line-height: 1.7; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer { border-top: 1px solid var(--b); padding: 2.5rem 1.5rem; background: var(--bg-s); }
.footer-inner {
  display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center;
}
.footer-logo {
  display: flex; align-items: center; gap: .4rem;
  font-size: 1.1rem; font-weight: 700; letter-spacing: -.02em; color: var(--t1);
  justify-content: center;
}
.footer-tag  { font-size: .8rem; color: var(--t3); }
.footer-nav  { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem 1.1rem; }
.footer-nav a { color: var(--t3); font-size: .8rem; text-decoration: none; transition: color var(--tr); }
.footer-nav a:hover { color: var(--ac3); }
.footer-legal { font-size: .73rem; color: var(--t3); line-height: 1.75; max-width: 500px; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 920px) {
  .hero-layout   { grid-template-columns: 1fr; }
  .hero-right    { order: -1; max-width: 520px; margin: 0 auto; width: 100%; }
  .two-col       { grid-template-columns: 1fr; gap: 2rem; }
  .status-grid   { grid-template-columns: 1fr; }
  .feat-grid     { grid-template-columns: repeat(2, 1fr); }
  .hiw-track     { grid-template-columns: 1fr; gap: .75rem; }
  .hiw-connector { display: none; }
  .hiw-step      { height: auto; }

  .nav-links { display: none; position: absolute; top: 58px; left: 0; right: 0; background: rgba(7,7,15,.97); border-bottom: 1px solid var(--b); padding: 1.2rem 1.5rem; flex-direction: column; gap: .85rem; z-index: 150; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }

  .sb-services { display: none; }
}

@media (max-width: 640px) {
  .hero { padding: 110px 1rem 4rem; }
  .section { padding: 3rem 1rem; }
  .hero-h1 { font-size: 1.45rem; }
  .hero-right { display: none; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions, .cta-actions { flex-direction: column; width: 100%; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .hero-stats { gap: .9rem; }
  .hstat-div { display: none; }
  .ptabs { width: 100%; }
  .ptab { flex: 1; justify-content: center; padding: .5rem .5rem; font-size: .78rem; }
  .ptab svg { display: none; }
  .pp-wrap { padding: 1.1rem 1rem; }
  .smart-box { flex-direction: column; align-items: stretch; }
  .smart-box .btn-primary { width: 100%; justify-content: center; }
  .bc-right { display: none; }
  .sb-right { display: none; }
  .status-banner .status-inner { padding-top: .65rem; padding-bottom: .65rem; }
  .editor-win { overflow: hidden; }
  .code-pre { font-size: .72rem; }
  .hiw-section .sec-sub { max-width: 100%; }
  .clh-msg { font-size: .76rem; }
}

@media (max-width: 480px) {
  .feat-grid { grid-template-columns: 1fr; border: none; gap: .5rem; }
  .feat-card { border: 1px solid var(--b); border-radius: var(--r); }
  .share-row { gap: .35rem; }
  .games-wrap { gap: .35rem; }
  .gp { font-size: .75rem; padding: .26rem .65rem; }
}
