:root {
  --bg: #0D0D0D;
  --bg-soft: #111214;
  --card: #131416;
  --card-2: #17191d;
  --blue: #1E68FF;
  --blue-2: #4d87ff;
  --white: #FFFFFF;
  --text: #EDEDED;
  --muted: #9A9FA8;
  --line: rgba(255,255,255,.09);
  --line-strong: rgba(255,255,255,.14);
  --success: #8ED3A6;
  --radius: 18px;
  --shadow: 0 28px 80px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 9%, rgba(30,104,255,.10), transparent 26%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
::selection { background: rgba(30,104,255,.35); }

.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 108px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  background: rgba(13,13,13,.72);
  backdrop-filter: blur(18px);
  transition: .25s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(13,13,13,.9); }
.header-inner { min-height: 64px; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { display: block; height: 38px; width: auto; max-width: 130px; object-fit: contain; }
.brand-logo-footer { height: 42px; }
.desktop-nav { display: flex; gap: 30px; color: var(--muted); font-size: 14px; }
.desktop-nav a { transition: .2s; }
.desktop-nav a:hover { color: var(--white); }

.btn {
  appearance: none;
  border: 0;
  border-radius: 12px;
  padding: 15px 22px;
  background: var(--blue);
  color: var(--white);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 10px 32px rgba(30,104,255,.19);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 15px 40px rgba(30,104,255,.28); background: #2a73ff; }
.btn-small { padding: 11px 16px; font-size: 13px; }
.btn-large { padding: 17px 24px; white-space: nowrap; }
.btn-ghost { background: transparent; border: 1px solid var(--line-strong); box-shadow: none; color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.04); box-shadow: none; }

.hero { padding-top: 96px; min-height: calc(100vh - 78px); display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 72px; }
.eyebrow { color: var(--blue-2); font-size: 11px; font-weight: 900; letter-spacing: 1.8px; margin-bottom: 18px; }
.hero h1, .section-head h2, .fit-card h2, .diagnosis-box h2 { margin: 0; color: var(--white); letter-spacing: -1.6px; line-height: 1.04; }
.hero h1 { font-size: clamp(44px, 5.2vw, 72px); max-width: 720px; }
.hero-text { max-width: 680px; margin: 24px 0 0; color: var(--muted); font-size: 18px; line-height: 1.72; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-proofline { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 28px; color: #777d86; font-size: 12px; }
.hero-proofline span::before { content: "•"; color: var(--blue); margin-right: 8px; }

.hero-visual { position: relative; min-width: 0; }
.glow { position: absolute; border-radius: 999px; filter: blur(65px); opacity: .25; pointer-events: none; }
.glow-a { width: 240px; height: 240px; background: var(--blue); top: -70px; right: 20px; }
.glow-b { width: 180px; height: 180px; background: #7e5dff; bottom: -50px; left: 5%; opacity: .12; }
.app-window { position: relative; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: #0f1012; box-shadow: 0 50px 130px rgba(0,0,0,.55); overflow: hidden; transform: perspective(1400px) rotateY(-3deg) rotateX(1.5deg); }
.app-topbar { height: 52px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 16px; border-bottom: 1px solid var(--line); color: #858a93; font-size: 11px; }
.traffic { display: flex; gap: 6px; }
.traffic i { width: 8px; height: 8px; border-radius: 99px; background: #3b3f46; }
.live-dot { justify-self: end; color: var(--success); }
.live-dot::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 99px; background: var(--success); box-shadow: 0 0 12px var(--success); }
.app-body { display: grid; grid-template-columns: 118px 1fr; min-height: 480px; }
.app-sidebar { border-right: 1px solid var(--line); padding: 18px 12px; display: flex; flex-direction: column; gap: 9px; color: #6e737d; font-size: 10px; }
.app-sidebar span { padding: 10px; border-radius: 8px; }
.app-sidebar .active { color: #fff; background: rgba(30,104,255,.12); border: 1px solid rgba(30,104,255,.18); }
.mini-logo { width: 29px; height: 29px; display: grid; place-items: center; margin: 0 0 14px 7px; border-radius: 8px; background: var(--blue); color: #fff; font-size: 10px; font-weight: 900; }
.app-content { padding: 22px; min-width: 0; }
.metric-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.metric { padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: #131417; }
.metric small, .metric em { display: block; color: #676c75; font-size: 9px; font-style: normal; }
.metric strong { display: block; margin: 5px 0 3px; color: #fff; font-size: 22px; }
.pipeline { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 17px; }
.pipe-col { min-width: 0; }
.pipe-title { display: flex; justify-content: space-between; padding: 8px 4px; color: #686d76; font-size: 8px; letter-spacing: .8px; }
.pipe-title b { color: #8c919a; }
.pipe-col article { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #151619; }
.pipe-col strong { font-size: 10px; color: #ddd; }
.pipe-col small { font-size: 8px; color: #777c85; }
.pipe-col i { font-size: 8px; color: var(--blue-2); font-style: normal; }

.logos-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.015); }
.strip-grid { min-height: 86px; display: flex; align-items: center; justify-content: center; gap: 26px; color: #7e838c; font-size: 12px; font-weight: 900; letter-spacing: 1.6px; }
.strip-grid b { color: var(--blue); }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head h2, .fit-card h2, .diagnosis-box h2 { font-size: clamp(36px, 4.2vw, 58px); }
.section-head p, .fit-card p, .diagnosis-box p { margin: 18px 0 0; color: var(--muted); line-height: 1.75; font-size: 16px; }
.problem-section { background: linear-gradient(180deg, transparent, rgba(255,255,255,.015)); }
.pain-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.pain-card, .feature-card, .step-card, .fit-card { border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); }
.pain-card { padding: 25px; min-height: 248px; }
.pain-card span { color: var(--blue); font-size: 11px; font-weight: 900; }
.pain-card h3, .feature-card h3, .step-card h3 { margin: 34px 0 10px; font-size: 19px; letter-spacing: -.4px; }
.pain-card p, .feature-card p, .step-card p { margin: 0; color: #858a93; font-size: 13px; line-height: 1.7; }

.workflow-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 84px; align-items: start; }
.sticky-copy { position: sticky; top: 130px; }
.text-link, .footer-button { margin-top: 24px; padding: 0; border: 0; background: none; color: var(--blue-2); font-weight: 800; cursor: pointer; }
.steps-list { display: flex; flex-direction: column; gap: 14px; }
.step-card { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 28px; }
.step-number { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid rgba(30,104,255,.22); border-radius: 14px; color: var(--blue-2); background: rgba(30,104,255,.07); font-weight: 900; font-size: 12px; }
.step-card h3 { margin: 3px 0 8px; }

.platform-section { background: #0a0b0d; border-top: 1px solid rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.04); }
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.feature-card { padding: 25px; min-height: 210px; }
.feature-card.featured { grid-column: span 2; background: linear-gradient(135deg, rgba(30,104,255,.13), #131416 60%); }
.feature-icon { min-width: 42px; width: max-content; height: 42px; padding: 0 10px; display: grid; place-items: center; border-radius: 10px; background: rgba(30,104,255,.1); border: 1px solid rgba(30,104,255,.22); color: var(--blue-2); font-size: 10px; font-weight: 900; }
.feature-card h3 { margin-top: 34px; }

.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fit-card { padding: 40px; }
.fit-yes { background: linear-gradient(145deg, rgba(30,104,255,.10), #131416 48%); }
.fit-no { background: #101113; }
.fit-card ul { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; }
.fit-card li { position: relative; padding-left: 26px; color: #a4a8af; line-height: 1.65; }
.fit-card li::before { content: "✓"; position: absolute; left: 0; color: var(--blue-2); font-weight: 900; }

.diagnosis-section { padding-top: 40px; }
.diagnosis-box { display: flex; align-items: center; justify-content: space-between; gap: 44px; padding: 52px; border: 1px solid rgba(30,104,255,.20); border-radius: 24px; background: radial-gradient(circle at 90% 0%, rgba(30,104,255,.18), transparent 34%), #111214; box-shadow: var(--shadow); }
.diagnosis-box > div { max-width: 760px; }

.site-footer { padding: 72px 0 30px; border-top: 1px solid var(--line); background: #090a0b; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .8fr; gap: 60px; }
.footer-brand { margin-bottom: 16px; }
.footer-grid p { max-width: 410px; color: #747983; line-height: 1.7; font-size: 13px; }
.footer-links { display: flex; flex-direction: column; gap: 13px; align-items: flex-start; color: #868b94; font-size: 13px; }
.footer-links a:hover, .footer-button:hover { color: #fff; }
.footer-button { margin: 0; color: #868b94; font-weight: 400; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); color: #565b63; font-size: 11px; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* DIAGNÓSTICO */
.jv-overlay { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 18px; background: rgba(4,5,8,.88); backdrop-filter: blur(14px); }
.jv-modal { position: relative; width: min(580px, 100%); max-height: calc(100vh - 36px); overflow: auto; padding: 34px; border: 1px solid var(--line-strong); border-radius: 20px; background: #101113; box-shadow: 0 50px 120px rgba(0,0,0,.6); }
.jv-close { position: absolute; top: 14px; right: 15px; width: 38px; height: 38px; border: 0; background: transparent; color: #777; font-size: 26px; cursor: pointer; }
.jv-kicker { margin-bottom: 18px; color: var(--blue-2); font-size: 10px; font-weight: 900; letter-spacing: 1.5px; }
.jv-modal h2 { margin: 0; color: #fff; font-size: clamp(26px, 5vw, 34px); line-height: 1.12; letter-spacing: -.8px; }
.jv-modal p { color: #9297a0; line-height: 1.65; font-size: 13px; }
.jv-meta { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0; color: #666c75; font-size: 10px; }
.jv-progress { height: 3px; margin: 4px 0 24px; background: #26282c; overflow: hidden; }
.jv-progress i { display: block; height: 100%; background: var(--blue); }
.jv-question-index { color: var(--blue-2); font-size: 10px; font-weight: 900; letter-spacing: 1px; }
.jv-options { display: grid; gap: 9px; margin-top: 20px; }
.jv-option { width: 100%; padding: 14px 42px 14px 15px; border: 1px solid #2a2c30; border-radius: 10px; background: #151619; color: #ddd; text-align: left; cursor: pointer; transition: .18s ease; }
.jv-option:hover { border-color: var(--blue); background: #181a1e; transform: translateX(2px); }
.jv-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.jv-field { display: grid; gap: 7px; }
.jv-field label { color: #c8cbd0; font-size: 11px; }
.jv-field input { width: 100%; height: 50px; padding: 0 13px; border: 1px solid #2a2c30; border-radius: 10px; outline: none; background: #151619; color: #fff; }
.jv-field input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,104,255,.08); }
.jv-consent { display: flex; gap: 9px; align-items: flex-start; margin: 16px 0; color: #737983; font-size: 10px; line-height: 1.5; }
.jv-consent input { margin-top: 2px; accent-color: var(--blue); }
.jv-status { text-align: center; padding: 28px 0 12px; }
.jv-loader { width: 54px; height: 3px; margin: 0 auto 24px; background: var(--blue); animation: loader 1s ease-in-out infinite alternate; }
@keyframes loader { from { transform: scaleX(.35); opacity: .35; } to { transform: scaleX(1); opacity: 1; } }
.jv-result-tag { display: inline-block; margin-bottom: 14px; padding: 7px 10px; border: 1px solid rgba(30,104,255,.35); border-radius: 7px; color: var(--blue-2); font-size: 10px; font-weight: 900; letter-spacing: 1px; }
.jv-result-box { margin: 18px 0; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: #151619; color: #a2a6ae; line-height: 1.7; font-size: 13px; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .hero { min-height: auto; }
  .hero-grid, .workflow-grid, .fit-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 60px; }
  .hero-visual { max-width: 760px; width: 100%; margin: 0 auto; }
  .sticky-copy { position: static; }
  .pain-grid { grid-template-columns: repeat(2,1fr); }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .feature-card.featured { grid-column: span 2; }
  .diagnosis-box { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: span 2; }
}

@media (max-width: 650px) {
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 76px 0; }
  .header-inner { min-height: 70px; }
  .header-inner .btn-small { padding: 10px 12px; font-size: 11px; }
  .brand-logo { height: 32px; max-width: 112px; }
  .hero { padding-top: 70px; }
  .hero h1 { font-size: 43px; }
  .hero-text { font-size: 16px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-proofline { gap: 10px 16px; }
  .app-window { transform: none; }
  .app-body { grid-template-columns: 72px 1fr; min-height: 410px; }
  .app-sidebar { padding: 14px 8px; }
  .app-sidebar span { padding: 8px 5px; font-size: 8px; }
  .app-content { padding: 12px; }
  .metric-row { grid-template-columns: 1fr; }
  .metric-row .metric:nth-child(n+2) { display: none; }
  .pipeline { grid-template-columns: 1fr 1fr; }
  .pipe-col:nth-child(3) { display: none; }
  .strip-grid { gap: 11px; font-size: 9px; letter-spacing: .8px; }
  .section-head h2, .fit-card h2, .diagnosis-box h2 { font-size: 38px; }
  .pain-grid, .features-grid { grid-template-columns: 1fr; }
  .feature-card.featured { grid-column: auto; }
  .pain-card { min-height: auto; }
  .step-card { grid-template-columns: 46px 1fr; gap: 14px; padding: 20px; }
  .step-number { width: 42px; height: 42px; border-radius: 11px; }
  .fit-card, .diagnosis-box { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .jv-modal { padding: 28px 20px; }
  .jv-form-grid { grid-template-columns: 1fr; }
}
