/* ==========================================================================
   SYNAPSE AI TECHNOLOGIES & M31 AI SUITE — OFFICIAL STYLESHEET
   Brand Palette:
   - Black:        #000000 (Pantone Black 6 C)
   - Deep Purple:  #493395 (Pantone 2104 C)
   - Vivid Violet: #7342F3 (Pantone 2665 C)
   - Indigo Blue:  #5765F4 (Pantone 2130 C)
   - Bright Blue:  #3A88F6 (Pantone 2727 C)
   - Luminous Cyan:#00CDF9 (Pantone 3545 C)
   - White:        #FFFFFF (Pantone 000 C)
   Typography:
   - Primary (Headings): 'Sora', sans-serif
   - Secondary (Body):   'Inter', sans-serif
   ========================================================================== */

:root {
  --syn-black: #000000;
  --syn-bg-deep: #04040c;
  --syn-bg-dark: #070716;
  --syn-purple-deep: #493395;
  --syn-violet: #7342F3;
  --syn-indigo: #5765F4;
  --syn-blue: #3A88F6;
  --syn-cyan: #00CDF9;
  --syn-white: #FFFFFF;

  --syn-gradient-main: linear-gradient(135deg, #493395 0%, #7342F3 28%, #5765F4 55%, #3A88F6 78%, #00CDF9 100%);
  --syn-gradient-vibrant: linear-gradient(90deg, #7342F3 0%, #5765F4 45%, #00CDF9 100%);
  --syn-gradient-text: linear-gradient(95deg, #FFFFFF 0%, #b8c2ff 35%, #5765F4 68%, #00CDF9 100%);
  --syn-gradient-cyan-violet: linear-gradient(135deg, #00CDF9 0%, #3A88F6 50%, #7342F3 100%);

  --glass-bg: rgba(16, 14, 38, 0.58);
  --glass-bg-strong: rgba(20, 17, 48, 0.82);
  --glass-bg-light: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.13);
  --glass-border-highlight: rgba(0, 205, 249, 0.48);
  --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.58), inset 0 1px 1px rgba(255, 255, 255, 0.14);

  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-condensed: 'Barlow Condensed', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--syn-bg-deep);
  color: var(--syn-white);
}

body {
  font-family: var(--font-body);
  background-color: var(--syn-bg-deep);
  color: rgba(255, 255, 255, 0.88);
  overflow-x: hidden;
  position: relative;
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6, .font-sora {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  color: var(--syn-white);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #04040c;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--syn-violet), var(--syn-cyan));
  border-radius: 5px;
}

/* ==========================================================================
   AMBIENT BACKGROUND, NEURAL CANVAS & FLOATING ORBS
   ========================================================================== */
#neural-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.62;
}

.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(115, 66, 243, 0.22) 0%, transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(0, 205, 249, 0.18) 0%, transparent 38%),
    radial-gradient(circle at 75% 65%, rgba(73, 51, 149, 0.26) 0%, transparent 48%),
    radial-gradient(circle at 20% 82%, rgba(58, 136, 246, 0.16) 0%, transparent 42%),
    linear-gradient(180deg, #020208 0%, #070618 50%, #03030a 100%);
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(95px);
  opacity: 0.42;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.ambient-orb.orb-1 {
  width: 520px;
  height: 520px;
  background: var(--syn-violet);
  top: -120px;
  left: -140px;
}

.ambient-orb.orb-2 {
  width: 460px;
  height: 460px;
  background: var(--syn-cyan);
  top: 22%;
  right: -140px;
  animation-delay: -6s;
  animation-duration: 22s;
}

.ambient-orb.orb-3 {
  width: 580px;
  height: 580px;
  background: var(--syn-purple-deep);
  bottom: 8%;
  left: 18%;
  animation-delay: -11s;
  animation-duration: 25s;
}

/* HUD Cybernetic Rings Decoration */
.hud-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(0, 205, 249, 0.16);
  pointer-events: none;
  z-index: 0;
  animation: spinSlow 50s linear infinite;
}
.hud-ring::before {
  content: '';
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 1px solid rgba(115, 66, 243, 0.15);
}
.hud-ring-hero {
  width: 680px;
  height: 680px;
  top: -180px;
  right: -220px;
}
.hud-ring-left {
  width: 540px;
  height: 540px;
  bottom: -160px;
  left: -200px;
  animation-direction: reverse;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(45px, -35px) scale(1.08); }
  100% { transform: translate(-30px, 40px) scale(0.94); }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Ensure main content sits above background canvas, while navbar stays on top */
#navbar-component {
  position: relative;
  z-index: 1055;
}

header, section, footer, #footer-component, .modal {
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   GLASSMORPHISM DESIGN SYSTEM
   ========================================================================== */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(22px) saturate(165%);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease,
              box-shadow 0.4s ease;
}

/* Dynamic cursor spotlight overlay on glass cards */
.glass-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    550px circle at var(--mouse-x, 50%) var(--mouse-y, 0%),
    rgba(0, 205, 249, 0.11),
    rgba(115, 66, 243, 0.06) 40%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.glass-panel:hover::before {
  opacity: 1;
}

.glass-panel > * {
  position: relative;
  z-index: 1;
}

.glass-card-hover:hover {
  transform: translateY(-7px);
  border-color: var(--glass-border-highlight);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.68),
              0 0 28px rgba(0, 205, 249, 0.18),
              inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   TYPOGRAPHY & BADGES
   ========================================================================== */
.text-gradient {
  background: var(--syn-gradient-vibrant);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(90deg, #FFFFFF 0%, #00CDF9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-cyan {
  color: var(--syn-cyan) !important;
}

.text-violet {
  color: var(--syn-violet) !important;
}

.text-indigo {
  color: var(--syn-indigo) !important;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 1.05rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--syn-cyan);
  background: rgba(0, 205, 249, 0.1);
  border: 1px solid rgba(0, 205, 249, 0.32);
  box-shadow: 0 0 20px rgba(0, 205, 249, 0.14);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--syn-cyan);
  box-shadow: 0 0 10px var(--syn-cyan);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.45); opacity: 0.55; }
}

/* ==========================================================================
   NAVBAR GLASS & HOVER DROPDOWN FOR M31 AI SUITE
   ========================================================================== */
.navbar-synapse {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1055 !important;
  padding: 0.85rem 0;
  transition: all 0.35s ease;
  background: rgba(5, 5, 18, 0.72);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.navbar-synapse.scrolled {
  padding: 0.55rem 0;
  background: rgba(6, 5, 20, 0.92);
  border-bottom-color: rgba(0, 205, 249, 0.28);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7);
}

.navbar-brand img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(0, 205, 249, 0.25));
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.04);
}

.navbar-actions { flex-shrink: 0; }
.navbar-actions .btn-synapse, .navbar-actions .btn-glass { font-size: .82rem; padding: .65rem 1.1rem; white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .navbar-synapse .nav-link { font-size: .8rem; padding-inline: .6rem !important; }
  .navbar-actions .btn-synapse, .navbar-actions .btn-glass { font-size: .78rem; padding-inline: .9rem; }
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82) !important;
  padding: 0.52rem 0.95rem !important;
  border-radius: 10px;
  transition: all 0.25s ease;
}

.nav-link:hover,
.nav-link.active,
.nav-item.dropdown:hover > .nav-link {
  color: var(--syn-cyan) !important;
  background: rgba(0, 205, 249, 0.1);
}

/* Rotate caret smoothly when hovering or open */
.nav-item.dropdown .dropdown-toggle::after {
  transition: transform 0.25s ease;
  vertical-align: 0.18em;
}

.nav-item.dropdown:hover .dropdown-toggle::after,
.nav-item.dropdown.show .dropdown-toggle::after {
  transform: rotate(180deg);
  color: var(--syn-cyan);
}

/* Glassmorphic Dropdown Menu */
.dropdown-menu-glass {
  background: rgba(10, 9, 28, 0.96);
  backdrop-filter: blur(26px) saturate(185%);
  -webkit-backdrop-filter: blur(26px) saturate(185%);
  border: 1px solid rgba(0, 205, 249, 0.38);
  border-radius: 18px;
  padding: 0.7rem;
  box-shadow: 0 26px 65px rgba(0, 0, 0, 0.85), 0 0 30px rgba(115, 66, 243, 0.25);
  min-width: 330px;
  margin-top: 0.35rem !important;
}

/* Invisible hover bridge so moving cursor from button to dropdown never closes it */
.dropdown-menu-glass::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

/* Desktop Hover Deployment for M31 AI Suite Dropdown */
@media (min-width: 1200px) {
  .navbar-synapse .nav-item.dropdown {
    position: relative;
  }

  .navbar-synapse .nav-item.dropdown > .dropdown-menu-glass {
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.24s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.24s ease;
  }

  .navbar-synapse .nav-item.dropdown:hover > .dropdown-menu-glass,
  .navbar-synapse .nav-item.dropdown:focus-within > .dropdown-menu-glass,
  .navbar-synapse .nav-item.dropdown.hover-open > .dropdown-menu-glass,
  .navbar-synapse .nav-item.dropdown > .dropdown-menu-glass.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
}

.dropdown-menu-glass .dropdown-item {
  color: rgba(255, 255, 255, 0.88);
  border-radius: 12px;
  padding: 0.58rem 0.85rem;
  font-size: 0.86rem;
  transition: all 0.22s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.dropdown-menu-glass .dropdown-item:hover,
.dropdown-menu-glass .dropdown-item.active {
  background: linear-gradient(90deg, rgba(115, 66, 243, 0.3), rgba(0, 205, 249, 0.2));
  color: var(--syn-cyan);
  transform: translateX(4px);
}

.dropdown-menu-glass .dropdown-divider {
  border-top-color: rgba(255, 255, 255, 0.12);
  margin: 0.45rem 0;
}

.dropdown-agent-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(0, 205, 249, 0.35));
}

/* ==========================================================================
   HERO & INNER PAGE HEADERS
   ========================================================================== */
.hero-section {
  padding-top: 7.5rem;
  padding-bottom: 4.5rem;
  min-height: 92vh;
  display: flex;
  align-items: center;
}

.page-hero {
  padding-top: 7.5rem;
  padding-bottom: 3.25rem;
  position: relative;
}

.breadcrumb-glass {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  margin-bottom: 1.25rem;
}

.breadcrumb-glass a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-glass a:hover {
  color: var(--syn-cyan);
}

.hero-title {
  font-size: clamp(2.25rem, 4.2vw, 3.65rem);
  font-weight: 800;
  line-height: 1.13;
  margin-bottom: 1.35rem;
}

.hero-quote-box {
  border-left: 3px solid var(--syn-cyan);
  background: linear-gradient(90deg, rgba(0, 205, 249, 0.11) 0%, transparent 100%);
  padding: 0.85rem 1.25rem;
  border-radius: 0 14px 14px 0;
  margin-bottom: 1.65rem;
}

.stat-glass {
  padding: 1.05rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  height: 100%;
}

.stat-glass:hover {
  border-color: rgba(0, 205, 249, 0.42);
  background: rgba(0, 205, 249, 0.07);
  transform: translateY(-3px);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.1;
  background: var(--syn-gradient-vibrant);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-synapse {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--syn-white);
  background: var(--syn-gradient-main);
  background-size: 200% auto;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  box-shadow: 0 8px 25px rgba(115, 66, 243, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  transition: all 0.35s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
}

.btn-synapse:hover {
  background-position: right center;
  color: var(--syn-white);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 205, 249, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.45);
}

.btn-glass {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--syn-white);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.7rem 1.55rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
}

.btn-glass:hover,
.btn-glass.active {
  color: var(--syn-cyan);
  background: rgba(0, 205, 249, 0.14);
  border-color: var(--syn-cyan);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 205, 249, 0.22);
}

/* ==========================================================================
   M31 HUB CARD & OFFICIAL AGENT LOGOS
   ========================================================================== */
.m31-hub-card {
  padding: 1.85rem;
  border-radius: 26px;
  background: linear-gradient(155deg, rgba(22, 18, 54, 0.76) 0%, rgba(8, 8, 24, 0.86) 100%);
  border: 1px solid rgba(0, 205, 249, 0.3);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.7), 0 0 40px rgba(115, 66, 243, 0.22);
}

.agent-pill-node {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.72rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: var(--syn-white);
}

.agent-pill-node:hover {
  background: rgba(0, 205, 249, 0.13);
  border-color: var(--syn-cyan);
  transform: translateX(6px);
  color: var(--syn-white);
}

.agent-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(7, 6, 22, 0.85);
  border: 1px solid rgba(0, 205, 249, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  flex-shrink: 0;
}

.agent-icon-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0, 205, 249, 0.3));
}

/* Official Agent Logo Showcase Box inside Cards & Hero */
.agent-logo-box {
  background: linear-gradient(145deg, rgba(6, 5, 20, 0.86), rgba(18, 15, 44, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.1rem 1.35rem;
  margin-bottom: 1.15rem;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

.agent-logo-img {
  max-width: 100%;
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 16px rgba(0, 205, 249, 0.24));
  transition: transform 0.35s ease, filter 0.35s ease;
}

.glass-card-hover:hover .agent-logo-img {
  transform: scale(1.04);
  filter: drop-shadow(0 6px 22px rgba(0, 205, 249, 0.42));
}

.agent-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.75rem;
}

.agent-price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
  padding: 0.36rem 0.9rem;
  border-radius: 999px;
  background: rgba(0, 205, 249, 0.12);
  border: 1px solid rgba(0, 205, 249, 0.38);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--syn-cyan);
}

.ecosystem-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  background: rgba(58, 136, 246, 0.16);
  border: 1px solid rgba(58, 136, 246, 0.42);
  color: #a6cbff;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Feature Check Lists */
.feature-check-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.feature-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.feature-check-list li i {
  color: var(--syn-cyan);
  font-size: 1rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

/* ==========================================================================
   INTERACTIVE LIVE DEMO SIMULATOR (PROMPT-ONLY)
   ========================================================================== */
.simulator-window {
  border-radius: 24px;
  background: rgba(10, 9, 26, 0.86);
  border: 1px solid rgba(0, 205, 249, 0.32);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.75), 0 0 45px rgba(87, 101, 244, 0.18);
  overflow: hidden;
}

.simulator-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  background: linear-gradient(90deg, rgba(73, 51, 149, 0.65), rgba(58, 136, 246, 0.38), rgba(0, 205, 249, 0.25));
  padding: 0.9rem 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.window-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}
.dot-red { background: #ff5f56; box-shadow: 0 0 8px rgba(255, 95, 86, 0.55); }
.dot-yellow { background: #ffbd2e; box-shadow: 0 0 8px rgba(255, 189, 46, 0.55); }
.dot-green { background: #27c93f; box-shadow: 0 0 8px rgba(39, 201, 63, 0.55); }

.simulator-sidebar {
  padding: 1.35rem;
  background: rgba(6, 5, 18, 0.76);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 991.98px) {
  .simulator-sidebar {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

.sim-agent-btn {
  width: 100%;
  text-align: left;
  padding: 0.72rem 0.95rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  cursor: pointer;
}

.sim-agent-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(0, 205, 249, 0.35);
  color: #fff;
}

.sim-agent-btn.active {
  background: linear-gradient(135deg, rgba(115, 66, 243, 0.38), rgba(0, 205, 249, 0.24));
  border-color: var(--syn-cyan);
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 205, 249, 0.22);
}

.simulator-chat-area,
.chat-messages-area {
  min-height: 330px;
  max-height: 410px;
  overflow-y: auto;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgba(5, 5, 15, 0.6);
}

.chat-bubble {
  max-width: 88%;
  padding: 0.95rem 1.2rem;
  border-radius: 18px;
  font-size: 0.92rem;
  line-height: 1.55;
  animation: fadeInUp 0.32s ease forwards;
}

.chat-bubble-user {
  align-self: flex-end;
  background: var(--syn-gradient-main);
  color: var(--syn-white);
  border-bottom-right-radius: 4px;
  box-shadow: 0 8px 20px rgba(115, 66, 243, 0.32);
}

.chat-bubble-ai {
  align-self: flex-start;
  background: rgba(22, 20, 52, 0.92);
  border: 1px solid rgba(0, 205, 249, 0.3);
  color: rgba(255, 255, 255, 0.95);
  border-bottom-left-radius: 4px;
}

.quick-prompt-chip {
  font-size: 0.81rem;
  padding: 0.48rem 0.9rem;
  border-radius: 12px;
  background: rgba(0, 205, 249, 0.09);
  border: 1px solid rgba(0, 205, 249, 0.32);
  color: #d4f7ff;
  cursor: pointer;
  transition: all 0.22s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.quick-prompt-chip:hover {
  background: rgba(0, 205, 249, 0.22);
  border-color: var(--syn-cyan);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 205, 249, 0.2);
}

/* ==========================================================================
   PRE-BUILT QUERIES CATALOG (CONSULTAS PREFABRICADAS)
   ========================================================================== */
.query-item-card {
  padding: 1rem 1.15rem;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.038);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: all 0.25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.query-item-card:hover {
  background: rgba(87, 101, 244, 0.13);
  border-color: var(--syn-cyan);
  transform: translateY(-3px);
}

.query-code-badge {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: rgba(0, 205, 249, 0.15);
  color: var(--syn-cyan);
  border: 1px solid rgba(0, 205, 249, 0.35);
}

/* ==========================================================================
   LICENSING MATRIX TABLE (.table-synapse & .table-glass)
   ========================================================================== */
.table-synapse,
.table-glass {
  --bs-table-bg: transparent !important;
  --bs-table-color: #ffffff !important;
  --bs-table-border-color: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 0;
  color: #fff;
}

.table-synapse thead th,
.table-glass thead th {
  background: linear-gradient(180deg, rgba(87, 101, 244, 0.28), rgba(73, 51, 149, 0.28)) !important;
  color: var(--syn-white) !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(0, 205, 249, 0.38) !important;
  padding: 1rem 0.9rem;
}

.table-synapse tbody td,
.table-glass tbody td {
  background: transparent !important;
  padding: 0.95rem 0.9rem;
  vertical-align: middle;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

.table-synapse tbody tr:hover td,
.table-glass tbody tr:hover td {
  background: rgba(0, 205, 249, 0.06) !important;
}

/* ==========================================================================
   IMPLEMENTATION METHODOLOGY STEPS & SWATCH PILLS
   ========================================================================== */
.timeline-step-card,
.methodology-step {
  position: relative;
  padding: 1.75rem 1.5rem;
  border-radius: 20px;
  height: 100%;
  transition: all 0.35s ease;
}

.timeline-step-card:hover,
.methodology-step:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-highlight);
}

.step-badge-num,
.step-number-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 0.9rem;
  background: var(--syn-gradient-main);
  color: #fff;
  box-shadow: 0 6px 18px rgba(115, 66, 243, 0.45);
}

/* Pantone Swatch Pills on Nosotros Page */
.swatch-pill {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.swatch-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

/* ==========================================================================
   PARTNER TIERS (GOLD, SILVER, BRONZE)
   ========================================================================== */
.partner-tier-card {
  padding: 1.9rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tier-gold {
  border-color: rgba(255, 206, 68, 0.48) !important;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.6), 0 0 35px rgba(255, 193, 7, 0.14);
}
.tier-silver {
  border-color: rgba(200, 214, 229, 0.42) !important;
}
.tier-bronze {
  border-color: rgba(225, 142, 86, 0.45) !important;
}

/* ==========================================================================
   FORM CONTROLS GLASS
   ========================================================================== */
.form-control-glass,
.form-select-glass {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 12px !important;
  color: var(--syn-white) !important;
  padding: 0.78rem 1rem !important;
  font-size: 0.94rem;
  transition: all 0.25s ease;
}

.form-control-glass::placeholder {
  color: rgba(255, 255, 255, 0.45) !important;
}

.form-control-glass:focus,
.form-select-glass:focus {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: var(--syn-cyan) !important;
  box-shadow: 0 0 0 3px rgba(0, 205, 249, 0.2) !important;
  color: var(--syn-white) !important;
}

.form-select-glass option {
  background-color: #0d0c24;
  color: #ffffff;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Official Bottom Gradient Strip from M31 Slides */
.m31-gradient-bar {
  height: 5px;
  width: 100%;
  background: linear-gradient(90deg, #1b1447 0%, #493395 22%, #7342F3 45%, #5765F4 65%, #3A88F6 82%, #00CDF9 100%);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 6.8rem;
    text-align: center;
  }
  .hero-quote-box {
    text-align: left;
  }
  .simulator-chat-area,
  .chat-messages-area {
    min-height: 290px;
  }
}

/* Official M31 assets: frame the square logo around its central artwork. */
.m31-suite-logo {
  display: block;
  width: min(100%, 280px);
  height: auto;
  aspect-ratio: 2.15 / 1;
  object-fit: cover;
  object-position: center;
  flex-shrink: 1;
  min-width: 0;
}
.m31-hub-card .m31-suite-logo {
  width: min(58%, 240px);
}
.page-hero .m31-suite-logo {
  margin-inline: auto;
}
.partner-tier-insignia {
  display: block;
  width: min(100%, 160px);
  height: auto;
  align-self: center;
  margin: 0 auto 1.5rem;
  object-fit: contain;
}

/* Synapse portfolio: shared brand, broader business capabilities. */
.agent-plan { display: flex; flex-direction: column; gap: .4rem; padding: 1rem; border: 1px solid rgba(58,136,246,.22); border-radius: 8px; background: rgba(255,255,255,.025); }
.agent-plan-label, .agent-plan-annual, .agent-annual-note { color: #b6bed1; font-size: .75rem; }
.agent-plan strong { color: #f1f4ff; font-size: .9rem; }
.agent-annual-note { align-self: center; }
.cursor-glow { position: fixed; top: 0; left: 0; width: 220px; height: 220px; z-index: 1040; pointer-events: none; border-radius: 50%; opacity: 0; background: radial-gradient(circle, rgba(0,205,249,.13) 0%, rgba(115,66,243,.065) 32%, transparent 70%); will-change: transform; }
.cursor-glow.visible { opacity: 1; }
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) { .cursor-glow { display: none; } }
.navbar-synapse > .container { position: relative; }
.navbar-synapse .nav-item.solutions-dropdown { position: static; }
.solutions-menu {
  width: 100%;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: .85rem;
  padding: 1.5rem;
  border: 1px solid rgba(0,205,249,.28);
  border-radius: 18px;
  background: rgba(10,9,28,.98);
  box-shadow: 0 24px 65px rgba(0,0,0,.6);
  color: white;
}
.solutions-menu-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
.solutions-menu-column { display: flex; flex-direction: column; min-width: 0; padding: .5rem 1.25rem; }
.solutions-menu-column + .solutions-menu-column { border-left: 1px solid rgba(255,255,255,.1); }
.solutions-menu-heading { display: flex; align-items: center; gap: .65rem; color: white; font-family: var(--font-heading); font-size: .95rem; font-weight: 600; text-decoration: none; margin-bottom: 1rem; }
.solutions-menu-heading i { color: var(--syn-cyan); font-size: 1.3rem; }
.solutions-menu-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.solutions-menu-list a { display: block; color: #abb5d0; text-decoration: none; font-size: .82rem; padding: .4rem 0; }
.solutions-menu a:hover, .solutions-menu a.active { color: var(--syn-cyan); }
.solutions-menu-cta { display: flex; align-items: center; gap: .5rem; margin-top: auto; padding-top: .75rem; color: var(--syn-cyan); text-decoration: none; font-size: .78rem; font-weight: 600; }
.solutions-menu a:focus-visible, #solutionsDropdown:focus-visible { outline: 2px solid var(--syn-cyan); outline-offset: 4px; border-radius: 3px; }
.solutions-menu::before { content: ''; position: absolute; inset: -16px 0 auto; height: 16px; }
@media (min-width: 1200px) {
  .navbar-synapse .solutions-menu { top: calc(100% + .85rem); margin-top: 0; }
}
.home-banners { padding-top: 7rem; }
.banner-carousel { border: 1px solid rgba(0,205,249,.24); border-radius: 20px; overflow: hidden; background: #080b1b; }
.banner-carousel .carousel-item img { width: 100%; height: auto; aspect-ratio: 16 / 5; object-fit: cover; }
.banner-carousel .carousel-control-prev, .banner-carousel .carousel-control-next { width: 6%; min-width: 32px; }
.banner-carousel .carousel-indicators { margin-bottom: .65rem; }
.banner-carousel .carousel-indicators button { width: 24px; }
.home-banners + .portfolio-hero { padding-top: 3.5rem; min-height: auto; }
.page-banner { padding: 0 0 1.5rem; }
.page-banner-frame { overflow: hidden; border: 1px solid rgba(0,205,249,.2); border-radius: 14px; background: #0b1025; }
.page-banner img { display: block; width: 100%; height: auto; aspect-ratio: 80 / 9; object-fit: cover; }
@media (max-width: 1199.98px) {
  #navbarMain { max-height: calc(100dvh - 90px); overflow-y: auto; overscroll-behavior: contain; }
  .solutions-menu { margin: .5rem 0; padding: .75rem; }
  .solutions-menu-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem 0; }
  .solutions-menu-column:nth-child(3) { border-left: 0; }
  .solutions-menu-column { padding: .5rem .75rem; }
}
@media (max-width: 575.98px) {
  .solutions-menu-grid { grid-template-columns: minmax(0,1fr); gap: 0; }
  .solutions-menu-column + .solutions-menu-column { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1rem; margin-top: 1rem; }
  .home-banners { padding-top: 6.25rem; }
  .banner-carousel { border-radius: 12px; }
  .banner-carousel .carousel-indicators { margin-bottom: .2rem; }
  .banner-carousel .carousel-control-prev-icon, .banner-carousel .carousel-control-next-icon { width: 1rem; }
  .home-banners + .portfolio-hero { padding-top: 2.5rem; }
  .page-banner img { min-height: 80px; object-position: left center; }
}
.portfolio-home main { position: relative; z-index: 2; }
.solution-page main { position: relative; z-index: 2; }
.solution-page-title, .solution-page-intro { max-width: 870px; }
.solution-breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .8rem; color: #a9b5cc; margin-bottom: 1.5rem; }
.solution-breadcrumb a { color: var(--syn-cyan); text-decoration: none; }
.solution-scenario { list-style: none; padding: 0; margin: 0; }
.solution-scenario li { display: flex; gap: 1.25rem; align-items: baseline; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.solution-scenario p { margin: 0; color: #b8c2da; }
.solution-scenario-number { font-family: var(--font-heading); font-size: .8rem; color: var(--syn-cyan); }
.solution-requirements { padding-left: 1.2rem; color: #c5cee2; }
.solution-requirements li { margin-bottom: .75rem; }
.solution-related { display: flex; flex-wrap: wrap; gap: .75rem; }
.solution-related a { border: 1px solid var(--glass-border); border-radius: 10px; padding: .65rem 1rem; font-size: .85rem; color: #d7e2f5; text-decoration: none; }
.solution-related a:hover { border-color: var(--syn-cyan); color: var(--syn-cyan); }
.compact-footer { padding: 2rem 0 1rem; background: #05050e; border-top: 1px solid rgba(0,205,249,.25); }
.compact-footer img { max-width: 100%; height: auto; }
.compact-footer a { font-size: .78rem; text-decoration: none; color: #aebbd2; }
.compact-footer a:hover { color: var(--syn-cyan); }
.compact-footer h2 { font-size: .82rem; margin-bottom: .75rem; }
.compact-footer-links { display: flex; flex-direction: column; gap: .3rem; padding: 0; margin: 0; list-style: none; }
.compact-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: .75rem; margin-top: 1.25rem; font-size: .7rem; color: #7f8ca5; }
.footer-contact-list { display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; }
.footer-phone-links { display: inline-flex; flex-wrap: wrap; align-items: center; font-size: .78rem; }
.contact-phone-link { transition: color .2s ease; }
.contact-phone-link:hover { color: var(--syn-cyan) !important; }
.compact-footer .footer-privacy-link { display: inline-block; margin-inline-start: 1rem; text-decoration: underline; text-underline-offset: .2em; }
.privacy-container { max-width: 1280px; }
.privacy-hero { overflow: hidden; background: radial-gradient(ellipse at 90% 20%, rgba(115,66,243,.19), transparent 60%); padding-bottom: 3.5rem; }
.privacy-eyebrow { color: var(--syn-cyan); font-size: .72rem; font-weight: 700; letter-spacing: .16em; margin-bottom: 1rem; }
.privacy-hero h1 { max-width: 870px; line-height: 1.2; margin-bottom: 1.25rem; }
.privacy-lead { max-width: 740px; font-size: 1.1rem; color: #b9c4d8; margin-bottom: 1.75rem; }
.privacy-meta { display: flex; flex-wrap: wrap; gap: .6rem; }
.privacy-meta span { border: 1px solid rgba(115,66,243,.35); background: rgba(115,66,243,.08); border-radius: 2rem; padding: .4rem .85rem; color: #c7cee2; font-size: .7rem; }
.privacy-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 3.5rem; align-items: start; padding-top: 3rem; padding-bottom: 4rem; }
.privacy-sidebar { position: sticky; top: 105px; }
.privacy-index { border: 1px solid var(--glass-border); background: var(--glass-bg); border-radius: 1rem; overflow: hidden; }
.privacy-index summary { padding: 1.15rem; font-family: var(--font-heading); font-size: .86rem; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.privacy-index summary::-webkit-details-marker { display: none; }
.privacy-index summary span { color: var(--syn-cyan); }
.privacy-index[open] summary span { transform: rotate(45deg); }
.privacy-index nav { max-height: calc(100dvh - 185px); overflow-y: auto; padding: 0 .6rem .65rem; }
.privacy-index ol { list-style: none; padding: 0; margin: 0; }
.privacy-index a { display: flex; gap: .65rem; align-items: baseline; padding: .48rem .55rem; border-radius: .45rem; font-size: .76rem; line-height: 1.5; text-decoration: none; color: #b9c4d8; }
.privacy-index a span { color: #8d82be; font-size: .65rem; font-variant-numeric: tabular-nums; }
.privacy-index a:hover, .privacy-index a[aria-current] { background: rgba(115,66,243,.16); color: var(--syn-cyan); }
.privacy-document { min-width: 0; color: #c8d0e0; font-size: .95rem; line-height: 1.85; overflow-wrap: anywhere; }
.privacy-introduction { padding-bottom: .75rem; }
.privacy-document section { border-top: 1px solid var(--glass-border); padding-top: 2rem; margin-top: 2rem; }
.privacy-document h2 { font-size: clamp(1.2rem, 2.1vw, 1.65rem); line-height: 1.45; margin-bottom: 1.25rem; scroll-margin-top: 115px; }
.privacy-clause-heading { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
.privacy-clause-heading h2 { margin: .15rem 0 0; }
.privacy-number { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 2.6rem; height: 2.6rem; border: 1px solid rgba(115,66,243,.45); border-radius: .75rem; background: linear-gradient(135deg, rgba(115,66,243,.22), rgba(0,205,249,.07)); color: var(--syn-cyan); font-family: var(--font-heading); font-size: .85rem; }
.privacy-document h3 { font-size: 1.05rem; line-height: 1.6; margin: 1.5rem 0 .75rem; }
.privacy-document ul, .privacy-document ol { padding-left: 1.5rem; }
.privacy-document li + li { margin-top: .4rem; }
.privacy-document li::marker { color: #9d88ed; }
.privacy-document a { color: var(--syn-cyan); text-decoration: underline; text-underline-offset: .2em; }
.privacy-contact-card { border: 1px solid rgba(0,205,249,.2); border-left: 3px solid var(--syn-cyan); border-radius: .75rem; background: rgba(0,205,249,.035); padding: 1.25rem; margin-top: 1.25rem; }
.privacy-contact-card p:last-child { margin-bottom: 0; }
.privacy-document a:focus-visible, .privacy-index a:focus-visible, .privacy-index summary:focus-visible, .footer-privacy-link:focus-visible { outline: 2px solid var(--syn-cyan); outline-offset: 3px; }
.privacy-skip-link { position: fixed; top: -100px; left: 1rem; z-index: 1100; background: var(--syn-bg-dark); color: var(--syn-cyan); padding: .75rem 1rem; border: 1px solid var(--syn-cyan); border-radius: .5rem; }
.privacy-skip-link:focus { top: 1rem; }
@media (max-width: 991.98px) {
  .privacy-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-top: 2rem; }
  .privacy-sidebar { position: static; }
  .privacy-index nav { max-height: 360px; }
  .privacy-hero { padding-bottom: 2.5rem; }
  .privacy-clause-heading { gap: .75rem; }
}
@media (max-width: 575.98px) { .compact-footer .footer-privacy-link { display: block; margin: .5rem 0 0; } }
.synapse-social-link { max-width: 100%; display: inline-flex; align-items: center; gap: .6rem; min-height: 40px; padding: .45rem .8rem; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; color: #e5e9f5; font-size: .8rem; text-decoration: none; transition: color .2s, border-color .2s, background .2s; }
.synapse-social-link i { color: var(--syn-cyan); font-size: 1rem; }
.synapse-social-link:hover { color: #fff; border-color: var(--syn-cyan); background: rgba(0,205,249,.08); }
.synapse-social-link:focus-visible { outline: 2px solid var(--syn-cyan); outline-offset: 3px; }
.portfolio-home section[id], .portfolio-home main { scroll-margin-top: 110px; }
.portfolio-section { padding: 5rem 0; }
.portfolio-hero { min-height: 85vh; padding-top: 9rem; }
.portfolio-hero .hero-title { font-size: clamp(2.5rem, 4.5vw, 4rem); line-height: 1.12; }
.portfolio-lead { font-size: 1.3rem; max-width: 540px; color: #e0e6ff; }
.portfolio-copy { max-width: 720px; }
.portfolio-principles { display: flex; flex-wrap: wrap; gap: 1.25rem; color: #adb5d3; font-size: .8rem; }
.portfolio-principles i { color: var(--syn-cyan); margin-right: .3rem; }
.portfolio-map { background: linear-gradient(145deg, rgba(73,51,149,.25), rgba(8,12,30,.95)); }
.portfolio-map-core { display: flex; flex-direction: column; align-items: center; gap: .65rem; text-align: center; padding: 1.5rem .75rem; border: 1px solid rgba(0,205,249,.3); border-radius: 18px; background: radial-gradient(ellipse at top, rgba(0,205,249,.12), transparent); }
.portfolio-map-core > i { font-size: 2.8rem; color: var(--syn-cyan); }
.portfolio-map-core small { color: #a8b3d3; }
.portfolio-map-branches { display: flex; flex-direction: column; gap: .75rem; padding-top: 1.5rem; }
.portfolio-map-branches a, .portfolio-agent { display: flex; align-items: center; gap: .85rem; padding: 1rem; border-radius: 12px; border: 1px solid var(--glass-border); color: #edf0ff; text-decoration: none; background: rgba(255,255,255,.025); transition: background .2s, border-color .2s; }
.portfolio-map-branches a:hover, .portfolio-agent:hover { background: rgba(0,205,249,.08); border-color: var(--syn-cyan); color: white; }
.portfolio-map-branches a > i:first-child { color: var(--syn-cyan); font-size: 1.25rem; }
.solution-overview { display: block; text-decoration: none; color: white; transition: transform .2s, border-color .2s; }
.solution-overview:hover { color: white; transform: translateY(-5px); border-color: var(--syn-cyan); }
.solution-icon { color: var(--syn-cyan); font-size: 2rem; }
.solution-index { color: #8b9ebd; font-family: var(--font-heading); font-size: .9rem; letter-spacing: .12em; }
.capability-card { border-radius: 16px; }
.portfolio-agent img { object-fit: contain; flex-shrink: 0; }
.portfolio-agent strong, .portfolio-agent small { display: block; }
.portfolio-agent small { font-size: .78rem; color: #a8b3d3; }
.process-step { border-top: 1px solid rgba(0,205,249,.35); padding: 1.5rem .5rem 0 0; }
.portfolio-governance { display: flex; align-items: center; gap: 1rem; padding: 1.5rem; background: rgba(0,205,249,.04); border: 1px solid rgba(0,205,249,.18); border-radius: 14px; }
.portfolio-cta { background: linear-gradient(115deg, rgba(73,51,149,.35), rgba(16,14,38,.9), rgba(0,205,249,.12)); }
.skip-link { position: fixed; left: 1rem; top: -100px; z-index: 1100; padding: .75rem 1rem; background: var(--syn-bg-deep); color: white; border: 1px solid var(--syn-cyan); border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.portfolio-home a:focus-visible, .portfolio-home button:focus-visible { outline: 2px solid var(--syn-cyan); outline-offset: 5px; }
@media (max-width: 991.98px) {
  .portfolio-section { padding: 3rem 0; }
  .portfolio-principles { justify-content: center; }
  .portfolio-lead { margin-inline: auto; }
  .portfolio-map { text-align: left; }
}
@media (max-width: 575.98px) {
  .portfolio-hero { padding-top: 7rem; }
  .portfolio-hero .section-badge { font-size: .62rem; letter-spacing: .04em; }
  .portfolio-map-branches a { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ambient-orb, .hud-ring, .pulse-dot { animation: none; }
  .portfolio-home #neural-canvas { display: none; }
}

/* Home campaign banner: full bleed, readable copy and independent artwork. */
.no-home-banner #contenido { padding-top: 78px; }
.home-banners-featured { padding-top: 78px; }
.hero-banner-carousel { width: 100%; border: 0; border-radius: 0; background: #02050a; }
.banner-scene { position: relative; display: flex; align-items: center; min-height: 610px; padding: 5rem 0 6rem; isolation: isolate; overflow: hidden; }
.hero-banner-carousel .carousel-item .banner-scene-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center; }
.banner-scene-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,3,9,.42) 0%, rgba(0,3,9,.15) 47%, transparent 75%); }
.banner-scene-container { position: relative; }
.banner-scene-copy { max-width: 720px; width: 58%; }
.banner-scene-label { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.5rem; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: #bdc9dd; }
.banner-scene-label::before { content: ''; width: 25px; height: 2px; background: var(--banner-accent); }
.banner-scene-title { font-family: var(--font-heading); font-size: clamp(2.45rem, 4.25vw, 4.4rem); font-weight: 800; line-height: 1.12; letter-spacing: -.045em; margin: 0 0 1.75rem; color: #fff; }
.banner-scene-title > span { color: var(--banner-accent); }
.banner-scene-description { max-width: 650px; margin: 0 0 2.5rem; color: #c2c8d3; font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.7; }
.banner-scene-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.banner-primary, .banner-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: .9rem 1.5rem; font-family: var(--font-body); font-size: .92rem; font-weight: 600; text-decoration: none; border-radius: 4px; }
.banner-primary { background: #f5f7fc; color: #080c16; border: 1px solid #f5f7fc; transition: background .2s, border-color .2s; }
.banner-primary:hover { background: #d9f7ff; color: #080c16; border-color: #d9f7ff; }
.banner-secondary { box-shadow: none; }
.hero-banner-carousel .carousel-control-prev, .hero-banner-carousel .carousel-control-next { width: 4%; min-width: 36px; opacity: .65; }
.hero-banner-carousel .carousel-control-prev:hover, .hero-banner-carousel .carousel-control-next:hover { opacity: 1; }
.hero-banner-carousel .carousel-control-prev-icon, .hero-banner-carousel .carousel-control-next-icon { width: 1.5rem; height: 1.5rem; }
.hero-banner-carousel .carousel-indicators { margin-bottom: 1.5rem; gap: 5px; }
.hero-banner-carousel .carousel-indicators button { width: 32px; height: 3px; }
.hero-banner-carousel .carousel-indicators .active { background-color: var(--syn-cyan); }
@media (min-width: 1600px) { .banner-scene { min-height: 660px; } }
@media (max-width: 1199.98px) {
  .banner-scene { min-height: 570px; }
  .banner-scene-copy { width: 65%; padding-left: 1rem; }
  .banner-scene-shade { background: linear-gradient(90deg, rgba(0,3,9,.75), rgba(0,3,9,.3) 65%, transparent); }
  .banner-scene-actions { gap: .75rem; }
  .banner-primary, .banner-secondary { padding-inline: 1.1rem; font-size: .85rem; }
}
@media (max-width: 767.98px) {
  .banner-scene { align-items: flex-start; min-height: 630px; padding: 3rem 1.25rem 5rem; }
  .banner-scene-copy { width: 100%; max-width: 560px; padding-left: 0; }
  .banner-scene-label { font-size: .6rem; margin-bottom: 1.25rem; letter-spacing: .09em; }
  .banner-scene-title { font-size: clamp(2.15rem, 7.8vw, 3.3rem); line-height: 1.14; margin-bottom: 1.5rem; }
  .banner-scene-description { font-size: 1rem; line-height: 1.65; margin-bottom: 2rem; color: #d0d7e3; }
  .hero-banner-carousel .carousel-item .banner-scene-image { object-position: 76% center; }
  .banner-scene-shade { background: linear-gradient(180deg, rgba(0,3,9,.88), rgba(0,3,9,.8) 60%, rgba(0,3,9,.35)); }
  .banner-scene-actions { align-items: stretch; }
  .banner-primary, .banner-secondary { min-height: 50px; font-size: .86rem; padding: .8rem 1rem; }
  .hero-banner-carousel .carousel-control-prev, .hero-banner-carousel .carousel-control-next { min-width: 27px; width: 27px; }
  .hero-banner-carousel .carousel-control-prev-icon, .hero-banner-carousel .carousel-control-next-icon { width: 1.1rem; height: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) { .hero-banner-carousel .carousel-item { transition: none; } }

/* Continuous brand strip: identical groups keep the loop seamless. */
.trust-bar { position: relative; padding: 20px 0; background: #090d18; border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.brand-trust-carousel { overflow: hidden; }
.brand-trust-track { display: flex; width: max-content; animation: brand-trust-scroll 42s linear infinite; }
.brand-trust-group { display: flex; align-items: center; justify-content: space-around; gap: 20px; min-width: 100vw; flex-shrink: 0; padding-right: 20px; }
.brand-logo-item { display: flex; align-items: center; justify-content: center; width: 178px; height: 72px; flex: 0 0 178px; padding: 12px 20px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; background: rgba(255,255,255,.035); transition: border-color .2s, background .2s; }
.brand-logo-item img { display: block; max-width: 100%; width: 134px; height: 40px; object-fit: contain; filter: grayscale(1) brightness(0) invert(1); opacity: .52; transition: opacity .2s; }
.brand-logo-item.logo-square img { width: 45px; height: 45px; }
.brand-logo-item.brand-m31 img { width: 134px; height: 54px; object-fit: cover; }
.brand-logo-item.brand-fabric img { width: 58px; height: 48px; filter: grayscale(1); }
.brand-logo-item.brand-ai-wordmark { gap: 10px; padding-inline: 14px; }
.brand-logo-item.brand-ai-wordmark img { width: 30px; height: 30px; flex: 0 0 30px; }
.brand-ai-wordmark span { color: #c6cbd8; font-family: var(--font-heading); font-size: .85rem; font-weight: 600; line-height: 1.25; opacity: .75; transition: opacity .2s; }
.brand-ai-wordmark:hover span, .brand-ai-wordmark:focus-visible span { opacity: 1; }
.brand-logo-item:hover { border-color: rgba(0,205,249,.45); background: rgba(255,255,255,.07); }
.brand-logo-item:hover img, .brand-logo-item:focus-visible img { opacity: .95; }
.brand-logo-item:focus-visible { outline: 2px solid var(--syn-cyan); outline-offset: -3px; }
.trust-bar:hover .brand-trust-track, .trust-bar.is-paused .brand-trust-track { animation-play-state: paused; }
.brand-trust-carousel:focus-within .brand-trust-track { animation-play-state: paused; }
.brand-trust-carousel:has(a:focus-visible) { overflow-x: auto; }
.brand-trust-carousel:has(a:focus-visible) .brand-trust-track { animation: none; transform: none; }
.trust-carousel-toggle { position: absolute; right: 8px; bottom: 2px; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; border: 1px solid rgba(255,255,255,.15); border-radius: 6px; background: #111827; color: #bec8db; font-size: 1rem; }
.trust-carousel-toggle:hover { color: #fff; border-color: var(--syn-cyan); }
@keyframes brand-trust-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 767.98px) {
  .trust-bar { padding-block: 16px; }
  .brand-trust-track { animation-duration: 38s; }
  .brand-trust-group { gap: 14px; padding-right: 14px; }
  .brand-logo-item { width: 142px; height: 64px; flex-basis: 142px; padding: 10px 16px; }
  .brand-logo-item img { width: 110px; height: 34px; }
  .brand-logo-item.logo-square img { width: 38px; height: 38px; }
  .brand-logo-item.brand-m31 img { width: 110px; height: 46px; }
  .brand-logo-item.brand-ai-wordmark { gap: 8px; padding-inline: 10px; }
  .brand-logo-item.brand-ai-wordmark img { width: 26px; height: 26px; flex-basis: 26px; }
  .brand-ai-wordmark span { font-size: .74rem; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-trust-track { animation: none; transform: none; }
  .brand-trust-carousel { overflow-x: auto; }
  .brand-trust-group[aria-hidden="true"], .trust-carousel-toggle { display: none; }
}

/* Context for the interactive agent demonstrations. */
.demo-notice {
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--syn-cyan, #00d4ff);
  background: rgba(0, 212, 255, .045);
  color: rgba(255, 255, 255, .75);
  font-size: .9rem;
  line-height: 1.65;
}
.demo-notice strong { display: block; margin-bottom: .35rem; color: #fff; }
.demo-notice p { margin: 0; }

/* Forms: preserve entered data on failure and announce server feedback. */
.form-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-feedback { margin-top: 1rem; padding: 1rem; border: 1px solid var(--syn-cyan); border-radius: 12px; background: rgba(0,205,249,.08); overflow-wrap: anywhere; }
.form-feedback[data-state="error"] { border-color: #ff9f9f; color: #ffd4d4; background: rgba(255,95,95,.08); }
.synapse-dynamic-form button:disabled { opacity: .65; cursor: wait; }

/* Keep content usable on narrow screens, touch devices and short viewports. */
body { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
body > header, body > section, body > main { flex-shrink: 0; }
#footer-component { margin-top: auto; }
img { max-width: 100%; }
.row > *, .d-flex > * { min-width: 0; }
.section-badge, .breadcrumb-glass { max-width: 100%; }
.breadcrumb-glass { flex-wrap: wrap; }
.section-badge { white-space: normal; }
.simulator-topbar > .d-flex { flex-wrap: wrap; }
.simulator-window .badge { white-space: normal; line-height: 1.5; }
.simulator-window .d-flex.justify-content-between { flex-wrap: wrap; gap: .5rem; }
.chat-bubble { flex-shrink: 0; }
.window-dot { flex-shrink: 0; }
.sim-agent-btn { flex-wrap: wrap; }
.chat-bubble, .quick-prompt-chip, .solutions-menu a { overflow-wrap: anywhere; }
@media (min-width: 1920px) { .container { max-width: 1480px; } }
@media (min-width: 2560px) { .container { max-width: 1680px; } }
@media (max-width: 575.98px) {
  .form-control-glass, .form-select-glass { font-size: 1rem; }
  .synapse-dynamic-form .btn-synapse { white-space: normal; }
  .simulator-topbar { padding: .9rem; }
  .simulator-sidebar { padding: 1rem; }
  .navbar-toggler { min-width: 44px; min-height: 44px; }
}
@media (max-width: 399.98px) {
  .glass-panel .row.g-2.text-center > .col-4 { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  #neural-canvas { display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .chat-bubble { animation: none; }
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (Positioned bottom-left to complement M31 Chat)
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 1050;
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 58px;
  height: 58px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff !important;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.36), 0 2px 6px rgba(0, 0, 0, 0.45);
  transition: transform 180ms ease-out, box-shadow 180ms ease-out, scale 150ms ease-out, padding 200ms ease-out, gap 200ms ease-out;
  -webkit-tap-highlight-color: transparent;
}

.whatsapp-float-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.whatsapp-float-label {
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width 220ms ease-out, opacity 180ms ease-out;
}

.whatsapp-float:hover {
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5), 0 4px 10px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
  .whatsapp-float:hover,
  .whatsapp-float:focus-visible {
    gap: 0.5rem;
    padding-right: 1.15rem;
  }

  .whatsapp-float:hover .whatsapp-float-label,
  .whatsapp-float:focus-visible .whatsapp-float-label {
    max-width: 110px;
    opacity: 1;
  }
}

.whatsapp-float:active {
  scale: 0.96;
}

.whatsapp-float:focus-visible {
  outline: 2px solid var(--syn-cyan);
  outline-offset: 4px;
}

@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 16px;
    left: 14px;
    min-width: 54px;
    height: 54px;
    padding: 0 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float,
  .whatsapp-float-label {
    transition: none;
  }
}
