/* ================================================================
   MetaWrite — getmetawrite.com
   Dark forensic glassmorphic theme · © 2026 ProfWorkBench, LLC
   ================================================================ */

:root {
  --bg: #05070d;
  --bg-2: #0a0e17;
  --bg-3: #0e1420;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(120, 220, 255, 0.14);
  --line-soft: rgba(255, 255, 255, 0.08);
  --cyan: #00e5ff;
  --cyan-dim: #16b8cf;
  --teal: #0e8f8f;
  --green: #34e58a;
  --amber: #ffb454;
  --red: #ff5c72;
  --txt: #eef4f8;
  --txt-2: #9fb2c2;
  --txt-3: #64788a;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --rad: 16px;
  --rad-sm: 10px;
  --shadow-glow: 0 0 60px rgba(0, 229, 255, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--txt);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(0, 229, 255, 0.25); }

img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: none; }

/* ---------- background field ---------- */
.bg-field {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(0, 140, 190, 0.18), transparent 60%),
    radial-gradient(700px 500px at 10% 20%, rgba(14, 143, 143, 0.12), transparent 60%),
    radial-gradient(800px 700px at 50% 110%, rgba(0, 90, 140, 0.14), transparent 60%),
    var(--bg);
}
.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(120, 220, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 220, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 75%);
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- typography ---------- */
h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
.kicker {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--cyan);
  display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before {
  content: ""; width: 26px; height: 1px; background: var(--cyan); opacity: 0.7;
}
.sec-title { font-size: clamp(30px, 4.2vw, 46px); margin: 14px 0 16px; }
.sec-sub { color: var(--txt-2); font-size: 18.5px; max-width: 640px; }
.accent { color: var(--cyan); }
.mono { font-family: var(--mono); }

section { padding: 104px 0; position: relative; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  background: rgba(5, 7, 13, 0.72);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--txt); }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand-name { font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand-name span { color: var(--cyan); }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { color: var(--txt-2); font-size: 15px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--txt); }
.nav-cta-mini { display: flex; align-items: center; gap: 14px; }

/* language selector */
.lang-wrap { position: relative; display: flex; align-items: center; }
.lang-wrap svg {
  position: absolute; left: 9px; width: 15px; height: 15px; stroke: var(--txt-3);
  pointer-events: none;
}
.lang-sel {
  appearance: none; -webkit-appearance: none;
  background: var(--panel-2); color: var(--txt-2);
  border: 1px solid var(--line-soft); border-radius: 9px;
  font-family: var(--sans); font-size: 13.5px; font-weight: 500;
  padding: 7px 26px 7px 30px; cursor: pointer; transition: border-color 0.2s, color 0.2s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364788a' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center; background-size: 13px;
}
.lang-sel:hover { border-color: rgba(0, 229, 255, 0.4); color: var(--txt); }
.lang-sel:focus { outline: none; border-color: var(--cyan); }
.lang-sel option { background: var(--bg-2); color: var(--txt); }

/* ---------- RTL ---------- */
[dir="rtl"] .lang-wrap svg { left: auto; right: 9px; }
[dir="rtl"] .lang-sel { padding: 7px 30px 7px 26px; background-position: left 8px center; }
[dir="rtl"] .kicker::before { margin-left: 0; }
[dir="rtl"] .status-pill,
[dir="rtl"] .hero-ctas,
[dir="rtl"] .trust-inner span,
[dir="rtl"] .checklist li,
[dir="rtl"] .price-feats li,
[dir="rtl"] .lab-actions { direction: rtl; }
[dir="rtl"] .float-chip { direction: ltr; }
[dir="rtl"] .rw-row,
[dir="rtl"] .hash-row,
[dir="rtl"] .tag-table,
[dir="rtl"] .rw-title,
[dir="rtl"] .hash-val,
[dir="rtl"] .map-coords,
[dir="rtl"] .price-amount,
[dir="rtl"] .mono { direction: ltr; }
[dir="rtl"] .tag-table th,
[dir="rtl"] .tag-table td { text-align: right; }
[dir="rtl"] .tag-val, [dir="rtl"] .hash-val { text-align: left; }
[dir="rtl"] .risk-meter { margin-left: 0; margin-right: auto; }
[dir="rtl"] .lab-hint { margin-left: 0; margin-right: auto; }
[dir="rtl"] .sample-flag { margin-left: 0; margin-right: auto; }
[dir="rtl"] .sec-sub[style*="margin:0 auto"] { text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 12px; font-weight: 600; font-size: 16px;
  font-family: var(--sans); cursor: pointer; border: none; transition: all 0.22s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #00e5ff, #00a3c4);
  color: #03131a;
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.35), inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(0, 229, 255, 0.55), inset 0 1px 0 rgba(255,255,255,0.35); }
.btn-ghost {
  background: var(--panel-2); color: var(--txt);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: rgba(0, 229, 255, 0.5); background: rgba(0, 229, 255, 0.08); }
.btn-sm { padding: 9px 18px; font-size: 14.5px; border-radius: 10px; }
.btn-lg { padding: 16px 34px; font-size: 17.5px; }

/* ---------- hero ---------- */
.hero { padding: 172px 0 90px; text-align: center; }
.status-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 229, 255, 0.06);
  font-family: var(--mono); font-size: 13px; color: var(--cyan);
  margin-bottom: 28px;
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.status-pill .sep { color: var(--txt-3); }
.status-pill .sub { color: var(--txt-2); }

.hero h1 {
  font-size: clamp(40px, 6.4vw, 76px);
  max-width: 950px; margin: 0 auto 22px;
}
.hero h1 .grad {
  background: linear-gradient(100deg, #00e5ff 10%, #6ef3d6 50%, #00e5ff 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  color: var(--txt-2); font-size: clamp(17px, 2vw, 21px);
  max-width: 720px; margin: 0 auto 38px;
}
.hero-sub strong { color: var(--txt); font-weight: 600; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.hero-note { font-family: var(--mono); font-size: 12.5px; color: var(--txt-3); }

.hero-shot {
  margin: 64px auto 0; max-width: 980px; position: relative;
}
.hero-shot::before {
  content: ""; position: absolute; inset: -8% -12%;
  background: radial-gradient(ellipse 60% 55% at 50% 45%, rgba(0, 229, 255, 0.15), transparent 70%);
  z-index: -1;
}
.hero-shot img {
  border-radius: 18px; border: 1px solid var(--line);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), var(--shadow-glow);
}
.float-chip {
  position: absolute; padding: 9px 15px; border-radius: 10px;
  background: rgba(10, 16, 26, 0.88); border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  font-family: var(--mono); font-size: 12.5px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
  animation: floaty 5.5s ease-in-out infinite;
  display: flex; gap: 8px; align-items: center;
}
.float-chip b { font-weight: 600; }
.chip-1 { top: 30%; left: -4%; animation-delay: 0s; }
.chip-2 { top: 38%; right: -5%; animation-delay: 1.4s; }
.chip-3 { bottom: 10%; left: -2%; animation-delay: 2.6s; }
.c-red { color: var(--red); } .c-green { color: var(--green); } .c-amber { color: var(--amber); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- trust strip ---------- */
.trust { padding: 34px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.trust-inner {
  display: flex; justify-content: center; gap: 20px clamp(20px, 4vw, 60px); flex-wrap: wrap;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--txt-3);
}
.trust-inner span { display: flex; align-items: center; gap: 9px; }
.trust-inner svg { width: 15px; height: 15px; stroke: var(--cyan-dim); }

/* ---------- feature grid ---------- */
.grid { display: grid; gap: 20px; margin-top: 54px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: var(--rad); padding: 30px 28px;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
  position: relative; overflow: hidden;
}
.card:hover { border-color: rgba(0, 229, 255, 0.35); transform: translateY(-4px); background: var(--panel-2); }
.card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,0.5), transparent);
  opacity: 0; transition: opacity 0.25s;
}
.card:hover::after { opacity: 1; }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 229, 255, 0.09); border: 1px solid var(--line);
}
.card-icon svg { width: 22px; height: 22px; stroke: var(--cyan); }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--txt-2); font-size: 15.5px; }
.card .tagline { font-family: var(--mono); font-size: 11.5px; color: var(--cyan-dim); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; }

/* ---------- rewrite section (edit emphasis) ---------- */
.rewrite { background: linear-gradient(180deg, transparent, rgba(0, 140, 190, 0.05), transparent); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-top: 10px; }
.split .copy .sec-title { max-width: 480px; }
.checklist { list-style: none; margin-top: 30px; display: flex; flex-direction: column; gap: 16px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; color: var(--txt-2); font-size: 16.5px; }
.checklist li b { color: var(--txt); font-weight: 600; }
.check-ic {
  flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 7px;
  background: rgba(0, 229, 255, 0.1); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.check-ic svg { width: 12px; height: 12px; stroke: var(--cyan); }

/* before/after console */
.rw-console {
  background: rgba(8, 12, 20, 0.85); border: 1px solid var(--line);
  border-radius: var(--rad); overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.55), var(--shadow-glow);
  font-family: var(--mono); font-size: 13.5px;
}
.rw-head {
  display: flex; align-items: center; gap: 8px; padding: 13px 18px;
  border-bottom: 1px solid var(--line-soft); background: rgba(255,255,255,0.03);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #ff5f57; } .dot-y { background: #febc2e; } .dot-g { background: #28c840; }
.rw-title { margin-left: 10px; color: var(--txt-3); font-size: 12px; }
.rw-body { padding: 20px 22px 24px; }
.rw-row {
  display: grid; grid-template-columns: 150px 1fr; gap: 14px;
  padding: 9px 10px; border-radius: 8px; align-items: center;
}
.rw-row:nth-child(odd) { background: rgba(255,255,255,0.025); }
.rw-key { color: var(--txt-3); font-size: 12.5px; }
.rw-val { position: relative; min-height: 20px; overflow: hidden; }
.rw-val .old, .rw-val .new { display: block; transition: opacity 0.5s, transform 0.5s; }
.rw-val .old { color: var(--red); }
.rw-val .new { color: var(--green); position: absolute; top: 0; left: 0; }
.rw-console[data-state="before"] .new { opacity: 0; transform: translateY(10px); }
.rw-console[data-state="before"] .old { opacity: 1; transform: translateY(0); }
.rw-console[data-state="after"] .old { opacity: 0; transform: translateY(-10px); position: absolute; }
.rw-console[data-state="after"] .new { opacity: 1; transform: translateY(0); position: static; }
.rw-toggle {
  margin: 20px 10px 0; display: flex; gap: 8px; background: rgba(255,255,255,0.05);
  border: 1px solid var(--line-soft); padding: 5px; border-radius: 10px; width: max-content;
}
.rw-toggle button {
  font-family: var(--mono); font-size: 12.5px; padding: 7px 18px; border-radius: 7px;
  border: none; cursor: pointer; background: transparent; color: var(--txt-3); transition: all 0.2s;
}
.rw-toggle button.on { background: rgba(0, 229, 255, 0.16); color: var(--cyan); }
.rw-stamp {
  margin-top: 18px; padding: 10px 14px; border-radius: 9px; font-size: 12px;
  border: 1px dashed rgba(52, 229, 138, 0.4); color: var(--green);
  display: none; align-items: center; gap: 9px;
}
.rw-console[data-state="after"] .rw-stamp { display: flex; }

/* ---------- evidence lab (simulator) ---------- */
.lab { }
.lab-shell {
  margin-top: 52px; border-radius: 20px; border: 1px solid var(--line);
  background: rgba(8, 12, 20, 0.8); backdrop-filter: blur(14px);
  box-shadow: 0 40px 100px rgba(0,0,0,0.55), var(--shadow-glow);
  overflow: hidden;
}
.lab-titlebar {
  display: flex; align-items: center; gap: 8px; padding: 14px 20px;
  border-bottom: 1px solid var(--line-soft); background: rgba(255,255,255,0.03);
}
.lab-titlebar .rw-title { font-family: var(--mono); }
.lab-badge {
  margin-left: auto; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  color: var(--green); border: 1px solid rgba(52, 229, 138, 0.35);
  padding: 4px 11px; border-radius: 999px; display: flex; align-items: center; gap: 7px;
}
.lab-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }

.lab-grid { display: grid; grid-template-columns: 320px 1fr; min-height: 560px; }

/* left rail */
.lab-rail { border-right: 1px solid var(--line-soft); padding: 22px; display: flex; flex-direction: column; gap: 18px; }
.rail-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--txt-3); }
.drop-zone {
  border: 1.5px dashed rgba(0, 229, 255, 0.35); border-radius: 14px;
  padding: 26px 18px; text-align: center; cursor: pointer; transition: all 0.22s;
  background: rgba(0, 229, 255, 0.03);
}
.drop-zone:hover, .drop-zone.over { border-color: var(--cyan); background: rgba(0, 229, 255, 0.08); }
.drop-zone svg { width: 30px; height: 30px; stroke: var(--cyan); margin: 0 auto 10px; }
.drop-zone p { font-size: 14px; color: var(--txt-2); }
.drop-zone p b { color: var(--txt); }
.drop-zone .fine { font-family: var(--mono); font-size: 10.5px; color: var(--txt-3); margin-top: 8px; }
.drop-zone .fine .lock { color: var(--green); }

.sample-list { display: flex; flex-direction: column; gap: 9px; }
.sample {
  display: flex; align-items: center; gap: 13px; padding: 11px 13px;
  border-radius: 11px; border: 1px solid transparent; cursor: pointer;
  transition: all 0.18s; background: rgba(255,255,255,0.025);
}
.sample:hover { background: rgba(255,255,255,0.055); }
.sample.active { border-color: rgba(0, 229, 255, 0.45); background: rgba(0, 229, 255, 0.07); }
.sample-thumb {
  width: 42px; height: 42px; border-radius: 9px; flex: none;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  border: 1px solid var(--line-soft);
}
.sample-name { font-family: var(--mono); font-size: 12.5px; color: var(--txt); }
.sample-meta { font-family: var(--mono); font-size: 10.5px; color: var(--txt-3); margin-top: 2px; }
.sample-flag { margin-left: auto; font-size: 10px; font-family: var(--mono); padding: 3px 8px; border-radius: 6px; }
.flag-hot { color: var(--red); border: 1px solid rgba(255, 92, 114, 0.4); }
.flag-ok { color: var(--green); border: 1px solid rgba(52, 229, 138, 0.4); }

/* right inspector */
.lab-main { padding: 24px 28px; display: flex; flex-direction: column; min-width: 0; }
.lab-file-head { display: flex; align-items: center; gap: 15px; margin-bottom: 6px; flex-wrap: wrap; }
.lab-file-head .fname { font-family: var(--mono); font-size: 16px; font-weight: 600; }
.risk-meter { display: flex; align-items: center; gap: 9px; margin-left: auto; }
.risk-meter .bar { width: 110px; height: 6px; border-radius: 4px; background: rgba(255,255,255,0.08); overflow: hidden; }
.risk-meter .fill { height: 100%; border-radius: 4px; transition: width 0.7s ease, background 0.4s; }
.risk-meter .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; }

.lab-tabs { display: flex; gap: 4px; margin: 16px 0 0; border-bottom: 1px solid var(--line-soft); }
.lab-tab {
  font-family: var(--mono); font-size: 12.5px; padding: 10px 18px; cursor: pointer;
  background: none; border: none; color: var(--txt-3); border-bottom: 2px solid transparent;
  transition: all 0.2s; letter-spacing: 0.05em;
}
.lab-tab.on { color: var(--cyan); border-bottom-color: var(--cyan); }
.lab-tab:hover:not(.on) { color: var(--txt-2); }
.lab-panel { flex: 1; overflow: auto; padding-top: 16px; min-height: 300px; max-height: 380px; }

.tag-table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 12.8px; }
.tag-table th {
  text-align: left; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--txt-3); padding: 8px 12px; border-bottom: 1px solid var(--line-soft);
  position: sticky; top: 0; background: rgba(10, 15, 24, 0.95); font-weight: 500;
}
.tag-table td { padding: 8px 12px; border-bottom: 1px solid rgba(255,255,255,0.04); vertical-align: top; }
.tag-table tr.editable { cursor: pointer; }
.tag-table tr.editable:hover td { background: rgba(0, 229, 255, 0.05); }
.tag-cat { color: var(--txt-3); font-size: 10.5px; }
.tag-key { color: var(--txt-2); white-space: nowrap; }
.tag-val { color: var(--txt); word-break: break-all; }
.tag-val.danger { color: var(--red); }
.tag-val.warn { color: var(--amber); }
td.tag-edit { text-align: right; white-space: nowrap; }
.edit-pencil {
  opacity: 0; font-size: 11px; color: var(--cyan); transition: opacity 0.15s;
  display: inline-flex; align-items: center; gap: 5px;
}
tr:hover .edit-pencil { opacity: 1; }

.hash-block { display: flex; flex-direction: column; gap: 12px; }
.hash-row {
  display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center;
  padding: 13px 16px; background: rgba(255,255,255,0.03); border: 1px solid var(--line-soft);
  border-radius: 11px; font-family: var(--mono);
}
.hash-algo { color: var(--cyan); font-size: 13px; font-weight: 600; }
.hash-val { font-size: 11.5px; color: var(--txt-2); word-break: break-all; }

/* offline map */
.map-box {
  position: relative; height: 300px; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line); background: #081018;
}
.map-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.07) 1px, transparent 1px);
  background-size: 34px 34px;
}
.map-pin {
  position: absolute; top: 46%; left: 52%; transform: translate(-50%, -100%);
  filter: drop-shadow(0 0 12px rgba(255, 92, 114, 0.8));
}
.map-pin-ring {
  position: absolute; top: 46%; left: 52%; width: 60px; height: 60px;
  border: 1.5px solid rgba(255, 92, 114, 0.6); border-radius: 50%;
  transform: translate(-50%, -50%); animation: ring 2.4s ease-out infinite;
}
@keyframes ring { 0% { transform: translate(-50%,-50%) scale(0.3); opacity: 1; } 100% { transform: translate(-50%,-50%) scale(1.6); opacity: 0; } }
.map-coords {
  position: absolute; bottom: 14px; left: 14px; font-family: var(--mono); font-size: 12px;
  background: rgba(5, 8, 14, 0.85); padding: 8px 13px; border-radius: 8px;
  border: 1px solid var(--line); color: var(--red);
}
.map-mode {
  position: absolute; top: 14px; right: 14px; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.12em; color: var(--cyan); background: rgba(5, 8, 14, 0.85);
  padding: 6px 11px; border-radius: 7px; border: 1px solid var(--line);
}
.map-empty {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px;
  align-items: center; justify-content: center; color: var(--txt-3); font-family: var(--mono); font-size: 13px;
}
.map-empty svg { width: 34px; height: 34px; stroke: var(--green); }

/* action bar */
.lab-actions {
  display: flex; gap: 12px; padding-top: 20px; margin-top: 6px;
  border-top: 1px solid var(--line-soft); flex-wrap: wrap; align-items: center;
}
.lab-actions .btn { position: relative; }
.btn-locked::after {
  content: "PRO"; position: absolute; top: -9px; right: -8px;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em;
  background: linear-gradient(135deg, #00e5ff, #0e8f8f); color: #03131a;
  padding: 2.5px 7px; border-radius: 6px; font-weight: 700;
}
.lab-hint { font-family: var(--mono); font-size: 11.5px; color: var(--txt-3); margin-left: auto; }

/* upsell modal */
.modal-veil {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(3, 5, 9, 0.78); backdrop-filter: blur(10px);
}
.modal-veil.show { display: flex; animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  width: 100%; max-width: 480px; border-radius: 20px; padding: 38px 36px;
  background: linear-gradient(160deg, #0c1320, #080d16);
  border: 1px solid rgba(0, 229, 255, 0.3);
  box-shadow: 0 40px 120px rgba(0,0,0,0.7), 0 0 80px rgba(0, 229, 255, 0.12);
  text-align: center; position: relative;
  animation: popIn 0.3s cubic-bezier(0.2, 1.4, 0.4, 1);
}
@keyframes popIn { from { transform: scale(0.92) translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close {
  position: absolute; top: 14px; right: 16px; background: none; border: none;
  color: var(--txt-3); font-size: 22px; cursor: pointer; line-height: 1;
}
.modal-close:hover { color: var(--txt); }
.modal-lock {
  width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 18px;
  background: rgba(0, 229, 255, 0.09); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.modal-lock svg { width: 30px; height: 30px; stroke: var(--cyan); }
.modal h3 { font-size: 24px; margin-bottom: 12px; }
.modal p { color: var(--txt-2); font-size: 15.5px; margin-bottom: 26px; }
.modal p b { color: var(--txt); }
.modal .btn { width: 100%; }
.modal .modal-sub { margin-top: 14px; font-family: var(--mono); font-size: 11.5px; color: var(--txt-3); }

/* ---------- privacy ---------- */
.privacy-band {
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(700px 340px at 50% 0%, rgba(14, 143, 143, 0.09), transparent 70%);
}
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 54px; }
.stat {
  text-align: center; padding: 30px 18px; border-radius: var(--rad);
  border: 1px solid var(--line-soft); background: var(--panel);
}
.stat .num { font-size: 42px; font-weight: 700; color: var(--cyan); font-family: var(--mono); letter-spacing: -0.03em; }
.stat .lbl { color: var(--txt-2); font-size: 14px; margin-top: 6px; }

/* ---------- certificate ---------- */
.cert-shot {
  position: relative; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,0.55), var(--shadow-glow);
  max-height: 520px;
}
.cert-shot img { width: 100%; object-fit: cover; object-position: top; }
.cert-shot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 7, 13, 0.9));
}
.cert-seal {
  position: absolute; bottom: 22px; right: 24px; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; color: var(--green);
  background: rgba(5, 8, 14, 0.9); border: 1px solid rgba(52, 229, 138, 0.4);
  padding: 10px 16px; border-radius: 10px;
}
.cert-seal svg { width: 16px; height: 16px; stroke: var(--green); }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; align-items: stretch; }
.price-card {
  border-radius: 20px; padding: 36px 32px; border: 1px solid var(--line-soft);
  background: var(--panel); display: flex; flex-direction: column; position: relative;
  transition: transform 0.25s, border-color 0.25s;
  text-align: left;
}
.price-card:hover { transform: translateY(-5px); }
.price-card.hot {
  border-color: rgba(0, 229, 255, 0.5);
  background: linear-gradient(170deg, rgba(0, 229, 255, 0.07), rgba(255,255,255,0.02));
  box-shadow: 0 0 60px rgba(0, 229, 255, 0.1);
}
.hot-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em;
  background: linear-gradient(135deg, #00e5ff, #0e8f8f); color: #03131a;
  padding: 5px 16px; border-radius: 999px; font-weight: 700; white-space: nowrap;
}
.price-name { font-size: 19px; font-weight: 600; }
.price-amount { font-size: 46px; font-weight: 700; margin: 14px 0 2px; letter-spacing: -0.03em; }
.price-amount small { font-size: 16px; color: var(--txt-3); font-weight: 500; }
.price-desc { color: var(--txt-2); font-size: 14.5px; margin-bottom: 22px; }
.price-feats {
  list-style: none; display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 30px; flex: 1; padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}
.price-feats li {
  display: flex; gap: 11px; font-size: 14px; line-height: 1.45;
  color: var(--txt-2); align-items: flex-start; text-align: left;
}
.price-feats li b { color: var(--txt); font-weight: 600; }
.price-feats li svg { flex: none; width: 15px; height: 15px; margin-top: 2px; stroke: var(--cyan); }
.price-feats li.na { opacity: 0.45; }
.price-feats li.na svg { stroke: var(--txt-3); }

/* ---------- faq ---------- */
.faq-list { max-width: 780px; margin: 50px auto 0; display: flex; flex-direction: column; gap: 12px; }
details.faq {
  border: 1px solid var(--line-soft); border-radius: 13px; background: var(--panel);
  overflow: hidden; transition: border-color 0.2s;
}
details.faq[open] { border-color: rgba(0, 229, 255, 0.35); }
details.faq summary {
  padding: 20px 24px; cursor: pointer; font-weight: 600; font-size: 16.5px;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--cyan); font-size: 22px; font-weight: 400; transition: transform 0.25s; flex: none; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .faq-body { padding: 0 24px 22px; color: var(--txt-2); font-size: 15.5px; }

/* ---------- final cta ---------- */
.final { text-align: center; padding: 130px 0 140px; }
.final-icon { width: 96px; height: 96px; margin: 0 auto 30px; border-radius: 24px; box-shadow: 0 20px 60px rgba(0, 229, 255, 0.25); }
.final h2 { font-size: clamp(32px, 4.6vw, 54px); margin-bottom: 18px; }
.final p { color: var(--txt-2); font-size: 19px; max-width: 560px; margin: 0 auto 38px; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--line-soft); padding: 46px 0 40px;
  background: rgba(3, 5, 9, 0.6);
}
.foot-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 11px; }
.foot-brand img { width: 30px; height: 30px; border-radius: 7px; }
.foot-brand span { font-weight: 600; }
.foot-copy { font-size: 13px; color: var(--txt-3); margin-top: 10px; }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; }
.foot-links a { color: var(--txt-2); font-size: 14.5px; transition: color 0.2s; }
.foot-links a:hover { color: var(--cyan); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .lab-grid { grid-template-columns: 1fr; }
  .lab-rail { border-right: none; border-bottom: 1px solid var(--line-soft); }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .nav-links { display: none; }
  .float-chip { display: none; }
}
@media (max-width: 620px) {
  .grid-3 { grid-template-columns: 1fr; }
  section { padding: 76px 0; }
  .hero { padding: 140px 0 70px; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .foot-inner { flex-direction: column; }
}

/* ================= REDUCED MOTION ================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}
