/* Modern Reset & Base Variables */
:root {
  --bg-dark: #090a0f;
  --text-primary: #f8fafc;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  /* Orbee 360 Sunset & Iridescent Palette */
  --primary: #f97316;
  --primary-hover: #ea580c;
  --coral: #ff7854;
  --pink: #fb7185;
  --gold: #facc15;
  --lavender: #c084fc;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Smooth Animated Gradient Background (Logo Colors)
   ========================================================================== */
.gradient-background {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  background-color: var(--bg-dark);
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.95;
  will-change: transform;
}

/* Orb 1: Coral / Sunset Orange */
.orb-coral {
  width: 650px;
  height: 650px;
  top: -10%;
  left: 10%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.45) 0%, rgba(255, 107, 74, 0.2) 45%, transparent 70%);
  animation: moveCoral 20s ease-in-out infinite alternate;
}

/* Orb 2: Sunset Pink / Rose */
.orb-pink {
  width: 700px;
  height: 700px;
  bottom: -15%;
  right: 5%;
  background: radial-gradient(circle, rgba(251, 113, 133, 0.4) 0%, rgba(244, 114, 182, 0.18) 45%, transparent 70%);
  animation: movePink 25s ease-in-out infinite alternate;
}

/* Orb 3: Warm Gold / Amber */
.orb-gold {
  width: 550px;
  height: 550px;
  top: 25%;
  right: 15%;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.32) 0%, rgba(251, 191, 36, 0.14) 50%, transparent 70%);
  animation: moveGold 22s ease-in-out infinite alternate;
}

/* Orb 4: Soft Lavender / Violet */
.orb-purple {
  width: 600px;
  height: 600px;
  bottom: 8%;
  left: -5%;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.35) 0%, rgba(168, 85, 247, 0.15) 50%, transparent 70%);
  animation: movePurple 28s ease-in-out infinite alternate;
}

@keyframes moveCoral {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(120px, 80px) scale(1.15); }
  100% { transform: translate(-60px, 140px) scale(0.95); }
}

@keyframes movePink {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-140px, -90px) scale(1.12); }
  100% { transform: translate(70px, -130px) scale(0.92); }
}

@keyframes moveGold {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-100px, 100px) scale(1.1); }
  66% { transform: translate(-150px, -60px) scale(0.9); }
  100% { transform: translate(60px, 50px) scale(1.05); }
}

@keyframes movePurple {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(100px, -120px) scale(1.18); }
  100% { transform: translate(180px, -40px) scale(0.88); }
}

/* ==========================================================================
   Quick WhatsApp Action CTA (Bottom Right Fixed)
   ========================================================================== */
.cta-aside {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 100;
  animation: ctaSlideIn 0.85s ease-out 0.8s backwards;
}

@keyframes ctaSlideIn {
  0% {
    opacity: 0;
    transform: translateX(90px);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

.cta-bottom-btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(18, 20, 28, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  text-decoration: none;
  transition: all var(--transition-normal);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
  max-width: 380px;
  text-align: left;
}

.cta-bottom-btn:hover {
  background: rgba(26, 30, 42, 0.95);
  border-color: rgba(249, 115, 22, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(249, 115, 22, 0.25);
}

.cta-pulse-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.12);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.25);
  flex-shrink: 0;
}

.cta-online-dot {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
  border: 2px solid #0d0e14;
  animation: onlinePulse 2s infinite;
}

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

.cta-text-group {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 235px;
}

.cta-question {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.35;
  font-weight: 400;
  min-height: 2.15rem;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s ease;
  will-change: opacity, transform;
}

.cta-question.fading-out {
  opacity: 0;
  transform: translateY(-5px);
  filter: blur(4px);
}

.cta-question.fading-in {
  opacity: 0;
  transform: translateY(5px);
  filter: blur(4px);
  transition: none !important;
}

.cta-action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fb923c;
  letter-spacing: -0.01em;
  transition: gap var(--transition-fast);
}

.cta-bottom-btn:hover .cta-action {
  color: #fed7aa;
  gap: 0.55rem;
}

/* ==========================================================================
   Scroll Track & Sticky Stage
   ========================================================================== */
.scroll-track {
  height: 250vh;
  position: relative;
}

.sticky-container {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  overflow: hidden;
}

/* ==========================================================================
   Main Container
   ========================================================================== */
.container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-align: center;
  margin: auto;
}

/* Header & Brand Logo with 3D Tilt */
.header {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-logo-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 800px;
  transform-style: preserve-3d;
  cursor: pointer;
  will-change: transform;
  transition: transform 0.15s ease-out;
}

.brand-logo-wrapper::before {
  content: '';
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.22) 0%, rgba(251, 113, 133, 0.15) 45%, rgba(192, 132, 252, 0.1) 70%, transparent 85%);
  filter: blur(20px);
  z-index: -1;
  animation: haloPulse 5s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes haloPulse {
  0% { transform: scale(0.92); opacity: 0.4; }
  100% { transform: scale(1.15); opacity: 0.7; }
}

.brand-logo {
  width: 115px;
  height: 115px;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.6));
  transform: translateZ(25px);
  pointer-events: none;
  user-select: none;
}

/* Metallic Specular Reflection Layer */
.logo-metallic-sheen {
  position: absolute;
  top: 0;
  left: 0;
  width: 115px;
  height: 115px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
  transform: translateZ(28px);
  -webkit-mask-image: url('assets/logo.png');
  mask-image: url('assets/logo.png');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  background: 
    radial-gradient(circle 80px at var(--sheen-x, 50%) var(--sheen-y, 50%), rgba(255, 255, 255, 0.85) 0%, rgba(254, 215, 170, 0.5) 28%, rgba(216, 180, 254, 0.25) 45%, transparent 70%),
    linear-gradient(var(--sheen-angle, 125deg), transparent 15%, rgba(255, 255, 255, 0.12) 36%, rgba(255, 255, 255, 0.8) 48%, rgba(254, 215, 170, 0.9) 52%, rgba(255, 255, 255, 0.35) 60%, transparent 80%);
  mix-blend-mode: screen;
  opacity: var(--sheen-opacity, 0.5);
  transition: opacity 0.3s ease;
  will-change: transform, opacity;
}

/* Main Hero Content */
.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Badge */
.badge {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  background: rgba(249, 115, 22, 0.12);
  color: #fdba74;
  border: 1px solid rgba(249, 115, 22, 0.28);
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.08);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  animation: blink 1.8s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

/* ==========================================================================
   3D Zoom Fly-Through Viewport (Passes OVER all elements)
   ========================================================================== */
.zoom-viewport {
  position: relative;
  z-index: 99;
  width: 100%;
  min-height: 205px;
  display: grid;
  place-items: center;
  margin-bottom: 0.6rem;
  pointer-events: none;
}

.zoom-layer {
  grid-area: 1 / 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
  will-change: transform, opacity, filter;
  pointer-events: none;
  position: relative;
  z-index: 99;
}

/* Headings & Text */
.title {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
}

.gradient-text {
  background: linear-gradient(135deg, #fed7aa 0%, #fb923c 40%, #f472b6 80%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  font-weight: 400;
  line-height: 1.6;
}

/* Progress bar */
.progress-section {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  margin-bottom: 0.65rem;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.55rem;
  font-weight: 500;
}

.progress-percentage {
  color: #fb923c;
  font-weight: 700;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #f472b6, #f97316 50%, #fbbf24);
  border-radius: var(--radius-full);
  box-shadow: 0 0 14px rgba(249, 115, 22, 0.45);
  position: relative;
  transition: width 0.3s ease-out;
}

/* Services / Pillars Pills */
.services-pills {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  padding: 0;
  list-style: none;
  width: 100%;
}

.service-pill {
  list-style: none;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  user-select: none;
  letter-spacing: -0.01em;
}

.service-pill:hover {
  color: #fed7aa;
  background: rgba(249, 115, 22, 0.1);
  border-color: rgba(249, 115, 22, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.15);
}

/* Scroll Hint */
.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  transition: opacity 0.4s ease, transform 0.4s ease;
  animation: bounceHint 2.4s infinite;
  user-select: none;
}

.scroll-hint.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

@keyframes bounceHint {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(5px); }
  60% { transform: translateY(2px); }
}

/* Footer */
.footer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: 0.85rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-links li {
  list-style: none;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.social-link:hover {
  color: #fdba74;
  background: rgba(249, 115, 22, 0.1);
  border-color: rgba(249, 115, 22, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.2);
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .cta-aside {
    bottom: 0.85rem;
    right: 0.85rem;
  }

  .cta-bottom-btn {
    max-width: 320px;
    padding: 0.6rem 0.95rem;
    gap: 0.65rem;
  }

  .cta-pulse-icon {
    width: 32px;
    height: 32px;
  }

  .cta-pulse-icon svg {
    width: 17px;
    height: 17px;
  }

  .cta-question {
    font-size: 0.72rem;
  }

  .cta-action {
    font-size: 0.76rem;
  }

  .sticky-container {
    padding: 1rem;
  }

  .container {
    gap: 1rem;
  }

  .brand-logo,
  .logo-metallic-sheen {
    width: 90px;
    height: 90px;
  }

  .brand-logo-wrapper::before {
    width: 100px;
    height: 100px;
  }

  .title {
    font-size: clamp(1.65rem, 6vw, 2.1rem);
  }

  .zoom-viewport {
    min-height: 230px;
  }

  .description {
    font-size: 0.95rem;
  }

  .services-pills {
    gap: 0.35rem;
  }

  .service-pill {
    font-size: 0.72rem;
    padding: 0.25rem 0.65rem;
  }

  .orb-coral {
    width: 420px;
    height: 420px;
  }

  .orb-pink {
    width: 450px;
    height: 450px;
  }

  .orb-gold {
    width: 350px;
    height: 350px;
  }

  .orb-purple {
    width: 380px;
    height: 380px;
  }
}

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