/* =========================================================
   REDIREKTI — Landing Page
   Design tokens, layout e componentes
   ========================================================= */

:root {
  /* Paleta */
  --bg-primary: #000832;
  --bg-secondary: #020B2A;
  --blue-deep: #003B8F;
  --blue-action: #1383F0;
  --cyan: #00C8FF;
  --ice: #F4F8FF;
  --gray-text: #8A94A6;
  --green: #18D58B;
  --red: #FF4D5E;

  /* Derivados */
  --border-glow: rgba(0, 200, 255, 0.25);
  --card-bg: rgba(244, 248, 255, 0.03);
  --card-bg-strong: rgba(244, 248, 255, 0.05);
  --shadow-glow: 0 0 40px rgba(0, 200, 255, 0.12);
  --shadow-soft: 0 4px 24px rgba(0, 8, 50, 0.05);
  --light-card-bg: #FFFFFF;
  --light-border: rgba(0, 8, 50, 0.08);
  --dark-text: #000832;
  --muted-text: rgba(0, 8, 50, 0.6);

  /* Tipografia */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --container-w: 1200px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--ice);
  color: var(--dark-text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: default;
}

/* =========================================================
   Cursor glow (segue o mouse)
   ========================================================= */

.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 480px; height: 480px;
  margin-left: -240px;
  margin-top: -240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,200,255,0.10) 0%, rgba(19,131,240,0.05) 40%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate3d(-999px, -999px, 0);
  transition: opacity .3s ease;
  will-change: transform;
}

@media (max-width: 780px), (hover: none) {
  .cursor-glow { display: none; }
}

/* Conteúdo acima do fundo animado */
.site-header, main, .site-footer { position: relative; z-index: 2; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.02em;
}

p { margin: 0; color: var(--gray-text); }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

ul { list-style: none; margin: 0; padding: 0; }

svg { display: block; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

button { font-family: inherit; cursor: pointer; }

/* Focus visibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =========================================================
   Utility text styles
   ========================================================= */

.text-gradient {
  background: linear-gradient(90deg, var(--cyan), var(--blue-action));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-underline {
  position: relative;
  color: var(--dark-text);
}
.text-underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 8px;
  background: linear-gradient(90deg, rgba(255,77,94,.35), rgba(255,77,94,0));
  z-index: -1;
  border-radius: 4px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-action);
  margin-bottom: 14px;
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn i { width: 18px; height: 18px; }

.btn-primary {
  background: linear-gradient(90deg, var(--blue-action), var(--cyan));
  color: #001127;
  box-shadow: 0 8px 24px rgba(19, 131, 240, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 200, 255, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--bg-primary);
  border-color: rgba(0,8,50,0.16);
}
.btn-ghost:hover {
  border-color: var(--blue-action);
  background: rgba(19,131,240,0.06);
}

.btn-outline {
  background: transparent;
  color: var(--blue-action);
  border-color: var(--blue-action);
}
.btn-outline:hover {
  background: rgba(19,131,240,0.08);
  transform: translateY(-2px);
}

.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(244, 248, 255, 0.82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(0,8,50,0.06);
  box-shadow: 0 4px 24px rgba(0,8,50,0.04);
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background: rgba(244, 248, 255, 0.96);
  border-bottom-color: rgba(0,8,50,0.09);
  box-shadow: 0 8px 28px rgba(0,8,50,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand { display: flex; align-items: center; }

.logo-plate {
  display: inline-flex;
  align-items: center;
}

.brand-logo { height: 24px; width: auto; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-desktop a {
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(0,8,50,0.62);
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue-action));
  transition: width .25s ease;
  border-radius: 2px;
}
.nav-desktop a:hover { color: var(--bg-primary); }
.nav-desktop a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 18px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: transparent;
  border: none;
  padding: 0;
}
.menu-toggle span {
  width: 100%;
  height: 2px;
  background: var(--bg-primary);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 14px 24px 26px;
  background: rgba(244, 248, 255, 0.98);
  border-bottom: 1px solid rgba(0,8,50,0.08);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 13px 4px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--bg-primary);
  border-bottom: 1px solid rgba(0,8,50,0.07);
}
.nav-mobile a.btn {
  margin-top: 12px;
  border-bottom: none;
  text-align: center;
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  padding: 168px 0 110px;
  overflow: hidden;
  background: var(--ice);
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,8,50,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,8,50,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black 40%, transparent 90%);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.28;
}
.hero-glow-1 {
  width: 520px; height: 520px;
  background: var(--blue-action);
  top: -180px; left: -120px;
}
.hero-glow-2 {
  width: 460px; height: 460px;
  background: var(--cyan);
  top: 40px; right: -160px;
  opacity: 0.22;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-action);
  background: rgba(19,131,240,0.08);
  border: 1px solid rgba(19,131,240,0.22);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.badge i { width: 15px; height: 15px; }

.hero-title {
  font-size: clamp(34px, 4.6vw, 56px);
  color: var(--bg-primary);
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: 17px;
  color: rgba(0,8,50,0.6);
  max-width: 560px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(0,8,50,0.55);
}
.trust-item i { width: 16px; height: 16px; color: var(--blue-action); }

/* =========================================================
   Dashboard mockup (hero + section)
   ========================================================= */

.hero-visual { position: relative; }

.dashboard-mock {
  background: linear-gradient(180deg, rgba(2,11,42,0.9), rgba(0,8,50,0.95));
  border: 1px solid rgba(0,200,255,0.18);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow), 0 30px 60px rgba(0,0,0,0.45);
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.dm-topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(244,248,255,0.03);
  border-bottom: 1px solid rgba(244,248,255,0.06);
}
.dm-dots { display: flex; gap: 6px; }
.dm-dots span {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(244,248,255,0.15);
}
.dm-url {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gray-text);
  background: rgba(0,0,0,0.25);
  padding: 5px 12px;
  border-radius: 100px;
}
.dm-url i { width: 12px; height: 12px; color: var(--green); }

.dm-body { padding: 20px; display: flex; flex-direction: column; gap: 18px; }

.dm-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.dm-stat {
  background: var(--card-bg);
  border: 1px solid rgba(244,248,255,0.07);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dm-stat-label { font-size: 11.5px; color: var(--gray-text); }
.dm-stat-value { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--ice); }
.dm-stat-delta { display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; }
.dm-stat-delta i { width: 12px; height: 12px; }
.dm-stat-delta.up { color: var(--green); }
.dm-stat-delta.neutral { color: var(--cyan); }

.dm-chart {
  background: var(--card-bg);
  border: 1px solid rgba(244,248,255,0.07);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.dm-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--ice);
  margin-bottom: 10px;
}
.dm-chart-tag { color: var(--gray-text); font-size: 11px; }
.dm-chart-svg { width: 100%; height: 90px; }

.dm-list {
  background: var(--card-bg);
  border: 1px solid rgba(244,248,255,0.07);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dm-list-head {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--ice);
}
.status-dot-label {
  display: flex; align-items: center; gap: 6px;
  color: var(--green); font-size: 11px; font-weight: 600;
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; } 50% { opacity: 0.35; }
}

.dm-row {
  display: grid;
  grid-template-columns: 90px 1fr 40px;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}
.dm-row-name { color: var(--gray-text); font-family: 'Space Grotesk', monospace; }
.dm-row-bar {
  height: 6px;
  background: rgba(244,248,255,0.07);
  border-radius: 100px;
  overflow: hidden;
}
.dm-row-bar i {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--blue-action), var(--cyan));
  border-radius: 100px;
  width: 0;
  transition: width 1.2s cubic-bezier(.16,1,.3,1);
}
.dm-row-val { color: var(--ice); font-weight: 600; text-align: right; }

.floating-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(2,11,42,0.9);
  border: 1px solid rgba(0,200,255,0.3);
  color: var(--ice);
  font-size: 12.5px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 100px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  backdrop-filter: blur(10px);
  animation: float 4s ease-in-out infinite;
}
.floating-chip i { width: 15px; height: 15px; color: var(--cyan); }
.chip-1 { top: -16px; right: 10%; animation-delay: 0s; }
.chip-2 { bottom: 6%; left: -30px; animation-delay: 1.4s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* =========================================================
   Sections general
   ========================================================= */

.section { padding: 120px 0; position: relative; }

.section-head {
  max-width: 640px;
  margin: 0 auto 60px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  color: var(--dark-text);
  margin-bottom: 16px;
}
.section-head p { font-size: 16px; color: var(--muted-text); }

/* Grids */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Glass card base (tema claro) */
.glass-card,
.problem-card,
.feature-card {
  background: var(--light-card-bg);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease, background .3s ease;
}

.problem-card {
  padding: 28px 24px;
}
.problem-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,77,94,0.3);
  box-shadow: 0 20px 44px rgba(255,77,94,0.12);
}
.problem-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(255,77,94,0.1);
  color: var(--red);
  margin-bottom: 18px;
}
.problem-icon i { width: 22px; height: 22px; }
.problem-card h3 { font-size: 17px; color: var(--dark-text); margin-bottom: 8px; }
.problem-card p { font-size: 14px; }

/* =========================================================
   Solution flow diagram
   ========================================================= */

.flow-diagram {
  position: relative;
  background: var(--light-card-bg);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  padding: 50px 30px 40px;
  box-shadow: var(--shadow-soft);
}

.flow-node {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  background: #FFFFFF;
  border: 1px solid rgba(0,8,50,0.1);
  border-radius: 100px;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dark-text);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,8,50,0.06);
}
.flow-node i { width: 16px; height: 16px; color: var(--blue-action); }

.flow-node-root {
  margin: 0 auto;
  width: fit-content;
  background: linear-gradient(90deg, var(--blue-action), var(--cyan));
  color: #001127;
  border: none;
  font-size: 15px;
  padding: 13px 24px;
}
.flow-node-root i { color: #001127; }

.flow-lines { width: 100%; height: 150px; margin-top: -10px; }

.flow-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: -100px;
  position: relative;
  z-index: 1;
}
.flow-row-end { margin-top: 24px; }
.flow-node-dest {
  background: rgba(24,213,139,0.08);
  border-color: rgba(24,213,139,0.35);
}
.flow-node-dest i { color: var(--green); }

/* =========================================================
   Features
   ========================================================= */

.feature-card { padding: 30px 26px; }
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(19,131,240,0.25);
  box-shadow: 0 20px 44px rgba(19,131,240,0.12);
}
.feature-icon {
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(19,131,240,0.14), rgba(0,200,255,0.1));
  color: var(--blue-action);
  margin-bottom: 20px;
}
.feature-icon i { width: 24px; height: 24px; }
.feature-card h3 { font-size: 18px; color: var(--dark-text); margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; }

/* =========================================================
   Metrics panel
   ========================================================= */

.section.metrics {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.metrics-aurora {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.metrics-aurora .aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  will-change: transform;
}
.metrics-aurora .aurora-orb-1 {
  width: 560px; height: 560px;
  background: var(--blue-action);
  opacity: 0.32;
  top: -18%; left: -8%;
  animation: aurora-drift-1 24s ease-in-out infinite;
}
.metrics-aurora .aurora-orb-2 {
  width: 480px; height: 480px;
  background: var(--cyan);
  opacity: 0.22;
  top: 20%; right: -10%;
  animation: aurora-drift-2 28s ease-in-out infinite;
}
.metrics-aurora .aurora-orb-3 {
  width: 420px; height: 420px;
  background: var(--blue-deep);
  opacity: 0.4;
  bottom: -20%; left: 30%;
  animation: aurora-drift-3 26s ease-in-out infinite;
}

@keyframes aurora-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(70px, 50px) scale(1.08); }
  66%      { transform: translate(-30px, 90px) scale(0.96); }
}
@keyframes aurora-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40%      { transform: translate(-90px, 60px) scale(1.1); }
  75%      { transform: translate(-30px, -50px) scale(0.94); }
}
@keyframes aurora-drift-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(50px, -70px) scale(1.05); }
}

.section.metrics .container { position: relative; z-index: 1; }
.section.metrics .eyebrow { color: var(--cyan); }
.section.metrics .section-head h2 { color: var(--ice); }
.section.metrics .section-head p { color: var(--gray-text); }

.metrics-panel {
  background: linear-gradient(180deg, rgba(2,11,42,0.85), rgba(0,8,50,0.9));
  border: 1px solid rgba(0,200,255,0.15);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-glow);
}

.mp-top {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.mp-kpi {
  background: var(--card-bg);
  border: 1px solid rgba(244,248,255,0.07);
  border-radius: var(--radius-sm);
  padding: 18px;
}
.mp-kpi-label {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--gray-text); margin-bottom: 10px;
}
.mp-kpi-label i { width: 14px; height: 14px; color: var(--cyan); }
.mp-kpi-value {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 700; color: var(--ice);
}

.mp-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 18px;
}
.mp-block {
  background: var(--card-bg);
  border: 1px solid rgba(244,248,255,0.07);
  border-radius: var(--radius-md);
  padding: 22px;
}
.mp-block-chart { grid-column: 1; grid-row: 1; }
.mp-block-origin { grid-column: 2; grid-row: 1; }
.mp-block-table { grid-column: 1 / -1; grid-row: 2; }

.mp-block-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13.5px; font-weight: 600; color: var(--ice);
  margin-bottom: 16px;
}
.mp-block-tag { font-size: 11.5px; color: var(--gray-text); font-weight: 500; }

.mp-chart-svg { width: 100%; height: 180px; }
.mp-grid-lines line { stroke: rgba(244,248,255,0.06); stroke-width: 1; }

.origin-row {
  display: grid;
  grid-template-columns: 78px 1fr 34px;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--gray-text);
  margin-bottom: 14px;
}
.origin-row:last-child { margin-bottom: 0; }
.origin-bar {
  height: 7px;
  background: rgba(244,248,255,0.07);
  border-radius: 100px;
  overflow: hidden;
}
.origin-bar i {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--blue-action), var(--cyan));
  border-radius: 100px;
  width: 0;
  transition: width 1.2s cubic-bezier(.16,1,.3,1);
}
.origin-row span:last-child { color: var(--ice); font-weight: 600; text-align: right; }

.mp-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.mp-table th {
  text-align: left;
  color: var(--gray-text);
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0 12px 12px;
  border-bottom: 1px solid rgba(244,248,255,0.08);
}
.mp-table td {
  padding: 13px 12px;
  color: var(--ice);
  border-bottom: 1px solid rgba(244,248,255,0.05);
}
.mp-table tr:last-child td { border-bottom: none; }

.tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
}
.tag-green { background: rgba(24,213,139,0.12); color: var(--green); }
.tag-blue { background: rgba(0,200,255,0.12); color: var(--cyan); }
.tag-gray { background: rgba(138,148,166,0.15); color: var(--gray-text); }

/* =========================================================
   Seção clara (quebra visual no meio do site)
   ========================================================= */

.section-light {
  background: var(--ice);
}
.section-light .eyebrow { color: var(--blue-action); }
.section-light .section-head h2 { color: var(--bg-primary); }
.section-light .section-head p { color: rgba(0,8,50,0.6); }

/* =========================================================
   Groups distribution
   ========================================================= */

.groups-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.groups-text h2 { font-size: clamp(28px, 3.4vw, 40px); color: var(--bg-primary); margin-bottom: 16px; }
.groups-text p { font-size: 16px; margin-bottom: 26px; color: rgba(0,8,50,0.6); }

.groups-points { display: flex; flex-direction: column; gap: 14px; }
.groups-points li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14.5px; color: var(--bg-primary);
}
.groups-points i {
  width: 20px; height: 20px;
  padding: 3px;
  background: rgba(24,213,139,0.14);
  color: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

.groups-panel {
  background: #FFFFFF;
  border: 1px solid rgba(0,8,50,0.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: 0 24px 60px rgba(0,8,50,0.08), 0 0 0 1px rgba(0,8,50,0.02);
}

.group-item-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
}
.group-name {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--bg-primary);
}
.group-name i { width: 16px; height: 16px; color: var(--blue-action); }
.group-pct { font-size: 13px; font-weight: 700; }
.pct-high { color: var(--red); }
.pct-mid { color: var(--blue-action); }
.pct-low { color: var(--green); }
.pct-waiting { color: rgba(0,8,50,0.42); font-weight: 500; font-size: 12.5px; }

.group-bar {
  height: 9px;
  background: rgba(0,8,50,0.06);
  border-radius: 100px;
  overflow: hidden;
}
.group-bar i {
  display: block; height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--blue-action), var(--cyan));
  width: 0;
  transition: width 1.4s cubic-bezier(.16,1,.3,1);
}
.group-item-waiting .group-bar { border: 1px dashed rgba(0,8,50,0.14); }

/* =========================================================
   White label
   ========================================================= */

.wl-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.wl-text h2 { font-size: clamp(28px, 3.4vw, 40px); color: var(--dark-text); margin-bottom: 16px; }
.wl-text p { font-size: 16px; margin-bottom: 30px; color: var(--muted-text); }

.wl-examples { display: flex; flex-direction: column; gap: 10px; }
.wl-example {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', monospace;
  font-size: 14px;
  color: var(--dark-text);
  background: #FFFFFF;
  border: 1px solid var(--light-border);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  transition: border-color .25s ease, transform .25s ease;
}
.wl-example:hover { border-color: rgba(19,131,240,0.35); transform: translateX(4px); }
.wl-example i { width: 15px; height: 15px; color: var(--blue-action); flex-shrink: 0; }

.domain-card {
  background: linear-gradient(180deg, rgba(2,11,42,0.9), rgba(0,8,50,0.95));
  border: 1px solid rgba(0,200,255,0.2);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-glow), 0 30px 60px rgba(0,8,50,0.18);
}
.domain-card-head {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', monospace;
  font-size: 17px;
  font-weight: 600;
  color: var(--ice);
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(244,248,255,0.08);
}
.domain-card-head i { width: 20px; height: 20px; color: var(--cyan); }

.domain-status { display: flex; flex-direction: column; gap: 16px; }
.domain-status-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 14.5px; color: var(--ice); font-weight: 500;
}
.status-dot-green { background: var(--green); box-shadow: 0 0 8px var(--green); }
.status-dot-blue { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

/* =========================================================
   How it works
   ========================================================= */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.step {
  position: relative;
  background: var(--light-card-bg);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  box-shadow: var(--shadow-soft);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.step:hover { transform: translateY(-4px); border-color: rgba(19,131,240,0.25); box-shadow: 0 20px 44px rgba(19,131,240,0.12); }
.step-number {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-action);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.step-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(19,131,240,0.14), rgba(0,200,255,0.1));
  color: var(--blue-action);
  margin-bottom: 18px;
}
.step-icon i { width: 22px; height: 22px; }
.step h3 { font-size: 17px; color: var(--dark-text); margin-bottom: 8px; }
.step p { font-size: 14px; }

/* =========================================================
   CTA final
   ========================================================= */

.cta-final {
  padding: 100px 0 130px;
}
.cta-final-inner {
  text-align: center;
  max-width: 640px;
  background: linear-gradient(180deg, rgba(19,131,240,0.06), rgba(0,200,255,0.02));
  border: 1px solid rgba(19,131,240,0.18);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  box-shadow: 0 30px 70px rgba(19,131,240,0.1);
}
.cta-final-inner h2 { font-size: clamp(28px, 3.8vw, 42px); color: var(--dark-text); margin-bottom: 16px; }
.cta-final-inner p { font-size: 16px; margin-bottom: 34px; color: var(--muted-text); }
.cta-final-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  background: var(--ice);
  border-top: 1px solid rgba(0,8,50,0.08);
  padding: 60px 0 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 40px;
  flex-wrap: wrap;
}
.footer-brand { max-width: 360px; }
.footer-brand .logo-plate { margin-bottom: 16px; }
.footer-brand .brand-logo { height: 24px; }
.footer-brand p { font-size: 13.5px; color: rgba(0,8,50,0.55); }

.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(0,8,50,0.62);
  transition: color .2s ease;
}
.footer-links a:hover { color: var(--blue-action); }

.footer-bottom {
  border-top: 1px solid rgba(0,8,50,0.08);
  padding: 22px 0;
}
.footer-bottom p { font-size: 13px; color: rgba(0,8,50,0.45); text-align: center; }

/* =========================================================
   Scroll reveal animation
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(.98);
  filter: blur(6px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1), filter .8s cubic-bezier(.16,1,.3,1);
  transition-delay: var(--delay, 0s);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* =========================================================
   Hero — animação de entrada estilo Apple
   ========================================================= */

.hero-title { overflow: visible; }
.hero-title .hero-anim { display: block; }

.hero-anim {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(8px);
  animation: hero-in .9s cubic-bezier(.16,1,.3,1) forwards;
  animation-delay: calc(var(--hd, 0) * 0.11s + 0.15s);
}

@keyframes hero-in {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* =========================================================
   Spotlight cards (glow segue o cursor no hover)
   ========================================================= */

[data-spotlight] {
  position: relative;
  isolation: isolate;
}
[data-spotlight]::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(0,200,255,0.14), transparent 70%);
  transition: opacity .4s ease;
  pointer-events: none;
}
[data-spotlight]:hover::before { opacity: 1; }

/* =========================================================
   Tilt (perspectiva 3D no mouse move)
   ========================================================= */

[data-tilt], [data-tilt-soft] {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}

/* =========================================================
   Elementos flutuantes decorativos (alta tecnologia)
   ========================================================= */

.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid rgba(0,8,50,0.08);
  color: var(--dark-text);
  font-size: 12.5px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 100px;
  box-shadow: 0 14px 34px rgba(0,8,50,0.1);
  animation: float 5s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
  white-space: nowrap;
}
.float-badge i { width: 15px; height: 15px; color: var(--blue-action); flex-shrink: 0; }
.float-badge.badge-dark {
  background: rgba(2,11,42,0.92);
  border-color: rgba(0,200,255,0.25);
  color: var(--ice);
  box-shadow: 0 14px 34px rgba(0,8,50,0.3);
}
.float-badge.badge-dark i { color: var(--cyan); }

.tech-dot {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.4;
  animation: dot-drift 9s ease-in-out infinite;
  pointer-events: none;
}
.tech-dot.dot-lg { width: 9px; height: 9px; background: var(--blue-action); opacity: 0.28; }

@keyframes dot-drift {
  0%, 100% { transform: translate(0, 0); opacity: .25; }
  50%      { transform: translate(16px, -20px); opacity: .55; }
}

/* =========================================================
   Botões magnéticos
   ========================================================= */

.magnetic {
  will-change: transform;
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s ease, background .25s ease, border-color .25s ease;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1080px) {
  .mp-top { grid-template-columns: repeat(3, 1fr); }
  .mp-kpi:nth-child(4), .mp-kpi:nth-child(5) { grid-column: span 1; }
}

@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: flex; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero { padding: 128px 0 70px; }
  .hero-visual { order: -1; margin-bottom: 24px; }

  /* Texto do hero centralizado no mobile */
  .hero-content { text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }

  /* Deixa o título quebrar naturalmente, sem linhas forçadas que ficam desiguais */
  .hero-title .hero-anim { display: inline; }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }

  /* Cards com texto centralizado no mobile */
  .problem-card, .feature-card, .step {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .flow-row { grid-template-columns: repeat(2, 1fr); margin-top: 20px; }
  .flow-lines { display: none; }
  .flow-row-end { margin-top: 16px; }

  .mp-grid { grid-template-columns: 1fr; }
  .mp-block-chart, .mp-block-origin, .mp-block-table { grid-column: 1; }
  .mp-block-origin { grid-row: auto; }
  .mp-top { grid-template-columns: repeat(2, 1fr); }

  .groups-inner, .wl-inner { grid-template-columns: 1fr; gap: 40px; }
  .wl-visual { order: -1; }

  /* Textos de grupos e white label centralizados no mobile */
  .groups-text, .wl-text { text-align: center; }
  .groups-points { align-items: center; }
  .groups-points li { justify-content: center; }
  .wl-examples { align-items: center; }

  .steps { grid-template-columns: repeat(2, 1fr); }

  /* Espaçamento entre seções bem menor no mobile/tablet */
  .section { padding: 72px 0; }
  .cta-final { padding: 56px 0 76px; }
  .section-head { margin-bottom: 40px; }

  /* Badges flutuantes viram tags fixas centralizadas no fluxo, em vez de sumir */
  .float-badge {
    position: static;
    display: flex;
    width: fit-content;
    margin: 0 auto 14px;
    font-size: 12px;
    padding: 8px 14px;
  }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .hero-title { font-size: 28px; }
  .hero-subtitle { font-size: 15px; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { gap: 14px; row-gap: 8px; }

  .section { padding: 56px 0; }
  .cta-final { padding: 44px 0 60px; }
  .section-head { margin-bottom: 32px; }

  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }

  .mp-top { grid-template-columns: 1fr 1fr; }

  .flow-row { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-brand { max-width: 100%; }
  .footer-links { justify-content: center; }

  .cta-final-inner { padding: 44px 22px; }
  .cta-final-actions { flex-direction: column; }
  .cta-final-actions .btn { width: 100%; }

  .mp-table { font-size: 12px; }
  .mp-table th:nth-child(2), .mp-table td:nth-child(2) { display: none; }

  /* ---------- Painel de métricas compacto para mobile ---------- */
  .metrics-panel { padding: 18px; border-radius: var(--radius-md); }
  .mp-top { gap: 10px; margin-bottom: 18px; }
  .mp-kpi { padding: 12px; }
  .mp-kpi-label { font-size: 10.5px; margin-bottom: 6px; }
  .mp-kpi-label i { width: 12px; height: 12px; }
  .mp-kpi-value { font-size: 19px; }
  .mp-grid { gap: 12px; }
  .mp-block { padding: 15px; }
  .mp-block-head { font-size: 12px; margin-bottom: 12px; }
  .mp-chart-svg { height: 130px; }
  .origin-row { font-size: 11.5px; grid-template-columns: 62px 1fr 30px; margin-bottom: 10px; }
  .mp-table th, .mp-table td { padding: 10px 8px; }

  /* ---------- Dashboard mockup compacto para mobile ---------- */
  .hero { padding: 110px 0 56px; }
  .hero-visual { margin-bottom: 20px; }

  .dashboard-mock { border-radius: var(--radius-md); }

  .dm-topbar { padding: 9px 14px; gap: 10px; }
  .dm-dots span { width: 7px; height: 7px; }
  .dm-url { font-size: 10.5px; padding: 4px 10px; }
  .dm-url i { width: 10px; height: 10px; }

  .dm-body { padding: 13px; gap: 10px; }

  .dm-stats { grid-template-columns: repeat(3, 1fr); gap: 7px; }
  .dm-stat { padding: 9px 7px; gap: 3px; border-radius: 8px; }
  .dm-stat-label { font-size: 9px; line-height: 1.2; }
  .dm-stat-value { font-size: 15px; }
  .dm-stat-delta { font-size: 8.5px; gap: 2px; }
  .dm-stat-delta i { width: 9px; height: 9px; }

  .dm-chart { padding: 10px; }
  .dm-chart-head { font-size: 11px; margin-bottom: 6px; }
  .dm-chart-svg { height: 54px; }

  /* Lista de redirecionadores escondida no mobile para caber na 1ª dobra */
  .dm-list { display: none; }

  .floating-chip { display: none; }
}

@media (max-width: 380px) {
  .container { padding: 0 14px; }

  .dm-stat-label { font-size: 8.3px; }
  .dm-stat-value { font-size: 13.5px; }
  .hero-title { font-size: 25px; }
  .hero-subtitle { font-size: 14px; }

  .badge { font-size: 11.5px; padding: 7px 12px; }

  .mp-kpi-value { font-size: 17px; }
  .mp-top { grid-template-columns: 1fr 1fr; gap: 8px; }
  .mp-kpi { padding: 10px; }
  .mp-chart-svg { height: 110px; }

  .origin-row { grid-template-columns: 54px 1fr 28px; font-size: 11px; gap: 8px; }

  .wl-example { font-size: 12px; padding: 10px 12px; }

  .groups-panel { padding: 20px; }
  .domain-card { padding: 22px; }

  .cta-final-inner { padding: 36px 16px; }
  .cta-final-inner h2 { font-size: 24px; }
}
