/* Home */
.section { padding: 96px 64px; }
.section-inner { max-width: 1180px; }
.eyebrow { font-size: 12px; letter-spacing: 0.14em; font-family: 'IBM Plex Mono', monospace; }

.btn-ghost { color: var(--accent); font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }

.platform-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid #E4E4E7; background: #FFFFFF; font-size: 13px; font-weight: 500; color: #3F3F46;
}

.card { background: #FFFFFF; border: 1px solid #ECECEC; border-radius: 16px; padding: 32px; }
.icon-ring {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px dashed var(--accent);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* Carrossel de depoimentos (preenchido por assets/js/index.js) */
.marquee-wrap {
  width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: 20px; width: max-content; animation: marquee-scroll 38s linear infinite; }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

.review-card { flex: 0 0 340px; background: #FFFFFF; border: 1px solid #ECECEC; border-radius: 20px; padding: 30px; display: flex; flex-direction: column; gap: 20px; }
.review-quote { font-size: 18px; font-weight: 400; line-height: 1.5; margin: 0; color: #27272A; flex-grow: 1; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #FFFFFF;
  display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; flex-shrink: 0;
}
.review-meta { flex-grow: 1; }
.review-name { font-size: 14px; font-weight: 600; }
.review-role { color: #71717A; font-size: 12px; }
.review-stars { color: var(--accent); font-size: 13px; }

@media (max-width: 900px) {
  .section { padding: 64px 24px; }
  .hero-grid { grid-template-columns: 1fr !important; }
  .bento-grid { grid-template-columns: 1fr !important; grid-template-rows: none !important; }
  .bento-big { grid-row: auto !important; }
  .steps-grid { grid-template-columns: 1fr !important; }
  .steps-line { display: none !important; }
  .usecase-grid { grid-template-columns: 1fr !important; }
}

/* ==========================================================================
   Hero Devices & Cross-Screen Mouse Cursor Animation
   ========================================================================== */
.hero-image-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-stage-container {
  position: relative;
  width: 100%;
  max-width: 670px;
  margin: 0 auto;
}

.hero-floor-shadow {
  position: absolute;
  width: 88%;
  height: 45%;
  bottom: 2%;
  left: 6%;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.05) 0%, rgba(90, 63, 214, 0.04) 40%, transparent 72%);
  filter: blur(24px);
  pointer-events: none;
  z-index: 0;
}

.hero-devices-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.06)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.03));
}

.hero-cursor-track {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}

/* Animated Cursor — movido por assets/js/hero-cursor.js (só transform e
   opacity, sem recalcular o layout a cada quadro). */
.hero-animated-cursor {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  display: flex;
  align-items: flex-start;
  gap: 6px;
  will-change: transform, opacity;
}

.cursor-pointer {
  position: relative;
  display: inline-block;
  transform-origin: 4px 3px;
}

.cursor-pointer.is-clicking {
  animation: cursor-press 260ms cubic-bezier(0.3, 0, 0.3, 1);
}

.cursor-svg {
  display: block;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.35));
}

.cursor-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(90, 63, 214, 0.4);
  filter: blur(5px);
  z-index: -1;
}

.cursor-click-ring {
  position: absolute;
  top: 1px;
  left: 1px;
  width: 14px;
  height: 14px;
  border: 2px solid #5A3FD6;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
}

.cursor-pointer.is-clicking .cursor-click-ring {
  animation: click-ripple 560ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* Dynamic OS Indicator Badge */
.cursor-pill-badge {
  position: relative;
  margin-top: 14px;
  margin-left: 2px;
  background: rgba(24, 24, 27, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 3px 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  min-width: 80px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-os {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 220ms ease, transform 260ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* A etiqueta mostra o sistema da tela em que o cursor está (data-os). */
.cursor-pill-badge[data-os="mac"] .badge-mac,
.cursor-pill-badge[data-os="win"] .badge-win,
.cursor-pill-badge[data-os="linux"] .badge-linux {
  opacity: 1;
  transform: translateY(0);
}

.os-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.dot-mac { background: #A855F7; box-shadow: 0 0 6px #A855F7; }
.dot-win { background: #0078D4; box-shadow: 0 0 6px #0078D4; }
.dot-linux { background: #E95420; box-shadow: 0 0 6px #E95420; }

/* Edge Beacons (Screen Cross Transitions) */
/* Brilho no ponto em que o cursor cruza de uma tela pra outra
   (posicionado e disparado pelo hero-cursor.js). */
.edge-beacon {
  position: absolute;
  width: 3px;
  height: 72px;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent, #E9E3FF 45%, #C4B5FD 55%, transparent);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(var(--edge-angle, 0deg)) scaleY(0.4);
  z-index: 5;
}

.edge-beacon.is-flashing {
  animation: beacon-flash 700ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

@keyframes cursor-press {
  0% { transform: scale(1); }
  35% { transform: scale(0.84); }
  100% { transform: scale(1); }
}

@keyframes click-ripple {
  0% { opacity: 0.9; transform: scale(0.4); }
  100% { opacity: 0; transform: scale(2.6); }
}

@keyframes beacon-flash {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(var(--edge-angle, 0deg)) scaleY(0.4); box-shadow: 0 0 0 rgba(124, 92, 255, 0); }
  25% { opacity: 1; transform: translate(-50%, -50%) rotate(var(--edge-angle, 0deg)) scaleY(1.15); box-shadow: 0 0 22px 5px rgba(139, 92, 246, 0.85); }
  100% { opacity: 0; transform: translate(-50%, -50%) rotate(var(--edge-angle, 0deg)) scaleY(0.6); box-shadow: 0 0 0 rgba(124, 92, 255, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .cursor-pointer, .cursor-click-ring, .edge-beacon, .badge-os {
    animation: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   HOW IT WORKS SECTION (Inspiration Design - Compact Edition)
   ========================================================================== */
.hiw-section {
  padding-top: 48px;
  padding-bottom: 56px;
  position: relative;
  background: radial-gradient(circle at 10% 40%, rgba(90, 63, 214, 0.035) 0%, transparent 45%),
              radial-gradient(circle at 90% 60%, rgba(90, 63, 214, 0.035) 0%, transparent 45%),
              #FAFAF9;
}

.hiw-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 36px;
}

.hiw-badge-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.hiw-badge-line {
  width: 36px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(90, 63, 214, 0.35));
}

.hiw-badge-line-right {
  background: linear-gradient(90deg, rgba(90, 63, 214, 0.35), transparent);
}

.hiw-pill-badge {
  background: #F1EEFF;
  color: #5A3FD6;
  border: 1px solid rgba(90, 63, 214, 0.16);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  display: inline-block;
}

.hiw-title {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 38px;
  line-height: 1.15;
  font-weight: 700;
  color: #18181B;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.hiw-title-purple {
  color: #5A3FD6;
}

.hiw-subtitle {
  font-size: 14.5px;
  line-height: 1.55;
  color: #6B7280;
  margin: 0;
}

/* Cards Layout */
.hiw-cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
  align-items: stretch;
}

.hiw-card {
  background: #FFFFFF;
  border: 1px solid #EAEBEF;
  border-radius: 20px;
  padding: 26px 24px 28px;
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.03), 0 16px 40px -8px rgba(90, 63, 214, 0.04);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 2;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hiw-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -4px rgba(0, 0, 0, 0.04), 0 20px 48px -6px rgba(90, 63, 214, 0.08);
  border-color: rgba(90, 63, 214, 0.25);
}

.hiw-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #F1EEFF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hiw-card:hover .hiw-icon-box {
  transform: scale(1.05);
  background: #EBE5FF;
}

.hiw-step-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #5A3FD6;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.hiw-card-title {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17.5px;
  font-weight: 700;
  color: #18181B;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

.hiw-card-desc {
  font-size: 13.5px;
  color: #71717A;
  line-height: 1.55;
  margin: 0;
}

/* Connectors Between Cards */
.hiw-connector {
  position: absolute;
  top: 96px;
  width: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  pointer-events: none;
}

.hiw-connector-1 {
  left: calc(33.333% - 19px);
}

.hiw-connector-2 {
  left: calc(66.666% - 19px);
}

.hiw-connector-line {
  position: absolute;
  left: -2px;
  right: -2px;
  top: 50%;
  border-top: 1.5px solid #DDD6FE;
  z-index: 1;
}

.hiw-connector-node {
  position: relative;
  z-index: 2;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid #DDD6FE;
  box-shadow: 0 2px 6px rgba(90, 63, 214, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .hiw-title {
    font-size: 28px;
  }
  .hiw-cards-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hiw-connector {
    display: none;
  }
}

