/* =========================================================
   GerenciaMax — prototype stylesheet v2
   ========================================================= */

:root{
  --bg-dark: #05070f;
  --bg-dark-2: #070c1a;
  --card-dark: #0d1220;
  --card-dark-2: #0a1122;
  --card-dark-border: #1c2436;
  --teal: #2fe0c9;
  --teal-2: #12a6a0;
  --orange: #fe5016;
  --orange-2: #ff7a3d;
  --blue: #4c9eff;
  --text-white: #f5f6f8;
  --text-muted: #97a0b3;
  --text-muted-2: #616b80;
  --light-bg: #ffffff;
  --light-bg-2: #f6f7fb;
  --ink: #12141c;
  --ink-muted: #6b7180;
  --border-light: #e9eaf2;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --max-w: 1220px;
  --font-display: 'Sora', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
html{ scrollbar-width: thin; scrollbar-color: #2fe0c9 #0a0e1a; }
html::-webkit-scrollbar{ width:10px; }
html::-webkit-scrollbar-track{ background:#0a0e1a; }
html::-webkit-scrollbar-thumb{ background:#2fe0c9; border-radius:999px; }
html::-webkit-scrollbar-thumb:hover{ background:#12a6a0; }
body{
  margin:0;
  font-family: var(--font-body);
  background: var(--light-bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; }
h1,h2,h3,h4{ font-family: var(--font-display); margin:0; font-weight:700; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior:auto !important; }
}
:focus-visible{ outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.section-inner{ max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }

.eyebrow{
  display:inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.eyebrow-dark{ color: var(--teal-2); }
.teal-text{ color: var(--teal); font-weight: 700; }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn span{ transition: transform .2s ease; }
.btn:hover span{ transform: translateX(3px); }
.btn:hover{ transform: translateY(-1px); }
.btn-primary{
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color:#fff;
  box-shadow: 0 8px 24px -8px rgba(254,80,22,.55);
}
.btn-primary:hover{ box-shadow: 0 10px 28px -6px rgba(254,80,22,.7); }
.btn-ghost{
  background: transparent;
  color: var(--text-white);
  border-color: rgba(255,255,255,.18);
}
.btn-ghost:hover{ border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.04); }
.section-light .btn-ghost{ color:var(--ink); border-color:#dcdce6; }
.hero .btn-ghost{ color:var(--ink); border-color:#dcdce6; }
.hero .btn-ghost:hover{ border-color:#b8bece; background:rgba(0,0,0,.03); }
.pricing-hero .btn-ghost{ color:#fff; border-color:rgba(255,255,255,.25); }
.pricing-hero .btn-ghost:hover{ border-color:rgba(255,255,255,.45); background:rgba(255,255,255,.05); }
.btn-sm{ padding: 10px 18px; font-size: 13.5px; }

.text-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-weight:600;
  color: var(--teal-2);
  font-size: 15px;
}
.text-link span{ transition: transform .2s ease; }
.text-link:hover span{ transform: translateX(3px); }

.mega-link{
  display:inline-flex;
  align-items:center;
  gap:5px;
  font-size: 13.5px;
  font-weight:600;
  color: var(--teal-2);
  margin-top: 10px;
}
.mega-link-light{ color: var(--teal); }
.mega-link span{ transition: transform .2s ease; }
.mega-link:hover span{ transform: translateX(3px); }

/* =========================== HEADER =========================== */
.site-header{
  position: sticky;
  top:0;
  z-index: 100;
  background: rgba(5,7,15,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner{
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 32px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 40px;
}
.logo{
  display:flex;
  align-items:center;
  gap:8px;
  font-family: var(--font-display);
  font-weight:700;
  font-size: 17px;
  color:#fff;
  flex-shrink:0;
}
.main-nav{ flex:1; }
.main-nav > ul{ display:flex; align-items:center; gap: 30px; }
.main-nav a, .nav-trigger{
  background:none;
  border:none;
  color: #c3c8d4;
  font-size: 14.5px;
  font-weight:500;
  display:flex;
  align-items:center;
  gap:5px;
  padding: 8px 0;
  transition: color .15s ease;
}
.main-nav a:hover, .nav-trigger:hover{ color:#fff; }
.chev{ opacity:.7; transition: transform .2s ease; }
.has-mega:hover .chev, .has-mega:focus-within .chev{ transform: rotate(180deg); }

.header-actions{ display:flex; align-items:center; gap:20px; flex-shrink:0; }

.link-entrar{ color:#c3c8d4; font-size:14.5px; font-weight:500; }
.link-entrar:hover{ color:#fff; }

.hamburger{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width: 34px; height:34px;
  background:none; border:none;
}
.hamburger span{
  display:block; height:2px; width:22px; background:#fff; border-radius:2px;
  transition: transform .25s ease, opacity .25s ease;
}
.hamburger.active span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2){ opacity:0; }
.hamburger.active span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* Mega menu — full width, RD Station style, toggled by click (not hover) */
.has-mega{ position: relative; }
.nav-trigger[aria-expanded="true"]{ color:#fff; }
.nav-trigger[aria-expanded="true"] .chev{ transform: rotate(180deg); }

.mega-panel{
  position:absolute;
  top:100%;
  left:0;
  width:100%;
  overflow:hidden;
  background: var(--card-dark);
  border-top:1px solid var(--card-dark-border);
  border-bottom:1px solid var(--card-dark-border);
  box-shadow: 0 40px 70px -30px rgba(0,0,0,.6);
  opacity:0;
  visibility:hidden;
  transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  z-index: 60;
}
.mega-panel.open{ opacity:1; visibility:visible; transform:translateY(0); }
.mega-panel-inner{
  max-width: var(--max-w);
  margin:0 auto;
  padding: 34px 32px;
  display:grid;
  grid-template-columns: 190px 1fr 240px;
  gap: 36px;
}
.mega-rail{ display:flex; flex-direction:column; gap:4px; }
.mega-rail-item{
  padding:11px 14px;
  border-radius:10px;
  font-size:14px;
  font-weight:600;
  color: var(--text-muted);
  display:block;
}
.mega-rail-active{ background: rgba(47,224,201,.12); color:#2fe0c9; }
a.mega-rail-item:hover{ background: rgba(255,255,255,.05); color:#fff; }

.mega-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  align-content:start;
  border-left: 1px solid var(--card-dark-border);
  border-right: 1px solid var(--card-dark-border);
  padding: 0 32px;
}
.mega-grid-item{
  display:flex;
  gap:14px;
  padding:14px;
  border-radius:12px;
  transition: background .15s ease;
}
.mega-grid-item:hover{ background: rgba(255,255,255,.04); }
.mega-grid-item b{ display:block; color:#fff; font-size:14.5px; margin-bottom:4px; }
.mega-grid-item p{ margin:0; font-size:12.5px; color: var(--text-muted); line-height:1.5; }
.mega-grid-item-partner{ border: 1px dashed rgba(47,224,201,.3); }
.partner-tag{
  display:inline-block;
  font-style:normal;
  font-size:9.5px;
  font-weight:700;
  color:#2fe0c9;
  background: rgba(47,224,201,.12);
  padding:2px 7px;
  border-radius:999px;
  margin-left:6px;
  vertical-align:middle;
}

.mega-side{ display:flex; flex-direction:column; gap:12px; }
.mega-side-label{ font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color: var(--text-muted-2); margin-bottom:4px; }
.mega-side-link{ font-size:13.5px; font-weight:600; color:#e4e6ec; display:flex; align-items:center; gap:6px; }
.mega-side-link span{ transition: transform .2s ease; }
.mega-side-link:hover{ color:#2fe0c9; }
.mega-side-link:hover span{ transform: translateX(3px); }
.mega-side-card{
  margin-top:10px;
  background: linear-gradient(135deg,#0d2a44,#0a1830);
  border: 1px solid rgba(76,158,255,.25);
  border-radius: 14px;
  padding: 16px;
}
.mega-side-card b{ display:block; color:#fff; font-size:13.5px; margin-bottom:6px; }
.mega-side-card p{ margin:0 0 12px; font-size:12px; color: var(--text-muted); line-height:1.5; }
.mega-side-card-link{ font-size:12.5px; font-weight:700; color:#2fe0c9; display:inline-flex; align-items:center; gap:5px; }
.mega-side-card-link span{ transition: transform .2s ease; }
.mega-side-card-link:hover span{ transform: translateX(3px); }

.mega-panel-footer{ background: rgba(255,255,255,.02); }
.mega-panel-footer-inner{
  max-width: var(--max-w);
  margin:0 auto;
  padding: 14px 32px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.mega-footer-link{ font-size:13px; font-weight:600; color: var(--text-muted); display:flex; align-items:center; gap:6px; }
.mega-footer-link span{ transition: transform .2s ease; }
.mega-footer-link:hover{ color:#fff; }
.mega-footer-link:hover span{ transform: translateX(3px); }
.mega-simple-ico{
  width:38px; height:38px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.ico-erp{ background: #4c9eff; color:#fff; }
.ico-hub{ background: #2fe0c9; color:#0a1f1c; }
.ico-chat{ background: #25d366; color:#fff; }
.ico-mail{ background: #8b5cf6; color:#fff; }
.ico-pedidos{ background: rgba(255,122,69,.15); color:#ff9a6a; }

/* mobile nav panel */
.mobile-nav{
  display:none;
  position:fixed;
  inset: 65px 0 0 0;
  background: var(--bg-dark);
  padding: 20px 24px;
  overflow-y:auto;
  z-index: 90;
}
.mobile-nav.open{ display:block; }
.mobile-nav ul{ display:flex; flex-direction:column; }
.mobile-nav a{ display:block; padding: 16px 0; font-size:18px; color:#fff; border-bottom:1px solid rgba(255,255,255,.08); }
.mobile-nav-actions{ margin-top:24px; display:flex; flex-direction:column; gap:14px; align-items:flex-start; }
.mobile-nav-actions .btn{ width:100%; justify-content:center; }

/* =========================== HERO =========================== */
.hero{
  position: relative;
  background: linear-gradient(180deg, #f6fbfa 0%, #ffffff 55%);
  overflow: hidden;
  padding: 64px 0 60px;
}
.hero-glow{
  position:absolute;
  top: -220px; right: -160px;
  width: 680px; height: 680px;
  background: radial-gradient(circle, rgba(47,224,201,.16), transparent 65%);
  filter: blur(20px);
  pointer-events:none;
}
.hero-inner{
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  position:relative;
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items:center;
}
.hero-copy h1{
  font-size: clamp(26px, 3.1vw, 37px);
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.grad-text{
  background: linear-gradient(120deg, var(--teal-2), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-text-inline{
  background: linear-gradient(120deg, var(--teal), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead{
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 440px;
  margin-bottom: 28px;
}
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom: 26px; }
.hero-social-proof{
  display:flex;
  align-items:center;
  gap:8px;
  color: var(--ink-muted);
  font-size: 13.5px;
  margin-bottom: 26px;
}
.proof-ico{ color: var(--teal-2); flex-shrink:0; }
.hero-social-proof strong{ color: var(--ink); font-weight:700; }

.hero-brandrow{ display:flex; align-items:center; gap:22px; flex-wrap:wrap; }
.brand-item{
  display:flex; align-items:center; gap:7px;
  font-size:14px; font-weight:700; color:#e4e6ec;
}
.brand-logo-img{ display:block; max-width:92px; max-height:24px; width:auto; height:auto; object-fit:contain; }
.brand-woo{ color:#a78bfa; font-weight:800; letter-spacing:.01em; }
.brand-woo b{ font-weight:800; font-size:10px; margin-left:1px; }

/* hero vertical diagram */
.hero-visual-simple{ position:relative; display:flex; flex-direction:column; align-items:center; padding: 20px 0; gap: 28px; }
.hero-connect-lines{
  position:absolute;
  top:-10px; left:50%;
  width: 700px; height:560px;
  transform: translateX(-50%);
  pointer-events:none;
  z-index:0;
}
.order-card{
  position:absolute;
  z-index:2;
  display:flex;
  align-items:center;
  gap:10px;
  background:#fff;
  border-radius:12px;
  padding:10px 14px 10px 10px;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.35);
  animation: orderCardFloat 5s ease-in-out infinite;
}
.order-card-ico{
  min-width:32px; height:32px; border-radius:8px;
  padding: 0 4px;
  background:#f3f4f8;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.order-card-ico img{ max-width:40px; max-height:20px; width:auto; height:auto; object-fit:contain; }
.order-card b{ display:block; font-size:12px; color:#12141c; font-weight:700; }
.order-card span{ display:block; font-size:10.5px; color:#6b7180; margin-top:1px; white-space:nowrap; }
.order-card-dot{ width:7px; height:7px; border-radius:50%; background:#2fe0c9; flex-shrink:0; margin-left:4px; }
.hero-photo-panel{
  position:relative;
  z-index:1;
  width: 480px;
  max-width: 88vw;
  border-radius: var(--radius-lg);
  overflow:hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 60px -20px rgba(47,224,201,.15);
}
.hero-photo-panel img{ display:block; width:100%; height:auto; }
.hero-photo-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(155deg, rgba(4,10,20,.04), rgba(4,10,20,.18));
  mix-blend-mode: multiply;
  pointer-events:none;
}
.hero-photo-overlay::after{
  content:'';
  position:absolute;
  inset:0;
  background: rgba(18,166,160,.06);
  mix-blend-mode: color;
}

.order-card-meli{ top: -28px; left: -80px; animation-delay: 0s; }
.order-card-shopee{ top: -28px; right: -50px; animation-delay: .6s; }
.order-card-woo{ bottom: -20px; left: -80px; animation-delay: 1.2s; }
.order-card-tiktok{ bottom: -20px; right: -50px; animation-delay: 1.8s; }
@keyframes orderCardFloat{
  0%, 100%{ transform: translateY(0); }
  50%{ transform: translateY(-8px); }
}
.hero-visual-glow{
  position:absolute;
  top:50%; left:50%;
  width: 620px; height:500px;
  transform: translate(-50%,-50%);
  background: radial-gradient(ellipse, rgba(47,224,201,.14), transparent 65%);
  filter: blur(10px);
  pointer-events:none;
}
.dashboard-card-solo{ position:relative; z-index:1; }
.hero-trust-row{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
}
.hero-trust-label{ font-size:12px; color: var(--text-muted-2); font-weight:600; text-transform:uppercase; letter-spacing:.04em; }
.hero-trust-logos{ display:flex; align-items:center; gap:14px; }
.hero-trust-logos .dchan-img-wrap{ height:40px; min-width:60px; padding:7px 12px; }
.hero-trust-logos .dchan-img{ max-height:22px; max-width:90px; }

@media (max-width: 1080px){
  .order-card{ display:none; }
}

.dnode-pill{
  display:flex;
  align-items:center;
  gap:11px;
  background: var(--card-dark);
  border: 1px solid var(--card-dark-border);
  border-radius: 999px;
  padding: 9px 22px 9px 9px;
  box-shadow: 0 10px 25px -12px rgba(0,0,0,.6);
}
.dnode-hub{ border-color: rgba(47,224,201,.35); }
.dvia{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:11px;
  font-weight:600;
  color: var(--text-muted);
  background: rgba(255,255,255,.03);
  border: 1px dashed rgba(47,224,201,.3);
  padding: 5px 12px;
  border-radius: 999px;
}
.dvia svg{ color:#2fe0c9; flex-shrink:0; }

.dsplit{
  display:flex;
  align-items:flex-start;
  gap:18px;
}
.dsplit-group{ display:flex; flex-direction:column; align-items:center; gap:8px; }
.dsplit-label{
  display:flex; align-items:center; gap:4px;
  font-size:9.5px; font-weight:700;
  color:#2fe0c9;
  text-transform:uppercase; letter-spacing:.03em;
}
.dsplit-label-native{ color:#7f54b3; }
.dsplit-icons{ display:flex; gap:8px; }
.dsplit-divider{ width:1px; align-self:stretch; background: rgba(255,255,255,.08); margin-top:20px; }
.dnode-pedidos{ border-color: rgba(255,122,69,.3); }
.dnode-chat{ border-color: rgba(61,220,122,.3); }
.dnode-mail{ border-color: rgba(167,139,250,.3); }
.dnode-ico{
  width:36px; height:36px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.dnode-pill b{ display:block; color:#fff; font-size:14.5px; font-weight:700; }
.dnode-pill small{ display:block; color: var(--text-muted-2); font-size:11.5px; }

.dashboard-card{
  width: 530px;
  max-width: 92vw;
  background: linear-gradient(155deg, #121a2e, #0a0e1a);
  border: 1px solid rgba(76,158,255,.2);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 50px 100px -30px rgba(0,0,0,.75), 0 0 90px -20px rgba(47,224,201,.22), 0 0 0 1px rgba(255,255,255,.02);
  display:flex;
  gap: 16px;
}
.dash-rail-mini{
  display:flex;
  flex-direction:column;
  gap:14px;
  padding: 6px 4px;
  border-right: 1px solid rgba(255,255,255,.06);
  flex-shrink:0;
}
.dash-rail-mini span{
  width:30px; height:30px; border-radius:8px;
  background: rgba(255,255,255,.04);
  color: var(--text-muted-2);
  display:flex; align-items:center; justify-content:center;
}
.dash-rail-mini span:first-child{ background: rgba(47,224,201,.14); color:#2fe0c9; }
.dash-body{ flex:1; min-width:0; }
.dash-topbar{ display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.dash-tag{ background: rgba(76,158,255,.18); color:#6db4ff; font-size:11.5px; font-weight:700; padding:4px 10px; border-radius:6px; }
.dash-title{ color:#fff; font-size:14px; font-weight:600; flex:1; }
.dash-avatars{ display:flex; gap:6px; color: var(--text-muted-2); }
.dash-grid2{ display:grid; grid-template-columns: repeat(3,1fr); gap:8px; margin-bottom:10px; }
.dash-kpi{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 12px 13px;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.kpi-label{ font-size:10.5px; color: var(--text-muted-2); }
.dash-kpi strong{ font-size:15px; color:#fff; font-family: var(--font-display); line-height:1.25; }
.kpi-delta{ font-size:10px; color:#3ddc7a; font-weight:600; }
.dash-panels2{ display:grid; grid-template-columns: 1.1fr 1fr; gap:10px; }
.dash-panel{
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  padding: 12px;
}
.panel-label{ font-size:11px; color: var(--text-muted); display:block; margin-bottom:10px; }
.panel-label em{ display:block; font-style:normal; color: var(--text-muted-2); font-size:9.5px; margin-top:1px; }
.line-chart{ width:100%; height:68px; }
.donut-wrap{ display:flex; flex-direction:column; align-items:center; gap:8px; }
.donut{ width:70px; height:70px; flex-shrink:0; transform: rotate(-90deg); }
.donut-legend{ display:flex; flex-direction:column; gap:4px; width:100%; }
.donut-legend li{ display:flex; align-items:center; gap:6px; font-size:10.5px; color: var(--text-muted); white-space:nowrap; }
.donut-legend span{ width:6px; height:6px; border-radius:50%; display:inline-block; flex-shrink:0; }
.donut-legend b{ color:#fff; margin-left:auto; font-weight:600; }

/* marketplace channel row inside diagram */
.dnode-row{ display:flex; gap:10px; }
.dchan{
  display:flex; flex-direction:column; align-items:center; gap:6px;
}
.dchan-img-wrap{
  height:48px;
  min-width:70px;
  border-radius:12px;
  background:#fff;
  display:flex; align-items:center; justify-content:center;
  padding:8px 14px;
  box-shadow: 0 10px 20px -10px rgba(0,0,0,.5);
}
.dchan-img{ max-width:110px; max-height:26px; width:auto; height:auto; object-fit:contain; display:block; }

/* =========================== GENERIC SECTIONS =========================== */
.section{ padding: 84px 0; }
.section-tight{ padding: 56px 0; }
.section-light{ background: var(--light-bg); }
.section-dark{ background: var(--bg-dark); }

.section-head-centered{ text-align:center; max-width:640px; margin:0 auto 40px; display:flex; flex-direction:column; align-items:center; }
.section-head-centered h2{ margin-bottom:14px; }

.logo-carousel{
  width:100%;
  overflow:hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-carousel-track{
  display:flex;
  align-items:center;
  gap:64px;
  width:max-content;
  animation: logoScroll 28s linear infinite;
}
.logo-carousel:hover .logo-carousel-track{ animation-play-state: paused; }
.carousel-logo{ display:flex; align-items:center; justify-content:center; height:34px; flex-shrink:0; }
.carousel-logo img{ max-height:34px; max-width:130px; width:auto; height:auto; object-fit:contain; opacity:.75; transition:opacity .2s ease; }
.carousel-logo:hover img{ opacity:1; }
@keyframes logoScroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .logo-carousel-track{ animation: none; flex-wrap:wrap; justify-content:center; }
}

.section-head.split{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 24px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.section-light h2{
  font-size: clamp(26px, 3vw, 34px);
  line-height:1.18;
  color: var(--ink);
  letter-spacing:-0.01em;
}
.h2-dark{
  font-size: clamp(26px, 3vw, 34px);
  line-height:1.18;
  color: #fff;
  letter-spacing:-0.01em;
}
.h2-sm{ font-size: clamp(20px, 2.2vw, 24px); line-height:1.3; color: var(--ink); margin: 0 0 16px; }
.section-dark .h2-sm{ color:#fff; }
.section-lead{ color: var(--ink-muted); font-size:15.5px; max-width:420px; margin: 16px 0 18px; line-height:1.6; }
.section-lead-dark{ color: var(--text-muted); }

/* ---- Why card (inline dark card) ---- */
.section-why-inline{ padding: 0 0 84px; }
.why-card{
  background: var(--card-dark-2);
  border: 1px solid var(--card-dark-border);
  border-radius: var(--radius-lg);
  padding: 44px;
}
.why-card-head{ text-align:center; margin-bottom: 36px; }
.why-card-head h2{ color:#fff; font-size: clamp(22px, 2.6vw, 28px); margin-bottom:10px; }
.why-card-head p{ color: var(--text-muted); font-size:15px; margin:0; }
.why-card-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.why-item-ico{
  width:44px; height:44px; border-radius:12px;
  background: rgba(76,158,255,.12);
  color:#6db4ff;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:14px;
}
.why-item h4{ color:#fff; font-size:15px; margin-bottom:6px; }
.why-item p{ color: var(--text-muted); font-size:13px; line-height:1.55; margin:0; }

/* ---- solutions grid ---- */
.solutions-grid{
  display:grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 20px;
  align-items:stretch;
}
.sol-card-solo{ max-width: 640px; }
.sol-card{
  border-radius: var(--radius-lg);
  padding: 30px;
  position:relative;
  overflow:hidden;
  color:#fff;
  min-height: 340px;
  display:flex;
  flex-direction:column;
}
.sol-card-erp{ background: linear-gradient(160deg, #0e1c3a, #060b18); }
.sol-card-hub{ background: linear-gradient(160deg, #0c2b26, #06120f); }
.sol-icon{
  display:inline-flex; align-items:center; gap:8px;
  font-size:13px; font-weight:700; letter-spacing:.02em;
  color: var(--teal);
  margin-bottom: 16px;
}
.sol-card h3{ font-size:19px; line-height:1.3; margin-bottom:16px; max-width:80%; }
.sol-list{ display:flex; flex-direction:column; gap:8px; margin-bottom:auto; }
.sol-list li{
  font-size:13px; color: #cbd0dc;
  padding-left:18px; position:relative;
}
.sol-list li::before{
  content:''; position:absolute; left:0; top:6px; width:8px; height:8px;
  background: no-repeat center/contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8.5l3.5 3.5L14 3' fill='none' stroke='%232fe0c9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.sol-mock{
  position:absolute;
  right:-30px; bottom:-30px;
  width:170px; height:200px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px 0 0 0;
  padding:14px;
  transform: rotate(-4deg);
}
.sol-mock-topbar{ display:flex; gap:5px; margin-bottom:12px; }
.sol-mock-topbar span{ width:6px; height:6px; border-radius:50%; background: rgba(255,255,255,.25); }
.sol-mock-body{ display:flex; flex-direction:column; gap:9px; }
.sol-mock-body .mb{ display:block; height:6px; border-radius:3px; background: rgba(255,255,255,.15); }

.sol-side{ display:flex; flex-direction:column; gap:20px; }
.sol-card-sm{
  background: var(--light-bg-2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px;
  display:flex;
  gap:14px;
  flex:1;
}
.sol-sm-icon{
  width:38px; height:38px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.sol-sm-chat{ background:#e3faec; color:#1fa860; }
.sol-sm-mail{ background:#f1e9ff; color:#8b5cf6; }
.sol-sm-hub{ background:#e3faf7; color:#12a6a0; }
.sol-card-sm-partner{ border-style:dashed; border-color:#7fe3d4; background: #f8fefd; }
.sol-card-sm h4{ display:flex; align-items:center; }
.sol-card-sm h4{ font-size:15px; margin-bottom:5px; }
.sol-card-sm p{ font-size:13px; color: var(--ink-muted); margin:0 0 6px; line-height:1.45; }

/* ---- flow diagram ---- */
.flow-diagram{
  position: relative;
  background: var(--card-dark-2);
  border: 1px solid var(--card-dark-border);
  border-radius: var(--radius-lg);
  padding: 40px 30px 60px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  flex-wrap: wrap;
}
.flow-node{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  width: 128px;
}
.flow-ico{
  width:40px; height:40px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:10px;
  background: rgba(255,255,255,.05);
  border:1px solid var(--card-dark-border);
}
.flow-ico-erp{ color:#6db4ff; }
.flow-ico-hub{ color:#2fe0c9; }
.flow-ico-pedidos{ color:#ff9a6a; }
.flow-ico-chat{ color:#3ddc7a; }
.flow-ico-mail{ color:#a78bfa; }
.flow-node b{ font-size:14px; margin-bottom:3px; color:#fff; }
.flow-node span{ font-size:11.5px; color: var(--text-muted); line-height:1.35; }
.flow-arrow{ color:#3a3f4e; font-size:18px; flex-shrink:0; }
.flow-node-box{
  background: var(--card-dark);
  border:1px solid var(--card-dark-border);
  border-radius: var(--radius-md);
  padding: 16px;
  width: 220px;
  box-shadow: 0 20px 40px -25px rgba(0,0,0,.5);
}
.flow-box-title{ font-size:12.5px; display:block; margin-bottom:2px; color:#fff; }
.flow-box-via{ display:block; font-size:9.5px; color:#2fe0c9; margin-bottom:10px; font-weight:600; }
.flow-box-divider{ height:1px; background: var(--card-dark-border); margin:12px 0 10px; }
.flow-box-via-native{ color:#a78bfa; margin-bottom:8px; }
.flow-box-icons{ display:flex; gap:8px; justify-content:center; margin-bottom:8px; }
.mini-chip{
  display:flex; align-items:center; justify-content:center;
  height:32px;
  min-width:56px;
  border-radius:8px;
  background:#fff;
  padding:5px 10px;
  position:relative;
}
.mini-chip-img{ max-width:76px; max-height:18px; width:auto; height:auto; object-fit:contain; display:block; }
.mini-magalu{ background:#fff; width:100%; height:auto; padding:7px 8px; border-radius:8px; margin-bottom:6px; }
.mini-netshoes{ background:#fff; width:100%; height:auto; padding:7px 8px; border-radius:8px; }
.flow-box-more{ display:block; margin-top:8px; color: var(--text-muted-2); font-size:10.5px; }

.flow-loop{
  position:absolute;
  bottom: 14px;
  left:50%;
  transform: translateX(-50%);
  background: var(--bg-dark);
  border:1px solid var(--card-dark-border);
  color:#fff;
  font-size: 11.5px;
  font-weight:600;
  padding: 8px 18px;
  border-radius: 999px;
}

/* ---- integrations / segments two column ---- */
.two-col{ display:grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.logo-strip{ display:flex; flex-wrap:wrap; gap:10px; margin-top:24px; }
.logo-strip-oneline{ flex-wrap:nowrap; overflow-x:auto; padding-bottom:4px; }
.logo-strip-oneline .logo-pill{ flex:1; text-align:center; white-space:nowrap; }
.logo-pill{
  border:1px solid var(--border-light);
  border-radius: 10px;
  padding: 12px 16px;
  font-weight:700;
  font-size: 13px;
  color:#3a3a45;
  transition: border-color .2s ease, transform .2s ease;
}
.logo-pill:hover{ border-color:#7fe3d4; transform: translateY(-2px); }

.segment-row{ display:grid; gap: 12px; margin-top: 24px; }
.segment-row-2col{ grid-template-columns: repeat(3, 1fr); }
.segment-row-oneline{ grid-template-columns: repeat(10, 1fr); gap:10px; }
.segment-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  padding: 16px 6px;
  border:1px solid var(--border-light);
  border-radius: var(--radius-md);
  color:#4a4a58;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.segment-item:hover{ border-color:#7fe3d4; color:#12a6a0; transform: translateY(-3px); }
.segment-item span{ font-size:11px; font-weight:600; text-align:center; line-height:1.25; }

/* ---- CTA bar ---- */
.cta-bar{
  background: linear-gradient(120deg, #061428, #04101f);
  border: 1px solid var(--card-dark-border);
  border-radius: var(--radius-lg);
  padding: 34px 40px;
  display:flex;
  align-items:center;
  gap: 26px;
  flex-wrap:wrap;
}
.cta-bar-ico{
  width:52px; height:52px; border-radius:14px;
  background: rgba(47,224,201,.1);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.cta-bar-copy{ flex: 1; min-width:240px; }
.cta-bar-copy h3{ color:#fff; font-size:19px; margin-bottom:6px; }
.cta-bar-copy p{ color: var(--text-muted); font-size:13.5px; margin:0; max-width:440px; line-height:1.5; }
.cta-bar-actions{ display:flex; gap:12px; flex-wrap:wrap; }
.cta-note{ display:flex; align-items:center; gap:6px; color: var(--text-muted-2); font-size:12.5px; width:100%; justify-content:flex-end; }

/* ---- footer ---- */
.site-footer{ background: var(--bg-dark); padding: 70px 0 0; border-top:1px solid rgba(255,255,255,.06); }
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr 0.8fr 1.3fr;
  gap: 30px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
@media (max-width: 860px){
  .footer-grid{ grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .footer-brand{ grid-column: 1 / -1; }
  .footer-newsletter{ grid-column: 1 / -1; margin-top: 10px; }
}
@media (max-width: 480px){
  .footer-grid{ grid-template-columns: 1fr; }
}
.footer-brand p{ color: var(--text-muted-2); font-size:13px; line-height:1.6; margin-top:14px; max-width:220px; }
.footer-col h5{ color:#fff; font-size:13.5px; margin-bottom:16px; font-family: var(--font-body); }
.footer-col ul{ display:flex; flex-direction:column; gap:11px; }
.footer-col a{ color: var(--text-muted); font-size:13.5px; }
.footer-col a:hover{ color:#fff; }
.footer-newsletter h5{ color:#fff; font-size:13.5px; margin-bottom:12px; }
.footer-newsletter form{ display:flex; gap:8px; margin-bottom:18px; }
.footer-newsletter input{
  flex:1;
  background: var(--card-dark);
  border:1px solid var(--card-dark-border);
  border-radius: 8px;
  padding: 10px 12px;
  color:#fff;
  font-size:13px;
}
.footer-newsletter input::placeholder{ color: var(--text-muted-2); }
.footer-newsletter button{
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
  border:none;
  color:#04141f;
  width:38px;
  border-radius:8px;
  font-size:16px;
  font-weight:700;
}
.social-row{ display:flex; gap:10px; }
.social-row a{
  width:32px; height:32px;
  border-radius:8px;
  background: var(--card-dark);
  border:1px solid var(--card-dark-border);
  display:flex; align-items:center; justify-content:center;
  color: var(--text-muted);
}
.social-row a:hover{ color:#fff; border-color:#3a3a4a; }

.footer-bottom{
  max-width: var(--max-w);
  margin:0 auto;
  padding: 22px 32px 30px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
}
.footer-bottom span{ color: var(--text-muted-2); font-size:12.5px; }
.footer-legal{ display:flex; gap:20px; }
.footer-legal a{ color: var(--text-muted-2); font-size:12.5px; }
.footer-legal a:hover{ color:#fff; }

/* =========================== PRICING PAGE =========================== */
.test-banner{
  background: #2a1c04;
  border-bottom: 1px solid #4a3608;
  color: #ffcc66;
  font-size: 13px;
  font-weight: 600;
}
.test-banner-inner{ display:flex; align-items:center; gap:8px; padding: 10px 32px; }
.test-banner-inner b{ font-weight:800; }

.pricing-hero{ padding: 56px 0 70px; background: radial-gradient(ellipse 90% 70% at 82% 15%, #0a2440 0%, var(--bg-dark) 55%), var(--bg-dark); }
.pricing-head{ text-align:center; max-width: 680px; margin: 0 auto 50px; }
.pricing-h1{
  font-size: clamp(28px, 3.6vw, 42px);
  line-height:1.2;
  color:#fff;
  letter-spacing:-0.01em;
  margin-bottom: 16px;
  font-family: var(--font-display);
}
.pricing-lead{ margin: 0 auto; max-width: 560px; color: var(--text-muted); }

.pricing-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items:stretch;
}
.price-card{
  position:relative;
  background: var(--card-dark-2);
  border: 1px solid var(--card-dark-border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  display:flex;
  flex-direction:column;
}
.price-card-highlight{
  background: linear-gradient(165deg, #0d2a26, #0a1420);
  border: 1px solid rgba(47,224,201,.4);
  box-shadow: 0 30px 60px -25px rgba(47,224,201,.25);
}
.price-badge{
  position:absolute;
  top:-13px; left:50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
  color:#04141f;
  font-size:11px;
  font-weight:800;
  padding: 5px 14px;
  border-radius:999px;
  white-space:nowrap;
}
.price-card-head{ margin-bottom: 18px; }
.price-name{ display:block; font-family:var(--font-display); font-size:18px; font-weight:700; color:#fff; margin-bottom:6px; }
.price-desc{ margin:0; font-size:12.5px; color: var(--text-muted); line-height:1.5; min-height: 32px; }
.price-value{ display:flex; align-items:baseline; gap:3px; color:#fff; margin-bottom:2px; }
.price-currency{ font-size:15px; font-weight:600; color: var(--text-muted); }
.price-amount{ font-size:34px; font-weight:800; font-family: var(--font-display); }
.price-period{ font-size:13px; color: var(--text-muted); }
.price-value-custom{ font-size:24px; font-weight:800; font-family: var(--font-display); }
.price-example{ display:block; font-size:10.5px; color:#ffcc66; font-weight:600; margin-bottom:18px; }
.price-cta{ width:100%; justify-content:center; margin-bottom:22px; }
.price-features{ display:flex; flex-direction:column; gap:10px; }
.price-features li{
  font-size:13px;
  color:#dfe2ea;
  padding-left:20px;
  position:relative;
  line-height:1.4;
}
.price-features li::before{
  content:'';
  position:absolute; left:0; top:4px; width:9px; height:9px;
  background: no-repeat center/contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8.5l3.5 3.5L14 3' fill='none' stroke='%232fe0c9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.price-card-enterprise .price-features li::before{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8.5l3.5 3.5L14 3' fill='none' stroke='%23a78bfa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.price-includes{
  margin-top: 40px;
  text-align:center;
}
.price-includes-label{ display:block; font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color: var(--text-muted-2); margin-bottom:16px; }
.price-includes-row{ display:flex; justify-content:center; gap:28px; flex-wrap:wrap; }
.price-includes-row span{ display:flex; align-items:center; gap:7px; font-size:13px; color: var(--text-muted); }
.price-includes-row svg{ color:#2fe0c9; flex-shrink:0; }

.scale-banner{
  position:relative;
  overflow:hidden;
  background: linear-gradient(120deg, #04140f, #061d2e);
  border: 1px solid rgba(47,224,201,.25);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  display:flex;
  align-items:center;
  gap: 40px;
}
.scale-banner-glow{
  position:absolute;
  top:50%; right: 200px;
  width: 360px; height:360px;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(47,224,201,.14), transparent 65%);
  pointer-events:none;
}
.scale-banner-copy{ position:relative; z-index:1; max-width:420px; flex-shrink:0; }
.scale-banner-copy h3{
  color:#fff;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height:1.25;
  font-family: var(--font-display);
  margin: 8px 0 20px;
}
.scale-banner-list{ display:flex; flex-direction:column; gap:12px; margin-bottom:26px; }
.scale-banner-list li{ display:flex; align-items:flex-start; gap:10px; color:#dfe4ea; font-size:14px; line-height:1.5; }
.scale-banner-list svg{ color:#2fe0c9; flex-shrink:0; margin-top:2px; }
.scale-banner-shot{
  position:relative;
  z-index:1;
  flex:1;
  min-width:0;
  background: #f6f7fb;
  border-radius: 14px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06);
  overflow:hidden;
  transform: rotate(-1deg);
}
.scale-banner-shot-chrome{ display:flex; gap:6px; padding:10px 12px; background:#eceef3; }
.scale-banner-shot-chrome span{ width:8px; height:8px; border-radius:50%; background:#d3d7e0; }
.scale-banner-shot img{ display:block; width:100%; height:auto; }

@media (max-width: 900px){
  .scale-banner{ flex-direction:column; padding: 32px 28px; }
  .scale-banner-copy{ max-width:none; }
  .scale-banner-shot{ width:100%; transform:none; }
}

.faq-h2{ margin-bottom: 32px; }
.faq-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.faq-item h4{ font-size:15.5px; margin-bottom:8px; color: var(--ink); }
.faq-item p{ margin:0; font-size:13.5px; color: var(--ink-muted); line-height:1.6; }

@media (max-width: 1080px){
  .pricing-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px){
  .pricing-grid{ grid-template-columns: 1fr; }
  .faq-grid{ grid-template-columns: 1fr; }
  .price-includes-row{ flex-direction:column; align-items:center; gap:12px; }
}

.pricing-grid-3{ grid-template-columns: repeat(3, 1fr); max-width: 980px; margin: 0 auto; }

.faixa-selector{ display:flex; gap:6px; margin-bottom:18px; }
.faixa-btn{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:2px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 8px 4px;
  color: var(--text-muted);
  font-size:12px;
  font-weight:800;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.faixa-btn small{ font-weight:500; font-size:9.5px; color: var(--text-muted-2); }
.faixa-btn:hover{ border-color: rgba(47,224,201,.4); }
.faixa-btn.is-active{
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
  border-color: transparent;
  color:#04141f;
}
.faixa-btn.is-active small{ color: rgba(4,20,31,.7); }

.price-stats{
  display:flex;
  gap:10px;
  margin-bottom:18px;
}
.price-stats span{
  flex:1;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 9px;
  padding: 8px 10px;
  font-size:11px;
  color: var(--text-muted);
  text-align:center;
}
.price-stats span b{ display:block; color:#fff; font-size:13px; font-family: var(--font-display); }
.price-stats-static{ margin-top:2px; }
.price-stats-3 span{ padding: 8px 6px; font-size:10px; }
.price-stats-3 b{ font-size:12px; }

/* comparison table with sticky sidebar */
.compare-layout{ display:flex; gap:24px; align-items:flex-start; }
.compare-rail{
  position:sticky;
  top: 90px;
  width: 190px;
  flex-shrink:0;
  display:flex;
  flex-direction:column;
  gap:0;
  border-left: 2px solid var(--border-light);
}
.compare-rail-item{
  padding: 9px 10px 9px 14px;
  font-size:13px;
  font-weight:600;
  line-height:1.3;
  color: var(--ink-muted);
  border-left: 2px solid transparent;
  margin-left:-2px;
  border-radius: 0 8px 8px 0;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.compare-rail-item:hover{
  color:#0a6e69;
  background: rgba(47,224,201,.08);
  border-left-color: rgba(47,224,201,.35);
}
.compare-rail-item.is-active{
  color:#12a6a0;
  border-left-color:#2fe0c9;
  font-weight:700;
}
.compare-table-wrap{
  overflow:auto;
  height: 640px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  flex:1;
  min-width:0;
  scroll-margin-top: 90px;
  box-shadow: 0 20px 40px -30px rgba(20,20,40,.15);
  scrollbar-width: thin;
  scrollbar-color: #2fe0c9 #eef1f5;
}
.compare-table-wrap::-webkit-scrollbar{ width:10px; height:10px; }
.compare-table-wrap::-webkit-scrollbar-track{ background:#eef1f5; border-radius:999px; }
.compare-table-wrap::-webkit-scrollbar-thumb{ background:#2fe0c9; border-radius:999px; }
.compare-table-wrap::-webkit-scrollbar-thumb:hover{ background:#12a6a0; }
.compare-table{ width:100%; border-collapse:separate; border-spacing:0; min-width:680px; font-size:13.5px; }
.compare-table thead th{
  text-align:center;
  padding: 18px 14px;
  background: var(--light-bg-2);
  color: var(--ink);
  font-size:14.5px;
  font-weight:800;
  font-family: var(--font-display);
  border-bottom: 1px solid var(--border-light);
  white-space:nowrap;
  position:sticky;
  top:0;
  z-index:3;
}
.compare-th-feature{ text-align:left; position:sticky; left:0; top:0; z-index:5; }
.compare-th-highlight{
  background: linear-gradient(180deg, rgba(47,224,201,.14), rgba(47,224,201,.08));
  color:#0e8f88;
  border-left: 1px solid rgba(47,224,201,.3);
  border-right: 1px solid rgba(47,224,201,.3);
}
.compare-table td{
  padding: 14px 14px;
  border-bottom: 1px solid var(--border-light);
  color: var(--ink-muted);
  text-align:center;
  vertical-align:middle;
  transition: background .12s ease;
}
.compare-table td:first-child{
  text-align:left;
  color: var(--ink);
  font-weight:600;
  position:sticky;
  left:0;
  background:#fff;
  z-index:1;
}
.compare-table td small{ display:block; color:#9aa0ae; font-size:10.5px; font-weight:400; margin-top:2px; }
.compare-td-highlight{
  background: rgba(47,224,201,.05);
  border-left: 1px solid rgba(47,224,201,.2);
  border-right: 1px solid rgba(47,224,201,.2);
}
.compare-table tbody tr:not(.compare-group-row):hover td{ background: #f5f8fb; }
.compare-table tbody tr:not(.compare-group-row):hover td.compare-td-highlight{ background: rgba(47,224,201,.1); }
.compare-table tbody tr:not(.compare-group-row):hover td:first-child{ background: #f5f8fb; }

.compare-group-row{ scroll-margin-top: 90px; }
.compare-group-row td{
  background: #d3f7f0 !important;
  color:#0a6e69;
  font-weight:800;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.05em;
  text-align:left;
  padding: 11px 14px;
  position:sticky;
  top:53px;
  z-index:2;
}
.compare-group-row td:first-child{ position:sticky; left:0; top:53px; z-index:3; }

.check-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px; height:22px;
  border-radius:50%;
  background: rgba(18,166,160,.12);
  color:#12a6a0;
  font-size:12px;
  font-weight:800;
}
.compare-td-highlight .check-badge{ background: rgba(18,166,160,.22); }
.compare-table td.no{ color:#c7cad2; font-size:15px; }
.soon-badge{
  display:inline-block;
  font-size:10px;
  font-weight:700;
  color:#a06a12;
  background: rgba(255,187,51,.16);
  padding: 3px 9px;
  border-radius:999px;
  white-space:nowrap;
}
.compare-tiers{ display:flex; flex-direction:column; gap:3px; align-items:center; font-size:12px; }
.compare-tiers span{ white-space:nowrap; }

@media (max-width: 860px){
  .pricing-grid-3{ grid-template-columns: 1fr; max-width: 420px; }
  .compare-layout{ flex-direction:column; }
  .compare-table-wrap{ width:100%; }
  .compare-rail{
    position:static;
    width:100%;
    flex-direction:row;
    overflow-x:auto;
    gap:4px;
    padding-bottom:4px;
    border-left:none;
    border-bottom: 2px solid var(--border-light);
  }
  .compare-rail-item{
    white-space:nowrap;
    border-left:none;
    border-bottom: 2px solid transparent;
    margin-left:0;
    margin-bottom:-2px;
    padding: 9px 12px;
  }
  .compare-rail-item.is-active{ border-left:none; border-bottom-color:#2fe0c9; }
}

/* reveal-on-scroll */
[data-reveal]{
  opacity:0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].in-view{ opacity:1; transform: translateY(0); }

/* =========================== RESPONSIVE =========================== */
@media (max-width: 1080px){
  .main-nav{ display:none; }
  .hamburger{ display:flex; }
  .header-actions .link-entrar{ display:none; }
  .header-actions > .btn-primary.btn-sm{ display:none; }
  .hero-inner{ grid-template-columns: 1fr; }
  .solutions-grid{ grid-template-columns: 1fr 1fr; }
  .sol-side{ grid-column: 1 / -1; flex-direction:row; }
  .two-col{ grid-template-columns: 1fr; gap: 40px; }
  .why-card-grid{ grid-template-columns: 1fr 1fr; }
  .segment-row-oneline{
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 92px;
    overflow-x:auto;
    padding-bottom:4px;
  }
}
@media (max-width: 860px){
  .solutions-grid{ grid-template-columns: 1fr; }
  .sol-side{ flex-direction:column; }
  .why-card{ padding: 30px; }
  .why-card-grid{ grid-template-columns: 1fr; }
  .dashboard-card{ width: 100%; }
  .dash-grid2{ grid-template-columns: 1fr 1fr; }
  .dash-panels2{ grid-template-columns: 1fr; }
}
@media (max-width: 640px){
  .header-inner{ padding: 14px 20px; }
  .section-inner{ padding: 0 20px; }
  .hero{ padding: 40px 0 40px; }
  .hero-ctas{ flex-direction:column; align-items:stretch; }
  .hero-ctas .btn{ justify-content:center; }
  .segment-row-2col{ grid-template-columns: repeat(3,1fr); }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .flow-diagram{ flex-direction:column; }
  .flow-arrow{ transform: rotate(90deg); }
  .cta-bar{ flex-direction:column; align-items:flex-start; }
  .cta-bar-actions{ width:100%; }
  .cta-bar-actions .btn{ flex:1; justify-content:center; }
  .cta-note{ justify-content:flex-start; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
  .dnode-row{ flex-wrap:wrap; justify-content:center; }
}

  /* ===== SECTION 1: white bg feature carousel ===== */
  .feat-section{ padding: 84px 0; background:#fff; }
  .feat-head{ max-width: 640px; margin: 0 auto 44px; text-align:center; }
  .feat-head h2{ font-size: clamp(26px,3vw,34px); line-height:1.2; color: var(--ink); margin-bottom:14px; }
  .feat-head p{ color: var(--ink-muted); font-size:15.5px; line-height:1.6; }

  .feat-carousel-wrap{ position:relative; max-width: var(--max-w); margin:0 auto; padding: 0 32px; }
  .feat-nav{
    position:absolute; top:-72px; right:32px; display:flex; gap:10px;
  }
  .feat-nav-btn{
    width:42px; height:42px; border-radius:50%;
    border:1px solid var(--border-light); background:#fff;
    display:flex; align-items:center; justify-content:center;
    color: var(--ink); transition: border-color .15s ease, background .15s ease;
  }
  .feat-nav-btn:hover{ border-color:#2fe0c9; background:#f2fffc; }
  .feat-nav-btn:disabled{ opacity:.35; cursor:default; }
  .feat-nav-btn:disabled:hover{ border-color: var(--border-light); background:#fff; }

  .feat-track-viewport{ overflow-x:auto; scroll-snap-type: x mandatory; scrollbar-width:none; }
  .feat-track-viewport::-webkit-scrollbar{ display:none; }
  .feat-track{ display:flex; gap:20px; }
  .feat-card{
    scroll-snap-align:start;
    flex: 0 0 280px;
    height: 380px;
    border-radius: 20px;
    position:relative;
    overflow:hidden;
    padding: 22px;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    color:#fff;
  }
  .feat-card-tag{
    position:absolute; top:16px; left:16px;
    font-size:10.5px; font-weight:700; letter-spacing:.02em;
    padding: 5px 11px; border-radius:999px;
    background: rgba(255,255,255,.16);
    backdrop-filter: blur(6px);
    color:#fff;
  }
  .feat-card-visual{ position:absolute; inset:0; z-index:0; }
  .feat-card-body{ position:relative; z-index:1; padding-top: 90px; }
  .feat-card-body::before{
    content:'';
    position:absolute;
    left:-18px; right:-18px; bottom:-18px; top:0;
    background: linear-gradient(180deg, transparent, rgba(4,10,20,.55) 40%, rgba(4,10,20,.92));
    z-index:-1;
  }
  .feat-card h3{ font-size:18px; margin: 0 0 8px; font-family: var(--font-display); line-height:1.3; }
  .feat-card p{ font-size:13px; line-height:1.55; color: rgba(255,255,255,.85); margin:0; }

  .feat-card-1{ background: linear-gradient(155deg, #0a2440, #04140f); }
  .feat-card-2{ background: linear-gradient(155deg, #0d2a26, #061a17); }
  .feat-card-3{ background: linear-gradient(155deg, #1a1233, #0a0e1a); }
  .feat-card-4{ background: linear-gradient(155deg, #221a0e, #0a0e1a); }
  .feat-card-5{ background: linear-gradient(155deg, #0a1e2e, #04140f); }
  .feat-card-6{ background: linear-gradient(155deg, #1c1030, #0a0e1a); }
  .feat-card-7{ background: linear-gradient(155deg, #0e2436, #04140f); }
  .feat-card-8{ background: linear-gradient(155deg, #241408, #0a0e1a); }
  .feat-card-9{ background: linear-gradient(155deg, #0d2a20, #061a17); }
  .feat-card-10{ background: linear-gradient(155deg, #1a1420, #0a0e1a); }

  .feat-chip{
    position:absolute;
    background:#fff;
    border-radius:10px;
    padding:7px 9px;
    box-shadow: 0 14px 30px -14px rgba(0,0,0,.5);
    font-size:9.5px;
    color: var(--ink);
  }
  .feat-chip b{ display:block; font-size:11.5px; color: var(--ink); }
  .feat-chip-orders{ top:32px; right:14px; }
  .feat-chip-orders b{ color:#2fe0c9; }
  .feat-stock-bar{ position:absolute; top:44px; left:16px; right:16px; display:flex; gap:5px; align-items:flex-end; height:54px; }
  .feat-stock-bar span{ flex:1; background: linear-gradient(180deg,#2fe0c9,#12a6a0); border-radius:4px 4px 0 0; }
  .feat-fin-card{ position:absolute; top:36px; left:14px; right:14px; background:#fff; border-radius:10px; padding:10px; }
  .feat-fin-card .row{ display:flex; justify-content:space-between; font-size:9.5px; color:var(--ink-muted); padding:4px 0; border-bottom:1px solid var(--border-light); }
  .feat-fin-card .row b{ color:#12a6a0; }
  .feat-doc-card{ position:absolute; top:32px; left:18px; right:18px; background:#fff; border-radius:10px; padding:12px; }
  .feat-doc-card .line{ height:5px; background:#eceef3; border-radius:3px; margin-bottom:7px; }
  .feat-doc-card .stamp{ margin-top:8px; display:inline-block; font-size:8px; font-weight:800; color:#12a6a0; border:1px solid #2fe0c9; padding:3px 7px; border-radius:6px; }
  .feat-chat-bubble{ position:absolute; top:34px; left:14px; right:14px; }
  .feat-chat-bubble .b1, .feat-chat-bubble .b2{ background:#fff; border-radius:12px; padding:8px 10px; font-size:9.5px; color:var(--ink); margin-bottom:7px; max-width:86%; }
  .feat-chat-bubble .b2{ background:#25d366; color:#fff; margin-left:auto; }

  .feat-dre-card{ position:absolute; top:36px; left:14px; right:14px; background:#fff; border-radius:10px; padding:10px; }
  .feat-dre-card .row{ display:flex; justify-content:space-between; font-size:9.5px; color:var(--ink-muted); padding:4px 0; }
  .feat-dre-card .row.total{ border-top:1px solid var(--border-light); margin-top:4px; padding-top:6px; font-weight:700; color:var(--ink); }
  .feat-dre-card .row b{ color:#a78bfa; }
  .feat-dre-card .row.total b{ color:#12a6a0; }

  .feat-xml-chip{ position:absolute; top:40px; left:16px; right:16px; background:#fff; border-radius:10px; padding:12px; text-align:center; }
  .feat-xml-chip .icon{ width:34px; height:34px; margin:0 auto 8px; border-radius:50%; background:#e3f2ff; display:flex; align-items:center; justify-content:center; color:#4c9eff; }
  .feat-xml-chip small{ display:block; font-size:9px; color:var(--ink-muted); }
  .feat-xml-chip b{ display:block; font-size:10.5px; color:#12a6a0; margin-top:3px; }

  .feat-label-card{ position:absolute; top:38px; left:16px; right:16px; background:#fff; border-radius:10px; padding:12px; }
  .feat-label-card .barcode{ display:flex; gap:2px; height:28px; margin-bottom:8px; }
  .feat-label-card .barcode span{ flex:1; background:#12141c; }
  .feat-label-card .barcode span:nth-child(3n){ background:#e9eaf2; }
  .feat-label-card small{ display:block; font-size:8.5px; color:var(--ink-muted); text-align:center; letter-spacing:.05em; }

  .feat-rh-card{ position:absolute; top:36px; left:16px; right:16px; background:#fff; border-radius:10px; padding:10px; display:flex; flex-direction:column; gap:7px; }
  .feat-rh-row{ display:flex; align-items:center; gap:8px; }
  .feat-rh-row .avatar{ width:20px; height:20px; border-radius:50%; background:#e3faf7; flex-shrink:0; }
  .feat-rh-row .bar{ height:6px; flex:1; background:#eceef3; border-radius:3px; }

  .feat-os-card{ position:absolute; top:34px; left:16px; right:16px; background:#fff; border-radius:10px; padding:11px; }
  .feat-os-card .num{ font-size:9px; color:var(--ink-muted); margin-bottom:4px; }
  .feat-os-card .status{ display:inline-block; font-size:8.5px; font-weight:700; color:#12a6a0; background:#e3faf7; padding:3px 8px; border-radius:999px; }

  /* ===== SECTION 2: dark grid-pattern spotlight ===== */
  .spot-section{
    position:relative;
    overflow:hidden;
    background: #04070f;
    padding: 90px 0;
  }
  .spot-grid{
    position:absolute; inset:0;
    background-image:
      linear-gradient(rgba(47,224,201,.08) 1px, transparent 1px),
      linear-gradient(90deg, rgba(47,224,201,.08) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent);
  }
  .spot-glow{ position:absolute; top:20%; left:50%; transform:translateX(-50%); width:700px; height:400px; background: radial-gradient(circle, rgba(47,224,201,.16), transparent 65%); pointer-events:none; }
  .spot-inner{ position:relative; z-index:1; max-width:720px; margin:0 auto; text-align:center; padding:0 32px; }
  .spot-inner .eyebrow{ display:block; }
  .spot-inner h2{ color:#fff; font-size: clamp(26px,3.4vw,38px); line-height:1.25; margin:10px 0 18px; font-family:var(--font-display); }
  .spot-inner h2 em{ font-style:normal; color:#2fe0c9; }
  .spot-inner p{ color: var(--text-muted); font-size:15.5px; line-height:1.6; max-width:520px; margin:0 auto 30px; }

  .spot-dashboard{
    position:relative; z-index:1;
    max-width: 640px; margin: 40px auto 0;
    background: linear-gradient(155deg,#121a2e,#0a0e1a);
    border:1px solid rgba(47,224,201,.2);
    border-radius:20px;
    padding:20px;
    box-shadow: 0 50px 100px -30px rgba(0,0,0,.7), 0 0 80px -20px rgba(47,224,201,.2);
  }

/* =========================== WHATSAPP WIDGET =========================== */
.wa-widget{ position:fixed; right:24px; bottom:24px; z-index:200; display:flex; flex-direction:column; align-items:flex-end; gap:14px; }
.wa-button{
  width:60px; height:60px; border-radius:50%;
  background:#25d366; color:#fff;
  display:flex; align-items:center; justify-content:center;
  border:none; box-shadow: 0 14px 30px -10px rgba(37,211,102,.6);
  transition: transform .15s ease;
}
.wa-button:hover{ transform: scale(1.06); }
.wa-panel{
  width: 320px;
  max-width: calc(100vw - 48px);
  background: var(--card-dark);
  border: 1px solid var(--card-dark-border);
  border-radius: 18px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  overflow:hidden;
  opacity:0; visibility:hidden; transform: translateY(12px) scale(.97);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.wa-panel.open{ opacity:1; visibility:visible; transform: translateY(0) scale(1); }
.wa-panel-head{
  background:#1f9e58;
  padding:16px 18px;
  display:flex; align-items:center; justify-content:space-between;
  color:#fff;
}
.wa-panel-head b{ display:block; font-size:14.5px; }
.wa-panel-head span{ display:flex; align-items:center; gap:5px; font-size:11.5px; opacity:.9; margin-top:2px; }
.wa-dot{ width:7px; height:7px; border-radius:50%; background:#7fffb0; display:inline-block; }
.wa-close{ background:rgba(255,255,255,.15); border:none; color:#fff; width:26px; height:26px; border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.wa-close:hover{ background:rgba(255,255,255,.28); }
.wa-panel-body{ padding:14px; display:flex; flex-direction:column; gap:8px; }
.wa-greeting{ background: rgba(255,255,255,.05); color: var(--text-muted); font-size:12.5px; line-height:1.5; padding:10px 12px; border-radius:12px; margin-bottom:2px; }
.wa-option{
  display:flex; align-items:center; gap:11px;
  padding:10px; border-radius:12px;
  background: rgba(255,255,255,.03);
  border:1px solid var(--card-dark-border);
  transition: background .15s ease, border-color .15s ease;
}
.wa-option:hover{ background: rgba(37,211,102,.08); border-color: rgba(37,211,102,.3); }
.wa-option-ico{
  width:34px; height:34px; border-radius:9px; flex-shrink:0;
  background: rgba(37,211,102,.14); color:#3ddc7a;
  display:flex; align-items:center; justify-content:center;
}
.wa-option b{ display:block; font-size:13px; color:#fff; }
.wa-option small{ display:block; font-size:11px; color: var(--text-muted-2); margin-top:1px; }
.wa-option-arrow{ color: var(--text-muted-2); flex-shrink:0; margin-left:auto; }

@media (max-width:640px){
  .wa-widget{ right:16px; bottom:16px; }
  .wa-button{ width:54px; height:54px; }
}

/* =========================== CONTACT PAGE =========================== */
.contact-hero{ position:relative; overflow:hidden; padding: 64px 0 90px; background: linear-gradient(180deg, #f6fbfa 0%, #ffffff 55%); }
.contact-glow{
  position:absolute; top:-180px; right:-140px; width:600px; height:600px;
  background: radial-gradient(circle, rgba(47,224,201,.14), transparent 65%);
  pointer-events:none;
}
.contact-grid{ position:relative; z-index:1; display:grid; grid-template-columns: 1fr 1fr; gap:60px; align-items:start; }
.contact-copy h1{ font-size: clamp(30px,3.6vw,44px); color: var(--ink); line-height:1.15; margin:10px 0 16px; font-family: var(--font-display); }
.contact-copy p{ color: var(--ink-muted); font-size:16px; line-height:1.6; max-width:420px; margin-bottom:28px; }
.contact-wa-btn{ display:inline-flex; align-items:center; gap:9px; background:#25d366; }
.contact-wa-btn:hover{ background:#1fb958; }

.contact-card{
  background:#fff;
  border:1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: 0 30px 60px -30px rgba(20,20,40,.15);
}
.contact-item{ display:flex; gap:14px; padding:18px 14px; border-bottom:1px solid var(--border-light); }
.contact-item:last-child{ border-bottom:none; }
.contact-item-ico{
  width:40px; height:40px; border-radius:10px; flex-shrink:0;
  background: rgba(47,224,201,.1); color:#12a6a0;
  display:flex; align-items:center; justify-content:center;
}
.contact-item b{ display:block; font-size:14px; color: var(--ink); margin-bottom:4px; }
.contact-item p{ margin:0; font-size:13.5px; color: var(--ink-muted); line-height:1.55; }
.contact-item p a{ color: var(--ink); font-weight:600; }
.contact-item p a:hover{ color:#12a6a0; }

@media (max-width: 860px){
  .contact-grid{ grid-template-columns: 1fr; gap:36px; }
}

/* =========================== PRODUCT PAGE (ERP etc) =========================== */
.prod-hero{ padding: 56px 0 60px; }

/* Bento stat grid */
.bento-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(150px, auto);
  gap:16px;
}
.bento-card{
  background: var(--card-dark);
  border:1px solid var(--card-dark-border);
  border-radius: 18px;
  padding:20px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:8px;
}
.bento-card-lg{ grid-column: span 2; grid-row: span 2; justify-content:flex-start; }
.bento-card-wide{ grid-column: span 2; }
.bento-card-highlight{ background: linear-gradient(155deg, rgba(47,224,201,.1), rgba(47,224,201,.02)); border-color: rgba(47,224,201,.3); }
.bento-ico{
  width:40px; height:40px; border-radius:10px;
  background: rgba(47,224,201,.12); color:#2fe0c9;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:6px;
}
.bento-card-lg h3{ color:#fff; font-size:19px; font-family: var(--font-display); margin:0 0 8px; line-height:1.3; }
.bento-card-lg p{ color: var(--text-muted); font-size:13.5px; line-height:1.55; margin:0 0 16px; }
.bento-tags{ display:flex; flex-wrap:wrap; gap:8px; margin-top:auto; }
.bento-tags span{ background: rgba(255,255,255,.06); color: var(--text-muted); font-size:11px; font-weight:600; padding:5px 11px; border-radius:999px; }
.bento-stat-head{ display:flex; align-items:center; gap:7px; color: var(--text-muted); font-size:12px; font-weight:600; }
.bento-stat{ color:#fff; font-size:24px; font-weight:800; font-family: var(--font-display); }
.bento-stat small{ font-size:13px; font-weight:500; color: var(--text-muted); margin-left:4px; }
.bento-bar{ height:5px; background: rgba(255,255,255,.08); border-radius:3px; overflow:hidden; }
.bento-bar span{ display:block; height:100%; background: linear-gradient(90deg,#2fe0c9,#12a6a0); border-radius:3px; }
.bento-bar-blue span{ background: linear-gradient(90deg,#4c9eff,#2e6fd9); }
.bento-bar-purple span{ background: linear-gradient(90deg,#a78bfa,#7c5cf0); }
.bento-foot{ font-size:11.5px; color: var(--text-muted-2); }
.bento-foot-ok{ color:#3ddc7a; }

/* Detailed feature grid */
.prod-feature-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:28px 32px; margin-top:40px; }
.prod-feature-ico{
  width:44px; height:44px; border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:14px;
}
.prod-feature h4{ font-size:16px; color: var(--ink); margin-bottom:7px; }
.prod-feature p{ font-size:13.5px; color: var(--ink-muted); line-height:1.6; margin:0; }

@media (max-width: 900px){
  .bento-grid{ grid-template-columns: repeat(2, 1fr); }
  .bento-card-lg{ grid-column: span 2; grid-row: span 1; }
  .prod-feature-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .bento-grid{ grid-template-columns: 1fr; }
  .bento-card-lg, .bento-card-wide{ grid-column: span 1; }
  .prod-feature-grid{ grid-template-columns: 1fr; }
}

/* =========================== MAILMAX INBOX MOCKUP =========================== */
.mail-count-badge{ background: rgba(139,92,246,.18); color:#c4b5fd; font-size:11px; font-weight:700; padding:4px 10px; border-radius:6px; margin-left:auto; }
.mail-list{ display:flex; flex-direction:column; gap:4px; }
.mail-row{
  display:flex; align-items:center; gap:12px;
  padding:11px 10px;
  border-radius:10px;
  transition: background .15s ease;
}
.mail-row-unread{ background: rgba(139,92,246,.08); }
.mail-avatar{
  width:32px; height:32px; border-radius:50%; flex-shrink:0;
  background: rgba(76,158,255,.18); color:#6db4ff;
  display:flex; align-items:center; justify-content:center;
  font-size:11px; font-weight:700;
}
.mail-avatar-b{ background: rgba(255,122,69,.18); color:#ff9d6e; }
.mail-avatar-c{ background: rgba(61,220,122,.18); color:#3ddc7a; }
.mail-row-body{ flex:1; min-width:0; }
.mail-row-top{ display:flex; align-items:baseline; justify-content:space-between; gap:8px; }
.mail-row-top b{ font-size:12.5px; color:#fff; }
.mail-row-top small{ font-size:10px; color: var(--text-muted-2); flex-shrink:0; }
.mail-row-body span{ display:block; font-size:11.5px; color: var(--text-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-top:2px; }
.mail-tag{ font-size:9.5px; font-weight:700; padding:3px 9px; border-radius:999px; flex-shrink:0; }
.mail-tag-new{ background: rgba(139,92,246,.18); color:#c4b5fd; }
.mail-tag-pending{ background: rgba(255,187,51,.16); color:#ffcc66; }
.mail-tag-done{ background: rgba(61,220,122,.14); color:#3ddc7a; }

/* =========================== CHATMAX CONNECT VISUAL =========================== */
.chatmax-connect-card{
  display:flex; align-items:center; gap:24px;
  background: var(--card-dark);
  border: 1px solid var(--card-dark-border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
  position:relative; z-index:1;
}
.cm-step{ display:flex; flex-direction:column; align-items:center; gap:14px; flex:1; text-align:center; }
.cm-step span{ font-size:12px; color: var(--text-muted); max-width:150px; line-height:1.4; }
.cm-qr{
  width:100px; height:100px; border-radius:16px;
  background: rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
}
.cm-arrow{ color:#2fe0c9; flex-shrink:0; }
.cm-chat-preview{
  width:190px;
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  padding:12px;
  text-align:left;
}
.cm-chat-top{ display:flex; align-items:center; gap:6px; font-size:11px; font-weight:700; color:#fff; margin-bottom:10px; }
.cm-chat-top small{ font-weight:400; color: var(--text-muted-2); }
.cm-chat-dot{ width:7px; height:7px; border-radius:50%; background:#25d366; flex-shrink:0; }
.cm-bubble{ font-size:11px; padding:7px 10px; border-radius:10px; margin-bottom:6px; max-width:88%; line-height:1.4; }
.cm-bubble-in{ background: rgba(255,255,255,.06); color: var(--text-muted); }
.cm-bubble-out{ background:#25d366; color:#fff; margin-left:auto; }

.chatmax-simple-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:28px 32px; margin-top:40px; max-width:900px; margin-left:auto; margin-right:auto; }
.chatmax-roadmap-note{
  display:flex; align-items:center; gap:12px;
  max-width:700px; margin:36px auto 0;
  background: var(--light-bg-2);
  border: 1px dashed var(--border-light);
  border-radius: 14px;
  padding: 16px 20px;
  font-size:13px; color: var(--ink-muted); line-height:1.5;
}
.chatmax-roadmap-note svg{ color:#2fe0c9; flex-shrink:0; }

@media (max-width: 640px){
  .chatmax-connect-card{ flex-direction:column; }
  .cm-arrow{ transform: rotate(90deg); }
  .chatmax-simple-grid{ grid-template-columns:1fr; }
}

/* =========================== LEGAL PAGES =========================== */
.legal-hero{ padding: 56px 0 20px; background: linear-gradient(180deg, #f6fbfa 0%, #ffffff 55%); }
.legal-hero .section-inner{ max-width: 760px; }
.legal-hero h1{ font-size: clamp(28px,3.4vw,38px); color: var(--ink); font-family: var(--font-display); margin: 10px 0 10px; }
.legal-updated{ font-size:13px; color: var(--ink-muted); }
.legal-content{ padding: 20px 0 80px; }
.legal-content .section-inner{ max-width: 760px; }
.legal-content h2{ font-size:20px; color: var(--ink); font-family: var(--font-display); margin: 40px 0 14px; }
.legal-content h2:first-child{ margin-top:0; }
.legal-content p{ font-size:15px; line-height:1.75; color: var(--ink-muted); margin: 0 0 16px; }
.legal-content ul{ margin: 0 0 16px; padding-left: 22px; }
.legal-content li{ font-size:15px; line-height:1.75; color: var(--ink-muted); margin-bottom:8px; }
.legal-content strong{ color: var(--ink); }
.legal-content a{ color:#12a6a0; text-decoration:underline; }
.legal-toc{
  background: var(--light-bg-2);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 36px;
}
.legal-toc b{ display:block; font-size:12px; text-transform:uppercase; letter-spacing:.04em; color: var(--ink-muted); margin-bottom:10px; }
.legal-toc ol{ margin:0; padding-left:18px; columns: 2; column-gap: 24px; }
.legal-toc li{ font-size:13.5px; margin-bottom:6px; break-inside: avoid; }
.legal-toc a{ color: var(--ink); text-decoration:none; }
.legal-toc a:hover{ color:#12a6a0; }
@media (max-width: 640px){
  .legal-toc ol{ columns: 1; }
}
