/* ============================================
   RutaVenta — Estilos principales
   ============================================ */

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

:root {
  --indigo:    #6366F1;
  --indigo-l:  #818CF8;
  --indigo-d:  #4F46E5;
  --sky:       #0EA5E9;
  --emerald:   #10B981;
  --amber:     #F59E0B;
  --pink:      #EC4899;
  --violet:    #8B5CF6;

  --bg:        #0B0F1A;
  --bg-2:      #111827;
  --bg-3:      #1A2235;
  --border:    rgba(255,255,255,.08);
  --border-m:  rgba(255,255,255,.12);
  --text:      #F1F5F9;
  --text-2:    #94A3B8;
  --text-3:    #64748B;

  --radius:    12px;
  --radius-lg: 20px;
  --shadow:    0 4px 24px rgba(0,0,0,.4);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.5);

  --font-sans: 'Inter', system-ui, sans-serif;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

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

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

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

.gradient-text {
  background: linear-gradient(135deg, var(--indigo-l), var(--sky));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--indigo-l);
  background: rgba(99,102,241,.12);
  border: 1px solid rgba(99,102,241,.25);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-subtitle {
  color: var(--text-2);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
  border: none;
}
.btn--primary {
  background: linear-gradient(135deg, var(--indigo), var(--indigo-d));
  color: #fff;
  box-shadow: 0 4px 20px rgba(99,102,241,.4);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99,102,241,.55);
}
.btn--ghost {
  color: var(--text-2);
  background: transparent;
}
.btn--ghost:hover { color: var(--text); background: var(--border); }
.btn--outline {
  background: transparent;
  border: 1px solid var(--border-m);
  color: var(--text);
}
.btn--outline:hover { border-color: var(--indigo-l); color: var(--indigo-l); background: rgba(99,102,241,.06); }
.btn--lg { padding: 15px 32px; font-size: 1rem; border-radius: 14px; }
.btn--full { width: 100%; justify-content: center; }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11,15,26,.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
.nav.scrolled { background: rgba(11,15,26,.95); }
.nav__inner {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 40px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -.02em;
}
.nav__links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.nav__links a {
  color: var(--text-2);
  font-size: .9rem;
  font-weight: 500;
  transition: color .2s;
}
.nav__links a:hover { color: var(--text); }
.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: all .25s;
}
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border);
}
.nav__mobile.open { display: flex; }
.nav__mobile a { padding: 8px 0; color: var(--text-2); font-weight: 500; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding-top: 160px;
  padding-bottom: 0;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .35;
}
.hero__orb--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--indigo), transparent 70%);
  top: -200px; left: -200px;
}
.hero__orb--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--sky), transparent 70%);
  top: -100px; right: -150px;
  opacity: .2;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 100%);
}
.hero__inner {
  position: relative;
  text-align: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-2);
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border-m);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--emerald);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 22px;
}
.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-2);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 36px;
}
.hero__ctas {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.hero__stats {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 40px;
  margin-bottom: 60px;
}
.stat { text-align: center; }
.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.stat__label {
  font-size: .8rem;
  color: var(--text-3);
  font-weight: 500;
}
.stat__divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ---- MOCKUP DASHBOARD ---- */
.hero__mockup {
  position: relative;
}
.mockup-window {
  background: var(--bg-2);
  border: 1px solid var(--border-m);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.05);
  max-width: 900px;
  margin: 0 auto;
}
.mockup-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
}
.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.dot.red    { background: #FF5F57; }
.dot.yellow { background: #FFBD2E; }
.dot.green  { background: #28C840; }
.mockup-url {
  margin: 0 auto;
  font-size: .75rem;
  color: var(--text-3);
  background: rgba(255,255,255,.06);
  padding: 3px 12px;
  border-radius: 6px;
}
.mockup-body {
  display: flex;
  height: 340px;
}
.mockup-sidebar {
  width: 56px;
  background: rgba(255,255,255,.03);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0;
  gap: 4px;
}
.sidebar-logo {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--indigo), var(--sky));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.sidebar-item {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  cursor: pointer;
  transition: all .2s;
}
.sidebar-item.active { background: rgba(99,102,241,.2); color: var(--indigo-l); }
.mockup-main {
  flex: 1;
  padding: 20px 24px;
  overflow: hidden;
}
.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.mockup-title { font-size: .95rem; font-weight: 600; }
.mockup-date  { font-size: .78rem; color: var(--text-3); }
.mockup-kpis {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.kpi {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  overflow: hidden;
}
.kpi::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}
.kpi--blue::before  { background: var(--sky); }
.kpi--purple::before { background: var(--indigo); }
.kpi--green::before  { background: var(--emerald); }
.kpi-label { font-size: .7rem; color: var(--text-3); }
.kpi-value { font-size: 1.4rem; font-weight: 700; font-family: var(--font-display); line-height: 1.2; }
.kpi-trend { font-size: .7rem; font-weight: 600; }
.kpi-trend.up { color: var(--emerald); }
.mockup-chart { background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.chart-label { font-size: .72rem; color: var(--text-3); margin-bottom: 12px; }
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 72px;
}
.bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
}
.bar::before {
  content: '';
  width: 100%;
  height: var(--h);
  background: rgba(99,102,241,.3);
  border-radius: 4px 4px 0 0;
  transition: height .3s;
}
.bar--active::before { background: var(--indigo); }
.bar span { font-size: .6rem; color: var(--text-3); }

/* ============================================
   LOGOS
   ============================================ */
.logos {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.logos__label {
  text-align: center;
  font-size: .8rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
  margin-bottom: 28px;
}
.logos__track { overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent); }
.logos__row {
  display: flex;
  gap: 16px;
  animation: marquee 28s linear infinite;
  width: max-content;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.logo-pill {
  white-space: nowrap;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-3);
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 10px 22px;
  border-radius: 999px;
}

/* ============================================
   FEATURES
   ============================================ */
.features {
  padding: 100px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color .25s, transform .25s;
}
.feature-card:hover {
  border-color: var(--border-m);
  transform: translateY(-3px);
}
.feature-card--wide { grid-column: span 2; }
.feature-card__icon {
  width: 48px; height: 48px;
  background: color-mix(in srgb, var(--c) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c);
  margin-bottom: 18px;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.feature-card p { color: var(--text-2); font-size: .9rem; line-height: 1.65; }
.feature-list {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-list li {
  font-size: .85rem;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 8px;
}
.feature-list li::before {
  content: '✓';
  color: var(--emerald);
  font-weight: 700;
  flex-shrink: 0;
}
.integration-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.int-badge {
  font-size: .78rem;
  font-weight: 600;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--border-m);
  padding: 4px 12px;
  border-radius: 6px;
  color: var(--text-2);
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how {
  padding: 100px 0 0;
  overflow: hidden;
}
.steps {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto 80px;
}
.step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
}
.step__number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--indigo-l), var(--sky));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 14px;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.step p { color: var(--text-2); font-size: .88rem; line-height: 1.65; }
.step__connector {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, var(--indigo), var(--sky));
  flex-shrink: 0;
  opacity: .4;
}

/* ---- PHONES ---- */
.phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  padding-top: 40px;
  height: 560px;
}
.phone {
  width: 260px;
  background: var(--bg-3);
  border: 1px solid var(--border-m);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  flex-shrink: 0;
}
.phone--front {
  z-index: 2;
  transform: translateY(0) scale(1.04);
  box-shadow: 0 30px 80px rgba(0,0,0,.7), 0 0 0 1px rgba(99,102,241,.3);
  border-color: rgba(99,102,241,.3);
}
.phone--back {
  transform: translateX(60px) translateY(30px) scale(.95);
  z-index: 1;
  opacity: .85;
}
.phone-screen { padding: 16px; height: 100%; }
.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: .82rem;
  font-weight: 600;
}
.phone-time { color: var(--text-3); font-size: .75rem; }
.client-list { display: flex; flex-direction: column; gap: 10px; }
.client-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.04);
  border-radius: 10px;
  padding: 10px 12px;
}
.client-avatar {
  width: 34px; height: 34px;
  background: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.client-avatar.lg { width: 44px; height: 44px; font-size: .9rem; }
.client-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.client-name { font-size: .78rem; font-weight: 600; }
.client-status { font-size: .68rem; font-weight: 600; color: var(--text-3); }
.client-status.visited { color: var(--emerald); }
.client-status.pending { color: var(--amber); }
.client-amount { font-size: .78rem; font-weight: 700; color: var(--text-2); }

.order-client {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  background: rgba(255,255,255,.04);
  border-radius: 10px;
  padding: 10px 12px;
}
.order-client-name { display: block; font-size: .82rem; font-weight: 600; }
.order-client-addr { font-size: .7rem; color: var(--text-3); }
.order-items { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.order-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.03);
  border-radius: 8px;
  padding: 8px 10px;
}
.order-item-name { flex: 1; font-size: .72rem; font-weight: 500; }
.qty-control {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 600;
}
.qty-btn {
  width: 20px; height: 20px;
  background: rgba(99,102,241,.2);
  border: none;
  border-radius: 4px;
  color: var(--indigo-l);
  font-size: .8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.order-item-price { font-size: .7rem; color: var(--text-2); white-space: nowrap; }
.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: rgba(99,102,241,.1);
  border-radius: 10px;
  margin-bottom: 12px;
  font-size: .82rem;
  font-weight: 600;
}
.total-amount { color: var(--indigo-l); font-size: 1rem; font-weight: 700; }
.order-confirm-btn {
  width: 100%;
  padding: 11px;
  background: linear-gradient(135deg, var(--indigo), var(--indigo-d));
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
}

/* ============================================
   PRICING
   ============================================ */
.pricing {
  padding: 100px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.pricing__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 52px;
}
.toggle-label { font-size: .9rem; font-weight: 500; color: var(--text-2); }
.toggle {
  position: relative;
  width: 48px; height: 26px;
  display: inline-block;
}
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle__slider {
  position: absolute;
  inset: 0;
  background: var(--bg-3);
  border: 1px solid var(--border-m);
  border-radius: 999px;
  cursor: pointer;
  transition: background .3s;
}
.toggle__slider::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  left: 3px; top: 3px;
  background: var(--text-2);
  border-radius: 50%;
  transition: transform .3s, background .3s;
}
.toggle input:checked + .toggle__slider { background: var(--indigo); border-color: var(--indigo); }
.toggle input:checked + .toggle__slider::before { transform: translateX(22px); background: #fff; }
.discount-badge {
  background: linear-gradient(135deg, var(--emerald), #059669);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 4px;
}
.pricing__cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: border-color .25s;
}
.pricing-card:hover { border-color: var(--border-m); }
.pricing-card--featured {
  border-color: var(--indigo);
  background: linear-gradient(160deg, rgba(99,102,241,.08), var(--bg-3) 60%);
  box-shadow: 0 0 0 1px var(--indigo), var(--shadow-lg);
}
.plan-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--indigo), var(--indigo-d));
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.pricing-card__header { margin-bottom: 28px; }
.plan-name {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-2);
  margin-bottom: 12px;
}
.plan-price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 10px;
}
.price-currency { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.price-amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}
.price-period { font-size: .85rem; color: var(--text-3); margin-bottom: 4px; }
.plan-desc { font-size: .85rem; color: var(--text-2); line-height: 1.6; }
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 28px;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  color: var(--text);
}
.plan-features li svg { flex-shrink: 0; }
.plan-features li.disabled { color: var(--text-3); }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color .25s, transform .25s;
}
.testimonial-card:hover { border-color: var(--border-m); transform: translateY(-3px); }
.stars { color: var(--amber); font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p { color: var(--text-2); font-size: .88rem; line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.author-name { display: block; font-size: .88rem; font-weight: 600; }
.author-role { display: block; font-size: .75rem; color: var(--text-3); margin-top: 2px; }

/* ============================================
   FAQ
   ============================================ */
.faq {
  padding: 100px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.faq__list {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  background: none;
  border: none;
  color: var(--text);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: color .2s;
}
.faq-question:hover { color: var(--indigo-l); }
.faq-icon { flex-shrink: 0; transition: transform .25s; }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p {
  color: var(--text-2);
  font-size: .88rem;
  line-height: 1.7;
  padding-bottom: 20px;
}

/* ============================================
   CTA FINAL
   ============================================ */
.cta-final {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.cta-final__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .3;
}
.cta-orb--1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--indigo), transparent 70%);
  top: -100px; left: -100px;
}
.cta-orb--2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, var(--sky), transparent 70%);
  bottom: -100px; right: -100px;
  opacity: .2;
}
.cta-final__inner {
  position: relative;
  text-align: center;
}
.cta-final__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.2;
}
.cta-final__subtitle {
  color: var(--text-2);
  font-size: 1rem;
  margin-bottom: 44px;
}
.cta-form { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 700px; margin: 0 auto; }
.form-row {
  display: flex;
  gap: 12px;
  width: 100%;
}
.form-row input {
  flex: 1;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border-m);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: var(--text);
  font-size: .9rem;
  font-family: var(--font-sans);
  transition: border-color .2s, background .2s;
  outline: none;
  min-width: 0;
}
.form-row input::placeholder { color: var(--text-3); }
.form-row input:focus { border-color: var(--indigo); background: rgba(99,102,241,.06); }
.form-disclaimer { font-size: .78rem; color: var(--text-3); }
.form-disclaimer a { color: var(--indigo-l); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding-top: 64px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3,1fr);
  gap: 48px;
  padding-bottom: 48px;
}
.footer__brand p {
  font-size: .85rem;
  color: var(--text-3);
  line-height: 1.65;
  margin: 16px 0 20px;
  max-width: 260px;
}
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 34px; height: 34px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-3);
  transition: all .2s;
}
.social-links a:hover { border-color: var(--indigo-l); color: var(--indigo-l); }
.footer__col h4 {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-2);
  margin-bottom: 16px;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col a {
  font-size: .85rem;
  color: var(--text-3);
  transition: color .2s;
}
.footer__col a:hover { color: var(--text); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: var(--text-3);
}
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { color: var(--text-3); transition: color .2s; }
.footer__legal a:hover { color: var(--text); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .features__grid { grid-template-columns: repeat(2,1fr); }
  .feature-card--wide { grid-column: span 2; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .nav__links, .nav__actions { display: none; }
  .nav__burger { display: flex; }

  .hero__stats { flex-direction: column; gap: 16px; padding: 24px; }
  .stat__divider { width: 40px; height: 1px; }

  .mockup-body { height: 240px; }
  .mockup-kpis { grid-template-columns: repeat(3,1fr); }

  .features__grid { grid-template-columns: 1fr; }
  .feature-card--wide { grid-column: span 1; }

  .steps { flex-direction: column; gap: 32px; }
  .step__connector { width: 1px; height: 32px; }

  .phones { height: auto; flex-direction: column; align-items: center; padding-top: 20px; padding-bottom: 40px; }
  .phone { width: 240px; }
  .phone--back { transform: none; margin-bottom: 20px; }
  .phone--front { transform: none; }

  .pricing__cards { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }

  .form-row { flex-direction: column; }

  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }

  .pricing-card--featured { order: -1; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2.2rem; }
  .hero__stats { padding: 18px 20px; }
  .hero__ctas { flex-direction: column; align-items: center; }
}

/* ============================================
   ANIMATIONS on scroll
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
