:root {
  /* Paleta Dark Mode "Tech" */
  --bg-dark: #050505;
  --bg-card: #0F0F0F;
  --bg-card-hover: #141414;
  
  --primary: #22c55e;        /* Verde Matrix */
  --primary-glow: #22c55e80; 
  --primary-dark: #15803d;
  
  --accent: #3b82f6;         /* Azul Tech para detalhes */
  
  --text-white: #ffffff;
  --text-gray: #a1a1aa;
  --text-muted: #52525b;
  
  --border: #27272a;
  --border-light: #3f3f46;
  
  --font-main: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace; /* Para dados técnicos */
  
  --max-width: 1200px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-gray);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Utilitários */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  color: var(--text-white);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.gradient-text {
  background: linear-gradient(to right, var(--primary), #4ade80);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* BACKGROUND E EFEITOS */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px; /* Grid técnico */
  mask-image: radial-gradient(circle at center, black 40%, transparent 90%);
  z-index: -1;
}

.glow-effect {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34,197,94,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}
.top-center { top: -200px; left: 50%; transform: translateX(-50%); }
.bottom-center { bottom: -200px; left: 50%; transform: translateX(-50%); }

/* HERO SECTION */
.hero-section {
  position: relative;
  padding: 160px 0 120px;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 100px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(34,197,94, 0.4);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(34,197,94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94, 0); }
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-text p {
  font-size: 1.125rem;
  margin-bottom: 40px;
  max-width: 500px;
}

/* BOTÕES */
.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.cta-button.primary {
  background: var(--primary);
  color: #000;
}

.cta-button.primary:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(34,197,94,0.4);
}

.cta-button.ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text-white);
  border: 1px solid var(--border);
}

.cta-button.ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--text-white);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.check-icon { color: var(--primary); }

/* MOCKUP (O Scanner) */
.hero-mockup {
  position: relative;
  perspective: 1000px;
}

.mockup-frame {
  background: #111;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transform: rotateY(-5deg) rotateX(5deg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
  position: relative;
  z-index: 2;
}

.mockup-frame:hover {
  transform: rotateY(0) rotateX(0);
}

.mockup-header {
  background: #1a1a1a;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--border);
}

.dots-group { display: flex; gap: 6px; }
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #ef4444; } .yellow { background: #eab308; } .green { background: #22c55e; }

.address-bar {
  background: #000;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 4px;
  flex: 1;
}

.mockup-body {
  background: #0d0d0d;
  height: 350px;
  position: relative;
}

.mockup-ui { display: flex; height: 100%; }
.ui-sidebar {
  width: 60px;
  border-right: 1px solid var(--border);
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.skeleton-line { height: 4px; background: #27272a; border-radius: 2px; }
.w-70 { width: 70%; } .w-50 { width: 50%; } .w-80 { width: 80%; }

.ui-main {
  flex: 1;
  position: relative;
  background: radial-gradient(circle at 50% 50%, #1a1a1a 0%, #0d0d0d 100%);
}

.ui-image-placeholder {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 180px; height: 120px;
  background: #1f1f1f;
  border: 1px dashed var(--text-muted);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chip-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  border: 1px solid #333;
  padding: 2px 6px;
}

.annotation {
  position: absolute;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(4px);
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  gap: 6px;
}

.pin-dot {
  width: 6px; height: 6px; background: var(--primary); border-radius: 50%;
}

.pin1 { top: 20%; right: 20%; }
.pin2 { bottom: 30%; left: 25%; border-color: #ef4444; color: #ef4444; }
.pin2 .pin-dot { background: #ef4444; }

.mockup-glow {
  position: absolute;
  inset: 0;
  background: var(--primary);
  filter: blur(80px);
  opacity: 0.2;
  z-index: 1;
}

/* STATS & BENEFITS */
.stats-row {
  display: flex;
  justify-content: space-around;
  margin-bottom: 80px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 40px;
}

.stat-item { text-align: center; }
.stat-number { display: block; font-size: 2rem; font-weight: 700; color: var(--text-white); }
.stat-label { font-size: 0.9rem; color: var(--text-muted); }

.benefits-section, .features-section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 16px; }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 40px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-light);
  background: var(--bg-card-hover);
}

.card-glow {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.benefit-card:hover .card-glow { transform: scaleX(1); }
.benefit-icon { font-size: 2.5rem; margin-bottom: 20px; }
.benefit-card h3 { margin-bottom: 12px; font-size: 1.25rem; }

/* FEATURE SPLIT */
.feature-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-list { list-style: none; margin-top: 32px; display: grid; gap: 24px; }
.feature-list li p { font-size: 0.95rem; margin-top: 4px; }
.feature-list strong { color: var(--text-white); display: block; font-size: 1.1rem; }

.visual-card {
  background: #1a1a1a;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.search-bar-mock {
  background: #000;
  border: 1px solid var(--border);
  padding: 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}
.result-item {
  display: flex;
  justify-content: space-between;
  padding: 12px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.result-item.active { background: rgba(34,197,94,0.1); border-radius: 6px; border: none; }
.result-item .code { color: var(--text-white); font-weight: 600; }

/* WORKFLOW */
.workflow-section { padding: 100px 0; position: relative; }
.workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  margin-top: 60px;
}

.workflow-line {
  position: absolute;
  top: 25px;
  left: 50px;
  right: 50px;
  height: 2px;
  background: var(--border);
  z-index: 0;
  border-top: 2px dashed var(--text-muted);
}

.workflow-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.step-icon {
  width: 50px; height: 50px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--text-white);
  font-weight: 700;
  transition: var(--transition);
}

.workflow-step:hover .step-icon {
  border-color: var(--primary);
  background: var(--primary);
  color: #000;
  box-shadow: 0 0 20px var(--primary-glow);
}

/* TESTIMONIALS */
.testimonials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.testimonial-card {
  background: var(--bg-card);
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.quote-mark { font-size: 3rem; color: var(--border); line-height: 0; margin-bottom: 24px; }
.testimonial-card p { font-size: 1.1rem; margin-bottom: 24px; font-style: italic; }
.author { display: flex; gap: 12px; align-items: center; }
.avatar {
  width: 40px; height: 40px; background: var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--text-white); font-weight: 700; font-size: 0.8rem;
}
.role { font-size: 0.85rem; color: var(--text-muted); display: block; }
.testimonial-card cite { color: var(--text-white); font-style: normal; font-weight: 600; }

/* CTA & FOOTER */
.cta-section {
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.relative-z { position: relative; z-index: 2; }
.cta-sub { font-size: 1.25rem; margin: 16px 0 32px; }

.footer { border-top: 1px solid var(--border); padding: 60px 0; margin-top: 60px; font-size: 0.9rem; }
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.footer nav { display: flex; gap: 24px; }
.footer nav a { color: var(--text-muted); text-decoration: none; transition: 0.2s; }
.footer nav a:hover { color: var(--primary); }

/* MOBILE */
@media (max-width: 768px) {
  .hero-layout, .feature-layout, .testimonials-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-section { text-align: center; padding-top: 120px; }
  .hero-actions { justify-content: center; }
  .trust-badge { justify-content: center; }
  .stats-row { flex-wrap: wrap; gap: 20px; }
  .stat-item { width: 45%; }
  .workflow { grid-template-columns: 1fr; gap: 40px; }
  .workflow-line { display: none; }
  .footer-content { flex-direction: column; gap: 24px; text-align: center; }
}