/* =============================================
   [NOMBRE] Landing — style.css
   Dark premium fintech theme
   ============================================= */

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ---- Variables ---- */
:root {
  --bg:          #070706;
  --surface:     #0e0e0d;
  --surface2:    #161614;
  --surface3:    #1e1e1b;
  --border:      rgba(255,255,255,0.07);
  --border2:     rgba(255,255,255,0.12);
  --ink:         #eeebe5;
  --ink2:        #9b9892;
  --ink3:        #5a5855;
  --green:       #f0ede8;
  --green2:      #c8c4bc;
  --green-dim:   rgba(240,237,232,0.07);
  --green-glow:  rgba(240,237,232,0.05);
  --blue:        #4a7fc1;
  --blue-glow:   rgba(77,143,216,0.12);
  --font-display: 'Playfair Display', serif;
  --font-body:   'DM Sans', sans-serif;
  --radius:      12px;
  --radius-lg:   20px;
  --max-w:       1160px;
  --section-pad: 120px;
}

/* ---- Base ---- */
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: var(--section-pad) 0;
}

/* ---- Background finance texture ---- */
.bg-finance {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bg-finance svg {
  width: 100%;
  height: 100%;
}
/* Atmospheric line — drift */
.atm-line {
  transform-box: fill-box;
  transform-origin: center center;
  animation: atmDrift 11s ease-in-out infinite;
}
.atm-halo {
  animation: atmGlow 7s ease-in-out infinite;
}
@keyframes atmDrift {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-62px); }
  100% { transform: translateY(0px); }
}
@keyframes atmGlow {
  0%   { opacity: 0.07; }
  50%  { opacity: 0.18; }
  100% { opacity: 0.07; }
}

/* Finance terms — magnet pull: fly in visible, merge into line, absorbed */
.atm-label {
  opacity: 0;
}
.atm-from-above {
  animation: magnetFromAbove 2s ease-in-out both;
}
.atm-from-below {
  animation: magnetFromBelow 2s ease-in-out both;
}
@keyframes magnetFromAbove {
  0%   { opacity: 0;    transform: translateY(-52px); }
  30%  { opacity: 0.45; transform: translateY(-10px); }
  62%  { opacity: 0.38; transform: translateY(0);     }
  100% { opacity: 0.22; transform: translateY(0);     }
}
@keyframes magnetFromBelow {
  0%   { opacity: 0;    transform: translateY(52px);  }
  30%  { opacity: 0.45; transform: translateY(10px);  }
  62%  { opacity: 0.38; transform: translateY(0);     }
  100% { opacity: 0.22; transform: translateY(0);     }
}

/* Flash layer — triggered by JS */
.atm-flash-line {
  opacity: 0;
  transition: opacity 0.08s ease-in;
}

/* prefers-reduced-motion: global block at end of file handles animations */

/* Ensure all page content renders above the fixed background */
body > nav,
body > main {
  position: relative;
  z-index: 1;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #070706;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--green2);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(255,255,255,0.12);
}
.btn-primary.btn-sm {
  font-size: 13px;
  padding: 9px 18px;
}
.btn-primary.btn-full {
  width: 100%;
  justify-content: center;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: var(--radius);
  margin-top: 8px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--ink2);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  padding: 13px 20px;
  border-radius: 100px;
  border: 1px solid var(--border2);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover {
  color: var(--ink);
  border-color: rgba(255,255,255,0.25);
}

/* ---- Section labels & titles ---- */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 24px;
}
.section-title em {
  font-style: italic;
  color: var(--green);
}
.section-sub {
  font-size: 17px;
  color: var(--ink2);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 64px;
}

/* =============================================
   NAV
   ============================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7,7,6,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo-dot {
  color: #1d5fa8;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ink2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links-cta { display: none; }

/* Hamburger button */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.nav-burger span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}
/* X state */
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 32px 80px;
  overflow: hidden;
}

/* Radial glow behind hero */
.hero-glow {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center,
    rgba(77,143,216,0.08) 0%,
    rgba(77,143,216,0.02) 40%,
    transparent 70%
  );
  pointer-events: none;
}

/* Subtle grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--green);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 36px;
  letter-spacing: 0.01em;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4d8fd8;
  box-shadow: 0 0 8px rgba(77,143,216,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(77,143,216,0.6); }
  50% { opacity: 0.6; box-shadow: 0 0 16px rgba(77,143,216,0.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 28px;
}
.hero-title em {
  font-style: italic;
  color: var(--green);
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--ink2);
  line-height: 1.7;
  margin-bottom: 44px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--ink3);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--green), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* =============================================
   TRUST BAR
   ============================================= */
.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
}
.trust-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 14px;
}
.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-logo {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink3);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.trust-logo:hover { color: var(--ink2); }
.trust-sep {
  color: var(--ink3);
  opacity: 0.4;
}

/* =============================================
   PROBLEM
   ============================================= */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.problem-card {
  background: var(--surface);
  padding: 44px 36px;
  transition: background 0.3s;
}
.problem-card:hover {
  background: var(--surface2);
}
.problem-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 20px;
}
.problem-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.3;
}
.problem-card p {
  font-size: 15px;
  color: var(--ink2);
  line-height: 1.7;
}

/* =============================================
   PRODUCT MOCKUP
   ============================================= */
.product {
  text-align: center;
}
.product .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.mockup-wrap {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}
.mockup-glow {
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 160px;
  background: radial-gradient(ellipse, rgba(77,143,216,0.18), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.mockup {
  position: relative;
  z-index: 1;
  background: #0c0c0b;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.10);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 30px 80px rgba(0,0,0,0.7),
    0 60px 120px rgba(0,0,0,0.5);
  transform: perspective(1400px) rotateX(4deg);
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.mockup:hover {
  transform: perspective(1400px) rotateX(0deg);
}

/* Browser chrome */
.mockup-chrome {
  background: #131311;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.chrome-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.chrome-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.chrome-dots span:nth-child(1) { background: #ff5f57; }
.chrome-dots span:nth-child(2) { background: #febc2e; }
.chrome-dots span:nth-child(3) { background: #28c840; }
.chrome-bar {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 11px;
  color: var(--ink3);
  text-align: center;
  font-family: var(--font-body);
}

/* Mockup body */
.mockup-body {
  padding: 0;
}
.mock-nav {
  background: #0f0f0e;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.mock-logo {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  background: var(--green-dim);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mock-nav-links {
  display: flex;
  gap: 20px;
  font-size: 11px;
  color: var(--ink3);
  font-family: var(--font-body);
}
.mock-nav-active {
  color: var(--green);
  font-weight: 600;
}
.mock-content {
  padding: 16px 20px 20px;
  background: var(--bg);
}
.mock-kpis {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.mock-kpi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.mock-kpi-green {
  border-color: rgba(77,143,216,0.2);
  background: rgba(77,143,216,0.06);
}
.mock-kpi-good {
  border-color: rgba(255,255,255,0.12);
}
.mock-kpi-l {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink3);
  font-family: var(--font-body);
}
.mock-kpi-v {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  font-family: var(--font-body);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.mock-kpi-green .mock-kpi-v { color: #7ab4e8; }
.mock-kpi-s {
  font-size: 9px;
  color: var(--ink3);
  font-family: var(--font-body);
}
.mock-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mock-chart {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px 10px;
}
.mock-chart-title {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 8px;
  font-family: var(--font-body);
}
.mock-svg {
  width: 100%;
  height: 70px;
  display: block;
}
/* Carousel */
.mockup-carousel {
  max-width: 960px;
  margin: 24px auto 0;
  position: relative;
}
.mockup-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 6px 6px 10px;
  padding-right: calc(12% + 20px);
}
.mockup-track::-webkit-scrollbar { display: none; }
.mockup-slide {
  flex: 0 0 88%;
  scroll-snap-align: start;
  transform: none;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 24px 64px rgba(0,0,0,0.65);
}

/* Dots — label style */
.mockup-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
}
.mockup-dot {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: rgba(255,255,255,0.18);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}
.mockup-dot:hover { background: rgba(255,255,255,0.32); }
.mockup-dot-active {
  width: 24px;
  background: rgba(255,255,255,0.55);
}

/* Nav active pill */
.mock-nav-pill {
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 2px 7px;
}

/* Alert bar */
.mock-alert {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(224,117,117,0.08);
  border: 1px solid rgba(224,117,117,0.2);
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 9px;
  color: #e07575;
  margin-bottom: 10px;
  font-family: var(--font-body);
}
.mock-alert strong { color: #e07575; font-weight: 700; }

/* 3-col chart grid */
.mock-charts-3 { grid-template-columns: repeat(3, 1fr) !important; }

/* Legend */
.mock-legend {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 7.5px;
  color: var(--ink3);
  margin-top: 4px;
  font-family: var(--font-body);
}
.mock-legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Distribution bars */
.mock-dist { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.mock-dist-row {
  display: grid;
  grid-template-columns: 48px 26px 1fr;
  align-items: center;
  gap: 6px;
  font-size: 8.5px;
  color: var(--ink2);
  font-family: var(--font-body);
}
.mock-dist-pct { color: var(--ink); font-weight: 600; text-align: right; }
.mock-dist-bar-wrap { background: rgba(255,255,255,0.06); border-radius: 2px; height: 4px; overflow: hidden; }
.mock-dist-bar { height: 100%; border-radius: 2px; }
.mock-dist-total {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 6px;
  border-top: 1px solid var(--border);
  font-family: var(--font-body);
}
.mock-dist-total span { font-size: 7.5px; color: var(--ink3); text-transform: uppercase; letter-spacing: 0.06em; }
.mock-dist-total strong { font-size: 14px; color: var(--ink); font-variant-numeric: tabular-nums; }

/* Valoración slide */
.mock-val-page-title {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 2px;
}
.mock-val-page-sub {
  font-size: 8.5px;
  color: var(--ink3);
  margin-bottom: 10px;
  font-family: var(--font-body);
}
.mock-val-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 10px;
}
.mock-val-big {
  font-size: 20px;
  font-weight: 700;
  color: #5ab585;
  font-variant-numeric: tabular-nums;
  margin: 4px 0;
}
.mock-val-weights { font-size: 8px; color: var(--ink3); font-family: var(--font-body); }
.mock-val-input-row {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 5px;
  padding: 5px 8px;
  margin: 6px 0 4px;
  width: fit-content;
}
.mock-val-input { font-size: 12px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.mock-val-input-unit { font-size: 10px; color: var(--ink3); }
.mock-val-dilution { font-size: 8.5px; color: #5ab585; font-family: var(--font-body); }
.mock-val-dilution strong { font-weight: 700; }

/* Green diagnosis variant */
.mock-diag-green {
  border-color: rgba(90,181,133,0.2);
  border-left-color: #5ab585;
}

/* Period toggle */
.mock-period-toggle {
  display: flex;
  gap: 2px;
  margin-bottom: 10px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px;
  width: fit-content;
  font-family: var(--font-body);
}
.mock-period-active, .mock-period {
  font-size: 8.5px;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: default;
}
.mock-period-active {
  background: var(--surface3);
  color: var(--ink);
  font-weight: 600;
}
.mock-period { color: var(--ink3); }

/* Mock table */
.mock-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 8.5px;
  font-family: var(--font-body);
}
.mock-table th {
  color: var(--ink3);
  font-weight: 600;
  text-align: right;
  padding: 4px 6px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.mock-table th:first-child { text-align: left; }
.mock-table td {
  text-align: right;
  padding: 3px 6px;
  color: var(--ink2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.mock-table td:first-child { text-align: left; color: var(--ink3); }
.mock-section-row td {
  background: rgba(255,255,255,0.04);
  color: var(--ink3);
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 6px;
  border-top: 1px solid var(--border);
}
.mock-row-highlight td { color: var(--ink); font-weight: 600; }
.mock-row-ebitda td {
  font-weight: 700;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mock-pos { color: #5ab585 !important; }
.mock-neg { color: #e07575 !important; }

/* KPIs 3-col variant */
.mock-kpis-3 {
  grid-template-columns: repeat(3, 1fr) !important;
  margin-bottom: 10px;
}

/* Diagnosis panel */
.mock-diag {
  border: 1px solid rgba(224,117,117,0.25);
  border-left: 3px solid #e07575;
  border-radius: 8px;
  overflow: hidden;
}
.mock-diag-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-family: var(--font-body);
}
.mock-diag-lbl {
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #e07575;
}
.mock-diag-action {
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #e07575;
}
.mock-diag-headline {
  font-size: 9px;
  font-weight: 600;
  color: var(--ink);
  padding: 8px 10px 6px;
  line-height: 1.4;
  font-family: var(--font-body);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mock-insights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.mock-insight {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  padding: 6px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-family: var(--font-body);
}
.mock-insight:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.04); }
.mock-insight-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 2px;
}
.mock-insight-ok .mock-insight-dot    { background: #5ab585; }
.mock-insight-warn .mock-insight-dot  { background: #c9913a; }
.mock-insight-bad .mock-insight-dot   { background: #e07575; }
.mock-insight div { display: flex; flex-direction: column; gap: 1px; }
.mock-insight strong { font-size: 8px; font-weight: 600; color: var(--ink); }
.mock-insight span   { font-size: 7.5px; color: var(--ink3); line-height: 1.3; }

/* =============================================
   FEATURES
   ============================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature-card {
  background: var(--surface);
  padding: 40px 32px;
  transition: background 0.3s;
}
.feature-card:hover {
  background: var(--surface2);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--green-dim);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 20px;
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.3;
}
.feature-card p {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.7;
}

/* =============================================
   ECOSYSTEM
   ============================================= */
.ecosystem {
  position: relative;
  overflow: hidden;
  text-align: center;
}
.ecosystem-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(77,143,216,0.04), transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(77,143,216,0.04), transparent 60%);
  pointer-events: none;
}
.ecosystem .section-sub {
  margin-left: auto;
  margin-right: auto;
}

.ecosystem-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 64px;
}
.eco-card {
  flex: 1;
  max-width: 280px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: left;
  transition: border-color 0.3s, background 0.3s;
}
.eco-card:hover {
  border-color: rgba(255,255,255,0.12);
  background: var(--surface2);
}
.eco-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 16px;
}
.eco-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}
.eco-card p {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.7;
}
.eco-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--green);
  opacity: 0.4;
  padding: 0 16px;
  flex-shrink: 0;
}
.eco-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, transparent, var(--green), transparent);
}

.eco-tagline-wrap {
  max-width: 520px;
  margin: 0 auto;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.eco-tagline {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  font-style: italic;
  color: var(--ink2);
  line-height: 1.5;
}

/* =============================================
   WAITLIST
   ============================================= */
.waitlist-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 24px;
  padding: 64px;
  position: relative;
  overflow: hidden;
}
.waitlist-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}
.waitlist-header {
  margin-bottom: 48px;
}
.waitlist-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin: 16px 0 12px;
}
.waitlist-title em {
  font-style: italic;
  color: var(--green);
}
.waitlist-sub {
  font-size: 16px;
  color: var(--ink2);
}
.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink2);
}
.form-group input,
.form-group select {
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input::placeholder { color: var(--ink3); }
.form-group select {
  cursor: pointer;
  /* Custom dropdown arrow — replaces the native one removed by appearance:none */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%235a5855' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-group select option { background: #1e1e1b; }
.form-group input:focus,
.form-group select:focus {
  border-color: rgba(255,255,255,0.28);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.04);
}

/* RGPD checkbox */
.rgpd-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 14px;
}
.rgpd-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  min-width: 14px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 3px;
  background: transparent;
  margin-top: 2px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.rgpd-check input[type="checkbox"]:checked {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.4);
}
.rgpd-check input[type="checkbox"]:checked::after {
  content: '';
  display: block;
  width: 4px;
  height: 7px;
  border: 1.5px solid var(--ink);
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translate(1px, -1px);
  margin: 1px auto 0;
}
.rgpd-check span {
  font-size: 11px;
  color: var(--ink3);
  line-height: 1.5;
  font-family: var(--font-body);
}

/* Submit button success state */
#submitBtn .btn-success { display: none; }
#submitBtn.submitted .btn-text { display: none; }
#submitBtn.submitted .btn-success { display: inline; }
#submitBtn.submitted {
  background: var(--surface2);
  color: var(--green);
  border: 1px solid rgba(255,255,255,0.12);
  cursor: default;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-logo {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.footer-tagline {
  font-size: 13px;
  color: var(--ink3);
}
.footer-right {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--ink3);
}
.footer-linkedin {
  color: var(--ink3);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}
.footer-linkedin:hover { color: var(--ink); }

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s cubic-bezier(0.22,1,0.36,1), transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.07s; }
.delay-2 { transition-delay: 0.14s; }
.delay-3 { transition-delay: 0.21s; }
.delay-4 { transition-delay: 0.28s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  :root { --section-pad: 80px; }
  .problem-grid,
  .features-grid { grid-template-columns: 1fr; }
  .mock-kpis { grid-template-columns: repeat(3, 1fr); }
  .mock-charts { grid-template-columns: 1fr; }
  .mockup-slide { flex: 0 0 94%; }
  .mockup-track { padding-right: calc(6% + 20px); }
  .mock-charts-3 { grid-template-columns: 1fr !important; }
  .mock-val-card { grid-template-columns: 1fr; }
  .mock-kpis-3 { grid-template-columns: repeat(3, 1fr) !important; }
  .mock-insights { grid-template-columns: 1fr; }
  .ecosystem-grid { flex-direction: column; gap: 16px; }
  .eco-connector { flex-direction: row; padding: 0; }
  .eco-line { width: 32px; height: 1px; background: linear-gradient(to right, transparent, var(--green), transparent); }
  .form-row { grid-template-columns: 1fr; }
  .waitlist-card { padding: 40px 28px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .nav-burger { display: flex; }
  .nav-cta-desktop { display: none; }
  .nav-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(7,7,6,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0 24px;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 32px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }
  .nav-links-cta { display: block; padding: 16px 32px 0; }
  .nav-links-cta a { padding: 0; border: none; font-size: 14px; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .hero { padding: 100px 20px 80px; }
  .hero-ctas { flex-direction: column; align-items: stretch; text-align: center; }
  .btn-primary, .btn-ghost { justify-content: center; }
}

/* =============================================
   FOCUS VISIBLE — keyboard navigation
   ============================================= */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn-primary:focus-visible,
.btn-ghost:focus-visible {
  outline-offset: 4px;
}

/* =============================================
   REDUCED MOTION — respect user preference
   ============================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .fade-up,
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  /* Background atmospheric elements */
  .atm-label  { opacity: 0.22; }
  .atm-flash-line { display: none; }
}
