:root {
  --xsiga-blue: #0273a5;
  --xsiga-blue-light: #0098dc;
  --xsiga-blue-glow: rgba(2, 115, 165, 0.45);
  --xsiga-red: #e9273c;
  --xsiga-red-glow: rgba(233, 39, 60, 0.4);
  --xsiga-amber: #f7a220;
  --xsiga-amber-glow: rgba(247, 162, 32, 0.4);
  --xsiga-gray: #5a5c60;
  
  --bg-deep: #07090e;
  --bg-card: rgba(15, 23, 42, 0.72);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-bright: rgba(255, 255, 255, 0.18);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-main);
  user-select: none;
}

/* Background Canvas & Ambient Lights */
#ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

.ambient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
  animation: orbFloat 18s ease-in-out infinite alternate;
}

.orb-blue {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--xsiga-blue) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.orb-red {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--xsiga-red) 0%, transparent 70%);
  bottom: -100px;
  left: -80px;
  animation-delay: -6s;
}

.orb-amber {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--xsiga-amber) 0%, transparent 70%);
  top: 45%;
  left: 35%;
  animation-delay: -12s;
  opacity: 0.2;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.15); }
  100% { transform: translate(-40px, -30px) scale(0.9); }
}

.cyber-grid {
  position: fixed;
  inset: 0;
  background-size: 60px 60px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  pointer-events: none;
  z-index: 1;
}

/* App Presentation Wrapper */
.presentation-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

/* Header Bar */
.presentation-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  padding: 0 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(7, 9, 14, 0.8) 0%, rgba(7, 9, 14, 0) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.logo-header-img {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 0 15px rgba(2, 115, 165, 0.4));
  transition: transform 0.3s ease;
}

.brand-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--xsiga-blue-light);
  background: rgba(2, 115, 165, 0.12);
  border: 1px solid rgba(2, 115, 165, 0.3);
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.header-status {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.auto-status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 0.35rem 0.9rem;
  border-radius: 8px;
}

.pulse-ring {
  position: relative;
  width: 8px;
  height: 8px;
  background: var(--xsiga-blue-light);
  border-radius: 50%;
}

.pulse-ring::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--xsiga-blue-light);
  animation: pulseRing 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

@keyframes pulseRing {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Master Slide Stage */
.slide-stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide {
  position: absolute;
  inset: 0;
  padding: 85px 4.5rem 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.96) translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.8s;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.slide-content-wrap {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
}

/* Section Header on Slides */
.slide-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--xsiga-blue-light);
  margin-bottom: 0.8rem;
}

.slide-title {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 0.9rem;
}

.slide-subtitle {
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text-muted);
  max-width: 780px;
  line-height: 1.5;
}

.gradient-text-blue {
  background: linear-gradient(135deg, #ffffff 30%, var(--xsiga-blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-full {
  background: linear-gradient(135deg, #ffffff 20%, var(--xsiga-blue-light) 60%, var(--xsiga-amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===================================================
   SLIDE 1: ABERTURA / XSiga Tecnologia
=================================================== */
.slide-1-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 4.5rem;
  width: 100%;
}

.s1-left {
  display: flex;
  flex-direction: column;
}

.s1-main-logo {
  max-width: 380px;
  height: auto;
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 35px rgba(2, 115, 165, 0.4));
  animation: logoBreath 6s ease-in-out infinite;
}

@keyframes logoBreath {
  0%, 100% { transform: translateY(0); filter: drop-shadow(0 0 30px rgba(2, 115, 165, 0.35)); }
  50% { transform: translateY(-6px); filter: drop-shadow(0 0 45px rgba(2, 115, 165, 0.6)); }
}

.s1-tagline {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.s1-tagline span {
  display: block;
}

.s1-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2.2rem;
  max-width: 580px;
}

.presenter-card {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 1.4rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  backdrop-filter: blur(20px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.presenter-avatar-box {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--xsiga-blue), #0f172a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 0 15px var(--xsiga-blue-glow);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.presenter-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
}

.presenter-info p {
  font-size: 0.85rem;
  color: var(--xsiga-blue-light);
  font-weight: 600;
}

.s1-right {
  position: relative;
}

.hero-visual-card {
  position: relative;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid var(--border-glass-bright);
  border-radius: 28px;
  padding: 2.5rem;
  backdrop-filter: blur(30px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.hero-visual-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, var(--xsiga-blue-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.25rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
  border-color: rgba(2, 115, 165, 0.4);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}

.stat-number .highlight-blue { color: var(--xsiga-blue-light); }
.stat-number .highlight-red { color: var(--xsiga-red); }
.stat-number .highlight-amber { color: var(--xsiga-amber); }

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}

.feature-pill i {
  color: var(--xsiga-blue-light);
}

/* ===================================================
   SLIDE 2: QUEM CONSTRÓI A XSIGA (EQUIPE)
=================================================== */
.team-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.team-header-center {
  text-align: center;
  margin-bottom: 3rem;
}

.team-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
  width: 100%;
  max-width: 1200px;
}

.team-card {
  position: relative;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 2.2rem 1.8rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s ease, 
              box-shadow 0.4s ease;
  overflow: hidden;
}

.team-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--card-accent, var(--xsiga-blue)), transparent);
  opacity: 0.7;
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--card-accent, var(--xsiga-blue-light));
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 25px var(--card-glow, var(--xsiga-blue-glow));
}

.team-card.card-weslley {
  --card-accent: var(--xsiga-blue-light);
  --card-glow: var(--xsiga-blue-glow);
}

.team-card.card-elias {
  --card-accent: var(--xsiga-amber);
  --card-glow: var(--xsiga-amber-glow);
}

.team-card.card-danyo {
  --card-accent: var(--xsiga-red);
  --card-glow: var(--xsiga-red-glow);
}

.team-avatar-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  margin-bottom: 1.5rem;
}

.avatar-halo {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--card-accent), transparent 60%, var(--card-accent));
  animation: rotateHalo 8s linear infinite;
  opacity: 0.75;
}

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

.team-avatar-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #0f172a;
  border: 3px solid #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6);
}

.avatar-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.team-card:hover .avatar-photo-img {
  transform: scale(1.08);
}

.presenter-avatar-box {
  overflow: hidden;
}

.presenter-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.avatar-photo-mock {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.4));
}

.avatar-badge-icon {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--card-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  border: 2px solid #07090e;
}

.team-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}

.team-role {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--card-accent);
  margin-bottom: 1rem;
}

.team-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.3rem;
  flex-grow: 1;
}

.team-skills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}

.skill-tag {
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #cbd5e1;
  font-weight: 500;
}

.team-quote-bar {
  margin-top: 2.5rem;
  padding: 0.9rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 9999px;
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.team-quote-bar i {
  color: var(--xsiga-amber);
}

/* ===================================================
   SLIDE 3: NOSSO ECOSSISTEMA
=================================================== */
.ecosystem-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
}

.ecosystem-stage {
  position: relative;
  width: 100%;
  max-width: 1100px;
  height: 520px;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eco-svg-connections {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.eco-line {
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 2;
  stroke-dasharray: 6 6;
  animation: dashMove 25s linear infinite;
}

@keyframes dashMove {
  to { stroke-dashoffset: -300; }
}

.eco-pulse-line {
  stroke-width: 2.5;
  fill: none;
  filter: drop-shadow(0 0 6px currentColor);
}

.pulse-line-xone { stroke: var(--xsiga-blue-light); }
.pulse-line-xdesk { stroke: #38bdf8; }
.pulse-line-xevents { stroke: var(--xsiga-amber); }
.pulse-line-xmotors { stroke: var(--xsiga-red); }

/* Central Core Hub */
.eco-core-hub {
  position: relative;
  z-index: 5;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #1e293b, #090d16);
  border: 2px solid rgba(2, 115, 165, 0.6);
  box-shadow: 0 0 60px var(--xsiga-blue-glow), inset 0 0 35px rgba(2, 115, 165, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  animation: corePulse 4s ease-in-out infinite;
}

@keyframes corePulse {
  0%, 100% { box-shadow: 0 0 45px var(--xsiga-blue-glow), inset 0 0 25px rgba(2, 115, 165, 0.25); transform: scale(1); }
  50% { box-shadow: 0 0 75px rgba(2, 115, 165, 0.7), inset 0 0 45px rgba(2, 115, 165, 0.45); transform: scale(1.025); }
}

.eco-core-rings {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  border: 1px dashed rgba(2, 115, 165, 0.4);
  animation: rotateHalo 30s linear infinite;
  pointer-events: none;
}

.eco-core-rings-2 {
  position: absolute;
  inset: -32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  animation: rotateHalo 45s linear infinite reverse;
  pointer-events: none;
}

.eco-core-badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--xsiga-amber);
  background: rgba(247, 162, 32, 0.12);
  border: 1px solid rgba(247, 162, 32, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  margin-bottom: 0.5rem;
}

.eco-core-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.eco-core-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 170px;
}

/* Satellite Product Nodes */
.eco-satellite {
  position: absolute;
  z-index: 6;
  width: 270px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border-glass-bright);
  border-radius: 20px;
  padding: 1.4rem;
  backdrop-filter: blur(24px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.eco-satellite:hover {
  transform: scale(1.05);
  border-color: var(--node-color);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px var(--node-glow);
}

.satellite-top-left {
  top: 15px;
  left: 20px;
  --node-color: var(--xsiga-blue-light);
  --node-glow: var(--xsiga-blue-glow);
}

.satellite-bottom-left {
  bottom: 15px;
  left: 20px;
  --node-color: #38bdf8;
  --node-glow: rgba(56, 189, 248, 0.4);
}

.satellite-top-right {
  top: 15px;
  right: 20px;
  --node-color: var(--xsiga-amber);
  --node-glow: var(--xsiga-amber-glow);
}

.satellite-bottom-right {
  bottom: 15px;
  right: 20px;
  --node-color: var(--xsiga-red);
  --node-glow: var(--xsiga-red-glow);
}

.node-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.node-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--node-color);
  color: var(--node-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 0 15px var(--node-glow);
}

.node-chip {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--node-color);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

.node-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}

.node-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ===================================================
   SLIDE 4: TECNOLOGIA APLICADA (4 PRODUTOS)
=================================================== */
.products-stage {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.products-nav-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.prod-tab-btn {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  padding: 0.75rem 1.6rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
}

.prod-tab-btn.active {
  background: rgba(30, 41, 59, 0.9);
  color: #fff;
  border-color: var(--tab-color, var(--xsiga-blue-light));
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 15px var(--tab-glow, var(--xsiga-blue-glow));
}

.prod-tab-btn[data-target="xone"] { --tab-color: var(--xsiga-blue-light); --tab-glow: var(--xsiga-blue-glow); }
.prod-tab-btn[data-target="xdesk"] { --tab-color: #38bdf8; --tab-glow: rgba(56, 189, 248, 0.4); }
.prod-tab-btn[data-target="xevents"] { --tab-color: var(--xsiga-amber); --tab-glow: var(--xsiga-amber-glow); }
.prod-tab-btn[data-target="xmotors"] { --tab-color: var(--xsiga-red); --tab-glow: var(--xsiga-red-glow); }

.products-showcase {
  position: relative;
  min-height: 480px;
  width: 100%;
}

.product-detail-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3rem;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateX(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.6s;
  pointer-events: none;
}

.product-detail-panel.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

.prod-info-col {
  display: flex;
  flex-direction: column;
}

.prod-brand-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.prod-icon-large {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.prod-brand-header h3 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.prod-badge-category {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--theme-color);
}

.prod-headline {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f1f5f9;
  line-height: 1.45;
  margin-bottom: 1rem;
}

.prod-long-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

.prod-benefit-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.benefit-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.benefit-bullet-item i {
  color: var(--theme-color);
  margin-top: 0.2rem;
}

/* Realistic UI Mockup Shell */
.prod-mockup-col {
  position: relative;
}

.mockup-window {
  background: #0b1120;
  border: 1px solid var(--border-glass-bright);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  position: relative;
}

.mockup-titlebar {
  background: #0f172a;
  padding: 0.75rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-controls {
  display: flex;
  gap: 6px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #eab308; }
.dot-green { background: #22c55e; }

.mockup-address {
  font-size: 0.75rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.2rem 1.2rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.mockup-screen-body {
  padding: 1.25rem;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: radial-gradient(circle at 90% 10%, rgba(30, 41, 59, 0.5) 0%, #070a13 70%);
}

/* Sub-mockups styles */
/* XOne Omnichannel UI */
.xone-chat-layout {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  height: 100%;
}

.xone-sidebar {
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-right: 0.6rem;
}

.xone-conv-item {
  padding: 0.5rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.xone-conv-item.active {
  background: rgba(2, 115, 165, 0.15);
  border: 1px solid rgba(2, 115, 165, 0.3);
}

.xone-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #fff;
}

.xone-conv-text {
  font-size: 0.72rem;
  line-height: 1.2;
}

.xone-chat-main {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.xone-bubble {
  max-width: 80%;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  font-size: 0.8rem;
  line-height: 1.4;
}

.xone-bubble.incoming {
  background: #1e293b;
  align-self: flex-start;
  color: #e2e8f0;
}

.xone-bubble.outgoing {
  background: var(--xsiga-blue);
  align-self: flex-end;
  color: #fff;
}

.xone-stats-row {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}

.xone-stat-chip {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.75rem;
}

.xone-stat-chip span {
  display: block;
  font-weight: 700;
  color: #38bdf8;
  font-size: 1.1rem;
}

/* XDesk Kanban UI */
.xdesk-kanban {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  height: 100%;
}

.kanban-col {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.kanban-header {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

.kanban-card {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  font-size: 0.75rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.kanban-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  margin-bottom: 0.4rem;
}

.tag-sla { background: rgba(56, 189, 248, 0.2); color: #38bdf8; }
.tag-urgent { background: rgba(239, 68, 68, 0.2); color: #f87171; }
.tag-done { background: rgba(34, 197, 94, 0.2); color: #4ade80; }

/* XEvents Dashboard */
.xevents-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.event-hero-banner {
  background: linear-gradient(135deg, rgba(247, 162, 32, 0.2), rgba(15, 23, 42, 0.8));
  border: 1px solid rgba(247, 162, 32, 0.3);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.event-metric-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.metric-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 0.8rem;
  text-align: center;
}

.metric-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--xsiga-amber);
}

.metric-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.event-timeline-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.65rem 1rem;
  border-radius: 8px;
  font-size: 0.75rem;
}

/* XMotors Workshop UI */
.xmotors-order-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(233, 39, 60, 0.25);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.xmotors-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.plate-badge {
  background: #000;
  border: 2px solid #fff;
  border-radius: 6px;
  padding: 0.2rem 0.6rem;
  font-family: monospace;
  font-weight: 800;
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.xmotors-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.motor-step {
  background: #1e293b;
  padding: 0.5rem;
  border-radius: 6px;
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.motor-step.done {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.motor-step.active {
  background: rgba(233, 39, 60, 0.2);
  color: #f87171;
  border: 1px solid rgba(233, 39, 60, 0.4);
  font-weight: 700;
}

/* ===================================================
   SLIDE 5: NOSSO PROPÓSITO
=================================================== */
.purpose-layout-grid {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 3.5rem;
  align-items: center;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
}

.purpose-qrcodes-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.qrcode-card {
  position: relative;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-glass-bright);
  border-radius: 20px;
  padding: 1.25rem 1rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.qrcode-card:hover {
  transform: translateY(-6px);
  border-color: #25D366;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 25px rgba(37, 211, 102, 0.3);
}

.qrcode-card.card-xsiga {
  --qr-accent: var(--xsiga-blue-light);
}

.qrcode-card.card-weslley-qr {
  --qr-accent: var(--xsiga-amber);
}

.qrcode-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--qr-accent);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.qrcode-img-box {
  width: 100%;
  max-width: 155px;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  padding: 8px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.qrcode-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.qrcode-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

.qrcode-phone {
  font-size: 0.82rem;
  font-weight: 700;
  color: #25D366;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.25);
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.qrcode-phone:hover {
  background: #25D366;
  color: #07090e;
}

.purpose-content-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.purpose-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 1050px;
}

.purpose-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--xsiga-amber);
  background: rgba(247, 162, 32, 0.1);
  border: 1px solid rgba(247, 162, 32, 0.3);
  margin-bottom: 1.5rem;
}

.purpose-statement {
  font-family: var(--font-display);
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  max-width: 950px;
}

.purpose-statement .highlight-phrase {
  background: linear-gradient(135deg, #ffffff 0%, var(--xsiga-blue-light) 50%, var(--xsiga-amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-top: 0.3rem;
}

.purpose-subtext {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 760px;
  line-height: 1.55;
  margin-bottom: 2rem;
}

.purpose-footer-card {
  width: 100%;
  max-width: 820px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-glass-bright);
  border-radius: 24px;
  padding: 1.8rem 2.5rem;
  backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.p-footer-brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.p-footer-logo {
  height: 48px;
  filter: drop-shadow(0 0 20px var(--xsiga-blue-glow));
}

.p-footer-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.p-link-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.p-link-item i {
  color: var(--xsiga-blue-light);
  font-size: 1.1rem;
}

.p-link-item:hover {
  color: #fff;
}

/* ===================================================
   FLOATING PRESENTATION HUD / CONTROLS (RODAPÉ)
=================================================== */
.presentation-hud {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 84px;
  padding: 0 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 50;
  backdrop-filter: blur(20px);
  background: linear-gradient(0deg, rgba(7, 9, 14, 0.85) 0%, rgba(7, 9, 14, 0) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* Progress Bars for Slides */
.hud-slide-track {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.slide-tracker-item {
  position: relative;
  width: 70px;
  height: 6px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  overflow: hidden;
  transition: width 0.3s ease, background 0.3s ease;
}

.slide-tracker-item.active {
  width: 95px;
}

.slide-tracker-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--xsiga-blue-light), var(--xsiga-amber));
  box-shadow: 0 0 10px var(--xsiga-blue-glow);
}

.slide-tracker-item.completed .slide-tracker-fill {
  width: 100%;
  background: #38bdf8;
}

/* HUD Central Controls */
.hud-central-controls {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.hud-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hud-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.hud-btn.play-pause-btn {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--xsiga-blue);
  box-shadow: 0 0 20px var(--xsiga-blue-glow);
}

.hud-btn.play-pause-btn:hover {
  background: var(--xsiga-blue-light);
}

.hud-timer-badge {
  font-size: 0.85rem;
  font-family: monospace;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Right utilities */
.hud-utilities {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.speed-selector {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 3px;
}

.speed-opt {
  padding: 0.3rem 0.75rem;
  border-radius: 7px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  background: transparent;
  border: none;
  transition: all 0.2s ease;
}

.speed-opt.active {
  background: var(--xsiga-blue);
  color: #fff;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .slide-1-container { grid-template-columns: 1fr; gap: 2rem; }
  .s1-right { display: none; }
  .team-cards-grid { grid-template-columns: 1fr; max-width: 450px; }
  .product-detail-panel { grid-template-columns: 1fr; }
  .prod-mockup-col { display: none; }
  .purpose-layout-grid { grid-template-columns: 1fr; gap: 2rem; }
  .purpose-content-col { align-items: center; text-align: center; }
}


