/* =============================================================
   ARRICCHIMENTO EMAIL — Landing dedicata
   Identità: radar/scanner, accent VERDE primario (non cyan).
   Tutto self-contained, nessun conflitto con style.css globale.
   ============================================================= */

/* Page-level tokens (override locale) */
.ae-page {
  --ae-bg: #050810;
  --ae-bg2: #07101a;
  --ae-card: #0c1420;
  --ae-border: rgba(0, 230, 118, 0.12);
  --ae-border-strong: rgba(0, 230, 118, 0.4);
  --ae-green: #00E676;
  --ae-green-soft: rgba(0, 230, 118, 0.15);
  --ae-cyan: #00E5FF;
  --ae-purple: #7C4DFF;
  --ae-red: #FF5252;
  --ae-text: #e5e7eb;
  --ae-text-mute: rgba(229, 231, 235, 0.55);
  --ae-text-dim: rgba(229, 231, 235, 0.35);
  --ae-mono: 'JetBrains Mono', 'Courier New', monospace;
  background: var(--ae-bg);
  color: var(--ae-text);
}

.ae-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* =============================================================
   HERO — "The Scanner"
   ============================================================= */
.ae-hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 0 60px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(0, 230, 118, 0.08), transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(124, 77, 255, 0.06), transparent 50%),
    var(--ae-bg);
}

/* Hex grid background pattern */
.ae-hero-bg {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 52'%3E%3Cpath d='M30 0L60 17.32V52L30 52L0 52L0 17.32Z' fill='none' stroke='%2300E676' stroke-opacity='0.04' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 52px;
  opacity: 0.6;
  animation: ae-grid-drift 80s linear infinite;
  pointer-events: none;
}
@keyframes ae-grid-drift {
  from { background-position: 0 0; }
  to { background-position: 600px 520px; }
}

.ae-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  z-index: 2;
}

/* HERO TEXT (right side) */
.ae-hero-text { padding: 20px 0; }

.ae-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: var(--ae-green-soft);
  border: 1px solid var(--ae-border-strong);
  border-radius: 100px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ae-green);
  margin-bottom: 24px;
}
.ae-badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ae-green);
  box-shadow: 0 0 12px var(--ae-green);
  animation: ae-pulse-dot 2s ease-in-out infinite;
}
@keyframes ae-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.ae-hero h1 {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #fff;
  margin: 0 0 24px;
}
.ae-hero h1 .ae-grad {
  background: linear-gradient(135deg, var(--ae-green), var(--ae-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ae-hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
  color: var(--ae-text-mute);
  margin: 0 0 36px;
  max-width: 540px;
}

.ae-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.ae-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px; font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}
.ae-btn-primary {
  background: var(--ae-green);
  color: #001008;
  box-shadow: 0 6px 20px rgba(0, 230, 118, 0.35);
}
.ae-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 230, 118, 0.5);
}
.ae-btn-ghost {
  background: transparent;
  color: var(--ae-text);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.ae-btn-ghost:hover {
  border-color: var(--ae-green);
  color: var(--ae-green);
  transform: translateY(-2px);
}

/* HERO RADAR (left side) */
.ae-radar-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 520px;
  margin: 0 auto;
}
.ae-radar {
  width: 100%; height: 100%;
  display: block;
}
.ae-radar-rings circle {
  fill: none;
  stroke: rgba(0, 230, 118, 0.18);
  stroke-width: 1;
}
.ae-radar-grid line {
  stroke: rgba(0, 230, 118, 0.08);
  stroke-width: 1;
}
.ae-radar-sweep {
  transform-origin: 250px 250px;
  animation: ae-sweep-rotate 4s linear infinite;
}
@keyframes ae-sweep-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.ae-radar-center circle {
  fill: var(--ae-green);
  filter: drop-shadow(0 0 12px var(--ae-green));
  animation: ae-center-pulse 2s ease-in-out infinite;
}
@keyframes ae-center-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}
.ae-radar-center-ring {
  fill: none;
  stroke: var(--ae-green);
  stroke-width: 2;
  opacity: 0;
  transform-origin: 250px 250px;
  animation: ae-center-ring-out 2s ease-out infinite;
}
@keyframes ae-center-ring-out {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

.ae-site-dot {
  fill: rgba(0, 230, 118, 0.3);
  stroke: var(--ae-green);
  stroke-width: 1;
  opacity: 0.4;
  animation: ae-site-fade 4s linear infinite;
}
.ae-site-dot.found {
  fill: var(--ae-green);
  filter: drop-shadow(0 0 6px var(--ae-green));
  opacity: 1;
}
@keyframes ae-site-fade {
  0%, 30%, 100% { opacity: 0.4; }
  35% { opacity: 1; filter: drop-shadow(0 0 6px var(--ae-green)); }
  60% { opacity: 0.7; }
}
/* Stagger ogni dot per simulare lo sweep che passa */
.ae-site-dot:nth-child(1) { animation-delay: 0s; }
.ae-site-dot:nth-child(2) { animation-delay: 0.4s; }
.ae-site-dot:nth-child(3) { animation-delay: 0.8s; }
.ae-site-dot:nth-child(4) { animation-delay: 1.2s; }
.ae-site-dot:nth-child(5) { animation-delay: 1.6s; }
.ae-site-dot:nth-child(6) { animation-delay: 2.0s; }
.ae-site-dot:nth-child(7) { animation-delay: 2.4s; }
.ae-site-dot:nth-child(8) { animation-delay: 2.8s; }
.ae-site-dot:nth-child(9) { animation-delay: 3.2s; }
.ae-site-dot:nth-child(10) { animation-delay: 3.6s; }

.ae-particle {
  fill: var(--ae-green);
  filter: drop-shadow(0 0 4px var(--ae-green));
}

/* Counter overlay sul radar */
.ae-radar-stat {
  position: absolute; bottom: 12px; left: 50%;
  transform: translateX(-50%);
  background: rgba(5, 8, 16, 0.85);
  border: 1px solid var(--ae-border-strong);
  border-radius: 10px;
  padding: 10px 18px;
  font-family: var(--ae-mono);
  font-size: 14px;
  color: var(--ae-green);
  backdrop-filter: blur(10px);
  white-space: nowrap;
}
.ae-radar-stat-num {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.ae-radar-stat-label {
  font-size: 10px;
  color: var(--ae-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* =============================================================
   STATS RIBBON
   ============================================================= */
.ae-stats {
  background:
    linear-gradient(180deg, var(--ae-bg2), var(--ae-bg));
  border-top: 1px solid var(--ae-border);
  border-bottom: 1px solid var(--ae-border);
  padding: 60px 0;
}
.ae-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.ae-stat {
  text-align: center;
  padding: 0 20px;
  border-right: 1px solid var(--ae-border);
}
.ae-stat:last-child { border-right: none; }

.ae-stat-num {
  font-family: var(--ae-mono);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  background: linear-gradient(180deg, var(--ae-green), #00b864);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.ae-stat-label {
  font-size: 13px;
  color: var(--ae-text-mute);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

/* =============================================================
   PROBLEM — split layout
   ============================================================= */
.ae-problem {
  padding: 100px 0;
  position: relative;
}
.ae-problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.ae-problem-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ae-lead-card {
  background: var(--ae-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.ae-lead-card.has-email { border-color: rgba(0, 230, 118, 0.25); }
.ae-lead-card.no-email {
  border-color: rgba(255, 82, 82, 0.3);
  animation: ae-warning-pulse 3s ease-in-out infinite;
}
@keyframes ae-warning-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.15); }
  50% { box-shadow: 0 0 0 8px rgba(255, 82, 82, 0); }
}

.ae-lead-name {
  font-weight: 700; color: #fff;
  font-size: 14px;
  margin-bottom: 8px;
}
.ae-lead-detail {
  font-size: 12px;
  color: var(--ae-text-dim);
  line-height: 1.5;
  margin-bottom: 4px;
}
.ae-lead-email {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--ae-mono);
  font-size: 11px;
  margin-top: 8px;
}
.has-email .ae-lead-email { color: var(--ae-green); }
.no-email .ae-lead-email { color: var(--ae-red); }

.ae-problem-text h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}
.ae-problem-text h2 strong {
  color: var(--ae-red);
  font-weight: 800;
}
.ae-pain-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ae-pain-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ae-border);
  color: var(--ae-text-mute);
  font-size: 15px;
  line-height: 1.6;
}
.ae-pain-list li:last-child { border-bottom: none; }
.ae-pain-x {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255, 82, 82, 0.12);
  color: var(--ae-red);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

/* =============================================================
   PIPELINE — "Lo scanner in azione"
   ============================================================= */
.ae-pipeline {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(0, 230, 118, 0.025), transparent);
  position: relative;
}
.ae-section-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--ae-green-soft);
  border: 1px solid var(--ae-border-strong);
  color: var(--ae-green);
  border-radius: 100px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.ae-section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}
.ae-section-head h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 18px;
  letter-spacing: -0.025em;
}
.ae-section-head p {
  font-size: 17px;
  color: var(--ae-text-mute);
  line-height: 1.65;
  margin: 0;
}

.ae-pipeline-flow {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 80px 1fr 80px 1fr;
  gap: 0;
  align-items: stretch;
}

.ae-step-card {
  background: var(--ae-card);
  border: 1px solid var(--ae-border);
  border-radius: 18px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.ae-step-card:hover {
  border-color: var(--ae-border-strong);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 230, 118, 0.1);
}
.ae-step-num {
  font-family: var(--ae-mono);
  font-size: 12px;
  color: var(--ae-green);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}
.ae-step-card h3 {
  font-size: 20px; font-weight: 700; color: #fff;
  margin: 0 0 12px;
}
.ae-step-card p {
  font-size: 14px;
  color: var(--ae-text-mute);
  line-height: 1.55;
  margin: 0 0 18px;
}

/* Mockup minimal lead row */
.ae-mock-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: var(--ae-bg);
  border-radius: 8px;
  margin-bottom: 6px;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.ae-mock-row-name {
  flex: 1;
  color: var(--ae-text);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ae-mock-row-mail-empty {
  font-family: var(--ae-mono);
  color: var(--ae-text-dim);
  font-size: 11px;
}
.ae-mock-row-mail-full {
  font-family: var(--ae-mono);
  color: var(--ae-green);
  font-size: 11px;
}

/* Step 2: 3 lanes parallel scan */
.ae-lanes {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 4px;
}
.ae-lane {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--ae-mono); font-size: 11px;
  color: var(--ae-text-dim);
}
.ae-lane-bar {
  flex: 1; height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.ae-lane-bar::after {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0;
  background: linear-gradient(90deg, transparent, var(--ae-green));
  border-radius: 2px;
  width: 30%;
  animation: ae-lane-progress 2s linear infinite;
}
.ae-lane:nth-child(1) .ae-lane-bar::after { animation-delay: 0s; }
.ae-lane:nth-child(2) .ae-lane-bar::after { animation-delay: 0.5s; }
.ae-lane:nth-child(3) .ae-lane-bar::after { animation-delay: 1s; }
@keyframes ae-lane-progress {
  0% { left: -30%; width: 30%; }
  100% { left: 100%; width: 30%; }
}

/* Pipeline arrow connectors */
.ae-arrow {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.ae-arrow-line {
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--ae-green-soft), var(--ae-green), var(--ae-green-soft));
  background-size: 200% 100%;
  border-radius: 1px;
  animation: ae-arrow-flow 2s linear infinite;
}
@keyframes ae-arrow-flow {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.ae-arrow-tip {
  position: absolute; right: 6px;
  width: 0; height: 0;
  border-left: 8px solid var(--ae-green);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  filter: drop-shadow(0 0 4px var(--ae-green));
}

/* =============================================================
   LIVE DEMO — CRM mockup loop
   ============================================================= */
.ae-demo {
  padding: 100px 0;
  position: relative;
}
.ae-demo-frame {
  max-width: 880px;
  margin: 0 auto;
  background: var(--ae-card);
  border: 1px solid var(--ae-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 230, 118, 0.08);
}
.ae-demo-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid var(--ae-border);
}
.ae-demo-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.ae-demo-dot.r { background: #ff5f57; }
.ae-demo-dot.y { background: #febc2e; }
.ae-demo-dot.g { background: #28c840; }
.ae-demo-title {
  margin-left: 14px;
  font-family: var(--ae-mono);
  font-size: 12px;
  color: var(--ae-text-dim);
}

.ae-demo-body {
  padding: 24px;
  position: relative;
}

.ae-demo-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.ae-demo-list-name {
  font-weight: 700; color: #fff;
  display: flex; align-items: center; gap: 10px;
  font-size: 15px;
}
.ae-demo-count {
  font-family: var(--ae-mono); font-size: 11px;
  color: var(--ae-text-dim);
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
}
.ae-demo-action-btn {
  background: var(--ae-green);
  color: #001008;
  border: none;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; gap: 6px;
  position: relative;
  cursor: pointer;
  transition: all 0.2s;
}
.ae-demo-action-btn::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  opacity: 0;
  animation: ae-btn-click 8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes ae-btn-click {
  0%, 30%, 100% { opacity: 0; transform: scale(1); }
  32%, 35% { opacity: 1; transform: scale(0.95); }
}

.ae-demo-progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  margin-bottom: 16px;
  overflow: hidden;
  position: relative;
}
.ae-demo-progress-bar {
  position: absolute; top: 0; left: 0; bottom: 0;
  background: linear-gradient(90deg, var(--ae-green), var(--ae-cyan));
  border-radius: 2px;
  width: 0%;
  animation: ae-demo-progress 8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes ae-demo-progress {
  0%, 30% { width: 0%; }
  35% { width: 0%; }
  70% { width: 100%; }
  75%, 100% { width: 100%; opacity: 0; }
}
.ae-demo-progress-label {
  position: absolute; right: 0; top: -22px;
  font-family: var(--ae-mono); font-size: 11px;
  color: var(--ae-green);
  opacity: 0;
  animation: ae-demo-label 8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes ae-demo-label {
  0%, 30% { opacity: 0; }
  35%, 70% { opacity: 1; }
  75%, 100% { opacity: 0; }
}

.ae-demo-rows {
  display: flex; flex-direction: column; gap: 6px;
}
.ae-demo-row {
  display: grid;
  grid-template-columns: 24px 1.5fr 1fr 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  font-size: 13px;
  transition: all 0.4s ease;
}
.ae-demo-row-icon {
  width: 24px; height: 24px;
  border-radius: 6px;
  background: rgba(255, 230, 0, 0.1);
  color: #FFB800;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 700;
}
.ae-demo-row-name {
  font-weight: 600; color: var(--ae-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ae-demo-row-meta {
  font-family: var(--ae-mono); font-size: 11px;
  color: var(--ae-text-dim);
}
.ae-demo-row-email {
  font-family: var(--ae-mono); font-size: 11px;
  position: relative;
}

.ae-demo-row-email-empty {
  color: var(--ae-text-dim);
  animation: ae-email-empty 8s linear infinite;
}
.ae-demo-row-email-found {
  color: var(--ae-green);
  position: absolute; left: 0; top: 0;
  opacity: 0;
  animation: ae-email-found 8s linear infinite;
}
.ae-demo-row.r1 .ae-demo-row-email-empty { animation-delay: 0s; }
.ae-demo-row.r1 .ae-demo-row-email-found { animation-delay: 0s; }
.ae-demo-row.r2 .ae-demo-row-email-empty { animation-delay: 0.4s; }
.ae-demo-row.r2 .ae-demo-row-email-found { animation-delay: 0.4s; }
.ae-demo-row.r3 .ae-demo-row-email-empty { animation-delay: 0.8s; }
.ae-demo-row.r3 .ae-demo-row-email-found { animation-delay: 0.8s; }
.ae-demo-row.r4 .ae-demo-row-email-empty { animation-delay: 1.2s; }
.ae-demo-row.r4 .ae-demo-row-email-found { animation-delay: 1.2s; }

@keyframes ae-email-empty {
  0%, 55% { opacity: 1; }
  60%, 95% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes ae-email-found {
  0%, 55% { opacity: 0; }
  60%, 95% { opacity: 1; }
  100% { opacity: 0; }
}

/* =============================================================
   COMPARISON TABLE
   ============================================================= */
.ae-compare {
  padding: 100px 0;
}
.ae-compare-table {
  max-width: 980px;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  background: var(--ae-card);
  border: 1px solid var(--ae-border);
  border-radius: 18px;
  overflow: hidden;
}
.ae-compare-table th,
.ae-compare-table td {
  padding: 18px 22px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 14px;
}
.ae-compare-table th:first-child,
.ae-compare-table td:first-child {
  text-align: left;
  color: var(--ae-text-mute);
  font-weight: 500;
}
.ae-compare-table th {
  background: rgba(255, 255, 255, 0.025);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.ae-compare-table .ae-col-mine {
  background: rgba(0, 230, 118, 0.05);
  color: var(--ae-green);
  border-left: 1px solid var(--ae-border-strong);
  border-right: 1px solid var(--ae-border-strong);
  font-weight: 700;
  position: relative;
}
.ae-compare-table thead .ae-col-mine {
  position: relative;
  font-size: 14px;
}
.ae-compare-table thead .ae-col-mine::after {
  content: 'Incluso';
  display: block;
  font-size: 10px;
  color: var(--ae-green);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 3px;
  text-transform: none;
}
.ae-compare-table tr:last-child td { border-bottom: none; }
.ae-compare-table tr.ae-total td {
  background: rgba(0, 0, 0, 0.3);
  font-weight: 700;
  color: #fff;
  font-size: 16px;
}
.ae-compare-table tr.ae-total .ae-col-mine {
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.15), rgba(0, 229, 255, 0.1));
  color: var(--ae-green);
  font-size: 18px;
}
.ae-check { color: var(--ae-green); font-size: 18px; }
.ae-x { color: rgba(255, 82, 82, 0.7); font-size: 18px; }

/* =============================================================
   TERMINAL FAQ
   ============================================================= */
.ae-faq {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.4), transparent);
}
.ae-terminal {
  max-width: 880px;
  margin: 0 auto;
  background: #03070d;
  border: 1px solid var(--ae-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.ae-terminal-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--ae-border);
}
.ae-terminal-title {
  margin-left: 12px;
  font-family: var(--ae-mono);
  font-size: 12px;
  color: var(--ae-text-dim);
}
.ae-terminal-body {
  padding: 12px 8px;
  font-family: var(--ae-mono);
  font-size: 14px;
  line-height: 1.7;
}
.ae-faq-item {
  padding: 8px 16px;
  margin-bottom: 4px;
  border-radius: 8px;
  transition: background 0.3s;
}
.ae-faq-item:hover { background: rgba(0, 230, 118, 0.04); }
.ae-faq-q {
  display: flex; align-items: flex-start; gap: 12px;
  cursor: pointer;
  user-select: none;
}
.ae-faq-q::before {
  content: '>';
  color: var(--ae-green);
  font-weight: 700;
  flex-shrink: 0;
  animation: ae-blink 1.2s step-end infinite;
}
.ae-faq-item.open .ae-faq-q::before {
  content: 'v';
  animation: none;
}
@keyframes ae-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0.3; }
}
.ae-faq-q-text {
  color: var(--ae-text);
  font-weight: 500;
}
.ae-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s;
  padding: 0 0 0 24px;
  color: var(--ae-text-mute);
}
.ae-faq-item.open .ae-faq-a {
  max-height: 320px;
  padding: 12px 0 8px 24px;
}
.ae-faq-a a {
  color: var(--ae-cyan);
  text-decoration: none;
  border-bottom: 1px dashed rgba(0, 229, 255, 0.4);
}
.ae-faq-a a:hover { border-bottom-style: solid; }

/* =============================================================
   FINAL CTA
   ============================================================= */
.ae-final {
  padding: 120px 24px;
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(ellipse at center, rgba(0, 230, 118, 0.15), transparent 60%),
    var(--ae-bg2);
}
.ae-final-bg {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 52'%3E%3Cpath d='M30 0L60 17.32V52L30 52L0 52L0 17.32Z' fill='none' stroke='%2300E676' stroke-opacity='0.06' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 52px;
  opacity: 0.8;
  animation: ae-grid-drift 60s linear infinite reverse;
  pointer-events: none;
}
.ae-final-content {
  position: relative; z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}
.ae-final h2 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 20px;
  letter-spacing: -0.025em;
}
.ae-final p {
  font-size: 18px;
  color: var(--ae-text-mute);
  margin: 0 0 36px;
}
.ae-final-cta {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}

/* =============================================================
   SCROLL REVEAL
   ============================================================= */
.ae-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.ae-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1024px) {
  .ae-pipeline-flow {
    grid-template-columns: 1fr 50px 1fr 50px 1fr;
  }
  .ae-step-card { padding: 22px; }
}

@media (max-width: 768px) {
  .ae-hero { padding: 100px 0 50px; min-height: auto; }
  .ae-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ae-radar-wrap {
    order: -1;
    max-width: 360px;
  }
  .ae-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 0;
  }
  .ae-stat:nth-child(2) { border-right: none; }
  .ae-stat:nth-child(odd) { border-right: 1px solid var(--ae-border); }
  .ae-problem-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ae-problem-cards {
    order: 2;
  }
  .ae-pipeline-flow {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ae-arrow {
    height: 40px;
  }
  .ae-arrow-line {
    width: 2px; height: 100%;
    background: linear-gradient(180deg, var(--ae-green-soft), var(--ae-green), var(--ae-green-soft));
    background-size: 100% 200%;
    animation: ae-arrow-flow-vert 2s linear infinite;
  }
  @keyframes ae-arrow-flow-vert {
    0% { background-position: 0 200%; }
    100% { background-position: 0 -200%; }
  }
  .ae-arrow-tip {
    right: auto; left: 50%; bottom: 4px; top: auto;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid var(--ae-green);
    border-bottom: none;
  }
  .ae-compare-table { font-size: 12px; }
  .ae-compare-table th,
  .ae-compare-table td {
    padding: 12px 8px;
  }
  .ae-demo-row {
    grid-template-columns: 24px 1fr 1fr;
  }
  .ae-demo-row-meta { display: none; }
}

@media (max-width: 480px) {
  .ae-hero h1 { font-size: 36px; }
  .ae-stats-grid { grid-template-columns: 1fr; }
  .ae-stat { border-right: none !important; border-bottom: 1px solid var(--ae-border); padding: 24px 0; }
  .ae-stat:last-child { border-bottom: none; }
  .ae-final h2 { font-size: 32px; }
}

/* =============================================================
   REDUCED MOTION
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .ae-reveal { opacity: 1; transform: none; }
}
