/* ===== ZennoBrowser Landing v2 — Developer-first design ===== */

:root {
    --bg: #fbfbf9;
    --bg-2: #f3f2ec;
    --panel: #ffffff;
    --ink: #0f1115;
    --ink-2: #222630;
    --muted: #5a6170;
    --soft: #8b92a1;
    --rule: #e6e4dc;
    --rule-2: #d3d0c4;
    --accent: #13866e;
    --accent-2: #0a5c4a;
    --accent-3: #d4873a;
    --zb-g1: #2bd4a6;
    --zb-g2: #2aa2d4;
    --zb-g3: #2a7ad4;
    --purple: #8b5cf6;
    --blue: #2563eb;
    --danger: #b4482a;
    --mono: "JetBrains Mono", ui-monospace, monospace;
    --sans: "Inter", -apple-system, sans-serif;
    --serif: "Instrument Serif", Georgia, serif;
    --radius: 10px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); }
body { font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select { font-family: inherit; }
.wrap { max-width: 1340px; margin: 0 auto; padding: 0 40px; }
.muted { color: var(--muted); }
.muted-sm { color: var(--muted); font-weight: 400; font-size: 13px; }
.accent-text { color: var(--accent); }

/* ===== Brand mark ===== */
.zb-logo { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, var(--zb-g1) 0%, var(--zb-g2) 55%, var(--zb-g3) 100%); position: relative; display: inline-grid; place-items: center; flex-shrink: 0; }
.zb-logo::after { content: "ZB"; color: #fff; font-weight: 800; font-size: 13px; letter-spacing: -0.02em; font-family: var(--sans); }
.zb-logo.sm { width: 22px; height: 22px; border-radius: 5px; }
.zb-logo.sm::after { font-size: 10px; }

/* ===== Topbar ===== */
.topbar { background: var(--ink); color: #b8c0cf; font-family: var(--mono); font-size: 11px; padding: 7px 0; letter-spacing: 0.02em; }
.topbar-inner { max-width: 1340px; margin: 0 auto; padding: 0 40px; display: flex; justify-content: space-between; gap: 24px; }
.topbar .g { color: #5dc884; }
.topbar a { color: #b8c0cf; cursor: pointer; }
.topbar a:hover { color: #fff; }

/* ===== Nav ===== */
.nav { padding: 18px 0; border-bottom: 1px solid var(--rule); background: var(--bg); position: sticky; top: 0; z-index: 40; backdrop-filter: blur(8px); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; font-size: 16px; }
.brand .by { font-weight: 400; color: var(--muted); font-size: 12px; margin-left: 6px; font-family: var(--mono); }
.nav-mid { display: flex; gap: 2px; }
.nav-mid a { padding: 7px 12px; font-size: 13px; color: var(--ink-2); border-radius: 6px; cursor: pointer; font-weight: 500; }
.nav-mid a:hover { background: var(--bg-2); color: var(--ink); }
.nav-right { display: flex; gap: 10px; align-items: center; }
.search { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--rule); border-radius: 6px; background: var(--panel); font-family: var(--mono); font-size: 12px; color: var(--muted); min-width: 200px; cursor: pointer; }
.search .k { margin-left: auto; padding: 1px 5px; border: 1px solid var(--rule); border-radius: 3px; font-size: 10px; }
.lang { display: inline-flex; border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; font-family: var(--mono); font-size: 11px; font-weight: 600; }
.lang .lang-btn { padding: 6px 10px; background: transparent; color: var(--muted); border: none; cursor: pointer; display: inline-block; text-decoration: none; }
.lang .lang-btn.on { background: var(--ink); color: var(--bg); }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; font-size: 13px; font-weight: 600; border-radius: 6px; transition: all .15s; border: 1px solid transparent; cursor: pointer; text-decoration: none; }
.btn.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn.primary:hover { background: var(--accent); border-color: var(--accent); }
.btn.brand-btn { background: linear-gradient(135deg, var(--zb-g1), var(--zb-g3)); color: #fff; border-color: transparent; }
.btn.brand-btn:hover { filter: brightness(1.08); box-shadow: 0 4px 16px rgba(42,162,212,0.3); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn.ghost:hover { border-color: var(--ink); }
.btn-lg { padding: 12px 20px; font-size: 14px; }

/* ===== Mobile menu ===== */
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 4px; }
.mobile-menu-btn span { display: block; width: 20px; height: 2px; background: var(--ink); transition: all .2s; }

/* ===== HERO ===== */
.hero { padding: 64px 0 48px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: -200px; left: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(43,212,166,0.1), transparent 60%); pointer-events: none; }
.hero::after { content: ""; position: absolute; bottom: -200px; right: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(42,122,212,0.08), transparent 60%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; position: relative; }

.tag-row { display: flex; gap: 8px; font-family: var(--mono); font-size: 11px; margin-bottom: 24px; flex-wrap: wrap; }
.tag { padding: 4px 10px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); border: 1px solid var(--rule); font-weight: 500; }
.tag.green { background: #e0f1e6; color: var(--accent); border-color: #b7dec3; }
.tag.purple { background: #f0e8ff; color: var(--purple); border-color: #d9caf9; }

h1 { font-size: 60px; line-height: 1; letter-spacing: -0.035em; font-weight: 800; margin: 0 0 24px; color: var(--ink); }
h1 .grad { background: linear-gradient(135deg, var(--zb-g1), var(--zb-g3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
h1 .it { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--muted); letter-spacing: -0.02em; }

.hero-sub { font-size: 18px; color: var(--muted); max-width: 540px; line-height: 1.55; margin: 0 0 28px; }
.cta-row { display: flex; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }

.install { border: 1px solid var(--rule); background: var(--panel); border-radius: 8px; padding: 10px 14px; font-family: var(--mono); font-size: 13px; display: flex; align-items: center; gap: 12px; max-width: 520px; }
.install .prompt { color: var(--accent); font-weight: 600; }
.install .cmd { color: var(--ink); flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.install .copy-btn { padding: 4px 10px; font-size: 11px; background: var(--bg-2); border: 1px solid var(--rule); border-radius: 4px; color: var(--muted); cursor: pointer; font-family: var(--mono); }
.install .copy-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.hero-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--rule); }
.hero-meta .cell h5 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; font-weight: 600; }
.hero-meta .cell div { font-weight: 700; font-size: 15px; color: var(--ink); }
.hero-meta .cell div em { color: var(--accent); font-style: normal; }

/* ===== Playground ===== */
.pg { background: var(--panel); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 24px 48px -24px rgba(42,122,212,0.22); }
.pg-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--bg-2); border-bottom: 1px solid var(--rule); font-family: var(--mono); font-size: 11px; color: var(--muted); }
.pg-head .dots { display: flex; gap: 5px; }
.pg-head .dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--rule-2); }
.pg-head .file { color: var(--ink); font-weight: 600; }
.pg-head .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.pg-head .live-d { width: 7px; height: 7px; border-radius: 50%; background: #5dc884; animation: bk 1.2s infinite; }
@keyframes bk { 50% { opacity: 0.3; } }

.pg-body { display: grid; grid-template-columns: 1fr 1fr; min-height: 440px; }
.pg-edit { padding: 16px; background: var(--panel); border-right: 1px solid var(--rule); font-family: var(--mono); font-size: 13px; line-height: 1.85; }
.pg-line { display: flex; align-items: baseline; gap: 6px; }
.pg-line .pk { color: var(--accent); }
.pg-line .kw { color: var(--purple); }
.pg-line .tx { color: var(--ink); }
.pg-line .fn { color: var(--accent); }
.pg-line .pc { color: var(--muted); font-style: italic; }
.pg-line.raw { color: var(--ink-2); }
.pg-edit input[type="number"], .pg-edit select { font-family: var(--mono); font-size: 13px; background: var(--bg-2); border: 1px solid var(--rule); border-radius: 4px; padding: 1px 8px; color: var(--ink); min-width: 0; font-weight: 600; outline: none; }
.pg-edit input[type="number"] { width: 60px; text-align: right; }
.pg-edit input:focus, .pg-edit select:focus { border-color: var(--accent); }
.pg-edit select { padding-right: 18px; }
.pg-edit .pgstr { color: #4a9b63; }
.pg-edit .pgstr::before, .pg-edit .pgstr::after { content: '"'; color: var(--muted); }

.pg-out { padding: 14px; background: var(--bg); font-family: var(--mono); font-size: 11px; overflow: hidden; position: relative; }
.pg-out h6 { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; font-weight: 600; display: flex; justify-content: space-between; }
.pg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-bottom: 12px; }
.pg-cell { aspect-ratio: 1.3; border-radius: 4px; border: 1px solid var(--rule); padding: 5px; position: relative; overflow: hidden; background: var(--panel); display: flex; flex-direction: column; justify-content: space-between; transition: all .3s; }
.pg-cell.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 4px 12px rgba(19,134,110,0.14); }
.pg-cell.on::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--accent); animation: pulseBar 1.2s infinite; }
@keyframes pulseBar { 50% { opacity: 0.4; } }
.pg-cell .flg { font-size: 14px; line-height: 1; }
.pg-cell .nm { font-size: 9px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.pg-cell .st { font-size: 8px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.pg-cell.queued { opacity: 0.4; }
.pg-cell.queued .st { color: var(--accent-3); }

.pg-logs { background: transparent; padding: 0; max-height: 130px; overflow: hidden; }
.pg-log { display: flex; gap: 8px; padding: 2px 0; font-size: 10px; animation: slideIn .24s ease-out; }
@keyframes slideIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.pg-log .t { color: var(--soft); }
.pg-log .lv { padding: 0 4px; border-radius: 2px; font-size: 9px; font-weight: 700; }
.pg-log .lv.ok { background: rgba(93,200,132,0.15); color: #3a8d52; }
.pg-log .lv.info { background: rgba(42,122,212,0.15); color: var(--blue); }
.pg-log .lv.warn { background: rgba(212,135,58,0.18); color: var(--accent-3); }
.pg-log .m { color: var(--ink-2); flex: 1; }

.pg-footer { border-top: 1px solid var(--rule); padding: 10px 14px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--muted); background: var(--bg-2); }
.pg-footer .ok { color: var(--accent); }

/* ===== Section base ===== */
.sec { padding: 96px 0; border-top: 1px solid var(--rule); position: relative; }
.sec-head { margin-bottom: 48px; max-width: 780px; }
.sec-no { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.sec h2, .usp h2, .eco h2 { font-size: 44px; line-height: 1.05; margin: 0; letter-spacing: -0.025em; font-weight: 800; }
.sec h2 .grad, .usp h2 .grad { background: linear-gradient(135deg, var(--zb-g1), var(--zb-g3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec h2 .it, .usp h2 .it, .eco h2 .it { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--muted); letter-spacing: -0.015em; }
.sec p.sub, p.sub { font-size: 16px; color: var(--muted); margin-top: 14px; max-width: 620px; line-height: 1.55; }

/* ===== USP — Threads ===== */
.usp { padding: 120px 0; border-top: 1px solid var(--rule); position: relative; overflow: hidden; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.usp-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; position: relative; }
.usp h2 { font-size: 68px; line-height: 1; letter-spacing: -0.035em; margin: 0 0 28px; font-weight: 800; }
.usp-sub { font-size: 20px; color: var(--muted); max-width: 540px; margin-bottom: 32px; line-height: 1.45; }
.usp-sub b { color: var(--ink); font-weight: 600; }
.usp-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.usp-side { background: var(--panel); border: 1px solid var(--rule); border-radius: 10px; padding: 20px; }
.usp-side.them { opacity: 0.72; }
.usp-side.us { border-color: var(--accent); box-shadow: 0 4px 24px rgba(19,134,110,0.14); }
.usp-side h5 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 12px; color: var(--muted); font-weight: 600; }
.usp-side.us h5 { color: var(--accent); }
.usp-side .row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dotted var(--rule); font-size: 13px; font-family: var(--mono); }
.usp-side .row:last-child { border-bottom: none; }
.usp-side .row span:first-child { color: var(--muted); }
.usp-side .row span:last-child { color: var(--ink); font-weight: 600; }
.inf-sym { color: var(--accent); font-size: 18px; line-height: 0.6; vertical-align: -4px; }
.inf { background: linear-gradient(135deg, var(--zb-g1), var(--zb-g3)); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; font-size: 13px; }

/* ===== Calculator ===== */
.calc { background: var(--panel); border: 1px solid var(--rule); border-radius: 14px; padding: 32px; box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 30px 60px -30px rgba(42,122,212,0.2); }
.calc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.calc-head h3 { margin: 0; font-size: 16px; font-weight: 700; }
.calc-head .beta { font-family: var(--mono); font-size: 10px; padding: 3px 8px; border-radius: 999px; background: #f0e8ff; color: var(--purple); letter-spacing: 0.08em; font-weight: 600; }
.calc-slider-row { margin-bottom: 24px; }
.calc-slider-row .label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-size: 13px; }
.calc-slider-row .label .k { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; }
.calc-slider-row .label .k .ico { width: 18px; height: 18px; display: inline-grid; place-items: center; font-size: 14px; }
.calc-slider-row .label .v { font-family: var(--mono); font-weight: 700; color: var(--ink); font-size: 15px; padding: 3px 10px; border-radius: 6px; background: var(--bg-2); border: 1px solid var(--rule); min-width: 80px; text-align: right; }
.calc-slider-row .label .v.hl { background: linear-gradient(135deg, rgba(43,212,166,0.12), rgba(42,122,212,0.12)); border-color: transparent; color: var(--accent); }
.slider { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: var(--rule); outline: none; margin: 0; cursor: pointer; }
.slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, var(--zb-g1), var(--zb-g3)); border: 3px solid var(--panel); cursor: grab; box-shadow: 0 2px 8px rgba(42,122,212,0.3); }
.slider::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, var(--zb-g1), var(--zb-g3)); border: 3px solid var(--panel); cursor: grab; box-shadow: 0 2px 8px rgba(42,122,212,0.3); }
.slider.locked { opacity: 0.5; cursor: not-allowed; }
.slider-scale { font-family: var(--mono); font-size: 10px; color: var(--soft); display: flex; justify-content: space-between; margin-top: 6px; }
.calc-locked-note { font-family: var(--mono); font-size: 11px; color: var(--muted); text-align: center; padding: 8px 0; }
.calc-total { background: var(--ink); color: var(--bg); border-radius: 10px; padding: 20px 24px; margin-top: 24px; display: flex; justify-content: space-between; align-items: baseline; }
.calc-total .l .a { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #8b92a1; }
.calc-total .l .b { font-family: var(--sans); font-size: 36px; font-weight: 800; letter-spacing: -0.02em; }
.calc-total .l .b small { font-size: 14px; font-weight: 500; color: #b8c0cf; margin-left: 4px; }
.calc-total .r { text-align: right; }
.calc-total .r .per { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: #8b92a1; }
.calc-total .r .nxt { font-size: 13px; color: #b8c0cf; margin-top: 4px; }
.calc-total .r .nxt b { color: var(--zb-g1); font-weight: 600; }
.calc-btn { display: block; width: 100%; margin-top: 16px; padding: 14px; font-size: 14px; font-weight: 700; background: linear-gradient(135deg, var(--zb-g1), var(--zb-g3)); color: #fff; border: none; border-radius: 10px; cursor: pointer; transition: all .2s; }
.calc-btn:hover { filter: brightness(1.1); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(42,122,212,0.25); }

/* ===== Product UI Showcase ===== */
.product-sec { background: var(--bg-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.product-shot { background: var(--panel); border: 1px solid var(--rule); border-radius: 14px; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,0.05), 0 30px 60px -30px rgba(0,0,0,0.15); }
.product-shot img { display: block; width: 100%; height: auto; }
.product-tabs { display: flex; gap: 6px; margin-bottom: 20px; font-family: var(--mono); font-size: 12px; font-weight: 600; }
.product-tabs button { padding: 8px 14px; border: 1px solid var(--rule); border-radius: 8px; background: var(--panel); color: var(--muted); cursor: pointer; }
.product-tabs button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.product-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; }
.ui-heading { font-size: 22px; font-weight: 700; margin: 0 0 10px; letter-spacing: -0.01em; }
.ui-desc { color: var(--muted); margin: 0 0 18px; font-size: 14px; }
.ui-list { list-style: none; padding: 0; margin: 0; font-size: 13px; }
.ui-list li { padding: 8px 0; border-bottom: 1px dotted var(--rule); }
.ui-list li:last-child { border-bottom: none; }

/* ===== Features ===== */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; background: var(--panel); }
.feat { padding: 28px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); transition: background .15s; position: relative; }
.feat:nth-child(3n) { border-right: none; }
.feat:nth-last-child(-n+3) { border-bottom: none; }
.feat:hover { background: var(--bg-2); }
.feat .ftag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.feat h3 { font-size: 20px; font-weight: 700; margin: 12px 0 10px; letter-spacing: -0.01em; }
.feat p { font-size: 14px; color: var(--muted); margin: 0 0 14px; line-height: 1.6; }
.chip { display: inline-block; background: var(--bg-2); border: 1px solid var(--rule); padding: 2px 8px; border-radius: 4px; font-family: var(--mono); font-size: 11px; color: var(--ink); margin-right: 4px; }

/* ===== Ecosystem ===== */
.eco { padding: 120px 0; border-top: 1px solid var(--rule); position: relative; }
.eco-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.eco-diagram { position: relative; aspect-ratio: 1; max-width: 520px; margin: 0 auto; }
.eco-diagram svg { width: 100%; height: 100%; }
.eco-planet { position: absolute; background: var(--panel); border: 1px solid var(--rule); border-radius: 14px; padding: 14px 18px; box-shadow: 0 4px 16px rgba(0,0,0,0.06); display: flex; align-items: center; gap: 12px; transition: all .25s; cursor: pointer; }
.eco-planet:hover { transform: scale(1.05); border-color: var(--accent); }
.eco-planet .ico { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; font-size: 13px; color: #fff; font-weight: 700; font-family: var(--sans); flex-shrink: 0; }
.eco-planet .nm { font-weight: 700; font-size: 14px; line-height: 1; margin-bottom: 3px; }
.eco-planet .ds { font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: 0.04em; }
.eco-zb    { top: 42%; left: 38%; transform: translate(-50%, -50%); border: 2px solid var(--accent); padding: 18px 22px; }
.eco-zp    { top: 8%; left: 65%; }
.eco-cm    { top: 70%; left: 70%; }
.eco-px    { top: 60%; left: 10%; }
.eco-api   { top: 18%; left: 12%; }
.zb-grad { background: linear-gradient(135deg, var(--zb-g1), var(--zb-g3)); width: 40px !important; height: 40px !important; font-size: 15px !important; }
.zp-grad { background: linear-gradient(135deg, #6b5cff, #8b5cf6); }
.cm-grad { background: linear-gradient(135deg, #ff6b5c, #d4873a); }
.px-grad { background: linear-gradient(135deg, #2a7ad4, #2563eb); }
.api-grad { background: linear-gradient(135deg, #13866e, #2bd4a6); font-family: var(--mono) !important; font-size: 11px !important; }

.eco-list { list-style: none; padding: 0; margin: 24px 0 0; }
.eco-list li { padding: 14px 0; border-bottom: 1px dotted var(--rule); display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: baseline; }
.eco-list li:last-child { border-bottom: none; }
.eco-list li .nm { font-weight: 700; color: var(--ink); font-size: 14px; }
.eco-list li .ds { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ===== Pricing ===== */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--rule); border-radius: 14px; overflow: hidden; background: var(--panel); }
.plan { padding: 32px 28px; border-right: 1px solid var(--rule); display: flex; flex-direction: column; position: relative; }
.plan:last-child { border-right: none; }
.plan.featured { background: linear-gradient(180deg, rgba(43,212,166,0.05), rgba(42,122,212,0.05)); }
.plan.featured::before { content: "MOST PICKED"; position: absolute; top: 0; left: 0; right: 0; background: linear-gradient(90deg, var(--zb-g1), var(--zb-g3)); color: #fff; font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; padding: 4px 0; text-align: center; font-weight: 600; }
.plan.featured { padding-top: 48px; }
.plan h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; font-weight: 700; }
.plan.featured h4 { color: var(--purple); }
.plan-sub { color: var(--muted); font-weight: 500; }
.plan-sub.purple { color: var(--purple); }
.plan .sum { font-size: 14px; color: var(--muted); margin-bottom: 20px; line-height: 1.45; font-weight: 500; }
.plan .price { font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: -0.025em; margin-bottom: 6px; font-family: var(--sans); }
.plan .price .from { font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--muted); margin-right: 4px; letter-spacing: 0.04em; text-transform: uppercase; vertical-align: middle; }
.plan .price small { font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.plan .price .sign { font-size: 28px; vertical-align: 18px; margin-right: 2px; }
.plan .custom-price { font-size: 42px; }
.plan .unit { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-bottom: 24px; letter-spacing: 0.04em; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; font-size: 13px; flex: 1; }
.plan li { padding: 10px 0; border-bottom: 1px dotted var(--rule); display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; align-items: center; }
.plan li:last-child { border-bottom: none; }
.plan li .k { color: var(--muted); display: flex; align-items: center; gap: 6px; }
.plan li .v { color: var(--ink); font-weight: 700; }
.plan li .v.accent { color: var(--accent); }
.plan li .v.x { color: var(--soft); font-weight: 400; }
.plan .btn { width: 100%; justify-content: center; margin-top: auto; }

/* ===== Final CTA ===== */
.final { padding: 120px 0; background: var(--ink); color: var(--bg); text-align: center; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; top: 50%; left: 50%; width: 120%; height: 120%; transform: translate(-50%, -50%); background: radial-gradient(ellipse at center, rgba(43,212,166,0.15) 0%, transparent 55%); }
.final-inner { position: relative; }
.final h2 { color: #f0ede4; font-size: 64px; margin: 0 0 20px; letter-spacing: -0.025em; line-height: 1.04; font-weight: 800; }
.final p { color: #b8c0cf; font-size: 17px; max-width: 560px; margin: 0 auto 36px; }
.final .ctas { display: inline-flex; gap: 12px; }
.final .btn.ghost { color: #f0ede4; border-color: #2d333d; background: transparent; }
.final .btn.ghost:hover { border-color: #f0ede4; }
.final-foot { margin-top: 40px; font-family: var(--mono); font-size: 11px; color: #5a6170; letter-spacing: 0.04em; }

/* ===== Footer ===== */
footer { border-top: 1px solid var(--rule); padding: 48px 0 32px; background: var(--bg-2); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.foot h5 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; font-weight: 600; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 8px; font-size: 13px; }
.foot li a:hover { color: var(--accent); }
.foot-brand { display: flex; flex-direction: column; }
.foot-brand .brand { margin-bottom: 0; }
.foot-brand p { font-size: 13px; color: var(--muted); max-width: 320px; margin: 14px 0 0; }
.foot-bottom { padding-top: 24px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
    .hero-grid, .usp-inner, .eco-grid, .product-grid { grid-template-columns: 1fr; }
    .features, .plans { grid-template-columns: 1fr; }
    .feat { border-right: none !important; }
    .feat:last-child { border-bottom: none; }
    .plan { border-right: none !important; border-bottom: 1px solid var(--rule); }
    .plan:last-child { border-bottom: none; }
    .nav-mid, .search { display: none; }
    .mobile-menu-btn { display: flex; }
    .nav-mid.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--rule); padding: 12px 40px; z-index: 50; }
    h1 { font-size: 44px; }
    .usp h2, .final h2 { font-size: 48px; }
    .pg-body { grid-template-columns: 1fr; }
    .pg-edit { border-right: none; border-bottom: 1px solid var(--rule); }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .wrap { padding: 0 20px; }
    .eco-diagram { display: none; }
    .usp-compare { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    h1 { font-size: 36px; }
    .usp h2, .final h2 { font-size: 36px; }
    .hero-meta { grid-template-columns: 1fr; gap: 12px; }
    .foot-grid { grid-template-columns: 1fr; }
    .topbar-inner { flex-direction: column; gap: 4px; }
}
