/* ==============================================================================
   4uCapture 1.4.0 — Design System Moderno, Cyber & Glassmorphism
   Desenvolvido para 4U.IA.BR / 4u-Labs por Fabiano Braga
   ============================================================================== */

:root {
  --bg-deep: #060b13;
  --bg-surface: #0b1320;
  --bg-card: rgba(15, 25, 42, 0.72);
  --bg-card-hover: rgba(22, 36, 60, 0.88);
  --bg-glass: rgba(11, 19, 32, 0.82);
  --border-subtle: rgba(148, 163, 184, 0.12);
  --border-card: rgba(56, 189, 248, 0.16);
  --border-highlight: rgba(16, 229, 170, 0.45);
  
  --mint: #10e5aa;
  --mint-light: #5eead4;
  --mint-glow: rgba(16, 229, 170, 0.22);
  --cyan: #38bdf8;
  --cyan-glow: rgba(56, 189, 248, 0.25);
  --indigo: #6366f1;
  --coral: #fb7185;
  --amber: #f59e0b;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  color-scheme: dark;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-deep);
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(ellipse at 15% 10%, rgba(16, 229, 170, 0.08) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 25%, rgba(56, 189, 248, 0.09) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 60%, rgba(99, 102, 241, 0.06) 0%, transparent 50%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button, input, select {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
}

/* -----------------------------------------------------------------------------
   Skip Link para Acessibilidade
   ----------------------------------------------------------------------------- */
.skip {
  position: fixed;
  left: 20px;
  top: -80px;
  z-index: 1000;
  background: var(--mint);
  color: #061c16;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: top 0.2s ease;
}
.skip:focus {
  top: 15px;
}

/* -----------------------------------------------------------------------------
   Header & Navegação Fixa
   ----------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 11, 19, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: border-color 0.2s ease;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--text-main);
}
.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(16, 229, 170, 0.25);
}
.brand em {
  font-style: normal;
  background: linear-gradient(135deg, var(--mint) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13.5px;
  font-weight: 550;
  color: var(--text-muted);
}
.nav-links a:hover {
  color: var(--mint);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Botões Customizados */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 650;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.button:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}
.button.primary {
  background: linear-gradient(135deg, #10e5aa 0%, #06b6d4 100%);
  color: #032119;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-weight: 700;
  box-shadow: 0 6px 20px var(--mint-glow);
}
.button.primary:hover {
  box-shadow: 0 8px 28px rgba(16, 229, 170, 0.4);
  transform: translateY(-2px);
  filter: brightness(1.08);
}
.button.glow-purple {
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
}
.button.glow-purple:hover {
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.5);
  transform: translateY(-2px);
}
.button.large {
  padding: 14px 24px;
  font-size: 14.5px;
  border-radius: 12px;
}

/* Seletor de Idioma PT/EN */
.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 750;
  border-radius: 8px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  background: rgba(56, 189, 248, 0.08);
  color: var(--cyan);
  transition: all 0.2s ease;
}
.lang-btn:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: var(--cyan);
  transform: scale(1.04);
}

.menu-toggle {
  display: none;
  font-size: 20px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
}

/* -----------------------------------------------------------------------------
   Hero Section
   ----------------------------------------------------------------------------- */
.hero {
  padding: 60px 0 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 30px;
  border: 1px solid rgba(16, 229, 170, 0.3);
  background: rgba(16, 229, 170, 0.08);
  color: var(--mint);
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(16, 229, 170, 0.12);
}
.badge-pill .dot {
  width: 7px;
  height: 7px;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--mint);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero h1 {
  font-size: clamp(38px, 4.4vw, 64px);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -2px;
  margin: 0 0 20px;
}
.gradient-text {
  background: linear-gradient(135deg, #10e5aa 0%, #38bdf8 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 0 32px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.trust-bullets {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: var(--text-dim);
  margin-top: 14px;
}
.trust-bullets span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.trust-bullets span i {
  color: var(--mint);
  font-style: normal;
  font-weight: 700;
}

/* Showcase Mockup */
.hero-mockup-wrapper {
  position: relative;
}
.mockup-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at 60% 40%, rgba(16, 229, 170, 0.18), rgba(56, 189, 248, 0.12) 50%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.window-mockup {
  position: relative;
  z-index: 1;
  background: var(--bg-surface);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65), 0 0 40px rgba(16, 229, 170, 0.1);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.window-mockup:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.75), 0 0 50px rgba(16, 229, 170, 0.2);
}

.window-titlebar {
  height: 42px;
  background: rgba(15, 23, 42, 0.95);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid var(--border-subtle);
}
.window-dots {
  display: flex;
  gap: 7px;
}
.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.window-dots .red { background: #ff5f56; }
.window-dots .yellow { background: #ffbd2e; }
.window-dots .green { background: #27c93f; }

.window-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}
.window-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(16, 229, 170, 0.12);
  color: var(--mint);
  border: 1px solid rgba(16, 229, 170, 0.3);
}

.mockup-img-holder {
  position: relative;
  overflow: hidden;
  background: #090f18;
  display: block;
}
.mockup-img-holder img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Floating interactive chips on mockup */
.chip {
  position: absolute;
  z-index: 2;
  padding: 8px 14px;
  background: rgba(11, 19, 32, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  font-size: 11px;
  font-weight: 650;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: floatChip 4s ease-in-out infinite alternate;
}
.chip.top-right {
  top: 24px;
  right: 20px;
  color: var(--mint);
  border-color: rgba(16, 229, 170, 0.4);
}
.chip.bottom-left {
  bottom: 24px;
  left: 20px;
  color: var(--cyan);
  animation-delay: -2s;
}
@keyframes floatChip {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

/* -----------------------------------------------------------------------------
   Barra de Métricas e Diferenciais
   ----------------------------------------------------------------------------- */
.metrics-strip {
  margin: 30px 0 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.metric-card {
  padding: 22px 20px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.metric-card:hover {
  transform: translateY(-2px);
  border-color: var(--mint);
}
.metric-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--mint);
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}
.metric-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}
.metric-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* -----------------------------------------------------------------------------
   Seções Gerais
   ----------------------------------------------------------------------------- */
.section {
  padding: 80px 0;
  position: relative;
}
.section-alt {
  background: rgba(11, 19, 32, 0.45);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--mint);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--mint);
}

.section-header h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.2px;
  margin: 0 0 16px;
}
.section-header p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* -----------------------------------------------------------------------------
   Bento Grid de Recursos
   ----------------------------------------------------------------------------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bento-card {
  padding: 28px;
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 25px var(--mint-glow);
}

.bento-card.span-2 {
  grid-column: span 2;
}
.bento-card.hero-card {
  background: linear-gradient(135deg, rgba(16, 229, 170, 0.1) 0%, rgba(15, 25, 42, 0.8) 100%);
  border-color: rgba(16, 229, 170, 0.35);
}

.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(16, 229, 170, 0.12);
  border: 1px solid rgba(16, 229, 170, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--mint);
}
.bento-icon.cyan {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.3);
  color: var(--cyan);
}
.bento-icon.purple {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.3);
  color: var(--indigo);
}
.bento-icon.coral {
  background: rgba(251, 113, 133, 0.12);
  border-color: rgba(251, 113, 133, 0.3);
  color: var(--coral);
}

.bento-card h3 {
  font-size: 18px;
  font-weight: 750;
  margin: 0 0 10px;
  letter-spacing: -0.3px;
  color: var(--text-main);
}
.bento-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 16px;
  flex-grow: 1;
}
.bento-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--mint);
  margin-top: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* -----------------------------------------------------------------------------
   Simulador Interativo de Presets
   ----------------------------------------------------------------------------- */
.preset-section-box {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.preset-selector-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0;
}
.preset-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
  text-align: left;
}
.preset-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.2);
}
.preset-btn.active {
  background: rgba(16, 229, 170, 0.12);
  border-color: var(--mint);
  color: var(--text-main);
  box-shadow: 0 4px 16px rgba(16, 229, 170, 0.15);
}
.preset-btn span.badge {
  font-size: 11px;
  font-family: ui-monospace, monospace;
  background: rgba(0, 0, 0, 0.3);
  padding: 3px 8px;
  border-radius: 6px;
  color: var(--mint);
}

.simulator-display {
  background: #090f19;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 14px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  position: relative;
}
.sim-viewport {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 16 / 10;
  border: 2px dashed rgba(16, 229, 170, 0.6);
  border-radius: 10px;
  background: rgba(16, 229, 170, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: aspect-ratio 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 20px;
  box-shadow: inset 0 0 30px rgba(16, 229, 170, 0.05);
}
.sim-viewport img {
  width: 64px;
  height: 64px;
  opacity: 0.9;
}
.sim-meta {
  margin-top: 20px;
  font-family: ui-monospace, monospace;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}
.sim-meta b {
  color: var(--mint);
  font-size: 16px;
}

/* -----------------------------------------------------------------------------
   Passo a Passo de Instalação (Extensão Chrome MV3)
   ----------------------------------------------------------------------------- */
.install-container {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 45px;
  align-items: center;
}

.install-info h3 {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -0.8px;
}
.install-info p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0 0 24px;
}

.install-stepper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.install-step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.step-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(16, 229, 170, 0.12);
  border: 1px solid var(--mint);
  color: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}
.step-content b {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}
.step-content p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 6px;
  line-height: 1.5;
}
.copy-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 6px;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: var(--cyan);
}

/* -----------------------------------------------------------------------------
   FAQ em Acordeon
   ----------------------------------------------------------------------------- */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item[open] {
  border-color: rgba(56, 189, 248, 0.4);
}
.faq-summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 650;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}
.faq-summary::-webkit-details-marker {
  display: none;
}
.faq-summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--mint);
  transition: transform 0.2s ease;
}
.faq-item[open] .faq-summary::after {
  content: "−";
}
.faq-body {
  padding: 0 22px 20px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* -----------------------------------------------------------------------------
   Rodapé Oficial 4U.IA.BR / 4u-Labs
   ----------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #04080e;
  padding: 60px 0 35px;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 320px;
  margin: 16px 0 20px;
}

.footer-col b {
  display: block;
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--mint);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.footer-col a:hover {
  color: var(--mint);
  transform: translateX(2px);
}

.footer-social-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  align-items: center;
  justify-content: space-between;
}
.social-links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.social-pill {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.social-pill:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(56, 189, 248, 0.08);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 25px;
  font-size: 12px;
  color: var(--text-dim);
  flex-wrap: wrap;
}

/* -----------------------------------------------------------------------------
   Modais Interativos (4u-Labs Community & PWA Install)
   ----------------------------------------------------------------------------- */
.modal-dialog {
  box-sizing: border-box;
  margin: auto;
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 30px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 18px;
  background: #0b1424;
  color: var(--text-main);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85);
  font-family: inherit;
  overflow-y: auto;
}
.modal-dialog::backdrop {
  background: rgba(4, 9, 20, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.modal-dialog h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 6px;
  letter-spacing: -0.6px;
}
.modal-dialog p.subtitle {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0 0 20px;
}

.modal-grid-14 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 24px;
}
.modal-grid-14 a {
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(15, 23, 42, 0.85);
  color: var(--text-main);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}
.modal-grid-14 a:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--cyan);
  color: #ffffff;
  transform: translateY(-1px);
}
.modal-grid-14 a::after {
  content: "↗";
  font-size: 11px;
  color: var(--mint);
}

.modal-close-btn {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-weight: 700;
  font-size: 13.5px;
  transition: all 0.2s ease;
}
.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

/* -----------------------------------------------------------------------------
   Responsividade Mobile Completa (360px - 900px)
   ----------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero {
    padding-top: 40px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .metrics-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card.span-2 {
    grid-column: span 1;
  }
  .preset-section-box,
  .install-container {
    grid-template-columns: 1fr;
    padding: 28px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    padding: 20px;
    gap: 18px;
  }
  .menu-toggle {
    display: block;
  }
  .hero-cta {
    flex-direction: column;
  }
  .hero-cta .button {
    width: 100%;
    justify-content: center;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .metrics-strip {
    grid-template-columns: 1fr;
  }
  .modal-grid-14 {
    grid-template-columns: 1fr;
  }
}

/* ==============================================================================
   Onboarding & Welcome Page Styles
   ============================================================================== */
.welcome-hero {
  text-align: center;
  padding: 36px 0 28px;
}
.welcome-badge-installed {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 229, 170, 0.12);
  border: 1px solid rgba(16, 229, 170, 0.35);
  color: var(--mint);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: 9999px;
  margin-bottom: 14px;
  box-shadow: 0 0 20px rgba(16, 229, 170, 0.18);
}
.welcome-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.welcome-subtitle {
  font-size: clamp(14.5px, 1.8vw, 16.5px);
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 20px;
  line-height: 1.55;
}
.welcome-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.pin-banner {
  background: linear-gradient(135deg, rgba(16, 229, 170, 0.08) 0%, rgba(56, 189, 248, 0.08) 100%);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 18px;
  padding: 18px 24px;
  margin: 0 0 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}
.pin-icon-box {
  width: 52px;
  height: 52px;
  background: rgba(16, 229, 170, 0.16);
  border: 1px solid rgba(16, 229, 170, 0.4);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.pin-content h3 {
  margin: 0 0 4px;
  font-size: 17px;
  color: var(--mint-light);
}
.pin-content p {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.5;
}
.pin-steps-mini {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pin-step-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: #e2e8f0;
}
.pin-step-item b {
  color: var(--cyan);
}

/* -----------------------------------------------------------------------------
   Divisor de Passo do Onboarding (Integração Direta)
   ----------------------------------------------------------------------------- */
.onboarding-step-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 14px;
  text-align: left;
  flex-wrap: wrap;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 10px 18px;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.onboarding-step-divider .step-pill-badge {
  background: linear-gradient(135deg, rgba(16, 229, 170, 0.22) 0%, rgba(56, 189, 248, 0.22) 100%);
  border: 1px solid rgba(16, 229, 170, 0.45);
  color: var(--mint-light);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 9999px;
  box-shadow: 0 0 12px rgba(16, 229, 170, 0.2);
  white-space: nowrap;
}
.onboarding-step-divider .step-divider-text {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.onboarding-step-divider .step-divider-title {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
}
.onboarding-step-divider .step-divider-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* -----------------------------------------------------------------------------
   Atalhos de Alta Velocidade (Design de Alto Impacto)
   ----------------------------------------------------------------------------- */
.shortcut-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 14px;
}

.shortcut-feature-card {
  position: relative;
  background: linear-gradient(180deg, rgba(16, 27, 46, 0.75) 0%, rgba(9, 15, 26, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(16px);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.shortcut-feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-accent, var(--mint));
  box-shadow: 0 0 16px var(--card-accent, var(--mint));
}

.shortcut-feature-card::after {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 110px;
  height: 110px;
  background: radial-gradient(circle, var(--card-glow, rgba(16, 229, 170, 0.22)) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.shortcut-feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--card-accent, var(--mint));
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), 0 0 32px var(--card-glow, rgba(16, 229, 170, 0.28));
}

.shortcut-feature-card.mint-theme {
  --card-accent: #10e5aa;
  --card-glow: rgba(16, 229, 170, 0.28);
}
.shortcut-feature-card.cyan-theme {
  --card-accent: #38bdf8;
  --card-glow: rgba(56, 189, 248, 0.28);
}
.shortcut-feature-card.violet-theme {
  --card-accent: #a855f7;
  --card-glow: rgba(168, 85, 247, 0.28);
}
.shortcut-feature-card.amber-theme {
  --card-accent: #f59e0b;
  --card-glow: rgba(245, 158, 11, 0.28);
}

.shortcut-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.shortcut-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--card-accent, var(--mint));
}

.shortcut-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.keycaps-cluster {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.keycaps-cluster .keycap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 38px;
  padding: 0 10px;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 3.5px solid #020617;
  border-radius: 9px;
  color: #ffffff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13.5px;
  font-weight: 800;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  letter-spacing: 0.3px;
  user-select: none;
  transition: transform 0.15s ease;
}
.shortcut-feature-card:hover .keycap {
  border-color: rgba(255, 255, 255, 0.35);
}

.keycaps-cluster .key-plus {
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 700;
  user-select: none;
}

.shortcut-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.shortcut-body h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--text-main);
  letter-spacing: -0.2px;
  line-height: 1.3;
}

.shortcut-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 18px;
  flex-grow: 1;
}

.shortcut-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--card-accent, var(--mint));
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5px 11px;
  border-radius: 8px;
  width: fit-content;
  margin-top: auto;
}

@media (max-width: 1120px) {
  .shortcut-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .shortcut-feature-grid {
    grid-template-columns: 1fr;
  }
}

.kbd-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.kbd-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.kbd-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-highlight);
}
kbd {
  display: inline-block;
  padding: 4px 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
  color: var(--mint-light);
  background: #111a2e;
  border: 1px solid rgba(16, 229, 170, 0.35);
  border-radius: 6px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}
.kbd-info strong {
  display: block;
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 2px;
}
.kbd-info small {
  font-size: 12px;
  color: var(--text-muted);
}
@media (max-width: 768px) {
  .pin-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px;
  }
  .pin-icon-box {
    margin: 0 auto;
  }
  .pin-steps-mini {
    justify-content: center;
  }
}

/* -----------------------------------------------------------------------------
   Context Menu Mockup (Botão Direito no Ícone e na Página)
   ----------------------------------------------------------------------------- */
.context-menu-mockup {
  margin-top: 18px;
  background: #0c1424;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 12px;
  padding: 8px 6px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.6), 0 0 18px rgba(56, 189, 248, 0.15);
  font-size: 12.5px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  user-select: none;
}
.context-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 12px;
  border-radius: 7px;
  color: var(--text-main);
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}
.context-menu-item.highlight {
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.18), rgba(16, 229, 170, 0.18));
  border-left: 2px solid var(--cyan);
  color: #fff;
}
.context-menu-item:hover {
  background: rgba(255, 255, 255, 0.08);
}
.context-menu-left {
  display: flex;
  align-items: center;
  gap: 9px;
}
.context-menu-item .cm-shortcut {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  color: var(--cyan);
  background: rgba(56, 189, 248, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  white-space: nowrap;
}

/* -----------------------------------------------------------------------------
   Shortcut Tip Box (Efeito Luminoso / Cyber-Glow)
   ----------------------------------------------------------------------------- */
.shortcut-tip-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, rgba(16, 27, 46, 0.88) 0%, rgba(9, 15, 26, 0.98) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 20px;
  padding: 20px 24px;
  margin-top: 16px;
  backdrop-filter: blur(16px);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 30px rgba(56, 189, 248, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.shortcut-tip-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #38bdf8 0%, #10e5aa 50%, #a855f7 100%);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.85), 0 0 32px rgba(16, 229, 170, 0.45);
}

.shortcut-tip-box::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.shortcut-tip-box:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.65), 0 0 42px rgba(56, 189, 248, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.tip-icon-glow {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2) 0%, rgba(16, 229, 170, 0.15) 100%);
  border: 1px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: pulse-tip-glow 3.5s ease-in-out infinite alternate;
}

@keyframes pulse-tip-glow {
  0% {
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(56, 189, 248, 0.4);
  }
  100% {
    box-shadow: 0 0 32px rgba(56, 189, 248, 0.55), 0 0 16px rgba(16, 229, 170, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    border-color: rgba(56, 189, 248, 0.7);
  }
}

.tip-icon-glow .tip-icon {
  font-size: 28px;
  line-height: 1;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.tip-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tip-header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tip-header .cyan-badge {
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.3);
  background: rgba(56, 189, 248, 0.1);
}

.tip-title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.3px;
  background: linear-gradient(90deg, #ffffff 0%, #bae6fd 60%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tip-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
}

@media (max-width: 640px) {
  .shortcut-tip-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 16px;
  }
}

