/* ==========================================================================
   UPGHL.COM - SITIO PRINCIPAL DE LA EMPRESA
   Estilo: Neo-Editorial Fintech / Square Card
   Paleta de Color UpGHL:
   - Azul Real / Eléctrico (#1d64f2, #0f4cda, #0a256b)
   - Verde Esmeralda / Crecimiento (#10b981, #22c55e)
   - Fondo: Gris Claro Suave (#f1f2f6), Superficies Blancas (#ffffff)
   - Contraste: Negro Azabache (#090a0f) con Footer Curvo
   Slogan: AUTOMATE. CONNECT. GROW.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --bg-page: #f1f2f6;
  --bg-card: #ffffff;
  --bg-card-subtle: #f8f9fc;
  --border-card: rgba(15, 23, 42, 0.08);
  --border-card-hover: rgba(15, 23, 42, 0.16);

  --text-main: #0a0c10;
  --text-secondary: #4b5563;
  --text-muted: #8c96a8;

  /* UpGHL Brand Colors */
  --accent-blue: #1d64f2;
  --accent-blue-dark: #0f4cda;
  --accent-blue-hover: #1551c6;
  --accent-blue-light: rgba(29, 100, 242, 0.12);
  --accent-blue-glow: 0 10px 30px rgba(29, 100, 242, 0.35);

  --accent-green: #10b981;
  --accent-green-dark: #059669;
  --accent-green-light: rgba(16, 185, 129, 0.12);

  --accent-cyan: #06b6d4;
  --accent-lime: #22c55e;

  --dark-bg: #090a0f;
  --dark-card: #12131a;
  --dark-border: rgba(255, 255, 255, 0.12);
  --dark-text: #ffffff;
  --dark-text-muted: #94a3b8;

  --radius-pill: 9999px;
  --radius-card: 28px;
  --radius-card-lg: 36px;
  --radius-card-sm: 18px;

  --shadow-subtle: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 40px -15px rgba(0, 0, 0, 0.09);

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Grotesk', monospace;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-page);
  overflow-x: hidden;
  line-height: 1.55;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

p {
  color: var(--text-secondary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Color Accents */
.text-blue {
  color: var(--accent-blue);
}
.text-green {
  color: var(--accent-green);
}
.gradient-blue-text {
  background: linear-gradient(135deg, #0f4cda 0%, #1d64f2 50%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   BUTTONS (Neo Pill Style)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-blue {
  background: var(--accent-blue);
  color: #ffffff;
  border-color: rgba(29, 100, 242, 0.2);
  box-shadow: 0 4px 14px rgba(29, 100, 242, 0.25);
}
.btn-blue:hover {
  background: var(--accent-blue-hover);
  transform: translateY(-2px);
  box-shadow: var(--accent-blue-glow);
  color: #ffffff;
}

.btn-dark {
  background: var(--dark-bg);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
}
.btn-dark:hover {
  background: #1a1c24;
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-white {
  background: #ffffff;
  color: var(--text-main);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.btn-white:hover {
  background: #f8f9fc;
  border-color: rgba(15, 23, 42, 0.25);
  transform: translateY(-2px);
}

.btn-green {
  background: var(--accent-green);
  color: #ffffff;
  border-color: rgba(16, 185, 129, 0.2);
}
.btn-green:hover {
  background: var(--accent-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
  color: #ffffff;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13.5px;
}

.arrow-diag {
  display: inline-block;
  transition: transform 0.2s ease;
  font-size: 1.1em;
}
.btn:hover .arrow-diag {
  transform: translate(2px, -2px);
}

/* ==========================================================================
   FLOATING NAVBAR
   ========================================================================== */
.header-wrapper {
  position: sticky;
  top: 18px;
  z-index: 1000;
  padding: 0 20px;
  margin-bottom: 30px;
}

.navbar-pill {
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.04);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-brand img {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: all 0.2s ease;
}
.nav-links a:hover {
  color: var(--text-main);
}
.nav-links a:hover .dot {
  background: var(--accent-blue);
  transform: scale(1.4);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==========================================================================
   LANGUAGE TOGGLE SWITCHER (ES / EN)
   ========================================================================== */
.lang-toggle-wrapper {
  display: inline-flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1;
  font-family: var(--font-sans);
}

.lang-btn:hover {
  color: var(--text-main);
}

.lang-btn.active {
  background-color: var(--accent-blue);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(29, 100, 242, 0.35);
}

/* Language Visibility Rules */
html[lang="es"] .lang-en {
  display: none !important;
}

html[lang="en"] .lang-es {
  display: none !important;
}

.mobile-lang-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.mobile-lang-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Mobile Hamburger Toggle & Drawer */
.nav-toggle-btn {
  display: none;
  background: transparent;
  border: 1px solid rgba(15, 23, 42, 0.12);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  transition: all 0.25s ease;
  z-index: 1002;
}
.nav-toggle-btn .bar {
  width: 18px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-toggle-btn.active {
  background: var(--dark-bg);
  border-color: var(--dark-bg);
}
.nav-toggle-btn.active .bar {
  background: #ffffff;
}
.nav-toggle-btn.active .bar-1 {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle-btn.active .bar-2 {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle-btn.active .bar-3 {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu-drawer {
  position: absolute;
  top: calc(100% + 12px);
  left: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 26px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
  padding: 24px;
  display: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
}
.mobile-menu-drawer.open {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.mobile-menu-links a {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  transition: all 0.2s ease;
}
.mobile-menu-links a .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-blue);
}
.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 40px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: pulseGreen 2s infinite;
}
@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: clamp(38px, 4.3vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 22px;
  letter-spacing: -0.04em;
  color: #0b0c11;
}

.hero-subtitle {
  font-size: 17.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.metric-item {
  display: flex;
  flex-direction: column;
}
.metric-number {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
}
.metric-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* 3D Visual UpGHL Suite Card */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.upghl-suite-card {
  width: 100%;
  max-width: 440px;
  background: var(--dark-bg);
  border-radius: var(--radius-card);
  border: 1px solid var(--dark-border);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255,255,255,0.05);
  overflow: hidden;
  position: relative;
  transform: perspective(1000px) rotateY(-4deg) rotateX(4deg);
  transition: transform 0.4s ease;
}
.upghl-suite-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.suite-header {
  background: rgba(255, 255, 255, 0.04);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.suite-brand-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}
.suite-brand-title img {
  height: 20px;
}
.suite-live-badge {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--accent-green);
  background: rgba(16, 185, 129, 0.12);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.suite-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* App Modules in the Card */
.suite-module-row {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}
.suite-module-row:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
}

.module-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.module-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.module-icon-box.connect {
  background: rgba(29, 100, 242, 0.2);
  border: 1px solid rgba(29, 100, 242, 0.4);
}
.module-icon-box.chat {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
}
.module-icon-box.ai {
  background: rgba(6, 182, 212, 0.2);
  border: 1px solid rgba(6, 182, 212, 0.4);
}

.module-texts h4 {
  color: #ffffff;
  font-size: 13.5px;
  margin-bottom: 2px;
}
.module-texts p {
  color: var(--dark-text-muted);
  font-size: 11.5px;
}

.module-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.module-badge.active {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.module-badge.soon {
  background: rgba(29, 100, 242, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(29, 100, 242, 0.3);
}

/* Floating Pixel Particles */
.pixel-particle {
  position: absolute;
  border-radius: 6px;
  pointer-events: none;
  animation: floatPixel 4s ease-in-out infinite alternate;
}
.pixel-blue {
  width: 22px;
  height: 22px;
  background: var(--accent-blue);
  top: -15px;
  right: -10px;
  box-shadow: var(--accent-blue-glow);
}
.pixel-green {
  width: 18px;
  height: 18px;
  background: var(--accent-green);
  bottom: 40px;
  right: -20px;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
  animation-delay: 0.8s;
}
.pixel-cyan {
  width: 24px;
  height: 24px;
  background: #06b6d4;
  bottom: -15px;
  left: 20px;
  animation-delay: 1.6s;
}
@keyframes floatPixel {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-14px) rotate(12deg); }
}

/* ==========================================================================
   ECOSYSTEM & PRODUCTS SHOWCASE (Big Cards)
   ========================================================================== */
.ecosystem-section {
  padding: 60px 0 90px;
}

.section-header-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}
.section-header-center h2 {
  font-size: clamp(32px, 3.5vw, 44px);
  margin-bottom: 14px;
}
.section-header-center p {
  font-size: 16.5px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.product-card {
  background: #ffffff;
  border-radius: var(--radius-card-lg);
  border: 1px solid var(--border-card);
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-subtle);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(15, 23, 42, 0.16);
}

.product-card.featured {
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  border-color: rgba(29, 100, 242, 0.25);
}

.product-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}
.product-badge.live {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.product-badge.soon {
  background: var(--accent-blue-light);
  color: var(--accent-blue);
  border: 1px solid rgba(29, 100, 242, 0.25);
}

.product-card h3 {
  font-size: 26px;
  margin-bottom: 12px;
  line-height: 1.2;
}

.product-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.product-features-mini {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.product-features-mini li {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
}
.product-features-mini li strong {
  color: var(--text-main);
}
.check-blue {
  color: var(--accent-blue);
  font-weight: 800;
}
.check-green {
  color: var(--accent-green);
  font-weight: 800;
}

.product-card-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

/* ==========================================================================
   HUB SECTION (White Rounded Card with 4 Diagrams)
   ========================================================================== */
.hub-section {
  padding: 40px 0 80px;
}

.hub-card {
  background: var(--bg-card);
  border-radius: var(--radius-card-lg);
  border: 1px solid var(--border-card);
  padding: 56px;
  box-shadow: var(--shadow-subtle);
}

.hub-header {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: flex-end;
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.hub-title {
  font-size: clamp(28px, 2.8vw, 38px);
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.hub-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.hub-header-right p {
  font-size: 15.5px;
  line-height: 1.55;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.hub-col {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--bg-card-subtle);
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.05);
  transition: all 0.3s ease;
}
.hub-col:hover {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.14);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.diagram-box {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
}

/* Concentric Rings in Blue */
.rings-wrapper {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--accent-blue);
}
.ring-1 { width: 90px; height: 90px; opacity: 0.25; }
.ring-2 { width: 66px; height: 66px; opacity: 0.55; }
.ring-3 { width: 42px; height: 42px; opacity: 0.9; }
.ring-center {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.5);
}

/* UI Switch Diagram */
.toggles-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 140px;
}
.mini-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-pill);
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
}
.mini-pill-dot {
  width: 22px;
  height: 12px;
  border-radius: 10px;
  background: var(--accent-blue);
  position: relative;
}
.mini-pill-dot::after {
  content: '';
  position: absolute;
  right: 2px;
  top: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
}

/* Sonar Wave Diagram */
.sonar-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sonar-wave {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--accent-blue);
  width: 100%;
  height: 100%;
  opacity: 0.3;
  animation: sonarRipple 2.5s infinite linear;
}
.sonar-wave:nth-child(2) {
  animation-delay: 1.25s;
}
.sonar-center-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-green);
  font-size: 15px;
}
@keyframes sonarRipple {
  0% { transform: scale(0.4); opacity: 0.8; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* Tree Hierarchy */
.tree-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.tree-root {
  background: var(--dark-bg);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
}
.tree-lines {
  width: 90px;
  height: 14px;
  border-left: 2px solid rgba(15, 23, 42, 0.2);
  border-right: 2px solid rgba(15, 23, 42, 0.2);
  border-top: 2px solid rgba(15, 23, 42, 0.2);
}
.tree-leaves {
  display: flex;
  gap: 12px;
}
.tree-leaf {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}

.hub-col-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}
.hub-col-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   DISTINCTIVE SECTION (Numbered List + Orbital Radar in Blue)
   ========================================================================== */
.distinctive-section {
  padding: 60px 0 100px;
}

.distinctive-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.distinctive-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}

.distinctive-title {
  font-size: clamp(32px, 3.5vw, 46px);
  margin-bottom: 36px;
  letter-spacing: -0.04em;
}

.numbered-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.numbered-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--border-card);
  padding: 20px 24px;
  transition: all 0.25s ease;
}
.numbered-item:hover {
  transform: translateX(6px);
  border-color: rgba(15, 23, 42, 0.16);
  box-shadow: var(--shadow-subtle);
}

.num-pill {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--accent-blue);
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(29, 100, 242, 0.3);
}

.item-content h4 {
  font-size: 16.5px;
  margin-bottom: 4px;
  color: var(--text-main);
}
.item-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Radar Orbital in UpGHL Colors */
.orbital-radar-box {
  width: 100%;
  max-width: 440px;
  height: 440px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(29, 100, 242, 0.2);
}
.orbit-1 { width: 420px; height: 420px; }
.orbit-2 { width: 300px; height: 300px; }
.orbit-3 { width: 180px; height: 180px; }

.orbit-center-core {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--dark-bg);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 12px;
  z-index: 5;
  border: 2px solid rgba(29, 100, 242, 0.4);
}
.orbit-center-core img {
  height: 32px;
  width: auto;
  margin-bottom: 2px;
}

.satellite {
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 11px;
  box-shadow: var(--shadow-subtle);
  animation: floatSat 4s ease-in-out infinite alternate;
}
.sat-1 {
  width: 54px;
  height: 54px;
  background: var(--accent-blue);
  color: #ffffff;
  top: 30px;
  left: 60px;
}
.sat-2 {
  width: 48px;
  height: 48px;
  background: var(--accent-green);
  color: #ffffff;
  bottom: 40px;
  right: 50px;
  animation-delay: 1.5s;
}
.sat-3 {
  width: 44px;
  height: 44px;
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid rgba(15, 23, 42, 0.12);
  top: 50%;
  right: -5px;
  animation-delay: 0.8s;
}
@keyframes floatSat {
  0% { transform: translateY(0px) scale(1); }
  100% { transform: translateY(-8px) scale(1.05); }
}

/* ==========================================================================
   ROADMAP SECTION
   ========================================================================== */
.roadmap-section {
  padding: 60px 0 90px;
  background: #ebedf2;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.roadmap-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-card);
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-subtle);
  transition: all 0.25s ease;
}
.roadmap-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.roadmap-phase {
  font-size: 12px;
  font-weight: 800;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.roadmap-status-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.roadmap-status-badge.live {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green-dark);
}
.roadmap-status-badge.progress {
  background: rgba(29, 100, 242, 0.15);
  color: var(--accent-blue);
}

.roadmap-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}
.roadmap-card p {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* ==========================================================================
   FOOTER (Deep Black with Curved Cutout)
   ========================================================================== */
.footer-curved {
  background: var(--dark-bg);
  color: #ffffff;
  border-top-left-radius: 48px;
  border-top-right-radius: 48px;
  padding: 80px 0 40px;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

.footer-curved::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(29, 100, 242, 0.5), transparent);
}

.footer-cta-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card-lg);
  padding: 50px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 70px;
}

.footer-cta-left h3 {
  color: #ffffff;
  font-size: clamp(26px, 2.5vw, 36px);
  margin-bottom: 10px;
}
.footer-cta-left p {
  color: var(--dark-text-muted);
  font-size: 15.5px;
}

.footer-newsletter-pill {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: var(--radius-pill);
  padding: 6px;
  max-width: 440px;
  width: 100%;
}
.footer-newsletter-pill input {
  flex-grow: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 0 18px;
  font-size: 14.5px;
  color: var(--text-main);
  font-family: var(--font-sans);
}
.footer-newsletter-pill input::placeholder {
  color: var(--text-muted);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-col-brand img {
  height: 38px;
  width: auto;
  margin-bottom: 16px;
}
.footer-col-brand p {
  color: var(--dark-text-muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h5 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col ul a {
  color: var(--dark-text-muted);
  font-size: 14px;
}
.footer-col ul a:hover {
  color: #60a5fa;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--dark-text-muted);
}

.system-status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}
.system-status-indicator .status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-green);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Tablets & Mobile)
   ========================================================================== */
@media (max-width: 960px) {
  .nav-links {
    display: none;
  }
  .nav-toggle-btn {
    display: flex;
  }
  .btn-login-desktop {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-metrics {
    justify-content: center;
  }
  .upghl-suite-card {
    transform: none !important;
    margin: 0 auto;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .hub-header {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
  .hub-header-right {
    align-items: center;
    text-align: center;
  }
  .hub-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .distinctive-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .roadmap-grid {
    grid-template-columns: 1fr;
  }
  .footer-cta-card {
    flex-direction: column;
    text-align: center;
    padding: 36px 24px;
  }
  .footer-main-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100%;
  }
  .container {
    padding: 0 18px;
  }
  .header-wrapper {
    padding: 0 12px;
    top: 10px;
    margin-bottom: 20px;
  }
  .navbar-pill {
    padding: 8px 14px;
  }
  .nav-brand img {
    height: 28px;
  }

  .hero-section {
    padding: 24px 0 44px;
  }
  .hero-title {
    font-size: clamp(29px, 8vw, 42px);
  }
  .hero-subtitle {
    font-size: 15.5px;
    margin-bottom: 28px;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding-top: 20px;
    text-align: center;
  }
  .metric-number {
    font-size: 18px;
  }
  .metric-label {
    font-size: 10.5px;
  }

  .upghl-suite-card {
    max-width: 100%;
    border-radius: 20px;
    transform: none !important;
  }
  .pixel-particle {
    display: none;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .product-card {
    padding: 28px 20px;
  }
  .product-card h3 {
    font-size: 22px;
  }

  .hub-section {
    padding: 30px 0 60px;
  }
  .hub-card {
    padding: 28px 18px;
    border-radius: 24px;
  }
  .hub-title {
    font-size: 24px;
  }
  .hub-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .distinctive-section {
    padding: 40px 0 70px;
  }
  .distinctive-title {
    font-size: clamp(26px, 7vw, 36px);
  }
  .numbered-item {
    padding: 16px;
    gap: 14px;
  }
  .num-pill {
    width: 32px;
    height: 32px;
    min-width: 32px;
    font-size: 14px;
  }

  /* Radar Orbital móvil */
  .orbital-radar-box {
    width: 290px;
    height: 290px;
    max-width: 100%;
    margin: 20px auto 0;
  }
  .orbit-1 { width: 280px; height: 280px; }
  .orbit-2 { width: 195px; height: 195px; }
  .orbit-3 { width: 115px; height: 115px; }
  .orbit-center-core {
    width: 68px;
    height: 68px;
    font-size: 10px;
  }
  .orbit-center-core img {
    height: 22px;
  }
  .sat-1 {
    width: 40px;
    height: 40px;
    font-size: 9.5px;
    top: 18px;
    left: 36px;
  }
  .sat-2 {
    width: 36px;
    height: 36px;
    font-size: 9.5px;
    bottom: 22px;
    right: 32px;
  }
  .sat-3 {
    width: 32px;
    height: 32px;
    font-size: 9px;
    top: 48%;
    right: 0px;
  }

  .roadmap-section {
    padding: 40px 0 60px;
  }
  .roadmap-card {
    padding: 24px 20px;
  }

  .footer-curved {
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
    padding: 50px 0 30px;
  }
  .footer-cta-card {
    padding: 28px 18px;
    border-radius: 22px;
    gap: 20px;
  }
  .footer-newsletter-pill {
    flex-direction: column;
    background: transparent;
    padding: 0;
    gap: 10px;
    width: 100%;
  }
  .footer-newsletter-pill input {
    background: #ffffff;
    border-radius: var(--radius-pill);
    height: 46px;
    width: 100%;
    padding: 0 18px;
  }
  .footer-newsletter-pill button {
    width: 100%;
    height: 46px;
    justify-content: center;
  }
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .header-wrapper {
    padding: 0 8px;
    top: 8px;
  }
  .navbar-pill {
    padding: 6px 12px;
  }
  .nav-brand img {
    height: 24px;
  }
  .nav-cta {
    gap: 6px;
  }
  .lang-btn {
    padding: 4px 7px;
    font-size: 11px;
  }
  .btn-header-cta {
    padding: 6px 12px;
    font-size: 12px;
  }
}

@media (max-width: 400px) {
  .orbital-radar-box {
    width: 250px;
    height: 250px;
  }
  .orbit-1 { width: 240px; height: 240px; }
  .orbit-2 { width: 165px; height: 165px; }
  .orbit-3 { width: 95px; height: 95px; }
  .orbit-center-core {
    width: 58px;
    height: 58px;
    font-size: 9px;
  }
  .orbit-center-core img {
    height: 18px;
  }
  .sat-1 {
    width: 34px;
    height: 34px;
    font-size: 8.5px;
    top: 14px;
    left: 28px;
  }
  .sat-2 {
    width: 32px;
    height: 32px;
    font-size: 8.5px;
    bottom: 18px;
    right: 24px;
  }
  .sat-3 {
    width: 28px;
    height: 28px;
    font-size: 8px;
    right: -4px;
  }
}

@media (max-width: 380px) {
  .btn-header-cta {
    display: none;
  }
}
