:root {
  --primary: #f9b709;
  --primary-hover: #e6a600;
  --amber: #d97706;
  --success: #059669;
  --error: #dc2626;
  --white: #ffffff;
  --g50: #f9fafb;
  --g100: #f3f4f6;
  --g200: #e5e7eb;
  --g300: #d1d5db;
  --g400: #9ca3af;
  --g500: #6b7280;
  --g600: #4b5563;
  --g700: #374151;
  --g800: #1f2937;
  --g900: #111827;
  --ink: #0b1220;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --shadow-sm: 0 1px 2px 0 rgba(0,0,0,.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.1);
  --shadow-lg: 0 10px 30px -6px rgba(0,0,0,.18);
  --shadow-glow: 0 0 0 1px rgba(249,183,9,.25), 0 12px 40px -10px rgba(249,183,9,.35);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --maxw: 1200px;
  --nav-h: 68px;
  --header-h: calc(var(--nav-h) + 1px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: clip;
  width: 100%;
}
body {
  font-family: var(--font);
  color: var(--g100);
  background: var(--ink);
  line-height: 1.6;
  overflow-x: clip;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

/* ===== Aurora / living background ===== */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 20% 10%, rgba(249,183,9,.16), transparent 60%),
    radial-gradient(50% 45% at 85% 20%, rgba(217,119,6,.14), transparent 60%),
    radial-gradient(55% 50% at 70% 90%, rgba(5,150,105,.10), transparent 60%),
    var(--ink);
}
.aurora::before, .aurora::after {
  content: "";
  position: absolute;
  width: 46vw; height: 46vw;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .5;
  will-change: transform;
}
.aurora::before {
  background: radial-gradient(circle, rgba(249,183,9,.45), transparent 65%);
  top: -10vw; left: -6vw;
  animation: drift1 22s ease-in-out infinite alternate;
}
.aurora::after {
  background: radial-gradient(circle, rgba(5,150,105,.32), transparent 65%);
  bottom: -14vw; right: -8vw;
  animation: drift2 26s ease-in-out infinite alternate;
}
@keyframes drift1 { to { transform: translate3d(8vw, 6vh, 0) scale(1.12); } }
@keyframes drift2 { to { transform: translate3d(-7vw, -5vh, 0) scale(1.08); } }

/* subtle grid */
.grid-overlay {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  width: 100%; max-width: 100%;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 20%, black, transparent 75%);
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; width: 100%; min-width: 0; }

/* ===== Navbar ===== */
header.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(11,18,32,.55);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .3s, border-color .3s;
}
header.nav.scrolled { background: rgba(11,18,32,.85); border-color: rgba(255,255,255,.1); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.02em; color: #fff; font-size: 20px; }
.brand .logo {
  width: 36px; height: 36px; object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(249,183,9,.4));
  animation: logoGlow 4.5s ease-in-out infinite;
}
@keyframes logoGlow {
  0%,100% { filter: drop-shadow(0 4px 12px rgba(249,183,9,.35)); }
  50% { filter: drop-shadow(0 6px 18px rgba(249,183,9,.65)); }
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--g300); font-size: 14.5px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.variant-tag { display: none; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-weight: 600; font-size: 15px;
  border-radius: var(--radius-md); cursor: pointer; border: 1px solid transparent;
  padding: 11px 20px; transition: transform .18s, box-shadow .25s, background .2s, color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--primary); color: #1a1400; box-shadow: 0 8px 24px -8px rgba(249,183,9,.6); }
.btn-primary:hover { background: var(--primary-hover); box-shadow: 0 12px 30px -8px rgba(249,183,9,.75); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.04); color: #fff; border-color: rgba(255,255,255,.14); }
.btn-ghost:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.28); }
.btn-lg { padding: 15px 28px; font-size: 16.5px; }

/* ===== Hero ===== */
.hero { padding: 84px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(249,183,9,.1); border: 1px solid rgba(249,183,9,.28);
  color: #ffd874; padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); position: relative; }
.live-dot::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid var(--success); animation: pulse 2s ease-out infinite; opacity: 0;
}
@keyframes pulse { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }

h1.title {
  font-size: clamp(38px, 5vw, 60px); line-height: 1.04; letter-spacing: -.03em;
  font-weight: 900; color: #fff; margin: 20px 0 18px;
}
h1.title .accent {
  background: linear-gradient(120deg, var(--primary), #ffd874, var(--amber));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% auto; animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
h1.title .sub { font-size: .5em; font-weight: 700; color: var(--g300); }
.rotator { display: inline-block; min-width: 1ch; color: var(--primary); position: relative; }
.rotator::after { content: "|"; color: var(--primary); animation: caret 1s step-end infinite; margin-left: 2px; }
@keyframes caret { 50% { opacity: 0; } }

.lead { font-size: 19px; color: var(--g300); max-width: 560px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.trust { display: flex; align-items: center; gap: 18px; color: var(--g400); font-size: 13.5px; flex-wrap: wrap; }
.trust b { color: var(--g100); }

/* ===== Live demo ===== */
.demo {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-2xl);
  padding: 18px; box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.demo::before {
  content: ""; position: absolute; top: 0; left: -60%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.06), transparent);
  animation: sweep 6s ease-in-out infinite; pointer-events: none;
}
@keyframes sweep { 0%,60% { left: -60%; } 100% { left: 120%; } }
.demo-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 8px 14px; }
.demo-head .who { display: flex; align-items: center; gap: 10px; }
.demo-head .who .logo { width: 28px; height: 28px; border-radius: 8px; object-fit: contain; background: radial-gradient(circle at 50% 45%, rgba(249,183,9,.2), transparent 70%); }
.demo-head .who span { font-weight: 700; color: #fff; font-size: 14.5px; }
.demo-head .status { font-size: 12px; color: var(--success); display: flex; align-items: center; gap: 6px; font-weight: 600; }
.chat { background: rgba(11,18,32,.5); border-radius: var(--radius-lg); padding: 16px; min-height: 316px; max-height: 40vh; overflow-y: auto; scroll-behavior: smooth; display: flex; flex-direction: column; gap: 12px; }
/* Barra de rolagem da conversa — por padrão oculta (navegadores que não permitem estilizar) */
.chat { scrollbar-width: none; -ms-overflow-style: none; }
.chat::-webkit-scrollbar { display: none; }
/* WebKit/Blink: barra fina e harmônica com a paleta da página */
@supports selector(::-webkit-scrollbar) {
  .chat::-webkit-scrollbar { display: block; width: 8px; }
  .chat::-webkit-scrollbar-track { background: transparent; margin: 6px 0; }
  .chat::-webkit-scrollbar-thumb { background: rgba(249,183,9,.35); border-radius: 999px; border: 2px solid transparent; background-clip: padding-box; }
  .chat::-webkit-scrollbar-thumb:hover { background: rgba(249,183,9,.6); background-clip: padding-box; }
}
/* Firefox (e navegadores com scrollbar padrão): barra fina dourada */
@supports (scrollbar-color: auto) {
  .chat { scrollbar-width: thin; scrollbar-color: rgba(249,183,9,.45) transparent; }
}
.msg { max-width: 82%; padding: 10px 14px; border-radius: 14px; font-size: 14px; opacity: 0; transform: translateY(8px); animation: rise .5s forwards; }
.msg.client { align-self: flex-start; background: rgba(255,255,255,.08); color: var(--g100); border-bottom-left-radius: 4px; }
.msg.agent { align-self: flex-end; background: rgba(249,183,9,.16); border: 1px solid rgba(249,183,9,.35); color: #ffe6a8; border-bottom-right-radius: 4px; }
.msg .tag { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--g400); margin-bottom: 3px; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
.suggestion {
  margin-top: auto; background: linear-gradient(135deg, rgba(249,183,9,.14), rgba(217,119,6,.1));
  border: 1px dashed rgba(249,183,9,.5); border-radius: var(--radius-md);
  padding: 12px 14px; opacity: 0; transform: translateY(8px);
}
.suggestion.show { animation: rise .5s forwards; }
.suggestion .lbl { font-size: 11px; color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; display: flex; align-items: center; gap: 7px; margin-bottom: 6px; }
.spark { width: 14px; height: 14px; }
.suggestion p { font-size: 13.5px; color: #fff; }
.demo-sectors { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 2px 2px 12px; margin-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.06); }
.demo-sectors__lbl { font-size: 11px; text-transform: uppercase; letter-spacing: .07em; color: var(--g500); }
.demo-sectors__chips { display: flex; flex-wrap: wrap; gap: 7px; }
.demo-sector { font-size: 12px; font-weight: 600; color: var(--g300); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 999px; padding: 6px 12px; cursor: pointer; transition: color .25s, background .25s, border-color .25s, box-shadow .25s; }
.demo-sector:hover { color: #fff; border-color: rgba(249,183,9,.4); }
.demo-sector.active { color: var(--ink); background: var(--primary); border-color: var(--primary); box-shadow: 0 4px 14px -4px rgba(249,183,9,.55); }
.review-chip { align-self: center; display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--success); background: rgba(5,150,105,.1); border: 1px dashed rgba(5,150,105,.5); border-radius: 999px; padding: 7px 14px; opacity: 0; transform: translateY(8px); }
.review-chip.show { animation: rise .5s forwards; }
.review-chip svg { width: 14px; height: 14px; flex: none; }
.typing { display: inline-flex; gap: 4px; align-items: center; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--g400); animation: dot 1.2s infinite; }
.typing i:nth-child(2){ animation-delay: .2s; } .typing i:nth-child(3){ animation-delay: .4s; }
@keyframes dot { 0%,60%,100% { opacity: .3; transform: translateY(0);} 30% { opacity: 1; transform: translateY(-3px);} }

/* ===== reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* ===== Section shells ===== */
section { padding: 88px 0; position: relative; }
.eyebrow { color: var(--primary); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
h2.sec { font-size: clamp(28px, 3.4vw, 40px); color: #fff; font-weight: 800; letter-spacing: -.02em; margin: 12px 0 14px; line-height: 1.1; }
.sec-sub { color: var(--g400); font-size: 17px; max-width: 620px; }
.center { text-align: center; margin: 0 auto; }
.center .sec-sub { margin: 0 auto; }

/* ===== stats ===== */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 44px; min-width: 0; }
.stat { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-xl); padding: 26px; text-align: center; transition: transform .3s, border-color .3s, background .3s; min-width: 0; }
.stat:hover { transform: translateY(-6px); border-color: rgba(249,183,9,.4); background: rgba(249,183,9,.06); }
.stat .num { font-size: 40px; font-weight: 900; color: #fff; letter-spacing: -.03em; line-height: 1.1; }
.stat .num:not(:has([data-count])) { font-size: clamp(22px, 4.2vw, 32px); letter-spacing: -.02em; }
.stat .num .u { color: var(--primary); }
.stat .lbl {
  color: var(--g400); font-size: 14px; margin-top: 6px; line-height: 1.4;
  overflow-wrap: anywhere; hyphens: auto;
}

/* ===== steps ===== */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 48px; }
.step { position: relative; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-xl); padding: 30px 26px; transition: transform .3s, border-color .3s; }
.step:hover { transform: translateY(-6px); border-color: rgba(249,183,9,.35); }
.step .n { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--amber)); color: #1a1400; font-weight: 900; display: grid; place-items: center; font-size: 18px; margin-bottom: 16px; box-shadow: 0 8px 20px -8px rgba(249,183,9,.7); }
.step h3 { color: #fff; font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--g400); font-size: 15px; }
.flow-line { position: absolute; top: 52px; right: -14px; color: rgba(249,183,9,.5); font-size: 24px; }

/* ===== capabilities ===== */
.caps { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 48px; }
.cap {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-xl); padding: 28px; transition: transform .35s, border-color .35s, box-shadow .35s;
  position: relative; overflow: hidden;
}
.cap::before { content:""; position:absolute; inset:0; background: radial-gradient(120px 120px at var(--mx,50%) var(--my,0%), rgba(249,183,9,.14), transparent 70%); opacity:0; transition: opacity .35s; }
.cap:hover { transform: translateY(-6px); border-color: rgba(249,183,9,.4); box-shadow: var(--shadow-glow); }
.cap:hover::before { opacity: 1; }
.cap .ico { width: 48px; height: 48px; border-radius: 13px; background: rgba(249,183,9,.12); border: 1px solid rgba(249,183,9,.28); display: grid; place-items: center; margin-bottom: 18px; }
.cap .ico svg { width: 24px; height: 24px; stroke: var(--primary); }
.cap h3 { color: #fff; font-size: 18.5px; margin-bottom: 8px; letter-spacing: -.01em; }
.cap p { color: var(--g400); font-size: 14.5px; }

/* ===== channels marquee ===== */
.channels { text-align: center; overflow-x: clip; max-width: 100%; }
.marquee {
  margin-top: 36px;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}
.marquee-track { display: flex; gap: 18px; width: max-content; animation: scroll 26s linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.chip { display: flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); color: var(--g200); font-weight: 600; font-size: 15px; white-space: nowrap; }
.chip .cd { width: 9px; height: 9px; border-radius: 50%; }

/* ===== compare table ===== */
.compare { margin-top: 44px; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-xl); border: 1px solid rgba(255,255,255,.1); max-width: 100%; }
.compare table { table-layout: fixed; width: 100%; min-width: 0; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 16px 20px; text-align: left; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.07); overflow-wrap: anywhere; word-break: break-word; hyphens: auto; }
.compare th:first-child, .compare td:first-child { width: 24%; }
.compare th:nth-child(2), .compare td:nth-child(2) { width: 38%; }
.compare th:nth-child(3), .compare td:nth-child(3) { width: 38%; }
thead th { background: rgba(255,255,255,.04); color: var(--g300); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
thead th.argus { color: var(--primary); }
tbody td:first-child { color: var(--g300); font-weight: 600; }
td.argus { color: #fff; }
td.argus .ck { color: var(--success); font-weight: 800; margin-right: 8px; }
td.other { color: var(--g500); }
tbody tr:hover { background: rgba(249,183,9,.04); }

/* ===== pricing ===== */
.plans { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 48px; }
.plan { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-xl); padding: 28px 24px; display: flex; flex-direction: column; transition: transform .3s, border-color .3s; }
.plan:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.25); }
.plan.featured { border-color: rgba(249,183,9,.5); background: linear-gradient(180deg, rgba(249,183,9,.1), rgba(255,255,255,.02)); box-shadow: var(--shadow-glow); position: relative; }
.plan.featured .badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #1a1400; font-size: 11.5px; font-weight: 800; padding: 5px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.plan h3 { color: #fff; font-size: 20px; }
.plan .desc { color: var(--g400); font-size: 13.5px; margin: 6px 0 16px; min-height: 40px; }
.plan .price { color: #fff; font-weight: 800; font-size: 22px; margin-bottom: 4px; }
.plan .price small { color: var(--g400); font-weight: 500; font-size: 13px; }
.plan ul { list-style: none; margin: 18px 0 22px; display: flex; flex-direction: column; gap: 10px; }
.plan li { color: var(--g300); font-size: 14px; display: flex; gap: 9px; align-items: flex-start; }
.plan li .ck { color: var(--success); font-weight: 800; }
.plan .btn { width: 100%; justify-content: center; margin-top: auto; }

/* ===== CTA final ===== */
.cta-final { text-align: center; }
.cta-card { background: linear-gradient(135deg, rgba(249,183,9,.16), rgba(217,119,6,.1)); border: 1px solid rgba(249,183,9,.35); border-radius: var(--radius-2xl); padding: 60px 32px; position: relative; overflow: hidden; }
.cta-card::after { content:""; position:absolute; inset:0; background: radial-gradient(60% 100% at 50% 0%, rgba(249,183,9,.2), transparent 70%); pointer-events:none; }
.cta-card h2 { font-size: clamp(28px,3.6vw,42px); color: #fff; font-weight: 900; letter-spacing: -.02em; }
.cta-card p { color: var(--g200); font-size: 18px; margin: 14px auto 28px; max-width: 520px; }
.cta-card .hero-cta { justify-content: center; }

/* ===== footer ===== */
footer { border-top: 1px solid rgba(255,255,255,.08); padding: 48px 0 40px; color: var(--g400); }
.foot-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-brand { max-width: 300px; }
.foot-brand p { font-size: 14px; margin-top: 12px; }
.foot-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.foot-cols h3 { color: #fff; font-size: 14px; margin-bottom: 14px; font-weight: 700; }
.foot-cols a { display: block; font-size: 14px; margin-bottom: 9px; transition: color .2s; }
.foot-cols a:hover { color: var(--primary); }
.foot-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.06); font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ===== responsive ===== */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .demo { max-width: 460px; margin-inline: auto; }
  .stats { grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
  .stat {
    padding: 18px 16px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .stat .num { font-size: 30px; }
  .stat .num:not(:has([data-count])) { font-size: 21px; }
  .stat .lbl { font-size: 13.5px; margin-top: 4px; }
  .steps, .caps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .nav-links { display: none; }
  .flow-line { display: none; }
  .trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .trust > span:nth-child(even) { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 64px 0 44px; }
  section { padding: 64px 0; }
  .compare th, .compare td { padding: 10px 8px; font-size: 12.5px; }
  .compare thead th { font-size: 11px; letter-spacing: .04em; }
  .plans { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; }
  .foot-cols { gap: 32px; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}

/* ===== chat widget (Argus SDK / Chatwoot) ===== */
.woot-widget-holder,
#cw-widget-holder {
  width: 100% !important;
  max-width: 100vw !important;
  box-sizing: border-box !important;
}
#chatwoot_live_chat_widget {
  max-width: 100vw !important;
}
.woot-widget-bubble {
  right: max(16px, env(safe-area-inset-right, 0px)) !important;
  bottom: max(16px, env(safe-area-inset-bottom, 0px)) !important;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ===== variant hub (index) ===== */
.hub { padding: 80px 0 60px; }
.hub-head { text-align: center; margin-bottom: 48px; }
.hub-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.vcard { display: block; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-2xl); padding: 30px; transition: transform .3s, border-color .3s, box-shadow .3s; position: relative; overflow: hidden; }
.vcard:hover { transform: translateY(-6px); border-color: rgba(249,183,9,.45); box-shadow: var(--shadow-glow); }
.vcard .k { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.vcard h3 { color: #fff; font-size: 24px; margin: 8px 0 10px; letter-spacing: -.02em; }
.vcard p { color: var(--g400); font-size: 15px; margin-bottom: 18px; }
.vcard .go { color: var(--primary); font-weight: 700; font-size: 14px; }
@media (max-width: 760px) { .hub-grid { grid-template-columns: 1fr; } }

/* ===== blog ===== */
.blog-hero { padding: 100px 0 48px; }
.blog-hero .title { font-size: clamp(36px, 4.5vw, 52px); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin-top: 40px; }
.blog-card {
  display: flex; flex-direction: column;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-2xl); padding: 0;
  overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.blog-card__thumb {
  width: 100%; height: 180px; object-fit: cover;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.blog-card .tag,
.blog-card h2,
.blog-card p,
.blog-card .read { padding-left: 28px; padding-right: 28px; }
.blog-card .tag { padding-top: 24px; margin-bottom: 10px; }
.blog-card .read { padding-bottom: 28px; }
.blog-card:hover { transform: translateY(-4px); border-color: rgba(249,183,9,.4); box-shadow: var(--shadow-glow); }
.blog-card .tag { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); margin-bottom: 10px; }
.blog-card h2 { color: #fff; font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; margin-bottom: 12px; }
.blog-card p { color: var(--g400); font-size: 15px; flex: 1; margin-bottom: 20px; }
.blog-card .meta { font-size: 13px; color: var(--g400); margin-bottom: 16px; }
.blog-card .read { color: var(--primary); font-weight: 700; font-size: 14px; margin-top: auto; }

.about-page { padding: 0 0 64px; }
.about-page__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
.about-page__text { color: var(--g300); font-size: 17px; line-height: 1.75; max-width: 620px; }
.about-page__text strong { color: #fff; }
.about-page__block .sec { margin-bottom: 14px; }
.about-page__caps { margin-top: 12px; }
.about-page__vega {
  margin-top: 48px;
  padding: 28px 32px;
  border-radius: var(--radius-xl);
  background: rgba(249,183,9,.06);
  border: 1px solid rgba(249,183,9,.22);
  text-align: center;
}
.about-page__vega .about-page__text { margin: 0 auto; max-width: 720px; }
@media (max-width: 760px) { .about-page__grid { grid-template-columns: 1fr; gap: 32px; } }

.blog-social { padding: 0 0 64px; }
.blog-social .sec-sub { margin: 0 auto; }
.blog-social__links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.blog-social__link {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: min(100%, 320px);
  padding: 20px 24px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.1);
  transition: transform .3s, border-color .3s, box-shadow .3s, background .3s;
}
.blog-social__link:hover {
  transform: translateY(-3px);
  border-color: rgba(249,183,9,.45);
  background: rgba(249,183,9,.06);
  box-shadow: var(--shadow-glow);
}
.blog-social__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: none;
  background: linear-gradient(135deg, #f9b709 0%, #d97706 45%, #c13584 100%);
  color: #fff;
}
.blog-social__icon svg { width: 24px; height: 24px; fill: currentColor; }
.blog-social__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.blog-social__name { color: #fff; font-weight: 700; font-size: 16px; }
.blog-social__handle { color: var(--primary); font-weight: 600; font-size: 15px; }

.article-hero { padding: 100px 0 32px; }
.article-hero .wrap {
  display: grid;
  grid-template-columns: 52px minmax(0, 720px);
  gap: 32px;
  justify-content: center;
  align-items: start;
}
.article-hero .breadcrumb,
.article-hero .article-header { grid-column: 2; }
.article-hero .breadcrumb { font-size: 14px; color: var(--g500); margin-bottom: 20px; }
.article-hero .breadcrumb a { color: var(--g400); transition: color .2s; }
.article-hero .breadcrumb a:hover { color: var(--primary); }
.article-hero .breadcrumb span { margin: 0 8px; opacity: .5; }
.article-header .tag { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; display: inline-block; }
.article-header h1 { font-size: clamp(32px, 4vw, 46px); color: #fff; font-weight: 900; letter-spacing: -.03em; line-height: 1.12; margin-bottom: 16px; }
.article-header .lead { font-size: clamp(17px, 2vw, 20px); color: var(--g300); max-width: 720px; line-height: 1.55; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; font-size: 14px; color: var(--g500); }
.article-meta b { color: var(--g300); font-weight: 600; }
.article-author {
  display: flex; align-items: center; gap: 14px;
}
.article-author__photo {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(249,183,9,.45);
  box-shadow: 0 4px 16px -4px rgba(249,183,9,.35);
}
.article-author__info { display: flex; flex-direction: column; gap: 2px; }
.article-author__name { color: #fff; font-weight: 700; font-size: 15px; }
.article-author__role { color: var(--g500); font-size: 13px; }

.article-body { padding: 40px 0 0; }
.article-with-share { padding-bottom: 80px; }
.article-with-share__grid {
  display: grid;
  grid-template-columns: 52px minmax(0, 720px);
  gap: 32px;
  justify-content: center;
  align-items: start;
}
.article-with-share__main { min-width: 0; width: 100%; }
.article-with-share .article-prose { max-width: none; margin: 0; }
.article-with-share .article-comments { padding-bottom: 0; border-top: 1px solid rgba(255,255,255,.08); margin-top: 8px; }
.article-with-share .article-comments__inner { padding-top: 48px; max-width: none; }

.article-share {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.article-share__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--g500);
  margin-bottom: 14px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.article-share__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.article-share__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--g300);
  transition: color .2s, border-color .2s, background .2s, transform .2s, box-shadow .2s;
}
.article-share__btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.article-share__btn:hover {
  color: var(--primary);
  border-color: rgba(249,183,9,.45);
  background: rgba(249,183,9,.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -10px rgba(249,183,9,.5);
}
.article-share__btn.is-copied {
  color: var(--success);
  border-color: rgba(5,150,105,.45);
  background: rgba(5,150,105,.1);
}

@media (max-width: 960px) {
  .article-hero .wrap { grid-template-columns: 1fr; }
  .article-hero .breadcrumb,
  .article-hero .article-header { grid-column: 1; }
  .article-with-share__grid { grid-template-columns: 1fr; gap: 0; }
  .article-share {
    position: fixed;
    top: auto;
    bottom: max(16px, env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(11,18,32,.92);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 40px -12px rgba(0,0,0,.55);
  }
  .article-share__label { display: none; }
  .article-share__list { flex-direction: row; gap: 6px; }
  .article-share__btn { width: 40px; height: 40px; }
  .article-share__btn:hover { transform: none; }
  .article-with-share { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}

.article-prose { max-width: 720px; margin: 0 auto; }
.article-prose__below {
  opacity: 1;
  transform: none;
}
.article-prose h2 { color: #fff; font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; letter-spacing: -.02em; margin: 48px 0 16px; line-height: 1.2; }
.article-prose h2:first-child { margin-top: 0; }
.article-prose h3 { color: var(--g100); font-size: 19px; font-weight: 700; margin: 32px 0 12px; }
.article-prose p { color: var(--g300); font-size: 17px; line-height: 1.75; margin-bottom: 20px; }
.article-prose ul, .article-prose ol { color: var(--g300); font-size: 17px; line-height: 1.75; margin: 0 0 20px 1.2em; }
.article-prose li { margin-bottom: 8px; }
.article-prose strong { color: #fff; font-weight: 600; }
.article-prose a:not(.btn) { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.article-prose a:not(.btn):hover { color: var(--primary-hover); }

.article-figure {
  margin: 36px 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.02);
  box-shadow: 0 16px 48px -24px rgba(0,0,0,.45);
}
.article-figure img,
.article-figure object,
.article-figure svg {
  width: 100%;
  height: auto;
  display: block;
}
.article-figure figcaption {
  padding: 14px 20px;
  font-size: 14px;
  color: var(--g400);
  text-align: center;
  line-height: 1.5;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.15);
}
.article-figure--hero { margin-top: 0; margin-bottom: 40px; }
.article-cta .article-figure--inline {
  margin: 0 0 24px;
  border: none;
  background: transparent;
  box-shadow: none;
}
.article-cta .article-figure--inline img {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,.1);
}

.callout {
  border-radius: var(--radius-xl); padding: 24px 28px; margin: 28px 0;
  border: 1px solid rgba(255,255,255,.1);
}
.callout-wrong { background: rgba(220,38,38,.08); border-color: rgba(220,38,38,.25); }
.callout-right { background: rgba(5,150,105,.08); border-color: rgba(5,150,105,.25); }
.callout .callout-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.callout-wrong .callout-label { color: #f87171; }
.callout-right .callout-label { color: #34d399; }
.callout p { margin-bottom: 0; font-size: 16px; }
.callout p + p { margin-top: 12px; }

.compare-cases { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 28px 0; }
@media (max-width: 640px) { .compare-cases { grid-template-columns: 1fr; } }

.article-cta {
  max-width: 720px; margin: 56px auto 0;
  background: rgba(249,183,9,.06); border: 1px solid rgba(249,183,9,.25);
  border-radius: var(--radius-2xl); padding: 36px; text-align: center;
}
.article-cta h3 { color: #fff; font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.article-cta p { color: var(--g400); font-size: 16px; margin-bottom: 24px; }
.article-cta .hero-cta { justify-content: center; }
.article-cta .btn { text-decoration: none; }
.article-cta .btn-primary { color: #1a1400; }
.article-cta .btn-ghost { color: #fff; }

.article-comments {
  padding: 0 0 80px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.article-comments__inner {
  max-width: 720px;
  margin: 0 auto;
  padding-top: 56px;
}
.article-comments .sec-sub {
  color: var(--g400);
  font-size: 16px;
  margin-bottom: 28px;
  max-width: 560px;
}
.article-comments #disqus_thread {
  min-height: 140px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.disqus-load { margin-top: 4px; }
.disqus-load__hint {
  margin-top: 12px;
  color: var(--g500);
  font-size: 14px;
  max-width: 420px;
}
.article-comments #disqus_thread.is-loading {
  min-height: 200px;
  background: rgba(255,255,255,.02);
  border: 1px dashed rgba(255,255,255,.12);
}

.brand-link { color: inherit; }
.brand-link:hover .logo { filter: drop-shadow(0 6px 18px rgba(249,183,9,.65)); }
