/* ==========================================================================
   SOCIAL DYNAMICS — ULTRA-PREMIUM LIGHT 3D DESIGN SYSTEM
   ========================================================================== */

/* ---------- CSS RESET & BOX SIZING ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Core Brand Colors */
  --brand-navy: #0F172A;
  --brand-navy-light: #1E293B;
  --brand-indigo: #4F46E5;
  --brand-indigo-glow: rgba(79, 70, 229, 0.18);
  --brand-teal: #0D9488;
  --brand-cyan: #0284C7;
  --brand-purple: #7C3AED;
  --brand-amber: #D97706;
  --brand-rose: #DB2777;
  --brand-green: #10B981;

  /* Pristine Light Canvas */
  --bg-main: #F8FAFC;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --bg-frosted: rgba(255, 255, 255, 0.65);
  
  /* Text & Typography */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-subtle: #94A3B8;

  /* Borders & Dividers */
  --border-glass: rgba(226, 232, 240, 0.9);
  --border-light: rgba(15, 23, 42, 0.08);
  --border-glow: rgba(79, 70, 229, 0.35);

  /* Elevation Shadows */
  --shadow-sm: 0 2px 8px -2px rgba(15, 23, 42, 0.05);
  --shadow-card: 0 10px 30px -5px rgba(15, 23, 42, 0.04), 0 20px 40px -15px rgba(79, 70, 229, 0.07);
  --shadow-hover: 0 20px 45px -10px rgba(15, 23, 42, 0.08), 0 0 30px rgba(79, 70, 229, 0.12);
  --shadow-3d: 0 30px 60px -15px rgba(15, 23, 42, 0.12), 0 0 1px 1px rgba(15, 23, 42, 0.05);

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-full: 9999px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body.light-theme {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- CUSTOM AMBIENT CURSOR ---------- */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--brand-indigo);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease;
}

.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(79, 70, 229, 0.4);
  background: rgba(79, 70, 229, 0.03);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: all 0.15s cubic-bezier(0.25, 1, 0.5, 1);
}

body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring {
  width: 54px;
  height: 54px;
  border-color: var(--brand-indigo);
  background: rgba(79, 70, 229, 0.08);
}

/* ---------- AMBIENT BACKGROUND GLOWS & MESH ---------- */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.mesh-gradient {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.6;
  animation: meshDrift 18s ease-in-out infinite alternate;
}

.mesh-1 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.14) 0%, rgba(2, 132, 199, 0.08) 50%, transparent 80%);
  top: -150px;
  left: -100px;
}

.mesh-2 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.12) 0%, rgba(124, 58, 237, 0.06) 60%, transparent 80%);
  top: 40%;
  right: -180px;
  animation-delay: -6s;
}

.mesh-3 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.08) 0%, rgba(79, 70, 229, 0.06) 60%, transparent 80%);
  bottom: -100px;
  left: 20%;
  animation-delay: -12s;
}

@keyframes meshDrift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
  100% { transform: translate(-30px, 40px) scale(0.95); }
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 40%, transparent 95%);
}

#ambientCanvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.7;
}

/* ---------- TYPOGRAPHY & HIGHLIGHTS ---------- */
.highlight-gradient {
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-indigo) 55%, var(--brand-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.highlight-text {
  background: linear-gradient(135deg, var(--brand-indigo) 0%, var(--brand-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge-sub {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-indigo);
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-header-centered {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 64px;
}

/* ---------- BUTTONS & INTERACTIVE ELEMENTS ---------- */
.btn-brand, .btn-primary-glow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brand-navy);
  color: #FFFFFF;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.2);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-brand:hover, .btn-primary-glow:hover {
  transform: translateY(-2px);
  background: var(--brand-indigo);
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.35);
  color: #FFFFFF;
}

.btn-light-sweep {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  animation: sweepLoop 3.5s ease-in-out infinite;
}

@keyframes sweepLoop {
  0% { left: -100%; }
  45%, 100% { left: 180%; }
}

.btn-secondary-glass {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.btn-secondary-glass:hover {
  background: #FFFFFF;
  border-color: var(--brand-indigo);
  color: var(--brand-indigo);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Shield Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-emblem {
  width: 44px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 8px rgba(15, 23, 42, 0.15));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-logo:hover .logo-emblem {
  transform: scale(1.08) rotate(-3deg);
}

.sd-shield-svg {
  width: 100%;
  height: 100%;
}

.brand-name {
  display: flex;
  flex-direction: column;
}

.name-main {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-navy);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.name-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--brand-indigo);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-glass);
  padding: 6px 8px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.nav-item {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.nav-item:hover, .nav-item.active {
  color: var(--brand-navy);
  background: rgba(15, 23, 42, 0.05);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--brand-navy);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---------- HERO SECTION ---------- */
.hero {
  min-height: 94vh;
  display: flex;
  align-items: center;
  padding: 140px 0 60px;
  position: relative;
}

.hero-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-text-col {
  z-index: 2;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(79, 70, 229, 0.2);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-navy);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.badge-dot-glow {
  width: 8px;
  height: 8px;
  background: var(--brand-indigo);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.2);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2); }
  50% { box-shadow: 0 0 0 7px rgba(79, 70, 229, 0); }
}

.badge-arrow {
  color: var(--brand-indigo);
  font-weight: 700;
}

.hero-headline {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.6rem, 5.2vw, 4.4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--brand-navy);
  margin-bottom: 24px;
}

.typing-headline::after {
  content: '|';
  color: var(--brand-indigo);
  animation: blinkCursor 0.9s infinite;
}

@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-subtext {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 620px;
}

.hero-subtext strong {
  color: var(--brand-navy);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Metrics Strip */
.hero-metrics-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border-glass);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  width: fit-content;
}

.metric-pill {
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.1;
}

.metric-sign {
  color: var(--brand-indigo);
}

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

.metric-sep {
  width: 1px;
  height: 36px;
  background: var(--border-light);
}

/* Hero 3D Interactive Column */
.hero-3d-col {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.canvas-3d-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.three-container {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

/* Graceful visual fallback if the external 3D library is unavailable. */
.three-container::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.95), rgba(79,70,229,0.12) 38%, rgba(2,132,199,0.08) 62%, transparent 72%);
  border: 1px solid rgba(79,70,229,0.12);
  box-shadow: 0 30px 80px rgba(79,70,229,0.12);
  pointer-events: none;
}

.three-container canvas {
  position: relative;
  z-index: 1;
}

.floating-glass-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px);
  box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.08), 0 0 1px 1px rgba(15, 23, 42, 0.04);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  transition: transform 0.3s ease;
  animation: floatCardAnim 5s ease-in-out infinite alternate;
}

.card-top-left {
  top: 40px;
  left: 0;
  animation-delay: 0s;
}

.card-bottom-right {
  bottom: 50px;
  right: 0;
  animation-delay: -2.5s;
}

.card-center-left {
  bottom: 120px;
  left: -20px;
  font-size: 0.8rem;
  animation-delay: -1.2s;
}

@keyframes floatCardAnim {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-14px); }
}

.glass-icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-indigo-light { background: rgba(79, 70, 229, 0.1); color: var(--brand-indigo); }
.bg-teal-light { background: rgba(13, 148, 136, 0.1); color: var(--brand-teal); }
.bg-purple-light { background: rgba(124, 58, 237, 0.1); color: var(--brand-purple); }
.bg-amber-light { background: rgba(217, 119, 6, 0.1); color: var(--brand-amber); }
.bg-rose-light { background: rgba(219, 39, 119, 0.1); color: var(--brand-rose); }
.bg-green-badge { background: rgba(16, 185, 129, 0.12); color: var(--brand-green); }

.glass-card-info {
  display: flex;
  flex-direction: column;
}

.glass-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.glass-card-info strong {
  font-size: 0.95rem;
  color: var(--brand-navy);
}

.text-teal { color: var(--brand-teal) !important; }

.glass-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: pulseGlow 2s infinite;
}

/* ---------- CLIENT TICKER ---------- */
.client-ticker-section {
  padding: 30px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.5);
  overflow: hidden;
}

.ticker-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.ticker-title {
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Keep the moving items in their own clipped lane so they can never
   slide underneath the fixed title. */
.ticker-viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.ticker-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: tickerSlide 30s linear infinite;
  will-change: transform;
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-right: 36px;
  flex: 0 0 auto;
}

@keyframes tickerSlide {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ---------- SECTION CONTAINER ---------- */
.section-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 100px 28px;
}

/* ---------- SERVICES 3D GRID ---------- */
.services-3d-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-3d-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
  cursor: pointer;
}

.service-3d-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: rgba(79, 70, 229, 0.3);
  box-shadow: var(--shadow-hover);
}

.card-glass-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--brand-indigo), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-3d-card:hover .card-glass-glow {
  opacity: 1;
}

.service-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.service-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent, var(--brand-indigo));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-3d-card:hover .service-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}

.card-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--border-light);
}

.service-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-summary {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.service-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.service-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
}

.card-footer-action {
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-indigo);
  transition: gap 0.2s ease;
}

.service-3d-card:hover .card-footer-action {
  gap: 12px;
}

/* ---------- SAAS PRODUCTS SUITE ---------- */
.saas-interactive-container {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-3d);
}

.saas-tabs-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}

.saas-tab-btn {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 16px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s ease;
}

.saas-tab-btn:hover {
  background: #FFFFFF;
  border-color: rgba(79, 70, 229, 0.25);
  transform: translateY(-2px);
}

.saas-tab-btn.active {
  background: #FFFFFF;
  border-color: var(--brand-indigo);
  box-shadow: 0 8px 20px -4px rgba(79, 70, 229, 0.15);
}

.tab-icon-mini {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.tab-btn-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--brand-navy);
  font-weight: 700;
}

.tab-btn-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.saas-content-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.saas-content-panel.active {
  display: block;
}

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

.saas-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.product-badge-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--brand-indigo);
  background: rgba(79, 70, 229, 0.08);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.product-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 8px;
}

.product-tagline {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.product-feature-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.feature-point-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.point-bullet {
  color: var(--brand-indigo);
  font-size: 1.1rem;
  line-height: 1.2;
}

.feature-point-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--brand-navy);
}

.feature-point-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.product-metrics-summary {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
}

.metric-box {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-glass);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.m-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brand-indigo);
  display: block;
}

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

/* Mockup Windows */
.mockup-window {
  background: #FFFFFF;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-3d);
  overflow: hidden;
}

.mockup-header {
  background: #F1F5F9;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--border-glass);
}

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

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #CBD5E1;
}

.mockup-url {
  font-size: 0.72rem;
  color: var(--text-muted);
  background: #FFFFFF;
  padding: 4px 12px;
  border-radius: 6px;
  flex: 1;
}

.mockup-body {
  padding: 24px;
}

.mockup-metric-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.m-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 12px;
  border-radius: 8px;
}

.m-title {
  font-size: 0.7rem;
  color: var(--text-muted);
  display: block;
}

.m-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand-navy);
}

.m-badge-up {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--brand-green);
  display: block;
}

.m-badge-bolt {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--brand-indigo);
  display: block;
}

.mockup-lead-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feed-header {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.feed-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 10px 14px;
  border-radius: 8px;
}

.feed-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(79, 70, 229, 0.15);
  color: var(--brand-indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.bg-purple-avatar {
  background: rgba(124, 58, 237, 0.15);
  color: var(--brand-purple);
}

.feed-details {
  flex: 1;
}

.feed-details strong {
  display: block;
  font-size: 0.82rem;
  color: var(--brand-navy);
}

.feed-details span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.feed-status {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
}

.bg-blue-badge {
  background: rgba(2, 132, 199, 0.12);
  color: var(--brand-cyan);
}

/* Chat Mockups */
.chat-mockup-wrapper {
  background: #F8FAFC;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chat-bubble {
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: 85%;
}

.chat-user {
  background: var(--brand-navy);
  color: #FFFFFF;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-bot {
  background: #FFFFFF;
  color: var(--text-primary);
  border: 1px solid #E2E8F0;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

/* Radar & ROAS Bars */
.radar-card-item {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 14px;
  border-radius: 8px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.radar-source {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-indigo);
}

.radar-pct {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand-green);
}

.stars-gold {
  color: #F59E0B;
  font-size: 2rem;
  letter-spacing: 4px;
}

.roas-bar-row {
  margin-bottom: 16px;
}

.roas-bar {
  height: 8px;
  background: #E2E8F0;
  border-radius: 4px;
  overflow: hidden;
  margin: 6px 0;
}

.roas-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-indigo), var(--brand-cyan));
  border-radius: 4px;
}

/* ---------- GROWTH ENGINE & ECOSYSTEM ---------- */
.engine-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.engine-points-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 36px;
}

.engine-point-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease;
}

.engine-point-card:hover {
  transform: translateX(6px);
  border-color: rgba(79, 70, 229, 0.3);
}

.point-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(79, 70, 229, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.engine-point-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 4px;
}

.engine-point-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.ecosystem-3d-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-3d);
  transform: perspective(1000px) rotateY(-4deg);
  transition: transform 0.5s ease;
}

.ecosystem-3d-card:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.ecosystem-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-glass);
}

.eco-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--brand-indigo);
}

.eco-status {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-green);
}

.ecosystem-flow-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.flow-stage-box {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--border-glass);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.flow-stage-box:hover {
  border-color: var(--brand-indigo);
  transform: scale(1.02);
}

.stage-icon {
  font-size: 1.4rem;
}

.flow-stage-box strong {
  font-size: 0.95rem;
  color: var(--brand-navy);
  display: block;
}

.flow-stage-box span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.flow-connector-line {
  width: 2px;
  height: 28px;
  background: linear-gradient(to bottom, var(--brand-indigo), rgba(79, 70, 229, 0.2));
  position: relative;
}

.data-packet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-indigo);
  position: absolute;
  left: -2px;
  animation: dataDrop 2s ease-in-out infinite;
}

@keyframes dataDrop {
  0% { top: 0; opacity: 1; }
  100% { top: 100%; opacity: 0.2; }
}

/* ---------- ROI CALCULATOR ---------- */
.calculator-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 48px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-3d);
}

.calculator-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.slider-group {
  margin-bottom: 24px;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.slider-label-row label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-navy);
}

.slider-value-display {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-indigo);
}

.custom-range {
  width: 100%;
  height: 6px;
  background: #E2E8F0;
  border-radius: 4px;
  outline: none;
  -webkit-appearance: none;
}

.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-indigo);
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.2);
}

.calc-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  color: var(--brand-navy);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  outline: none;
}

.results-card {
  background: #FFFFFF;
  border: 1px solid var(--border-glass);
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.result-metric-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.res-lbl {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.res-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand-navy);
}

.highlight-res {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 16px;
  background: rgba(79, 70, 229, 0.05);
  border: 1px solid rgba(79, 70, 229, 0.15);
  border-radius: var(--radius-sm);
}

.res-val-big {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--brand-indigo);
}

.res-roi-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--brand-green);
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

/* ---------- RESULTS & STATS ---------- */
.results-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.result-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.result-stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(79, 70, 229, 0.25);
}

.stat-top-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.stat-big-val {
  font-family: 'Outfit', sans-serif;
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--brand-navy);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 8px;
}

.stat-detail {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ---------- CONTACT SECTION ---------- */
.contact-box-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 54px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-3d);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-channel-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 36px;
}

.contact-channel-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #FFFFFF;
  border: 1px solid var(--border-glass);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.contact-channel-item:hover {
  transform: translateX(6px);
  border-color: var(--brand-indigo);
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-channel-item strong {
  display: block;
  font-size: 0.92rem;
  color: var(--brand-navy);
}

.contact-channel-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.clean-glass-form {
  background: #FFFFFF;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 6px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-navy);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  background: #F8FAFC;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--brand-navy);
  outline: none;
  transition: all 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--brand-indigo);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.form-privacy-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
}

/* ---------- SITE FOOTER ---------- */
.site-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  padding: 80px 0 30px;
}

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

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

.footer-about-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 18px 0;
  max-width: 320px;
}

.footer-legal-tag {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-nav-col h5 {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-navy);
  margin-bottom: 20px;
}

.footer-nav-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-col ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-nav-col ul li a:hover {
  color: var(--brand-indigo);
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ---------- FLOATING WHATSAPP BUTTON ---------- */
.whatsapp-float-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
}

.whatsapp-float-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 14px 35px rgba(37, 211, 102, 0.5);
}

.wa-ripple-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.4);
  animation: waPulse 2s infinite;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* ---------- SCROLL REVEAL UTILITIES ---------- */
.reveal-el {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ---------- RESPONSIVE MEDIA QUERIES ---------- */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; }
  .hero-3d-col { height: 380px; }
  .services-3d-grid { grid-template-columns: repeat(2, 1fr); }
  .saas-tabs-nav { grid-template-columns: repeat(3, 1fr); }
  .saas-panel-grid { grid-template-columns: 1fr; }
  .engine-split-grid { grid-template-columns: 1fr; }
  .calculator-grid { grid-template-columns: 1fr; }
  .results-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-box-wrapper { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .mobile-toggle { display: flex; }
  .hero-metrics-strip { flex-direction: column; width: 100%; align-items: flex-start; }
  .metric-sep { display: none; }
  .services-3d-grid { grid-template-columns: 1fr; }
  .saas-tabs-nav { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .results-cards-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-box-wrapper { padding: 30px 20px; }
}


/* Hosting-safe responsive ticker correction */
@media (max-width: 900px) {
  .client-ticker-section { padding: 22px 0; }
  .ticker-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .ticker-title {
    white-space: normal;
    line-height: 1.35;
  }
  .ticker-viewport { width: 100%; }
}
