
/* ══════════════════════════════════════════
   TOKENS
══════════════════════════════════════════ */
:root {
  --bg:        #06080F;
  --bg-2:      #0A0F1E;
  --bg-3:      #0F1628;
  --border:    #162040;
  --border-2:  #1E2E55;
  --muted:     #4A6090;
  --text-2:    #8AAAD8;
  --text:      #E8EEF8;
  --white:     #FFFFFF;
  --accent:    #0056D2;
  --accent-2:  #0A7AFF;
  --accent-bg: rgba(0,86,210,0.1);
  --accent-bd: rgba(0,86,210,0.3);
  --cyan:      #00C2FF;
  --cyan-bg:   rgba(0,194,255,0.08);
  --green:     #84E004;
  --green-2:   #84E004;
  --green-bg:  rgba(132,224,4,0.12);
  --teal-tag:  #00C2FF;
  --orange:    #F97316;
  --red:       #EF4444;
  --li-blue:   #0A66C2;
  --r: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.6);
  --glow-accent: 0 0 40px rgba(0,86,210,0.2);
  --glow-green:  0 0 40px rgba(132,224,4,0.22);
}

/* ══════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════ */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ══════════════════════════════════════════
   UTILITIES
══════════════════════════════════════════ */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.visually-hidden { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }

/* ══════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════ */
@keyframes pulse-dot {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.6); opacity: 0.5; }
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes count-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slide-in-right {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes bar-grow {
  from { width: 0; }
}
@keyframes border-glow {
  0%,100% { border-color: var(--accent-bd); }
  50%      { border-color: var(--accent-2); box-shadow: var(--glow-accent); }
}

.fade-up   { opacity:0; transform:translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.slide-right { opacity:0; transform:translateX(32px); transition: opacity .6s ease, transform .6s ease; }
.visible   { opacity:1; transform:none; }

/* ══════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all .3s ease;
}
.nav.scrolled {
  background: rgba(8,8,16,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  text-decoration: none;
}
.nav-logo svg { flex-shrink: 0; }
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-text .brand-name {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.3px;
  color: var(--text);
  white-space: nowrap;
}
.nav-logo-text .brand-name span { color: var(--accent-2); }
.nav-logo-text .brand-tag {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--cyan);
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.04); }
.service-card h3[id]{scroll-margin-top:96px;}
/* Dropdown Apps */
.nav-dd { position: relative; }
.nav-links a, .nav-dd > a { white-space: nowrap; }
.nav-dd > a .dd-caret { font-size: 14px; opacity: .7; margin-left: 2px; }
.nav-dd-menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px;
  list-style: none; margin: 0; padding: 6px;
  background: rgba(10,15,30,0.98); border: 1px solid var(--border-2); border-radius: 12px;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s; z-index: 1001;
}
.nav-dd:hover > a, .nav-dd:focus-within > a { color: var(--white); background: rgba(255,255,255,0.04); }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dd-menu a { display: block; padding: 10px 14px; border-radius: 8px; font-size: 14px; color: var(--text-2); white-space: nowrap; }
.nav-dd-menu a:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.nav-cta {
  background: var(--accent);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 999px;
  transition: background .2s, transform .15s, box-shadow .2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-cta:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(108,99,255,0.4);
}
.nav-lang {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  padding: 6px 10px;
  border: 1px solid var(--border-2);
  border-radius: 6px;
  transition: all .2s;
  cursor: pointer;
}
.nav-lang:hover { color: var(--text); border-color: var(--border-2); }

/* Mobile nav */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .25s;
}
.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 {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: rgba(8,8,16,0.98);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-2);
  padding: 12px 16px;
  border-radius: 10px;
  transition: all .15s;
}
.mobile-menu a:hover { color: var(--white); background: rgba(255,255,255,0.04); }
.mobile-menu .mobile-cta {
  margin-top: 12px;
  background: var(--accent);
  color: white;
  text-align: center;
  font-weight: 700;
  border-radius: 999px;
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

/* Background layers */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
}
.hero-glow-1 {
  position: absolute;
  width: 700px; height: 700px;
  top: -100px; right: -100px;
  background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  width: 400px; height: 400px;
  bottom: 0; left: 10%;
  background: radial-gradient(circle, rgba(6,182,212,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-fade-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}

/* Hero left */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-bg);
  border: 1px solid var(--accent-bd);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-2);
  letter-spacing: 0.3px;
  margin-bottom: 24px;
  animation: fade-in-up .7s ease both;
}
.pulse-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s ease infinite;
}
.hero-title {
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 900;
  letter-spacing: -2.5px;
  line-height: 1.04;
  margin-bottom: 24px;
  animation: fade-in-up .7s .1s ease both;
}
.hero-title .grad {
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--cyan) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 36px;
  animation: fade-in-up .7s .2s ease both;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 52px;
  animation: fade-in-up .7s .3s ease both;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 999px;
  transition: all .2s;
}
.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(108,99,255,0.45);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid var(--border-2);
  transition: all .2s;
}
.btn-secondary:hover {
  border-color: var(--text-2);
  transform: translateY(-2px);
  background: rgba(255,255,255,0.03);
}

.hero-stats {
  display: flex;
  gap: 32px;
  animation: fade-in-up .7s .4s ease both;
}
.hero-stat-val {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1;
  color: var(--white);
}
.hero-stat-val em {
  font-style: normal;
  color: var(--accent-2);
}
.hero-stat-lbl {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.4;
}

/* Dashboard panel */
.hero-panel {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: slide-in-right .8s .2s ease both;
  animation: slide-in-right .8s .2s ease both;
}
.panel-bar {
  background: var(--bg-2);
  padding: 13px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.panel-dots { display: flex; gap: 6px; }
.panel-dot { width: 11px; height: 11px; border-radius: 50%; }
.panel-title {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  margin-left: 6px;
  letter-spacing: 0.3px;
}
.panel-body { padding: 20px; }
.panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.panel-row:last-of-type { border-bottom: none; }
.panel-lbl {
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.panel-val { font-weight: 700; }
.panel-val.green { color: var(--green); }
.panel-val.cyan  { color: var(--cyan); }
.panel-val.purple { color: var(--accent-2); }

.panel-bar-wrap { margin: 6px 0 4px; }
.pbar-track {
  height: 3px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}
.pbar-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  animation: bar-grow 2s .5s ease both;
}

.panel-live {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(132,224,4,0.08);
  border: 1px solid rgba(132,224,4,0.25);
  border-radius: 8px;
  padding: 8px 14px;
  margin-top: 14px;
  font-size: 14px;
  color: var(--green);
  font-weight: 600;
}

/* ══════════════════════════════════════════
   PROOF BAR
══════════════════════════════════════════ */
.proof-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  padding: 24px 0;
}
.proof-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  overflow-x: auto;
  scrollbar-width: none;
}
.proof-inner::-webkit-scrollbar { display: none; }
.proof-eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.proof-logos {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.proof-logo {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--border-2);
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all .2s;
  white-space: nowrap;
}
.proof-logo:hover { color: var(--muted); border-color: var(--border-2); }
.proof-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
  flex-shrink: 0;
}
.proof-metric {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}
.proof-metric strong {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--white);
}
.proof-metric strong em {
  font-style: normal;
  color: var(--accent-2);
}
.proof-metric span { font-size: 14px; color: var(--muted); }

/* ══════════════════════════════════════════
   SECTION SHARED
══════════════════════════════════════════ */
.section { padding: 96px 0; }
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 16px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 18px; height: 2px;
  background: var(--accent);
  border-radius: 99px;
  flex-shrink: 0;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--white);
}
.section-sub {
  font-size: 17px;
  color: var(--text-2);
  max-width: 540px;
  line-height: 1.75;
}
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-2);
  border: 1px solid var(--accent-bd);
  padding: 10px 20px;
  border-radius: 999px;
  transition: all .2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.link-arrow:hover {
  background: var(--accent-bg);
  border-color: var(--accent-2);
}

/* ══════════════════════════════════════════
   IMPACT NUMBERS
══════════════════════════════════════════ */
.impact-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.impact-item {
  padding: 48px 32px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.impact-item:last-child { border-right: none; }
.impact-num {
  font-size: clamp(42px, 4vw, 56px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.impact-lbl {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 4px;
}
.impact-desc {
  font-size: 14px;
  color: var(--muted);
}

/* ══════════════════════════════════════════
   SERVICES
══════════════════════════════════════════ */
.services-section { background: var(--bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, var(--accent-bg) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(108,99,255,0.35);
  box-shadow: 0 20px 60px rgba(108,99,255,0.12);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 50px; height: 50px;
  background: var(--accent-bg);
  border: 1px solid var(--accent-bd);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.service-card h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
  color: var(--white);
  position: relative;
  z-index: 1;
}
.service-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  position: relative;
  z-index: 1;
}
.tag-pill {
  font-size: 14px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  color: var(--text-2);
}
.service-card .cta-inline {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-2);
  margin-top: 20px;
  position: relative;
  z-index: 1;
  transition: gap .15s;
}
.service-card:hover .cta-inline { gap: 8px; }

/* Featured service */
.service-card.featured {
  grid-column: span 1;
  background: linear-gradient(135deg, rgba(108,99,255,0.1) 0%, rgba(34,211,238,0.05) 100%);
  border-color: rgba(108,99,255,0.3);
}


/* ══════════════════════════════════════════
   WHY HUI
══════════════════════════════════════════ */
.why-section { background: var(--bg); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.why-left h2 { margin-bottom: 20px; }
.why-left p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 36px;
}
.differentiators {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.diff-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: border-color .2s;
}
.diff-item:hover { border-color: var(--accent-bd); }
.diff-icon {
  width: 40px; height: 40px;
  background: var(--accent-bg);
  border: 1px solid var(--accent-bd);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.diff-text h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--white);
}
.diff-text p { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* Process visual */
.process-visual {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.pv-header {
  background: var(--bg-3);
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pv-steps {
  display: flex;
  flex-direction: column;
}
.pv-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  transition: background .2s;
}
.pv-step:last-child { border-bottom: none; }
.pv-step:hover { background: rgba(255,255,255,0.015); }
.pv-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent-bg);
  border: 1px solid var(--accent-bd);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--accent-2);
  flex-shrink: 0;
}
.pv-content h4 { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 2px; }
.pv-content p { font-size: 14px; color: var(--muted); }
.pv-step-badge {
  margin-left: auto;
  font-size: 14px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  flex-shrink: 0;
}
.badge-done { background: var(--green-bg); border: 1px solid rgba(132,224,4,.25); color: var(--green); }
.badge-active { background: var(--accent-bg); border: 1px solid var(--accent-bd); color: var(--accent-2); }
.badge-next { background: var(--bg-3); border: 1px solid var(--border-2); color: var(--muted); }

/* ══════════════════════════════════════════
   NUESTRAS PLATAFORMAS
══════════════════════════════════════════ */
.platforms-section { background: var(--bg-2); border-top: 1px solid var(--border); }
.platform-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.platform-head .service-icon { margin-bottom: 0; }
.platform-head .pv-step-badge { margin-left: 0; }
.platform-tagline {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.platform-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  position: relative;
  z-index: 1;
}
.platform-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
}
.platform-features li::before {
  content: '✓';
  color: var(--cyan);
  font-weight: 700;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   LINKEDIN HUB
══════════════════════════════════════════ */
.linkedin-section {
  background: rgba(10,102,194,0.04);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.li-slim-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.li-slim-icon {
  width: 44px; height: 44px;
  background: var(--li-blue);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.li-slim-text { flex: 1; min-width: 200px; }
.li-slim-text strong { font-size: 15px; color: var(--white); display: block; margin-bottom: 4px; }
.li-slim-text span { font-size: 14px; color: var(--text-2); }
.li-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--li-blue);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
  transition: all .2s;
  white-space: nowrap;
}
.li-follow-btn:hover {
  background: #0855A3;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(10,102,194,0.4);
}
.li-stats {
  display: flex; gap: 32px; align-items: center;
  border-left: 1px solid var(--border);
  padding-left: 24px;
  flex-shrink: 0;
}
.li-stat { text-align: center; }
.li-stat .val { font-size: 18px; font-weight: 800; color: var(--white); display: block; }
.li-stat .lbl { font-size: 14px; color: var(--muted); }

/* ══════════════════════════════════════════
   CALCULADORA ROI
══════════════════════════════════════════ */
.calc-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 80px 0;
}
.calc-wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}
.calc-header { text-align: center; margin-bottom: 48px; }
.calc-header .section-eyebrow { justify-content: center; margin-bottom: 14px; }
.calc-header h2 { font-size: 36px; font-weight: 900; letter-spacing: -1px; line-height: 1.1; margin-bottom: 12px; }
.calc-header p { font-size: 16px; color: var(--text-2); max-width: 520px; margin: 0 auto; }
.calc-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.calc-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}
.calc-inputs {
  padding: 40px;
  border-right: 1px solid var(--border);
}
.calc-inputs h3 {
  font-size: 14px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.2px; color: var(--muted); margin-bottom: 28px;
}
.calc-field { margin-bottom: 28px; }
.calc-field label {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; color: var(--text-2); margin-bottom: 10px; font-weight: 500;
}
.calc-field label span {
  font-size: 15px; font-weight: 800; color: var(--white);
  background: var(--bg-3); border: 1px solid var(--border-2);
  padding: 3px 10px; border-radius: 6px; min-width: 60px; text-align: center;
}
.calc-field input[type=range] {
  width: 100%; accent-color: var(--accent); cursor: pointer; height: 4px;
}
.calc-field select {
  width: 100%; padding: 10px 14px;
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text); font-size: 14px;
  font-family: inherit; cursor: pointer;
  transition: border-color .15s;
}
.calc-field select:focus { border-color: var(--border-2); }
.calc-results {
  padding: 40px;
  display: flex; flex-direction: column; gap: 0;
  background: var(--bg-3);
}
.calc-results h3 {
  font-size: 14px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.2px; color: var(--muted); margin-bottom: 24px;
}
.calc-metric {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.calc-metric:last-of-type { border-bottom: none; }
.calc-metric-lbl { font-size: 14px; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.calc-metric-val {
  font-size: 28px; font-weight: 900; letter-spacing: -0.8px;
  line-height: 1; color: var(--white);
  transition: all .3s ease;
}
.calc-metric-val.green { color: var(--green-2); }
.calc-metric-val.cyan  { color: var(--cyan); }
.calc-metric-sub { font-size: 14px; color: var(--muted); margin-top: 3px; }
.calc-footer {
  padding: 28px 40px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.calc-footer p { flex: 1; min-width: 200px; font-size: 14px; color: var(--text-2); line-height: 1.5; }
.calc-footer strong { color: var(--white); }
.calc-cta-form { display: flex; gap: 10px; flex-wrap: wrap; }
.calc-cta-form input {
  padding: 11px 16px; border-radius: 8px;
  border: 1px solid var(--border-2);
  background: var(--bg-3); color: var(--text);
  font-size: 14px; font-family: inherit;
  transition: border-color .15s; min-width: 200px;
}
.calc-cta-form input:focus { border-color: var(--accent); }
.calc-cta-form input::placeholder { color: var(--muted); }
.calc-cta-form button {
  background: var(--accent); color: #fff;
  padding: 11px 22px; border-radius: 8px;
  font-size: 14px; font-weight: 700; font-family: inherit;
  white-space: nowrap; transition: background .15s;
}
.calc-cta-form button:hover { background: var(--accent-2); }
@media (max-width: 768px) {
  .calc-body { grid-template-columns: 1fr; }
  .calc-inputs { border-right: none; border-bottom: 1px solid var(--border); }
  .calc-header h2 { font-size: 28px; }
  .calc-footer { flex-direction: column; }
  .calc-cta-form { width: 100%; }
  .calc-cta-form input { min-width: 0; flex: 1; }
}

/* FAQ section removed: questions and figures lacked a source. */

/* ══════════════════════════════════════════
   FINAL CTA
══════════════════════════════════════════ */
.cta-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 96px 0;
  text-align: center;
}
.cta-inner { max-width: 720px; margin: 0 auto; }
.cta-section .section-eyebrow { justify-content: center; }
.cta-section h2 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--white);
}
.cta-section h2 span { color: var(--accent-2); }
.cta-section p {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 36px;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.cta-note {
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-note span { display: flex; align-items: center; gap: 5px; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .brand-name {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
  color: var(--white);
}
.footer-brand .brand-name span { color: var(--accent-2); }
.footer-brand p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 260px;
}
.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
  transition: all .2s;
}
.social-link:hover { background: var(--accent); border-color: var(--accent); color: white; }
.social-link.li:hover { background: var(--li-blue); border-color: var(--li-blue); }
.social-link.wa:hover { background: #25D366; border-color: #25D366; }

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--muted);
  transition: color .15s;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 14px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: var(--muted); transition: color .15s; }
.footer-bottom a:hover { color: var(--text-2); }

/* ══════════════════════════════════════════
   SCROLL TO TOP
══════════════════════════════════════════ */
.scroll-top {
  color: var(--white);
  position: fixed;
  /* Existing contact shortcut: 24px bottom + 56px height + 8px separation. */
  bottom: calc(24px + 56px + 8px); right: 24px;
  width: 44px; height: 44px;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all .2s;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  z-index: 500;
}
.scroll-top.show { opacity: 1; transform: none; pointer-events: all; }
.scroll-top:hover { background: var(--accent); border-color: var(--accent); color: white; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-panel { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .li-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-lang { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .hero-title { letter-spacing: -1.5px; }
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .impact-item { padding: 32px 20px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { justify-content: center; }
  .proof-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .proof-logos { flex-wrap: wrap; }
  .cta-actions { flex-direction: column; }
}

/* ══ COOKIE CONSENT BANNER ══════════════════════════════════ */
#hui-cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: #0A0F1E; border-top: 1px solid #162040;
  padding: 16px 24px; display: flex; align-items: center;
  gap: 16px; flex-wrap: wrap; justify-content: space-between;
  box-shadow: 0 -8px 32px rgba(0,0,0,0.5);
  transform: translateY(100%); transition: transform .35s ease;
}
#hui-cookie-banner.visible { transform: translateY(0); }
#hui-cookie-banner p {
  flex: 1; min-width: 240px; font-size: 14px; color: #8AAAD8;
  margin: 0; line-height: 1.5;
}
#hui-cookie-banner p a { color: #0A7AFF; text-decoration: underline; }
.hui-cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.hui-btn-accept {
  background: #0056D2; color: #fff; border: none; border-radius: 8px;
  padding: 9px 20px; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background .15s;
}
.hui-btn-accept:hover { background: #0A7AFF; }
.hui-btn-reject {
  background: transparent; color: #4A6090; border: 1px solid #162040;
  border-radius: 8px; padding: 9px 16px; font-size: 14px; cursor: pointer;
  transition: color .15s, border-color .15s;
}
.hui-btn-reject:hover { color: #8AAAD8; border-color: #1E2E55; }

/* ══ WHATSAPP FAB ═══════════════════════════════════════════ */
#hui-wa-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center;
  justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform .2s, box-shadow .2s; cursor: pointer;
  text-decoration: none;
}
#hui-wa-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}
#hui-wa-fab svg { width: 30px; height: 30px; }
#hui-wa-fab .hui-wa-badge {
  position: absolute; top: -3px; right: -3px;
  width: 14px; height: 14px; background: #EF4444;
  border-radius: 50%; border: 2px solid #06080F;
  animation: hui-pulse 2s infinite;
}
@keyframes hui-pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: .8; }
}
/* Sube FAB cuando el banner está visible */
body.cookie-banner-open #hui-wa-fab { bottom: 100px; }
