/* ===========================================================================
   site.css — marketing site, nav, pricing, auth, dashboard, footer.
   Loads AFTER style.css and reuses its CSS variables/tokens.
   =========================================================================== */

/* --------------------------------- Nav ----------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__in {
  max-width: 1200px; margin: 0 auto; padding: 12px clamp(16px, 4vw, 40px);
  display: flex; align-items: center; gap: 18px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.nav__brand .brand__mark { width: 34px; height: 34px; border-radius: 10px; }
.nav__brand .brand__mark svg { width: 19px; height: 19px; }
.nav__name { font-weight: 800; font-size: 17px; letter-spacing: -.02em; }
.nav__name span { background: linear-gradient(120deg, var(--accent), var(--accent-3));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nav__links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav__links a, .nav__links button {
  font: inherit; font-size: 14px; font-weight: 600; color: var(--text-dim);
  text-decoration: none; padding: 8px 13px; border-radius: 10px; border: 0; background: transparent; cursor: pointer;
}
.nav__links a:hover, .nav__links button:hover { color: var(--text); background: var(--surface-2); }
.nav__links a.cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff;
  box-shadow: 0 8px 18px -8px rgba(106,92,255,.7);
}
.nav__links a.cta:hover { filter: brightness(1.06); color: #fff; }
@media (max-width: 640px) {
  .nav__links a.hide-sm { display: none; }
}

/* ------------------------------ Marketing -------------------------------- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.section { padding: clamp(48px, 8vw, 92px) 0; }
.section-tight { padding: clamp(32px, 5vw, 60px) 0; }

.eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: var(--accent);
  background: var(--accent-soft); padding: 6px 13px; border-radius: 999px; margin-bottom: 18px; }

.mhero { text-align: center; padding: clamp(40px, 7vw, 84px) 0 clamp(24px, 4vw, 40px); }
.mhero h1 { font-size: clamp(32px, 6vw, 62px); line-height: 1.03; letter-spacing: -.04em; font-weight: 850;
  margin: 0 auto 20px; max-width: 16ch; }
.mhero h1 .grad { background: linear-gradient(110deg, var(--accent), var(--accent-2) 45%, var(--accent-3));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.mhero p.sub { font-size: clamp(16px, 2.2vw, 20px); color: var(--text-dim); max-width: 60ch; margin: 0 auto 30px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-trust { margin-top: 20px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap;
  color: var(--text-faint); font-size: 13px; font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust svg { width: 15px; height: 15px; color: var(--ok); }

.btn-lg { padding: 15px 26px; font-size: 16px; border-radius: 14px; }

.hero-visual { margin: 36px auto 0; max-width: 900px; }
.hero-visual .frame {
  border: 1px solid var(--border); border-radius: 22px; background: var(--surface);
  box-shadow: var(--shadow-lg); padding: 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px,1fr));
  gap: 18px; place-items: center;
}
.hero-visual .qtile { text-align: center; }
.hero-visual .qtile canvas, .hero-visual .qtile svg.qr { width: 128px; height: 128px; }
.hero-visual .qtile .cap { font-size: 12px; color: var(--text-faint); margin-top: 8px; font-weight: 600; }

/* logos / stats strip */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 20px; text-align: center; }
.stat .n { font-size: clamp(26px,4vw,40px); font-weight: 850; letter-spacing: -.03em;
  background: linear-gradient(120deg,var(--accent),var(--accent-3)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .l { color: var(--text-dim); font-size: 14px; font-weight: 600; margin-top: 4px; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(26px, 4vw, 40px); letter-spacing: -.03em; font-weight: 820; margin: 0 0 12px; }
.section-head p { color: var(--text-dim); font-size: 16.5px; margin: 0; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); transition: .18s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature .ficon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-size: 22px; background: var(--accent-soft); margin-bottom: 15px; }
.feature h3 { font-size: 17.5px; margin: 0 0 8px; letter-spacing: -.01em; }
.feature p { color: var(--text-dim); font-size: 14.5px; margin: 0; line-height: 1.6; }

/* comparison */
.compare { overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; min-width: 520px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.compare th { font-weight: 750; background: var(--surface-2); }
.compare td.center, .compare th.center { text-align: center; }
.compare .yes { color: var(--ok); font-weight: 800; }
.compare .no { color: var(--text-faint); }
.compare tr:last-child td { border-bottom: 0; }

/* steps */
.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 20px; }
.how .stepc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.how .badge-n { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; color: #fff;
  background: linear-gradient(135deg,var(--accent),var(--accent-2)); margin-bottom: 14px; }
.how h3 { margin: 0 0 8px; font-size: 17px; }
.how p { margin: 0; color: var(--text-dim); font-size: 14.5px; line-height: 1.6; }

/* ------------------------------- Pricing --------------------------------- */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 20px; max-width: 860px; margin: 0 auto; align-items: stretch; }
.plan { background: var(--surface); border: 1.5px solid var(--border); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.plan.featured { border-color: var(--accent); box-shadow: 0 24px 60px -24px rgba(106,92,255,.55); position: relative; }
.plan.featured::before { content: "Most popular"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg,var(--accent),var(--accent-2)); color: #fff; font-size: 12px; font-weight: 800;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-dim); margin: 0 0 10px; }
.plan .price { font-size: 44px; font-weight: 850; letter-spacing: -.03em; }
.plan .price small { font-size: 15px; font-weight: 600; color: var(--text-faint); }
.plan .price-note { color: var(--text-faint); font-size: 13px; margin-top: 2px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0; display: flex; flex-direction: column; gap: 12px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text-dim); }
.plan li svg { width: 18px; height: 18px; color: var(--ok); flex: none; margin-top: 1px; }
.plan li.muted { color: var(--text-faint); }
.plan li.muted svg { color: var(--text-faint); }
.plan .btn { width: 100%; margin-top: auto; }
.billing-toggle { display: flex; justify-content: center; align-items: center; gap: 12px; margin-bottom: 30px; font-weight: 600; font-size: 14.5px; }
.billing-toggle .save { color: var(--ok); font-weight: 700; font-size: 13px; }
.switch { position: relative; width: 50px; height: 28px; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .track { position: absolute; inset: 0; background: var(--border-strong); border-radius: 999px; cursor: pointer; transition: .2s; }
.switch .track::before { content: ""; position: absolute; width: 22px; height: 22px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: var(--shadow-sm); }
.switch input:checked + .track { background: var(--accent); }
.switch input:checked + .track::before { transform: translateX(22px); }

/* -------------------------------- FAQ ------------------------------------ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); margin-bottom: 12px; overflow: hidden; }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 700; font-size: 15.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--text-faint); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { color: var(--accent); }
.faq .a { padding: 0 20px 18px; color: var(--text-dim); font-size: 14.5px; line-height: 1.65; }

/* ------------------------------- CTA band -------------------------------- */
.cta-band { background: linear-gradient(135deg, var(--accent), var(--accent-2) 55%, var(--accent-3)); border-radius: 26px;
  padding: clamp(34px,6vw,64px); text-align: center; color: #fff; box-shadow: var(--shadow-lg); }
.cta-band h2 { font-size: clamp(26px,4vw,42px); letter-spacing: -.03em; margin: 0 0 12px; }
.cta-band p { opacity: .92; font-size: 17px; margin: 0 0 26px; }
.cta-band .btn { background: #fff; color: var(--accent); }
.cta-band .btn:hover { filter: brightness(.97); }

/* ------------------------------- Footer ---------------------------------- */
.site-foot { border-top: 1px solid var(--border); margin-top: 40px; background: var(--surface); }
.site-foot__in { max-width: 1200px; margin: 0 auto; padding: 46px clamp(16px,4vw,40px);
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; }
@media (max-width: 720px) { .site-foot__in { grid-template-columns: 1fr 1fr; } }
.site-foot h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-faint); margin: 0 0 14px; }
.site-foot a { display: block; color: var(--text-dim); text-decoration: none; font-size: 14px; margin-bottom: 9px; }
.site-foot a:hover { color: var(--accent); }
.site-foot .muted { color: var(--text-faint); font-size: 13px; line-height: 1.6; margin-top: 12px; }
.site-foot__bottom { border-top: 1px solid var(--border); padding: 18px clamp(16px,4vw,40px); text-align: center; color: var(--text-faint); font-size: 13px; }

/* --------------------------------- Auth ---------------------------------- */
.auth-wrap { min-height: calc(100vh - 62px); display: grid; place-items: center; padding: 40px 16px; }
.auth-card { width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; box-shadow: var(--shadow); padding: 34px; }
.auth-card h1 { font-size: 24px; letter-spacing: -.02em; margin: 0 0 6px; text-align: center; }
.auth-card .sub { text-align: center; color: var(--text-dim); font-size: 14.5px; margin: 0 0 24px; }
.auth-card .field { margin-bottom: 16px; }
.auth-card .btn { width: 100%; margin-top: 6px; }
.auth-alt { text-align: center; margin-top: 20px; font-size: 14px; color: var(--text-dim); }
.auth-err { background: rgba(229,72,77,.1); color: var(--danger); border: 1px solid rgba(229,72,77,.3);
  padding: 11px 14px; border-radius: 10px; font-size: 13.5px; font-weight: 600; margin-bottom: 16px; display: none; }
.auth-err.show { display: block; }

/* ------------------------------ Dashboard -------------------------------- */
.dash { max-width: 1100px; margin: 0 auto; padding: 30px clamp(16px,4vw,40px) 70px; }
.dash-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.dash-head h1 { font-size: 26px; letter-spacing: -.02em; margin: 0; }
.plan-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 750; padding: 6px 13px; border-radius: 999px; }
.plan-pill.free { background: var(--surface-2); color: var(--text-dim); border: 1px solid var(--border-strong); }
.plan-pill.pro { background: linear-gradient(135deg,var(--accent),var(--accent-2)); color: #fff; }

.upsell { background: linear-gradient(135deg, var(--accent-soft), transparent); border: 1px solid var(--accent);
  border-radius: var(--radius); padding: 20px 22px; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 18px 0 26px; }
.upsell .t { font-weight: 750; font-size: 16px; }
.upsell .d { color: var(--text-dim); font-size: 14px; margin-top: 3px; }

.code-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 14px;
  display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; align-items: center; }
@media (max-width: 620px) { .code-card { grid-template-columns: 72px 1fr; } .code-card .code-actions { grid-column: 1 / -1; } }
.code-card .qbox { width: 96px; height: 96px; background: #fff; border-radius: 12px; padding: 7px; border: 1px solid var(--border); }
.code-card .qbox svg, .code-card .qbox canvas { width: 100%; height: 100%; }
.code-card .ctitle { font-weight: 750; font-size: 16px; }
.code-card .cmeta { color: var(--text-faint); font-size: 12.5px; margin-top: 2px; }
.code-card .cdest { font-size: 13.5px; color: var(--text-dim); margin-top: 8px; word-break: break-all; }
.code-card .cshort { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; color: var(--accent); }
.code-card .cstats { display: flex; gap: 16px; margin-top: 10px; font-size: 13px; color: var(--text-dim); }
.code-card .cstats b { color: var(--text); font-size: 15px; }
.code-actions { display: flex; flex-direction: column; gap: 8px; }
.code-actions .btn { padding: 9px 14px; font-size: 13px; white-space: nowrap; }

.mini-bars { display: flex; align-items: flex-end; gap: 3px; height: 46px; margin-top: 10px; }
.mini-bars .bar { flex: 1; background: var(--accent); border-radius: 2px 2px 0 0; min-height: 2px; opacity: .8; }

/* modal */
.modal-back { position: fixed; inset: 0; background: rgba(10,10,20,.55); display: none; place-items: center; z-index: 60; padding: 16px; }
.modal-back.show { display: grid; }
.modal { background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-lg); width: 100%; max-width: 460px; padding: 26px; max-height: 90vh; overflow: auto; }
.modal h3 { margin: 0 0 16px; font-size: 20px; }
.modal .btn-row { display: flex; gap: 10px; margin-top: 20px; }
.modal .btn-row .btn { flex: 1; }

/* ============================ Tools hub & pages ============================ */
.cat-block { margin-bottom: 34px; }
.cat-head { display: flex; align-items: baseline; gap: 12px; margin: 0 0 14px; }
.cat-head h2 { font-size: 20px; letter-spacing: -.02em; margin: 0; }

.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.tool-card {
  display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow-sm); transition: .16s;
}
.tool-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.tc-ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 24px;
  background: color-mix(in srgb, var(--tc, var(--accent)) 15%, transparent); margin-bottom: 6px;
}
.tc-name { font-weight: 750; font-size: 15.5px; display: flex; align-items: center; gap: 8px; }
.tc-tag { color: var(--text-dim); font-size: 13px; line-height: 1.45; }
.tc-badge { font-size: 10.5px; font-weight: 800; letter-spacing: .03em; padding: 2px 7px; border-radius: 999px;
  background: var(--surface-3); color: var(--text-faint); text-transform: uppercase; }
.tc-badge.free { color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.tc-badge.pro { color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }

/* tool landing page */
.tool-page { padding: 20px 0 40px; }
.crumbs { font-size: 13px; color: var(--text-faint); margin: 6px 0 18px; }
.crumbs a { color: var(--text-dim); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.tool-hero { text-align: center; max-width: 760px; margin: 0 auto 26px; }
.tool-hero__icon {
  width: 76px; height: 76px; border-radius: 20px; display: grid; place-items: center; font-size: 40px;
  margin: 0 auto 16px; background: color-mix(in srgb, var(--tc, var(--accent)) 16%, transparent);
  box-shadow: var(--shadow-sm);
}
.tool-hero h1 { font-size: clamp(26px, 4vw, 40px); letter-spacing: -.03em; margin: 0 0 12px; }
.tool-hero__intro { color: var(--text-dim); font-size: 16.5px; margin: 0 auto; max-width: 62ch; }
.tool-hero__meta { display: flex; gap: 8px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.tool-hero__meta .tag { font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.tag.free { color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.tag.pro { color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.tag.muted { color: var(--text-dim); background: var(--surface-2); border: 1px solid var(--border); }

.tool-stage { max-width: 820px; margin: 0 auto 30px; }
.tool-ui {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px;
}
.tool-upsell { max-width: 900px; margin: 0 auto 30px; }
.tool-info { max-width: 760px; margin: 0 auto 26px; }
.tool-info h2 { font-size: 22px; letter-spacing: -.02em; margin: 0 0 12px; }
.tool-info p { color: var(--text-dim); font-size: 15.5px; line-height: 1.7; margin: 0; }
.tool-related { max-width: 1000px; margin: 40px auto 0; }
.tool-related h2 { font-size: 20px; text-align: center; margin: 0 0 18px; }

/* generic tool UI widgets (used by free tools) */
.tool-ui .tfield { margin-bottom: 14px; }
.tool-ui label.tlabel { display:block; font-size:13px; font-weight:650; color:var(--text-dim); margin-bottom:6px; }
.tool-ui textarea.tin { min-height: 130px; font-family: inherit; }
.tool-ui .tout {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 14px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13.5px;
  white-space: pre-wrap; word-break: break-word; max-height: 360px; overflow: auto; min-height: 54px;
}
.tool-ui .trow { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.tool-ui .tstat { display: inline-flex; flex-direction: column; align-items: center; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; min-width: 84px; }
.tool-ui .tstat b { font-size: 22px; font-weight: 800; }
.tool-ui .tstat span { font-size: 12px; color: var(--text-faint); }
.tool-ui .swatch-lg { height: 92px; border-radius: 12px 12px 0 0; cursor: pointer; position: relative; }
.tool-ui .swatch-wrap { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--surface); }
.tool-ui .swatch-hex { text-align: center; font-family: ui-monospace, Menlo, monospace; font-size: 13px; padding: 8px; font-weight: 650; }
.tool-ui .chat-log { display: flex; flex-direction: column; gap: 12px; max-height: 420px; overflow-y: auto; margin-bottom: 14px; padding: 4px; }
.tool-ui .msg { padding: 11px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.55; max-width: 85%; white-space: pre-wrap; }
.tool-ui .msg.user { align-self: flex-end; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border-bottom-right-radius: 4px; }
.tool-ui .msg.ai { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.tool-ui .ai-img { width: 100%; border-radius: 12px; border: 1px solid var(--border); }
.usage-note { font-size: 12.5px; color: var(--text-faint); margin-top: 10px; text-align: center; }
.locked-note { text-align: center; padding: 26px; color: var(--text-dim); }

/* ============================ Dark neon overrides ========================= */
.nav { background: rgba(12,14,26,0.66); border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px); }
.nav__links a.active { color: #fff; }
.nav__links a.cta { box-shadow: 0 8px 20px -8px rgba(91,140,255,.7), 0 0 26px -8px rgba(139,92,255,.6); }

.eyebrow { border: 1px solid var(--border-strong); box-shadow: var(--glow); color: #cdd6ff;
  background: rgba(91,140,255,.08); }

.mhero h1 { text-shadow: 0 0 40px rgba(91,140,255,.25); }
.mhero h1 .grad, .hero h1 .grad, .name .g {
  filter: drop-shadow(0 0 22px rgba(139,92,255,.45)); }
.mhero p.sub { color: var(--text-dim); }

.feature { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.feature:hover { border-color: var(--border-strong); box-shadow: var(--glow); }
.feature .ficon { box-shadow: inset 0 0 20px rgba(91,140,255,.18); }

.tool-card { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.tool-card:hover { border-color: rgba(120,140,255,.5); box-shadow: var(--glow); }

.plan { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.plan.featured { box-shadow: 0 30px 70px -30px rgba(0,0,0,.9), 0 0 60px -14px rgba(91,140,255,.5); }
.plan.featured::before { box-shadow: 0 0 24px -6px rgba(139,92,255,.8); }

.tool-ui { backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.tool-hero__icon { box-shadow: inset 0 0 30px rgba(91,140,255,.18), 0 0 34px -10px rgba(91,140,255,.5); }

.site-foot { background: rgba(12,14,26,0.7); backdrop-filter: blur(12px); }
.cta-band { box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), 0 0 70px -12px rgba(139,92,255,.55); }
input, textarea, select { background-color: rgba(15,18,34,.72) !important; }

/* ------------------------------ 3D tool cube ----------------------------- */
.cube-wrap { display: flex; justify-content: center; margin: 46px 0 6px; }
.cube-scene { width: 220px; height: 220px; perspective: 950px; }
.cube { width: 100%; height: 100%; position: relative; transform-style: preserve-3d;
  animation: spinCube 24s linear infinite; }
.cube:hover { animation-play-state: paused; }
@keyframes spinCube { from { transform: rotateX(-18deg) rotateY(0); } to { transform: rotateX(-18deg) rotateY(360deg); } }
@media (prefers-reduced-motion: reduce) { .cube { animation: none; transform: rotateX(-18deg) rotateY(-25deg); } }
.cube__face { position: absolute; width: 220px; height: 220px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px; border-radius: 20px;
  border: 1px solid rgba(120,140,255,.45);
  background: linear-gradient(160deg, rgba(46,52,104,.55), rgba(18,20,40,.6));
  box-shadow: inset 0 0 46px rgba(91,140,255,.16), 0 0 30px -8px rgba(91,140,255,.4);
  backdrop-filter: blur(4px); }
.cube__face .cico { font-size: 50px; filter: drop-shadow(0 0 14px rgba(139,92,255,.6)); }
.cube__face .clbl { font-weight: 750; font-size: 15px; color: #dfe4ff; letter-spacing: .01em; }
.f-front  { transform: rotateY(0deg)    translateZ(110px); }
.f-back   { transform: rotateY(180deg)  translateZ(110px); }
.f-right  { transform: rotateY(90deg)   translateZ(110px); }
.f-left   { transform: rotateY(-90deg)  translateZ(110px); }
.f-top    { transform: rotateX(90deg)   translateZ(110px); }
.f-bottom { transform: rotateX(-90deg)  translateZ(110px); }
