/* ============================================================
   DYNTRIX — FLORENIX-INSPIRED NEXT-GEN REDESIGN
   Full-Viewport Scroll-Snap | 3D Quantum Machine | Dual Theme
   ============================================================ */

/* ── RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ════════════════════════════════════════════════════════════
   THEME PALETTES
   Default / Light: Florenix Ethereal Sky-Blue Atmosphere
   Dark: Cyber-Midnight Deep Space
════════════════════════════════════════════════════════════ */

:root, [data-theme="light"] {
  --bg-gradient: radial-gradient(circle at 50% 36%, #e0f2fe 0%, #bae6fd 30%, #7dd3fc 65%, #38bdf8 100%);
  --bg-solid: #bae6fd;
  
  /* Frosted Glass Translucent Surfaces — Soft Sky-Blended, NEVER Stark Opaque White */
  --bg-surface: linear-gradient(135deg, rgba(255, 255, 255, 0.42) 0%, rgba(215, 238, 254, 0.25) 100%);
  --bg-surface-hover: linear-gradient(135deg, rgba(255, 255, 255, 0.65) 0%, rgba(186, 230, 253, 0.45) 100%);
  --border-pill: rgba(255, 255, 255, 0.72);
  --border-card: rgba(255, 255, 255, 0.6);
  --shadow-pill: 0 4px 20px rgba(15, 45, 95, 0.06), inset 0 1px 1px rgba(255, 255, 255, 0.85);
  --shadow-card: 0 10px 32px rgba(14, 40, 80, 0.07), inset 0 1px 1px rgba(255, 255, 255, 0.85);

  /* Floating Pill Capsules */
  --bg-pill: rgba(255, 255, 255, 0.6);
  --bg-pill-hover: rgba(255, 255, 255, 0.85);

  /* Typography */
  --text-hero: #0f172a;
  --text-hero-sub: #1e293b;
  --text-hero-shadow: none;
  --text-title: #0f172a;
  --text-body: #334155;
  --text-muted: #475569;
  --text-pill: #0f172a;

  /* Accents */
  --accent-primary: #0284c7;
  --accent-secondary: #06b6d4;
  --accent-gradient: linear-gradient(135deg, #0284c7, #06b6d4);
  --hero-btn-bg: #0f172a;
  --hero-btn-text: #ffffff;
  --hero-glass-btn-bg: rgba(255, 255, 255, 0.5);
  --hero-glass-btn-border: rgba(255, 255, 255, 0.7);
  --hero-glass-btn-text: #0f172a;

  /* Ticker */
  --ticker-bg: rgba(255, 255, 255, 0.58);
  --ticker-border: rgba(255, 255, 255, 0.65);
  --ticker-text: #0f172a;

  /* Indicators */
  --dot-bg: rgba(15, 23, 42, 0.22);
  --dot-active: #0284c7;
}

[data-theme="dark"] {
  --bg-gradient: radial-gradient(circle at 50% 30%, #111a33 0%, #090e1c 50%, #050811 100%);
  --bg-solid: #090e1c;
  --bg-surface: linear-gradient(135deg, rgba(30, 41, 59, 0.55) 0%, rgba(15, 23, 42, 0.45) 100%);
  --bg-surface-hover: linear-gradient(135deg, rgba(51, 65, 85, 0.65) 0%, rgba(30, 41, 59, 0.55) 100%);
  --border-pill: rgba(124, 109, 255, 0.3);
  --border-card: rgba(124, 109, 255, 0.22);
  --shadow-pill: 0 4px 28px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.08);
  --shadow-card: 0 16px 40px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.1);

  --bg-pill: rgba(15, 23, 42, 0.72);
  --bg-pill-hover: rgba(30, 41, 59, 0.85);

  /* Typography */
  --text-hero: #f8fafc;
  --text-hero-sub: rgba(241, 245, 249, 0.78);
  --text-hero-shadow: 0 2px 20px rgba(0, 229, 255, 0.15);
  --text-title: #f8fafc;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --text-pill: #f1f5f9;

  /* Accents */
  --accent-primary: #7c6dff;
  --accent-secondary: #00e5ff;
  --accent-gradient: linear-gradient(135deg, #7c6dff, #00e5ff);
  --hero-btn-bg: linear-gradient(135deg, #6c63ff, #00e5ff);
  --hero-btn-text: #ffffff;
  --hero-glass-btn-bg: rgba(255, 255, 255, 0.08);
  --hero-glass-btn-border: rgba(255, 255, 255, 0.25);
  --hero-glass-btn-text: #f8fafc;

  /* Ticker */
  --ticker-bg: rgba(8, 12, 24, 0.8);
  --ticker-border: rgba(124, 109, 255, 0.2);
  --ticker-text: #e2e8f0;

  /* Indicators */
  --dot-bg: rgba(255, 255, 255, 0.25);
  --dot-active: #00e5ff;
}

/* ════════════════════════════════════════════════════════════
   MASTER SCROLL-SNAP CONTAINER
════════════════════════════════════════════════════════════ */

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

#dyntrix-viewport {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-solid);
  background-image: var(--bg-gradient);
  transition: background 0.5s ease;
}

#dyntrix-viewport::-webkit-scrollbar {
  display: none;
}

/* Each Slide occupies exact 100vh viewport */
.viewport-slide {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Allow slide 5 (Contact & Full Footer) to scroll naturally on small screens */
.viewport-slide.footer-slide {
  overflow-y: auto;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}
.viewport-slide.footer-slide::-webkit-scrollbar {
  width: 6px;
}
.viewport-slide.footer-slide::-webkit-scrollbar-thumb {
  background: rgba(124, 109, 255, 0.4);
  border-radius: 3px;
}

/* ════════════════════════════════════════════════════════════
   HEADER — FLORENIX FLOATING PILL CAPSULES
════════════════════════════════════════════════════════════ */

#florenix-header {
  position: fixed !important;
  top: 16px !important;
  left: 32px !important;
  right: 32px !important;
  width: calc(100% - 64px) !important;
  max-width: none !important;
  transform: none !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  z-index: 9999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  pointer-events: none !important; /* children enable pointer-events */
}

.header-capsule-row {
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}

/* Individual Pill Capsule — Compact & Sleek */
.capsule {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 14px;
  background: var(--bg-pill);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-pill);
  border-radius: 100px;
  box-shadow: var(--shadow-pill);
  color: var(--text-pill);
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

/* Brand Capsule */
.capsule-brand {
  gap: 7px;
  cursor: pointer;
  padding-left: 8px;
  padding-right: 14px;
}
.capsule-brand:hover {
  transform: translateY(-2px);
  background: var(--bg-pill-hover);
}
.brand-icon-box {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #fff;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
}
.brand-name {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.03em;
}
.brand-divider {
  opacity: 0.35;
  font-weight: 300;
}
.brand-sub {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

/* Nav Menu Capsule */
.capsule-nav {
  padding: 0 4px;
  gap: 2px;
}
.nav-link-pill {
  padding: 6px 12px;
  border-radius: 100px;
  color: var(--text-pill);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.25s ease;
}
.nav-link-pill:hover {
  background: rgba(124, 109, 255, 0.12);
  color: var(--accent-primary);
}
.nav-link-pill.active {
  background: var(--text-title);
  color: #ffffff;
}
[data-theme="light"] .nav-link-pill.active {
  background: #0f172a;
  color: #ffffff;
}

/* Icon / Button Capsules */
.capsule-btn {
  cursor: pointer;
  border: 1px solid var(--border-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}
.capsule-btn:hover {
  transform: translateY(-2px);
  background: var(--bg-pill-hover);
}

.capsule-icon-only {
  width: 38px;
  height: 38px;
  padding: 0;
  font-size: 14px;
}

/* Hamburger button icon */
.hamburger-lines {
  display: flex;
  flex-direction: column;
  gap: 3.5px;
  width: 14px;
}
.hamburger-lines span {
  display: block;
  height: 1.8px;
  background: var(--text-pill);
  border-radius: 2px;
  transition: transform 0.3s;
}

/* CTA Pill button */
.capsule-cta {
  background: var(--accent-gradient);
  color: #ffffff !important;
  border: none;
  padding: 0 16px;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  gap: 6px;
  box-shadow: 0 4px 18px rgba(59, 130, 246, 0.35);
}
.capsule-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(59, 130, 246, 0.5);
}
.cta-arrow {
  transition: transform 0.25s;
}
.capsule-cta:hover .cta-arrow {
  transform: translateX(3px);
}

/* ════════════════════════════════════════════════════════════
   SLIDE 0 — HERO (Florenix Layout)
════════════════════════════════════════════════════════════ */

#slide-hero {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Hero Typography (Anchored Bottom-Left, Florenix Exact & Compact) */
.hero-left-container {
  position: absolute;
  left: 56px;
  bottom: 74px;
  max-width: 480px;
  z-index: 10;
  pointer-events: auto;
}

.hero-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 26px;
  padding: 0 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-hero);
  margin-bottom: 12px;
}
[data-theme="dark"] .hero-tag-pill {
  background: rgba(124, 109, 255, 0.15);
  border-color: rgba(124, 109, 255, 0.35);
  color: #00e5ff;
}

.tag-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00f0ff;
  box-shadow: 0 0 8px #00f0ff;
  animation: pulse-glow 2s infinite;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.85rem, 2.6vw, 2.45rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--text-hero);
  text-shadow: var(--text-hero-shadow);
  margin-bottom: 12px;
}

.gradient-word {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-theme="dark"] .gradient-word {
  background: linear-gradient(135deg, #7c6dff 0%, #00e5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-hero-sub);
  max-width: 380px;
  margin-bottom: 20px;
}

.hero-buttons-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-hero-solid {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 24px;
  border-radius: 100px;
  background: var(--hero-btn-bg);
  color: var(--hero-btn-text);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}
.btn-hero-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.btn-hero-glass {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 22px;
  border-radius: 100px;
  background: var(--hero-glass-btn-bg);
  border: 1px solid var(--hero-glass-btn-border);
  backdrop-filter: blur(12px);
  color: var(--hero-glass-btn-text);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-hero-glass:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}
/* ════════════════════════════════════════════════════════════
   HERO RIGHT STAGE — CUTE 3D AI ROBOT (Exact as Preview Image)
════════════════════════════════════════════════════════════ */

.hero-right-stage {
  position: absolute;
  right: 56px;
  top: 50%;
  transform: translateY(-50%);
  width: 540px;
  height: 580px;
  max-height: calc(100vh - 120px);
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.robot-visual-card {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.robot-ambient-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.45) 0%, rgba(168, 85, 247, 0.22) 50%, rgba(0, 0, 0, 0) 75%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
  animation: aura-pulse 4s ease-in-out infinite alternate;
}
@keyframes aura-pulse {
  0% { transform: scale(0.92); opacity: 0.6; }
  100% { transform: scale(1.18); opacity: 0.95; }
}

.lottie-robot-box {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  animation: robot-levitate 5s ease-in-out infinite alternate;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  perspective: 1000px;
}

.lottie-robot-box svg {
  width: 100% !important;
  height: 100% !important;
  max-width: 480px;
  max-height: 540px;
  filter: drop-shadow(0 20px 35px rgba(15, 35, 75, 0.16));
  overflow: visible !important;
}

.robot-fallback-img {
  position: relative;
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
  filter: drop-shadow(0 20px 35px rgba(15, 35, 75, 0.16));
  user-select: none;
  -webkit-user-drag: none;
}

@keyframes robot-levitate {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-14px) rotate(0.8deg);
  }
  100% {
    transform: translateY(6px) rotate(-0.8deg);
  }
}

/* Floating Cyber Tags on the Robot */
.tech-floating-tag {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 100px;
  box-shadow: 0 8px 24px rgba(15, 45, 95, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.85);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0f172a;
  user-select: none;
  animation: tag-float 4s ease-in-out infinite alternate;
}
[data-theme="dark"] .tech-floating-tag {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(124, 109, 255, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  color: #f8fafc;
}

.tag-status {
  top: 14%;
  left: 0%;
}
.tag-engine {
  bottom: 16%;
  right: 2%;
  animation-delay: -2s;
}

@keyframes tag-float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.pulse-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}

.icon-spark {
  color: #f59e0b;
  font-size: 13px;
}

/* ════════════════════════════════════════════════════════════
   BOTTOM TICKER BAR — FLORENIX EXACT
════════════════════════════════════════════════════════════ */

.florenix-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 46px;
  background: var(--ticker-bg);
  border-top: 1px solid var(--ticker-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 50;
  overflow: hidden;
}

.ticker-left-content {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ticker-text);
  white-space: nowrap;
}

.ticker-pulse-icon {
  color: var(--accent-primary);
  font-size: 10px;
}

.ticker-right-action {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-primary);
  cursor: pointer;
  transition: all 0.25s;
  user-select: none;
}
.ticker-right-action:hover {
  opacity: 0.75;
  transform: translateY(2px);
}

/* ════════════════════════════════════════════════════════════
   SIDE NAVIGATION DOT INDICATORS
════════════════════════════════════════════════════════════ */

#side-indicators {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.side-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dot-bg);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.side-dot::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: #0f172a;
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.side-dot:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(-4px);
}
.side-dot.active {
  background: var(--dot-active);
  transform: scale(1.7);
  box-shadow: 0 0 12px var(--dot-active);
}

/* ════════════════════════════════════════════════════════════
   SLIDE CONTENT TEMPLATES (Slides 1 to 5)
════════════════════════════════════════════════════════════ */

.slide-inner-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 76px 48px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  position: relative;
  z-index: 2;
}

.section-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--accent-primary);
}

.section-main-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 2.3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text-title);
  margin-bottom: 6px;
}

.section-subtitle {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 20px;
}

/* Services 6-Grid */
.services-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-glass-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: 18px;
  padding: 20px 20px;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}
.service-glass-card:hover {
  transform: translateY(-5px);
  background: var(--bg-surface-hover);
  border-color: rgba(2, 132, 199, 0.45);
  box-shadow: 0 16px 36px rgba(2, 132, 199, 0.12), inset 0 1px 1px #ffffff;
}
[data-theme="dark"] .service-glass-card:hover {
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: 0 16px 36px rgba(0, 229, 255, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.service-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
  transition: transform 0.3s ease;
}
.service-glass-card:hover .service-icon-wrap {
  transform: scale(1.08) rotate(2deg);
}

/* Individual distinct vibrant jewel tones for each service card */
.service-glass-card:nth-child(1) .service-icon-wrap {
  background: linear-gradient(135deg, #ec4899, #f43f5e);
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.35);
}
.service-glass-card:nth-child(2) .service-icon-wrap {
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}
.service-glass-card:nth-child(3) .service-icon-wrap {
  background: linear-gradient(135deg, #059669, #10b981);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}
.service-glass-card:nth-child(4) .service-icon-wrap {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}
.service-glass-card:nth-child(5) .service-icon-wrap {
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}
.service-glass-card:nth-child(6) .service-icon-wrap {
  background: linear-gradient(135deg, #ea580c, #f59e0b);
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
}

.service-glass-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 6px;
}
.service-glass-card p {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-body);
}

/* Products 3-Row Cards */
.products-card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-showcase-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.product-showcase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}
.product-showcase-card:hover {
  transform: translateY(-6px);
  background: var(--bg-surface-hover);
  border-color: rgba(2, 132, 199, 0.45);
  box-shadow: 0 18px 40px rgba(2, 132, 199, 0.12), inset 0 1px 1px #ffffff;
}
[data-theme="dark"] .product-showcase-card:hover {
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: 0 18px 40px rgba(0, 229, 255, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}
.product-num-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--accent-primary);
  margin-bottom: 12px;
}
.product-icon-large {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-showcase-card:hover .product-icon-large {
  transform: scale(1.1) rotate(2deg);
}
.product-card-flow .product-icon-large {
  background: rgba(2, 132, 199, 0.12);
  border: 1px solid rgba(2, 132, 199, 0.25);
  color: #0284c7;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.15);
}
.product-card-crm .product-icon-large {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #10b981;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.15);
}
.product-card-uikit .product-icon-large {
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.25);
  color: #8b5cf6;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.15);
}
.product-showcase-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 8px;
}
.product-showcase-card p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-body);
}

/* Portfolio Grid */
.portfolio-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.portfolio-item-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.portfolio-item-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}
.portfolio-item-card:hover {
  transform: translateY(-4px) scale(1.015);
  background: var(--bg-surface-hover);
  border-color: rgba(2, 132, 199, 0.45);
  box-shadow: 0 14px 34px rgba(2, 132, 199, 0.12), inset 0 1px 1px #ffffff;
}
[data-theme="dark"] .portfolio-item-card:hover {
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: 0 14px 34px rgba(0, 229, 255, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}
.port-tag-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 6px;
}
.portfolio-item-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 5px;
}
.portfolio-item-card p {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-body);
}

/* About Layout with Stats & Founders */
.about-split-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}
.stats-counter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
}
.stat-item-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.stat-item-box:hover {
  transform: translateY(-3px);
}
.stat-item-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}
.stat-item-box h4 {
  font-family: 'Syne', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: 2px;
}
.stat-item-box span {
  font-size: 0.8rem;
  color: var(--text-body);
}

/* Founders interactive tab card */
.founder-tab-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: 20px;
  padding: 26px 28px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.founder-tab-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}
.founder-tab-buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.f-tab-btn {
  flex: 1;
  height: 36px;
  border-radius: 100px;
  border: 1px solid var(--border-pill);
  background: rgba(255, 255, 255, 0.4);
  color: var(--text-pill);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
}
.f-tab-btn.active {
  background: var(--text-title);
  color: #fff;
}
[data-theme="light"] .f-tab-btn.active {
  background: #0f172a;
  color: #fff;
}
.founder-quote-body {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--text-body);
}
.founder-author-tag {
  margin-top: 14px;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-title);
}

/* ════════════════════════════════════════════════════════════
   SLIDE 5 — CONTACT & RESTORED FULL ORIGINAL FOOTER
════════════════════════════════════════════════════════════ */

.slide-5-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  justify-content: space-between;
}

.contact-top-cta {
  padding: 76px 48px 24px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* ── FULL RESTORED FOOTER ── */
#main-site-footer {
  width: 100%;
  background: #070b16;
  border-top: 1px solid rgba(124, 109, 255, 0.2);
  color: #f8fafc;
  padding: 56px 64px 32px;
  position: relative;
  z-index: 10;
}

.footer-4-columns {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand-col h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}
.footer-brand-col p {
  font-size: 0.84rem;
  line-height: 1.7;
  color: #94a3b8;
  max-width: 290px;
  margin-bottom: 20px;
}
.footer-social-icons {
  display: flex;
  gap: 10px;
}
.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.25s;
}
.footer-social-btn:hover {
  background: #3b82f6;
  color: #fff;
  border-color: #3b82f6;
  transform: translateY(-2px);
}

.footer-nav-col h3,
.footer-address-col h3,
.footer-form-col h3 {
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 18px;
}

.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-link-list a {
  font-size: 0.84rem;
  color: #94a3b8;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.25s;
}
.footer-link-list a:hover {
  color: #ffffff;
}

.footer-contact-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-contact-items li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
  color: #94a3b8;
}
.footer-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #38bdf8;
}
.footer-contact-items li a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.25s;
}
.footer-contact-items li a:hover {
  color: #ffffff;
}

.footer-email-box {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.footer-email-box input {
  flex: 1;
  height: 42px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 0 14px;
  font-family: inherit;
  font-size: 0.84rem;
  color: #fff;
  outline: none;
}
.footer-email-box input:focus {
  border-color: #3b82f6;
}
.footer-email-box button {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #3b82f6;
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.25s;
}
.footer-email-box button:hover {
  background: #2563eb;
}
.footer-note-text {
  font-size: 0.74rem;
  color: #64748b;
  margin-bottom: 18px;
}
.btn-footer-start {
  width: 100%;
  height: 44px;
  border-radius: 100px;
  background: var(--accent-gradient);
  border: none;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(59, 130, 246, 0.4);
  transition: transform 0.25s;
}
.btn-footer-start:hover {
  transform: translateY(-2px);
}

.footer-bottom-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: #64748b;
}

/* ════════════════════════════════════════════════════════════
   PROFESSIONAL ENTERPRISE NAVIGATION DRAWER
════════════════════════════════════════════════════════════ */

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 20, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  justify-content: flex-end;
}
.mobile-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-panel {
  width: 440px;
  max-width: 90vw;
  height: 100%;
  background: #090d16;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding: 36px 32px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.6);
  overflow-y: auto;
  box-sizing: border-box;
}

[data-theme="light"] .mobile-drawer-panel {
  background: #ffffff;
  border-left: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.12);
}

.mobile-drawer-overlay.active .mobile-drawer-panel {
  transform: translateX(0);
}

/* Header */
.pro-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}
[data-theme="light"] .pro-drawer-header {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.pro-drawer-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  cursor: pointer;
}
.pro-brand-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
}
[data-theme="light"] .pro-brand-title {
  color: #0f172a;
}
.pro-brand-tag {
  font-family: var(--font-mono, monospace);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: #64748b;
  font-weight: 600;
}

.pro-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
[data-theme="light"] .pro-drawer-close {
  border-color: rgba(0, 0, 0, 0.12);
  color: #475569;
}
.pro-drawer-close:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  transform: scale(1.05);
}
[data-theme="light"] .pro-drawer-close:hover {
  border-color: rgba(0, 0, 0, 0.35);
  color: #0f172a;
}

/* Nav Items List */
.pro-drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 14px 0;
  flex: 1;
}

.pro-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-decoration: none;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-theme="light"] .pro-nav-item {
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.pro-nav-item:hover {
  background: rgba(255, 255, 255, 0.04);
  padding-left: 18px;
}
[data-theme="light"] .pro-nav-item:hover {
  background: rgba(0, 0, 0, 0.03);
  padding-left: 18px;
}

.pro-nav-item.active {
  background: rgba(255, 255, 255, 0.06);
}
[data-theme="light"] .pro-nav-item.active {
  background: rgba(0, 0, 0, 0.04);
}

.pro-nav-left {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.pro-nav-num {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 3px;
  transition: color 0.2s ease;
}
.pro-nav-item:hover .pro-nav-num,
.pro-nav-item.active .pro-nav-num {
  color: #38bdf8;
}
[data-theme="light"] .pro-nav-item:hover .pro-nav-num,
[data-theme="light"] .pro-nav-item.active .pro-nav-num {
  color: #0284c7;
}

.pro-nav-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pro-nav-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: #cbd5e1;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}
[data-theme="light"] .pro-nav-title {
  color: #334155;
}

.pro-nav-item:hover .pro-nav-title,
.pro-nav-item.active .pro-nav-title {
  color: #ffffff;
}
[data-theme="light"] .pro-nav-item:hover .pro-nav-title,
[data-theme="light"] .pro-nav-item.active .pro-nav-title {
  color: #0f172a;
}

.pro-nav-desc {
  font-size: 0.76rem;
  color: #64748b;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}
.pro-nav-item:hover .pro-nav-desc {
  color: #94a3b8;
}
[data-theme="light"] .pro-nav-item:hover .pro-nav-desc {
  color: #64748b;
}

.pro-nav-arrow {
  font-size: 1.1rem;
  color: #475569;
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.22s ease;
}
.pro-nav-item:hover .pro-nav-arrow,
.pro-nav-item.active .pro-nav-arrow {
  opacity: 1;
  transform: translateX(0);
  color: #38bdf8;
}
[data-theme="light"] .pro-nav-item:hover .pro-nav-arrow,
[data-theme="light"] .pro-nav-item.active .pro-nav-arrow {
  color: #0284c7;
}

/* Footer Section */
.pro-drawer-footer {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex-shrink: 0;
}
[data-theme="light"] .pro-drawer-footer {
  border-top-color: rgba(0, 0, 0, 0.08);
}

.pro-drawer-cta {
  width: 100%;
  height: 46px;
  background: #ffffff;
  color: #0f172a;
  border: none;
  border-radius: 8px;
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
[data-theme="light"] .pro-drawer-cta {
  background: #0f172a;
  color: #ffffff;
}
.pro-drawer-cta:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
}
[data-theme="light"] .pro-drawer-cta:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

.pro-drawer-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pro-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
}
.pro-meta-label {
  font-family: var(--font-mono, monospace);
  color: #64748b;
  font-weight: 500;
}
.pro-meta-val {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
[data-theme="light"] .pro-meta-val {
  color: #475569;
}
a.pro-meta-val:hover {
  color: #38bdf8;
}
[data-theme="light"] a.pro-meta-val:hover {
  color: #0284c7;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE QUERIES — FLAWLESS MOBILE & TABLET ADAPTATION
════════════════════════════════════════════════════════════ */

/* ── TABLETS & COMPACT LAPTOPS (max-width: 1024px) ── */
@media (max-width: 1024px) {
  #florenix-header {
    left: 20px !important;
    right: 20px !important;
    top: 14px !important;
    width: calc(100% - 40px) !important;
  }
  .capsule-nav {
    display: none !important;
  }
  .hero-left-container {
    left: 40px;
    bottom: 64px;
    max-width: 50%;
  }
  .hero-right-stage {
    right: 24px;
    width: 440px;
    height: 480px;
  }
  .services-card-grid,
  .products-card-row,
  .portfolio-card-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .about-split-layout {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .footer-4-columns {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 32px !important;
  }
  #side-indicators {
    display: none !important;
  }
}

/* ── MOBILE SCREENS (max-width: 768px) ── */
@media (max-width: 768px) {
  /* Hide custom desktop cursor on touch devices */
  .cursor-dot, .cursor-ring {
    display: none !important;
  }

  /* Mobile Scroll Architecture — Dedicated hardware-accelerated viewport container */
  html, body {
    width: 100% !important;
    height: 100% !important;
    height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    position: fixed !important;
    inset: 0 !important;
  }

  #dyntrix-viewport {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    height: 100dvh !important;
    overflow-y: scroll !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-behavior: smooth !important;
    scroll-snap-type: y proximity !important;
    overscroll-behavior-y: contain !important;
    touch-action: pan-y !important;
    z-index: 1 !important;
  }

  .viewport-slide {
    width: 100% !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    height: auto !important;
    overflow: visible !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: normal !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    box-sizing: border-box !important;
  }

  /* Mobile Floating Capsules Header — Compact & Fits Any Phone */
  #florenix-header {
    top: 10px !important;
    left: 12px !important;
    right: 12px !important;
    width: calc(100% - 24px) !important;
  }
  .header-capsule-row {
    gap: 6px !important;
  }
  .capsule {
    height: 36px !important;
    padding: 0 10px !important;
    white-space: nowrap !important;
  }
  .capsule-brand {
    padding-left: 8px !important;
    padding-right: 10px !important;
    gap: 6px !important;
  }
  .brand-icon-box {
    width: 22px !important;
    height: 22px !important;
  }
  .brand-icon-box svg {
    width: 10px !important;
    height: 10px !important;
  }
  .brand-name {
    font-size: 0.8rem !important;
    letter-spacing: 0.04em !important;
  }
  .brand-sub, .brand-divider {
    display: none !important;
  }
  .capsule-btn.capsule-icon-only {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
  }
  .capsule-cta {
    height: 36px !important;
    padding: 0 12px !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.02em !important;
    gap: 4px !important;
    white-space: nowrap !important;
  }
  .cta-arrow {
    font-size: 11px !important;
  }

  /* ── SLIDE 0: HERO (Centered Stack Composition) ── */
  #slide-hero {
    min-height: 100vh !important;
    min-height: 100dvh !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    justify-content: safe center !important;
    align-items: center !important;
    padding: 72px 18px 28px !important;
    box-sizing: border-box !important;
  }

  /* Centered Robot Stage */
  .hero-right-stage {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 250px !important;
    height: 230px !important;
    margin: 14px auto 10px !important;
    z-index: 10 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .robot-ambient-glow {
    width: 200px !important;
    height: 200px !important;
    filter: blur(28px) !important;
    pointer-events: none !important;
  }
  .lottie-robot-box {
    pointer-events: none !important;
  }
  .lottie-robot-box svg {
    max-width: 220px !important;
    max-height: 220px !important;
    pointer-events: none !important;
  }
  .tech-floating-tag {
    height: 26px !important;
    padding: 0 10px !important;
    font-size: 0.58rem !important;
  }
  .tag-status {
    top: 6% !important;
    left: 2% !important;
  }
  .tag-engine {
    bottom: 6% !important;
    right: 2% !important;
  }

  /* Centered Hero Text & Buttons */
  .hero-left-container {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    max-width: 100% !important;
    text-align: center !important;
    margin: 0 auto !important;
    z-index: 12 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .hero-tag-pill {
    margin: 0 auto 10px !important;
    height: 24px !important;
    font-size: 0.58rem !important;
    padding: 0 10px !important;
  }
  .hero-headline {
    font-size: clamp(1.75rem, 7.4vw, 2.25rem) !important;
    line-height: 1.16 !important;
    margin-bottom: 10px !important;
    text-align: center !important;
  }
  .hero-headline br {
    display: none !important;
  }
  .hero-description {
    font-size: 0.82rem !important;
    line-height: 1.55 !important;
    max-width: 320px !important;
    margin: 0 auto 18px !important;
    text-align: center !important;
  }
  .hero-buttons-row {
    justify-content: center !important;
    width: 100% !important;
    gap: 10px !important;
  }
  .btn-hero-solid, .btn-hero-glass {
    height: 40px !important;
    padding: 0 18px !important;
    font-size: 0.76rem !important;
  }

  /* Hero Bottom Ticker */
  .florenix-ticker {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    margin-top: 18px !important;
    height: 38px !important;
    padding: 0 14px !important;
    border-top: 1px solid var(--border-pill) !important;
    border-radius: 12px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  .ticker-left-content {
    font-size: 0.62rem !important;
    letter-spacing: 0.08em !important;
    gap: 8px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    max-width: 65% !important;
  }
  .ticker-left-content span:last-child {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  .ticker-right-action {
    font-size: 0.68rem !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }

  /* ── SLIDE INNER CONTAINERS (Safe Flexbox Avoids Top Truncation) ── */
  .slide-inner-container {
    padding: 72px 18px 48px !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    justify-content: safe center !important;
    box-sizing: border-box !important;
  }
  .section-eyebrow {
    font-size: 0.64rem !important;
    margin-bottom: 6px !important;
  }
  .section-main-title {
    font-size: clamp(1.45rem, 5.8vw, 1.85rem) !important;
    line-height: 1.18 !important;
    margin-bottom: 6px !important;
  }
  .section-subtitle {
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
    margin-bottom: 18px !important;
    max-width: 100% !important;
  }

  /* ── SLIDE 1: SERVICES ── */
  .services-card-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .service-glass-card {
    padding: 16px 18px !important;
    border-radius: 16px !important;
  }
  .service-icon-wrap {
    width: 34px !important;
    height: 34px !important;
    margin-bottom: 10px !important;
  }
  .service-icon-wrap svg {
    width: 18px !important;
    height: 18px !important;
  }
  .service-glass-card h3 {
    font-size: 0.94rem !important;
    margin-bottom: 4px !important;
  }
  .service-glass-card p {
    font-size: 0.78rem !important;
    line-height: 1.45 !important;
  }

  /* ── SLIDE 2: PRODUCTS ── */
  .products-card-row {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .product-showcase-card {
    padding: 22px 18px !important;
    border-radius: 18px !important;
  }
  .product-num-tag {
    font-size: 0.62rem !important;
    margin-bottom: 8px !important;
  }
  .product-icon-large {
    width: 38px !important;
    height: 38px !important;
    margin-bottom: 10px !important;
  }
  .product-icon-large svg {
    width: 20px !important;
    height: 20px !important;
  }
  .product-showcase-card h3 {
    font-size: 1.05rem !important;
    margin-bottom: 6px !important;
  }
  .product-showcase-card p {
    font-size: 0.8rem !important;
    line-height: 1.5 !important;
  }

  /* ── SLIDE 3: PORTFOLIO ── */
  .portfolio-card-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .portfolio-item-card {
    padding: 16px 18px !important;
    border-radius: 16px !important;
  }
  .port-tag-badge {
    font-size: 0.58rem !important;
    margin-bottom: 4px !important;
  }
  .portfolio-item-card h3 {
    font-size: 0.94rem !important;
    margin-bottom: 4px !important;
  }
  .portfolio-item-card p {
    font-size: 0.76rem !important;
    line-height: 1.4 !important;
  }

  /* ── SLIDE 4: ABOUT & STATS & FOUNDERS ── */
  .about-split-layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .stats-counter-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin-top: 14px !important;
  }
  .stat-item-box {
    padding: 14px 12px !important;
    border-radius: 14px !important;
    text-align: center !important;
  }
  .stat-item-box h4 {
    font-size: 1.45rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
  }
  .stat-item-box span {
    font-size: 0.72rem !important;
  }
  .founder-tab-container {
    padding: 20px 18px !important;
    border-radius: 18px !important;
  }
  .founder-tab-buttons {
    margin-bottom: 12px !important;
  }
  .f-tab-btn {
    height: 32px !important;
    font-size: 0.74rem !important;
  }
  .founder-quote-body {
    font-size: 0.8rem !important;
    line-height: 1.55 !important;
  }
  .founder-author-tag {
    margin-top: 10px !important;
    font-size: 0.76rem !important;
  }

  /* ── SLIDE 5: CONTACT & FULL FOOTER ── */
  .slide-5-wrapper {
    min-height: auto !important;
    justify-content: flex-start !important;
  }
  .contact-top-cta {
    padding: 72px 18px 28px !important;
  }
  .contact-top-cta .hero-buttons-row {
    flex-direction: column !important;
    width: 100% !important;
    max-width: 280px !important;
    margin: 0 auto !important;
    gap: 10px !important;
  }
  .contact-top-cta .btn-hero-solid,
  .contact-top-cta .btn-hero-glass {
    width: 100% !important;
    justify-content: center !important;
  }
  #main-site-footer {
    padding: 36px 18px 24px !important;
  }
  .footer-4-columns {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    margin-bottom: 24px !important;
  }
  .footer-brand-col h2 {
    font-size: 1.35rem !important;
  }
  .footer-brand-col p {
    max-width: 100% !important;
    font-size: 0.8rem !important;
  }
  .footer-email-box {
    flex-direction: row !important;
  }
  .footer-bottom-copyright {
    flex-direction: column !important;
    gap: 8px !important;
    text-align: center !important;
    font-size: 0.72rem !important;
  }

  /* ── CONTACT MODAL OVERLAY ON MOBILE ── */
  .contact-modal-overlay {
    padding: 14px !important;
    align-items: center !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    background: rgba(0, 0, 0, 0.65) !important;
  }
  .contact-modal {
    flex-direction: column !important;
    max-height: 88vh !important;
    overflow-y: auto !important;
    width: 100% !important;
    border-radius: 20px !important;
    background: var(--bg-surface) !important;
    border: 1px solid var(--border-card) !important;
    backdrop-filter: blur(28px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
    box-shadow: var(--shadow-card), 0 30px 80px rgba(0, 0, 0, 0.35) !important;
  }
  .modal-left {
    padding: 24px 20px 16px !important;
    border-right: none !important;
    border-bottom: 1px solid var(--border-card) !important;
    background: transparent !important;
  }
  .modal-left h2 {
    font-size: 1.35rem !important;
    line-height: 1.2 !important;
  }
  .modal-logo-box {
    width: 40px !important;
    height: 40px !important;
    margin-bottom: 14px !important;
  }
  .modal-logo-box svg {
    width: 18px !important;
    height: 18px !important;
  }
  .modal-features {
    gap: 8px !important;
    font-size: 0.8rem !important;
  }
  .modal-right {
    padding: 20px 20px 24px !important;
    background: transparent !important;
  }
  .contact-form input,
  .contact-form textarea,
  .footer-email-box input {
    font-size: 16px !important; /* Prevents iOS auto-zoom on input focus */
    padding: 13px 14px !important;
    border-radius: 12px !important;
    background: var(--bg-pill) !important;
    border: 1px solid var(--border-pill) !important;
    color: var(--text-title) !important;
  }
  .contact-form input:focus,
  .contact-form textarea:focus {
    border-color: var(--accent-primary) !important;
    background: var(--bg-pill-hover) !important;
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.25) !important;
  }
  .close-modal {
    top: 14px !important;
    right: 14px !important;
    width: 32px !important;
    height: 32px !important;
  }

  /* Mobile Drawer Panel */
  .mobile-drawer-panel {
    width: 360px !important;
    max-width: 92vw !important;
    padding: 20px 16px 16px !important;
  }
}

/* ── SMALL MOBILE (max-width: 400px) ── */
@media (max-width: 400px) {
  .mobile-drawer-panel {
    width: 100% !important;
    max-width: 95vw !important;
    padding: 22px 18px !important;
  }
  .pro-nav-title {
    font-size: 1.05rem !important;
  }
  .pro-nav-desc {
    font-size: 0.68rem !important;
  }
  .pro-nav-item {
    padding: 12px 6px !important;
  }
  #florenix-header {
    top: 8px !important;
    left: 8px !important;
    right: 8px !important;
    width: calc(100% - 16px) !important;
  }
  .header-capsule-row {
    gap: 4px !important;
  }
  .capsule {
    height: 34px !important;
    padding: 0 8px !important;
  }
  .capsule-btn.capsule-icon-only {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
  }
  .capsule-cta {
    padding: 0 10px !important;
    font-size: 0.65rem !important;
  }
  .cta-sales-word {
    display: none !important;
  }
  .hero-headline {
    font-size: 1.65rem !important;
  }
  .hero-right-stage {
    max-width: 220px !important;
    height: 200px !important;
  }
  .ticker-left-content {
    max-width: 58% !important;
  }
}

/* ── TOUCH FEEDBACK FOR MOBILE CARDS & BUTTONS ── */
@media (hover: none) {
  .service-glass-card:active,
  .product-showcase-card:active,
  .portfolio-item-card:active,
  .stat-item-box:active {
    transform: scale(0.98) !important;
    transition: transform 0.15s ease !important;
  }
  .btn-hero-solid:active,
  .btn-hero-glass:active,
  .capsule:active {
    transform: scale(0.96) !important;
  }
}
