/* hifi/sections.css — All homepage section styles */

/* ───── NAV ───── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.8);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.nav.is-scrolled { border-bottom-color: var(--border); background: rgba(255,255,255,0.92); }
.nav-inner {
  display: flex; align-items: center; gap: var(--s-8);
  height: 68px;
}
.nav-logo {
  display: inline-flex; align-items: center; cursor: pointer;
}
.nav-logo-img { height: 32px; width: auto; display: block; }
.footer-logo-img { height: 36px; }
.nav-items { display: flex; gap: 4px; flex: 1; justify-content: flex-start; }
.nav-item {
  padding: 8px 14px; border-radius: var(--r-full);
  font-size: 14px; font-weight: 500; color: var(--fg-muted);
  cursor: pointer; transition: all var(--dur-fast) var(--ease-out);
}
.nav-item:hover { color: var(--fg); background: var(--bg-muted); }
.nav-item.active { color: var(--fg-brand); }
.nav-actions { display: flex; align-items: center; gap: var(--s-3); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { display: inline-flex; align-items: center; gap: 4px; }
.nav-dropdown-trigger svg {
  transition: transform var(--dur-fast) var(--ease-out);
  opacity: 0.6;
}
.nav-dropdown:hover .nav-dropdown-trigger svg,
.nav-dropdown:focus-within .nav-dropdown-trigger svg {
  transform: rotate(180deg);
  opacity: 1;
}
.nav-submenu {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 280px;
  margin-top: 8px;
  padding: var(--s-2);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
  z-index: 100;
}
.nav-submenu::before {
  content: '';
  position: absolute;
  top: -10px; left: 0; right: 0;
  height: 10px;
}
.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-submenu-item {
  display: block;
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out);
}
.nav-submenu-item:hover { background: var(--bg-muted); }
.nav-submenu-item.active .nav-submenu-label { color: var(--fg-brand); }
.nav-submenu-label {
  font-size: 14px; font-weight: 600; color: var(--fg);
  line-height: 1.3;
}
.nav-submenu-desc {
  font-size: 12px; color: var(--fg-subtle); margin-top: 2px;
  line-height: 1.4;
}

.nav-burger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  background: var(--bg);
  border-radius: var(--r-full);
  cursor: pointer;
  padding: 0;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.nav-burger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease-out),
              opacity var(--dur-fast) var(--ease-out);
}
.menu-open .nav-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
.menu-open .nav-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-burger { display: inline-flex; }
  .nav-item-signin { display: none; }
  .nav-actions { margin-left: auto; }
  .nav-items {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: var(--s-1);
    padding: var(--s-4) var(--s-5) var(--s-8);
    height: calc(100vh - 68px);
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
    box-shadow: var(--sh-lg);
  }
  .nav-items.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-items .nav-item {
    padding: var(--s-3) var(--s-4);
    font-size: 16px;
    border-radius: var(--r-md);
  }
  .nav-dropdown { position: static; }
  .nav-dropdown-trigger { justify-content: space-between; }
  .nav-submenu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    min-width: 0;
    padding: 0 0 var(--s-2) var(--s-4);
    margin: 0;
    background: transparent;
  }
  .nav-submenu::before { display: none; }
  .nav-dropdown:hover .nav-submenu,
  .nav-dropdown:focus-within .nav-submenu { transform: none; }
  .nav-dropdown:hover .nav-dropdown-trigger svg,
  .nav-dropdown:focus-within .nav-dropdown-trigger svg { transform: none; }
}

/* ───── HERO ───── */
.hero { position: relative; padding: var(--s-16) 0 var(--s-16); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--n-100) 1px, transparent 1px),
    linear-gradient(to bottom, var(--n-100) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  opacity: 0.5;
}
.hero-bg-glow {
  position: absolute; top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(closest-side, var(--purple-200), transparent 70%);
  opacity: 0.5;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--s-16);
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: var(--s-5); align-items: flex-start; }
.hero-title { letter-spacing: -0.035em; }
.hero-accent {
  font-weight: 900;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-400));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-ctas { display: flex; gap: var(--s-3); margin-top: var(--s-3); flex-wrap: wrap; }
.hero-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s-8);
  margin-top: var(--s-8);
  padding-top: var(--s-6);
  border-top: 1px solid var(--border);
  width: 100%;
}
.hero-metric-value {
  font-size: 32px; font-weight: 600;
  color: var(--fg); letter-spacing: -0.03em;
  line-height: 1;
}
.hero-metric-label { font-size: 13px; color: var(--fg-muted); margin-top: 6px; }

.hero-visual { position: relative; }
.hero-person {
  position: relative;
  max-width: 440px;
  margin-left: auto;
}
.hero-person-img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-person-card {
  position: absolute;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  box-shadow: var(--sh-lg);
  display: flex; align-items: center; gap: 10px;
  animation: floatY 4s ease-in-out infinite;
}
.hero-card-1 {
  top: 18%; right: -24px;
  animation-delay: 0s;
}
.hero-card-2 {
  bottom: 14%; left: -32px;
  animation-delay: 0.8s;
}
.hero-mini-chart { flex-shrink: 0; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--s-12); }
  .hero-person { max-width: 360px; margin: 0 auto; }
  .hero-card-1 { right: -12px; }
  .hero-card-2 { left: -12px; }
}
@media (max-width: 640px) {
  .hero-metrics { grid-template-columns: 1fr; gap: var(--s-4); }
  .hero-person-card { padding: 10px 12px; }
}

/* ───── LOGOS ───── */
.logos-section { padding: var(--s-6) 0 var(--s-10); }
.logos-marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.logos-track {
  display: flex;
  align-items: center;
  gap: var(--s-12);
  width: max-content;
  animation: logos-scroll 40s linear infinite;
}
.logos-marquee:hover .logos-track { animation-play-state: paused; }
.logo-img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 180px;
  height: 80px;
}
@keyframes logos-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ───── PROBLEM ───── */
.problem-section { background: var(--bg-subtle); }
.problem-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4);
}
.problem-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-3);
  position: relative;
  transition: all var(--dur-base) var(--ease-out);
}
.problem-card:hover { box-shadow: var(--sh-md); border-color: var(--border-strong); }
.problem-card .icon-sq { margin-bottom: var(--s-2); }
.problem-card h3 { letter-spacing: -0.015em; }
.problem-card-highlight {
  grid-column: span 2;
  background: linear-gradient(120deg, var(--n-950) 0%, var(--purple-900) 100%);
  border-color: var(--purple-800);
  color: white;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-6);
  position: relative;
}
.problem-card-highlight h3 { color: white; font-size: 20px; }
.problem-card-highlight .small { color: rgba(255,255,255,0.72); font-size: 14px; }
.problem-card-highlight .icon-sq-dark { background: rgba(255,255,255,0.08); color: white; border: 1px solid rgba(255,255,255,0.12); }
.problem-tag {
  position: absolute;
  top: var(--s-6); right: var(--s-6);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: var(--r-full);
  background: var(--purple-500);
  color: white; font-size: 11px; font-weight: 500;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .problem-card-highlight { grid-column: span 2; flex-direction: column; align-items: flex-start; }
  .problem-tag { margin-left: 0; }
}
@media (max-width: 560px) {
  .problem-grid { grid-template-columns: 1fr; }
  .problem-card-highlight { grid-column: span 1; }
}

/* ───── TIMELINE ───── */
.process-section { overflow: hidden; }
.timeline { position: relative; padding-top: var(--s-4); }
.timeline-track {
  position: absolute; top: calc(var(--s-4) + 38px);
  left: calc(100% / 14); right: calc(100% / 14);
  height: 3px;
  background: var(--border);
  border-radius: 3px;
  transform: translateY(-50%);
}
.timeline-track-progress {
  position: absolute; top: calc(var(--s-4) + 38px);
  left: calc(100% / 14);
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--purple-600), var(--purple-400));
  border-radius: 3px;
  transform: translateY(-50%);
  transition: width 2.4s var(--ease-out);
}
.timeline.is-active .timeline-track-progress { width: calc(100% * 6 / 7); }
.timeline-steps {
  position: relative;
  display: grid; grid-template-columns: repeat(7, 1fr); gap: var(--s-3);
}
.timeline-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  opacity: 0; transform: translateY(12px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  transition-delay: calc(var(--i) * 120ms + 200ms);
}
.timeline.is-active .timeline-step { opacity: 1; transform: translateY(0); }
.timeline-dot {
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border);
  display: grid; place-items: center;
  color: var(--fg-muted);
  margin-bottom: var(--s-4);
  transition: all var(--dur-base) var(--ease-out);
  transition-delay: calc(var(--i) * 120ms + 400ms);
  position: relative; z-index: 1;
}
.timeline.is-active .timeline-dot {
  background: var(--purple-600);
  border-color: var(--purple-600);
  color: white;
  box-shadow: var(--sh-brand);
}
.timeline-num {
  font-size: 11px;
  color: var(--fg-brand);
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.timeline-title {
  font-size: 14px; font-weight: 600; color: var(--fg);
  letter-spacing: -0.01em; margin-bottom: 4px;
}
.timeline-desc { font-size: 12px; color: var(--fg-muted); line-height: 1.45; }

@media (max-width: 900px) {
  .timeline-steps { grid-template-columns: repeat(2, 1fr); gap: var(--s-6); }
  .timeline-track, .timeline-track-progress { display: none; }
  .timeline-dot { margin-bottom: var(--s-3); }
}

/* ───── FEATURES ───── */
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4);
}
.feature-card { position: relative; display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-6); }
.feature-card h3 { margin-top: var(--s-2); letter-spacing: -0.015em; }
.feature-badge {
  position: absolute; top: var(--s-4); right: var(--s-4);
}
.feature-bullets {
  list-style: none; padding: 0; margin: var(--s-3) 0 0;
  display: flex; flex-direction: column; gap: 8px;
  border-top: 1px dashed var(--border); padding-top: var(--s-4);
}
.feature-bullets li {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--fg);
}
.feature-bullets li svg { color: var(--purple-600); flex-shrink: 0; }

@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }

/* ───── DASHBOARD SHOWCASE ───── */
.dash-showcase-section { background: var(--bg-subtle); overflow: hidden; }
.dash-wrap { position: relative; }
.dash-wrap::before {
  content: '';
  position: absolute;
  inset: -40px -60px;
  background: radial-gradient(ellipse at center, rgba(91,44,145,0.08), transparent 60%);
  z-index: 0;
  pointer-events: none;
}
.dash-wrap .dash-window { position: relative; z-index: 1; }

.dash-placeholder {
  position: relative; z-index: 1;
  height: 360px;
  border-radius: var(--r-xl);
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: var(--sh-md);
  background-image: radial-gradient(var(--n-200) 1px, transparent 1px);
  background-size: 16px 16px;
  display: grid; place-items: center;
}
.dash-placeholder-label {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fg-subtle);
  background: var(--bg);
  padding: 6px 12px; border-radius: var(--r-full);
  border: 1px solid var(--border);
}
@media (max-width: 768px) { .dash-placeholder { height: 240px; } }

/* ───── MULTICANAL ───── */
.multicanal-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--s-5);
}
.multicanal-left { display: flex; flex-direction: column; gap: var(--s-5); padding: var(--s-5); }
.multicanal-tabs { display: flex; flex-direction: column; gap: 2px; }
.multicanal-tab {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--r-sm);
  background: transparent; border: 1px solid transparent;
  font-size: 14px; color: var(--fg-muted); font-weight: 500;
  cursor: pointer; text-align: left;
  transition: all var(--dur-fast) var(--ease-out);
}
.multicanal-tab:hover { background: var(--bg-muted); color: var(--fg); }
.multicanal-tab.active {
  background: var(--bg-brand-soft);
  color: var(--purple-700);
  border-color: var(--border-brand);
}
.multicanal-preview {
  padding: var(--s-5);
  background: var(--bg-subtle);
  border-radius: var(--r-md);
  min-height: 200px;
  display: flex; flex-direction: column; gap: 8px;
}
.multicanal-line {
  padding: 10px 14px;
  background: var(--bg);
  border-radius: 14px 14px 14px 4px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--fg);
  max-width: 85%;
  border: 1px solid var(--border);
  box-shadow: var(--sh-xs);
  animation: msgIn 400ms var(--ease-out) both;
}
.multicanal-line.from-customer {
  margin-left: auto;
  background: var(--purple-600);
  color: white;
  border-radius: 14px 14px 4px 14px;
  border-color: var(--purple-700);
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* E-mail mock */
.email-mock {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-xs);
  animation: msgIn 400ms var(--ease-out) both;
}
.email-mock-head {
  padding: 14px 16px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 4px;
}
.email-mock-row {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.45;
}
.email-mock-key {
  color: var(--fg-muted);
  font-weight: 500;
}
.email-mock-val {
  color: var(--fg);
  font-family: var(--font-mono), ui-monospace, monospace;
  word-break: break-word;
}
.email-mock-subject {
  font-family: inherit;
  font-weight: 600;
  font-size: 13.5px;
}
.email-mock-body {
  padding: 18px 18px 20px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--fg);
}
.email-mock-body p { margin: 0 0 12px; }
.email-mock-greeting { color: var(--fg); font-weight: 500; }
.email-mock-cta {
  display: inline-block;
  margin-top: 6px;
  padding: 10px 18px;
  background: var(--purple-600);
  color: #fff;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease-out);
}
.email-mock-cta:hover { background: var(--purple-700); }
.email-mock-foot {
  padding: 10px 16px 12px;
  font-size: 11.5px;
  color: var(--fg-muted);
  border-top: 1px solid var(--border);
  background: var(--bg-subtle);
}

.multicanal-right { display: flex; flex-direction: column; gap: var(--s-4); }
.cadence { display: flex; flex-direction: column; gap: 10px; }
.cadence-row {
  display: grid; grid-template-columns: 48px 82px 1fr;
  gap: 10px; align-items: center;
}
.cadence-row::after {
  content: attr(data-title);
}
.cadence-day { font-size: 12px; color: var(--fg-brand); font-weight: 500; }
.cadence-ch { font-size: 12px; color: var(--fg); font-weight: 500; }
.cadence-bar {
  grid-column: 3;
  height: 6px; background: var(--bg-muted); border-radius: 3px; overflow: hidden;
}
.cadence-bar-fill {
  height: 100%;
  width: var(--pct);
  background: linear-gradient(90deg, var(--purple-500), var(--purple-400));
  border-radius: 3px;
  animation: barIn 900ms var(--ease-out) both;
  animation-delay: var(--delay);
}
.cadence-title {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 11px !important;
  color: var(--fg-subtle) !important;
  padding-left: 58px;
  margin-top: -6px;
}
@keyframes barIn { from { width: 0; } }

.portal-head { display: flex; align-items: flex-start; gap: var(--s-3); margin-bottom: var(--s-4); }
.portal-steps { display: flex; gap: 8px; }
.portal-step {
  flex: 1;
  padding: 12px; border-radius: var(--r-sm);
  background: var(--bg);
  border: 1px dashed var(--border-brand);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; color: var(--fg);
}
.portal-step-n {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--purple-600); color: white;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 600;
}

@media (max-width: 900px) {
  .multicanal-grid { grid-template-columns: 1fr; }
}

/* ───── DIFFERENTIATION ───── */
.differentiation-section { background: var(--n-950); color: white; }
.differentiation-section .eyebrow { color: var(--purple-300); }
.differentiation-section .h1 { color: white; }
.differentiation-section .lead { color: rgba(255,255,255,0.7); }
.differentiation-wrap { max-width: 820px; }
.diff-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5);
  margin-top: var(--s-12);
}
.diff-card {
  padding: var(--s-6);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  display: flex; flex-direction: column; gap: var(--s-3);
}
.diff-card .icon-sq {
  background: rgba(255,255,255,0.08);
  color: var(--purple-300);
}
.diff-card h3 { color: white; }
.diff-card .small { color: rgba(255,255,255,0.7); }

@media (max-width: 900px) { .diff-grid { grid-template-columns: 1fr; } }

/* ───── PILLARS ───── */
.pillars-section { background: var(--bg-subtle); }
.pillars-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.pillar-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--s-10);
  display: flex; flex-direction: column;
  transition: all var(--dur-base) var(--ease-out);
}
.pillar-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.pillar-badge {
  display: inline-block;
  padding: 4px 10px; border-radius: var(--r-full);
  background: var(--bg-brand-soft);
  align-self: flex-start;
}
.pillar-items { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.pillar-items li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--fg); }
.pillar-check {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--purple-600); color: white;
  display: grid; place-items: center; flex-shrink: 0;
}

@media (max-width: 900px) { .pillars-grid { grid-template-columns: 1fr; } .pillar-card { padding: var(--s-6); } }

/* ───── SEGMENTS ───── */
.segments-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s-5); }
.segment-hero {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  padding: var(--s-10);
  min-height: 480px;
  display: flex; flex-direction: column;
}
.segment-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 100% 0%, var(--purple-500), transparent 50%),
    linear-gradient(135deg, var(--purple-800) 0%, var(--purple-950) 100%);
  z-index: 0;
}
.segment-hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.4;
}
.segment-hero-content { position: relative; z-index: 1; display: flex; flex-direction: column; gap: var(--s-4); }
.segment-hero-icon {
  width: 76px; height: 76px; border-radius: var(--r-lg);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  display: grid; place-items: center;
  color: white;
  margin-top: var(--s-4);
}
.segment-hero-stats {
  display: flex; gap: var(--s-8);
  padding: var(--s-4) 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin: var(--s-4) 0;
}

.segments-others { display: grid; grid-template-rows: repeat(4, 1fr); gap: var(--s-3); }
.segment-card {
  display: flex; align-items: center; gap: var(--s-4);
  padding: var(--s-5);
}
.segment-card h4 { font-size: 17px; letter-spacing: -0.01em; }

@media (max-width: 900px) {
  .segments-grid { grid-template-columns: 1fr; }
  .segment-hero { min-height: auto; padding: var(--s-8); }
  .segments-others { grid-template-rows: auto; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .segments-others { grid-template-columns: 1fr; }
}

/* ───── TESTIMONIALS ───── */
.testimonials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
.testimonial-card {
  margin: 0;
  padding: var(--s-8);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  display: flex; flex-direction: column; gap: var(--s-5);
}
.testimonial-quote { color: var(--purple-400); }
.testimonial-text {
  font-size: 22px; line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--fg);
  margin: 0;
  font-weight: 500;
}
.testimonial-caption { display: flex; align-items: center; gap: var(--s-3); border-top: 1px dashed var(--border); padding-top: var(--s-5); }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--purple-100); color: var(--purple-700);
  display: grid; place-items: center;
  font-size: 14px; font-weight: 600;
}
.testimonial-name { font-weight: 600; color: var(--fg); font-size: 14px; }

@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ───── INTEGRATIONS ───── */
.integrations-wrap {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--s-10);
  padding: var(--s-10);
  align-items: center;
}
.integrations-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3);
}
.integration-tile {
  aspect-ratio: 1 / 0.7;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px;
  transition: all var(--dur-fast) var(--ease-out);
  color: var(--fg-muted);
  font-size: 12px;
  font-weight: 500;
}
.integration-tile:hover {
  border-color: var(--purple-300);
  color: var(--fg);
  transform: translateY(-2px);
}
.integration-logo {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  font-weight: 700; color: var(--purple-600);
  font-size: 14px;
}

@media (max-width: 900px) {
  .integrations-wrap { grid-template-columns: 1fr; gap: var(--s-6); padding: var(--s-6); }
  .integrations-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ───── PRICING ───── */
.pricing-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5);
  max-width: 960px; margin: 0 auto;
}
.pricing-card {
  padding: var(--s-8);
  display: flex; flex-direction: column; gap: var(--s-4);
  border-radius: var(--r-xl);
}
.pricing-card-featured {
  background: linear-gradient(135deg, var(--purple-700), var(--purple-900));
  color: white;
  border: none;
  box-shadow: var(--sh-brand-lg);
}
.pricing-price { display: flex; flex-direction: column; gap: 6px; padding: var(--s-3) 0; }
.pricing-amount {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  color: var(--fg);
  font-family: var(--font-mono);
  letter-spacing: -0.04em;
}
.pricing-currency { font-size: 24px; font-weight: 500; color: var(--fg-muted); margin-right: 6px; }
.pricing-value { font-size: clamp(40px, 9vw, 64px); font-weight: 600; line-height: 1; }
.pricing-cents { font-size: 28px; font-weight: 600; }
.pricing-period { font-size: 16px; color: var(--fg-muted); margin-left: 6px; font-weight: 400; }
.pricing-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px;
  border-top: 1px solid var(--border); padding-top: var(--s-5); margin-top: var(--s-3);
}
.pricing-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--fg); }
.pricing-features li svg { color: var(--purple-600); }
.pricing-card-featured .pricing-features { border-top-color: rgba(255,255,255,0.15); }
.pricing-card-featured .pricing-features li { color: rgba(255,255,255,0.9); }

@media (max-width: 768px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ───── PRICING CALCULATOR ───── */
.pricing-calc {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--s-8);
  display: flex; flex-direction: column; gap: var(--s-6);
  border-radius: var(--r-xl);
}
.pricing-calc-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: var(--s-4);
}
.pricing-calc-slider {
  display: flex; flex-direction: column; gap: 10px;
  padding: var(--s-5);
  background: var(--bg-subtle);
  border-radius: var(--r-md);
}
.pricing-calc-slider-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-3);
}
.pricing-calc-range-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg-brand);
  letter-spacing: -0.01em;
}
.pricing-calc-input {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px;
  background: var(--bg-muted);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
  background-image: linear-gradient(var(--purple-600), var(--purple-600));
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size var(--dur-fast) var(--ease-out);
}
.pricing-calc-input::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px;
  background: #fff;
  border: 3px solid var(--purple-600);
  border-radius: 50%;
  cursor: grab;
  box-shadow: 0 2px 8px rgba(91,44,145,0.25);
  transition: transform var(--dur-fast) var(--ease-out);
}
.pricing-calc-input::-webkit-slider-thumb:hover { transform: scale(1.1); }
.pricing-calc-input:active::-webkit-slider-thumb { cursor: grabbing; transform: scale(1.15); }
.pricing-calc-input::-moz-range-thumb {
  width: 22px; height: 22px;
  background: #fff;
  border: 3px solid var(--purple-600);
  border-radius: 50%;
  cursor: grab;
  box-shadow: 0 2px 8px rgba(91,44,145,0.25);
}
.pricing-calc-ticks {
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--fg-muted);
  font-family: var(--font-mono);
  padding: 0 2px;
  margin-top: 4px;
}
.pricing-calc-values {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--s-4);
  align-items: center;
  padding: var(--s-5);
  background: linear-gradient(135deg, rgba(91,44,145,0.04), rgba(91,44,145,0.01));
  border: 1px solid var(--border-brand);
  border-radius: var(--r-md);
}
.pricing-calc-value { display: flex; flex-direction: column; gap: 6px; }
.pricing-calc-value .pricing-amount { letter-spacing: -0.03em; }
.pricing-calc-value .pricing-value { font-size: clamp(32px, 6vw, 44px); }
.pricing-calc-value .pricing-cents { font-size: 22px; }
.pricing-calc-plus {
  font-family: var(--font-mono);
  font-size: 28px;
  color: var(--fg-brand);
  font-weight: 500;
  opacity: 0.6;
}
.pricing-calc-features {
  border-top: 1px solid var(--border);
  padding-top: var(--s-5);
}
.pricing-calc-features ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}
.pricing-calc-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--fg);
}
.pricing-calc-features li svg { color: var(--purple-600); flex-shrink: 0; }
.pricing-calc-cta {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3);
}

@media (max-width: 640px) {
  .pricing-calc { padding: var(--s-6); }
  .pricing-calc-head { flex-direction: column; }
  .pricing-calc-values { grid-template-columns: 1fr; }
  .pricing-calc-plus { justify-self: start; }
  .pricing-calc-features ul { grid-template-columns: 1fr; }
  .pricing-calc-cta { grid-template-columns: 1fr; }
}

/* ───── CREDIT SEARCH · HERO MOCKUP ───── */
.credit-hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--s-12);
  align-items: center;
}
.credit-hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-5); }

.credit-mock {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  padding: var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-5);
  max-width: 460px;
  margin-left: auto;
}
.credit-mock-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-3);
}
.credit-mock-id {
  display: flex; flex-direction: column; gap: 2px;
}
.credit-mock-id .doc {
  font-family: var(--font-mono);
  font-size: 14px; font-weight: 500;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.credit-mock-id .name { font-size: 13px; color: var(--fg-muted); }

.credit-mock-score {
  display: grid; grid-template-columns: 92px 1fr; gap: var(--s-5);
  align-items: center;
  padding: var(--s-5);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--purple-50), var(--bg));
  border: 1px solid var(--border-brand);
}
.credit-mock-gauge {
  --score: 847;
  --pct: calc(var(--score) / 1000);
  position: relative;
  width: 92px; height: 92px;
  border-radius: 50%;
  background:
    conic-gradient(var(--purple-600) calc(var(--pct) * 360deg), var(--purple-100) 0);
  display: grid; place-items: center;
}
.credit-mock-gauge::after {
  content: '';
  position: absolute; inset: 8px;
  border-radius: 50%;
  background: var(--bg);
}
.credit-mock-gauge-value {
  position: relative;
  font-family: var(--font-mono);
  font-size: 22px; font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.credit-mock-score-label {
  display: flex; flex-direction: column; gap: 4px;
}
.credit-mock-score-label .eyebrow { color: var(--purple-700); }
.credit-mock-score-label .grade {
  font-size: 22px; font-weight: 600; letter-spacing: -0.02em;
  color: var(--fg);
}
.credit-mock-score-label .grade-sub { font-size: 13px; color: var(--fg-muted); }

.credit-mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.credit-mock-stat {
  padding: var(--s-3) var(--s-4);
  background: var(--bg-subtle);
  border-radius: var(--r-md);
  display: flex; flex-direction: column; gap: 2px;
}
.credit-mock-stat .num {
  font-family: var(--font-mono);
  font-size: 20px; font-weight: 600;
  color: var(--fg); letter-spacing: -0.02em;
}
.credit-mock-stat .lbl { font-size: 11px; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.04em; }

.credit-mock-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: var(--s-2);
  padding-top: var(--s-4);
  border-top: 1px solid var(--border);
}
.credit-mock-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--fg);
}
.credit-mock-list li svg { color: var(--purple-600); flex-shrink: 0; }

.credit-mock-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-3);
  padding-top: var(--s-3);
  border-top: 1px dashed var(--border);
  font-size: 12px; color: var(--fg-subtle);
}
.credit-mock-footer .mono { color: var(--fg-muted); }

.credit-mock-float {
  position: absolute;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
  animation: floatY 4s ease-in-out infinite;
}
.credit-mock-float .icon-sq { width: 32px; height: 32px; border-radius: 8px; }
.credit-mock-float-1 { top: -18px; left: -28px; animation-delay: 0s; }
.credit-mock-float-2 { bottom: 28px; right: -32px; animation-delay: 0.8s; }
.credit-mock-float strong {
  display: block; font-size: 13px; font-weight: 600; color: var(--fg);
  font-family: var(--font-mono);
  letter-spacing: -0.01em;
}
.credit-mock-float span { font-size: 11px; color: var(--fg-muted); }

@media (max-width: 1024px) {
  .credit-hero-grid { grid-template-columns: 1fr; gap: var(--s-10); }
  .credit-mock { margin: 0 auto; }
  .credit-mock-float-1 { left: 8px; }
  .credit-mock-float-2 { right: 8px; }
}
@media (max-width: 520px) {
  .credit-mock { padding: var(--s-5); }
  .credit-mock-stats { grid-template-columns: 1fr 1fr; }
  .credit-mock-stats .credit-mock-stat:nth-child(3) { grid-column: span 2; }
}

/* ───── COLLECTION · HERO MOCKUP ───── */
.collect-mock {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  padding: var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-5);
  max-width: 460px;
  margin-left: auto;
}
.collect-mock-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-3);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--border);
}
.collect-mock-head .eyebrow { font-size: 11px; }
.collect-mock-period { font-size: 12px; color: var(--fg-muted); font-family: var(--font-mono); }

.collect-mock-kpi {
  display: grid; grid-template-columns: 1fr auto; gap: var(--s-4);
  align-items: end;
}
.collect-mock-kpi-value {
  font-family: var(--font-mono);
  font-size: 40px; font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--fg);
}
.collect-mock-kpi-value .pct { font-size: 32px; color: var(--fg-muted); margin-left: 4px; }
.collect-mock-kpi-label {
  font-size: 13px; color: var(--fg-muted);
  margin-top: 6px;
}
.collect-mock-trend {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px;
  background: #ECFDF5;
  color: #047857;
  border-radius: var(--r-full);
  font-size: 12px; font-weight: 600;
  font-family: var(--font-mono);
}

.collect-mock-spark {
  height: 56px; width: 100%;
  display: block;
}
.collect-mock-spark path { stroke: var(--purple-600); stroke-width: 2; fill: none; stroke-linecap: round; }
.collect-mock-spark .spark-area { fill: url(#sparkGrad); stroke: none; opacity: 0.35; }

.collect-mock-channels {
  display: flex; flex-direction: column; gap: var(--s-3);
}
.collect-mock-channel {
  display: grid; grid-template-columns: 80px 1fr 48px; gap: var(--s-3);
  align-items: center;
  font-size: 13px;
}
.collect-mock-channel-name { color: var(--fg); font-weight: 500; }
.collect-mock-channel-bar {
  height: 6px; background: var(--bg-muted); border-radius: var(--r-full); overflow: hidden;
}
.collect-mock-channel-bar > span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--purple-500), var(--purple-700));
  border-radius: var(--r-full);
  width: var(--w, 50%);
  animation: barFill 1.4s var(--ease-out) both;
}
.collect-mock-channel-pct {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--fg-muted); text-align: right;
}
@keyframes barFill { from { width: 0; } to { width: var(--w); } }

.collect-mock-float {
  position: absolute;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
  animation: floatY 4s ease-in-out infinite;
}
.collect-mock-float .icon-sq { width: 32px; height: 32px; border-radius: 8px; background: #ECFDF5; color: #047857; }
.collect-mock-float strong {
  display: block; font-size: 13px; font-weight: 600; color: var(--fg);
  font-family: var(--font-mono); letter-spacing: -0.01em;
}
.collect-mock-float span { font-size: 11px; color: var(--fg-muted); }
.collect-mock-float-1 { top: -18px; right: -22px; animation-delay: 0s; }
.collect-mock-float-2 { bottom: 28px; left: -28px; animation-delay: 0.8s; }

@media (max-width: 1024px) {
  .collect-mock { margin: 0 auto; }
  .collect-mock-float-1 { right: 8px; }
  .collect-mock-float-2 { left: 8px; }
}

/* ───── CREDIT SEARCH · SEGMENTED + PACKAGES ───── */
.search-products {
  max-width: 1040px; margin: 0 auto;
  display: flex; flex-direction: column; gap: var(--s-8);
}
.segmented {
  display: inline-flex; padding: 4px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  align-self: center;
  gap: 2px;
}
.segmented-btn {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 0 var(--s-5); height: 40px;
  border-radius: var(--r-full);
  font-size: 14px; font-weight: 500;
  color: var(--fg-muted);
  transition: all var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.segmented-btn:hover { color: var(--fg); }
.segmented-btn.is-active {
  background: var(--bg);
  color: var(--fg);
  box-shadow: var(--sh-sm);
}
.segmented-btn .price-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
  padding: 2px 8px;
  background: var(--bg-subtle);
  border-radius: var(--r-full);
}
.segmented-btn.is-active .price-tag {
  background: var(--bg-brand-soft);
  color: var(--purple-700);
}

.package-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4);
}
.package-card {
  position: relative;
  padding: var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-4);
  border-radius: var(--r-lg);
}
.package-card.is-featured {
  border-color: var(--border-brand);
  background: linear-gradient(180deg, var(--purple-50) 0%, var(--bg) 60%);
  box-shadow: var(--sh-md);
}
.package-card.is-custom {
  background: var(--n-900);
  color: var(--fg-inverse);
  border-color: transparent;
}
.package-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-3);
}
.package-qty {
  font-family: var(--font-mono);
  font-size: 32px; font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.package-card.is-custom .package-qty { color: var(--fg-inverse); }
.package-label {
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.package-card.is-custom .package-label { color: rgba(255,255,255,.6); }
.package-badge {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: var(--r-full);
  background: var(--bg-brand-soft);
  color: var(--purple-700);
  letter-spacing: 0.04em;
}
.package-price {
  display: flex; flex-direction: column; gap: 4px;
  padding: var(--s-3) 0;
  border-top: 1px solid var(--border);
}
.package-card.is-custom .package-price { border-top-color: rgba(255,255,255,.12); }
.package-card.is-featured .package-price { border-top-color: rgba(122,91,238,.2); }
.package-unit {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-muted);
}
.package-card.is-custom .package-unit { color: rgba(255,255,255,.6); }
.package-total {
  font-family: var(--font-mono);
  font-size: 26px; font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.package-card.is-custom .package-total { color: var(--fg-inverse); font-size: 22px; }
.package-total .currency { font-size: 16px; color: var(--fg-muted); margin-right: 4px; font-weight: 500; }
.package-card.is-custom .package-total .currency { color: rgba(255,255,255,.6); }
.package-cta { margin-top: auto; }
.package-cta .btn { width: 100%; }
.package-card.is-custom .btn-secondary {
  background: rgba(255,255,255,.08);
  color: var(--fg-inverse);
  border-color: rgba(255,255,255,.16);
}
.package-card.is-custom .btn-secondary:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.28);
}

@media (max-width: 900px) {
  .package-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .package-grid { grid-template-columns: 1fr; }
  .segmented { width: 100%; flex-direction: column; border-radius: var(--r-lg); }
  .segmented-btn { width: 100%; justify-content: space-between; }
}

/* ───── CREDIT SEARCH · COMPARISON ───── */
.compare-wrap {
  max-width: 880px; margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--bg);
}
.compare-row {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-6);
  border-top: 1px solid var(--border);
}
.compare-row:first-child { border-top: none; }
.compare-row.compare-head {
  background: var(--bg-subtle);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.compare-row.compare-head .compare-col-product {
  text-align: center;
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg-muted);
}
.compare-feature {
  display: flex; flex-direction: column; gap: 2px;
  font-size: 14px; color: var(--fg);
}
.compare-feature .xs { color: var(--fg-subtle); font-size: 12px; }
.compare-col-product {
  display: flex; align-items: center; justify-content: center;
  color: var(--fg-muted);
}
.compare-col-product.is-yes { color: var(--purple-600); }
.compare-col-product.is-no { color: var(--n-300); }

@media (max-width: 700px) {
  .compare-row { grid-template-columns: 1.2fr 60px 60px; padding: var(--s-3) var(--s-4); gap: var(--s-3); }
  .compare-row.compare-head .compare-col-product { font-size: 10px; }
}

/* ───── ADVANTAGES (compact grid) ───── */
.advantages-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5);
}
.advantage-card {
  display: flex; flex-direction: column; gap: var(--s-3);
  padding: var(--s-6);
}
.advantage-card .icon-sq { width: 40px; height: 40px; border-radius: var(--r-md); }
.advantage-card h4 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.advantage-card p { font-size: 14px; color: var(--fg-muted); line-height: 1.55; margin: 0; }

@media (max-width: 900px) { .advantages-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .advantages-grid { grid-template-columns: 1fr; } }

/* ───── FINAL CTA ───── */
.final-cta-section { background: var(--bg-subtle); }
.final-cta-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-16);
  align-items: center;
}
.final-cta-list { display: flex; flex-direction: column; gap: var(--s-3); }
.final-cta-item { display: flex; align-items: center; gap: var(--s-3); font-size: 15px; color: var(--fg); }
.contact-form { padding: var(--s-8); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.form-grid label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 12px; color: var(--fg-muted); font-weight: 500;
}
.form-grid label span { letter-spacing: 0.01em; }
.form-grid input, .form-grid textarea {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-family: inherit; font-size: 14px; color: var(--fg);
  background: var(--bg);
  transition: all var(--dur-fast) var(--ease-out);
}
.form-grid input:focus, .form-grid textarea:focus {
  outline: none;
  border-color: var(--purple-500);
  box-shadow: 0 0 0 3px var(--bg-brand-soft);
}
.form-full { grid-column: 1 / -1; }
.form-grid textarea { resize: vertical; min-height: 80px; }

@media (max-width: 900px) {
  .final-cta-grid { grid-template-columns: 1fr; gap: var(--s-10); }
  .form-grid { grid-template-columns: 1fr; }
}

/* ───── FOOTER ───── */
.footer { background: var(--n-950); color: rgba(255,255,255,0.7); padding: var(--s-20) 0 var(--s-8); }
.footer-grid {
  display: block;
  padding-bottom: var(--s-12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .small { color: rgba(255,255,255,0.6); }
.footer-social { display: flex; gap: 8px; margin-top: var(--s-5); }
.footer-social-btn {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: grid; place-items: center; color: rgba(255,255,255,0.7);
  cursor: pointer;
}
.footer-social-btn:hover { background: rgba(255,255,255,0.1); color: white; }
.footer-col-title { color: white; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; margin-bottom: var(--s-4); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,0.6); cursor: pointer; transition: color var(--dur-fast); }
.footer-col a:hover { color: white; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: var(--s-6); flex-wrap: wrap; gap: var(--s-3);
}
.footer-bottom .xs { color: rgba(255,255,255,0.5); }


/* ─── WHATSAPP FLOATING BUTTON ────────────────────────────── */
.wa-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  background: #25D366;
  color: #fff;
  border-radius: var(--r-full, 999px);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35), 0 4px 12px rgba(15, 10, 30, 0.18);
  opacity: 0;
  transform: translateY(16px) scale(0.92);
  pointer-events: none;
  transition: opacity var(--dur-med, 280ms) var(--ease-out, ease),
              transform var(--dur-med, 280ms) var(--ease-out, ease),
              box-shadow var(--dur-fast, 160ms) var(--ease-out, ease);
}
.wa-fab.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.wa-fab:hover {
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.45), 0 6px 14px rgba(15, 10, 30, 0.22);
  transform: translateY(-2px) scale(1);
}
.wa-fab-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.wa-fab-label { white-space: nowrap; }

@media (max-width: 640px) {
  .wa-fab {
    right: 14px;
    bottom: 14px;
    padding: 12px;
    border-radius: 50%;
  }
  .wa-fab-label { display: none; }
  .wa-fab-icon { width: 24px; height: 24px; }
}

/* ═══════════════════════════════════════════════════════════════════
   FOLDER VIBE — Override estético inspirado no folder impresso 2Safe
   ═══════════════════════════════════════════════════════════════════ */

/* ───── TOPBAR DE CONTATO (acima do nav) ───── */
.topbar {
  background: var(--bg-folder-deep);
  color: white;
  font-size: 13px;
  font-weight: 500;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-4);
  height: 38px;
}
.topbar-left {
  display: flex; align-items: center; gap: var(--s-2);
  color: rgba(255,255,255,0.85);
  font-size: 12px; letter-spacing: 0.02em;
}
.topbar-actions { display: flex; align-items: center; gap: var(--s-5); }
.topbar-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: white;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.topbar-link:hover { opacity: 0.8; }
.topbar-link.is-whatsapp { color: #B5F5C8; }
.topbar-divider { width: 1px; height: 14px; background: rgba(255,255,255,0.2); }
@media (max-width: 768px) {
  .topbar-inner { height: auto; padding: 8px 0; }
  .topbar-left { display: none; }
  .topbar-actions { width: 100%; justify-content: space-around; gap: var(--s-3); }
  .topbar-divider { display: none; }
  .topbar-link { font-size: 12px; }
}

/* ───── HERO FOLDER (purple-dominant) ───── */
.hero-folder {
  position: relative;
  padding: var(--s-20) 0 var(--s-12);
  background: var(--bg-folder);
  color: white;
  overflow: hidden;
}
.hero-folder::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 90% 40%, rgba(255,255,255,0.18), transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 90%, rgba(122,91,238,0.4), transparent 70%);
  pointer-events: none;
}
.hero-folder::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, #000 30%, transparent 80%);
  pointer-events: none;
}
.hero-folder .hero-inner { position: relative; z-index: 2; }
.hero-folder .hero-title { color: white; }
.hero-folder .hero-title-black {
  font-weight: 900;
  letter-spacing: -0.04em;
}
.hero-folder .lead { color: rgba(255,255,255,0.88); }
.hero-folder .badge {
  background: var(--bg-folder-glass-strong);
  color: white;
  border-color: var(--border-folder);
  backdrop-filter: blur(8px);
}
.hero-folder .btn-primary {
  background: white;
  color: var(--purple-700);
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}
.hero-folder .btn-primary:hover {
  background: var(--purple-50);
  color: var(--purple-800);
  transform: translateY(-1px);
}
.hero-folder .btn-secondary {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.45);
  box-shadow: none;
}
.hero-folder .btn-secondary:hover {
  background: rgba(255,255,255,0.10);
  border-color: white;
}
.hero-folder .btn-whatsapp {
  background: var(--whatsapp-green);
  color: white;
  border-color: transparent;
}
.hero-folder .btn-whatsapp:hover {
  background: var(--whatsapp-green-dark);
  transform: translateY(-1px);
}

/* Stats grid no estilo folder (5 stats, primeira em destaque) */
.hero-folder-stats {
  margin-top: var(--s-10);
  padding-top: var(--s-8);
  border-top: 1px solid var(--border-folder);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-6);
}
.hero-folder-stat-value {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.03em;
  line-height: 1;
}
.hero-folder-stat-value-lg {
  font-size: 38px;
}
.hero-folder-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-top: 6px;
  line-height: 1.4;
}
@media (max-width: 900px) {
  .hero-folder-stats { grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
  .hero-folder-stat-value, .hero-folder-stat-value-lg { font-size: 26px; }
}

/* Hero visual variation (cartões com fundo claro sobre o roxo) */
.hero-folder .hero-person-card {
  background: white;
  color: var(--fg);
  box-shadow: 0 16px 40px rgba(15,10,30,0.22), 0 4px 12px rgba(15,10,30,0.10);
}

/* ───── SLOGAN BANNER ───── */
.slogan-banner {
  padding: var(--s-12) 0;
  background: var(--bg-folder-deep);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.slogan-banner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(122,91,238,0.45), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(155,130,243,0.35), transparent 55%);
  pointer-events: none;
}
.slogan-banner-inner { position: relative; z-index: 1; }
.slogan-banner h2 {
  font-weight: 900;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: white;
  margin: 0 auto;
  max-width: 880px;
}
.slogan-banner p {
  margin-top: var(--s-3);
  color: rgba(255,255,255,0.8);
  font-size: 16px;
}
@media (max-width: 768px) {
  .slogan-banner h2 { font-size: 26px; }
}

/* ───── BENEFITS 01–05 (numbered, vibe folder) ───── */
.benefits-section { background: var(--n-25); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-5);
  margin-top: var(--s-10);
}
.benefit-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  position: relative;
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-lg);
  border-color: var(--purple-200);
}
.benefit-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-folder);
  color: white;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.02em;
  box-shadow: 0 8px 16px rgba(122,91,238,0.30);
}
.benefit-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.benefit-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.55;
}
@media (max-width: 1100px) {
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
  .benefit-card:nth-child(4), .benefit-card:nth-child(5) { grid-column: span 1; }
}
@media (max-width: 700px) {
  .benefits-grid { grid-template-columns: 1fr; }
}

/* ───── RADAR DE RISCO 2SAFE ───── */
.radar-section {
  background: var(--bg-folder);
  color: white;
  position: relative;
  overflow: hidden;
}
.radar-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(255,255,255,0.18), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(44,26,109,0.6), transparent 60%);
  pointer-events: none;
}
.radar-wrap {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--s-12);
  align-items: center;
}
.radar-copy { display: flex; flex-direction: column; gap: var(--s-5); align-items: flex-start; }
.radar-eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}
.radar-title {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: white;
}
.radar-title em {
  font-style: normal;
  background: linear-gradient(135deg, #FFFFFF 0%, #D4C8FB 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.radar-lead {
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
}
.radar-cta {
  margin-top: var(--s-3);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-full);
  background: white;
  color: var(--purple-700);
  font-weight: 600;
  font-size: 15px;
  transition: transform var(--dur-fast) var(--ease-out);
}
.radar-cta:hover { transform: translateY(-1px); }

.radar-visual { position: relative; }
.radar-person {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 440px;
  margin-left: auto;
  border-radius: var(--r-2xl);
  overflow: visible;
}
.radar-person-img {
  position: absolute; inset: 0;
  border-radius: var(--r-2xl);
  background: url('../assets/img/Mocalupa.png') center/cover no-repeat;
  box-shadow: var(--sh-xl);
  overflow: hidden;
}
.radar-question-card {
  position: absolute;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 16px;
  box-shadow: var(--sh-lg);
  display: flex; align-items: center; gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -0.01em;
  white-space: nowrap;
  animation: floatY 4s ease-in-out infinite;
}
.radar-qcard-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--purple-600);
  color: white;
  font-weight: 900;
  font-size: 14px;
  flex-shrink: 0;
}
.radar-qcard-1 { top: 10%;  left: -36px; animation-delay: 0s; }
.radar-qcard-2 { top: 46%;  right: -44px; animation-delay: 0.6s; }
.radar-qcard-3 { bottom: 10%; left: -28px; animation-delay: 1.2s; }

@media (max-width: 1024px) {
  .radar-person { max-width: 360px; margin: 0 auto; }
  .radar-qcard-1 { left: -16px; }
  .radar-qcard-2 { right: -16px; }
  .radar-qcard-3 { left: -12px; }
}
@media (max-width: 900px) {
  .radar-wrap { grid-template-columns: 1fr; gap: var(--s-8); }
  .radar-title { font-size: 36px; }
  .radar-question-card { font-size: 14px; padding: 10px 14px; white-space: normal; }
}

/* ───── COBRANÇA 2SAFE FEATURE LIST (espelha o folder página 2) ───── */
.cobranca-features-section { background: white; }
.cobranca-features-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--s-12);
  align-items: start;
}
.cobranca-features-list {
  display: flex; flex-direction: column;
  gap: var(--s-3);
}
.cob-feat {
  display: flex; gap: var(--s-4); align-items: flex-start;
  padding: var(--s-5);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--purple-50) 0%, white 100%);
  border: 1px solid var(--border-brand);
  transition: transform var(--dur-fast) var(--ease-out);
}
.cob-feat:hover { transform: translateX(4px); }
.cob-feat-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--bg-folder);
  color: white;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(122,91,238,0.30);
}
.cob-feat-title {
  font-size: 16px; font-weight: 600; color: var(--fg);
  margin-bottom: 2px;
}
.cob-feat-desc {
  font-size: 14px; color: var(--fg-muted); line-height: 1.5;
}
@media (max-width: 900px) {
  .cobranca-features-wrap { grid-template-columns: 1fr; gap: var(--s-8); }
}

/* ───── INTEGRAÇÕES — destaque para os 4 do folder ───── */
.integration-tile.is-featured {
  background: linear-gradient(180deg, var(--purple-50) 0%, white 100%);
  border-color: var(--purple-200);
  box-shadow: 0 4px 14px rgba(122,91,238,0.12);
}
.integration-tile.is-featured .integration-logo {
  background: var(--bg-folder);
  color: white;
}
.integration-tile.has-img-tile {
  aspect-ratio: 1 / 0.85;
  padding: var(--s-3);
  gap: 10px;
  font-size: 13px;
}
.integration-tile.is-featured .integration-logo.has-img {
  width: 64px; height: 64px;
  background: white;
  padding: 8px;
  overflow: hidden;
  border: 1px solid var(--purple-100);
  border-radius: 12px;
}
.integration-logo.has-img img {
  width: 100%; height: 100%;
  object-fit: contain;
}

/* ───── FOOTER FOLDER (purple bottom band) ───── */
.footer-contact-band {
  background: var(--bg-folder);
  color: white;
  padding: var(--s-12) 0;
}
.footer-contact-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-8);
  flex-wrap: wrap;
}
.footer-contact-text h3 {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: white;
  margin: 0 0 8px;
}
.footer-contact-text p {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  margin: 0;
}
.footer-contact-actions { display: flex; gap: var(--s-3); align-items: center; flex-wrap: wrap; }
.footer-contact-actions .btn-whatsapp {
  background: var(--whatsapp-green);
  color: white;
}
.footer-contact-actions .btn-whatsapp:hover { background: var(--whatsapp-green-dark); }
.footer-contact-actions .btn-light {
  background: white;
  color: var(--purple-700);
}
.footer-contact-actions .btn-light:hover { background: var(--purple-50); }
@media (max-width: 768px) {
  .footer-contact-band-inner { flex-direction: column; align-items: flex-start; }
}

/* ───── RADAR — bullets de problema fundidos ───── */
.radar-problems {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-2);
  margin-top: var(--s-2);
}
@media (max-width: 640px) {
  .radar-problems { grid-template-columns: 1fr; }
}
.radar-problem {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  min-height: 56px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.95);
}
.radar-problem i { color: rgba(255,255,255,0.7); flex-shrink: 0; }
.radar-cta { margin-top: var(--s-2); }

/* ───── SEGMENTS LINE (sob Integrations) ───── */
.segments-line {
  margin-top: var(--s-6);
  padding: var(--s-5) var(--s-6);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  flex-wrap: wrap;
}
.segments-line-text {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.5;
}
.segments-line-text strong {
  color: var(--fg);
  font-weight: 600;
  margin-right: 6px;
}
@media (max-width: 700px) {
  .segments-line { flex-direction: column; align-items: flex-start; }
}

/* ───── PRICING — comissão como nota (sem valor estipulado) ───── */
.pricing-amount-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding: 10px 14px;
  border-radius: var(--r-md);
  background: var(--bg-brand-soft);
  border: 1px solid var(--border-brand);
  color: var(--purple-700);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.pricing-amount-note i { color: var(--purple-600); flex-shrink: 0; }
