:root {
  --bg-primary: #070a12;
  --bg-card: #0f172a;
  --bg-card-hover: #15223c;
  --bg-card-glass: rgba(15, 23, 42, 0.88);
  --bg-input: #0b1120;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --primary: #00e5ff;
  --primary-glow: rgba(0, 229, 255, 0.35);
  --accent-green: #00e676;
  --accent-green-glow: rgba(0, 230, 118, 0.35);
  --accent-orange: #ff9100;
  --accent-orange-glow: rgba(255, 145, 0, 0.35);
  --accent-red: #ff3d71;
  --accent-red-glow: rgba(255, 61, 113, 0.35);
  --accent-purple: #c084fc;
  --border-color: #1e293b;
  --border-glow: rgba(0, 229, 255, 0.35);
  --radius: 14px;
  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(0, 229, 255, 0.12) 0%, transparent 55%),
    radial-gradient(circle at 10% 30%, rgba(0, 230, 118, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 60%, rgba(192, 132, 252, 0.05) 0%, transparent 45%);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

/* SVG ICON SYSTEM */
.icon-svg {
  width: 22px;
  height: 22px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-lg { width: 32px; height: 32px; }
.icon-xl { width: 44px; height: 44px; }

.icon-cyan {
  color: var(--primary);
  filter: drop-shadow(0 0 6px var(--primary-glow));
}

.icon-green {
  color: var(--accent-green);
  filter: drop-shadow(0 0 6px var(--accent-green-glow));
}

.icon-orange {
  color: var(--accent-orange);
  filter: drop-shadow(0 0 6px var(--accent-orange-glow));
}

.icon-red {
  color: var(--accent-red);
  filter: drop-shadow(0 0 6px var(--accent-red-glow));
}

.icon-purple {
  color: var(--accent-purple);
}

/* RADAR SCANNER ANIMATION */
.radar-bg-visual {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: min(460px, 90vw);
  height: min(460px, 90vw);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.32;
  overflow: hidden;
}

.radar-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, 0.15);
}

.radar-c1 { width: 35%; height: 35%; }
.radar-c2 { width: 65%; height: 65%; }
.radar-c3 { width: 95%; height: 95%; border-style: dashed; border-color: rgba(0, 229, 255, 0.1); }

.radar-sweep {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(0, 229, 255, 0.25) 0deg, transparent 60deg, transparent 360deg);
  animation: radarSweep 6s linear infinite;
}

@keyframes radarSweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.radar-crosshair-h {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(0, 229, 255, 0.12);
}

.radar-crosshair-v {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: rgba(0, 229, 255, 0.12);
}

.radar-blip {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 12px var(--accent-green);
  animation: blipPulse 3s infinite;
}

.blip-1 { top: 32%; left: 62%; animation-delay: 0.5s; }
.blip-2 { top: 68%; left: 38%; animation-delay: 1.8s; }

@keyframes blipPulse {
  0%, 100% { transform: scale(0.8); opacity: 0.2; }
  50% { transform: scale(1.4); opacity: 1; box-shadow: 0 0 16px var(--accent-green); }
}

/* NAVBAR */
.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 10, 18, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(30, 41, 59, 0.85);
  padding-top: max(8px, env(safe-area-inset-top, 8px));
  padding-bottom: 4px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(0, 229, 255, 0.4);
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.25);
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.05);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.45);
}

.hud-logo-mini {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--primary);
  box-shadow: 0 0 8px var(--primary-glow);
  flex-shrink: 0;
}

.brand-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(0, 230, 118, 0.2));
  border: 1px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px var(--primary-glow);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  line-height: 1.1;
}

.brand-name span {
  color: var(--primary);
  text-shadow: 0 0 10px var(--primary-glow);
}

.brand-sub {
  font-size: 0.65rem;
  color: var(--accent-green);
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-menu,
.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.86rem;
  transition: color 0.2s, background-color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 4px 6px;
  border-radius: 6px;
}

.nav-link:hover { 
  color: #fff; 
  background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 1200px) {
  .nav-menu {
    gap: 10px;
  }
  .nav-link {
    font-size: 0.80rem;
    padding: 3px 4px;
  }
  .nav-right {
    gap: 10px;
  }
}

@media (max-width: 1060px) {
  .nav-link-extra {
    display: none !important;
  }
}

.nav-cta {
  background: linear-gradient(90deg, var(--accent-green), #00c853);
  color: #03140a;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 8px 18px;
  border-radius: 8px;
  box-shadow: 0 0 14px var(--accent-green-glow);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 22px var(--accent-green-glow);
  color: #000;
}

.nav-login-btn {
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.35);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  cursor: pointer;
}

.nav-login-btn:hover {
  background: rgba(0, 229, 255, 0.18);
  border-color: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
  transform: translateY(-1px);
}

.nav-login-text-short {
  display: none;
}

.nav-login-text-full {
  display: inline;
}

/* HERO */
.hero {
  position: relative;
  padding: 50px 0 40px;
  text-align: center;
  z-index: 1;
  overflow: hidden;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.35);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.12);
  max-width: 95%;
  line-height: 1.3;
}

.hero-pill .pulse-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulseDot 1.6s infinite;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -1px;
  margin-bottom: 18px;
  word-break: break-word;
}

.hero h1 .text-glow {
  background: linear-gradient(90deg, #00e5ff 0%, #00e676 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 25px rgba(0, 229, 255, 0.25);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.hero-sub strong { color: #fff; }

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: linear-gradient(90deg, var(--accent-green), #00c853);
  color: #03140a;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 15px 30px;
  border-radius: 12px;
  box-shadow: 0 0 22px var(--accent-green-glow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px var(--accent-green-glow);
}

.btn-hero-secondary {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-color);
  color: #fff;
  font-size: 1.02rem;
  font-weight: 700;
  padding: 15px 26px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
  border-color: var(--primary);
  background: var(--bg-card-hover);
  box-shadow: 0 0 16px var(--primary-glow);
}

/* LIVE HUD COCKPIT CARD */
.hud-cockpit {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  background: var(--bg-card-glass);
  border: 1px solid var(--border-glow);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 229, 255, 0.15);
  text-align: left;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hud-cockpit:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 229, 255, 0.22);
}

.hud-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(30, 41, 59, 0.9);
  padding-bottom: 14px;
  margin-bottom: 16px;
  gap: 10px;
  flex-wrap: wrap;
}

.hud-provider-tag {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hud-dot {
  width: 10px;
  height: 10px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulseDot 2s infinite;
  flex-shrink: 0;
}

.hud-provider-title {
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  color: var(--primary);
}

.hud-score-badge {
  background: rgba(0, 230, 118, 0.15);
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 0 12px var(--accent-green-glow);
  white-space: nowrap;
}

.hud-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.hud-card-metric {
  background: #0b1120;
  border: 1px solid rgba(30, 41, 59, 0.9);
  border-radius: 10px;
  padding: 12px;
  position: relative;
  overflow: hidden;
}

.hud-card-metric::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
}

.metric-lucro::before { background: var(--accent-green); }
.metric-km::before { background: var(--primary); }
.metric-hora::before { background: var(--accent-orange); }

.hud-metric-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hud-metric-value {
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  margin-top: 4px;
  word-break: break-word;
}

.hud-metric-value.val-green { color: var(--accent-green); }
.hud-metric-value.val-cyan { color: var(--primary); }
.hud-metric-value.val-orange { color: var(--accent-orange); }

.hud-route-box {
  background: #0b1120;
  border: 1px solid rgba(30, 41, 59, 0.9);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 14px;
}

.hud-route-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  margin-bottom: 10px;
}

.hud-route-line:last-child {
  margin-bottom: 0;
}

.hud-route-name {
  color: #fff;
  font-weight: 600;
  display: block;
}

.hud-route-tag {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.tag-kitchen {
  background: rgba(0, 230, 118, 0.12);
  color: var(--accent-green);
  border: 1px solid rgba(0, 230, 118, 0.3);
}

.tag-return {
  background: rgba(0, 229, 255, 0.12);
  color: var(--primary);
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.hud-footer {
  font-size: 0.78rem;
  color: var(--accent-green);
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 230, 118, 0.08);
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(0, 230, 118, 0.2);
  line-height: 1.4;
  word-break: break-word;
}

/* SECTION: SISTEMA DE PONTUAÇÃO (SCORE) */
.score-section {
  padding: 80px 0;
  position: relative;
  border-top: 1px solid rgba(30, 41, 59, 0.8);
  background: radial-gradient(circle at 50% 50%, rgba(0, 229, 255, 0.04) 0%, transparent 70%);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--primary);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 50px;
}

.section-header h2 {
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.22;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 35px;
}

.score-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.score-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 12px 30px rgba(0, 229, 255, 0.15);
}

.score-card-weight {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(0, 229, 255, 0.15);
  color: var(--primary);
  padding: 3px 8px;
  border-radius: 6px;
}

.score-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #0b1120;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.score-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #fff;
}

.score-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* SCORE VERDICTS DISPLAY */
.verdicts-banner {
  background: #0b1120;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.verdict-box {
  padding: 16px;
  border-radius: 10px;
  border: 1px solid transparent;
}

.verdict-excellent {
  background: rgba(0, 230, 118, 0.08);
  border-color: rgba(0, 230, 118, 0.3);
}

.verdict-good {
  background: rgba(0, 229, 255, 0.08);
  border-color: rgba(0, 229, 255, 0.3);
}

.verdict-neutral {
  background: rgba(255, 145, 0, 0.08);
  border-color: rgba(255, 145, 0, 0.3);
}

.verdict-bad {
  background: rgba(255, 61, 113, 0.08);
  border-color: rgba(255, 61, 113, 0.3);
}

.verdict-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 0.8rem;
  margin-bottom: 4px;
}

.verdict-excellent .verdict-header { color: var(--accent-green); }
.verdict-good .verdict-header { color: var(--primary); }
.verdict-neutral .verdict-header { color: var(--accent-orange); }
.verdict-bad .verdict-header { color: var(--accent-red); }

.verdict-pts {
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 4px;
}

.verdict-action {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* FEATURES GRID */
.features-section {
  padding: 80px 0;
  border-top: 1px solid rgba(30, 41, 59, 0.8);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 26px;
  transition: all 0.3s ease;
  position: relative;
}

.feature-box:hover {
  transform: translateY(-3px);
  border-color: var(--accent-green);
  box-shadow: 0 12px 30px rgba(0, 230, 118, 0.12);
}

.feature-icon-wrapper {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-box h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #fff;
}

.feature-box p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ROADMAP SECTION */
.roadmap-section {
  padding: 80px 0;
  border-top: 1px solid rgba(30, 41, 59, 0.8);
  position: relative;
  background: radial-gradient(circle at 50% 30%, rgba(0, 229, 255, 0.04) 0%, transparent 65%);
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.roadmap-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.roadmap-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.roadmap-card.card-released {
  border-color: rgba(0, 230, 118, 0.4);
  box-shadow: 0 10px 30px rgba(0, 230, 118, 0.08);
}
.roadmap-card.card-released::before {
  background: linear-gradient(90deg, var(--accent-green), #00c853);
}

.roadmap-card.card-progress {
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.08);
}
.roadmap-card.card-progress::before {
  background: linear-gradient(90deg, var(--primary), #00b0ff);
}

.roadmap-card.card-future {
  border-color: rgba(255, 145, 0, 0.35);
  box-shadow: 0 10px 30px rgba(255, 145, 0, 0.06);
}
.roadmap-card.card-future::before {
  background: linear-gradient(90deg, var(--accent-orange), var(--accent-purple));
}

.roadmap-card:hover {
  transform: translateY(-4px);
}

.roadmap-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  width: fit-content;
  margin-bottom: 16px;
}

.badge-released {
  background: rgba(0, 230, 118, 0.15);
  color: var(--accent-green);
  border: 1px solid rgba(0, 230, 118, 0.3);
}

.badge-progress {
  background: rgba(0, 229, 255, 0.15);
  color: var(--primary);
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.badge-future {
  background: rgba(255, 145, 0, 0.15);
  color: var(--accent-orange);
  border: 1px solid rgba(255, 145, 0, 0.3);
}

.roadmap-header {
  margin-bottom: 18px;
}

.roadmap-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.roadmap-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.roadmap-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.roadmap-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.4;
}

.roadmap-item strong {
  color: #fff;
}

.roadmap-item .icon-svg {
  margin-top: 2px;
  flex-shrink: 0;
}

/* PRICING */
.pricing-section {
  padding: 80px 0;
  border-top: 1px solid rgba(30, 41, 59, 0.8);
  background: radial-gradient(circle at 50% 100%, rgba(0, 230, 118, 0.08) 0%, transparent 65%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

.plan-card.featured {
  border-color: var(--accent-green);
  box-shadow: 0 0 35px rgba(0, 230, 118, 0.22);
  background: linear-gradient(180deg, #132236 0%, #0d1627 100%);
}

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--accent-green), #00c853);
  color: #03140a;
  font-weight: 900;
  font-size: 0.74rem;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 0 12px var(--accent-green-glow);
  white-space: nowrap;
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.plan-description {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 20px;
  min-height: 42px;
  line-height: 1.5;
}

.plan-price {
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 22px;
  display: flex;
  align-items: baseline;
}

.plan-price .currency {
  font-size: 1.3rem;
  margin-right: 4px;
  color: var(--text-muted);
}

.plan-price .period {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 6px;
}

.plan-features {
  list-style: none;
  margin-bottom: 28px;
  flex-grow: 1;
}

.plan-features li {
  font-size: 0.92rem;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #cbd5e1;
  line-height: 1.4;
}

.plan-features li .icon-svg {
  margin-top: 2px;
}

.btn-plan {
  width: 100%;
  padding: 15px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid var(--border-color);
  background: #19253c;
  color: #fff;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-plan:hover {
  background: #223456;
  border-color: var(--primary);
  color: var(--primary);
}

.plan-card.featured .btn-plan {
  background: linear-gradient(90deg, var(--accent-green), #00c853);
  color: #03140a;
  border: none;
  box-shadow: 0 0 16px var(--accent-green-glow);
}

.plan-card.featured .btn-plan:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 26px var(--accent-green-glow);
  color: #000;
}

/* FAQ */
.faq-section {
  padding: 80px 0;
  border-top: 1px solid rgba(30, 41, 59, 0.8);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: border-color 0.2s;
}

.faq-box:hover {
  border-color: var(--primary);
}

.faq-box h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.faq-box p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 35px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  background: #05070d;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.footer a { color: var(--text-muted); }
.footer a:hover { color: var(--primary); }

/* CHECKOUT MODAL */
.modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 7, 13, 0.88);
  backdrop-filter: blur(10px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 16px;
  overflow-y: auto;
}

.modal-backdrop.active {
  display: flex;
}

.modal-card {
  background: #0d1527;
  border: 1px solid var(--primary);
  box-shadow: 0 0 45px rgba(0, 229, 255, 0.22);
  border-radius: 18px;
  width: 100%;
  max-width: 480px;
  padding: 26px 22px;
  position: relative;
  animation: modalIn 0.25s ease-out;
  max-height: 94vh;
  overflow-y: auto;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-close:hover { color: #fff; }

.modal-title {
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 4px;
  color: #fff;
  padding-right: 24px;
}

.modal-subtitle {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.checkout-summary {
  background: #111b30;
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  border: 1px solid #1e293b;
}

.checkout-plan-name {
  font-weight: 800;
  color: var(--primary);
}

.checkout-plan-price {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--accent-green);
}

.form-group {
  margin-bottom: 16px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 7px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.form-input,
.form-control {
  width: 100%;
  background: #0b1120;
  border: 1px solid #1e293b;
  border-radius: 10px;
  padding: 12px 14px;
  color: #ffffff;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.form-input::placeholder,
.form-control::placeholder {
  color: #64748b;
  font-size: 0.88rem;
}

.form-input:focus,
.form-control:focus {
  background: #0f172a;
  border-color: var(--primary);
  box-shadow: 0 0 14px var(--primary-glow);
}

/* PIX STEP */
.pix-container {
  display: none;
  text-align: center;
}

.pix-container.active { display: block; }

.qr-wrapper {
  background: #fff;
  padding: 12px;
  border-radius: 12px;
  display: inline-block;
  margin: 14px 0;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  max-width: 90%;
}

.qr-image {
  width: 190px;
  height: 190px;
  max-width: 100%;
  display: block;
}

.pix-copy-box {
  background: #090e1a;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 10px;
  font-family: monospace;
  font-size: 0.78rem;
  color: #94a3b8;
  word-break: break-all;
  max-height: 65px;
  overflow-y: auto;
  margin-bottom: 12px;
  text-align: left;
}

.btn-copy-pix {
  background: linear-gradient(90deg, var(--primary), #00b0ff);
  color: #03101e;
  font-weight: 800;
  padding: 13px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  width: 100%;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.btn-copy-pix:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 16px var(--primary-glow);
}

.status-polling {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--accent-orange);
  margin-top: 8px;
}

.spinner {
  width: 15px;
  height: 15px;
  border: 2px solid var(--accent-orange);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn-simulate {
  background: rgba(255, 145, 0, 0.12);
  border: 1px dashed var(--accent-orange);
  color: var(--accent-orange);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 7px 10px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 14px;
  width: 100%;
}

/* SUCCESS STEP */
.success-container {
  display: none;
  text-align: center;
}

.success-container.active { display: block; }

.success-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 230, 118, 0.15);
  border: 1px solid var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 0 20px var(--accent-green-glow);
}

.btn-download-apk {
  background: linear-gradient(90deg, var(--accent-green), #00c853);
  color: #03140a;
  font-weight: 900;
  font-size: 1.05rem;
  padding: 14px 26px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 10px;
  box-shadow: 0 0 25px var(--accent-green-glow);
  text-decoration: none;
}

.btn-download-apk:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px var(--accent-green-glow);
  color: #000;
}

/* =========================================================
   RESPONSIVIDADE ROBUSTA & POLIMENTO MOBILE (320px - 768px)
   ========================================================= */

/* =========================================================
   RESPONSIVIDADE ROBUSTA & POLIMENTO MOBILE (320px - 820px)
   ========================================================= */

@media (max-width: 820px) {
  .nav-menu,
  .nav-links {
    display: none !important;
  }

  .navbar {
    padding: 12px 18px;
    gap: 10px;
  }

  .nav-right {
    gap: 10px;
  }

  .nav-cta {
    padding: 8px 14px;
    font-size: 0.84rem;
  }

  .nav-login-btn {
    padding: 8px 12px;
    font-size: 0.84rem;
  }
}

@media (max-width: 580px) {
  .navbar-wrapper {
    padding-top: max(4px, env(safe-area-inset-top, 4px));
    padding-bottom: 3px;
  }

  .navbar {
    padding: 8px 12px;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .brand-link {
    gap: 8px;
    min-width: 0;
    flex-shrink: 1;
  }

  .brand-logo-img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }

  .brand-name {
    font-size: 0.95rem;
    white-space: nowrap;
  }

  .brand-sub {
    font-size: 0.54rem;
    letter-spacing: 0.3px;
    white-space: nowrap;
  }

  .nav-right {
    gap: 6px;
    flex-shrink: 0;
  }

  .nav-login-text-full {
    display: none !important;
  }

  .nav-login-text-short {
    display: inline !important;
  }

  .nav-login-btn {
    padding: 6px 10px;
    font-size: 0.78rem;
    gap: 4px;
  }

  .nav-cta {
    padding: 6px 10px;
    font-size: 0.78rem;
    gap: 4px;
  }
}

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

  /* HERO */
  .hero {
    padding: 44px 0 30px;
  }

  .radar-bg-visual {
    top: 15px;
    width: min(380px, 92vw);
    height: min(380px, 92vw);
    opacity: 0.28;
  }

  .hero-pill {
    font-size: 0.68rem;
    padding: 5px 12px;
    margin-bottom: 14px;
    letter-spacing: 0.2px;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 5.5vw, 2.15rem);
    letter-spacing: -0.5px;
    line-height: 1.22;
    margin-bottom: 14px;
    padding: 0 2px;
  }

  .hero-sub {
    font-size: clamp(0.92rem, 3.2vw, 1rem);
    margin-bottom: 22px;
    padding: 0 4px;
    line-height: 1.5;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
    width: 100%;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    padding: 14px 18px;
    font-size: 0.96rem;
    justify-content: center;
    border-radius: 12px;
  }

  /* HUD COCKPIT CARD */
  .hud-cockpit {
    padding: 16px 14px;
    border-radius: 14px;
    margin: 0 auto;
  }

  .hud-topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-bottom: 10px;
    margin-bottom: 12px;
  }

  .hud-provider-title {
    font-size: 0.78rem;
  }

  .hud-score-badge {
    width: 100%;
    justify-content: center;
    font-size: 0.74rem;
    padding: 7px 10px;
    white-space: normal;
    text-align: center;
  }

  .hud-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 12px;
  }

  .hud-card-metric {
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .hud-metric-label {
    font-size: 0.76rem;
  }

  .hud-metric-value {
    font-size: 1.18rem;
    margin-top: 0;
  }

  .hud-route-box {
    padding: 12px 14px;
    margin-bottom: 10px;
  }

  .hud-route-line {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 6px 10px;
    align-items: start;
    margin-bottom: 12px;
  }

  .hud-route-line:last-child {
    margin-bottom: 0;
  }

  .hud-route-tag {
    grid-column: 2;
    align-self: flex-start;
    margin-left: 0;
    margin-top: 2px;
    font-size: 0.72rem;
  }

  .hud-footer {
    font-size: 0.75rem;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
  }

  /* SECTIONS */
  .score-section,
  .features-section,
  .roadmap-section,
  .pricing-section,
  .faq-section {
    padding: 48px 0;
  }

  .section-header {
    margin-bottom: 28px;
    padding: 0 4px;
  }

  .section-header h2 {
    font-size: clamp(1.5rem, 5vw, 1.85rem);
    line-height: 1.25;
    margin-bottom: 10px;
  }

  .section-header p {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .score-grid,
  .features-grid,
  .roadmap-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .roadmap-card {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .score-card {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .score-card-weight {
    top: 14px;
    right: 14px;
    font-size: 0.7rem;
  }

  .verdicts-banner {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 10px;
    border-radius: 14px;
  }

  .verdict-box {
    padding: 12px 14px;
  }

  .verdict-pts {
    font-size: 1.15rem;
  }

  .verdict-action {
    font-size: 0.82rem;
  }

  .feature-box {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .feature-icon-wrapper {
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
  }

  .feature-box h3 {
    font-size: 1.15rem;
  }

  .feature-box p {
    font-size: 0.88rem;
  }

  .plan-card {
    padding: 24px 18px;
    border-radius: 16px;
  }

  .plan-card.featured {
    transform: none !important;
  }

  .plan-name {
    font-size: 1.25rem;
  }

  .plan-description {
    min-height: auto;
    margin-bottom: 14px;
    font-size: 0.85rem;
  }

  .plan-price {
    font-size: 2.3rem;
    margin-bottom: 18px;
  }

  .plan-features {
    margin-bottom: 22px;
  }

  .plan-features li {
    font-size: 0.88rem;
    margin-bottom: 10px;
  }

  .btn-plan {
    padding: 14px;
    font-size: 0.95rem;
    border-radius: 10px;
  }

  .faq-list {
    gap: 10px;
  }

  .faq-box {
    padding: 16px 14px;
    border-radius: 12px;
  }

  .faq-box h4 {
    font-size: 0.98rem;
    gap: 8px;
  }

  .faq-box p {
    font-size: 0.88rem;
  }

  .footer {
    padding: 30px 0;
  }

  .footer-links {
    gap: 8px 14px;
    font-size: 0.82rem;
  }

  /* MODAL MOBILE - BOTTOM SHEET */
  .modal-backdrop {
    padding: 0;
    align-items: flex-end;
  }

  .modal-card {
    padding: 22px 16px 32px;
    border-radius: 20px 20px 0 0;
    max-height: 92vh;
    border-bottom: none;
    -webkit-overflow-scrolling: touch;
  }

  .modal-title {
    font-size: 1.25rem;
  }

  .modal-subtitle {
    font-size: 0.82rem;
    margin-bottom: 14px;
  }

  .form-input {
    font-size: 16px !important; /* Prevents auto-zoom in mobile Safari and Chrome */
    padding: 12px 13px;
  }

  .qr-wrapper {
    padding: 8px;
    margin: 10px 0;
  }

  .qr-image {
    width: 160px;
    height: 160px;
  }

  .pix-copy-box {
    font-size: 0.74rem;
    padding: 8px;
    word-break: break-all;
  }

  .btn-copy-pix {
    padding: 14px;
    font-size: 0.92rem;
  }
}

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

  .navbar {
    padding: 8px 6px;
    gap: 4px;
  }

  .brand-link {
    gap: 6px;
  }

  .brand-logo-img {
    width: 28px;
    height: 28px;
    border-radius: 7px;
  }

  .brand-name {
    font-size: 0.85rem;
  }

  .brand-sub {
    display: none;
  }

  .brand-icon-box {
    width: 30px;
    height: 30px;
  }

  .nav-right {
    gap: 4px;
  }

  .nav-login-btn,
  .nav-cta {
    padding: 5px 7px;
    font-size: 0.72rem;
    gap: 3px;
  }

  .hero h1 {
    font-size: 1.62rem;
  }

  .plan-price {
    font-size: 2rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 13px 14px;
    font-size: 0.9rem;
  }
}

/* =========================================================
   FINANÇAS SECTION (GESTÃO FINANCEIRA & CALENDÁRIO)
   ========================================================= */
.financas-section {
  padding: 80px 0;
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(0, 230, 118, 0.04) 0%, transparent 70%);
}

.financas-preview-card {
  background: var(--bg-card-glass);
  border: 1px solid rgba(0, 230, 118, 0.25);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 230, 118, 0.1);
  margin-top: 36px;
}

.financas-header-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.financas-stat-box {
  background: rgba(11, 17, 32, 0.75);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
}

.financas-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.financas-stat-val {
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
}

.financas-stat-val.highlight-green {
  color: var(--accent-green);
  text-shadow: 0 0 12px var(--accent-green-glow);
}

.financas-stat-val.highlight-cyan {
  color: var(--primary);
  text-shadow: 0 0 12px var(--primary-glow);
}

.financas-stat-val.highlight-orange {
  color: var(--accent-orange);
}

.financas-stat-sub {
  font-size: 0.74rem;
  color: var(--text-dim);
  margin-top: 4px;
}

.calendar-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

.calendar-mini-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  background: rgba(7, 10, 18, 0.7);
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  width: 100%;
  box-sizing: border-box;
}

.calendar-header-day {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-dim);
  padding-bottom: 6px;
}

.calendar-cell {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 8px 6px;
  min-height: 60px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

.calendar-cell.active-day {
  border-color: var(--primary);
  background: rgba(0, 229, 255, 0.09);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

.calendar-cell.rest-day {
  opacity: 0.45;
  background: rgba(11, 17, 32, 0.4);
}

.calendar-cell.done-day {
  border-color: rgba(0, 230, 118, 0.4);
  background: rgba(0, 230, 118, 0.08);
}

.cell-day-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.cell-today-pill {
  display: inline-block;
  font-size: 0.52rem;
  background: var(--primary);
  color: #070a12;
  font-weight: 900;
  padding: 1px 3px;
  border-radius: 3px;
  letter-spacing: 0.3px;
}

.cell-amount {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-green);
  white-space: nowrap;
}

.cell-target {
  font-size: 0.68rem;
  color: var(--text-dim);
  white-space: nowrap;
}

.cell-badge {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .financas-preview-card {
    padding: 18px 12px;
    border-radius: 16px;
  }

  .calendar-mini-grid {
    gap: 4px;
    padding: 12px 6px;
  }

  .calendar-cell {
    padding: 5px 2px;
    min-height: 52px;
  }

  .cell-amount {
    font-size: 0.65rem;
  }

  .cell-target {
    font-size: 0.58rem;
  }
}

@media (max-width: 480px) {
  .financas-preview-card {
    padding: 14px 8px;
  }

  .calendar-mini-grid {
    gap: 3px;
    padding: 8px 4px;
  }

  .calendar-header-day {
    font-size: 0.65rem;
    padding-bottom: 4px;
  }

  .calendar-cell {
    padding: 4px 1px;
    min-height: 48px;
    border-radius: 6px;
  }

  .cell-day-num {
    font-size: 0.68rem;
  }

  .cell-amount {
    font-size: 0.60rem;
    font-weight: 800;
  }

  .cell-badge {
    font-size: 0.52rem;
    padding: 1px 2px;
  }
}

/* =========================================================
   GUIA DE INSTALAÇÃO & SOLUÇÃO ANDROID (PLAY PROTECT & RESTRITAS)
   ========================================================= */
.install-troubleshoot-box {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(0, 229, 255, 0.35);
  border-radius: 14px;
  padding: 18px 16px;
  margin: 18px 0 12px;
  text-align: left;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

.troubleshoot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.troubleshoot-title {
  font-size: 0.96rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.troubleshoot-badge {
  background: rgba(255, 145, 0, 0.15);
  color: var(--accent-orange);
  border: 1px solid rgba(255, 145, 0, 0.4);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  white-space: nowrap;
}

.troubleshoot-card {
  background: rgba(7, 10, 18, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
}

.troubleshoot-card:last-child {
  margin-bottom: 0;
}

.troubleshoot-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-weight: 800;
  font-size: 0.9rem;
}

.troubleshoot-card-header.alert-playprotect {
  color: #60a5fa;
}

.troubleshoot-card-header.alert-restricted {
  color: var(--accent-orange);
}

.troubleshoot-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 10px;
}

.troubleshoot-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.troubleshoot-step-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--text-main);
}

.troubleshoot-step-item strong {
  color: #fff;
}

.step-num-badge {
  background: rgba(0, 229, 255, 0.15);
  color: var(--primary);
  border: 1px solid rgba(0, 229, 255, 0.4);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.step-num-badge.step-orange {
  background: rgba(255, 145, 0, 0.15);
  color: var(--accent-orange);
  border-color: rgba(255, 145, 0, 0.45);
}

.troubleshoot-tip {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(0, 230, 118, 0.08);
  border: 1px solid rgba(0, 230, 118, 0.25);
  font-size: 0.76rem;
  color: var(--accent-green);
  line-height: 1.35;
}

/* =========================================================
   BARRA DE FORÇA DA SENHA & CONFIRMAÇÃO
   ========================================================= */
.password-strength-container {
  margin-top: 6px;
  margin-bottom: 8px;
}

.password-strength-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.password-strength-fill {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.password-strength-fill.strength-weak {
  width: 33%;
  background: #ff5252;
}

.password-strength-fill.strength-medium {
  width: 66%;
  background: #ffb300;
}

.password-strength-fill.strength-strong {
  width: 100%;
  background: var(--accent-green);
  box-shadow: 0 0 8px rgba(0, 230, 118, 0.4);
}

.password-strength-text {
  font-size: 0.73rem;
  font-weight: 600;
  margin-top: 4px;
  display: flex;
  justify-content: space-between;
  color: var(--text-dim);
}

.password-strength-text span.state-weak {
  color: #ff5252;
}

.password-strength-text span.state-medium {
  color: #ffb300;
}

.password-strength-text span.state-strong {
  color: var(--accent-green);
}

.password-match-feedback {
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 4px;
  transition: color 0.2s ease;
}

.password-match-feedback.match-ok {
  color: var(--accent-green);
}

.password-match-feedback.match-error {
  color: #ff5252;
}

/* =========================================================
   ABAS DE MODAL (ENTRAR vs CRIAR CONTA GRÁTIS)
   ========================================================= */
.modal-tabs-row {
  display: flex;
  gap: 6px;
  background: rgba(11, 17, 32, 0.85);
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-tab-btn {
  flex: 1;
  padding: 9px 12px;
  border-radius: 9px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.modal-tab-btn.active {
  background: var(--primary);
  color: #070a12;
  box-shadow: 0 0 14px var(--primary-glow);
}

.modal-tab-btn.active.tab-trial {
  background: var(--accent-green);
  color: #070a12;
  box-shadow: 0 0 14px var(--accent-green-glow);
}

/* =========================================================
   CARD DE DESTAQUE: 3 DIAS DE TESTE GRÁTIS (HOME)
   ========================================================= */
.free-trial-banner-card {
  position: relative;
  background: linear-gradient(135deg, rgba(13, 22, 38, 0.96) 0%, rgba(10, 18, 32, 0.98) 100%);
  border: 1.5px solid rgba(0, 230, 118, 0.45);
  border-radius: 20px;
  padding: 32px 28px;
  margin: 36px 0 20px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 230, 118, 0.15);
  text-align: left;
}

.trial-banner-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 230, 118, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.trial-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.trial-pill-badge {
  background: rgba(0, 230, 118, 0.15);
  border: 1px solid rgba(0, 230, 118, 0.45);
  color: var(--accent-green);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.trial-pill-sub {
  color: var(--text-dim);
  font-size: 0.76rem;
  font-weight: 600;
}

.trial-banner-title {
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 10px;
}

.trial-banner-title .highlight-green {
  color: var(--accent-green);
  text-shadow: 0 0 14px rgba(0, 230, 118, 0.35);
}

.trial-banner-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 780px;
  margin-bottom: 20px;
}

.trial-benefits-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.trial-benefit-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.trial-benefit-item span {
  font-weight: 600;
}

.trial-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn-trial-download {
  background: var(--accent-green);
  color: #070a12;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 13px 22px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 4px 20px var(--accent-green-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-trial-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px var(--accent-green-glow);
}

.btn-trial-register {
  background: rgba(0, 229, 255, 0.12);
  color: var(--primary);
  border: 1.5px solid rgba(0, 229, 255, 0.45);
  font-size: 0.95rem;
  font-weight: 800;
  padding: 12px 22px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-trial-register:hover {
  background: rgba(0, 229, 255, 0.22);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.35);
  transform: translateY(-2px);
}

@media (max-width: 680px) {
  .free-trial-banner-card {
    padding: 22px 16px;
    border-radius: 16px;
    margin: 24px 0 16px;
  }

  .trial-banner-title {
    font-size: 1.3rem;
  }

  .trial-banner-desc {
    font-size: 0.86rem;
  }

  .trial-benefits-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .trial-cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-trial-download,
  .btn-trial-register {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   SEÇÃO DE INTELIGÊNCIA COLETIVA & COMUNIDADE DAS RUAS
   ========================================================================== */
.community-section {
  padding: 80px 0;
  position: relative;
  background: radial-gradient(circle at 50% 10%, rgba(0, 229, 255, 0.05) 0%, transparent 70%);
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  margin-top: 36px;
  margin-bottom: 32px;
}

.community-card {
  background: #0d1527;
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 18px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.community-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 8px 30px rgba(0, 229, 255, 0.18);
}

.community-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.community-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.community-card-icon.icon-kitchen {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #f59e0b;
}

.community-card-icon.icon-sos {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #ef4444;
}

.community-card-icon.icon-network {
  background: rgba(0, 230, 118, 0.15);
  border: 1px solid rgba(0, 230, 118, 0.4);
  color: #00e676;
}

.community-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}

.community-card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 6px;
  margin-top: 4px;
}

.tag-kitchen {
  background: rgba(245, 158, 11, 0.18);
  color: #f59e0b;
}

.tag-sos {
  background: rgba(239, 68, 68, 0.18);
  color: #ef4444;
}

.tag-network {
  background: rgba(0, 230, 118, 0.18);
  color: #00e676;
}

.community-card-desc {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.55;
  margin-bottom: 14px;
  flex-grow: 1;
}

.community-highlight-box {
  background: rgba(15, 23, 42, 0.7);
  border-left: 3px solid var(--primary);
  border-radius: 0 8px 8px 0;
  padding: 10px 12px;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.community-share-box {
  background: linear-gradient(135deg, rgba(13, 21, 39, 0.95) 0%, rgba(18, 30, 56, 0.95) 100%);
  border: 1.5px solid rgba(0, 230, 118, 0.4);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 8px 32px rgba(0, 230, 118, 0.12);
}

.share-content h3 {
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.share-content p {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.5;
  max-width: 680px;
}

.btn-whatsapp-share {
  background: #25D366;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  padding: 14px 26px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  flex-shrink: 0;
}

.btn-whatsapp-share:hover {
  background: #20BA56;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.5);
}

@media (max-width: 768px) {
  .community-section {
    padding: 50px 0;
  }

  .community-share-box {
    flex-direction: column;
    text-align: center;
    padding: 24px 18px;
  }

  .share-content h3 {
    justify-content: center;
    font-size: 1.2rem;
  }

  .btn-whatsapp-share {
    width: 100%;
    justify-content: center;
    padding: 12px 14px;
    font-size: 0.92rem;
    white-space: normal;
    text-align: center;
    box-sizing: border-box;
  }
}

/* =========================================================
   GUIA DE INSTALAÇÃO EM EVIDÊNCIA (JUNTO AO BOTÃO DE DOWNLOAD)
   ========================================================= */
.trial-install-guide {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.install-guide-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.install-guide-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.35;
}

.install-guide-badge {
  background: rgba(255, 145, 0, 0.15);
  color: var(--accent-orange);
  border: 1px solid rgba(255, 145, 0, 0.4);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.install-guide-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.install-help-card {
  background: rgba(10, 18, 34, 0.92);
  border: 1px solid rgba(0, 229, 255, 0.22);
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease;
}

.install-help-card:hover {
  border-color: rgba(0, 229, 255, 0.5);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45), 0 0 16px rgba(0, 229, 255, 0.12);
}

.install-help-card h4 {
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #00e5ff;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.35;
}

.install-help-card h4 .icon-svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #ff9100;
}

.install-help-card p {
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

.install-help-card p strong {
  color: #ffffff;
  font-weight: 700;
}

@media (max-width: 680px) {
  .install-guide-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .install-guide-title {
    font-size: 0.95rem;
  }

  .install-help-card {
    padding: 16px 14px;
    border-radius: 12px;
  }

  .install-help-card h4 {
    font-size: 0.98rem;
    gap: 8px;
  }

  .install-help-card p {
    font-size: 0.88rem;
    line-height: 1.55;
  }
}

/* =========================================================
   SEÇÃO TELEMETRIA DE COZINHA & ESPERA EM RESTAURANTES (#cozinha)
   ========================================================= */
.kitchen-telemetry-section {
  padding: 80px 0 60px;
  position: relative;
  background: radial-gradient(circle at 50% 10%, rgba(255, 145, 0, 0.06) 0%, transparent 60%);
}

.section-badge.badge-kitchen {
  background: rgba(255, 145, 0, 0.12);
  border-color: rgba(255, 145, 0, 0.4);
  color: var(--accent-orange);
}

.kitchen-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.kitchen-status-card {
  background: rgba(15, 23, 42, 0.88);
  border-radius: 16px;
  padding: 24px 22px;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.kitchen-status-card:hover {
  transform: translateY(-3px);
}

.kitchen-status-card.card-fast {
  border-color: rgba(0, 230, 118, 0.35);
}
.kitchen-status-card.card-fast:hover {
  border-color: var(--accent-green);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 230, 118, 0.15);
}

.kitchen-status-card.card-normal {
  border-color: rgba(255, 145, 0, 0.35);
}
.kitchen-status-card.card-normal:hover {
  border-color: var(--accent-orange);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 145, 0, 0.15);
}

.kitchen-status-card.card-slow {
  border-color: rgba(255, 61, 113, 0.35);
}
.kitchen-status-card.card-slow:hover {
  border-color: var(--accent-red);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 61, 113, 0.18);
}

.kitchen-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
  align-self: flex-start;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.kitchen-card-badge.badge-green {
  background: rgba(0, 230, 118, 0.15);
  color: var(--accent-green);
  border: 1px solid rgba(0, 230, 118, 0.4);
}

.kitchen-card-badge.badge-yellow {
  background: rgba(255, 145, 0, 0.15);
  color: var(--accent-orange);
  border: 1px solid rgba(255, 145, 0, 0.4);
}

.kitchen-card-badge.badge-red {
  background: rgba(255, 61, 113, 0.15);
  color: var(--accent-red);
  border: 1px solid rgba(255, 61, 113, 0.4);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  animation: pulseDot 2s infinite ease-in-out;
}

.dot-green { background: var(--accent-green); box-shadow: 0 0 8px var(--accent-green-glow); }
.dot-yellow { background: var(--accent-orange); box-shadow: 0 0 8px var(--accent-orange-glow); }
.dot-red { background: var(--accent-red); box-shadow: 0 0 8px var(--accent-red-glow); }

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.kitchen-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.kitchen-status-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-fast { background: rgba(0, 230, 118, 0.12); border: 1px solid rgba(0, 230, 118, 0.3); }
.icon-normal { background: rgba(255, 145, 0, 0.12); border: 1px solid rgba(255, 145, 0, 0.3); }
.icon-slow { background: rgba(255, 61, 113, 0.12); border: 1px solid rgba(255, 61, 113, 0.3); }

.kitchen-status-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.kitchen-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

.kitchen-card-tip {
  font-size: 0.84rem;
  padding: 10px 14px;
  border-radius: 10px;
  line-height: 1.45;
}

.tip-green {
  background: rgba(0, 230, 118, 0.08);
  border: 1px solid rgba(0, 230, 118, 0.25);
  color: #d1fae5;
}

.tip-yellow {
  background: rgba(255, 145, 0, 0.08);
  border: 1px solid rgba(255, 145, 0, 0.25);
  color: #fed7aa;
}

.tip-red {
  background: rgba(255, 61, 113, 0.08);
  border: 1px solid rgba(255, 61, 113, 0.25);
  color: #fecdd3;
}

/* CARD MATEMÁTICA DA LIBERDADE */
.telemetry-math-card {
  background: linear-gradient(135deg, rgba(13, 22, 38, 0.96) 0%, rgba(10, 18, 32, 0.98) 100%);
  border: 1.5px solid rgba(0, 230, 118, 0.4);
  border-radius: 18px;
  padding: 24px 26px;
  margin-bottom: 26px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  box-sizing: border-box;
  overflow: hidden;
}

.math-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.math-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
}

.math-badge {
  background: rgba(0, 230, 118, 0.15);
  color: var(--accent-green);
  border: 1px solid rgba(0, 230, 118, 0.4);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  white-space: normal;
  text-align: center;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .telemetry-math-card {
    padding: 18px 14px;
  }
  .math-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .math-card-title {
    font-size: 1rem;
    line-height: 1.35;
    width: 100%;
  }
  .math-badge {
    align-self: flex-start;
    font-size: 0.68rem;
    white-space: normal;
  }
}

.math-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.math-stat-item {
  flex: 1;
  min-width: 180px;
  background: rgba(7, 10, 18, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px 14px;
  text-align: center;
}

.math-stat-number {
  display: block;
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 4px;
}

.math-stat-number.highlight-green { color: var(--accent-green); }
.math-stat-number.highlight-cyan { color: var(--primary); }
.math-stat-number.highlight-orange { color: var(--accent-orange); }

.math-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.math-stat-arrow {
  font-size: 1.4rem;
  color: var(--accent-green);
  font-weight: 900;
}

/* PASSOS DA INTELIGÊNCIA COLETIVA */
.kitchen-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.kitchen-step-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 20px 18px;
  text-align: left;
}

.step-badge-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.15);
  color: var(--primary);
  border: 1.5px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.kitchen-step-card h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.kitchen-step-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* =========================================================
   TAGS DE PILARES NA SEÇÃO DE RECURSOS
   ========================================================= */
.feature-pill-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 10px;
}

.tag-pilar1 { background: rgba(0, 229, 255, 0.12); color: var(--primary); border: 1px solid rgba(0, 229, 255, 0.35); }
.tag-pilar2 { background: rgba(255, 145, 0, 0.12); color: var(--accent-orange); border: 1px solid rgba(255, 145, 0, 0.35); }
.tag-pilar3 { background: rgba(255, 61, 113, 0.12); color: var(--accent-red); border: 1px solid rgba(255, 61, 113, 0.35); }
.tag-pilar4 { background: rgba(0, 230, 118, 0.12); color: var(--accent-green); border: 1px solid rgba(0, 230, 118, 0.35); }
.tag-pilar5 { background: rgba(192, 132, 252, 0.12); color: var(--accent-purple); border: 1px solid rgba(192, 132, 252, 0.35); }

/* =========================================================
   SEÇÃO COMPARATIVO DIRETO (#comparativo)
   ========================================================= */
.comparison-section {
  padding: 70px 0 60px;
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(0, 229, 255, 0.05) 0%, transparent 60%);
}

.comparison-table-wrapper {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.5);
}

.comparison-table {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.comp-row {
  display: grid;
  grid-template-columns: 240px 1fr 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background-color 0.2s ease;
}

.comp-row:last-child {
  border-bottom: none;
}

.comp-row:hover:not(.comp-header-row) {
  background: rgba(255, 255, 255, 0.02);
}

.comp-header-row {
  background: rgba(7, 10, 18, 0.9);
  font-weight: 900;
  font-size: 0.95rem;
  border-bottom: 1.5px solid var(--border-color);
}

.comp-col {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.comp-feature {
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.comp-feature strong {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 3px;
}

.comp-feature span {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.comp-without {
  background: rgba(255, 61, 113, 0.03);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.comp-with {
  background: rgba(0, 230, 118, 0.05);
}

.comp-tag-bad {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: #ff5252;
  background: rgba(255, 61, 113, 0.12);
  border: 1px solid rgba(255, 61, 113, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
  align-self: flex-start;
  text-transform: uppercase;
}

.comp-tag-good {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-green);
  background: rgba(0, 230, 118, 0.15);
  border: 1px solid rgba(0, 230, 118, 0.35);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
  align-self: flex-start;
  text-transform: uppercase;
}

.comp-col p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.comp-with p {
  color: #e2e8f0;
}

@media (max-width: 820px) {
  .comp-row {
    grid-template-columns: 1fr;
    border-bottom: 2px solid var(--border-color);
  }

  .comp-header-row {
    display: none;
  }

  .comp-col {
    padding: 14px 16px;
  }

  .comp-feature {
    background: rgba(7, 10, 18, 0.8);
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .comp-without {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .math-stats-row {
    flex-direction: column;
  }

  .math-stat-arrow {
    transform: rotate(90deg);
  }
}

/* ==========================================================================
   TERMOS DE USO (EULA) E LGPD - ESTILOS DO CARD & MODAL JURÍDICO
   ========================================================================== */
.terms-acceptance-card {
  margin-top: 14px;
  background: rgba(13, 21, 39, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 14px;
  transition: all 0.25s ease;
}

.terms-acceptance-card.accepted {
  border-color: rgba(0, 230, 118, 0.45);
  background: rgba(0, 230, 118, 0.05);
  box-shadow: 0 0 15px rgba(0, 230, 118, 0.1);
}

.terms-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 8px;
  flex-wrap: wrap;
}

.terms-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.terms-status-badge.locked {
  background: rgba(255, 179, 0, 0.14);
  color: #ffb300;
  border: 1px solid rgba(255, 179, 0, 0.35);
}

.terms-status-badge.unlocked {
  background: rgba(0, 229, 255, 0.14);
  color: var(--primary);
  border: 1px solid rgba(0, 229, 255, 0.35);
}

.terms-status-badge.accepted {
  background: rgba(0, 230, 118, 0.16);
  color: var(--accent-green);
  border: 1px solid rgba(0, 230, 118, 0.4);
}

.btn-read-terms {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-read-terms:hover {
  background: var(--primary);
  color: #070a12;
  box-shadow: 0 0 12px var(--primary-glow);
}

.terms-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.4;
  cursor: pointer;
  user-select: none;
}

.terms-checkbox-label input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--accent-green);
  cursor: pointer;
  flex-shrink: 0;
}

.terms-checkbox-label input[type="checkbox"]:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.terms-checkbox-label a {
  color: var(--accent-green);
  text-decoration: underline;
  font-weight: 600;
}

.terms-checkbox-label a:hover {
  color: #fff;
}

.terms-instruction-hint {
  margin-top: 8px;
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.35;
  padding-left: 27px;
  transition: color 0.2s ease;
}

.terms-instruction-hint.accepted {
  color: var(--accent-green);
  font-weight: 600;
}

/* MODAL EULA / LGPD */
.eula-modal-backdrop {
  z-index: 1200; /* Abre sobre o modal de login */
}

.eula-modal-card {
  max-width: 660px;
  padding: 24px 22px;
  border-color: rgba(0, 229, 255, 0.4);
}

.eula-version-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.eula-scroll-content {
  max-height: 52vh;
  overflow-y: auto;
  padding-right: 10px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(7, 10, 18, 0.55);
  border-radius: 12px;
  padding: 16px;
  font-size: 0.84rem;
  line-height: 1.55;
  color: #cbd5e1;
}

.eula-scroll-content::-webkit-scrollbar {
  width: 6px;
}

.eula-scroll-content::-webkit-scrollbar-thumb {
  background: rgba(0, 229, 255, 0.3);
  border-radius: 3px;
}

.eula-section {
  margin-bottom: 18px;
}

.eula-section h4 {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.eula-section p {
  margin-bottom: 8px;
  color: #94a3b8;
}

.eula-section strong {
  color: #e2e8f0;
}

.alert-eula-ctb {
  background: rgba(255, 59, 48, 0.08);
  border: 1px solid rgba(255, 59, 48, 0.3);
  padding: 12px;
  border-radius: 10px;
}

.alert-eula-ctb h4 {
  color: #ff5252;
}

.ctb-warning-text {
  color: #ff9e9e !important;
  font-weight: 600;
}

.lgpd-section {
  background: rgba(0, 229, 255, 0.04);
  border: 1px solid rgba(0, 229, 255, 0.2);
  padding: 12px;
  border-radius: 10px;
}

.lgpd-section h4 {
  color: var(--primary);
}

.eula-list {
  padding-left: 18px;
  margin-top: 8px;
  margin-bottom: 8px;
}

.eula-list li {
  margin-bottom: 6px;
  color: #cbd5e1;
}

.eula-list li strong {
  color: #38bdf8;
}

.eula-list code {
  background: rgba(0, 0, 0, 0.4);
  color: var(--accent-green);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.8rem;
}

.eula-modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
}

/* =========================================================
   HEADER & NAVBAR PILOTO LOGADO
   ========================================================= */
.nav-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(11, 20, 30, 0.85);
  border: 1px solid rgba(0, 230, 118, 0.4);
  border-radius: 24px;
  padding: 4px 10px 4px 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 0 12px rgba(0, 230, 118, 0.15);
}

.nav-user-pill:hover {
  background: rgba(16, 29, 44, 0.95);
  border-color: var(--accent-green);
  box-shadow: 0 0 16px var(--accent-green-glow);
}

.nav-user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 230, 118, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 230, 118, 0.3);
}

.nav-user-details {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.nav-user-name {
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-user-status {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent-green);
  text-transform: uppercase;
}

.nav-user-logout-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
  margin-left: 2px;
}

.nav-user-logout-btn:hover {
  color: #ff3d71;
  background: rgba(255, 61, 113, 0.15);
}

/* =========================================================
   CHECKOUT RÁPIDO PARA USUÁRIO LOGADO
   ========================================================= */
.logged-checkout-user-card {
  background: rgba(11, 20, 30, 0.85);
  border: 1px solid rgba(0, 230, 118, 0.4);
  border-radius: 12px;
  padding: 14px;
  margin: 14px 0;
  box-shadow: 0 4px 16px rgba(0, 230, 118, 0.12);
}

.logged-user-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logged-user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 230, 118, 0.15);
  border: 1.5px solid var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px var(--accent-green-glow);
  flex-shrink: 0;
}

.logged-user-info {
  text-align: left;
  flex: 1;
}

.logged-user-name {
  font-size: 0.98rem;
  font-weight: 800;
  color: #fff;
}

.logged-user-email {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.logged-user-sub {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-green);
  margin-top: 2px;
}

.logged-user-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-change-account {
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.btn-change-account:hover {
  color: #fff;
}

.checkout-already-account {
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.84rem;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 14px;
}

.checkout-already-account a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  margin-left: 4px;
}

/* =========================================================
   AVISO NA HERO & SEÇÃO DEDICADA DE INSTALAÇÃO
   ========================================================= */
.hero-install-banner {
  margin: 32px auto 38px auto;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.install-alert-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 145, 0, 0.14);
  border: 1.5px solid rgba(255, 145, 0, 0.55);
  color: #ffb74d;
  font-size: 0.90rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 32px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(255, 145, 0, 0.25);
}

.install-alert-link:hover {
  background: rgba(255, 145, 0, 0.25);
  border-color: #ff9100;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(255, 145, 0, 0.4);
}

.pulse-warning-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff9100;
  box-shadow: 0 0 8px #ff9100;
  animation: pulseWarning 1.5s infinite;
}

@keyframes pulseWarning {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px #ff9100; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.install-guide-full-section {
  padding: 80px 0;
  background: radial-gradient(circle at 50% 10%, rgba(255, 145, 0, 0.06) 0%, rgba(7, 10, 18, 0.98) 70%);
  border-top: 1px solid rgba(255, 145, 0, 0.2);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.badge-warning {
  background: rgba(255, 145, 0, 0.15);
  border-color: rgba(255, 145, 0, 0.4);
  color: #ff9100;
}

.install-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.install-card-detailed {
  background: rgba(13, 19, 33, 0.9);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease;
}

.install-card-detailed:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}

.install-card-detailed.highlight-orange {
  border-color: rgba(255, 145, 0, 0.4);
}

.install-card-detailed.highlight-orange:hover {
  border-color: #ff9100;
  box-shadow: 0 0 25px rgba(255, 145, 0, 0.25);
}

.install-card-detailed.highlight-green {
  border-color: rgba(0, 230, 118, 0.35);
}

.install-card-detailed.highlight-green:hover {
  border-color: var(--accent-green);
  box-shadow: 0 0 25px var(--accent-green-glow);
}

.install-card-banner {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.banner-blue { background: rgba(56, 189, 248, 0.12); }
.banner-orange { background: rgba(255, 145, 0, 0.15); }
.banner-cyan { background: rgba(0, 229, 255, 0.12); }
.banner-green { background: rgba(0, 230, 118, 0.12); }
.banner-red { background: rgba(239, 68, 68, 0.12); }

.install-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.3);
}

.banner-blue .install-card-icon svg { stroke: #38bdf8; }
.banner-orange .install-card-icon svg { stroke: #ff9100; }
.banner-cyan .install-card-icon svg { stroke: var(--primary); }
.banner-green .install-card-icon svg { stroke: var(--accent-green); }
.banner-red .install-card-icon svg { stroke: #ef4444; }

.install-step-tag {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dim);
  display: block;
  margin-bottom: 2px;
}

.install-card-banner h3 {
  font-size: 0.98rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.install-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.install-alert-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

.install-alert-text em {
  color: #f1f5f9;
  font-style: italic;
}

.solution-box {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.84rem;
  line-height: 1.55;
  margin-top: auto;
}

.solution-blue {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #e2e8f0;
}

.solution-orange {
  background: rgba(255, 145, 0, 0.08);
  border: 1px solid rgba(255, 145, 0, 0.35);
  color: #e2e8f0;
}

.solution-cyan {
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: #e2e8f0;
}

.solution-green {
  background: rgba(0, 230, 118, 0.08);
  border: 1px solid rgba(0, 230, 118, 0.3);
  color: #e2e8f0;
}

.solution-red {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #e2e8f0;
}

.solution-box strong {
  color: #fff;
}

.install-guide-cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

