/* ============================================================
   Design system v2 — modern AI SaaS look
   Dark glowing hero, glassmorphism, gradient accents, motion.
   Mobile-first to 300px. Respects prefers-reduced-motion.
   ============================================================ */
:root {
  --ink: #0e1226;
  --ink-2: #3b4368;
  --muted: #6b7394;
  --line: #e4e7f4;
  --paper: #ffffff;
  --wash: #f6f7fd;
  --night: #0b1020;
  --night-2: #11173023;
  --brand: #6d5cff;
  --brand-2: #a855f7;
  --accent: #22d3ee;
  --brand-soft: #efedff;
  --ok: #10b981;
  --warn: #f59e0b;
  --bad: #ef4444;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(14, 18, 38, .05), 0 10px 30px -14px rgba(14, 18, 38, .14);
  --shadow-lg: 0 6px 16px -6px rgba(109, 92, 255, .14), 0 24px 48px -16px rgba(109, 92, 255, .22);
  --grad: linear-gradient(120deg, var(--brand), var(--brand-2) 55%, var(--accent));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0; color: var(--ink); background: var(--wash);
  font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; color: var(--ink); font-weight: 800; }
h1 { font-size: clamp(1.8rem, 5vw, 3.2rem); letter-spacing: 0; margin: 0 0 .45em; }
h2 { font-size: clamp(1.35rem, 3vw, 2rem); letter-spacing: 0; }
h3 { font-size: 1.08rem; }
.shell { max-width: 1200px; margin: 0 auto; padding: 0 18px; }
main { padding: 0 0 64px; }
main > .shell { padding-top: 26px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons & forms ---------- */
.btn, button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  border-radius: 12px; padding: 11px 20px; font: 600 .95rem/1.2 inherit;
  cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
  text-decoration: none !important;
}
.btn:hover, button:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.btn:active, button:active { transform: translateY(0); }
.btn-primary { background: var(--grad); color: #fff; border: 0; box-shadow: 0 8px 24px -8px rgba(109, 92, 255, .55); }
.btn-primary:hover { filter: brightness(1.07); box-shadow: 0 12px 30px -8px rgba(109, 92, 255, .65); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--ink-2); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.25); backdrop-filter: blur(6px); }
.btn-light:hover { background: rgba(255,255,255,.2); }
.btn-sm { padding: 7px 13px; font-size: .85rem; border-radius: 10px; }
.btn[disabled], button[disabled] { opacity: .55; cursor: not-allowed; transform: none !important; }
input, select, textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--paper); color: var(--ink); padding: 11px 14px; font: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(109, 92, 255, .14); }
.btn:focus-visible, button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
textarea { min-height: 190px; resize: vertical; }
label { display: block; font-weight: 600; font-size: .88rem; margin: 13px 0 6px; }
form .row { display: grid; gap: 0 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { form .row { grid-template-columns: 1fr 1fr; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85); backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(228, 231, 244, .8);
}
.nav { min-height: 66px; display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; color: var(--ink); text-decoration: none !important; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px; flex: 0 0 36px;
  background: var(--grad); display: grid; place-items: center; color: #fff; font-size: 18px;
  box-shadow: 0 6px 16px -6px rgba(109, 92, 255, .6);
}
.nav-links { display: none; align-items: center; gap: 2px; margin-left: 6px; }
.nav-links > a, .nav-links > details > summary {
  padding: 9px 13px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: .92rem;
  cursor: pointer; list-style: none; text-decoration: none !important;
}
.nav-links > a:hover, .nav-links summary:hover { background: var(--brand-soft); color: var(--brand); }
.nav-links details { position: relative; }
.nav-links summary::-webkit-details-marker { display: none; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 560px; max-width: 92vw;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; z-index: 60;
  animation: pop .18s ease;
}
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } }
.dropdown a { display: flex; gap: 11px; padding: 10px; border-radius: 12px; color: var(--ink); text-decoration: none !important; align-items: flex-start; }
.dropdown a:hover { background: var(--brand-soft); }
.dropdown .t-ic { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.dropdown b { display: block; font-size: .88rem; }
.dropdown span.d { font-size: .76rem; color: var(--muted); display: block; line-height: 1.35; }
.nav-spacer { flex: 1; }
.nav-cta { display: none; gap: 8px; align-items: center; }
.nav-burger { margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 11px; font-size: 18px; line-height: 1; }
@media (min-width: 1000px) { .nav-links, .nav-cta { display: flex; } .nav-burger { display: none; } }
.mobile-menu { display: none; border-top: 1px solid var(--line); padding: 10px 0 16px; }
.mobile-menu.open { display: block; animation: pop .2s ease; }
.mobile-menu a { display: block; padding: 11px 6px; font-weight: 600; color: var(--ink-2); border-bottom: 1px solid var(--wash); text-decoration: none !important; }

/* ---------- Dark hero (homepage) ---------- */
.hero-dark {
  position: relative; overflow: hidden; color: #e7e9f8; text-align: center;
  background: radial-gradient(1100px 500px at 70% -10%, rgba(168, 85, 247, .35), transparent 60%),
              radial-gradient(900px 480px at 15% 0%, rgba(34, 211, 238, .22), transparent 55%),
              var(--night);
  padding: 64px 0 170px; margin-bottom: -120px;
}
.hero-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(800px 420px at 50% 0%, #000 30%, transparent 75%);
}
.hero-dark .orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; animation: float 9s ease-in-out infinite; pointer-events: none; }
.orb-1 { width: 320px; height: 320px; background: #6d5cff; top: -80px; left: -80px; }
.orb-2 { width: 260px; height: 260px; background: #22d3ee; top: 30%; right: -60px; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(26px) } }
.hero-dark h1 { color: #fff; margin: 18px auto 14px; max-width: 820px; }
.hero-dark p.lead { max-width: 640px; margin: 0 auto 26px; color: #aab1d6; font-size: clamp(.98rem, 2vw, 1.15rem); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #cfd4f1;
  font-size: .8rem; font-weight: 600; backdrop-filter: blur(6px);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .4 } }
.stat-row { display: flex; gap: clamp(16px, 4vw, 48px); justify-content: center; flex-wrap: wrap; margin: 26px 0 8px; }
.stat-row .stat b { display: block; font-size: clamp(1.3rem, 3vw, 1.9rem); color: #fff; font-weight: 800; }
.stat-row .stat span { font-size: .8rem; color: #8e96c2; }

/* Tool pills */
.tool-pills { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin: 22px 0; }
.tool-pills a, .tool-pills button {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink-2);
  font-size: .85rem; font-weight: 600; text-decoration: none !important;
  transition: all .16s ease;
}
.hero-dark .tool-pills a { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); color: #cfd4f1; }
.tool-pills a:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); transform: translateY(-2px); }
.hero-dark .tool-pills a:hover { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.4); }
.tool-pills a.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 8px 20px -8px rgba(109,92,255,.6); }
.tool-pills a svg { width: 15px; height: 15px; }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  position: relative; overflow: hidden; color: #e7e9f8;
  background: radial-gradient(800px 300px at 80% -20%, rgba(168, 85, 247, .32), transparent 60%),
              radial-gradient(600px 280px at 10% -10%, rgba(34, 211, 238, .18), transparent 55%),
              var(--night);
  padding: 40px 0 46px; margin-bottom: 30px;
}
.page-banner::before { content: ""; position: absolute; inset: 0; opacity: .4; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px; }
.page-banner h1 { color: #fff; margin: 10px 0 8px; font-size: clamp(1.5rem, 4vw, 2.4rem); }
.page-banner .lead { color: #aab1d6; max-width: 640px; margin: 0; font-size: clamp(.95rem, 2vw, 1.05rem); }
.crumbs { font-size: .8rem; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.page-banner .crumbs, .page-banner .crumbs a { color: #8e96c2; }
.crumbs a:hover { color: var(--accent); }

/* ---------- Panels / tool ---------- */
.panel {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: clamp(16px, 3vw, 28px);
}
.tool-panel { max-width: 880px; margin: 0 auto; text-align: left; position: relative; z-index: 2; }
.hero-dark + * .tool-panel, .tool-panel.floating { box-shadow: var(--shadow-lg); }
.tool-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .82rem; color: var(--muted); margin-top: 8px; flex-wrap: wrap; }
.tool-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

/* ---------- Result ---------- */
.result { margin-top: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--wash); padding: 18px; animation: pop .25s ease; }
.result h3 { margin: 0 0 10px; }
.result-output { white-space: pre-wrap; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 15px; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin-top: 14px; }
.metric { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 11px 13px; }
.metric b { display: block; font-size: 1.06rem; }
.metric span { font-size: .76rem; color: var(--muted); }
.gauge-wrap { display: flex; align-items: center; gap: 18px; margin-bottom: 12px; flex-wrap: wrap; }
.gauge { width: 116px; height: 116px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.4rem; color: var(--ink); }
.gauge i { font-style: normal; }
.hl-list { margin: 10px 0 0; padding-left: 18px; }
.hl-list li { margin: 5px 0; }
.alert { border-radius: var(--radius); padding: 13px 15px; margin: 12px 0; font-size: .92rem; }
.alert-info { background: var(--brand-soft); color: #4338ca; }
.alert-warn { background: #fef3c7; color: #92400e; }
.alert-error { background: #fee2e2; color: #991b1b; }
.alert-ok { background: #d1fae5; color: #065f46; }
.disclaimer { font-size: .8rem; color: var(--muted); margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); }

/* ---------- Loading ---------- */
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.loading-bar { height: 4px; border-radius: 4px; background: var(--grad); background-size: 200%; animation: slide 1.1s linear infinite; margin-top: 14px; }
@keyframes spin { to { transform: rotate(360deg) } }
@keyframes slide { to { background-position: -200% 0 } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.card {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 20px; display: block; color: var(--ink); text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
a.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(109, 92, 255, .4); }
a.card:hover h3 { color: var(--brand); }
.card .t-ic {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 12px;
  transition: all .18s ease;
}
a.card:hover .t-ic { background: var(--grad); color: #fff; box-shadow: 0 8px 18px -8px rgba(109,92,255,.6); }
.card h3 { margin: 0 0 6px; transition: color .15s ease; }
.card p { margin: 0; color: var(--muted); font-size: .88rem; }
.section { margin: 52px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 28px; }
.section-head .kicker { color: var(--brand); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: .75rem; font-weight: 700; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .07s; } .reveal:nth-child(3) { transition-delay: .14s; }
.reveal:nth-child(4) { transition-delay: .07s; } .reveal:nth-child(5) { transition-delay: .14s; } .reveal:nth-child(6) { transition-delay: .21s; }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); margin-bottom: 10px; transition: box-shadow .15s ease; }
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary { padding: 15px 17px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--brand); font-weight: 800; font-size: 1.1rem; transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 17px 15px; color: var(--ink-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: #aab1d6; margin-top: 48px; padding: 46px 0 26px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 1px; background: var(--grad); opacity: .6; }
.site-footer a { color: #aab1d6; text-decoration: none; font-size: .88rem; transition: color .14s ease; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; } }
.footer-grid h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: 8px 0; }
.footer-bottom { border-top: 1px solid #1d2440; margin-top: 30px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: .8rem; color: #7e86b3; }

/* ---------- Blog ---------- */
.post-card img { border-radius: var(--radius); aspect-ratio: 16/9; object-fit: cover; width: 100%; background: var(--brand-soft); }
.post-body { max-width: 780px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 42px); box-shadow: var(--shadow); }
.post-body img { border-radius: var(--radius); }
.post-hero-image { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--brand-soft); }
.post-body h2 { margin-top: 1.6em; }
.post-body pre { background: var(--night); color: #d7dcf5; padding: 16px; border-radius: var(--radius); overflow-x: auto; font-size: .88rem; }
.post-body blockquote { border-left: 3px solid var(--brand); margin: 1em 0; padding: 4px 0 4px 16px; color: var(--ink-2); }
.post-body { overflow-wrap: anywhere; }
.post-body table {
  border-collapse: collapse;
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
}
.post-body td, .post-body th { border: 1px solid var(--line); padding: 8px 10px; }

/* ---------- Search ---------- */
.search-box { position: relative; }
.suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 70; overflow: hidden; display: none; }
.suggest.open { display: block; animation: pop .15s ease; }
.suggest a { display: flex; justify-content: space-between; gap: 10px; padding: 11px 14px; color: var(--ink); text-decoration: none !important; }
.suggest a:hover, .suggest a.sel { background: var(--brand-soft); }
.suggest .tag { font-size: .72rem; color: var(--muted); }

/* ---------- Chat widget ---------- */
.chat-fab { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--grad); color: #fff; font-size: 22px; box-shadow: 0 10px 30px -8px rgba(109,92,255,.7); cursor: pointer; transition: transform .18s ease; }
.chat-fab:hover { transform: scale(1.08); }
.chat-box { position: fixed; right: 14px; bottom: 84px; z-index: 90; width: min(370px, calc(100vw - 28px)); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); display: none; flex-direction: column; max-height: min(540px, 72vh); }
.chat-box.open { display: flex; animation: pop .2s ease; }
@media (max-width: 640px) {
  .chat-fab {
    width: 48px; height: 48px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
    font-size: 19px; opacity: .95;
  }
  .chat-box {
    right: 10px; bottom: 68px; width: min(350px, calc(100vw - 20px));
    max-height: min(500px, 70vh);
  }
}
.chat-head { padding: 13px 17px; background: var(--grad); color: #fff; border-radius: var(--radius-lg) var(--radius-lg) 0 0; display: flex; justify-content: space-between; align-items: center; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; min-height: 120px; }
.chat-msg { max-width: 85%; padding: 10px 13px; border-radius: 15px; font-size: .9rem; white-space: pre-wrap; animation: pop .18s ease; }
.chat-msg.user { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg.bot, .chat-msg.admin { align-self: flex-start; background: var(--wash); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat-msg.admin { border-color: var(--brand); }
.chat-input { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.chat-input input { flex: 1; }

/* ---------- Tables / admin ---------- */
table.tbl { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; font-size: .9rem; }
.tbl th, .tbl td { text-align: left; padding: 11px 13px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { background: var(--wash); font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.tbl tr:hover td { background: #fafbff; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; }
.pill-ok { background: #d1fae5; color: #065f46; }
.pill-warn { background: #fef3c7; color: #92400e; }
.pill-bad { background: #fee2e2; color: #991b1b; }
.pill-mut { background: var(--wash); color: var(--muted); }
.admin-wrap { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 980px) { .admin-wrap { grid-template-columns: 215px 1fr; } }
.admin-nav { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 10px; align-self: start; position: sticky; top: 82px; }
.admin-nav a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: .9rem; text-decoration: none !important; }
.admin-nav a:hover, .admin-nav a.active { background: var(--brand-soft); color: var(--brand); }

/* ---------- Pricing ---------- */
.plan-card { position: relative; }
.plan-card.featured { border: 2px solid transparent; background: linear-gradient(var(--paper), var(--paper)) padding-box, var(--grad) border-box; box-shadow: var(--shadow-lg); }
.price-line { font-size: 1.8rem; font-weight: 800; color: var(--ink); margin: 8px 0; }

/* ---------- Ads ---------- */
.ad-slot { margin: 24px auto; text-align: center; overflow: hidden; }
.ad-slot:empty { display: none; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 16px; } .mb-2 { margin-bottom: 16px; }
.flex { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.hide { display: none !important; }
.pagination { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 24px; }
.pagination a, .pagination span { padding: 8px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font-size: .85rem; }
.pagination .active span { background: var(--grad); color: #fff; border-color: transparent; }
@media (max-width: 360px) {
  .shell { padding: 0 10px; }
  .btn, button { padding: 9px 13px; font-size: .88rem; }
  h1 { font-size: 1.5rem; }
  .hero-dark { padding: 40px 0 150px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Full-bleed sections inside the main shell */
.hero-dark, .page-banner { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.hero-dark > .shell, .page-banner > .shell { position: relative; z-index: 2; }
main > .shell > .hero-dark:first-child, main > .shell > .page-banner:first-child { margin-top: -26px; }

/* ============ v3: ZeroGPT-parity components ============ */

/* Promo top bar */
.promo-bar { background: linear-gradient(90deg, #134e6f, #0b3954); color: #fff; text-align: center; padding: 10px 40px 10px 16px; font-size: .9rem; font-weight: 600; position: relative; z-index: 51; }
.promo-bar a { color: #fff; text-decoration: underline; }
.promo-close { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; font-size: 16px; cursor: pointer; padding: 4px 8px; }

/* Tool workspace: left icon rail + form (ZeroGPT-style) */
.workspace { display: grid; grid-template-columns: 1fr; gap: 0; max-width: 1060px; margin: 0 auto; position: relative; z-index: 2; }
@media (min-width: 900px) { .workspace { grid-template-columns: 230px 1fr; } }
.tool-rail { display: flex; gap: 6px; overflow-x: auto; padding: 6px 2px; scrollbar-width: thin; }
@media (min-width: 900px) {
  .tool-rail { flex-direction: column; overflow: visible; padding: 14px 0 14px 0; }
}
.tool-rail a {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px 0 0 12px;
  color: var(--ink-2); font-weight: 600; font-size: .88rem; text-decoration: none !important;
  white-space: nowrap; border: 1px solid transparent; transition: all .15s ease;
}
@media (max-width: 899px) { .tool-rail a { border-radius: 999px; background: var(--paper); border-color: var(--line); padding: 8px 14px; } }
.tool-rail a:hover { color: var(--brand); background: var(--brand-soft); }
.tool-rail a.active { background: var(--paper); color: var(--brand); border-color: var(--line); border-right-color: transparent; box-shadow: -6px 4px 16px -10px rgba(14,18,38,.18); position: relative; }
.tool-rail a.active::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--grad); }
.tool-rail .ric { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex: 0 0 30px; }
.workspace .panel { border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg); }
@media (max-width: 899px) { .workspace .panel { border-radius: var(--radius-lg); margin-top: 8px; } }

/* Colored icon circles (trusted tools / rail) */
.ic-c { color: #fff !important; }
.ic-0 { background: #10b981; } .ic-1 { background: #3b82f6; } .ic-2 { background: #f59e0b; }
.ic-3 { background: #ef4444; } .ic-4 { background: #8b5cf6; } .ic-5 { background: #06b6d4; }
.ic-6 { background: #ec4899; } .ic-7 { background: #84cc16; }

/* Trusted tools strip */
.trusted-card { display: flex; align-items: center; gap: 12px; padding: 16px 18px; }
.trusted-card .t-ic { margin: 0; width: 44px; height: 44px; border-radius: 50%; }
.trusted-card b { flex: 1; }
.trusted-card .chev { color: var(--muted); transition: transform .15s ease; }
a.trusted-card:hover .chev { transform: translateX(4px); color: var(--brand); }

/* Dark messengers/CTA section */
.dark-section {
  position: relative; overflow: hidden; color: #e7e9f8; border-radius: var(--radius-lg);
  background: radial-gradient(700px 320px at 85% 10%, rgba(168,85,247,.3), transparent 60%), var(--night);
  padding: clamp(24px, 5vw, 48px);
}
.dark-section h2 { color: #fff; }
.dark-section p { color: #aab1d6; }
.msg-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 20px; }
.msg-card h3 { color: #fff; }
.msg-card p { font-size: .9rem; }

/* Pricing v3 */
.billing-toggle { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 6px 0 26px; flex-wrap: wrap; }
.switch { position: relative; width: 52px; height: 28px; background: var(--grad); border-radius: 999px; border: 0; cursor: pointer; flex: 0 0 52px; padding: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .18s ease; }
.switch[aria-checked="true"]::after { transform: translateX(24px); }
.save-badge { background: #fef3c7; color: #92400e; padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.price-was { text-decoration: line-through; color: var(--muted); font-size: 1rem; font-weight: 600; margin-right: 6px; }
.free-hero { display: grid; gap: 20px; grid-template-columns: 1fr; align-items: center; margin-bottom: 34px; }
@media (min-width: 800px) { .free-hero { grid-template-columns: 1.3fr 1fr; } }
.free-price { font-size: 3rem; font-weight: 800; }
.free-price sup { font-size: 1.2rem; }
.compare-wrap { overflow-x: auto; }
.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
}
.table-scroll .tbl { min-width: 480px; }
.compare-wrap .tbl th:first-child { min-width: 220px; }
.compare-wrap .ok { color: var(--ok); font-weight: 700; }
.compare-wrap .no { color: var(--bad); font-weight: 700; }

/* Modal (ad-blocker notice) */
.modal-back { position: fixed; inset: 0; background: rgba(11,16,32,.6); z-index: 120; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal-back.open { display: flex; }
.modal { background: var(--paper); border-radius: var(--radius-lg); max-width: 460px; width: 100%; padding: 28px; text-align: center; box-shadow: var(--shadow-lg); animation: pop .25s ease; position: relative; }
.modal .modal-x { position: absolute; right: 12px; top: 10px; background: none; border: 0; font-size: 18px; cursor: pointer; color: var(--muted); }

/* ============================================================
   v4 — Futuristic design system upgrade
   Display typography, neural visuals, micro-interactions,
   AI scanning states, premium polish. Reduced-motion safe.
   ============================================================ */
:root {
  --brand: #5b5bf7;
  --brand-2: #9333ea;
  --accent: #2dd4ee;
  --night: #070b1a;
  --glow: 0 0 24px rgba(91, 91, 247, .35);
  --font-display: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
}
h1, h2, h3, .brand, .price-line, .free-price, .stat-row .stat b { font-family: var(--font-display); }
h1 { letter-spacing: -.035em; }

/* Buttons: press physics + sheen */
.btn, button { will-change: transform; }
.btn:active, button:active { transform: translateY(1px) scale(.985); }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .45s ease;
}
.btn-primary:hover::after { left: 130%; }

/* Nav: active page + animated underline */
.nav-links > a { position: relative; }
.nav-links > a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 5px; height: 2px;
  border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left;
  transition: transform .22s ease;
}
.nav-links > a:hover::after, .nav-links > a.active::after { transform: scaleX(1); }
.nav-links > a.active { color: var(--brand); }

/* Animated burger */
.nav-burger { width: 42px; height: 38px; display: grid; place-items: center; font-size: 0; }
.nav-burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: all .22s ease; }
.nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .22s ease; }
.nav-burger span::before { top: -6px; } .nav-burger span::after { top: 6px; }
.nav-burger[aria-expanded="true"] span { background: transparent; }
.nav-burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* Hero: neural net + particles + scanline */
.neural { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .5; }
.neural line { stroke: rgba(122, 132, 255, .18); stroke-width: 1; }
.neural circle { fill: #7a84ff; opacity: .6; }
.neural .pulse { animation: nodepulse 3.2s ease-in-out infinite; }
.neural .pulse:nth-child(2n) { animation-delay: -1.2s; }
.neural .pulse:nth-child(3n) { animation-delay: -2.1s; }
@keyframes nodepulse { 0%, 100% { opacity: .25; r: 2 } 50% { opacity: .9; r: 3.4 } }
.particles span {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent); opacity: .35; filter: blur(.5px);
  animation: rise 11s linear infinite; pointer-events: none;
}
@keyframes rise { 0% { transform: translateY(40vh) scale(.6); opacity: 0 } 12% { opacity: .4 } 88% { opacity: .35 } 100% { transform: translateY(-12vh) scale(1.1); opacity: 0 } }

/* Trust badges */
.trust-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.trust-badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px;
  font-size: .78rem; font-weight: 600; color: #cfd4f1;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.13); backdrop-filter: blur(6px);
}
.trust-badge svg { width: 14px; height: 14px; color: var(--accent); }
.light .trust-badge, .trust-badge.light { color: var(--ink-2); background: var(--paper); border-color: var(--line); }

/* AI scanning loading state */
.scan-loader { padding: 26px 18px; text-align: center; }
.scan-loader .scan-box { position: relative; height: 64px; max-width: 380px; margin: 0 auto 14px; border: 1px dashed var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.scan-loader .scan-line { position: absolute; left: 0; right: 0; height: 3px; border-radius: 3px; background: var(--grad); box-shadow: var(--glow); animation: scanmove 1.4s ease-in-out infinite; }
@keyframes scanmove { 0%, 100% { top: 8% } 50% { top: 86% } }
.scan-loader .scan-rows { position: absolute; inset: 10px 14px; display: grid; gap: 8px; }
.scan-loader .scan-rows i { height: 7px; border-radius: 4px; background: var(--wash); animation: rowpulse 1.4s ease-in-out infinite; }
.scan-loader .scan-rows i:nth-child(2) { width: 80%; animation-delay: .15s; }
.scan-loader .scan-rows i:nth-child(3) { width: 60%; animation-delay: .3s; }
@keyframes rowpulse { 50% { background: var(--brand-soft) } }
.scan-loader p { margin: 0; font-weight: 600; color: var(--ink-2); }
.scan-loader p::after { content: ""; animation: dots 1.4s steps(4) infinite; }
@keyframes dots { 0% { content: "" } 25% { content: "." } 50% { content: ".." } 75% { content: "..." } }

/* Result reveal + error shake */
#tool-result.show-ok { animation: rise-in .35s ease; }
@keyframes rise-in { from { opacity: 0; transform: translateY(14px) } }
#tool-result.show-err { animation: shake .3s ease; }
@keyframes shake { 25% { transform: translateX(-5px) } 75% { transform: translateX(5px) } }

/* FAQ smooth open */
.faq-item .faq-a { overflow: hidden; }
.faq-item[open] .faq-a { animation: faqopen .28s ease; }
@keyframes faqopen { from { opacity: 0; transform: translateY(-6px) } }

/* Stats / count-up */
.stat-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card { text-align: center; padding: 22px 12px; border-radius: var(--radius-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.stat-card b { display: block; font-size: clamp(1.6rem, 4vw, 2.4rem); color: #fff; font-family: var(--font-display); }
.stat-card span { color: #8e96c2; font-size: .82rem; }

/* Animated gradient divider */
.glow-line { height: 2px; border: 0; border-radius: 2px; background: var(--grad); background-size: 200%; animation: slide 4s linear infinite; opacity: .7; max-width: 240px; margin: 0 auto; }

/* Back to top */
.to-top {
  position: fixed; right: 18px; bottom: 86px; z-index: 89; width: 44px; height: 44px; border-radius: 12px;
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); cursor: pointer;
  display: grid; place-items: center; opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease; font-size: 18px; color: var(--brand);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }

/* Blog listing cards */
.blog-filter-section { text-align: center; margin: 6px 0 24px; }
.blog-filter-section .tool-pills { margin-top: 0; }
.blog-grid { align-items: stretch; }
.blog-grid .reveal { opacity: 1; transform: none; }
.blog-grid .post-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  min-height: 100%; padding: 16px;
}
.post-card-media {
  display: block; overflow: hidden; margin: 0 0 14px;
  border-radius: var(--radius); background: var(--brand-soft);
}
.post-card-media img {
  display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover;
  border-radius: 0; transition: transform .35s ease;
}
a.post-card:hover .post-card-media img { transform: scale(1.04); }
.cat-badge {
  display: inline-flex; align-items: center; width: max-content; max-width: 100%;
  margin: 0 0 10px; padding: 5px 10px; border-radius: 999px;
  background: var(--brand-soft); border: 1px solid rgba(21,94,117,.16);
  color: var(--brand); font-size: .72rem; font-weight: 800; line-height: 1.1;
}
.blog-grid .post-card h3 { margin-top: 0; }
.post-card-date { margin-top: auto !important; padding-top: 12px; }
.post-card-date span { color: var(--brand); font-weight: 700; }
.blog-post-crumbs {
  max-width: 780px; margin: 12px auto 18px; padding-top: 10px;
}

/* Form validation states */
input:user-invalid, textarea:user-invalid { border-color: var(--bad); }
input:user-valid:focus, textarea:user-valid:focus { border-color: var(--ok); box-shadow: 0 0 0 4px rgba(16,185,129,.12); }

/* Glass utility */
.glass { background: rgba(255,255,255,.65); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.6); }

@media (prefers-reduced-motion: reduce) {
  .particles span, .neural .pulse, .scan-loader .scan-line, .glow-line, .btn-primary::after { animation: none !important; transition: none !important; }
}

/* ============ v5 — Premium light homepage ============ */
.hero-lite {
  position: relative; text-align: center; padding: 54px 0 30px;
  margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  background:
    radial-gradient(900px 420px at 50% -160px, rgba(109, 92, 255, .14), transparent 65%),
    radial-gradient(620px 320px at 88% -60px, rgba(45, 212, 238, .12), transparent 60%),
    radial-gradient(560px 300px at 8% -40px, rgba(168, 85, 247, .1), transparent 60%);
}
.hero-lite::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: linear-gradient(rgba(14,18,38,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(14,18,38,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(720px 360px at 50% 0%, #000 25%, transparent 78%);
}
.hero-lite > .shell { position: relative; z-index: 2; }
.hero-lite h1 { margin: 16px auto 12px; max-width: 760px; }
.hero-lite .lead { max-width: 600px; margin: 0 auto 8px; color: var(--muted); font-size: clamp(.98rem, 2vw, 1.12rem); }
.hero-lite .neural { opacity: .35; }
.hero-lite .neural line { stroke: rgba(109, 92, 255, .22); }
.hero-lite .neural circle { fill: var(--brand); }
.lite-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink-2);
  font-size: .8rem; font-weight: 600; box-shadow: var(--shadow);
}
.lite-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); animation: pulse 2s infinite; }
.trust-row.on-light .trust-badge { color: var(--ink-2); background: var(--paper); border-color: var(--line); box-shadow: var(--shadow); }
.trust-row.on-light .trust-badge svg { color: var(--brand); }

/* Workspace with gradient glow border */
.workspace-glow { position: relative; padding: 1.5px; border-radius: calc(var(--radius-lg) + 2px); background: linear-gradient(135deg, rgba(109,92,255,.55), rgba(45,212,238,.4) 50%, rgba(168,85,247,.5)); box-shadow: 0 30px 70px -30px rgba(109, 92, 255, .35); max-width: 1064px; margin: 6px auto 0; }
.workspace-glow .workspace { background: var(--wash); border-radius: var(--radius-lg); max-width: none; }
.workspace-glow .workspace .panel { box-shadow: none; border: 0; }
@media (max-width: 899px) { .workspace-glow .workspace { background: transparent; } .workspace-glow { background: none; box-shadow: none; padding: 0; } }

/* Floating decorative chips (desktop only) */
.float-chip {
  position: absolute; z-index: 1; display: none; align-items: center; gap: 8px;
  background: rgba(255,255,255,.85); backdrop-filter: blur(8px); border: 1px solid var(--line);
  border-radius: 14px; padding: 10px 14px; font-size: .8rem; font-weight: 700; color: var(--ink-2);
  box-shadow: var(--shadow-lg); animation: float 7s ease-in-out infinite;
}
@media (min-width: 1150px) { .float-chip { display: inline-flex; } }
.float-chip .mini-gauge { width: 26px; height: 26px; border-radius: 50%; background: conic-gradient(var(--ok) 43deg, var(--line) 0); display: grid; place-items: center; }
.float-chip .mini-gauge i { width: 16px; height: 16px; background: #fff; border-radius: 50%; }
.chip-a { left: max(16px, calc(50% - 640px)); top: 150px; animation-delay: -2s; }
.chip-b { right: max(16px, calc(50% - 640px)); top: 110px; }
.chip-c { right: max(30px, calc(50% - 600px)); top: 320px; animation-delay: -4.5s; }

/* Feature tiles (light, pastel icons) */
.feature-tile { text-align: center; padding: 26px 18px; }
.feature-tile .t-ic { margin: 0 auto 14px; width: 54px; height: 54px; border-radius: 16px; font-size: 0; }
.tile-0 .t-ic { background: #ecfdf5; color: #059669; } .tile-1 .t-ic { background: #eff6ff; color: #2563eb; }
.tile-2 .t-ic { background: #fffbeb; color: #d97706; } .tile-3 .t-ic { background: #fdf2f8; color: #db2777; }
.tile-4 .t-ic { background: #f5f3ff; color: #7c3aed; } .tile-5 .t-ic { background: #ecfeff; color: #0891b2; }
.section-lg { margin: 64px 0; }

/* How-it-works connecting line */
.steps-wrap { position: relative; }
@media (min-width: 980px) {
  .steps-wrap::before { content: ""; position: absolute; top: 44px; left: 18%; right: 18%; height: 2px; background: linear-gradient(90deg, transparent, var(--brand-soft) 12%, #d8d4ff 50%, var(--brand-soft) 88%, transparent); }
}
.step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; display: grid; place-items: center; margin: 0 auto 12px; box-shadow: var(--glow); position: relative; z-index: 1; font-family: var(--font-display); }

/* ============ v6: chat page, bg-remover landing, nav special ============ */
.nav-special { background: var(--grad); color: #fff !important; border-radius: 11px; padding: 9px 14px !important; position: relative; box-shadow: 0 6px 18px -8px rgba(109,92,255,.55); }
.nav-special:hover { filter: brightness(1.07); background: var(--grad) !important; }
.nav-special .pop-tag { position: absolute; top: -9px; right: -8px; background: #be123c; color: #fff; font-size: .58rem; font-weight: 800; padding: 2px 7px; border-radius: 999px; letter-spacing: .03em; }
.nav-special::after { display: none !important; }

/* Chat page */
.chat-page { max-width: 860px; margin: 0 auto; }
.chat-thread { display: flex; flex-direction: column; gap: 10px; min-height: 320px; max-height: 56vh; overflow-y: auto; padding: 6px 2px 14px; }
.chat-thread .chat-msg { max-width: 88%; }
.chat-thread .chat-msg.bot { background: var(--wash); }
.chat-msg.typing::after { content: ""; animation: dots 1.2s steps(4) infinite; }
.chat-compose { display: flex; gap: 8px; align-items: flex-end; border-top: 1px solid var(--line); padding-top: 12px; }
.chat-compose textarea { min-height: 46px; max-height: 160px; resize: none; flex: 1; }
.chat-compose .btn-sm { flex: 0 0 auto; }
@media (max-width: 520px) { .chat-compose { flex-wrap: wrap; } .chat-compose .btn-primary { flex: 1; } }

/* Background remover demo */
.bgr-demo { text-align: center; }
.bgr-checker {
  position: relative; width: min(300px, 80%); aspect-ratio: 6/7; margin: 0 auto; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  background: repeating-conic-gradient(#e8eaf3 0% 25%, #ffffff 0% 50%) 0 0 / 24px 24px;
  display: grid; place-items: end center;
}
.bgr-subject { position: relative; z-index: 1; filter: drop-shadow(0 8px 16px rgba(14,18,38,.25)); }
.bgr-scan { position: absolute; left: 0; right: 0; height: 3px; background: var(--grad); box-shadow: var(--glow); animation: scanmove 2.6s ease-in-out infinite; }
@media (max-width: 799px) { .bgr-hero { grid-template-columns: 1fr; } .bgr-demo { order: 2; } }
@media (prefers-reduced-motion: reduce) { .bgr-scan { animation: none; } }

/* ============================================================
   v8 — Single-color brand (ZeroGPT-style deep teal blue)
   One primary color, no gradients. Overrides earlier tokens.
   ============================================================ */
:root {
  --brand: #155e75;
  --brand-2: #155e75;
  --accent: #0e7490;
  --brand-soft: #e7f2f7;
  --grad: linear-gradient(0deg, #155e75, #155e75); /* solid — collapses every gradient use */
  --glow: 0 0 20px rgba(21, 94, 117, .28);
  --shadow-lg: 0 6px 16px -6px rgba(21, 94, 117, .12), 0 24px 48px -16px rgba(21, 94, 117, .18);
}
.gradient-text { background: none; -webkit-background-clip: initial; background-clip: initial; -webkit-text-fill-color: initial; color: var(--brand); }
.btn-primary { box-shadow: 0 8px 22px -8px rgba(21, 94, 117, .5); }
.btn-primary:hover { box-shadow: 0 12px 28px -8px rgba(21, 94, 117, .6); filter: brightness(1.08); }
.btn-primary::after { display: none; } /* no sheen sweep — calmer, like the reference */
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(21, 94, 117, .12); }
.brand-mark { box-shadow: 0 6px 14px -6px rgba(21, 94, 117, .5); }
.nav-special { box-shadow: 0 6px 16px -8px rgba(21, 94, 117, .5); }

/* Light hero: teal tints instead of violet/cyan mesh */
.hero-lite {
  background:
    radial-gradient(900px 420px at 50% -160px, rgba(21, 94, 117, .12), transparent 65%),
    radial-gradient(620px 320px at 88% -60px, rgba(14, 116, 144, .08), transparent 60%),
    radial-gradient(560px 300px at 8% -40px, rgba(21, 94, 117, .07), transparent 60%);
}
.hero-lite .neural line { stroke: rgba(21, 94, 117, .2); }
.hero-lite .neural circle { fill: var(--brand); }
.neural line { stroke: rgba(120, 170, 190, .2); }
.neural circle { fill: #6da9bd; }

/* Dark sections: navy-teal instead of purple glow */
.dark-section {
  background: radial-gradient(700px 320px at 85% 10%, rgba(21, 94, 117, .45), transparent 60%), #0c2430;
}
.page-banner {
  background:
    radial-gradient(800px 300px at 80% -20%, rgba(21, 94, 117, .5), transparent 60%),
    radial-gradient(600px 280px at 10% -10%, rgba(14, 116, 144, .25), transparent 55%),
    #0c2430;
}
.site-footer { background: #0c2430; }
.hero-dark { background: radial-gradient(1100px 500px at 70% -10%, rgba(21, 94, 117, .5), transparent 60%), #0c2430; }
.orb-1 { background: #155e75; } .orb-2 { background: #0e7490; }
.promo-bar { background: #134e6f; }
.workspace-glow { background: rgba(21, 94, 117, .3); box-shadow: 0 30px 60px -30px rgba(21, 94, 117, .3); }
.chat-head, .step-num { background: var(--brand); }
.float-chip { animation-duration: 8s; }
.save-badge { background: var(--brand-soft); color: var(--brand); }
.pagination .active span { background: var(--brand); }
.plan-card.featured { background: var(--paper); border: 2px solid var(--brand); }
.glow-line { background: var(--brand); animation: none; opacity: .45; }
.scan-loader .scan-line, .bgr-scan { background: var(--brand); }
.tool-pills a.active { background: var(--brand); box-shadow: 0 8px 18px -8px rgba(21, 94, 117, .55); }
.chat-fab { background: var(--brand); box-shadow: 0 10px 26px -8px rgba(21, 94, 117, .6); }
.chat-msg.user { background: var(--brand); }
.to-top { color: var(--brand); }

/* v9: professional visual assets, breadcrumb polish, pricing graphs */
.page-banner .shell { position: relative; z-index: 2; }
.page-banner .crumbs {
  width: max-content; max-width: 100%;
  padding: 7px 11px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
}
.page-banner .crumbs a, .page-banner .crumbs span { text-decoration: none; }
.crumb-sep { opacity: .7; }
.banner-art {
  position: absolute; right: 16px; top: 50%; width: 260px; height: 132px;
  transform: translateY(-50%); opacity: .7; pointer-events: none;
}
.ba-node, .ba-line, .ba-card { position: absolute; display: block; }
.ba-node {
  width: 14px; height: 14px; border-radius: 50%;
  background: #9bd8e5; box-shadow: 0 0 0 8px rgba(155,216,229,.08);
}
.ba-1 { left: 22px; top: 22px; }
.ba-2 { left: 136px; top: 54px; background: #f59e0b; box-shadow: 0 0 0 8px rgba(245,158,11,.1); }
.ba-3 { right: 22px; bottom: 18px; background: #10b981; box-shadow: 0 0 0 8px rgba(16,185,129,.1); }
.ba-line {
  height: 2px; border-radius: 2px; background: rgba(255,255,255,.28);
  transform-origin: left center;
}
.ba-l1 { left: 38px; top: 31px; width: 112px; transform: rotate(16deg); }
.ba-l2 { left: 148px; top: 68px; width: 98px; transform: rotate(23deg); }
.ba-card {
  border: 1px solid rgba(255,255,255,.16); border-radius: 12px;
  background: rgba(255,255,255,.08); box-shadow: 0 18px 36px -28px rgba(0,0,0,.35);
}
.ba-card-1 { left: 74px; bottom: 18px; width: 78px; height: 38px; }
.ba-card-2 { right: 42px; top: 10px; width: 92px; height: 48px; }
@media (max-width: 840px) { .banner-art { display: none; } }

.pricing-hero-pro {
  display: grid; gap: 22px; grid-template-columns: 1fr;
  align-items: center; margin: 8px 0 22px;
}
.pricing-hero-copy {
  position: relative; padding: clamp(18px, 4vw, 34px);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255,255,255,.96), rgba(241,249,251,.94)),
    radial-gradient(420px 240px at 20% 10%, rgba(14,116,144,.12), transparent 62%);
  box-shadow: var(--shadow);
}
.pricing-hero-copy .kicker {
  display: inline-flex; margin-bottom: 12px; color: var(--brand);
  font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.pricing-hero-copy h2 { margin: 0 0 12px; max-width: 660px; }
.pricing-hero-copy p { max-width: 660px; }
.pricing-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pricing-hero-visual {
  margin: 0; overflow: hidden; border: 1px solid var(--line);
  border-radius: var(--radius-lg); background: #f8fbfc; box-shadow: var(--shadow-lg);
}
.pricing-hero-visual img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 980px) {
  .pricing-hero-pro { grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); }
}
.pricing-proof-grid, .pricing-graph-grid {
  display: grid; grid-template-columns: 1fr; gap: 14px; margin: 20px 0 28px;
}
@media (min-width: 760px) {
  .pricing-proof-grid, .pricing-graph-grid { grid-template-columns: repeat(3, 1fr); }
}
.pricing-proof, .pricing-graph-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--paper); box-shadow: var(--shadow); padding: 18px;
}
.pricing-proof {
  display: grid; grid-template-columns: 44px 1fr; gap: 2px 12px; align-items: center;
}
.pricing-proof-icon, .plan-icon {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
}
.pricing-proof b { font-family: var(--font-display); font-size: 1.1rem; }
.pricing-proof span:last-child { grid-column: 2; color: var(--muted); font-size: .86rem; line-height: 1.35; }
.pricing-graph-card {
  min-height: 146px; display: grid; grid-template-columns: 1fr minmax(92px, 120px);
  align-items: end; gap: 16px;
}
.pricing-graph-card b { display: block; margin-top: 3px; line-height: 1.25; }
.mini-bars {
  height: 86px; display: grid; grid-template-columns: repeat(4, 1fr);
  align-items: end; gap: 8px; padding: 10px; border-radius: 14px;
  background: #f1f7fa;
}
.mini-bars span {
  display: block; min-height: 12px; border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, #0e7490, #155e75);
}
.mini-bars span:nth-child(2) { background: linear-gradient(180deg, #10b981, #0f766e); }
.mini-bars span:nth-child(3) { background: linear-gradient(180deg, #f59e0b, #b45309); }
.mini-line {
  position: relative; height: 86px; border-radius: 14px; overflow: hidden;
  background:
    linear-gradient(#dbe8ee 1px, transparent 1px) 0 0 / 100% 22px,
    #f1f7fa;
}
.mini-line::before {
  content: ""; position: absolute; left: 12px; right: 12px; top: 44px; height: 4px;
  border-radius: 999px; background: var(--brand);
  transform: skewY(-16deg); box-shadow: 22px -14px 0 -1px #10b981, 52px -4px 0 -1px #0e7490;
}
.mini-line span {
  position: absolute; right: 18px; top: 18px; width: 12px; height: 12px;
  border-radius: 50%; background: #f59e0b;
}
.mini-ring {
  width: 96px; height: 96px; border-radius: 50%; padding: 8px;
  background: conic-gradient(var(--brand) 0 76%, #dceaf0 76% 100%);
}
.mini-ring span {
  display: grid; place-items: center; width: 100%; height: 100%;
  border-radius: 50%; background: var(--paper); color: var(--brand);
}
.plan-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 42px; }
.plan-card.featured .plan-icon { background: var(--brand); color: #fff; }
.enterprise-visual {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px auto 24px;
}
.enterprise-visual span {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px;
  border-radius: 999px; background: var(--brand-soft); color: var(--brand);
  font-size: .84rem; font-weight: 700;
}

.bgr-showcase {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 10px; align-items: center; padding: 12px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: linear-gradient(145deg, #ffffff, #eef7fa);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.bgr-shot {
  margin: 0; position: relative; overflow: hidden; border-radius: 16px;
  border: 1px solid rgba(21,94,117,.14); background: var(--paper);
  min-height: 286px; display: grid; align-content: stretch;
}
.bgr-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bgr-shot figcaption {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  padding: 5px 9px; border-radius: 999px; background: rgba(12,36,48,.78);
  color: #fff; font-size: .72rem; font-weight: 800; backdrop-filter: blur(6px);
}
.bgr-arrow {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: #fff; box-shadow: var(--shadow);
}
.bgr-shot .bgr-checker {
  width: 100%; height: 100%; min-height: 286px; margin: 0; border: 0; border-radius: 0;
  box-shadow: none; display: grid; place-items: end center;
  background: repeating-conic-gradient(#dfe5eb 0% 25%, #ffffff 0% 50%) 0 0 / 22px 22px;
}
.bgr-subject-img {
  width: 112% !important; height: auto !important; align-self: end;
  object-fit: contain !important; filter: drop-shadow(0 10px 16px rgba(14,18,38,.22));
}
.bgr-showcase .bgr-scan {
  position: absolute; left: 12px; right: 12px; height: 3px; z-index: 3;
  background: var(--brand); box-shadow: var(--glow); animation: scanmove 2.6s ease-in-out infinite;
}
@media (max-width: 620px) {
  .bgr-showcase { grid-template-columns: 1fr; }
  .bgr-arrow { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 4; }
  .bgr-shot { min-height: 240px; }
  .bgr-shot .bgr-checker { min-height: 240px; }
}
@media (max-width: 640px) {
  .hero-dark, .page-banner { margin-left: -18px; margin-right: -18px; }
}
@media (min-width: 1000px) {
  .nav-burger { display: none; }
}

/* v10: tools page 3D realistic icon treatment */
.tools-catalog > h2 {
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.tools-catalog > h2::before {
  content: ""; width: 10px; height: 28px; border-radius: 999px;
  background: linear-gradient(180deg, #0e7490, #155e75);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 10px 18px -12px rgba(21,94,117,.7);
}
.tool-card-3d {
  overflow: hidden; isolation: isolate;
  background:
    radial-gradient(360px 180px at 10% 0%, rgba(21,94,117,.08), transparent 62%),
    linear-gradient(180deg, #fff, #fbfdfe);
}
.tool-card-3d::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 56px; z-index: -1;
  background: linear-gradient(180deg, rgba(21,94,117,.05), transparent);
  opacity: .85;
}
.tool-card-3d:hover {
  border-color: rgba(21,94,117,.28);
  box-shadow: 0 16px 34px -26px rgba(10,35,48,.44), 0 18px 44px -26px rgba(21,94,117,.34);
}
.tool-card-3d .tool-icon-3d {
  position: relative; isolation: isolate; overflow: visible;
  width: 58px; height: 58px; border-radius: 18px;
  color: #fff; transform-style: preserve-3d;
  background:
    radial-gradient(circle at 32% 22%, rgba(255,255,255,.82) 0 9%, rgba(255,255,255,.22) 10% 22%, transparent 23%),
    linear-gradient(145deg, var(--icon-hi, #2dd4ee), var(--icon-mid, #0e7490) 48%, var(--icon-low, #0b4f63));
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,.55),
    inset -8px -10px 18px rgba(4,31,43,.28),
    inset 0 -3px 0 rgba(5,47,61,.38),
    0 12px 22px -12px rgba(12,36,48,.62),
    0 4px 0 rgba(11,67,83,.22);
}
.tool-card-3d .tool-icon-3d::before {
  content: ""; position: absolute; inset: 5px 6px auto 6px; height: 45%;
  border-radius: 14px 14px 18px 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,255,255,.08));
  pointer-events: none; z-index: 1; mix-blend-mode: screen;
}
.tool-card-3d .tool-icon-3d::after {
  content: ""; position: absolute; left: 9px; right: 9px; bottom: -9px; height: 12px;
  border-radius: 50%; background: rgba(12,36,48,.22); filter: blur(6px);
  z-index: -1; transform: translateZ(-1px);
}
.tool-card-3d .tool-icon-3d svg {
  position: relative; z-index: 2; width: 27px; height: 27px;
  stroke-width: 2.15; filter: drop-shadow(0 2px 2px rgba(4,31,43,.36));
}
a.tool-card-3d:hover .tool-icon-3d {
  transform: translateY(-3px) rotateX(8deg) rotateY(-8deg);
  background:
    radial-gradient(circle at 32% 22%, rgba(255,255,255,.82) 0 9%, rgba(255,255,255,.22) 10% 22%, transparent 23%),
    linear-gradient(145deg, var(--icon-hi, #2dd4ee), var(--icon-mid, #0e7490) 48%, var(--icon-low, #0b4f63));
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,.62),
    inset -8px -10px 18px rgba(4,31,43,.22),
    inset 0 -3px 0 rgba(5,47,61,.32),
    0 18px 30px -14px rgba(12,36,48,.7),
    0 6px 0 rgba(11,67,83,.18);
}
.tool-card-3d:nth-child(8n+1) .tool-icon-3d { --icon-hi:#67e8f9; --icon-mid:#0e7490; --icon-low:#0f4c5c; }
.tool-card-3d:nth-child(8n+2) .tool-icon-3d { --icon-hi:#6ee7b7; --icon-mid:#0f766e; --icon-low:#115e59; }
.tool-card-3d:nth-child(8n+3) .tool-icon-3d { --icon-hi:#bae6fd; --icon-mid:#0369a1; --icon-low:#0c4a6e; }
.tool-card-3d:nth-child(8n+4) .tool-icon-3d { --icon-hi:#fcd34d; --icon-mid:#b7791f; --icon-low:#7c4a03; }
.tool-card-3d:nth-child(8n+5) .tool-icon-3d { --icon-hi:#99f6e4; --icon-mid:#155e75; --icon-low:#083344; }
.tool-card-3d:nth-child(8n+6) .tool-icon-3d { --icon-hi:#a7f3d0; --icon-mid:#047857; --icon-low:#064e3b; }
.tool-card-3d:nth-child(8n+7) .tool-icon-3d { --icon-hi:#7dd3fc; --icon-mid:#0e7490; --icon-low:#164e63; }
.tool-card-3d:nth-child(8n) .tool-icon-3d { --icon-hi:#ccfbf1; --icon-mid:#0f766e; --icon-low:#134e4a; }
@media (prefers-reduced-motion: no-preference) {
  .tool-card-3d .tool-icon-3d { transition: transform .22s ease, box-shadow .22s ease; }
}

/* v11: decent 3D homepage icons */
.home-icon-3d {
  position: relative; isolation: isolate; overflow: visible;
  color: #fff !important; transform-style: preserve-3d;
  background:
    radial-gradient(circle at 30% 22%, rgba(255,255,255,.72) 0 8%, rgba(255,255,255,.22) 9% 21%, transparent 22%),
    linear-gradient(145deg, var(--home-icon-hi, #67e8f9), var(--home-icon-mid, #0e7490) 52%, var(--home-icon-low, #0f4c5c)) !important;
  box-shadow:
    inset 1px 1px 0 rgba(255,255,255,.52),
    inset -7px -8px 15px rgba(8,38,50,.24),
    inset 0 -2px 0 rgba(8,45,58,.28),
    0 12px 20px -14px rgba(12,36,48,.58),
    0 4px 0 rgba(11,67,83,.16) !important;
}
.home-icon-3d::before {
  content: ""; position: absolute; inset: 5px 6px auto 6px; height: 42%;
  border-radius: inherit; border-bottom-left-radius: 18px; border-bottom-right-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.54), rgba(255,255,255,.08));
  pointer-events: none; z-index: 1; mix-blend-mode: screen;
}
.home-icon-3d::after {
  content: ""; position: absolute; left: 8px; right: 8px; bottom: -8px; height: 10px;
  border-radius: 50%; background: rgba(12,36,48,.2); filter: blur(5px);
  z-index: -1;
}
.home-icon-3d svg {
  position: relative; z-index: 2; filter: drop-shadow(0 2px 2px rgba(4,31,43,.28));
}
a.card:hover .home-icon-3d {
  background:
    radial-gradient(circle at 30% 22%, rgba(255,255,255,.72) 0 8%, rgba(255,255,255,.22) 9% 21%, transparent 22%),
    linear-gradient(145deg, var(--home-icon-hi, #67e8f9), var(--home-icon-mid, #0e7490) 52%, var(--home-icon-low, #0f4c5c)) !important;
  transform: translateY(-2px) rotateX(6deg) rotateY(-5deg);
}
.trusted-card .home-icon-3d { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 16px; }
.feature-tile .home-icon-3d { border-radius: 18px; }
.home-tool-card-3d .home-icon-3d { border-radius: 16px; }
.home-icon-3d.ic-0 { --home-icon-hi:#6ee7b7; --home-icon-mid:#10b981; --home-icon-low:#047857; }
.home-icon-3d.ic-1 { --home-icon-hi:#93c5fd; --home-icon-mid:#3b82f6; --home-icon-low:#1e40af; }
.home-icon-3d.ic-2 { --home-icon-hi:#fde68a; --home-icon-mid:#f59e0b; --home-icon-low:#92400e; }
.home-icon-3d.ic-3 { --home-icon-hi:#fca5a5; --home-icon-mid:#ef4444; --home-icon-low:#991b1b; }
.home-icon-3d.ic-4 { --home-icon-hi:#c4b5fd; --home-icon-mid:#8b5cf6; --home-icon-low:#5b21b6; }
.home-icon-3d.ic-5 { --home-icon-hi:#67e8f9; --home-icon-mid:#06b6d4; --home-icon-low:#0e7490; }
.home-icon-3d.ic-6 { --home-icon-hi:#f9a8d4; --home-icon-mid:#ec4899; --home-icon-low:#9d174d; }
.home-icon-3d.ic-7 { --home-icon-hi:#bef264; --home-icon-mid:#84cc16; --home-icon-low:#4d7c0f; }
.home-tool-card-3d:nth-child(8n+1) .home-icon-3d { --home-icon-hi:#67e8f9; --home-icon-mid:#0e7490; --home-icon-low:#0f4c5c; }
.home-tool-card-3d:nth-child(8n+2) .home-icon-3d { --home-icon-hi:#6ee7b7; --home-icon-mid:#10b981; --home-icon-low:#047857; }
.home-tool-card-3d:nth-child(8n+3) .home-icon-3d { --home-icon-hi:#93c5fd; --home-icon-mid:#3b82f6; --home-icon-low:#1e40af; }
.home-tool-card-3d:nth-child(8n+4) .home-icon-3d { --home-icon-hi:#fde68a; --home-icon-mid:#f59e0b; --home-icon-low:#92400e; }
.home-tool-card-3d:nth-child(8n+5) .home-icon-3d { --home-icon-hi:#c4b5fd; --home-icon-mid:#8b5cf6; --home-icon-low:#5b21b6; }
.home-tool-card-3d:nth-child(8n+6) .home-icon-3d { --home-icon-hi:#f9a8d4; --home-icon-mid:#ec4899; --home-icon-low:#9d174d; }
.home-tool-card-3d:nth-child(8n+7) .home-icon-3d { --home-icon-hi:#bef264; --home-icon-mid:#84cc16; --home-icon-low:#4d7c0f; }
.home-tool-card-3d:nth-child(8n) .home-icon-3d { --home-icon-hi:#a7f3d0; --home-icon-mid:#0f766e; --home-icon-low:#115e59; }
.tile-0 .home-icon-3d { --home-icon-hi:#6ee7b7; --home-icon-mid:#10b981; --home-icon-low:#047857; }
.tile-1 .home-icon-3d { --home-icon-hi:#93c5fd; --home-icon-mid:#3b82f6; --home-icon-low:#1e40af; }
.tile-2 .home-icon-3d { --home-icon-hi:#fde68a; --home-icon-mid:#f59e0b; --home-icon-low:#92400e; }
.tile-3 .home-icon-3d { --home-icon-hi:#f9a8d4; --home-icon-mid:#ec4899; --home-icon-low:#9d174d; }
.tile-4 .home-icon-3d { --home-icon-hi:#c4b5fd; --home-icon-mid:#8b5cf6; --home-icon-low:#5b21b6; }
.tile-5 .home-icon-3d { --home-icon-hi:#67e8f9; --home-icon-mid:#06b6d4; --home-icon-low:#0e7490; }
@media (prefers-reduced-motion: no-preference) {
  .home-icon-3d { transition: transform .2s ease, box-shadow .2s ease; }
}

/* v12: clean single-color outline system + easier tool discovery */
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.brand-mark,
.step-num,
.chat-fab,
.chat-head,
.promo-bar {
  background: var(--brand) !important;
}

.t-ic,
.ric,
.dropdown .t-ic,
.pricing-proof-icon,
.plan-icon,
.card .t-ic,
.feature-tile .t-ic,
.trusted-card .t-ic,
.icon-outline,
.tool-card-3d .tool-icon-3d,
.home-icon-3d,
.ic-c {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: #fff !important;
  color: var(--brand) !important;
  border: 1px solid rgba(21, 94, 117, .22) !important;
  box-shadow: none !important;
  transform: none !important;
  filter: none !important;
}

.tool-card-3d .tool-icon-3d,
.icon-outline,
.home-icon-3d {
  overflow: hidden;
}

.tool-card-3d .tool-icon-3d::before,
.tool-card-3d .tool-icon-3d::after,
.icon-outline::before,
.icon-outline::after,
.home-icon-3d::before,
.home-icon-3d::after {
  display: none !important;
}

.t-ic svg,
.ric svg,
.icon-outline svg,
.home-icon-3d svg,
.tool-icon-3d svg {
  width: 21px; height: 21px;
  stroke-width: 1.85 !important;
  filter: none !important;
}

a.card:hover .t-ic,
a.card:hover .icon-outline,
a.card:hover .home-icon-3d,
a.tool-card-3d:hover .tool-icon-3d,
.nav-links a:hover .t-ic,
.dropdown a:hover .t-ic,
.tool-rail a.active .ric,
.tool-rail a:hover .ric {
  background: var(--brand) !important;
  color: #fff !important;
  border-color: var(--brand) !important;
}

.tool-card-3d,
.tool-card-outline,
.home-tool-card-3d {
  background: var(--paper) !important;
  overflow: hidden;
}

.tool-card-3d::before,
.tools-catalog > h2::before {
  display: none !important;
}

a.card:hover,
.tool-card-3d:hover {
  border-color: rgba(21, 94, 117, .28) !important;
  box-shadow: 0 16px 34px -24px rgba(14, 18, 38, .22) !important;
  transform: translateY(-2px) !important;
}

.feature-tile[class*="tile-"] .t-ic,
.home-icon-3d[class*="ic-"] {
  background: #fff !important;
  color: var(--brand) !important;
}

.mini-bars span,
.mini-bars span:nth-child(2),
.mini-bars span:nth-child(3),
.ba-node,
.ba-2,
.ba-3,
.mini-line::before,
.mini-line span {
  background: var(--brand) !important;
}

.mini-ring { background: conic-gradient(var(--brand) 0 76%, #dceaf0 76% 100%) !important; }
.dark-section .kicker,
.msg-card a,
.page-banner .crumbs a:hover {
  color: #bfe7ef !important;
}

.tool-finder {
  display: grid; grid-template-columns: 1fr; gap: 18px;
  margin: -8px auto 26px; align-items: center;
  background: linear-gradient(180deg, #fff, #fbfdfe);
}

@media (min-width: 880px) {
  .tool-finder { grid-template-columns: minmax(0, .8fr) minmax(360px, 1.2fr); }
}

.tool-finder h2 { margin: 4px 0 6px; }
.tool-finder .kicker,
.tool-guide-section .kicker {
  color: var(--brand); font-size: .78rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .12em;
}

.tool-finder-controls { display: grid; gap: 12px; }
.tool-category-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.tool-category-chips a {
  display: inline-flex; align-items: center; min-height: 34px;
  padding: 7px 12px; border-radius: 999px;
  border: 1px solid rgba(21,94,117,.2);
  color: var(--ink-2); background: #fff;
  font-size: .84rem; font-weight: 700;
  text-decoration: none !important;
}
.tool-category-chips a.active,
.tool-category-chips a:hover {
  background: var(--brand); color: #fff; border-color: var(--brand);
}
.tools-catalog.is-filter-hidden,
[data-tool-card].is-filter-hidden { display: none !important; }
.tool-filter-empty { margin: 20px auto; }

.category-hub-grid { padding-top: 20px; }
.category-hub-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.category-hub-card h3 { margin: 0; }
.category-hub-card p { margin: 0; }
.category-hub-card .small:last-child { margin-top: auto; color: var(--brand); font-weight: 800; }
.catalog-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.catalog-heading-row h2 {
  margin: 0;
}
.hub-summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}
.hub-summary-grid .panel { margin: 0; }
.hub-keywords {
  justify-content: flex-start;
  margin-top: 16px;
}
.hub-keywords span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(21,94,117,.18);
  background: #fff;
  color: var(--ink-2);
  font-size: .82rem;
  font-weight: 750;
}
.hub-stats {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 10px;
}
.hub-stats b {
  font-size: clamp(2.4rem, 9vw, 4.2rem);
  line-height: .9;
  color: var(--brand);
  letter-spacing: 0;
}
.hub-stats span {
  color: var(--muted);
  font-weight: 800;
}
.guide-stack {
  display: grid;
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}
.guide-stack .panel h2 {
  margin-top: 0;
}
@media (min-width: 880px) {
  .hub-summary-grid { grid-template-columns: minmax(0, 1fr) minmax(230px, .32fr); }
}
@media (max-width: 620px) {
  .catalog-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .category-hub-card { min-height: 0; }
}

.tool-guide-section { scroll-margin-top: 86px; }
.tool-guide-layout {
  display: grid; grid-template-columns: 1fr; gap: 22px;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
}
.tool-scene-card {
  width: min(100%, 620px); margin: 0 auto; position: relative; top: auto; align-self: start;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--paper); overflow: hidden; box-shadow: var(--shadow);
  opacity: 1 !important; transform: none !important;
}
.tool-scene-card img {
  display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
}
.tool-scene-card figcaption {
  padding: 11px 14px; color: var(--muted); font-size: .82rem;
  border-top: 1px solid var(--line); background: #fff;
}
.tool-guide-copy {
  width: 100%;
  margin: 0 auto;
  max-height: none;
  opacity: 1 !important;
  transform: none !important;
}
.tool-guide-copy h2:first-child { margin-top: 0; }
.tool-guide-copy h2 { font-size: 1.28rem; margin-top: 1.45em; }
.tool-guide-copy p,
.tool-guide-copy li { color: var(--ink-2); }

.home-guide {
  border-top: 1px solid var(--line);
  padding-top: 44px;
}

/* ============ v16: Semrush-informed detector homepage ============ */
.detector-page,
.detector-page * {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  letter-spacing: 0;
}

.detector-hero-v2 {
  position: relative;
  overflow: hidden;
  margin: -26px calc(50% - 50vw) 0;
  padding: clamp(36px, 6vw, 58px) 0 clamp(32px, 5vw, 48px);
  color: #d9dee8;
  background: #20242b;
}

.detector-hero-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .42;
  background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 16px 16px;
  mask-image: linear-gradient(#000, rgba(0,0,0,.92) 58%, transparent 100%);
}

.detector-shell {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  text-align: center;
}

.detector-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 7px 13px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  color: #b8c0cd;
  font-size: .78rem;
  font-weight: 600;
}

.detector-eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #61d9e9;
  box-shadow: 0 0 12px rgba(97,217,233,.75);
}

.detector-hero-v2 h1 {
  max-width: 760px;
  margin: 14px auto 10px;
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.05rem);
  font-weight: 700;
  line-height: 1.08;
}

.detector-lead {
  max-width: 780px;
  margin: 0 auto;
  color: #aeb7c7;
  font-size: clamp(.95rem, 1.8vw, 1.08rem);
  line-height: 1.7;
}

.detector-keyword-row,
.detector-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.detector-keyword-row {
  margin: 18px auto 0;
}

.detector-keyword-row a {
  display: inline-flex;
  align-items: center;
  min-height: 31px;
  padding: 6px 11px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: #d6dce7;
  background: rgba(255,255,255,.035);
  font-size: .78rem;
  font-weight: 600;
  text-decoration: none !important;
}

.detector-keyword-row a:hover {
  color: #06131a;
  background: #69deec;
  border-color: #69deec;
}

.detector-lab {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 16px;
  align-items: stretch;
  margin-top: 26px;
  text-align: left;
}

.detector-tool-shell,
.detector-score-card {
  min-width: 0;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: rgba(25, 28, 35, .72);
  box-shadow: 0 22px 60px -34px rgba(0,0,0,.85);
}

.detector-tool-shell .workspace {
  max-width: none;
  margin: 0;
  background: transparent;
  border-radius: 8px;
}

@media (min-width: 900px) {
  .detector-tool-shell .workspace {
    grid-template-columns: 188px minmax(0, 1fr);
  }
}

.detector-tool-shell .tool-rail {
  padding: 12px;
  border-right: 1px solid rgba(255,255,255,.08);
}

.detector-tool-shell .tool-rail a {
  border-radius: 7px;
  color: #aeb7c7;
  border: 1px solid transparent;
  font-size: .78rem;
  font-weight: 600;
}

.detector-tool-shell .tool-rail a:hover,
.detector-tool-shell .tool-rail a.active {
  background: rgba(105,222,236,.1);
  color: #ecfdff;
  border-color: rgba(105,222,236,.18);
  box-shadow: none;
}

.detector-tool-shell .tool-rail a.active::before {
  display: none;
}

.detector-tool-shell .tool-rail .ric {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
  border-radius: 7px;
  background: transparent !important;
  color: #69deec !important;
  border-color: rgba(105,222,236,.2) !important;
}

.detector-tool-shell .workspace .panel {
  margin: 0;
  padding: clamp(16px, 2.3vw, 22px);
  border: 0;
  border-radius: 0 8px 8px 0;
  background: transparent;
  color: #d9dee8;
  box-shadow: none;
}

.detector-tool-shell .panel h2 {
  color: #fff;
  font-size: 1rem !important;
  font-weight: 700;
}

.detector-tool-shell label {
  margin-top: 8px;
  color: #b9c2d0;
  font-size: .76rem;
  font-weight: 500;
}

.detector-tool-shell textarea,
.detector-tool-shell input,
.detector-tool-shell select {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 7px;
  background: rgba(18, 21, 27, .7);
  color: #f5f7fb;
}

.detector-tool-shell textarea {
  min-height: 238px;
  resize: vertical;
}

.detector-tool-shell textarea::placeholder,
.detector-tool-shell input::placeholder {
  color: #7f8897;
}

.detector-tool-shell input:focus,
.detector-tool-shell select:focus,
.detector-tool-shell textarea:focus {
  border-color: #69deec;
  box-shadow: 0 0 0 3px rgba(105,222,236,.13);
}

.detector-tool-shell .tool-meta {
  color: #8f9aaa;
  font-size: .74rem;
}

.detector-tool-shell .tool-actions {
  justify-content: flex-end;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.detector-tool-shell .btn {
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 7px;
  border-color: rgba(255,255,255,.15);
  background: rgba(255,255,255,.04);
  color: #dbe2ed;
  font-size: .78rem;
  font-weight: 600;
}

.detector-tool-shell .btn:hover {
  background: rgba(255,255,255,.08);
  transform: none;
}

.detector-tool-shell .btn-primary {
  border: 0;
  background: #69deec;
  color: #08232d;
  box-shadow: none;
}

.detector-tool-shell #tool-result {
  border-color: rgba(255,255,255,.1);
  background: rgba(13, 16, 22, .82);
  color: #e8edf5;
}

.detector-tool-shell #tool-result h3,
.detector-tool-shell #tool-result b {
  color: #fff;
}

.detector-tool-shell .result-output,
.detector-tool-shell .metric {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.1);
  color: #e8edf5;
}

.detector-score-card {
  display: grid;
  align-content: start;
  gap: 15px;
  padding: 20px;
}

.score-ring {
  width: 132px;
  height: 132px;
  margin: 4px auto 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(#69deec 0deg, rgba(255,255,255,.12) 0deg);
  box-shadow: inset 0 0 0 14px rgba(255,255,255,.04);
}

.score-ring span {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #20242b;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
}

.score-legend {
  display: grid;
  gap: 9px;
}

.score-legend div {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  color: #d5dbe6;
  font-size: .8rem;
}

.score-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-ai { background: #ef4444; }
.dot-mix { background: #f59e0b; }
.dot-human { background: #22c55e; }

.score-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.score-checks p {
  flex: 0 0 100%;
  margin: 0 0 2px;
  color: #9aa5b6;
}

.score-checks span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  color: #d7e0eb;
  font-size: .72rem;
  font-weight: 600;
}

.score-note {
  margin: 0;
  color: #9aa5b6;
  font-size: .78rem;
  line-height: 1.6;
}

.detector-trust-row {
  margin: 15px auto 0;
}

.detector-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: #cfd7e4;
  font-size: .78rem;
  font-weight: 600;
}

.detector-trust-row svg {
  color: #69deec;
}

.detector-tool-nav .trusted-card small,
.trusted-card small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 500;
  line-height: 1.35;
}

.detector-guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: start;
}

@media (min-width: 960px) {
  .detector-guide-layout {
    grid-template-columns: minmax(0, 1fr) 290px;
  }
  .detector-link-panel {
    position: sticky;
    top: 88px;
  }
}

.detector-guide-copy {
  max-width: none;
  padding: clamp(18px, 3vw, 32px);
}

.detector-guide-copy h2,
.detector-guide-copy h3 {
  letter-spacing: 0;
}

.detector-guide-copy h2 {
  margin-top: 1.6em;
  font-size: 1.35rem;
}

.detector-guide-copy h2:first-child {
  margin-top: 0;
}

.detector-link-panel {
  display: grid;
  gap: 9px;
}

.detector-link-panel h3 {
  margin: 0 0 4px;
}

.detector-link-panel a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 11px;
  border-radius: 8px;
  border: 1px solid rgba(21,94,117,.16);
  color: var(--ink-2);
  background: #fff;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none !important;
}

.detector-link-panel a:hover {
  background: var(--brand);
  color: #fff;
}

@media (max-width: 980px) {
  .detector-lab {
    grid-template-columns: 1fr;
  }
  .detector-score-card {
    grid-template-columns: 150px minmax(0, 1fr);
    align-items: center;
  }
  .score-checks,
  .score-note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 899px) {
  .detector-tool-shell .tool-rail {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    overflow-x: auto;
  }
  .detector-tool-shell .workspace .panel {
    border-radius: 0 0 8px 8px;
    margin-top: 0;
  }
  .detector-tool-shell .tool-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .detector-hero-v2 {
    padding-top: 30px;
  }
  .detector-eyebrow {
    align-items: flex-start;
    border-radius: 12px;
    text-align: left;
  }
  .detector-score-card {
    grid-template-columns: 1fr;
  }
  .detector-tool-shell textarea {
    min-height: 210px;
  }
  .detector-tool-shell .tool-actions .btn {
    flex: 1 1 140px;
  }
}

/* ============================================================
   Modern footer — gradient (theme teal) + faded brand watermark
   Appended last so it wins over earlier .site-footer rules.
   ============================================================ */
.site-footer{
  position:relative; overflow:hidden; margin-top:64px; padding:60px 0 0; color:#a7c0cb;
  background:
    radial-gradient(900px 420px at 6% -6%, rgba(21,94,117,.55), transparent 60%),
    radial-gradient(780px 380px at 94% 16%, rgba(14,116,144,.34), transparent 60%),
    linear-gradient(180deg,#0c2430 0%,#081820 62%,#06131a 100%);
}
.site-footer::before{
  content:""; position:absolute; top:0; left:0; right:0; height:2px; z-index:3;
  background:linear-gradient(90deg,transparent,#155e75 22%,#22d3ee 50%,#0e7490 78%,transparent);
  opacity:.9;
}
.site-footer a{color:#9fb8c4; text-decoration:none; font-size:.9rem; transition:color .15s ease;}
.site-footer a:hover{color:#fff;}
.footer-grid{position:relative; z-index:2; display:grid; gap:30px 28px; grid-template-columns:1fr;}
.footer-grid h4{color:#fff; font-size:.8rem; text-transform:uppercase; letter-spacing:.1em; margin:0 0 14px;}
.footer-grid ul{list-style:none; margin:0; padding:0;}
.footer-grid li{margin:9px 0;}
.footer-grid .brand img{filter:drop-shadow(0 6px 18px rgba(34,211,238,.20));}
@media (min-width:640px){ .footer-grid{grid-template-columns:repeat(2,1fr);} }
@media (min-width:980px){ .footer-grid{grid-template-columns:1.7fr 1fr 1fr 1fr 1fr;} }

.footer-bottom{
  position:relative; z-index:2; margin-top:34px; padding:18px 0 22px;
  display:flex; flex-wrap:wrap; gap:10px 18px; justify-content:space-between; align-items:center;
  font-size:.8rem; color:#8fa6b2; border-top:1px solid rgba(120,190,210,.16);
}
.footer-bottom a{color:#bfe6f0;}

/* Big faded brand watermark across the very bottom */
.footer-brandmark{
  position:relative; z-index:1; pointer-events:none; user-select:none;
  text-align:center; white-space:nowrap; line-height:.76; padding:0 8px;
  margin:8px 0 -1.6vw;
  font-family:"Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight:700; letter-spacing:-.02em; font-size:clamp(3rem,18vw,17rem);
  background:linear-gradient(180deg, rgba(150,212,230,.22), rgba(150,212,230,.03) 76%, transparent);
  -webkit-background-clip:text; background-clip:text;
  color:transparent; -webkit-text-fill-color:transparent;
}
@media (max-width:560px){ .footer-brandmark{ font-size:clamp(2.6rem,22vw,7rem); margin-bottom:-2.4vw; } }
@media (prefers-reduced-motion: no-preference){
  .footer-brandmark{ transition:opacity .4s ease; }
}

/* ============================================================
   Pricing v2 — single-row cards, big prices, VIP Pro, 3D compare
   ============================================================ */
.plan-row{ display:grid; gap:18px; grid-template-columns:repeat(4,1fr); align-items:stretch; margin:10px 0 6px; }
@media (max-width:1080px){ .plan-row{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .plan-row{ grid-template-columns:1fr; } }

.plan-row .plan-card{
  position:relative; display:flex; flex-direction:column; background:var(--paper);
  border:1px solid var(--line); border-radius:18px; padding:24px 20px 22px; box-shadow:var(--shadow);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease; overflow:visible; min-height:100%;
}
.plan-row .plan-card:hover{ transform:translateY(-5px); box-shadow:var(--shadow-lg); border-color:rgba(21,94,117,.3); }
.plan-row .plan-card-head{ display:flex; align-items:center; justify-content:space-between; gap:8px; }
.plan-row .plan-icon{ display:inline-grid; place-items:center; width:44px; height:44px; border-radius:13px; background:var(--brand-soft); color:var(--brand); }
.plan-row .plan-card .badge{ font-size:.7rem; font-weight:700; padding:5px 11px; border-radius:999px; background:var(--brand-soft); color:var(--brand); white-space:nowrap; }
.plan-row .plan-card h3{ margin:16px 0 2px; font-size:1.3rem; }
.plan-row .price-line{ font-size:2.7rem; font-weight:800; line-height:1; letter-spacing:-.02em; color:var(--ink); margin:8px 0 6px; display:flex; align-items:baseline; gap:5px; flex-wrap:wrap; }
.plan-row .price-line .small{ font-size:.82rem; font-weight:500; }
.plan-row .price-line .price-was{ font-size:1.05rem; font-weight:600; color:var(--muted); text-decoration:line-through; }
.plan-feats{ list-style:none; padding:0; margin:14px 0 20px; flex:1; }
.plan-feats li{ position:relative; padding-left:26px; margin:10px 0; font-size:.9rem; color:var(--ink-2); }
.plan-feats li::before{ content:""; position:absolute; left:0; top:1px; width:18px; height:18px; border-radius:50%; background:radial-gradient(circle at 32% 28%, #34d399, #059669); box-shadow:0 2px 5px -1px rgba(5,150,105,.45), inset 0 1px 1px rgba(255,255,255,.5); }
.plan-feats li::after{ content:"✓"; position:absolute; left:4px; top:0; font-size:.7rem; font-weight:900; color:#fff; }
.plan-cta{ margin-top:auto; }

/* VIP Pro card */
.plan-row .plan-card--vip{ border:0; color:#eaf6fb; transform:translateY(-10px); background:linear-gradient(165deg,#0b3a47 0%,#0e7490 52%,#155e75 100%); box-shadow:0 28px 64px -22px rgba(14,116,144,.75), 0 0 0 1px rgba(34,211,238,.35); }
.plan-row .plan-card--vip:hover{ transform:translateY(-14px); box-shadow:0 34px 72px -22px rgba(14,116,144,.85), 0 0 0 1px rgba(34,211,238,.5); }
@media (max-width:560px){ .plan-row .plan-card--vip{ transform:none; } .plan-row .plan-card--vip:hover{ transform:translateY(-5px); } }
.plan-card--vip h3, .plan-card--vip .price-line{ color:#fff !important; }
.plan-card--vip .plan-icon{ background:rgba(255,255,255,.15); color:#aef0ff; }
.plan-card--vip .badge{ background:rgba(255,255,255,.18); color:#e3f8ff; }
.plan-card--vip .plan-feats li{ color:#d4eef4; }
.plan-card--vip .price-line .small{ color:#bfe6f0; }
.plan-card--vip .price-line .price-was{ color:#9fc8d4; }

.plan-recommended{ position:absolute; top:-14px; left:50%; transform:translateX(-50%); white-space:nowrap; background:linear-gradient(90deg,#f59e0b,#fbbf24); color:#3a2600; font-weight:800; font-size:.7rem; letter-spacing:.05em; text-transform:uppercase; padding:6px 16px; border-radius:999px; box-shadow:0 8px 20px -6px rgba(245,158,11,.85); }
.btn-vip{ background:linear-gradient(135deg,#fbbf24,#f59e0b) !important; color:#3a2600 !important; border:0 !important; font-weight:800 !important; box-shadow:0 12px 26px -10px rgba(245,158,11,.8) !important; }
.btn-vip:hover{ filter:brightness(1.06); }

/* Compare table — 3D check / cross + Pro column highlight */
.cmp-yes, .cmp-no{ display:inline-grid; place-items:center; width:27px; height:27px; border-radius:50%; font-size:.82rem; font-weight:900; color:#fff; line-height:1; }
.cmp-yes{ background:radial-gradient(circle at 32% 26%, #4ade80, #059669); box-shadow:0 4px 9px -2px rgba(5,150,105,.5), inset 0 1px 2px rgba(255,255,255,.55); }
.cmp-no{ background:radial-gradient(circle at 32% 26%, #fb7185, #e11d48); box-shadow:0 4px 9px -2px rgba(225,29,72,.45), inset 0 1px 2px rgba(255,255,255,.45); }
td.cmp-col-pro{ background:rgba(14,116,144,.07); }
th.cmp-col-pro{ background:rgba(14,116,144,.12); border-radius:10px 10px 0 0; }
.cmp-rec{ display:block; font-size:.6rem; font-weight:800; letter-spacing:.04em; text-transform:uppercase; color:#b45309; margin-top:2px; }
.cmp-price{ display:inline-block; font-size:1.05rem; font-weight:800; color:var(--ink); text-transform:none; margin-top:4px; }
.cmp-price small{ font-size:.7rem; font-weight:500; color:var(--muted); }
