/* ==========================================================================
   SUPERLÓGICA DESIGN SYSTEM — ALL PHASE INDUSTRIAL PSYCHOLOGY
   Modern, Precision SaaS Aesthetic, Pinned Horizontal Scroll & Glowing Accents
   ========================================================================== */

/* 1. Global Variables & Design Tokens */
:root {
  --sl-primary: #1034f2;
  /* Superlógica Royal Electric Blue */
  --sl-primary-hover: #0824b8;
  --sl-cyan: #2fd3f6;
  /* Luminous Cyan Neon */
  --sl-cyan-glow: rgba(47, 211, 246, 0.4);
  --sl-blue-glow: rgba(16, 52, 242, 0.25);

  --sl-dark: #16191d;
  /* Deep Tech Dark Slate */
  --sl-dark-card: #1d2026;
  --sl-dark-input: #262931;
  --sl-dark-border: rgba(255, 255, 255, 0.1);

  --sl-text-heading: #1c1f24;
  --sl-text-body: #536379;
  --sl-text-muted: #7789a3;
  --sl-text-light: #ffffff;

  --sl-bg-page: #f8fafc;
  --sl-bg-card: #ffffff;
  --sl-border-light: #edeff2;
  --sl-border-subtle: #e2e8f0;

  --sl-font-sans: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --sl-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --sl-radius-lg: 32px;
  --sl-radius-md: 20px;
  --sl-radius-sm: 12px;
  --sl-radius-pill: 9999px;

  --sl-shadow-card: 0 10px 30px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  --sl-shadow-hover: 0 20px 40px rgba(16, 52, 242, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* 2. Reset & Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sl-font-body);
  color: var(--sl-text-body);
  background-color: var(--sl-bg-page);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Global Top Scroll Progress Bar */
.global-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  background: linear-gradient(90deg, var(--sl-primary), var(--sl-cyan));
  box-shadow: 0 0 12px var(--sl-cyan);
  z-index: 10000;
  transition: width 0.1s ease-out;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--sl-font-sans);
  color: var(--sl-text-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 3. Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--sl-border-light);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  height: auto;
  padding: 8px 0;
  gap: 16px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: auto;
  flex-shrink: 0;
}

.brand-logo img {
  height: 52px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: block;
}

.brand-logo:hover img {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-link {
  font-family: var(--sl-font-sans);
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--sl-text-heading);
  position: relative;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--sl-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--sl-primary);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.nav-cta-text-short {
  display: none;
}

@media (max-width: 1200px) {
  .nav-cta-text-full {
    display: none;
  }
  .nav-cta-text-short {
    display: inline;
  }
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--sl-text-muted);
}

.nav-phone:hover {
  color: var(--sl-primary);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--sl-primary);
  color: #ffffff;
  font-family: var(--sl-font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--sl-radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px var(--sl-blue-glow);
}

.btn-primary:hover {
  background-color: var(--sl-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 52, 242, 0.35);
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-family: var(--sl-font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--sl-radius-sm);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.35);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--sl-text-heading);
  cursor: pointer;
}

/* 4. Superlógica Viewport Framed Hero Section */
.sl-hero-outer {
  padding: 14px 14px 0 14px;
  background-color: var(--sl-bg-page);
}

.sl-hero-container {
  position: relative;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  min-height: 640px;
  height: calc(90vh - 80px);
  max-height: 840px;
  border-radius: var(--sl-radius-lg);
  overflow: hidden;
  background-color: #0b1329;
  display: flex;
  align-items: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

/* Hero Background Image & Gradient Layer */
.sl-hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.sl-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  transition: transform 0.2s ease-out;
}

.sl-hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(11, 19, 41, 0.88) 0%,
      rgba(11, 19, 41, 0.72) 42%,
      rgba(11, 19, 41, 0.25) 75%,
      rgba(11, 19, 41, 0.08) 100%);
  z-index: 2;
}

/* Superlógica Signature Luminous Cyan Wave */
.sl-hero-wave {
  position: absolute;
  left: 0;
  bottom: -20px;
  width: 100%;
  height: auto;
  min-width: 1200px;
  z-index: 3;
  pointer-events: none;
  opacity: 0.95;
  transition: transform 0.3s ease-out;
}

/* Floating Glass HUD Badges */
.sl-hero-hud {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.floating-badge-pie {
  position: absolute;
  right: 14%;
  top: 42%;
  width: 130px;
  height: 130px;
  pointer-events: auto;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 12px 30px rgba(16, 52, 242, 0.3));
  cursor: default;
}

.floating-badge-tasks {
  position: absolute;
  right: 8%;
  top: 18%;
  width: 240px;
  height: 72px;
  pointer-events: auto;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.25));
  cursor: default;
}

/* Hero Text Content */
.sl-hero-content {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.sl-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--sl-radius-pill);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--sl-cyan);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.sl-hero-title {
  font-size: clamp(3rem, 6.2vw, 5.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: #ffffff;
  margin-bottom: 24px;
}

.sl-hero-title-main {
  display: block;
  color: #ffffff;
}

.sl-hero-title-sub {
  display: block;
  color: #ffffff;
  background: linear-gradient(120deg, #ffffff 40%, var(--sl-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sl-hero-lead {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.6;
  color: #e2e8f0;
  max-width: 580px;
  margin-bottom: 36px;
  font-weight: 400;
}

.sl-hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* 5. Metrics Indicator Strip */
.sl-metrics-section {
  padding: 56px 0;
  background-color: #ffffff;
  border-bottom: 1px solid var(--sl-border-light);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.metric-card {
  padding: 24px 20px;
  border-radius: var(--sl-radius-sm);
  background: var(--sl-bg-page);
  border: 1px solid var(--sl-border-light);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: left;
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sl-shadow-card);
  border-color: rgba(16, 52, 242, 0.2);
}

.metric-number {
  font-family: var(--sl-font-sans);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  color: var(--sl-primary);
  margin-bottom: 8px;
}

.metric-label {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--sl-text-heading);
  line-height: 1.4;
}

/* ==========================================================================
   6. Pinned Horizontal Scroll Section (User Special Request)
   ========================================================================== */
#horizontal-showcase,
section[id],
div[id] {
  scroll-margin-top: 80px;
}

.horizontal-scroll-container {
  position: relative;
  height: 320vh;
  /* Provides the vertical scroll runway to drive horizontal motion */
  background-color: #ffffff;
}

.horizontal-sticky-wrapper {
  position: sticky;
  top: 76px;
  height: calc(100vh - 76px);
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 0 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.horizontal-section-header {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto 14px;
  padding: 0 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.horizontal-header-left {
  max-width: 640px;
}

.badge-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--sl-primary);
  background-color: rgba(16, 52, 242, 0.08);
  padding: 4px 12px;
  border-radius: var(--sl-radius-pill);
  margin-bottom: 6px;
}

.section-headline {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 800;
  color: var(--sl-text-heading);
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.section-subheadline {
  font-size: 0.94rem;
  color: var(--sl-text-muted);
}

.horizontal-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.horizontal-card-counter {
  font-family: var(--sl-font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--sl-primary);
  background: #ffffff;
  padding: 6px 14px;
  border-radius: var(--sl-radius-pill);
  border: 1px solid var(--sl-border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Horizontal Track & Cards */
.horizontal-track {
  display: flex;
  gap: 24px;
  padding-left: max(48px, calc((100vw - 1280px) / 2 + 48px));
  padding-right: 80px;
  will-change: transform;
  width: max-content;
}

.horizontal-card {
  flex: 0 0 360px;
  min-height: 340px;
  border-radius: 20px;
  background: #ffffff;
  border: 1.5px solid var(--sl-border-light);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.horizontal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sl-primary), var(--sl-cyan));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.horizontal-card:hover,
.horizontal-card.is-active {
  transform: translateY(-6px);
  border-color: rgba(16, 52, 242, 0.3);
  box-shadow: 0 20px 44px rgba(16, 52, 242, 0.1);
}

.horizontal-card:hover::before,
.horizontal-card.is-active::before {
  opacity: 1;
}

.card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.card-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: rgba(16, 52, 242, 0.08);
  color: var(--sl-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--sl-text-muted);
}

.card-title {
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--sl-text-heading);
  margin-bottom: 10px;
  line-height: 1.3;
}

.card-desc {
  font-size: 0.91rem;
  color: var(--sl-text-body);
  line-height: 1.55;
}

.card-bottom-row {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--sl-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sl-primary);
  background: rgba(16, 52, 242, 0.08);
  padding: 5px 12px;
  border-radius: var(--sl-radius-pill);
}

.card-action-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sl-bg-page);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sl-text-heading);
  transition: all 0.25s ease;
}

.horizontal-card:hover .card-action-arrow {
  background: var(--sl-primary);
  color: #ffffff;
  transform: translateX(3px);
}

/* Horizontal Track Bottom Progress Indicator */
.horizontal-progress-bar-wrap {
  max-width: 1280px;
  width: 100%;
  margin: 18px auto 0;
  padding: 0 48px;
}

.horizontal-track-progress-bg {
  width: 100%;
  height: 4px;
  background-color: var(--sl-border-light);
  border-radius: 4px;
  overflow: hidden;
}

.horizontal-track-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--sl-primary), var(--sl-cyan));
  border-radius: 4px;
  transition: width 0.1s ease-out;
}

/* 7. Operational Transformation Comparison ("Sem vs Com") */
.sl-comparison-section {
  padding: 96px 0;
  background-color: #ffffff;
}

.comparison-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  max-width: 1120px;
  margin: 0 auto;
}

.comparison-card {
  padding: 44px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.comparison-card.without {
  background-color: #f8fafc;
  border: 1px solid var(--sl-border-light);
}

.comparison-card.with {
  background-color: #ffffff;
  border: 2px solid var(--sl-primary);
  box-shadow: 0 16px 40px rgba(16, 52, 242, 0.08);
}

.comp-pill-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--sl-radius-pill);
  margin-bottom: 20px;
}

.comp-pill-without {
  background-color: #e2e8f0;
  color: #64748b;
}

.comp-pill-with {
  background-color: var(--sl-primary);
  color: #ffffff;
}

.comparison-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 28px;
}

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.comp-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.98rem;
  line-height: 1.5;
}

.comp-item-without i {
  color: #94a3b8;
  margin-top: 4px;
  font-size: 1.1rem;
}

.comp-item-with i {
  color: var(--sl-primary);
  margin-top: 4px;
  font-size: 1.15rem;
}

/* 8. Tabbed Solutions & Accordion Section */
.sl-solutions-section {
  padding: 96px 0;
  background-color: var(--sl-bg-page);
}

.solutions-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.sl-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sl-accordion-item {
  background: #ffffff;
  border-radius: var(--sl-radius-sm);
  border: 1px solid var(--sl-border-light);
  overflow: hidden;
  transition: all 0.25s ease;
}

.sl-accordion-item.is-open {
  border-color: var(--sl-primary);
  box-shadow: 0 8px 24px rgba(16, 52, 242, 0.06);
}

.sl-accordion-header {
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.sl-accordion-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--sl-text-heading);
}

.sl-accordion-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sl-bg-page);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--sl-primary);
  transition: transform 0.25s ease;
}

.sl-accordion-item.is-open .sl-accordion-icon {
  transform: rotate(45deg);
  background: var(--sl-primary);
  color: #ffffff;
}

.sl-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sl-accordion-content {
  padding: 0 24px 22px;
  color: var(--sl-text-body);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Solutions Visual Card */
.solutions-visual-card {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
  position: relative;
  background: #0b1329;
}

.solutions-visual-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.solutions-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11, 19, 41, 0.9) 100%);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.solutions-visual-text {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 700;
}

/* 9. Infinite Logo Marquee */
.sl-marquee-section {
  padding: 44px 0;
  background: #ffffff;
  border-top: 1px solid var(--sl-border-light);
  border-bottom: 1px solid var(--sl-border-light);
  overflow: hidden;
}

.marquee-title {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--sl-text-muted);
  margin-bottom: 24px;
}

.marquee-track-wrap {
  display: flex;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.marquee-track {
  display: flex;
  gap: 56px;
  animation: marqueeLoop 28s linear infinite;
  white-space: nowrap;
}

.marquee-item {
  font-family: var(--sl-font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color 0.2s ease;
}

.marquee-item:hover {
  color: var(--sl-primary);
}

@keyframes marqueeLoop {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* 10. Dark Modern SaaS Lead Form Section (Matching Superlogica Lead Capture) */
.sl-lead-section {
  padding: 100px 0;
  background-color: var(--sl-dark);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.sl-lead-wave-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  opacity: 0.15;
}

.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.lead-info h2 {
  font-size: clamp(2.2rem, 3.4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 20px;
}

.lead-info-muted {
  color: rgba(255, 255, 255, 0.55);
}

.lead-info p {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 32px;
}

.lead-contacts-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lead-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.lead-contact-item:hover {
  color: var(--sl-cyan);
}

.lead-contact-item i {
  color: var(--sl-cyan);
}

/* Segmented Toggle Pills (Imobiliária / Administradora style) */
.lead-form-card {
  background-color: var(--sl-dark-card);
  border: 1px solid var(--sl-dark-border);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
}

.segmented-pills {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.segmented-pill {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--sl-dark-input);
  border: 1px solid var(--sl-dark-border);
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--sl-font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.segmented-pill.active {
  background: #282d38;
  border-color: var(--sl-primary);
  color: #ffffff;
}

.pill-check-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  transition: all 0.2s ease;
}

.segmented-pill.active .pill-check-circle {
  background-color: var(--sl-primary);
  border-color: var(--sl-primary);
  color: #ffffff;
}

/* Form Controls */
.dark-form-group {
  margin-bottom: 20px;
}

.dark-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.dark-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 6px;
}

.dark-input,
.dark-select,
.dark-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--sl-dark-input);
  border: 1px solid transparent;
  color: #ffffff;
  font-family: var(--sl-font-body);
  font-size: 0.92rem;
  outline: none;
  transition: all 0.2s ease;
}

.dark-input:focus,
.dark-select:focus,
.dark-textarea:focus {
  border-color: var(--sl-primary);
  box-shadow: 0 0 0 3px rgba(16, 52, 242, 0.4);
}

.dark-input::placeholder,
.dark-textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.dark-select {
  cursor: pointer;
}

.dark-select option {
  background: var(--sl-dark-card);
  color: #ffffff;
}

/* 11. Modern Superlógica Footer */
.site-footer {
  background-color: #121418;
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand .brand-logo {
  display: inline-block;
  height: auto;
  margin-bottom: 16px;
}

.footer-brand .brand-logo img {
  height: 64px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: block;
}

.footer-tagline {
  margin-top: 0;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

.footer-contacts {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.94rem;
}

.footer-contact-link:hover {
  color: var(--sl-cyan);
}

.footer-bottom {
  padding-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-admin-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--sl-radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-admin-link:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.footer-admin-link.active {
  background: rgba(47, 211, 246, 0.2);
  color: var(--sl-cyan);
  border-color: rgba(47, 211, 246, 0.5);
  box-shadow: 0 0 12px rgba(47, 211, 246, 0.3);
}

/* 12. Modal Popup */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 19, 41, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: #ffffff;
  width: 100%;
  max-width: 580px;
  border-radius: 20px;
  padding: 36px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

.modal-backdrop.active .modal-dialog {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sl-bg-page);
  border: none;
  font-size: 1.2rem;
  color: var(--sl-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #e2e8f0;
  color: var(--sl-text-heading);
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #ffffff;
  color: var(--sl-text-heading);
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  border-left: 4px solid var(--sl-primary);
  animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes toastSlideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* 13. Responsive Breakpoints */
@media (max-width: 1024px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .solutions-layout {
    grid-template-columns: 1fr;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .lead-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .floating-badge-pie {
    right: 5%;
    top: 50%;
    transform: scale(0.85);
  }

  .floating-badge-tasks {
    right: 5%;
    top: 10%;
    transform: scale(0.85);
  }
}

@media (max-width: 768px) {
  .sl-hero-outer {
    padding: 8px 8px 0 8px;
  }

  .sl-hero-container {
    height: auto;
    min-height: 600px;
    padding: 60px 0;
    border-radius: 20px;
  }

  .sl-hero-content {
    padding: 0 24px;
  }

  .sl-hero-title {
    font-size: 2.8rem;
  }

  .floating-badge-pie,
  .floating-badge-tasks {
    display: none;
    /* Hide floating badges on smaller screens for clean layout */
  }

  .nav-menu {
    display: none;
    /* Handled via mobile drawer if toggled */
  }

  .nav-wrap {
    min-height: 64px;
    padding: 6px 0;
  }

  .brand-logo img {
    height: 44px;
    max-width: 140px;
  }

  .nav-phone {
    display: none;
  }

  .nav-actions {
    gap: 10px;
  }

  .nav-cta-btn {
    padding: 8px 14px;
    font-size: 0.82rem;
    gap: 6px;
  }

  .mobile-toggle {
    display: block;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .horizontal-scroll-container {
    height: auto;
    /* Allow natural flow on mobile */
  }

  .horizontal-sticky-wrapper {
    position: relative;
    height: auto;
    padding: 60px 0;
  }

  .horizontal-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 24px 40px;
    width: 100%;
  }

  .horizontal-card {
    flex: 0 0 85vw;
    scroll-snap-align: start;
    min-height: auto;
  }

  .dark-form-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   14. ALL PHASE PRESENTATION SLIDE STYLES (MATCHING PDF EXACTLY)
   ========================================================================== */

/* Global Slide Title Bar */
.slide-title-bar {
  background-color: #132440;
  padding: 24px 0;
  border-bottom: 3px solid rgba(0, 151, 167, 0.4);
}

.slide-heading {
  font-family: var(--sl-font-sans);
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.5px;
}

.slide-section {
  padding: 64px 0 80px;
  background-color: #f8fafc;
  scroll-margin-top: 76px;
}

.slide-section.alt-bg {
  background-color: #ffffff;
}

.slide-lead {
  font-size: clamp(1.08rem, 1.4vw, 1.25rem);
  color: #334155;
  line-height: 1.6;
  margin-bottom: 36px;
}

/* Gold Accent Line (Presentation Divider) */
.slide-gold-bar {
  width: 220px;
  height: 4px;
  background-color: #d4a359;
  border-radius: 2px;
  margin: 22px 0;
}

.slide-gold-bar-centered {
  margin: 26px auto;
}

/* ==========================================================================
   Slide 1: Healthy Minds at Work Infographic Section (Gambar 2 Replica)
   ========================================================================== */
.healthy-minds-section,
.slide1-hero-container.healthy-minds-section {
  position: relative;
  background: linear-gradient(180deg, #609ad3 0%, #8dbbe7 22%, #c3ddf3 55%, #e9f3fb 82%, #f8fafc 100%) !important;
  color: #0f172a !important;
  padding: 56px 20px 70px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 820px;
  scroll-margin-top: 76px;
}

/* Atmospheric Background Elements */
.hm-bg-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hm-bg-radial {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(40px);
}

.hm-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(2, 132, 199, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.7;
}

/* Container & Header Elements */
.hm-container {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Top Pill Badge */
.hm-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: #0369a1;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.12);
}

.hm-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0284c7;
  box-shadow: 0 0 8px #38bdf8;
  animation: hmPulseDot 2s infinite ease-in-out;
}

/* Main Section Title */
.hm-main-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 900;
  color: #0a192f;
  line-height: 1.08;
  letter-spacing: -0.8px;
  margin: 0 0 6px 0;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
}

.hm-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  color: #0369a1;
  font-weight: 600;
  font-style: italic;
  margin-bottom: 28px;
}

/* ==========================================================================
   Infographic Stage (Desktop Orbital Arrangement)
   ========================================================================== */
.hm-infographic-stage {
  position: relative;
  width: 100%;
  max-width: 980px;
  height: 520px;
  margin: 10px auto 20px;
}

/* Center Silhouette & Neural Lines SVG */
.hm-center-art {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 520px;
  height: 520px;
  pointer-events: none;
  z-index: 1;
}

.hm-head-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 10px 30px rgba(2, 132, 199, 0.15));
}

.hm-orbit-spin-slow {
  transform-origin: 300px 300px;
  animation: hmSpin 40s linear infinite;
}

.hm-orbit-spin-rev {
  transform-origin: 300px 300px;
  animation: hmSpinRev 30s linear infinite;
}

.hm-wave-pulse {
  animation: hmWavePulse 4s ease-in-out infinite;
}

/* Pillars Positioning */
.hm-pillars-grid {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.hm-pillar-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
  cursor: pointer;
}

.hm-pillar-node:hover {
  transform: scale(1.06);
  z-index: 10;
}

/* Desktop Orbital Positions matching Gambar 2 */
.hm-node-p1 {
  top: 5%;
  left: 14%;
  flex-direction: row;
}

.hm-node-p2 {
  top: 5%;
  right: 14%;
  flex-direction: row;
}

.hm-node-p3 {
  top: 39%;
  right: 6%;
  flex-direction: row;
}

.hm-node-p4 {
  top: 73%;
  right: 14%;
  flex-direction: row;
}

.hm-node-p5 {
  top: 73%;
  left: 14%;
  flex-direction: row;
}

.hm-node-p6 {
  top: 39%;
  left: 6%;
  flex-direction: row;
}

/* Node Text Groups */
.hm-node-text {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  padding: 10px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
  transition: all 0.25s ease;
  max-width: 220px;
}

.hm-pillar-node:hover .hm-node-text {
  background: #ffffff;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.16);
  border-color: #ffffff;
}

.hm-align-right {
  text-align: right;
  flex-direction: row-reverse;
}

.hm-align-left {
  text-align: left;
  flex-direction: row;
}

.hm-text-group {
  display: flex;
  flex-direction: column;
}

.hm-text-lead {
  font-size: 0.88rem;
  color: #334155;
  font-weight: 500;
  line-height: 1.3;
}

.hm-text-highlight {
  font-size: 0.98rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  letter-spacing: -0.2px;
}

/* Specific Highlight Colors */
.text-red { color: #dc2626; }
.text-yellow { color: #d97706; }
.text-orange { color: #ea580c; }
.text-green { color: #16a34a; }
.text-purple { color: #4f46e5; }
.text-cyan { color: #0284c7; }

/* Indicator Dots */
.hm-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
  box-shadow: 0 0 10px currentColor;
}

.hm-dot-red { background: #ef4444; color: #ef4444; }
.hm-dot-yellow { background: #f59e0b; color: #f59e0b; }
.hm-dot-orange { background: #f97316; color: #f97316; }
.hm-dot-green { background: #22c55e; color: #22c55e; }
.hm-dot-purple { background: #6366f1; color: #6366f1; }
.hm-dot-cyan { background: #0284c7; color: #0284c7; }

/* ==========================================================================
   3D Circular Badges with Metallic Rims (Gambar 2 Replica)
   ========================================================================== */
.hm-badge {
  position: relative;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(145deg, #ffffff 0%, #e2e8f0 45%, #cbd5e1 100%);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.2),
              inset 0 2px 5px rgba(255, 255, 255, 0.9),
              0 0 0 1px rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hm-pillar-node:hover .hm-badge {
  transform: scale(1.08);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.28),
              inset 0 2px 6px rgba(255, 255, 255, 1);
}

.hm-badge-core {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.25),
              inset 0 -2px 4px rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.hm-badge-core::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 10%;
  width: 80%;
  height: 45%;
  border-radius: 50% 50% 40% 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

/* Badge Disc Color Gradients */
.hm-badge-red .hm-badge-core {
  background: radial-gradient(circle at 35% 30%, #ff4d4f 0%, #d32f2f 65%, #9a1010 100%);
}

.hm-badge-yellow .hm-badge-core {
  background: radial-gradient(circle at 35% 30%, #ffeb3b 0%, #fbc02d 65%, #f57f17 100%);
}

.hm-badge-orange .hm-badge-core {
  background: radial-gradient(circle at 35% 30%, #ffa726 0%, #fb8c00 65%, #e65100 100%);
}

.hm-badge-green .hm-badge-core {
  background: radial-gradient(circle at 35% 30%, #66bb6a 0%, #43a047 65%, #1b5e20 100%);
}

.hm-badge-purple .hm-badge-core {
  background: radial-gradient(circle at 35% 30%, #7986cb 0%, #3f51b5 65%, #1a237e 100%);
}

.hm-badge-cyan .hm-badge-core {
  background: radial-gradient(circle at 35% 30%, #4fc3f7 0%, #0288d1 65%, #01579b 100%);
}

/* SVG Icons Inside Badges */
.hm-icon {
  width: 46px;
  height: 46px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   Bottom Statement Card (Gambar 2 Replica)
   ========================================================================== */
.hm-bottom-card {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hm-bottom-divider {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(2, 132, 199, 0) 0%, rgba(2, 132, 199, 0.7) 35%, rgba(2, 132, 199, 0.7) 65%, rgba(2, 132, 199, 0) 100%);
  margin-bottom: 24px;
  border-radius: 2px;
}

.hm-bottom-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.45rem, 2.8vw, 2.4rem);
  font-weight: 800;
  color: #0a192f;
  line-height: 1.25;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hm-blue-glow {
  color: #0284c7;
  font-weight: 900;
  text-shadow: 0 0 24px rgba(2, 132, 199, 0.35);
}

.hm-cta-row {
  margin-top: 8px;
}

.hm-btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 36px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.hm-btn-cta:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(2, 132, 199, 0.55);
}

/* ==========================================================================
   Keyframe Animations
   ========================================================================== */
@keyframes hmSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes hmSpinRev {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes hmPulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

@keyframes hmWavePulse {
  0%, 100% { opacity: 0.7; stroke-width: 2.2; }
  50% { opacity: 1; stroke-width: 3; }
}

/* ==========================================================================
   Responsive Adaptations (Tablet & Mobile)
   ========================================================================== */
@media (max-width: 991px) {
  .healthy-minds-section,
  .slide1-hero-container.healthy-minds-section {
    padding: 48px 16px 60px;
    min-height: auto;
  }

  .hm-infographic-stage {
    height: auto;
    max-width: 720px;
    margin: 20px auto 30px;
  }

  .hm-center-art {
    display: none; /* Hide large orbital center on mobile/tablet to ensure clean cards */
  }

  .hm-pillars-grid {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .hm-pillar-node {
    position: static;
    transform: none;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 16px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
    display: flex;
    align-items: center;
    gap: 14px;
    flex-direction: row !important;
  }

  .hm-pillar-node:hover {
    transform: translateY(-3px);
  }

  /* Force uniform badge on left, text on right for every card */
  .hm-pillar-node .hm-badge {
    order: 1 !important;
    width: 68px;
    height: 68px;
  }

  .hm-pillar-node .hm-node-text {
    order: 2 !important;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    text-align: left !important;
    max-width: none;
    flex-direction: row !important;
    align-items: flex-start;
  }

  .hm-icon {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 640px) {
  .hm-pillars-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hm-main-title {
    font-size: 2.3rem;
  }

  .hm-bottom-title {
    font-size: 1.3rem;
  }

  .hm-btn-cta {
    width: 100%;
    justify-content: center;
    font-size: 0.95rem;
    padding: 13px 22px;
  }

  .hm-pillar-node .hm-badge {
    width: 62px;
    height: 62px;
  }

  .hm-icon {
    width: 36px;
    height: 36px;
  }
}

/* Slide 2: What Drives Your Business */
.slide2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 40px 0 32px;
}

.slide2-card {
  background: #ffffff;
  border-radius: 12px;
  border-top: 5px solid #0097a7;
  border-left: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 44px 28px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.slide2-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 151, 167, 0.12);
}

.slide2-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #e0f7fa;
  color: #0097a7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  margin: 0 auto 24px;
}

.slide2-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #132440;
  margin-bottom: 14px;
}

.slide2-card-desc {
  font-size: 1.02rem;
  color: #475569;
  line-height: 1.6;
}

/* Featured Photo Card in Slide 2 */
.slide2-image-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  margin-top: 36px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  max-height: 440px;
}

.slide2-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide2-image-card:hover .slide2-img {
  transform: scale(1.03);
}

.slide2-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(13, 25, 45, 0.85) 45%, rgba(13, 25, 45, 0.98) 100%);
  padding: 40px 24px 28px;
  text-align: center;
}

.slide2-image-overlay .slide2-conclusion {
  color: #2fd3f6;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 700;
  font-style: italic;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

/* Slide 3: The Factor We Often Overlook */
.slide3-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: stretch;
  margin-top: 36px;
}

.slide3-lead-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}

.slide3-warning-icon {
  font-size: 2.4rem;
  color: #f59e0b;
  flex-shrink: 0;
  margin-top: 2px;
}

.slide3-lead-text {
  font-size: 1.18rem;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.6;
}

.slide3-highlight-banner {
  background: #132440;
  color: #ffffff;
  padding: 20px 28px;
  border-radius: 10px;
  margin-bottom: 32px;
  box-shadow: 0 8px 24px rgba(19, 36, 64, 0.15);
}

.slide3-highlight-banner h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.slide3-carrying-title {
  font-size: 1.12rem;
  font-style: italic;
  color: #334155;
  margin-bottom: 20px;
  font-weight: 500;
}

.slide3-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.slide3-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.08rem;
  color: #1e293b;
  font-weight: 500;
}

.slide3-bullet {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2.5px solid #0097a7;
  background: #ffffff;
  flex-shrink: 0;
}

.slide3-stat-card {
  background: #132440;
  color: #ffffff;
  border-radius: 16px;
  padding: 52px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  box-shadow: 0 16px 40px rgba(19, 36, 64, 0.25);
}

.slide3-stat-num {
  font-size: clamp(3.8rem, 5.5vw, 5.2rem);
  font-weight: 800;
  color: #d4a359;
  line-height: 1;
  margin-bottom: 14px;
  font-family: var(--sl-font-sans);
}

.slide3-stat-lead {
  font-size: 1.1rem;
  color: #e2e8f0;
  line-height: 1.5;
  margin-bottom: 28px;
}

.slide3-cyan-divider {
  height: 3px;
  width: 100%;
  background: #00bcd4;
  margin: 0 auto 28px;
  border-radius: 2px;
}

.slide3-stat-note {
  font-size: 1.02rem;
  color: #e2e8f0;
  line-height: 1.55;
}

.slide3-stat-italic {
  font-style: italic;
  color: #94a3b8;
  margin-top: 6px;
}

/* Slide 4: The Real Impact on Your Operation */
.slide4-layout {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 32px;
  align-items: stretch;
  margin: 36px 0 36px;
}

.slide4-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.slide4-card {
  background: #ffffff;
  border-radius: 12px;
  border-left: 6px solid #d4a359;
  border-top: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 28px 24px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.slide4-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(212, 163, 89, 0.12);
}

.slide4-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #132440;
  margin-bottom: 10px;
}

.slide4-card-desc {
  font-size: 0.98rem;
  color: #475569;
  line-height: 1.6;
}

.slide4-image-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(19, 36, 64, 0.12);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  background: #132440;
}

.slide4-img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide4-image-card:hover .slide4-img {
  transform: scale(1.04);
}

.slide4-image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(19, 36, 64, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 14px 20px;
  border-radius: 10px;
  border: 1px solid rgba(212, 163, 89, 0.4);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.slide4-image-badge i {
  color: #d4a359;
  font-size: 1.2rem;
}

.slide4-bottom-warning {
  text-align: center;
  font-size: clamp(1.12rem, 1.6vw, 1.35rem);
  font-weight: 700;
  color: #b87b28;
  padding: 20px 28px;
  background: rgba(212, 163, 89, 0.12);
  border-radius: 10px;
  border: 1px solid rgba(212, 163, 89, 0.25);
  margin-top: 10px;
}

/* Slide 5: Now, the Positive Side */
.slide5-lead {
  font-style: italic;
  font-size: 1.2rem;
  color: #1e293b;
  margin-bottom: 24px;
}

.slide5-layout {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 36px;
  align-items: stretch;
  margin-top: 24px;
}

.slide5-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide5-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 0 24px;
  padding: 0;
}

.slide5-checklist li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.12rem;
  font-weight: 600;
  color: #132440;
  background: #ffffff;
  padding: 16px 22px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease;
}

.slide5-checklist li:hover {
  transform: translateX(4px);
}

.slide5-check-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #132440;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.slide5-callout {
  text-align: left;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.15rem, 1.5vw, 1.38rem);
  color: #b87b28;
  margin-top: 18px;
  line-height: 1.5;
}

.slide5-image-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 38px rgba(19, 36, 64, 0.12);
  border: 1px solid #e2e8f0;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  background: #132440;
}

.slide5-img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide5-image-card:hover .slide5-img {
  transform: scale(1.04);
}

.slide5-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(19, 36, 64, 0.8) 55%, rgba(19, 36, 64, 0.96) 100%);
  padding: 36px 24px 22px;
  display: flex;
  justify-content: center;
}

.slide5-badge {
  background: rgba(212, 163, 89, 0.95);
  color: #132440;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 9px 20px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

/* Slide 6: What All Phase Industrial Psychology Offers */
.slide6-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: stretch;
  margin-top: 36px;
}

.slide6-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.slide6-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  padding: 28px 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.slide6-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 151, 167, 0.1);
  border-color: rgba(0, 151, 167, 0.35);
}

.slide6-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #e0f7fa;
  color: #0097a7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.slide6-card-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: #132440;
  margin-bottom: 8px;
}

.slide6-card-desc {
  font-size: 0.98rem;
  color: #475569;
  line-height: 1.55;
}

.slide6-image-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 38px rgba(0, 151, 167, 0.12);
  border: 1px solid #e2e8f0;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  background: #0097a7;
}

.slide6-img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide6-image-card:hover .slide6-img {
  transform: scale(1.04);
}

.slide6-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(13, 25, 45, 0.8) 55%, rgba(13, 25, 45, 0.96) 100%);
  padding: 36px 24px 22px;
  display: flex;
  justify-content: center;
}

.slide6-badge {
  background: rgba(0, 151, 167, 0.95);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 9px 20px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

/* Slide 7: How It Works — Simple & Seamless */
.slide7-timeline {
  max-width: 880px;
  margin: 44px auto 0;
  display: flex;
  flex-direction: column;
}

.slide7-step {
  display: flex;
  gap: 26px;
}

.slide7-num-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.slide7-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0097a7;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--sl-font-sans);
  box-shadow: 0 4px 12px rgba(0, 151, 167, 0.3);
}

.slide7-line {
  width: 3px;
  flex-grow: 1;
  background: #b2ebf2;
  min-height: 44px;
  margin: 6px 0;
}

.slide7-body {
  padding-bottom: 34px;
}

.slide7-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #132440;
  margin-bottom: 8px;
}

.slide7-desc {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.6;
}

/* Slide 8: Closing / Contact */
.slide8-section {
  background: radial-gradient(circle at 50% 25%, #1e3a63 0%, #132440 60%, #0d192d 100%);
  color: #ffffff;
  text-align: center;
  padding: 100px 24px 80px;
  position: relative;
  scroll-margin-top: 76px;
}

.slide-brain-icon,
.slide8-section .slide-brain-icon {
  width: 88px;
  height: 88px;
  max-width: 88px;
  max-height: 88px;
  object-fit: contain;
  margin: 0 auto 26px auto;
  display: block;
  filter: drop-shadow(0 6px 20px rgba(0, 188, 212, 0.45));
}

.slide8-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.slide8-p {
  font-size: clamp(1.12rem, 1.6vw, 1.38rem);
  color: #e2e8f0;
  margin-bottom: 14px;
  line-height: 1.6;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.btn-teal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 8px;
  background: #0097a7;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  margin: 34px auto 44px;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0, 151, 167, 0.4);
}

.btn-teal:hover {
  background: #00838f;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 151, 167, 0.55);
}

.slide8-contact-line {
  font-size: 1.18rem;
  color: #cbd5e1;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.slide8-direct-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  color: #38bdf8;
  font-weight: 600;
  font-size: 1.05rem;
  flex-wrap: wrap;
}

.slide8-direct-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #38bdf8;
  transition: color 0.2s ease;
}

.slide8-direct-links a:hover {
  color: #ffffff;
}

.slide8-sep {
  color: rgba(255, 255, 255, 0.3);
}

/* Slide Responsive Adjustments */
@media (max-width: 992px) {
  .slide3-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .slide4-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .slide4-image-card {
    min-height: 280px;
    height: 300px;
  }

  .slide5-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .slide5-image-card {
    min-height: 320px;
    height: 320px;
    order: -1; /* Place image above checklist on tablet for visual balance */
  }

  .slide6-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .slide6-image-card {
    min-height: 280px;
    height: 300px;
  }

  .slide2-image-card .slide2-img {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .slide2-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .slide4-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .slide6-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .slide5-callout {
    text-align: center;
  }

  .slide4-image-card {
    min-height: 240px;
    height: 250px;
  }

  .slide5-image-card {
    min-height: 260px;
    height: 260px;
  }

  .slide6-image-card {
    min-height: 240px;
    height: 250px;
  }

  .slide2-image-card .slide2-img {
    height: 220px;
  }

  .slide2-image-overlay {
    padding: 24px 16px 18px;
  }

  .slide6-card {
    flex-direction: column;
    gap: 16px;
  }
}

/* ============================================================
   SECTION ENTRANCE & SCROLL REVEAL ANIMATIONS (Modern & Smooth)
   ============================================================ */

/* Keyframe Definitions */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroBrainIn {
  0% {
    opacity: 0;
    transform: scale(0.7) translate3d(0, 20px, 0);
  }
  70% {
    opacity: 1;
    transform: scale(1.05) translate3d(0, -4px, 0);
  }
  100% {
    opacity: 1;
    transform: scale(1) translate3d(0, 0, 0);
  }
}

@keyframes brainFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes brainGlowPulse {
  0%, 100% {
    filter: drop-shadow(0 6px 18px rgba(0, 188, 212, 0.45));
  }
  50% {
    filter: drop-shadow(0 14px 32px rgba(0, 188, 212, 0.8));
  }
}

@keyframes expandGoldBar {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 100px;
    opacity: 1;
  }
}

@keyframes zoomInSoft {
  from {
    opacity: 0;
    transform: scale(0.92) translate3d(0, 16px, 0);
  }
  to {
    opacity: 1;
    transform: scale(1) translate3d(0, 0, 0);
  }
}

@keyframes checkSpinIn {
  0% {
    opacity: 0;
    transform: scale(0) rotate(-60deg);
  }
  80% {
    transform: scale(1.15) rotate(10deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes ctaGlowPulse {
  0%, 100% {
    box-shadow: 0 6px 24px rgba(0, 151, 167, 0.4);
  }
  50% {
    box-shadow: 0 12px 36px rgba(0, 151, 167, 0.7), 0 0 20px rgba(56, 189, 248, 0.45);
  }
}

/* 1. Hero Section Entrance (Healthy Minds at Work - Gambar 2) */
html.js-anim .slide1-hero-container .hm-top-badge {
  opacity: 0;
  transform: translate3d(0, -14px, 0);
}

html.js-anim .slide1-hero-container.hero-active .hm-top-badge {
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

html.js-anim .slide1-hero-container .hm-main-title {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
}

html.js-anim .slide1-hero-container.hero-active .hm-main-title {
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

html.js-anim .slide1-hero-container .hm-subtitle {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
}

html.js-anim .slide1-hero-container.hero-active .hm-subtitle {
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.32s forwards;
}

html.js-anim .slide1-hero-container .hm-infographic-stage {
  opacity: 0;
  transform: scale(0.96) translate3d(0, 16px, 0);
}

html.js-anim .slide1-hero-container.hero-active .hm-infographic-stage {
  animation: zoomInSoft 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
}

html.js-anim .slide1-hero-container .hm-bottom-card {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
}

html.js-anim .slide1-hero-container.hero-active .hm-bottom-card {
  animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.65s forwards;
}

/* 2. Slide Title Bars Entrance */
html.js-anim .slide-title-bar {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

html.js-anim .slide-title-bar.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

html.js-anim .slide-title-bar .slide-heading {
  position: relative;
  display: inline-block;
}

html.js-anim .slide-title-bar .slide-heading::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4a359, #0097a7);
  border-radius: 2px;
  transition: width 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}

html.js-anim .slide-title-bar.is-visible .slide-heading::after {
  width: 56px;
}

/* 3. Section Lead Text */
html.js-anim .slide-section .slide-lead {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

html.js-anim .slide-section.is-visible .slide-lead {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* 4. Slide 2: What Drives Your Business Cards & Team Photo */
html.js-anim .slide2-card {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s ease;
}

html.js-anim .slide-section.is-visible .slide2-card:nth-child(1) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: 0.1s;
}

html.js-anim .slide-section.is-visible .slide2-card:nth-child(2) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: 0.24s;
}

html.js-anim .slide-section.is-visible .slide2-card:nth-child(3) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: 0.38s;
}

html.js-anim .slide2-card .slide2-icon-wrap {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

html.js-anim .slide2-card:hover .slide2-icon-wrap {
  transform: scale(1.12) rotate(6deg);
}

html.js-anim .slide2-image-card {
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s,
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s;
}

html.js-anim .slide-section.is-visible .slide2-image-card {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* 5. Slide 3: The Factor We Often Overlook */
html.js-anim .slide3-left {
  opacity: 0;
  transform: translate3d(-28px, 0, 0);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

html.js-anim .slide-section.is-visible .slide3-left {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

html.js-anim .slide3-list li {
  opacity: 0;
  transform: translate3d(-16px, 0, 0);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

html.js-anim .slide-section.is-visible .slide3-list li:nth-child(1) { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: 0.15s; }
html.js-anim .slide-section.is-visible .slide3-list li:nth-child(2) { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: 0.23s; }
html.js-anim .slide-section.is-visible .slide3-list li:nth-child(3) { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: 0.31s; }
html.js-anim .slide-section.is-visible .slide3-list li:nth-child(4) { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: 0.39s; }
html.js-anim .slide-section.is-visible .slide3-list li:nth-child(5) { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: 0.47s; }
html.js-anim .slide-section.is-visible .slide3-list li:nth-child(6) { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: 0.55s; }

html.js-anim .slide3-stat-card {
  opacity: 0;
  transform: translate3d(28px, 0, 0) scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s,
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}

html.js-anim .slide-section.is-visible .slide3-stat-card {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

html.js-anim .slide3-cyan-divider {
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}

html.js-anim .slide-section.is-visible .slide3-cyan-divider {
  transform: scaleX(1);
}

/* 6. Slide 4: Real Impact Cards & Factory Image */
html.js-anim .slide4-card {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s ease;
}

html.js-anim .slide-section.is-visible .slide4-card:nth-child(1) { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: 0.1s; }
html.js-anim .slide-section.is-visible .slide4-card:nth-child(2) { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: 0.22s; }
html.js-anim .slide-section.is-visible .slide4-card:nth-child(3) { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: 0.34s; }
html.js-anim .slide-section.is-visible .slide4-card:nth-child(4) { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: 0.46s; }

html.js-anim .slide4-image-card {
  opacity: 0;
  transform: translate3d(30px, 0, 0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s,
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}

html.js-anim .slide-section.is-visible .slide4-image-card {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

html.js-anim .slide4-bottom-warning {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.52s,
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.52s;
}

html.js-anim .slide-section.is-visible .slide4-bottom-warning {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* 7. Slide 5: Positive Side Checklist & Doctor Portrait */
html.js-anim .slide5-checklist li {
  opacity: 0;
  transform: translate3d(-24px, 0, 0);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

html.js-anim .slide-section.is-visible .slide5-checklist li:nth-child(1) { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: 0.12s; }
html.js-anim .slide-section.is-visible .slide5-checklist li:nth-child(2) { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: 0.22s; }
html.js-anim .slide-section.is-visible .slide5-checklist li:nth-child(3) { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: 0.32s; }
html.js-anim .slide-section.is-visible .slide5-checklist li:nth-child(4) { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: 0.42s; }
html.js-anim .slide-section.is-visible .slide5-checklist li:nth-child(5) { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: 0.52s; }

html.js-anim .slide5-check-icon {
  transform: scale(0.6);
  opacity: 0;
}

html.js-anim .slide-section.is-visible .slide5-check-icon {
  animation: checkSpinIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

html.js-anim .slide-section.is-visible .slide5-checklist li:nth-child(1) .slide5-check-icon { animation-delay: 0.16s; }
html.js-anim .slide-section.is-visible .slide5-checklist li:nth-child(2) .slide5-check-icon { animation-delay: 0.26s; }
html.js-anim .slide-section.is-visible .slide5-checklist li:nth-child(3) .slide5-check-icon { animation-delay: 0.36s; }
html.js-anim .slide-section.is-visible .slide5-checklist li:nth-child(4) .slide5-check-icon { animation-delay: 0.46s; }
html.js-anim .slide-section.is-visible .slide5-checklist li:nth-child(5) .slide5-check-icon { animation-delay: 0.56s; }

html.js-anim .slide5-image-card {
  opacity: 0;
  transform: translate3d(30px, 0, 0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s,
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}

html.js-anim .slide-section.is-visible .slide5-image-card {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

html.js-anim .slide5-callout {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.58s,
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.58s;
}

html.js-anim .slide-section.is-visible .slide5-callout {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* 8. Slide 6: What All Phase Offers Cards & Counseling Image */
html.js-anim .slide6-card {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              box-shadow 0.25s ease;
}

html.js-anim .slide-section.is-visible .slide6-card:nth-child(1) { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: 0.1s; }
html.js-anim .slide-section.is-visible .slide6-card:nth-child(2) { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: 0.22s; }
html.js-anim .slide-section.is-visible .slide6-card:nth-child(3) { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: 0.34s; }
html.js-anim .slide-section.is-visible .slide6-card:nth-child(4) { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: 0.46s; }

html.js-anim .slide6-card .slide6-icon {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

html.js-anim .slide6-card:hover .slide6-icon {
  transform: scale(1.12) rotate(6deg);
}

html.js-anim .slide6-image-card {
  opacity: 0;
  transform: translate3d(30px, 0, 0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s,
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}

html.js-anim .slide-section.is-visible .slide6-image-card {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* 9. Slide 7: How It Works Timeline */
html.js-anim .slide7-step {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

html.js-anim .slide-section.is-visible .slide7-step:nth-child(1) { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: 0.1s; }
html.js-anim .slide-section.is-visible .slide7-step:nth-child(2) { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: 0.25s; }
html.js-anim .slide-section.is-visible .slide7-step:nth-child(3) { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: 0.4s; }
html.js-anim .slide-section.is-visible .slide7-step:nth-child(4) { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: 0.55s; }
html.js-anim .slide-section.is-visible .slide7-step:nth-child(5) { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: 0.7s; }
html.js-anim .slide-section.is-visible .slide7-step:nth-child(6) { opacity: 1; transform: translate3d(0, 0, 0); transition-delay: 0.85s; }

html.js-anim .slide7-num {
  transform: scale(0.8);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

html.js-anim .slide-section.is-visible .slide7-num {
  transform: scale(1);
}

html.js-anim .slide7-line {
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

html.js-anim .slide-section.is-visible .slide7-step:nth-child(1) .slide7-line { transform: scaleY(1); transition-delay: 0.25s; }
html.js-anim .slide-section.is-visible .slide7-step:nth-child(2) .slide7-line { transform: scaleY(1); transition-delay: 0.4s; }
html.js-anim .slide-section.is-visible .slide7-step:nth-child(3) .slide7-line { transform: scaleY(1); transition-delay: 0.55s; }
html.js-anim .slide-section.is-visible .slide7-step:nth-child(4) .slide7-line { transform: scaleY(1); transition-delay: 0.7s; }
html.js-anim .slide-section.is-visible .slide7-step:nth-child(5) .slide7-line { transform: scaleY(1); transition-delay: 0.85s; }

/* 10. Slide 8: Closing / Contact Section */
html.js-anim .slide8-section {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

html.js-anim .slide8-section.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

html.js-anim .slide8-section.is-visible .slide-brain-icon {
  animation: brainFloat 4s ease-in-out infinite,
             brainGlowPulse 3s ease-in-out infinite;
}

html.js-anim .slide8-section.is-visible .btn-teal {
  animation: ctaGlowPulse 3.5s ease-in-out infinite 0.6s;
}

/* Mobile Animation Refinements (Switch horizontal translation to vertical to avoid any jitter) */
@media (max-width: 992px) {
  html.js-anim .slide3-left,
  html.js-anim .slide3-stat-card,
  html.js-anim .slide4-image-card,
  html.js-anim .slide5-image-card,
  html.js-anim .slide6-image-card {
    transform: translate3d(0, 24px, 0) !important;
  }

  html.js-anim .slide-section.is-visible .slide3-left,
  html.js-anim .slide-section.is-visible .slide3-stat-card,
  html.js-anim .slide-section.is-visible .slide4-image-card,
  html.js-anim .slide-section.is-visible .slide5-image-card,
  html.js-anim .slide-section.is-visible .slide6-image-card {
    transform: translate3d(0, 0, 0) !important;
  }
}

/* Accessibility: Support reduced motion */
@media (prefers-reduced-motion: reduce) {
  html.js-anim * {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}