/* =========================================
   INCOMINGTAX — PROFESSIONAL DESIGN SYSTEM
   ========================================= */

:root {
  --teal:       #00D4B8;
  --teal-d:     #00B89E;
  --teal-glow:  rgba(0,212,184,0.18);
  --blue:       #00A3FF;
  --purple:     #7C5CFC;
  --orange:     #FF7043;
  --green:      #10B981;
  --red:        #EF4444;
  --yellow:     #F59E0B;

  --bg:         #060B14;
  --bg2:        #0D1424;
  --bg3:        #111E35;
  --bg4:        #172035;
  --card:       rgba(255,255,255,0.04);
  --card-hover: rgba(255,255,255,0.06);
  --border:     rgba(255,255,255,0.07);
  --border2:    rgba(255,255,255,0.12);

  --text:       #EEF2F8;
  --text-2:     #8FA3BF;
  --text-3:     #4A6080;
  --white:      #FFFFFF;

  --font:       'Inter', system-ui, -apple-system, sans-serif;
  --r:          14px;
  --r-sm:       10px;
  --r-lg:       20px;
  --r-xl:       28px;
  --shadow:     0 8px 40px rgba(0,0,0,0.45);
  --shadow-teal: 0 0 60px rgba(0,212,184,0.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section-center { text-align: center; margin-bottom: 64px; }

/* ===================== TYPOGRAPHY ===================== */
.section-title {
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 18px;
}
.section-body {
  font-size: 18px;
  color: var(--text-2);
  line-height: 1.75;
}
.label-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(0,212,184,0.1);
  border: 1px solid rgba(0,212,184,0.2);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.label-chip--purple { color: var(--purple); background: rgba(124,92,252,0.1); border-color: rgba(124,92,252,0.25); }
.label-chip--teal   { color: var(--teal); }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn--primary {
  background: linear-gradient(135deg, var(--teal) 0%, var(--blue) 100%);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(0,212,184,0);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(0,212,184,0.35);
}
.btn--ghost {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border2);
}
.btn--ghost:hover { background: var(--card-hover); border-color: rgba(255,255,255,0.2); }
.btn--outline {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border2);
}
.btn--outline:hover { color: var(--white); border-color: rgba(255,255,255,0.3); }
.btn--sm  { padding: 9px 18px; font-size: 13px; }
.btn--xl  { padding: 16px 36px; font-size: 16px; border-radius: var(--r); }
.btn--full { width: 100%; }

/* ===================== NAV ===================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6,11,20,0.88);
  backdrop-filter: blur(16px) saturate(1.5);
  border-bottom-color: var(--border);
}
.nav__inner {
  max-width: 1140px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; gap: 0;
}
.nav__logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700; color: var(--white);
  flex-shrink: 0;
}
.nav__logo-img {
  width: 30px; height: 30px;
  border-radius: 7px;
  object-fit: contain;
  display: block;
}
.nav__links {
  display: flex; gap: 36px; margin-left: 52px;
}
.nav__links a { font-size: 14px; color: var(--text-2); font-weight: 500; transition: color 0.2s; }
.nav__links a:hover { color: var(--white); }
.nav__actions { display: flex; gap: 10px; margin-left: auto; }
.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px; margin-left: auto;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--text-2); border-radius: 2px; transition: all 0.3s; }
.nav__mobile {
  display: none; flex-direction: column; gap: 6px;
  padding: 16px 24px 24px;
  background: var(--bg2); border-top: 1px solid var(--border);
}
.nav__mobile a { padding: 8px 0; color: var(--text-2); font-size: 15px; }
.nav__mobile .btn { margin-top: 6px; }
.nav__mobile.open { display: flex; }

/* ===================== HERO ===================== */
.hero {
  position: relative; padding: 170px 0 120px;
  text-align: center; overflow: hidden;
}
.hero__glow {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
}
.hero__glow--1 {
  width: 600px; height: 400px;
  top: -100px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(0,212,184,0.15) 0%, transparent 70%);
}
.hero__glow--2 {
  width: 400px; height: 400px;
  top: 200px; left: 10%;
  background: radial-gradient(ellipse, rgba(0,163,255,0.08) 0%, transparent 70%);
}
.hero__glow--3 {
  width: 400px; height: 400px;
  top: 200px; right: 10%;
  background: radial-gradient(ellipse, rgba(124,92,252,0.07) 0%, transparent 70%);
}
.hero__inner { position: relative; z-index: 1; }
.hero__pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,212,184,0.08);
  border: 1px solid rgba(0,212,184,0.2);
  color: var(--teal); font-size: 13px; font-weight: 600;
  padding: 7px 16px; border-radius: 100px;
  margin-bottom: 32px;
  transition: background 0.2s;
}
.hero__pill:hover { background: rgba(0,212,184,0.14); }
.pill__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.pill__arrow { font-size: 14px; }
.hero__title {
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin-bottom: 24px;
}
.hero__title-gradient {
  background: linear-gradient(135deg, var(--teal) 0%, var(--blue) 50%, var(--purple) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__sub {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--text-2); max-width: 600px;
  margin: 0 auto 40px; line-height: 1.7;
}
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.hero__disclaimer { font-size: 13px; color: var(--text-3); margin-bottom: 72px; }

/* --- Dashboard mockup --- */
.dashboard {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: var(--r-xl);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow), var(--shadow-teal);
  position: relative;
}
.dashboard__chrome {
  background: var(--bg3);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}
.chrome__dots { display: flex; gap: 7px; }
.chrome__dots span { width: 12px; height: 12px; border-radius: 50%; }
.chrome__dots span:nth-child(1) { background: #FF5F57; }
.chrome__dots span:nth-child(2) { background: #FFBD2E; }
.chrome__dots span:nth-child(3) { background: #28CA41; }
.chrome__url {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px 16px;
  font-size: 12px;
  color: var(--text-3);
  margin-left: 8px;
}
.chrome__actions { margin-left: auto; }
.dashboard__body { display: flex; min-height: 320px; }

/* Sidebar */
.dash-sidebar {
  width: 160px; flex-shrink: 0;
  background: var(--bg3);
  border-right: 1px solid var(--border);
  padding: 16px 10px;
  display: flex; flex-direction: column; gap: 3px;
}
.dash-nav-item {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 12px; border-radius: 9px;
  font-size: 13px; color: var(--text-3);
  cursor: default; transition: background 0.2s;
}
.dash-nav-item--active {
  background: rgba(0,212,184,0.1);
  color: var(--teal); font-weight: 600;
}
.dash-nav-item svg { flex-shrink: 0; }

/* Main area */
.dash-main { flex: 1; padding: 20px 24px; overflow: hidden; }
.dash-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.dash-greeting { font-size: 16px; font-weight: 700; color: var(--white); }
.dash-period { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.dash-upload-btn {
  display: flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: #fff; font-size: 12px; font-weight: 600;
  padding: 8px 14px; border-radius: 8px;
  cursor: default;
}

/* KPIs */
.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.kpi {
  border-radius: 12px; padding: 14px 16px;
  border: 1px solid var(--border);
  background: var(--bg3);
}
.kpi__label { font-size: 11px; color: var(--text-3); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.06em; }
.kpi__val { font-size: 19px; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.kpi__delta { font-size: 11px; color: var(--text-3); }
.kpi__delta.up { color: var(--green); }
.kpi__delta.down { color: var(--red); }
.kpi--green .kpi__val { color: #4ade80; }
.kpi--red   .kpi__val { color: #f87171; }
.kpi--blue  .kpi__val { color: #60a5fa; }
.kpi--orange .kpi__val { color: #fb923c; }

/* Invoice table */
.invoice-table { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.invoice-table__head {
  display: grid; grid-template-columns: 1fr 2fr 1fr 1fr;
  padding: 9px 16px;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  font-size: 11px; font-weight: 600;
  color: var(--text-3); text-transform: uppercase; letter-spacing: 0.07em;
}
.invoice-row {
  display: grid; grid-template-columns: 1fr 2fr 1fr 1fr;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px; color: var(--text-2);
  transition: background 0.15s;
}
.invoice-row:last-child { border: none; }
.invoice-row:hover { background: var(--card); }
.inv-num { color: var(--text-3); font-size: 12px; font-family: monospace; }
.inv-provider { display: flex; align-items: center; gap: 8px; }
.inv-avatar {
  width: 24px; height: 24px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.inv-amount { font-weight: 600; color: var(--white); }
.inv-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 600;
  padding: 3px 9px; border-radius: 100px;
}
.inv-badge--ok { background: rgba(16,185,129,0.12); color: #34d399; border: 1px solid rgba(16,185,129,0.2); }
.inv-badge--pending { background: rgba(245,158,11,0.12); color: #fbbf24; border: 1px solid rgba(245,158,11,0.2); }

.drag-hint {
  position: absolute; bottom: 18px; right: 20px;
  display: flex; align-items: center; gap: 8px;
  background: rgba(0,212,184,0.1);
  border: 1px dashed rgba(0,212,184,0.35);
  color: var(--teal); font-size: 12px; font-weight: 600;
  padding: 8px 16px; border-radius: 10px;
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Factura que "cae" dentro del dashboard (demo) */
.flying-invoice {
  position: absolute;
  top: -60px; left: 50%;
  z-index: 6;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.35));
  transform: translate(-50%, 0) rotate(-8deg) scale(0.9);
}
.flying-invoice.is-flying {
  animation: invoiceDrop 1.6s cubic-bezier(0.55, 0.06, 0.3, 1) forwards;
}
@keyframes invoiceDrop {
  0%   { opacity: 0; transform: translate(-50%, -40px) rotate(-12deg) scale(0.85); }
  15%  { opacity: 1; }
  70%  { opacity: 1; transform: translate(-50%, 120px) rotate(4deg) scale(1); }
  100% { opacity: 0; transform: translate(-50%, 150px) rotate(0deg) scale(0.4); }
}
/* Pulso del dashboard cuando "recibe" la factura */
.dashboard.is-processing { animation: dashPulse 0.6s ease-out; }
@keyframes dashPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,212,184,0); }
  50% { box-shadow: 0 0 0 4px rgba(0,212,184,0.25); }
}
/* Fila nueva que aparece tras procesar */
.invoice-row.is-new {
  animation: rowIn 0.5s ease-out;
  background: rgba(0,212,184,0.08);
}
@keyframes rowIn {
  0% { opacity: 0; transform: translateY(-8px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ===================== SOCIAL PROOF ===================== */
.social-proof {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.social-proof__inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }
.social-proof span { font-size: 13px; color: var(--text-3); }
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.compliance-badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--text-2);
  background: var(--card);
  border: 1px solid var(--border);
  padding: 6px 14px; border-radius: 8px;
  transition: border-color 0.2s, color 0.2s;
}
.compliance-badge:hover { border-color: rgba(0,212,184,0.3); color: var(--teal); }

/* ===================== AI SECTION ===================== */
.ai-section { padding: 120px 0; background: var(--bg2); border-top: 1px solid var(--border); }
.ai-section__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.ai-list { list-style: none; display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.ai-list li { display: flex; gap: 16px; align-items: flex-start; }
.ai-list__icon { font-size: 22px; flex-shrink: 0; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--bg3); border-radius: 12px; border: 1px solid var(--border); }
.ai-list li strong { display: block; font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.ai-list li span { font-size: 14px; color: var(--text-2); }

/* AI Card */
.ai-card {
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.ai-card__header {
  padding: 14px 18px;
  background: var(--bg4);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.ai-status { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--teal); }
.ai-pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--teal);
  animation: pulse 1.5s infinite;
}
.ai-card__body { display: flex; gap: 0; min-height: 280px; }
.ai-doc {
  width: 120px; flex-shrink: 0;
  border-right: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; position: relative; overflow: hidden;
}
.ai-doc__thumb { position: relative; z-index: 1; }
.ai-doc__scan {
  position: absolute; inset: 0;
  background: linear-gradient(transparent 0%, rgba(0,212,184,0.06) 50%, transparent 100%);
  animation: scan 2s linear infinite;
}
.scan-line {
  position: absolute; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  box-shadow: 0 0 8px var(--teal);
  animation: scanline 2s linear infinite;
}
@keyframes scan { 0% { transform: translateY(-100%); } 100% { transform: translateY(200%); } }
@keyframes scanline { 0% { top: 0; } 100% { top: 100%; } }
.ai-fields { flex: 1; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.ai-field { display: flex; align-items: center; gap: 10px; }
.ai-field__label { font-size: 11px; color: var(--text-3); width: 110px; flex-shrink: 0; font-weight: 500; }
.ai-field__val { font-size: 13px; font-weight: 600; color: var(--white); flex: 1; }
.ai-field__check { color: var(--green); font-size: 13px; font-weight: 700; }
.ai-field--done .ai-field__val { color: var(--white); }
.ai-field--typing .ai-field__val { color: var(--teal); }
.ai-typing { display: flex; align-items: center; }
.cursor {
  display: inline-block; margin-left: 1px;
  animation: blink 1s step-end infinite;
  font-weight: 300;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.ai-card__footer {
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  background: var(--bg4);
}
.ai-confirm-btn {
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: #fff; border: none;
  padding: 10px 20px; border-radius: 9px;
  font-size: 13px; font-weight: 700;
  width: 100%; cursor: default;
  opacity: 0.9;
}

/* ===================== FEATURES ===================== */
.features { padding: 120px 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 18px;
}
.feat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
  position: relative; overflow: hidden;
}
.feat-card:hover { border-color: var(--border2); background: var(--card-hover); transform: translateY(-3px); }
.feat-card--wide { grid-column: span 2; display: flex; gap: 40px; align-items: center; }
.feat-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--white); }
.feat-card p { font-size: 14px; color: var(--text-2); line-height: 1.7; }
.feat-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; flex-shrink: 0;
}
.feat-icon--teal   { background: rgba(0,212,184,0.12); color: var(--teal); border: 1px solid rgba(0,212,184,0.2); }
.feat-icon--green  { background: rgba(16,185,129,0.12); color: var(--green); border: 1px solid rgba(16,185,129,0.2); }
.feat-icon--blue   { background: rgba(0,163,255,0.12); color: var(--blue); border: 1px solid rgba(0,163,255,0.2); }
.feat-icon--purple { background: rgba(124,92,252,0.12); color: var(--purple); border: 1px solid rgba(124,92,252,0.2); }
.feat-icon--orange { background: rgba(255,112,67,0.12); color: var(--orange); border: 1px solid rgba(255,112,67,0.2); }

.feat-card__visual { flex-shrink: 0; }
.feat-card__visual--drag {}
.drop-zone {
  border: 2px dashed rgba(0,212,184,0.3);
  border-radius: 16px; padding: 32px 40px;
  text-align: center;
  background: rgba(0,212,184,0.04);
  transition: border-color 0.2s, background 0.2s;
}
.drop-zone:hover { border-color: var(--teal); background: rgba(0,212,184,0.08); }
.drop-zone__icon { color: var(--teal); margin-bottom: 12px; display: flex; justify-content: center; }
.drop-zone p { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 6px; }
.drop-zone span { font-size: 12px; color: var(--text-3); }
.mini-pills { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.mini-pill {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600;
  padding: 7px 14px; border-radius: 8px;
}
.mini-pill::before { content: ''; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.mini-pill--green { background: rgba(16,185,129,0.1); color: #34d399; }
.mini-pill--green::before { background: #34d399; }
.mini-pill--orange { background: rgba(245,158,11,0.1); color: #fbbf24; }
.mini-pill--orange::before { background: #fbbf24; }
.mini-pill--red { background: rgba(239,68,68,0.1); color: #f87171; }
.mini-pill--red::before { background: #f87171; }

/* ===================== VERIFACTU ===================== */
.verifactu {
  padding: 120px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.verifactu__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.vf-card {
  background: var(--bg3); border: 1px solid var(--border2);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow);
}
.vf-card__header {
  padding: 14px 20px; background: var(--bg4);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.vf-logo { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--teal); }
.vf-live { font-size: 11px; font-weight: 700; color: var(--green); display: flex; align-items: center; gap: 4px; animation: pulse 2s infinite; }
.vf-rows { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.vf-row { display: flex; justify-content: space-between; align-items: center; }
.vf-row__label { font-size: 12px; color: var(--text-3); }
.vf-row__val { font-size: 13px; font-weight: 600; color: var(--white); }
.vf-hash { font-family: monospace; color: var(--teal); font-size: 12px; }
.vf-status {
  margin: 0 20px 20px;
  display: flex; align-items: center; gap: 10px;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.2);
  padding: 12px 16px; border-radius: 10px;
  font-size: 13px; font-weight: 600; color: #34d399;
}
.vf-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.vf-list li { display: flex; gap: 12px; font-size: 15px; color: var(--text-2); }
.vf-list li span { color: var(--teal); font-weight: 700; flex-shrink: 0; }

/* ===================== PRICING ===================== */
.pricing { padding: 120px 0; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; align-items: start;
  margin-top: 0;
}
.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 32px;
  position: relative; transition: border-color 0.25s;
}
.price-card--featured {
  background: linear-gradient(160deg, rgba(0,212,184,0.07) 0%, var(--card) 80%);
  border-color: rgba(0,212,184,0.35);
  box-shadow: 0 0 50px rgba(0,212,184,0.1);
}
.price-card__badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 18px; border-radius: 100px;
  white-space: nowrap;
}
.price-card__top { margin-bottom: 28px; }
.price-card__name { font-size: 16px; font-weight: 700; color: var(--text-2); margin-bottom: 14px; }
.price-card__price { font-size: 44px; font-weight: 900; letter-spacing: -0.04em; color: var(--white); margin-bottom: 4px; }
.price-card__price span { font-size: 18px; font-weight: 500; color: var(--text-2); }
.price-card__price .price-card__plus { font-size: 30px; font-weight: 800; color: var(--white); }
.price-card__sub { font-size: 12px; color: var(--text-3); }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.price-features li { font-size: 14px; display: flex; align-items: center; gap: 9px; }
.price-features li.ok { color: var(--text); }
.price-features li.ok::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; }
.price-features li.no { color: var(--text-3); }
.price-features li.no::before { content: '✗'; color: var(--text-3); flex-shrink: 0; }

/* ---- Plan único ---- */
.pricing-single { max-width: 880px; margin: 56px auto 0; }
.price-card--single { padding: 44px 48px; }
.price-single__layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.price-single__left {
  border-right: 1px solid var(--border);
  padding-right: 44px;
}
.price-single__left .price-card__price { font-size: 56px; }
.price-single__title {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text-3);
  margin-bottom: 18px;
}
.price-features--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin-bottom: 0;
}
@media (max-width: 720px) {
  .price-card--single { padding: 32px 24px; }
  .price-single__layout { grid-template-columns: 1fr; gap: 32px; }
  .price-single__left { border-right: none; border-bottom: 1px solid var(--border); padding-right: 0; padding-bottom: 32px; }
  .price-features--grid { grid-template-columns: 1fr; }
}

/* ===================== FAQ ===================== */
.faq { padding: 100px 0; background: var(--bg2); border-top: 1px solid var(--border); }
.faq__inner {}
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; cursor: pointer;
  font-size: 16px; font-weight: 600; color: var(--text);
  list-style: none; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 22px; font-weight: 300;
  color: var(--text-3); flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  font-size: 15px; color: var(--text-2); line-height: 1.75;
  padding-bottom: 20px; margin-top: -4px;
}

/* ===================== FINAL CTA ===================== */
.final-cta {
  padding: 140px 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.final-cta__glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,212,184,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.final-cta__inner { position: relative; z-index: 1; }
.final-cta__badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; color: var(--yellow);
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.2);
  padding: 6px 16px; border-radius: 100px;
  margin-bottom: 28px;
}
.final-cta__title {
  font-size: clamp(44px, 8vw, 88px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin-bottom: 20px;
}
.final-cta__sub { font-size: 20px; color: var(--text-2); margin-bottom: 48px; }
.final-cta__platforms {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; flex-wrap: wrap; margin-top: 28px;
}
.platform-btn {
  display: flex; align-items: center; gap: 9px;
  background: var(--card);
  border: 1px solid var(--border2);
  color: var(--text); font-size: 13px; font-weight: 600;
  padding: 11px 20px; border-radius: 10px;
  transition: border-color 0.2s, background 0.2s;
}
.platform-btn:hover { background: var(--card-hover); border-color: rgba(255,255,255,0.2); }
.platform-btn--soon { color: var(--text-3); cursor: default; }
.platform-btn--soon:hover { background: var(--card); border-color: var(--border2); }

/* ===================== FOOTER ===================== */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
}
.footer__inner {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 80px; padding-bottom: 64px;
}
.footer__brand p { font-size: 14px; color: var(--text-3); margin-top: 14px; line-height: 1.65; }
.footer__nav {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h5 {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-3); margin-bottom: 6px;
}
.footer__col a { font-size: 14px; color: var(--text-3); transition: color 0.2s; }
.footer__col a:hover { color: var(--white); }
.footer__soon { font-size: 14px; color: var(--text-3); opacity: 0.5; }
.footer__bottom {
  border-top: 1px solid var(--border); padding: 22px 0;
}
.footer__bottom .container {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--text-3);
}

/* ===================== VIDEO DEMO ===================== */
.video-demo { padding: 100px 0; }
.video-frame {
  max-width: 900px; margin: 48px auto 0;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
.video-frame__chrome {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.video-frame__chrome > span {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--border);
}
.video-frame__chrome > span:nth-child(1) { background: #ff5f57; }
.video-frame__chrome > span:nth-child(2) { background: #febc2e; }
.video-frame__chrome > span:nth-child(3) { background: #28c840; }
.video-frame__url {
  margin-left: 12px;
  font-size: 12px; color: var(--text-3);
  background: var(--bg3); border: 1px solid var(--border);
  padding: 4px 14px; border-radius: 100px;
}
.video-player { position: relative; aspect-ratio: 16 / 9; background: #0a1120; }
.video-player video { width: 100%; height: 100%; display: block; object-fit: cover; }
.video-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(160deg, #0d1a30 0%, #0a1120 100%);
  text-align: center;
}
.video-placeholder__play {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0,212,184,0.4);
  margin-bottom: 6px;
}
.video-placeholder__text { font-size: 16px; font-weight: 700; color: var(--white); }
.video-placeholder__sub { font-size: 13px; color: var(--text-3); }

/* ===================== FISCALISTAS (EXPERTS) ===================== */
.experts { padding: 110px 0; border-top: 1px solid var(--border); }
.experts__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.experts__list { list-style: none; display: flex; flex-direction: column; gap: 22px; margin: 30px 0; }
.experts__list li { display: flex; gap: 16px; align-items: flex-start; }
.experts__icon {
  font-size: 20px; flex-shrink: 0; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg3); border-radius: 12px; border: 1px solid var(--border);
}
.experts__list li strong { display: block; font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.experts__list li span { font-size: 14px; color: var(--text-2); }
.experts__card {
  background: linear-gradient(160deg, rgba(0,212,184,0.06) 0%, var(--card) 70%);
  border: 1px solid rgba(0,212,184,0.2);
  border-radius: var(--r-lg); padding: 26px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.experts__card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.experts__avatar {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: #04201c;
}
.experts__name { font-size: 14px; font-weight: 700; color: var(--white); }
.experts__role { font-size: 12px; color: var(--text-3); }
.experts__live { margin-left: auto; font-size: 11px; font-weight: 600; color: #34d399; white-space: nowrap; }
.experts__steps { display: flex; flex-direction: column; gap: 12px; }
.experts__step {
  display: flex; align-items: center; gap: 11px;
  font-size: 13.5px; color: var(--text-3);
}
.experts__step span {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
}
.experts__step.done { color: var(--text); }
.experts__step.done span { background: rgba(0,212,184,0.15); border-color: var(--teal); color: var(--teal); }
.experts__step.doing { color: var(--white); }
.experts__step.doing span {
  border-color: var(--teal);
  border-right-color: transparent;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===================== SOLICITAR ACCESO (FORM) ===================== */
.access { padding: 110px 0; background: var(--bg2); border-top: 1px solid var(--border); }
.access__inner {
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: 72px; align-items: center;
}
.access__points { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.access__points li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text); }
.access__points li span { color: var(--teal); font-weight: 700; }
.access__form-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
}
.access-form__row { margin-bottom: 16px; }
.access-form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.access-form label {
  display: block;
  font-size: 13px; font-weight: 600; color: var(--text-2);
}
.access-form label .opt { color: var(--text-3); font-weight: 400; }
.access-form input,
.access-form select,
.access-form textarea {
  width: 100%; margin-top: 7px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px; color: var(--white);
  font-family: inherit;
  transition: border-color 0.2s;
}
.access-form input::placeholder,
.access-form textarea::placeholder { color: var(--text-3); }
.access-form input:focus,
.access-form select:focus,
.access-form textarea:focus { outline: none; border-color: var(--teal); }
.access-form textarea { resize: vertical; }
.access-form button { margin-top: 8px; }
.access-form__legal { font-size: 11.5px; color: var(--text-3); margin-top: 14px; text-align: center; }
.access-form__msg { font-size: 14px; font-weight: 600; margin-top: 14px; text-align: center; }
.access-form__msg.ok { color: #34d399; }
.access-form__msg.err { color: #f87171; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 960px) {
  .experts__inner,
  .access__inner { grid-template-columns: 1fr; gap: 48px; }
  .ai-section__inner,
  .verifactu__inner { grid-template-columns: 1fr; gap: 48px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-card--wide { grid-column: span 2; flex-direction: column; gap: 24px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav__links, .nav__actions { display: none; }
  .burger { display: flex; }
  .hero { padding: 130px 0 80px; }
  .dashboard__body { flex-direction: column; }
  .dash-sidebar { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .feat-card--wide { grid-column: span 1; }
  .invoice-table__head,
  .invoice-row { grid-template-columns: 1fr 1.5fr 1fr; }
  .invoice-table__head span:nth-child(3),
  .invoice-row span:nth-child(3) { display: none; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .final-cta__platforms { flex-direction: column; align-items: stretch; max-width: 320px; margin: 28px auto 0; }
  .access-form__row--2 { grid-template-columns: 1fr; }
  .access__form-wrap { padding: 24px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 38px; }
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .footer__nav { grid-template-columns: 1fr; }
  .drag-hint { display: none; }
  .invoice-table__head span:last-child,
  .invoice-row span:last-child { display: none; }
  .invoice-table__head,
  .invoice-row { grid-template-columns: 1.2fr 2fr; }
}

/* ===================== ANIMATIONS ===================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
