:root {
  --bg: #060810;
  --bg2: #0C0F1A;
  --bg3: #111520;
  --blue: #4F8EF7;
  --blue-dim: rgba(79,142,247,0.12);
  --blue-border: rgba(79,142,247,0.25);
  --white: #ffffff;
  --gray1: rgba(255,255,255,0.65);
  --gray2: rgba(255,255,255,0.4);
  --gray3: rgba(255,255,255,0.2);
  --gray4: rgba(255,255,255,0.07);
  --red: #EF4444;
  --green: #34D399;
  --amber: #FBBF24;
  --border: rgba(255,255,255,0.07);
  --font-display: 'Barlow', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-width: 1100px;
  --side-pad: 80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── INNER CONTAINER ── */
.inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 60px;
  background: rgba(6,8,16,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 0.5px solid var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
  text-decoration: none;
}
.nav-logo span { color: var(--blue); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  color: var(--gray2);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.btn-nav {
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  padding: 9px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}
.btn-nav:hover { opacity: 0.88; }

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 57px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  background: var(--bg2);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  border-top: 0.5px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.mobile-menu ul a {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.mobile-menu ul a:hover { color: var(--blue); }
.mobile-menu .btn-nav { font-size: 15px; padding: 12px 32px; }

/* ── HERO ── */
.hero {
  padding: 110px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(79,142,247,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero .inner { position: relative; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--blue);
  text-transform: uppercase;
  padding: 6px 16px;
  border: 0.5px solid var(--blue-border);
  border-radius: 100px;
  margin-bottom: 32px;
}
.hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 em { color: var(--blue); font-style: normal; }

.hero-sub {
  font-size: 17px;
  color: var(--gray2);
  max-width: 500px;
  margin: 0 auto 14px;
  line-height: 1.7;
  font-weight: 300;
}
.hero-note {
  font-size: 12px;
  color: var(--gray3);
  margin-bottom: 40px;
  letter-spacing: 0.03em;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--gray1);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 14px 28px;
  border-radius: 10px;
  border: 0.5px solid rgba(255,255,255,0.15);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.3); color: var(--white); }

/* ── DASHBOARD ── */
.dashboard-wrap {
  max-width: var(--max-width);
  margin: 60px auto 0;
  padding: 0 var(--side-pad);
}
.dashboard-wrap > div:first-child {
  background: var(--bg2);
  border: 0.5px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  overflow: hidden;
  position: relative;
}
.dashboard-wrap > div:first-child::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

.db-titlebar { display: flex; align-items: center; gap: 6px; margin-bottom: 20px; }
.db-dot { width: 10px; height: 10px; border-radius: 50%; }
.db-url { margin-left: 10px; font-size: 11px; color: var(--gray3); letter-spacing: 0.05em; }

.db-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 12px; }
.db-stat { background: var(--bg3); border: 0.5px solid var(--gray4); border-radius: 10px; padding: 16px; }
.db-stat-label { font-size: 10px; color: var(--gray3); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.db-stat-val { font-family: var(--font-display); font-size: 22px; font-weight: 700; }

.db-bottom { display: flex; gap: 10px; }
.db-chart { flex: 2; background: var(--bg3); border: 0.5px solid var(--gray4); border-radius: 10px; padding: 16px; }
.db-flow { flex: 1; background: var(--bg3); border: 0.5px solid var(--gray4); border-radius: 10px; padding: 16px; }
.db-section-label { font-size: 10px; color: var(--gray3); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }

.bar-item { margin-bottom: 10px; }
.bar-meta { display: flex; justify-content: space-between; margin-bottom: 4px; }
.bar-name { font-size: 12px; color: var(--gray2); }
.bar-pct { font-size: 12px; color: var(--gray2); }
.bar-track { background: rgba(255,255,255,0.05); border-radius: 3px; height: 4px; overflow: hidden; }
.bar-fill { height: 4px; border-radius: 3px; }

.flow-node { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.flow-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.flow-text { font-size: 12px; color: var(--gray2); }

/* ── DIVIDER ── */
.divider { height: 0.5px; background: var(--border); max-width: var(--max-width); margin: 0 auto; }

/* ── SECTIONS ── */
.sec { padding: 90px 0; }
.sec-alt { background: var(--bg2); }
.sec-alt .inner { background: transparent; }

.sec-tag {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 500;
}

.sec h2 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.sec h2 em { color: var(--blue); font-style: normal; }

.sec-sub {
  font-size: 16px;
  color: var(--gray2);
  line-height: 1.7;
  max-width: 500px;
  font-weight: 300;
}

/* ── PROBLEM ── */
.prob-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 52px; align-items: start; }
.prob-intro { font-size: 16px; color: var(--gray2); line-height: 1.7; margin-bottom: 24px; font-weight: 300; }
.prob-items { display: flex; flex-direction: column; gap: 10px; }
.prob-item {
  display: flex; align-items: flex-start; gap: 14px; padding: 16px;
  background: var(--bg2); border: 0.5px solid var(--gray4); border-radius: 12px;
  transition: border-color 0.2s;
}
.prob-item:hover { border-color: rgba(239,68,68,0.2); }
.prob-x {
  width: 28px; height: 28px; border-radius: 7px;
  background: rgba(239,68,68,0.08); border: 0.5px solid rgba(239,68,68,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--red); font-size: 13px; font-weight: 600;
}
.prob-text { font-size: 14px; color: var(--gray2); line-height: 1.5; }
.prob-callout { background: var(--bg2); border: 0.5px solid var(--border); border-radius: 16px; padding: 36px; }
.prob-callout-quote {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700; line-height: 1.35; margin-bottom: 16px; letter-spacing: -0.01em;
}
.prob-callout-body { font-size: 14px; color: var(--gray2); line-height: 1.75; font-weight: 300; }

/* ── ENFOQUE ── */
.enfoque-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 52px; align-items: start; }
.enfoque-card { background: var(--bg); border: 0.5px solid var(--blue-border); border-radius: 16px; padding: 32px; }
.enfoque-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.01em; }
.enfoque-card p { font-size: 14px; color: var(--gray2); line-height: 1.7; margin-bottom: 24px; font-weight: 300; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 11px; padding: 5px 12px; border-radius: 100px; background: var(--blue-dim); border: 0.5px solid var(--blue-border); color: var(--blue); }
.mini-cards { display: flex; flex-direction: column; gap: 10px; }
.mini-card { background: var(--bg); border: 0.5px solid var(--gray4); border-radius: 12px; padding: 20px; transition: border-color 0.2s; }
.mini-card:hover { border-color: var(--blue-border); }
.mini-card h4 { font-family: var(--font-display); font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.mini-card p { font-size: 13px; color: var(--gray2); line-height: 1.55; font-weight: 300; }

/* ── STEPS ── */
.steps-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: var(--border);
  border: 0.5px solid var(--border); border-radius: 16px; overflow: hidden; margin-top: 52px;
}
.step { padding: 32px 24px; background: var(--bg); transition: background 0.2s; }
.step:hover { background: var(--bg2); }
.step-num { font-family: var(--font-display); font-size: 11px; color: var(--blue); letter-spacing: 0.12em; margin-bottom: 14px; font-weight: 600; }
.step h3 { font-family: var(--font-display); font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--gray2); line-height: 1.6; font-weight: 300; }

/* ── SERVICES ── */
.srv-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 52px; }
.srv-card { padding: 28px; background: var(--bg); border: 0.5px solid var(--gray4); border-radius: 16px; transition: border-color 0.2s, transform 0.2s; }
.srv-card:hover { border-color: var(--blue-border); transform: translateY(-2px); }
.srv-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--blue-dim); border: 0.5px solid var(--blue-border); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.srv-icon svg { width: 16px; height: 16px; }
.srv-card h3 { font-family: var(--font-display); font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.srv-card p { font-size: 13px; color: var(--gray2); line-height: 1.6; font-weight: 300; }

/* ── CLIENTS ── */
.clients-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 52px; }
.client-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--bg2); border: 0.5px solid var(--gray4); border-radius: 14px; transition: border-color 0.2s; }
.client-card:hover { border-color: var(--blue-border); }
.client-icon { font-size: 20px; flex-shrink: 0; width: 40px; height: 40px; background: var(--bg3); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.client-card h4 { font-family: var(--font-display); font-size: 15px; font-weight: 700; margin-bottom: 5px; }
.client-card p { font-size: 13px; color: var(--gray2); line-height: 1.5; font-weight: 300; }
.no-section { margin-top: 32px; }
.no-label { font-size: 11px; color: var(--red); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-bottom: 12px; }
.no-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.no-card { padding: 16px; background: rgba(239,68,68,0.04); border: 0.5px solid rgba(239,68,68,0.15); border-radius: 12px; font-size: 13px; color: var(--gray2); line-height: 1.5; font-weight: 300; }

/* ── TESTIMONIALS ── */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 52px; }
.testi-card { padding: 28px; background: var(--bg); border: 0.5px solid var(--gray4); border-radius: 16px; }
.testi-quote { font-size: 14px; color: var(--gray1); line-height: 1.75; margin-bottom: 20px; font-style: italic; font-weight: 300; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; font-family: var(--font-display); }
.testi-name { font-size: 13px; font-weight: 600; font-family: var(--font-display); }
.testi-role { font-size: 12px; color: var(--gray3); font-weight: 300; }

/* ── FAQ ── */
.faq-list { margin-top: 52px; border: 0.5px solid var(--border); border-radius: 16px; overflow: hidden; }
.faq-item { padding: 24px 32px; border-bottom: 0.5px solid var(--border); transition: background 0.2s; }
.faq-item:last-child { border-bottom: none; }
.faq-item:hover { background: var(--bg2); }
.faq-q { font-family: var(--font-display); font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.faq-a { font-size: 14px; color: var(--gray2); line-height: 1.75; font-weight: 300; }

/* ── FORM ── */
.form-wrap {
  background: var(--bg2); border: 0.5px solid var(--border);
  border-radius: 20px; padding: 48px; max-width: 600px; margin: 48px auto 0;
}
.form-heading { font-family: var(--font-display); font-size: 24px; font-weight: 800; text-align: center; margin-bottom: 8px; letter-spacing: -0.02em; }
.form-subtext { font-size: 14px; color: var(--gray2); text-align: center; margin-bottom: 32px; font-weight: 300; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 11px; color: var(--gray2); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 7px; font-weight: 500; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; background: var(--bg3); border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 10px; padding: 12px 16px; color: var(--white);
  font-size: 14px; font-family: var(--font-body); font-weight: 300; outline: none; transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--blue-border); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group select { color: rgba(255,255,255,0.5); }
.contact-label { font-size: 11px; color: var(--gray2); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; font-weight: 500; }
.contact-opts { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 24px; }
.contact-opt { padding: 14px 12px; background: var(--bg3); border: 0.5px solid rgba(255,255,255,0.08); border-radius: 10px; text-align: center; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.contact-opt:hover, .contact-opt.active { border-color: var(--blue-border); background: var(--blue-dim); }
.contact-opt-icon { font-size: 18px; margin-bottom: 6px; }
.contact-opt-label { font-size: 12px; color: var(--gray2); }
.btn-submit { width: 100%; background: var(--blue); color: var(--white); font-family: var(--font-body); font-size: 15px; font-weight: 500; padding: 15px; border-radius: 10px; border: none; cursor: pointer; transition: opacity 0.2s; }
.btn-submit:hover { opacity: 0.88; }
.form-note { font-size: 12px; color: var(--gray3); text-align: center; margin-top: 14px; font-weight: 300; }

/* ── FOOTER ── */
footer { padding: 32px 0; border-top: 0.5px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-logo { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--white); text-decoration: none; }
.footer-logo span { color: var(--blue); }
.footer-links { display: flex; gap: 24px; }
.footer-links span { font-size: 12px; color: var(--gray3); }
.footer-copy { font-size: 12px; color: var(--gray3); font-weight: 300; }

/* ── ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  :root { --side-pad: 40px; }
  .hero h1 { font-size: 50px; }
  .sec h2 { font-size: 34px; }
  nav { padding: 16px 40px; }
}

@media (max-width: 768px) {
  :root { --side-pad: 24px; }
  .nav-links { display: none; }
  .desktop-only { display: none; }
  .hamburger { display: flex; }
  nav { padding: 16px 24px; }
  .hero { padding: 80px 0 60px; }
  .hero h1 { font-size: 36px; }
  .hero-sub { font-size: 15px; }
  .dashboard-wrap { padding: 0 24px; }
  .db-stats { grid-template-columns: repeat(2,1fr); }
  .db-bottom { flex-direction: column; }
  .prob-layout { grid-template-columns: 1fr; gap: 28px; }
  .enfoque-layout { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .srv-grid { grid-template-columns: 1fr 1fr; }
  .clients-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .no-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-wrap { padding: 28px 20px; }
  .contact-opts { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-links { display: none; }
  .sec { padding: 60px 0; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 30px; }
  .sec h2 { font-size: 26px; }
  .steps-grid { grid-template-columns: 1fr; }
  .srv-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
}
