/* ==========================================================================
   WASHON — Elite Web Design System
   Crafted by Senior Product & Frontend Engineers.
   Inspired by Linear, Stripe, Raycast, and Apple HIG.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  /* Obsidian Deep Black & Elevation Scale */
  --bg-base: #07090e;
  --bg-subtle: #0c0f17;
  --bg-surface: #111622;
  --bg-surface-elevated: #171e2e;
  --bg-surface-hover: #1e273b;
  --bg-glass: rgba(17, 22, 34, 0.75);
  --bg-glass-heavy: rgba(11, 15, 23, 0.92);

  /* Vivid Electric Palette */
  --blue-600: #1d4ed8;
  --blue-500: #2563eb;
  --blue-400: #38bdf8;
  --blue-300: #7dd3fc;
  
  --cyan-500: #06b6d4;
  --cyan-400: #22d3ee;
  
  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --emerald-bg: rgba(16, 185, 129, 0.12);

  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --amber-bg: rgba(245, 158, 11, 0.12);

  --rose-500: #f43f5e;
  --rose-400: #fb7185;
  --rose-bg: rgba(244, 63, 94, 0.12);

  --purple-500: #8b5cf6;
  --purple-400: #a78bfa;

  /* Typography Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-tertiary: #64748b;
  --text-dim: #475569;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --grad-primary-hover: linear-gradient(135deg, #1d4ed8 0%, #0891b2 100%);
  --grad-text-hero: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  --grad-accent: linear-gradient(135deg, #38bdf8 0%, #34d399 100%);
  --grad-loyalty: linear-gradient(135deg, #1e3a8a 0%, #0f766e 50%, #047857 100%);
  --grad-border-top: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.4), transparent);

  /* Borders & Highlights */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(255, 255, 255, 0.12);
  --border-bright: rgba(255, 255, 255, 0.22);
  --border-glow: rgba(56, 189, 248, 0.35);

  /* Shadows & Depth */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 12px 32px -4px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 60px -12px rgba(0, 0, 0, 0.7);
  --shadow-mockup: 0 30px 100px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.12);
  --shadow-glow: 0 0 40px -8px rgba(37, 99, 235, 0.35);

  /* Geometry */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 36px;
  --r-full: 9999px;

  --max-w: 1220px;
  --nav-h: 74px;
  
  /* Ease */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-base);
  color: var(--text-secondary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Noise & Spatial Grid Background */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 60%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.38;
}

.bg-orb-1 {
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.4) 0%, rgba(6, 182, 212, 0.15) 50%, transparent 75%);
}

.bg-orb-2 {
  top: 35%;
  right: -12%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.18) 0%, transparent 70%);
}

.bg-orb-3 {
  bottom: 12%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.14) 0%, transparent 70%);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   TYPOGRAPHY & ACCENTS
   ========================================================================== */

.text-white { color: var(--text-primary); }
.text-muted { color: var(--text-secondary); }
.text-dim { color: var(--text-tertiary); }
.text-brand { color: var(--blue-400); }
.text-emerald { color: var(--emerald-400); }
.text-amber { color: var(--amber-400); }
.mono-font { font-family: 'JetBrains Mono', monospace; font-variant-numeric: tabular-nums; }

.text-gradient {
  background: var(--grad-text-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-accent {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--r-full);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--blue-300);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.badge-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 10px var(--cyan-400);
}

.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 56px;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-desc {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   BUTTONS & CONTROLS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--r-md);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-spring);
  border: 1px solid transparent;
  outline: none;
  user-select: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-primary);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 20px -2px rgba(37, 99, 235, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  background: var(--grad-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px -4px rgba(37, 99, 235, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--r-sm);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: var(--r-lg);
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-h);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.brand-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--grad-primary);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 0 18px rgba(37, 99, 235, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.brand-logo span {
  color: var(--cyan-400);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 6px;
}

.mobile-drawer {
  display: none;
  position: absolute;
  top: var(--nav-h);
  left: 0;
  width: 100%;
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-medium);
  padding: 24px;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 6px 0;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 80px;
  text-align: center;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  border-radius: var(--r-full);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.22);
  color: var(--blue-300);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pulse-green 2s infinite ease-in-out;
}

@keyframes pulse-green {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-headline {
  font-size: clamp(2.4rem, 5.8vw, 4.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  max-width: 960px;
  margin: 0 auto 24px;
}

.hero-subheadline {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-proof-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  color: var(--text-tertiary);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 56px;
}

.hero-proof-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-proof-item svg {
  color: var(--emerald-400);
}

/* ==========================================================================
   METRICS BANNER
   ========================================================================== */

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin: 0 auto 72px;
  box-shadow: var(--shadow-md);
}

.metric-strip-item {
  background: var(--bg-surface);
  padding: 24px 20px;
  text-align: center;
  transition: background 0.2s ease;
}

.metric-strip-item:hover {
  background: var(--bg-surface-elevated);
}

.metric-strip-num {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: 4px;
}

.metric-strip-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   AUTHENTIC MERCOSUL LICENSE PLATE
   ========================================================================== */

.mercosul-plate {
  display: inline-flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 5px;
  border: 1.5px solid #000000;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  overflow: hidden;
  user-select: none;
  line-height: 1;
  text-align: center;
}

.plate-header {
  background: #003399;
  color: #ffffff;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 2px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.plate-header .flag {
  font-size: 0.45rem;
}

.plate-number {
  color: #111827;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  padding: 3px 8px;
}

/* ==========================================================================
   INTERACTIVE PRODUCT PLAYGROUND (HERO APP SHELL)
   ========================================================================== */

.showcase-wrapper {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
}

.showcase-wrapper::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 5%;
  right: 5%;
  bottom: 5%;
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.3) 0%, rgba(6, 182, 212, 0.15) 50%, transparent 70%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

.showcase-window {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-mockup);
  overflow: hidden;
  text-align: left;
  position: relative;
}

.showcase-window::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--grad-border-top);
  pointer-events: none;
}

.window-header {
  height: 48px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
}

.window-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.window-controls span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.window-controls span:nth-child(1) { background: #ef4444; }
.window-controls span:nth-child(2) { background: #f59e0b; }
.window-controls span:nth-child(3) { background: #10b981; }

.window-title-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
}

.status-live {
  color: #34d399;
  font-size: 0.75rem;
  background: rgba(16, 185, 129, 0.14);
  padding: 2px 8px;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  gap: 5px;
}

.window-url-bar {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 3px 12px;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  font-family: 'JetBrains Mono', monospace;
}

.showcase-tabs {
  display: flex;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 12px;
  gap: 6px;
  overflow-x: auto;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-tertiary);
  padding: 12px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  color: var(--cyan-400);
  border-bottom-color: var(--cyan-400);
  background: rgba(255, 255, 255, 0.02);
}

.showcase-body {
  padding: 24px;
}

.tab-panel {
  display: none;
  animation: fadeIn 0.3s var(--ease-spring);
}

.tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Playground UI Blocks */
.ui-interactive-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--r-md);
  padding: 12px 16px;
  margin-bottom: 20px;
}

.interactive-pill-btn {
  background: var(--blue-600);
  color: #fff;
  border: none;
  border-radius: var(--r-sm);
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

.interactive-pill-btn:hover {
  background: var(--blue-500);
  transform: scale(1.03);
}

.interactive-pill-btn:active {
  transform: scale(0.97);
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.kpi-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: 16px;
  position: relative;
}

.kpi-box.highlight {
  border-color: rgba(56, 189, 248, 0.3);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.1) 0%, var(--bg-surface-elevated) 100%);
}

.kpi-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 6px;
}

.kpi-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  display: block;
  margin-bottom: 4px;
}

.kpi-trend {
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.kpi-trend.up { color: var(--emerald-400); }
.kpi-trend.sub { color: var(--text-tertiary); }

.grid-dual {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

@media (max-width: 900px) {
  .grid-dual {
    grid-template-columns: 1fr;
  }
}

.ui-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: 18px;
}

.ui-card-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.ui-card-h h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.ui-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-sm);
  margin-bottom: 8px;
  transition: all 0.2s ease;
}

.ui-item-row:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-medium);
}

.ui-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ui-tag.ok { background: var(--emerald-bg); color: var(--emerald-400); border: 1px solid rgba(16, 185, 129, 0.3); }
.ui-tag.warn { background: var(--amber-bg); color: var(--amber-400); border: 1px solid rgba(245, 158, 11, 0.3); }
.ui-tag.blue { background: rgba(37, 99, 235, 0.15); color: var(--blue-300); border: 1px solid rgba(37, 99, 235, 0.3); }
.ui-tag.rose { background: var(--rose-bg); color: var(--rose-400); border: 1px solid rgba(244, 63, 94, 0.3); }

.ui-time-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cyan-400);
  background: rgba(6, 182, 212, 0.12);
  padding: 3px 8px;
  border-radius: 6px;
}

/* ==========================================================================
   HOLOGRAPHIC DIGITAL LOYALTY CARD
   ========================================================================== */

.holo-loyalty-card {
  background: var(--grad-loyalty);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-lg);
  padding: 22px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 36px -8px rgba(15, 118, 110, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.holo-loyalty-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 45%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 55%
  );
  transform: rotate(-25deg);
  pointer-events: none;
  animation: holo-sheen 6s infinite ease-in-out;
}

@keyframes holo-sheen {
  0% { transform: translateX(-100%) rotate(-25deg); }
  40%, 100% { transform: translateX(100%) rotate(-25deg); }
}

.stamp-slot {
  aspect-ratio: 1;
  background: #ffffff;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  color: #047857;
  font-weight: 800;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.25s var(--ease-spring);
  cursor: pointer;
}

.stamp-slot.empty {
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px dashed rgba(255, 255, 255, 0.45);
  color: #ffffff;
  font-size: 0.9rem;
}

.stamp-slot:hover {
  transform: scale(1.1);
}

/* ==========================================================================
   BENTO GRID (BESPOKE ASYMMETRICAL CARDS)
   ========================================================================== */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.bento-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s var(--ease-spring);
}

.bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.bento-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.6);
}

.span-12 { grid-column: span 12; }
.span-8 { grid-column: span 8; }
.span-7 { grid-column: span 7; }
.span-6 { grid-column: span 6; }
.span-5 { grid-column: span 5; }
.span-4 { grid-column: span 4; }

@media (max-width: 980px) {
  .span-8, .span-7, .span-6, .span-5, .span-4 {
    grid-column: span 12;
  }
}

.bento-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: grid;
  place-items: center;
  color: var(--cyan-400);
  margin-bottom: 20px;
}

.bento-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.bento-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.bento-visual-slot {
  margin-top: auto;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 18px;
  overflow: hidden;
}

/* WhatsApp Realistic Bubble */
.wa-realistic-chat {
  background: #0b141a;
  border-radius: var(--r-md);
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.wa-msg {
  background: #005c4b;
  color: #e9edef;
  font-size: 0.88rem;
  padding: 10px 14px;
  border-radius: 10px 10px 2px 10px;
  max-width: 90%;
  margin-left: auto;
  line-height: 1.45;
  box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.wa-msg-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  font-size: 0.7rem;
  color: rgba(233, 237, 239, 0.6);
  margin-top: 4px;
}

.wa-msg-meta svg {
  color: #53bdeb;
}

/* Radar Pulse for Lost Customers */
.radar-box {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(244, 63, 94, 0.08);
  border: 1px solid rgba(244, 63, 94, 0.25);
  border-radius: var(--r-md);
  padding: 14px;
}

.radar-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f43f5e;
  position: relative;
}

.radar-dot::before {
  content: "";
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 2px solid #f43f5e;
  animation: radar-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes radar-ping {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ==========================================================================
   COMPARISON SECTION (NO IMPROVISO VS COM WASHON)
   ========================================================================== */

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}

@media (max-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

.comp-card {
  border-radius: var(--r-xl);
  padding: 36px;
  position: relative;
}

.comp-card.before {
  background: rgba(244, 63, 94, 0.04);
  border: 1px solid rgba(244, 63, 94, 0.18);
}

.comp-card.after {
  background: rgba(16, 185, 129, 0.04);
  border: 1px solid rgba(16, 185, 129, 0.25);
  box-shadow: 0 10px 40px -10px rgba(16, 185, 129, 0.15);
}

.comp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: var(--r-full);
  margin-bottom: 24px;
}

.comp-card.before .comp-badge {
  background: rgba(244, 63, 94, 0.12);
  color: var(--rose-400);
}

.comp-card.after .comp-badge {
  background: rgba(16, 185, 129, 0.14);
  color: var(--emerald-400);
}

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.comp-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.98rem;
  line-height: 1.55;
}

.comp-card.before .comp-list li svg {
  color: var(--rose-400);
  flex-shrink: 0;
  margin-top: 2px;
}

.comp-card.after .comp-list li svg {
  color: var(--emerald-400);
  flex-shrink: 0;
  margin-top: 2px;
}

.comp-card.before .comp-list li b { color: #fca5a5; }
.comp-card.after .comp-list li b { color: #86efac; }

/* ==========================================================================
   INTERACTIVE SIMULATOR (CALCULATOR)
   ========================================================================== */

.calculator-section {
  padding: 80px 0;
}

.calc-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--r-2xl);
  padding: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .calc-card { padding: 28px; }
  .calc-grid { grid-template-columns: 1fr; gap: 36px; }
}

.calc-slider-group {
  margin-bottom: 28px;
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.calc-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #1e293b;
  outline: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--cyan-400);
  cursor: pointer;
  box-shadow: 0 0 14px var(--cyan-400);
  border: 2px solid #ffffff;
  transition: transform 0.15s ease;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-results-box {
  background: var(--bg-subtle);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--r-xl);
  padding: 36px;
  text-align: center;
  position: relative;
}

.calc-big-stat {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #38bdf8;
  margin: 12px 0 4px;
  font-family: 'JetBrains Mono', monospace;
}

/* ==========================================================================
   PRICING SECTION WITH MONTHLY / ANNUAL TOGGLE
   ========================================================================== */

.pricing-section {
  padding: 80px 0;
}

.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
}

.toggle-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
}

.toggle-label.active {
  color: var(--text-primary);
}

.toggle-switch {
  width: 52px;
  height: 28px;
  background: #1e293b;
  border-radius: 14px;
  padding: 3px;
  cursor: pointer;
  position: relative;
  transition: background 0.3s ease;
}

.toggle-switch.active {
  background: var(--blue-600);
}

.toggle-knob {
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s var(--ease-spring);
}

.toggle-switch.active .toggle-knob {
  transform: translateX(24px);
}

.save-pill {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-400);
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--r-full);
}

.pricing-box {
  max-width: 540px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-bright);
  border-radius: var(--r-2xl);
  padding: 44px;
  position: relative;
  box-shadow: var(--shadow-mockup);
  text-align: center;
}

.pricing-featured-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 18px;
  border-radius: var(--r-full);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.5);
}

.price-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin: 28px 0;
}

.price-currency {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.price-value {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
}

.price-period {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.pricing-feature-list {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 32px 0 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.pricing-feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.96rem;
  color: var(--text-primary);
}

.pricing-feature-list li svg {
  color: var(--emerald-400);
  flex-shrink: 0;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */

.faq-section {
  padding: 80px 0;
}

.faq-wrapper {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-card.open {
  border-color: var(--border-medium);
  background: var(--bg-surface-elevated);
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  padding: 22px 24px;
  text-align: left;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.faq-plus {
  font-size: 1.4rem;
  color: var(--cyan-400);
  font-weight: 400;
  transition: transform 0.25s var(--ease-spring);
}

.faq-card.open .faq-plus {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 22px;
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.65;
  border-top: 1px solid transparent;
}

.faq-card.open .faq-answer {
  display: block;
}

/* ==========================================================================
   FINAL CTA & FOOTER
   ========================================================================== */

.final-cta-section {
  padding: 80px 0 100px;
}

.final-cta-card {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18) 0%, rgba(6, 182, 212, 0.1) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--r-2xl);
  padding: 64px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.final-cta-card h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 16px;
}

.final-cta-card p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 36px;
}

.footer {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}

@media (max-width: 840px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col h5 {
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--cyan-400);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-tertiary);
  flex-wrap: wrap;
  gap: 16px;
}

/* Toast micro-feedback */
.washon-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #101623;
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s var(--ease-spring);
}

.washon-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ======================================================================
   RESPONSIVO — auditoria de 320px a 1280px
   O menu de desktop nunca era escondido no celular: ficava fora da tela,
   empurrando a navbar. Daqui para baixo tudo cabe na largura do aparelho.
   ====================================================================== */

/* ---------- Navbar: hambúrguer a partir de 900px ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .mobile-toggle { display: inline-flex; align-items: center; justify-content: center;
                   min-width: 44px; min-height: 44px; }
  .nav-actions { gap: 8px; }
  .nav-actions #navLoginBtn { display: none !important; }
  .mobile-drawer .nav-link { display: block; padding: 12px 0; font-size: 1rem; }
  .mobile-drawer .btn { width: 100%; justify-content: center; }
}

@media (max-width: 420px) {
  .brand-logo { font-size: 1.1rem; }
  .brand-icon-box { width: 30px; height: 30px; }
  .nav-actions .btn-sm { padding: 8px 12px; font-size: 0.82rem; }
}

/* ---------- Vitrine do painel (o "print" do sistema) ---------- */
@media (max-width: 820px) {
  .showcase-window .ui-item-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  /* a linha interna vem com display:flex inline no HTML */
  .showcase-window .ui-item-row > div:first-child {
    flex-wrap: wrap;
    gap: 10px !important;
  }
  .showcase-window .ui-item-row > div:first-child > div:last-child { min-width: 0; flex: 1 1 160px; }
  .showcase-window .ui-item-row .interactive-pill-btn { width: 100%; justify-content: center; }
  .showcase-window .ui-card-h { flex-wrap: wrap; gap: 10px; }
  .showcase-window .ui-card-h > div { flex-wrap: wrap; gap: 8px; }
}

@media (max-width: 560px) {
  .showcase-window .ui-card { padding: 12px; }
  .showcase-window .showcase-body { padding: 14px; }
  /* barra de endereço falsa do mock: encolhe em vez de empurrar */
  .showcase-window .fake-url,
  .showcase-window .showcase-url {
    min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
}

/* A placa Mercosul tem largura própria: não pode ser espremida */
.mercosul-plate { flex: 0 0 auto; min-width: 58px; }
.plate-header { display: flex; align-items: center; justify-content: center; gap: 3px; white-space: nowrap; }
.plate-number { white-space: nowrap; }

/* ---------- Faixa de métricas ---------- */
@media (max-width: 860px) {
  .metrics-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .metric-strip-item { padding: 18px 10px; }
  .metric-strip-label { font-size: 0.68rem; line-height: 1.35; }
}

/* ---------- Cartões grandes: padding cabe em tela pequena ---------- */
@media (max-width: 560px) {
  .calc-card { padding: 20px; }
  .final-cta-card { padding: 40px 18px; }
  .pricing-box { padding: 28px 20px; }
  .comp-card { padding: 24px; }
  .bento-card { padding: 22px; }
}

/* ---------- Alvos de toque e legibilidade ---------- */
@media (max-width: 900px) {
  .footer-col a,
  .footer-col li a { display: inline-block; padding: 7px 0; }
  .interactive-pill-btn { min-height: 38px; padding-inline: 14px; }
  .faq-trigger { min-height: 48px; }
}

/* Nada de texto abaixo de 11px no celular */
@media (max-width: 900px) {
  .text-muted, small, .metric-strip-label, .ui-tag, .badge-tag { font-size: max(0.72rem, 11px); }
  .plate-header { font-size: max(0.5rem, 8px); }   /* placa é gráfico, não texto de leitura */
}

/* ---------- Última rede de segurança ---------- */
@media (max-width: 900px) {
  .container { padding-inline: 16px; }
  img, svg, video { max-width: 100%; }
  .hero-title, .section-title, h1, h2, h3 { overflow-wrap: anywhere; }
}

/* ---------- Cromo da janela falsa: cabe ou some ---------- */
@media (max-width: 900px) {
  .window-header { flex-wrap: wrap; gap: 8px; row-gap: 8px; }
  .window-title-tag { min-width: 0; flex: 1 1 auto; }
  .window-title-tag span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .window-url-bar {
    flex: 1 1 100%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
  }
}
@media (max-width: 560px) {
  /* a barra de endereço é enfeite: em tela pequena o espaço vale mais */
  .window-url-bar { display: none; }
}

/* ---------- Alvos de toque (em qualquer largura) ---------- */
.footer-col a,
.footer-col li a { display: inline-block; padding: 7px 0; }
.brand-logo { padding: 7px 0; }

/* Etiquetas pequenas nunca abaixo de 11px */
.ui-tag, .ui-tag.warn { font-size: max(0.7rem, 11px); }

/* Botões grandes não podem ser mais largos que o cartão */
.final-cta-card .btn,
.pricing-box .btn,
.hero-actions .btn { max-width: 100%; }
@media (max-width: 400px) {
  .btn-lg { padding-inline: 16px; font-size: 0.95rem; }
  .final-cta-card .btn-lg { width: 100%; justify-content: center; }
}

/* CTA de texto ("Já tem conta? Fazer Login") também é alvo de toque */
.link-inline-cta {
  color: var(--cyan-400);
  font-weight: 700;
  text-decoration: none;
  margin-left: 6px;
  display: inline-block;
  padding: 8px 4px;
}
.link-inline-cta:hover { text-decoration: underline; }
