/* Shared type, icon, and viewport rules for every Nexus Diji page. */
:root {
  --font-primary: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', 'DM Sans', sans-serif;
  --page-gutter: clamp(0.75rem, 3vw, 2.25rem);
}

html {
  width: 100%;
  min-width: 320px;
  overflow-x: clip;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  width: 100%;
  min-width: 320px;
  overflow-x: clip;
  font-family: var(--font-primary);
}

body * {
  min-width: 0;
}

body :is(h1, h2, h3, h4, h5, h6, .section-title, .about-hero__title, .story-title, .about-cta__title, .cta-headline) {
  font-family: var(--font-display) !important;
  font-weight: 700;
  text-wrap: balance;
}

body :is(h1, .about-hero__title, .hero-title) {
  font-size: clamp(2.1rem, 5.8vw, 5.5rem);
  line-height: 1.04;
}

/* CTA/Contact headline — intentionally smaller than the hero h1 */
.cta-headline {
  font-size: clamp(2.875rem, 4.5vw, 3.5rem); /* 46–56px */
  line-height: 1.1;
  letter-spacing: -0.028em;
  font-weight: 750;
}

body :is(h2, .section-title, .story-title, .about-cta__title) {
  font-size: clamp(1.75rem, 4.2vw, 3.5rem);
  line-height: 1.1;
}

body :is(p, li, figcaption, blockquote) {
  text-wrap: pretty;
}

.container {
  width: 100%;
  padding-inline: var(--page-gutter);
}

img,
video,
iframe,
canvas,
svg {
  max-inline-size: 100%;
}

img,
video,
iframe,
canvas {
  block-size: auto;
}

svg[viewBox] {
  flex: 0 0 auto;
  overflow: visible;
}

svg[stroke] {
  stroke-linecap: round;
  stroke-linejoin: round;
}

svg[stroke="currentColor"] {
  stroke-width: 1.9;
}

a > svg,
button > svg,
.mega-card__icon svg,
.service-icon svg,
.service-card__icon svg,
.feature-icon svg,
.highlight-icon svg,
.story-card__icon svg,
.wp-icon svg {
  transition: transform 180ms ease, filter 180ms ease;
}

a:hover > svg {
  transform: translateX(2px);
}

button:hover > svg {
  transform: scale(1.06);
}

.mega-card:hover .mega-card__icon svg,
.service-card:hover .service-card__icon svg,
.service-card:hover .service-icon svg,
.highlight-item:hover .highlight-icon svg,
.story-card:hover .story-card__icon svg {
  transform: translateY(-2px) scale(1.08);
  filter: drop-shadow(0 5px 8px rgba(0, 180, 216, 0.2));
}

a,
button,
input,
select,
textarea {
  font: inherit;
  touch-action: manipulation;
}

button,
input,
select,
textarea {
  max-width: 100%;
}

button,
.btn-primary,
.btn-secondary,
.nav-cta,
.nav-mobile-cta a {
  min-height: 44px;
}

:focus-visible {
  outline: 3px solid rgba(0, 180, 216, 0.72);
  outline-offset: 3px;
}

table,
pre {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

@media (max-width: 900px) {
  body :is(.services-grid, .service-grid, .features-grid, .feature-grid, .portfolio-grid, .pricing-grid, .blog-grid, .team-grid, .process-grid, .testimonial-grid, .contact-grid) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-container {
    position: sticky;
    top: 0;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.8rem var(--page-gutter);
  }

  .nav-container .logo-img {
    height: clamp(40px, 7vw, 48px);
    width: auto;
    max-width: clamp(160px, 48vw, 205px);
    object-fit: contain;
    object-position: left center;
  }

  .nav-container .nav-links {
    order: 3;
    flex: 1 0 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem clamp(0.75rem, 3vw, 1.5rem);
  }

  .article-wrap {
    margin-top: 2rem;
    margin-bottom: 4rem;
    padding-inline: var(--page-gutter);
  }

  footer {
    padding: 2rem var(--page-gutter);
  }
}

@media (max-width: 600px) {
  :root {
    --page-gutter: 0.875rem;
  }

  /* The promo strip and fixed mobile nav stack above this page intro. */
  .about-hero {
    padding-top: 10rem;
  }

  body :is(.services-grid, .service-grid, .features-grid, .feature-grid, .portfolio-grid, .pricing-grid, .blog-grid, .team-grid, .process-grid, .testimonial-grid, .contact-grid) {
    grid-template-columns: minmax(0, 1fr);
  }

  body :is(input, select, textarea) {
    font-size: max(16px, 1em);
  }

  body :is(.btn-primary, .btn-secondary, .nav-cta) {
    max-width: 100%;
    white-space: normal;
  }

  .nav-container .nav-links {
    gap: 0.3rem 0.8rem;
  }

  .article-content {
    font-size: 1rem;
  }

  .article-meta {
    flex-wrap: wrap;
    gap: 0.5rem 0.8rem;
  }

  .highlight-box {
    padding: 1.1rem;
  }
}

@media (max-width: 360px) {
  :root {
    --page-gutter: 0.75rem;
  }



  body :is(h1, .about-hero__title, .hero-title) {
    font-size: clamp(1.9rem, 9vw, 2.35rem);
  }

  .cta-headline {
    font-size: clamp(1.875rem, 8.5vw, 2.125rem); /* 30–34px at tiny screens */
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Dynamic Glowing Scroll Progress Indicator Beam (Header to Footer) */
.scroll-progress-beam {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: var(--scroll-percent, 0%);
  background: linear-gradient(90deg, #00b4d8 0%, #00f0ff 25%, #9b5de5 50%, #4361ee 75%, #00e5ff 100%);
  background-size: 200% 100%;
  animation: scrollBeamGradientFlow 4s linear infinite;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.85), 0 0 24px rgba(155, 93, 229, 0.5);
  z-index: 99999;
  pointer-events: none;
  transition: width 0.12s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 0 4px 4px 0;
}

@keyframes scrollBeamGradientFlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

/* Nexus Diji scroll interaction layer with ultra-smooth chromatic morphing */
body {
  isolation: isolate;
  background-color: var(--bg);
  transition: background-color 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-atmosphere {
  position: fixed;
  inset: -16vh -14vw;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.96) translate3d(0, 0, 0);
  transition: opacity 1200ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 1600ms cubic-bezier(0.16, 1, 0.3, 1),
              filter 1200ms ease;
  filter: blur(50px);
  will-change: opacity, transform;
}

@media (max-width: 768px) {
  .scroll-atmosphere {
    inset: 0;
    filter: blur(35px);
  }
}

.scroll-atmosphere--cyan-aurora {
  background: 
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(0, 180, 216, 0.14), transparent 70%),
    radial-gradient(ellipse 55% 45% at 15% 75%, rgba(155, 93, 229, 0.1), transparent 70%);
}

.scroll-atmosphere--cyan {
  background: 
    radial-gradient(ellipse 70% 52% at 80% 25%, rgba(0, 180, 216, 0.18), transparent 72%),
    radial-gradient(ellipse 55% 45% at 15% 75%, rgba(0, 229, 255, 0.12), transparent 72%);
}

.scroll-atmosphere--dark-prism {
  background: 
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(12, 18, 34, 0.32), transparent 75%),
    radial-gradient(circle 520px at 50% 15%, rgba(0, 229, 255, 0.16), transparent 65%),
    radial-gradient(circle 520px at 85% 85%, rgba(155, 93, 229, 0.14), transparent 65%);
}

.scroll-atmosphere--violet {
  background: 
    radial-gradient(ellipse 72% 55% at 20% 40%, rgba(155, 93, 229, 0.16), transparent 72%),
    radial-gradient(ellipse 50% 45% at 85% 70%, rgba(124, 58, 237, 0.12), transparent 72%);
}

.scroll-atmosphere--blue {
  background: 
    radial-gradient(ellipse 72% 50% at 85% 65%, rgba(67, 97, 238, 0.16), transparent 72%),
    radial-gradient(ellipse 55% 45% at 18% 30%, rgba(0, 180, 216, 0.13), transparent 72%);
}

.scroll-atmosphere--aurora {
  background: 
    radial-gradient(ellipse 68% 50% at 28% 30%, rgba(0, 180, 216, 0.17), transparent 70%),
    radial-gradient(ellipse 68% 50% at 75% 70%, rgba(155, 93, 229, 0.16), transparent 70%);
}

.scroll-atmosphere--dark-horizon {
  background: 
    radial-gradient(ellipse 80% 40% at 50% 90%, rgba(0, 180, 216, 0.14), transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(155, 93, 229, 0.12), transparent 70%);
}

body[data-scroll-theme="cyan-aurora"] .scroll-atmosphere--cyan-aurora,
body[data-scroll-theme="cyan"] .scroll-atmosphere--cyan,
body[data-scroll-theme="dark-prism"] .scroll-atmosphere--dark-prism,
body[data-scroll-theme="violet"] .scroll-atmosphere--violet,
body[data-scroll-theme="blue"] .scroll-atmosphere--blue,
body[data-scroll-theme="aurora"] .scroll-atmosphere--aurora,
body[data-scroll-theme="dark-horizon"] .scroll-atmosphere--dark-horizon {
  opacity: 1;
  transform: scale(1) translate3d(0, 0, 0);
}

.section-label,
.story-label {
  transition: color 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

main section[data-scroll-tone="cyan"].scroll-theme-active .section-label,
main section[data-scroll-tone="cyan-aurora"].scroll-theme-active .section-label {
  color: #00b4d8;
  border-color: rgba(0, 180, 216, 0.35);
  background: rgba(0, 180, 216, 0.08);
  box-shadow: 0 4px 18px -4px rgba(0, 180, 216, 0.3);
}

main section[data-scroll-tone="violet"].scroll-theme-active .section-label {
  color: var(--accent2);
  border-color: rgba(155, 93, 229, 0.35);
  background: rgba(155, 93, 229, 0.08);
  box-shadow: 0 4px 18px -4px rgba(155, 93, 229, 0.3);
}

main section[data-scroll-tone="blue"].scroll-theme-active .section-label {
  color: #4361ee;
  border-color: rgba(67, 97, 238, 0.35);
  background: rgba(67, 97, 238, 0.08);
  box-shadow: 0 4px 18px -4px rgba(67, 97, 238, 0.3);
}

main section[data-scroll-tone="dark-prism"].scroll-theme-active .section-label {
  color: #00e5ff;
  border-color: rgba(0, 229, 255, 0.4);
  background: rgba(12, 18, 34, 0.08);
  box-shadow: 0 4px 20px -4px rgba(0, 229, 255, 0.35);
}

main section[data-scroll-tone="aurora"].scroll-theme-active .section-label {
  color: #9b5de5;
  border-color: rgba(155, 93, 229, 0.4);
  background: rgba(155, 93, 229, 0.08);
  box-shadow: 0 4px 20px -4px rgba(155, 93, 229, 0.35);
}

.nd-reveal {
  opacity: 1;
  transform: none;
}

.scroll-effects-ready .nd-reveal:not(.is-visible) {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
}

.scroll-effects-ready .nd-reveal {
  transition: opacity 680ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 680ms cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--nd-reveal-delay, 0ms);
  will-change: opacity, transform;
}

.scroll-effects-ready .nd-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero-bg {
  translate: 0 var(--nd-parallax-y, 0px);
  transition: translate 100ms linear;
}

/* Hero background grid: crisp square lines preserved; smoothly transparent around robot */
.grid-lines {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(12, 17, 29, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 17, 29, 0.075) 1px, transparent 1px) !important;
  background-size: 60px 60px !important;
  opacity: 0.85 !important;
  pointer-events: none;
  mask-image: radial-gradient(circle 350px at 75% 50%, transparent 20%, black 82%);
  -webkit-mask-image: radial-gradient(circle 350px at 75% 50%, transparent 20%, black 82%);
  z-index: 1;
}

@media (max-width: 768px) {
  .grid-lines {
    mask-image: radial-gradient(circle 260px at 50% 72%, transparent 20%, black 82%);
    -webkit-mask-image: radial-gradient(circle 260px at 50% 72%, transparent 20%, black 82%);
  }
}

body .hero-bg {
  background: 
    radial-gradient(ellipse 50% 60% at 18% 40%, rgba(0, 180, 216, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 45% 55% at 15% 80%, rgba(124, 58, 237, 0.07) 0%, transparent 70%) !important;
}

/* ═════════════════════════════════════════════════════════════════════
   NEXUS DIJI - 3D HERO MASCOT STAGE & FLOATING BENTO CARDS
   ═════════════════════════════════════════════════════════════════════ */
.hero-visual.hero-robot-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 640px;
  min-height: 570px;
  margin: 0 auto;
  perspective: 1100px;
  transform-style: preserve-3d;
  overflow: visible;
  translate: 0 var(--nd-parallax-y, 0px);
  transition: translate 100ms linear;
}

/* Floor Pedestal (Futuristic glowing tiered concentric rings) */
.stage-pedestal {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%) rotateX(72deg);
  width: 380px;
  height: 380px;
  pointer-events: none;
  z-index: 1;
}

.pedestal-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.pedestal-ring.ring-outer {
  width: 100%;
  height: 100%;
  border: 2px solid rgba(0, 229, 255, 0.45);
  box-shadow: 0 0 35px rgba(0, 229, 255, 0.35), inset 0 0 25px rgba(0, 229, 255, 0.2);
  animation: pedestalOuterPulse 4.5s ease-in-out infinite;
}

.pedestal-ring.ring-mid {
  width: 74%;
  height: 74%;
  border: 2px solid rgba(168, 85, 247, 0.5);
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.35), inset 0 0 18px rgba(168, 85, 247, 0.22);
}

.pedestal-ring.ring-core {
  width: 48%;
  height: 48%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.55) 0%, rgba(168, 85, 247, 0.22) 65%, transparent 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 22px rgba(0, 229, 255, 0.65);
}

.pedestal-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 65%;
  height: 65%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.5) 0%, rgba(168, 85, 247, 0.25) 50%, transparent 75%);
  filter: blur(24px);
}

@keyframes pedestalOuterPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.85; }
  50% { transform: translate(-50%, -50%) scale(1.04); opacity: 1; }
}

/* 3D Orbital Ring behind Mascot */
.stage-orbit-wrap {
  position: absolute;
  top: 48%;
  left: 50%;
  width: 480px;
  height: 250px;
  transform: translate(-50%, -50%) rotate(-15deg) rotateX(63deg);
  border-radius: 50%;
  border: 2px dashed rgba(0, 229, 255, 0.45);
  box-shadow: 0 0 32px rgba(0, 229, 255, 0.22);
  pointer-events: none;
  z-index: 1;
}

.stage-orbit-ring {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.orbit-orb {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #00f0ff;
  box-shadow: 0 0 14px #00f0ff, 0 0 28px #00e5ff;
  offset-path: ellipse(240px 125px at 50% 50%);
  animation: orbitTrack 9s linear infinite;
}

.orbit-particle.p1 {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #a855f7;
  box-shadow: 0 0 10px #a855f7;
  offset-path: ellipse(240px 125px at 50% 50%);
  animation: orbitTrack 9s linear infinite -3s;
}

.orbit-particle.p2 {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
  offset-path: ellipse(240px 125px at 50% 50%);
  animation: orbitTrack 9s linear infinite -6s;
}

@keyframes orbitTrack {
  0% { offset-distance: 0%; }
  100% { offset-distance: 100%; }
}

/* Floating 3D Props (Kubus & Bulatan) */
.stage-props {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.floating-sphere.sphere-top {
  position: absolute;
  top: 6%;
  right: 26%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #cffafe 0%, #06b6d4 45%, #0284c7 85%, #082f49 100%);
  box-shadow: 0 12px 24px -4px rgba(6, 182, 212, 0.45), inset -2px -2px 6px rgba(0, 0, 0, 0.35);
  animation: floatSphere1 6.5s ease-in-out infinite;
}

.floating-sphere.sphere-bottom {
  position: absolute;
  bottom: 27%;
  left: 5%;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #e0f2fe 0%, #38bdf8 50%, #0284c7 90%);
  box-shadow: 0 8px 18px -3px rgba(56, 189, 248, 0.4);
  animation: floatSphere2 7.2s ease-in-out infinite 1.8s;
}

.floating-cube {
  position: absolute;
  right: -2%;
  bottom: 6%;
  width: 95px;
  height: 95px;
  animation: floatCube3D 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.floating-cube::before {
  content: '';
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.45) 0%, rgba(0, 229, 255, 0.25) 50%, transparent 75%);
  filter: blur(16px);
  z-index: -1;
  animation: cubeAuraPulse 4s ease-in-out infinite;
}

.floating-cube img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(168, 85, 247, 0.4)) drop-shadow(0 0 16px rgba(0, 229, 255, 0.25));
  transition: transform 0.4s ease;
}

@keyframes cubeAuraPulse {
  0%, 100% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
}

@keyframes floatSphere1 {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-14px) scale(1.05); }
}

@keyframes floatSphere2 {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(0.96); }
}

@keyframes floatCube3D {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  50% { transform: translateY(-16px) rotate(6deg) scale(1.04); }
}

/* Mascot Wrapper */
.robot-mascot-wrapper {
  position: relative;
  z-index: 2;
  width: clamp(250px, 28vw, 330px);
  aspect-ratio: 2 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center bottom;
  animation: mascotBreathFloat 6s ease-in-out infinite;
  user-select: none;
}

.hero-mascot-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 28px;
  filter: drop-shadow(0 20px 48px rgba(0, 180, 216, 0.22)) drop-shadow(0 4px 18px rgba(155, 93, 229, 0.18));
  display: block;
}

@keyframes mascotBreathFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(-0.5deg); }
}



/* FLOATING GLASSMORPHIC BENTO CARDS */
.hero-bento-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border-radius: 14px;
  text-decoration: none;
  z-index: 4;
  cursor: pointer;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.03) 100%);
  backdrop-filter: blur(14px) saturate(200%);
  -webkit-backdrop-filter: blur(14px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 8px 24px -4px rgba(0, 180, 216, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.02), inset 0 1px 1px rgba(255, 255, 255, 0.45);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

/* Holographic Prismatic Light Sweep across card surface */
.hero-bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 35%,
    rgba(255, 255, 255, 0.35) 48%,
    rgba(0, 229, 255, 0.42) 52%,
    transparent 65%,
    transparent 100%
  );
  background-size: 250% 100%;
  background-position: 200% 0;
  animation: cardHoloSweep 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.hero-bento-card.card-quality::before {
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 35%,
    rgba(255, 255, 255, 0.4) 48%,
    rgba(192, 132, 252, 0.45) 52%,
    transparent 65%,
    transparent 100%
  );
  background-size: 250% 100%;
  animation: cardHoloSweep 6s ease-in-out infinite 2s;
}

.hero-bento-card.card-clients::before {
  animation: cardHoloSweep 6s ease-in-out infinite 4s;
}

@keyframes cardHoloSweep {
  0%, 60% { background-position: 200% 0; }
  100% { background-position: -150% 0; }
}

/* Card Positions - Framed around mascot; placed in the exact user-circled sweet spot */
.hero-bento-card.card-launch {
  top: 8%;
  left: -14%;
  animation: floatBentoCard1 5.8s ease-in-out infinite;
}

.hero-bento-card.card-quality {
  top: 45%;
  right: 1%;
  animation: floatBentoCard3 6.2s ease-in-out infinite 1.3s;
}

.hero-bento-card.card-clients {
  bottom: 8%;
  left: -14%;
  animation: floatBentoCard2 6.5s ease-in-out infinite 0.7s;
}

@keyframes floatBentoCard1 {
  0%, 100% { transform: translateY(0px) rotate(-0.8deg); }
  50% { transform: translateY(-9px) rotate(0.8deg); }
}

@keyframes floatBentoCard2 {
  0%, 100% { transform: translateY(0px) rotate(0.6deg); }
  50% { transform: translateY(-8px) rotate(-0.7deg); }
}

@keyframes floatBentoCard3 {
  0%, 100% { transform: translateY(0px) rotate(-0.5deg); }
  50% { transform: translateY(-10px) rotate(1.2deg); }
}

.hero-bento-card:hover {
  transform: translateY(-6px) scale(1.04) rotate(0deg) !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.08) 100%);
  box-shadow: 0 16px 36px -6px rgba(0, 180, 216, 0.22),
              0 0 20px rgba(0, 229, 255, 0.15),
              inset 0 1px 1px rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 229, 255, 0.55);
}

.hero-bento-card.card-quality:hover {
  box-shadow: 0 16px 36px -6px rgba(168, 85, 247, 0.25),
              0 0 20px rgba(192, 132, 252, 0.2),
              inset 0 1px 1px rgba(255, 255, 255, 0.7);
  border-color: rgba(192, 132, 252, 0.6);
}

.bento-card-icon-wrap {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.18), rgba(67, 97, 238, 0.12));
  border: 1px solid rgba(0, 180, 216, 0.25);
  box-shadow: 0 3px 8px -2px rgba(0, 180, 216, 0.18);
  transition: transform 0.35s ease;
  position: relative;
  z-index: 2;
  animation: iconGlowAura 4s ease-in-out infinite;
}

.bento-card-icon-wrap.icon-diamond {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(217, 70, 239, 0.14));
  border: 1px solid rgba(168, 85, 247, 0.32);
  box-shadow: 0 3px 8px -2px rgba(168, 85, 247, 0.22);
  animation: diamondGlowAura 4s ease-in-out infinite 1s;
}

@keyframes iconGlowAura {
  0%, 100% { box-shadow: 0 3px 8px -2px rgba(0, 180, 216, 0.18); }
  50% { box-shadow: 0 5px 14px 0 rgba(0, 180, 216, 0.35); }
}

@keyframes diamondGlowAura {
  0%, 100% { box-shadow: 0 3px 8px -2px rgba(168, 85, 247, 0.22); }
  50% { box-shadow: 0 5px 14px 0 rgba(168, 85, 247, 0.4); }
}

.bento-card-icon-wrap img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.12));
  transition: transform 0.35s ease;
}

.card-quality .bento-card-icon-wrap img {
  animation: gemSparkleFloat 3.8s ease-in-out infinite;
}

.card-launch .bento-card-icon-wrap img {
  animation: rocketThrustFloat 3.4s ease-in-out infinite;
}

.card-clients .bento-card-icon-wrap img {
  animation: clientsBobFloat 4s ease-in-out infinite 0.6s;
}

@keyframes gemSparkleFloat {
  0%, 100% { transform: translateY(0) scale(1) rotate(0deg); }
  50% { transform: translateY(-2.5px) scale(1.08) rotate(2deg); filter: drop-shadow(0 4px 8px rgba(168, 85, 247, 0.45)); }
}

@keyframes rocketThrustFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-2.5px) scale(1.07); filter: drop-shadow(0 4px 8px rgba(0, 180, 216, 0.45)); }
}

@keyframes clientsBobFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-2px) scale(1.05); }
}

.hero-bento-card:hover .bento-card-icon-wrap {
  transform: scale(1.1) rotate(3deg);
}

.bento-card-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.bento-card-title {
  font-family: var(--font-heading, 'Outfit', 'Inter', sans-serif);
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
  white-space: nowrap;
  line-height: 1.25;
}

.bento-card-desc {
  font-size: 0.67rem;
  font-weight: 500;
  color: #64748b;
  white-space: nowrap;
  line-height: 1.25;
}

.bento-card-action {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #e0f2fe;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.12);
  margin-left: 2px;
  position: relative;
  z-index: 2;
}

.bento-card-action svg {
  width: 14px;
  height: 14px;
}

.bento-card-action.action-purple {
  background: #f3e8ff;
  color: #9333ea;
  box-shadow: 0 2px 6px rgba(147, 51, 234, 0.12);
}

.hero-bento-card:hover .bento-card-action {
  transform: translateX(3px) scale(1.08);
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.45);
}

.hero-bento-card:hover .bento-card-action.action-purple {
  background: #9333ea;
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(147, 51, 234, 0.45);
}

/* Dark Mode Theme Adjustments */
html[data-theme="dark"] .hero-bento-card,
body.dark-mode .hero-bento-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.68) 0%, rgba(15, 23, 42, 0.38) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 180, 216, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .bento-card-title,
body.dark-mode .bento-card-title {
  color: #f8fafc;
}

html[data-theme="dark"] .bento-card-desc,
body.dark-mode .bento-card-desc {
  color: #94a3b8;
}

html[data-theme="dark"] .bento-card-action,
body.dark-mode .bento-card-action {
  background: rgba(2, 132, 199, 0.22);
  color: #38bdf8;
}

html[data-theme="dark"] .bento-card-action.action-purple,
body.dark-mode .bento-card-action.action-purple {
  background: rgba(147, 51, 234, 0.25);
  color: #c084fc;
}

.about-hero-mascot {
  position: absolute;
  z-index: 1;
  right: clamp(1.25rem, 5vw, 4rem);
  bottom: -0.5rem;
  width: clamp(100px, 12vw, 156px);
  max-height: 210px;
  object-fit: contain;
  border-radius: 18px;
  opacity: 0.74;
  pointer-events: none;
  filter: drop-shadow(0 12px 28px rgba(0, 180, 216, 0.22));
  animation: ndMascotFloat 6s ease-in-out infinite;
}

.magnetic-target {
  translate: var(--magnetic-x, 0px) var(--magnetic-y, 0px);
  transition: translate 180ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 220ms ease;
}

:is(.service-card, .portfolio-card, .pricing-card, .testimonial-card, .blog-card, .team-card, .feature-card):hover {
  box-shadow: 0 16px 42px rgba(0, 180, 216, 0.11),
    0 0 0 1px rgba(0, 180, 216, 0.12);
}

:is(.btn-primary, .btn-secondary, .nav-cta, .cta-btn-primary, .cta-btn-secondary):hover {
  box-shadow: 0 10px 30px rgba(0, 180, 216, 0.18),
    0 0 24px rgba(155, 93, 229, 0.12);
}

@media (max-width: 900px) {
  .about-hero-mascot {
    display: none;
  }
}

/* Tablet & Mobile Responsiveness for 3D Hero Mascot Stage */
@media (max-width: 1024px) {
  .hero-visual.hero-robot-stage {
    max-width: 520px;
    min-height: 500px;
  }

  .hero-bento-card {
    padding: 7px 11px 7px 8px;
    gap: 8px;
    border-radius: 14px;
  }

  .bento-card-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .bento-card-icon-wrap img {
    width: 25px;
    height: 25px;
  }

  .bento-card-title {
    font-size: 0.82rem;
  }

  .bento-card-desc {
    font-size: 0.68rem;
  }

  .bento-card-action {
    width: 24px;
    height: 24px;
  }

  .hero-bento-card.card-launch {
    left: -2%;
    top: 6%;
  }

  .hero-bento-card.card-quality {
    right: 1%;
    top: 45%;
    bottom: auto;
  }

  .hero-bento-card.card-clients {
    left: -2%;
    bottom: 6%;
  }

  .hero-visual.hero-robot-stage .stage-props .floating-cube {
    right: 2%;
    bottom: 4%;
    top: auto;
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 768px) {
  .hero .hero-visual.hero-robot-stage {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: auto;
    margin-top: 1.25rem;
    gap: 1rem;
    perspective: none;
    transform: none !important;
    translate: none;
  }

  .hero-visual.hero-robot-stage .stage-pedestal {
    width: 270px;
    height: 270px;
    bottom: auto;
    top: 120px;
  }

  .hero-visual.hero-robot-stage .stage-orbit-wrap {
    width: 320px;
    height: 170px;
    top: 130px;
  }

  .hero-visual.hero-robot-stage .stage-props .floating-cube {
    width: 58px;
    height: 58px;
    right: 6%;
    top: 160px;
    bottom: auto;
  }

  .hero-visual.hero-robot-stage .stage-props .floating-sphere.sphere-top {
    top: 20px;
    right: 14%;
    width: 32px;
    height: 32px;
  }

  .hero-visual.hero-robot-stage .stage-props .floating-sphere.sphere-bottom {
    top: 175px;
    left: 8%;
    bottom: auto;
    width: 20px;
    height: 20px;
  }

  .hero-visual.hero-robot-stage .robot-mascot-wrapper {
    width: clamp(210px, 48vw, 280px);
    height: auto;
    margin-bottom: 0.5rem;
  }

  .hero-visual.hero-robot-stage .hero-bento-card {
    position: static !important;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    animation: none !important;
    transform: none !important;
    padding: 12px 16px 12px 14px;
    gap: 12px;
  }

  .hero-visual.hero-robot-stage .hero-bento-card:hover {
    transform: translateY(-3px) !important;
  }

  .hero-bento-card .bento-card-title,
  .hero-bento-card .bento-card-desc {
    white-space: normal;
  }

  .hero-bg {
    translate: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-atmosphere {
    transition: none;
  }

  .scroll-effects-ready .nd-reveal:not(.is-visible) {
    opacity: 1;
    transform: none;
  }

  .scroll-effects-ready .nd-reveal {
    transition: none;
    will-change: auto;
  }

  .hero-bg,
  .hero-visual,
  .magnetic-target {
    translate: none;
  }

  .hero-visual .hero-mascot,
  .about-hero-mascot {
    animation: none;
  }
}

/* Nexus Diji process rocket accent */
#process {
  position: relative;
  overflow: hidden;
}

#process > :not(.process-rocket) {
  position: relative;
  z-index: 1;
}

#process .process-rocket {
  position: absolute;
  z-index: 0;
  top: 1rem;
  right: clamp(1rem, 6vw, 5rem);
  width: clamp(72px, 9vw, 116px);
  height: auto;
  opacity: 0.16;
  mix-blend-mode: multiply;
  pointer-events: none;
  animation: ndRocketDrift 7s ease-in-out infinite;
  animation-play-state: paused;
}

#process.scroll-theme-active .process-rocket {
  animation-play-state: running;
}

@keyframes ndRocketDrift {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-7px) rotate(1deg); }
}

@media (max-width: 768px) {
  #process .process-rocket {
    top: 0.4rem;
    right: 0.5rem;
    width: 58px;
    opacity: 0.1;
  }
}

@media (prefers-reduced-motion: reduce) {
  #process .process-rocket {
    animation: none;
  }
}

/* Make the process rocket visible while keeping it decorative. */
#process .process-rocket {
  width: clamp(140px, 14vw, 190px);
  opacity: 0.48;
  mix-blend-mode: normal;
  filter: drop-shadow(0 10px 22px rgba(37, 99, 235, 0.18));
}

@media (max-width: 768px) {
  #process .process-rocket {
    width: clamp(82px, 22vw, 104px);
    opacity: 0.4;
  }
}
/* Prevent headings and copy from being clipped inside narrow cards and columns. */
body :is(h1, h2, h3, h4, h5, h6, p, li, figcaption, blockquote) {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Responsive story-card grid used in the service and about heroes. */
.story-visual {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.5rem);
  width: 100%;
}

.story-visual > .story-card {
  min-width: 0;
  min-height: 10rem;
  padding: clamp(0.875rem, 2vw, 1.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.story-visual > .story-card h3 {
  width: 100%;
  max-width: 100%;
  margin: 0 0 0.25rem;
  font-size: clamp(1rem, 1.65vw, 1.35rem);
  line-height: 1.16;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.story-visual > .story-card p {
  width: 100%;
  margin: 0;
  font-size: clamp(0.78rem, 0.95vw, 0.9rem);
  line-height: 1.45;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.story-visual > .story-card .story-card__icon {
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .story-visual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 640px;
    gap: 1rem;
  }

  .story-visual > .story-card {
    min-height: 9.5rem;
  }
}

@media (max-width: 560px) {
  .story-visual {
    grid-template-columns: minmax(0, 1fr);
    max-width: 100%;
    gap: 0.75rem;
  }

  .story-visual > .story-card {
    min-height: 0;
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 0.875rem;
    row-gap: 0.15rem;
    text-align: left;
  }

  .story-visual > .story-card .story-card__icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 2.75rem;
    height: 2.75rem;
    margin: 0;
  }

  .story-visual > .story-card h3,
  .story-visual > .story-card p {
    grid-column: 2;
    text-align: left;
  }

  .story-visual > .story-card h3 {
    margin: 0;
  }
}
@media (min-width: 561px) and (max-width: 900px) {
  .story-visual > .story-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 0.5rem);
  }
}
/* Respect the available width in shared card grids, even when legacy selectors are more specific. */
@media (max-width: 900px) {
  body :is(.services-grid, .service-grid, .features-grid, .feature-grid, .portfolio-grid, .pricing-grid, .blog-grid, .team-grid, .process-grid, .process-steps, .testimonial-grid, .contact-grid) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 600px) {
  body :is(.services-grid, .service-grid, .features-grid, .feature-grid, .portfolio-grid, .pricing-grid, .blog-grid, .team-grid, .process-grid, .process-steps, .testimonial-grid, .contact-grid) {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 640px) {
  .promo-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
    padding: 0.35rem 0.65rem;
    font-size: 0.72rem;
    line-height: 1.25;
    letter-spacing: 0.01em;
  }

  .promo-badge {
    flex: 0 0 auto;
    padding: 0.12rem 0.45rem;
    font-size: 0.62rem;
    font-weight: 800;
    border-radius: 4px;
  }

  .promo-banner > .promo-copy {
    flex: 0 1 auto;
    min-width: 0;
    text-align: center;
    font-size: 0.72rem;
  }

  .promo-banner > a {
    flex: 0 0 auto;
    max-width: 100%;
    font-size: 0.72rem;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
  }
}


/* Nexus Diji visual refresh: shared page rhythm, distinct hero treatments, and mobile-safe layouts. */
:root {
  --nd-ink: #0b1020;
  --nd-cyan: #00b4d8;
  --nd-violet: #9b5de5;
  --nd-card-shadow: 0 18px 50px rgba(11, 16, 32, 0.07);
  --nd-card-shadow-hover: 0 24px 56px rgba(11, 16, 32, 0.12);
}

body :is(main, header, footer, section, article, nav, aside),
body :is(.container, .hero-inner, .hero-content, .hero-visual, .about-hero__content, .article-wrap) {
  min-width: 0;
  max-width: 100%;
}

body main > section {
  scroll-margin-top: 6rem;
}

body :is(.section-header, .section-title, .section-desc, .about-hero__content, .about-hero__title, .about-hero__desc) {
  overflow-wrap: anywhere;
}

body :is(.service-card, .portfolio-card, .pricing-card, .blog-card, .team-card, .feature-card, .testimonial-card, .story-card) {
  border-radius: 1.25rem;
  transition: transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 240ms ease, box-shadow 240ms ease, background-color 240ms ease;
}

@media (hover: hover) and (pointer: fine) {
  body :is(.service-card, .portfolio-card, .pricing-card, .blog-card, .team-card, .feature-card, .testimonial-card, .story-card):hover {
    box-shadow: var(--nd-card-shadow-hover);
  }
}

body :is(.about-hero, .story-section, .services-section, .team-section, .workflow-section, .values-section) {
  isolation: isolate;
}

body .about-hero {
  padding-inline: clamp(0.875rem, 3vw, 2.5rem);
}

body .about-hero .container {
  width: min(100%, 72rem);
  padding-inline: clamp(0.25rem, 1.5vw, 1.25rem);
}

body .about-hero__content {
  width: 100%;
  max-width: 58rem;
  margin-inline: auto;
}

body .about-hero__title {
  width: 100%;
  max-width: 18ch;
  margin-inline: auto;
  font-size: clamp(2.2rem, 5.2vw, 4.65rem);
  line-height: 1.06;
  text-wrap: balance;
  overflow-wrap: normal;
  hyphens: auto;
}

body .about-hero__desc {
  width: min(100%, 62ch);
  line-height: 1.75;
  overflow-wrap: anywhere;
}

body .about-hero__cta,
body .hero-cta {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

body :is(.about-hero__cta, .hero-cta) > :is(a, button) {
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

body .hero {
  padding-inline: clamp(0.875rem, 4vw, 4rem);
}

body .hero-inner {
  width: min(100%, 80rem);
  min-width: 0;
  margin-inline: auto;
  gap: clamp(1.25rem, 4vw, 3rem);
}

body .hero-content {
  width: min(100%, 39rem);
  min-width: 0;
  flex: 1 1 28rem;
}

body .hero-content h1 {
  max-width: 15ch;
  font-size: clamp(2.35rem, 5.1vw, 4.8rem);
  line-height: 1.04;
  overflow-wrap: normal;
  text-wrap: balance;
}

body .hero-desc {
  width: min(100%, 60ch);
  overflow-wrap: anywhere;
}

body .hero-visual {
  flex: 0 1 34rem;
  min-width: 0;
}

body .promo-banner {
  min-width: 0;
}

body .promo-banner > :is(span, a) {
  min-width: 0;
  max-width: 100%;
}

body .site-header,
body .nav-container,
body footer {
  min-width: 0;
  max-width: 100%;
}

body.page-blog-index .about-hero__bg {
  background: radial-gradient(ellipse 58% 70% at 76% 25%, rgba(0, 180, 216, 0.14), transparent 72%),
    radial-gradient(ellipse 44% 62% at 12% 82%, rgba(67, 97, 238, 0.1), transparent 75%);
}

body.page-pricing .about-hero__bg {
  background: radial-gradient(ellipse 56% 68% at 78% 32%, rgba(155, 93, 229, 0.15), transparent 72%),
    radial-gradient(ellipse 40% 54% at 12% 80%, rgba(0, 180, 216, 0.1), transparent 75%);
}

body.page-contact .about-hero__bg {
  background: radial-gradient(ellipse 60% 72% at 22% 26%, rgba(0, 180, 216, 0.15), transparent 72%),
    radial-gradient(ellipse 42% 58% at 88% 85%, rgba(155, 93, 229, 0.1), transparent 75%);
}

body.page-services .about-hero__bg {
  background: radial-gradient(ellipse 64% 70% at 82% 22%, rgba(67, 97, 238, 0.14), transparent 72%),
    radial-gradient(ellipse 42% 58% at 10% 88%, rgba(0, 180, 216, 0.11), transparent 75%);
}

body.page-portfolio .about-hero__bg {
  background: radial-gradient(ellipse 58% 68% at 20% 22%, rgba(155, 93, 229, 0.15), transparent 72%),
    radial-gradient(ellipse 46% 58% at 88% 86%, rgba(0, 180, 216, 0.12), transparent 75%);
}

body.page-about .about-hero__bg {
  background: radial-gradient(ellipse 58% 66% at 80% 20%, rgba(0, 180, 216, 0.13), transparent 72%),
    radial-gradient(ellipse 46% 58% at 12% 88%, rgba(155, 93, 229, 0.1), transparent 75%);
}

body.page-team .about-hero__bg {
  background: radial-gradient(ellipse 54% 68% at 24% 26%, rgba(67, 97, 238, 0.13), transparent 72%),
    radial-gradient(ellipse 42% 56% at 88% 84%, rgba(155, 93, 229, 0.1), transparent 75%);
}

body.page-services .about-hero .container,
body.page-portfolio .about-hero .container {
  max-width: 76rem;
}

body.page-services .about-hero__content,
body.page-portfolio .about-hero__content {
  max-width: 54rem;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

body.page-services .about-hero__title,
body.page-portfolio .about-hero__title {
  margin-left: 0;
}

body.page-services .about-hero__desc,
body.page-portfolio .about-hero__desc {
  margin-left: 0;
  margin-right: auto;
}

body.page-services .about-hero__cta,
body.page-portfolio .about-hero__cta {
  justify-content: flex-start;
}

body.page-pricing .pricing-card {
  border-width: 1.5px;
  box-shadow: var(--nd-card-shadow);
}

body.page-pricing .pricing-card.popular {
  border-width: 2px;
  box-shadow: 0 22px 56px rgba(0, 180, 216, 0.16);
  transform: translateY(-0.5rem);
}

body.page-pricing .pricing-card.popular:hover {
  transform: translateY(-0.75rem);
}

body.page-portfolio .portfolio-thumb {
  min-height: 12rem;
  background-image: linear-gradient(135deg, rgba(0, 180, 216, 0.12), rgba(155, 93, 229, 0.13));
}

body.page-blog-index .blog-card,
body.page-contact .service-card,
body.page-services .service-card,
body.page-team .team-card,
body.page-about .team-card {
  box-shadow: var(--nd-card-shadow);
}

body.page-team .team-card__image,
body.page-about .team-card__image {
  background: linear-gradient(145deg, rgba(0, 180, 216, 0.12), rgba(155, 93, 229, 0.14));
}

body.page-home .hero::after {
  content: "";
  position: absolute;
  inset: 12% 4% auto auto;
  width: min(34vw, 28rem);
  aspect-ratio: 1;
  border: 1px solid rgba(0, 180, 216, 0.12);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.6;
}

body.page-home .hero-inner {
  z-index: 2;
}

body.page-home .hero-content {
  flex-basis: 31rem;
}

body.page-home .hero-visual {
  flex-basis: 31rem;
}

body.page-home #services,
body.page-home #portfolio,
body.page-home #pricing,
body.page-home #why,
body.page-home #process,
body.page-home #testimonials,
body.page-home #faq,
body.page-home #blog,
body.page-home #contact {
  position: relative;
}

body.page-home #services::before,
body.page-home #portfolio::before,
body.page-home #pricing::before,
body.page-home #why::before,
body.page-home #testimonials::before,
body.page-home #faq::before,
body.page-home #blog::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(88%, 76rem);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(0, 180, 216, 0.22), rgba(155, 93, 229, 0.18), transparent);
  pointer-events: none;
}

body.article-page {
  background:
    radial-gradient(ellipse 52% 32% at 84% 16%, rgba(0, 180, 216, 0.1), transparent 72%),
    radial-gradient(ellipse 48% 34% at 10% 34%, rgba(155, 93, 229, 0.07), transparent 74%),
    var(--bg);
}

body.article-page .nav-container {
  padding-block: 0.8rem;
}

.article-wrap {
  width: min(100%, 58rem);
  margin: clamp(2rem, 5vw, 4rem) auto clamp(4rem, 8vw, 7rem);
  padding-inline: clamp(0.875rem, 3.8vw, 2.5rem);
}

.article-back-row {
  display: flex;
  align-items: center;
  min-height: 3.25rem;
  margin: 0 0 clamp(1.25rem, 3vw, 2.25rem);
}

.article-back-row .back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  margin: 0;
  padding: 0.6rem 1rem 0.6rem 0.75rem;
  border: 1px solid rgba(11, 16, 32, 0.1);
  border-radius: 999px;
  color: var(--nd-ink);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 5px 16px rgba(11, 16, 32, 0.045);
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.article-back-row .back-btn:hover {
  color: #087b9b;
  border-color: rgba(0, 180, 216, 0.4);
  background: #fff;
  transform: translateX(-2px);
  opacity: 1;
}

.article-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.5rem, 5vw, 3.25rem);
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(11, 16, 32, 0.08);
  border-radius: clamp(1.25rem, 3vw, 2rem);
  background:
    radial-gradient(ellipse 50% 70% at 94% 8%, rgba(0, 180, 216, 0.17), transparent 72%),
    radial-gradient(ellipse 42% 62% at 0% 100%, rgba(67, 97, 238, 0.1), transparent 74%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(244, 250, 252, 0.96));
  box-shadow: 0 24px 70px rgba(11, 16, 32, 0.07);
}

.article-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -4rem;
  top: -5rem;
  width: clamp(9rem, 22vw, 17rem);
  aspect-ratio: 1;
  border: 1px solid rgba(0, 180, 216, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 1.4rem rgba(0, 180, 216, 0.025), 0 0 0 2.8rem rgba(155, 93, 229, 0.025);
  pointer-events: none;
}

.article-hero > * {
  position: relative;
  z-index: 1;
}

.article-hero .blog-badge {
  margin-bottom: 1rem;
  border-color: rgba(0, 150, 190, 0.18);
  color: #087b9b;
  background: rgba(0, 180, 216, 0.09);
}

.article-hero .article-title {
  width: min(100%, 19ch);
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
  font-size: clamp(2.15rem, 4.6vw, 3.65rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 750;
  overflow-wrap: normal;
  text-wrap: balance;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.9rem;
  margin: 0;
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.5;
}

.article-meta strong {
  color: var(--nd-ink);
}

.article-meta__separator {
  color: rgba(11, 16, 32, 0.38);
}

.article-read-time {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #087b9b;
  font-weight: 650;
}

.article-read-time svg {
  flex: 0 0 auto;
}

.article-content {
  max-width: 70ch;
  margin-inline: auto;
  padding: clamp(1.2rem, 4vw, 2.8rem);
  border: 1px solid rgba(11, 16, 32, 0.07);
  border-radius: clamp(1rem, 2.4vw, 1.5rem);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 48px rgba(11, 16, 32, 0.045);
  color: #3f4856;
  font-size: clamp(1rem, 1.25vw, 1.075rem);
  line-height: 1.82;
}

.article-content h2 {
  padding-top: 0.5rem;
  color: var(--nd-ink);
  font-size: clamp(1.45rem, 2.8vw, 1.8rem);
  line-height: 1.22;
  scroll-margin-top: 6rem;
}

.article-content h3 {
  color: var(--nd-ink);
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  line-height: 1.3;
}

.article-content strong {
  color: #087b9b;
}

.article-content a {
  color: #087b9b;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.article-content :is(ul, ol) {
  padding-left: 1.25rem;
}

.article-content li::marker {
  color: var(--nd-cyan);
}

body.privacy-page > header {
  padding: 0.85rem clamp(0.875rem, 4vw, 2.25rem) !important;
  gap: 1rem;
}

body.privacy-page > header > a:last-child {
  min-height: 2.75rem;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(11, 16, 32, 0.1);
  border-radius: 999px;
  white-space: normal;
  text-align: center;
}

body.privacy-page > .container {
  width: min(calc(100% - 2 * var(--page-gutter)), 58rem);
  margin: clamp(1.5rem, 5vw, 4rem) auto;
  padding: clamp(1.2rem, 4vw, 3rem);
  border: 1px solid rgba(11, 16, 32, 0.08);
  border-radius: clamp(1rem, 2.4vw, 1.5rem);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--nd-card-shadow);
}

body.privacy-page > .container h1 {
  max-width: 16ch;
  margin-bottom: 0.8rem;
  color: var(--nd-ink);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08;
}

body.privacy-page > .container p {
  max-width: 72ch;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

body.privacy-page .back-btn {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin: 1.5rem auto 0;
}

@media (max-width: 900px) {
  body .hero-inner {
    gap: 1.5rem;
  }

  body .hero-content {
    flex-basis: 56%;
  }

  body .hero-visual {
    flex-basis: 40%;
  }

  body.page-pricing .pricing-card.popular {
    transform: none;
  }

  body.page-pricing .pricing-card.popular:hover {
    transform: translateY(-0.35rem);
  }
}

@media (max-width: 680px) {
  body .about-hero {
    min-height: auto;
    padding: 8.5rem 0.875rem 3.25rem;
  }

  body .about-hero .container {
    width: 100%;
    padding-inline: 0;
  }

  body .about-hero__content {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  body .about-hero__title {
    width: 100%;
    max-width: 16ch;
    margin-inline: auto;
    font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  body .about-hero__desc {
    width: 100%;
    max-width: 58ch;
    margin-inline: auto;
    font-size: 1rem;
    line-height: 1.7;
  }

  body :is(.about-hero__cta, .hero-cta) {
    width: 100%;
    justify-content: center;
    gap: 0.65rem;
  }

  body :is(.about-hero__cta, .hero-cta) > :is(a, button) {
    min-width: min(100%, 12rem);
    max-width: 100%;
    justify-content: center;
  }

  body .hero {
    min-height: auto;
    padding: 8.5rem 0.875rem 2.5rem;
  }

  body .hero-inner {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 0;
  }

  body .hero-content,
  body .hero-visual {
    width: 100%;
    max-width: 100%;
    flex: 0 1 auto;
    min-width: 0;
  }

  body .hero-content {
    text-align: center;
  }

  body .hero-content h1 {
    width: 100%;
    max-width: 15ch;
    margin-inline: auto;
    font-size: clamp(2.15rem, 9vw, 3.15rem);
    line-height: 1.06;
    overflow-wrap: anywhere;
  }

  body .hero-desc {
    width: 100%;
    max-width: 58ch;
    margin-inline: auto;
    font-size: 1rem;
    line-height: 1.7;
  }

  body .hero-visual {
    justify-content: center;
  }

  body.page-services .about-hero__content,
  body.page-portfolio .about-hero__content {
    text-align: center;
  }

  body.page-services .about-hero__title,
  body.page-portfolio .about-hero__title,
  body.page-services .about-hero__desc,
  body.page-portfolio .about-hero__desc {
    margin-inline: auto;
  }

  body.page-services .about-hero__cta,
  body.page-portfolio .about-hero__cta {
    justify-content: center;
  }

  body .nav-container {
    width: 100%;
    max-width: 100%;
  }

  body.privacy-page > header {
    flex-wrap: wrap;
    justify-content: space-between !important;
  }

  body.privacy-page > header > a:last-child {
    flex: 0 1 auto;
  }

  body.privacy-page > .container {
    width: calc(100% - 2 * var(--page-gutter));
  }

  body.article-page .nav-container {
    padding: 0.55rem var(--page-gutter);
    gap: 0.5rem;
  }

  body.article-page .nav-container .logo-img {
    height: 2.8rem;
  }

  body.article-page .nav-container .nav-links {
    display: none;
  }

  body.article-page .nav-container .btn-primary {
    min-height: 2.75rem;
    padding: 0.55rem 0.9rem;
    font-size: 0.82rem;
  }

  .article-wrap {
    width: 100%;
    margin-top: 1.5rem;
    padding-inline: var(--page-gutter);
  }

  .article-back-row {
    min-height: 0;
    margin-bottom: 1rem;
  }

  .article-hero {
    padding: clamp(1.2rem, 6vw, 1.75rem);
    margin-bottom: 1rem;
    border-radius: 1.2rem;
  }

  .article-hero .article-title {
    width: 100%;
    max-width: 18ch;
    font-size: clamp(2rem, 8.6vw, 2.8rem);
    line-height: 1.1;
    overflow-wrap: anywhere;
  }

  .article-meta {
    gap: 0.45rem 0.65rem;
    font-size: 0.82rem;
  }

  .article-content {
    padding: 1.1rem;
    border-radius: 1rem;
    font-size: 1rem;
    line-height: 1.75;
  }

  .article-content h2 {
    margin-top: 2.35rem;
  }

  body :is(.story-section, .services-section, .team-section, .workflow-section, .values-section) {
    padding-inline: var(--page-gutter);
  }
}

@media (max-width: 380px) {
  body :is(.about-hero__cta, .hero-cta) {
    align-items: stretch;
    flex-direction: column;
  }

  body :is(.about-hero__cta, .hero-cta) > :is(a, button) {
    width: 100%;
    min-width: 0;
  }

  .article-back-row .back-btn {
    font-size: 0.84rem;
  }

  .article-meta__separator {
    display: none;
  }

  body.privacy-page > header {
    padding: 0.7rem var(--page-gutter) !important;
  }

  body.privacy-page > header > a:last-child {
    max-width: calc(100% - 4rem);
    padding-inline: 0.7rem;
    font-size: 0.82rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body :is(.service-card, .portfolio-card, .pricing-card, .blog-card, .team-card, .feature-card, .testimonial-card, .story-card),
  .article-back-row .back-btn {
    transition: none;
  }
}

/* Blog article cards: editorial covers with compact topic icons. */
body.page-home #blog .blog-img,
body.page-blog-index #articles .blog-feature-cover {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1.58;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(11, 16, 32, 0.08);
  border-radius: 1rem;
  background-color: #f7f9ff;
  background-image: linear-gradient(rgba(11,16,32,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(11,16,32,.035) 1px,transparent 1px);
  background-size: 2.8rem 2.8rem;
}

body.page-home #blog .blog-img::before,
body.page-blog-index #articles .blog-feature-cover::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  backdrop-filter: none;
}

body.page-home #blog .blog-img::after,
body.page-blog-index #articles .blog-feature-cover::after {
  position: absolute;
  z-index: 0;
  top: -36%;
  right: -12%;
  width: 62%;
  aspect-ratio: 1;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155,93,229,.26), rgba(0,180,216,.08) 48%, transparent 72%);
  pointer-events: none;
}

body.page-home #blog .blog-img--umkm,
body.page-blog-index #articles .blog-feature-cover--umkm { background-color: #f9fbff; }
body.page-home #blog .blog-img--speed,
body.page-blog-index #articles .blog-feature-cover--speed { background-color: #f1fbff; }
body.page-home #blog .blog-img--hardware,
body.page-blog-index #articles .blog-feature-cover--hardware { background-color: #fbf8ff; }

body.page-home #blog .blog-cover-copy,
body.page-blog-index #articles .blog-cover-copy {
  position: absolute;
  z-index: 1;
  inset: clamp(1rem, 2.5vw, 1.5rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  color: var(--nd-ink);
  text-align: left;
}

body.page-home #blog .blog-cover-copy > span,
body.page-blog-index #articles .blog-cover-copy > span {
  color: #5b46ae;
  font-size: clamp(.58rem, 1vw, .7rem);
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.3;
}

body.page-home #blog .blog-cover-copy strong,
body.page-blog-index #articles .blog-cover-copy strong {
  max-width: 13ch;
  color: #0b1020;
  font-size: clamp(1.35rem, 2.35vw, 2rem);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: 1.02;
}

body.page-home #blog .blog-cover-copy em,
body.page-blog-index #articles .blog-cover-copy em {
  color: #8d3fb1;
  font-style: normal;
  font-weight: 750;
}

body.page-home #blog .blog-cover-copy small,
body.page-blog-index #articles .blog-cover-copy small {
  color: #687287;
  font-size: clamp(.56rem, .9vw, .68rem);
  font-weight: 700;
  letter-spacing: .075em;
}

body.page-home #blog .blog-cover-mark,
body.page-blog-index #articles .blog-cover-mark {
  position: absolute;
  z-index: 1;
  top: clamp(.8rem, 2vw, 1.2rem);
  right: clamp(.8rem, 2vw, 1.2rem);
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border: 1px solid rgba(86,96,132,.12);
  border-radius: .8rem;
  color: #5f589d;
  background: rgba(255,255,255,.66);
  box-shadow: 0 5px 18px rgba(31,34,74,.06);
  backdrop-filter: blur(8px);
}

body.page-home #blog .blog-cover-mark svg,
body.page-blog-index #articles .blog-cover-mark svg {
  display: block;
  width: 1.3rem;
  height: 1.3rem;
  color: inherit;
  filter: none;
  transition: transform 220ms ease;
}

body.page-home #blog .blog-card:hover .blog-cover-mark svg {
  transform: scale(1.05);
  filter: none;
}

body.page-home #blog .blog-img { border-bottom: 0; }
body.page-home #blog .blog-img .blog-cover-copy strong { font-size: clamp(1.25rem,2vw,1.8rem); }

body.page-home #blog .blog-content {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1.2rem 1.25rem 1.25rem;
}

body.page-home #blog .blog-card__meta,
body.page-blog-index #articles .blog-feature-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1rem;
  margin-bottom: .1rem;
  color: #6255a9;
  font-size: .8rem;
  font-weight: 700;
}

body.page-home #blog .blog-card__meta span:last-child,
body.page-blog-index #articles .blog-feature-meta span:last-child {
  color: #788195;
  font-weight: 500;
}

body.page-home #blog .blog-content h3 {
  margin: 0;
  font-size: clamp(1.12rem,1.6vw,1.35rem);
  line-height: 1.25;
}

body.page-home #blog .blog-content p {
  flex: 1;
  margin: 0;
  font-size: .93rem;
  line-height: 1.65;
}

body.page-home #blog .blog-card__footer,
body.page-blog-index #articles .blog-feature-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: .35rem;
}

body.page-home #blog .blog-card__footer .blog-date { margin: 0; }
body.page-home #blog .blog-link { gap: .35rem; white-space: nowrap; }

body.page-blog-index #articles .blog-feature-card {
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: .65rem;
  overflow: hidden;
  padding: 0 0 1rem;
  border: 1px solid rgba(24,43,75,.1);
  border-radius: 1.35rem;
  background: rgba(255,255,255,.96);
  box-shadow: var(--nd-card-shadow);
}

body.page-blog-index #articles .blog-feature-cover {
  flex: 0 0 auto;
  margin: 0 0 .3rem;
  border-radius: 1.25rem 1.25rem .9rem .9rem;
}

body.page-blog-index #articles .blog-feature-card .service-card__title,
body.page-blog-index #articles .blog-feature-card .service-card__desc {
  width: auto;
  margin: 0 1.2rem;
}
body.page-blog-index #articles .blog-feature-meta {
  margin-inline: 1.2rem;
}

body.page-blog-index #articles .blog-feature-card .service-card__title {
  color: var(--nd-ink);
  font-size: clamp(1.15rem,1.7vw,1.4rem);
  line-height: 1.25;
}

body.page-blog-index #articles .blog-feature-card .service-card__desc {
  flex: 1;
  color: #596273;
  font-size: .94rem;
  line-height: 1.65;
}

body.page-blog-index #articles .blog-feature-footer {
  margin: .25rem 1.2rem 0;
  padding-top: .75rem;
  border-top: 1px solid rgba(11,16,32,.08);
  color: #778195;
  font-size: .82rem;
}

body.page-blog-index #articles .blog-feature-footer .service-card__link {
  width: auto;
  min-width: 0;
  margin: 0;
  white-space: nowrap;
}

body.page-blog-index #articles .blog-feature-footer .service-card__link svg {
  width: .9rem;
  height: .9rem;
}

body.article-page .article-wrap { margin-top: clamp(8rem,10vw,10rem); }
body.article-page .article-back-row {
  position: relative;
  z-index: 1;
  min-height: 2.75rem;
  margin-top: 0;
  margin-bottom: clamp(1rem,2vw,1.5rem);
}
body.article-page .article-back-row .back-btn {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  max-width: 100%;
  white-space: normal;
}

.article-content .article-cta {
  margin-top: clamp(2.5rem,6vw,4rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(11,16,32,.12);
  text-align: center;
}
.article-content .article-cta h3 {
  margin-bottom: .75rem;
  color: var(--nd-ink);
  font-size: clamp(1.2rem,2vw,1.5rem);
}
.article-content .article-cta p { margin-bottom: 1.25rem; }
.article-content .article-references { font-size: .94rem; }

@media (max-width: 900px) {
  body.article-page .article-wrap { margin-top: 6rem; }
  body.page-home #blog .blog-cover-copy strong,
  body.page-blog-index #articles .blog-cover-copy strong { font-size: clamp(1.3rem,4.6vw,1.8rem); }
  body.page-home #blog .blog-cover-copy small,
  body.page-blog-index #articles .blog-cover-copy small { font-size: .62rem; }
}

@media (max-width: 520px) {
  body.page-home #blog .blog-img,
  body.page-blog-index #articles .blog-feature-cover { aspect-ratio: 1.55; }
  body.page-home #blog .blog-cover-copy,
  body.page-blog-index #articles .blog-cover-copy { inset: 1rem; }
  body.page-home #blog .blog-cover-mark,
  body.page-blog-index #articles .blog-cover-mark { width: 2.15rem; height: 2.15rem; }
  body.page-home #blog .blog-content { padding: 1rem; }
  body.page-home #blog .blog-card__footer { align-items: flex-start; }
  body.article-page .article-wrap { margin-top: 6rem; }
}

@media (prefers-reduced-motion: reduce) {
  body.page-home #blog .blog-cover-mark svg { transition: none; }
}


/* Founder profile cards: refined portrait grid for About Us. */
.founders-page .team-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
  max-width: 980px;
  align-items: stretch;
}

.founders-page .team-card {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 28px;
  background: linear-gradient(180deg, #fff 0%, #fcfdff 100%);
  box-shadow: 0 18px 48px rgba(11, 16, 32, 0.08);
  transition: transform 320ms cubic-bezier(0.2, 0.7, 0.2, 1), border-color 320ms ease, box-shadow 320ms ease;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .founders-page .team-card:hover {
    transform: translateY(-7px);
    border-color: rgba(0, 180, 216, 0.34);
    box-shadow: 0 26px 64px rgba(11, 16, 32, 0.13), 0 8px 26px rgba(0, 180, 216, 0.08);
  }

  .founders-page .team-card:hover .team-card__avatar {
    transform: scale(1.18);
  }
}

.founders-page .team-card__image {
  position: relative;
  display: grid;
  min-height: 274px;
  padding: 2.25rem 1.5rem;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.98), transparent 44%),
    radial-gradient(ellipse at 50% 100%, rgba(0, 180, 216, 0.13), transparent 56%),
    linear-gradient(145deg, #f3f9fc 0%, #f5f3fc 100%);
}

.founders-page .team-card--noval .team-card__image {
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.98), transparent 44%),
    radial-gradient(ellipse at 50% 100%, rgba(155, 93, 229, 0.13), transparent 56%),
    linear-gradient(145deg, #f4f7fc 0%, #f7f3fb 100%);
}

.founders-page .team-card__image::before {
  position: absolute;
  z-index: -1;
  width: 244px;
  aspect-ratio: 1;
  border: 1px solid rgba(11, 16, 32, 0.07);
  border-radius: 50%;
  content: "";
}

.founders-page .team-card__image::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 180, 216, 0.34), rgba(155, 93, 229, 0.24), transparent);
  content: "";
}

.founders-page .team-card__portrait {
  position: relative;
  z-index: 1;
  width: clamp(148px, 16vw, 178px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  background: linear-gradient(145deg, #e9f7fb, #f0eafa);
  box-shadow: 0 18px 44px rgba(11, 16, 32, 0.16), 0 0 0 1px rgba(11, 16, 32, 0.06);
}

.founders-page .team-card__avatar {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  background: transparent;
  object-fit: cover;
  object-position: 50% 0%;
  transform: scale(1.12);
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.founders-page .team-card--noval .team-card__avatar {
  object-position: 50% 0%;
}

.founders-page .team-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.75rem clamp(1.25rem, 3vw, 2rem) 2rem;
  text-align: center;
}

.founders-page .team-card__name {
  margin: 0 0 0.7rem;
  color: #0b1020;
  font-size: clamp(1.2rem, 2.1vw, 1.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}

.founders-page .team-card__role {
  align-self: center;
  max-width: 100%;
  margin-bottom: 0.9rem;
  padding: 0.42rem 0.9rem;
  border: 1px solid rgba(0, 180, 216, 0.16);
  border-radius: 999px;
  background: rgba(0, 180, 216, 0.08);
  color: #087d98;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
}

.founders-page .team-card__expertise {
  max-width: 31rem;
  margin: 0 auto;
  color: #596273;
  font-size: 0.96rem;
  line-height: 1.75;
}

@media (max-width: 640px) {
  .founders-page .team-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }

  .founders-page .team-card__image {
    min-height: 238px;
    padding: 1.75rem 1.25rem;
  }

  .founders-page .team-card__portrait {
    width: 156px;
  }

  .founders-page .team-card__content {
    padding: 1.5rem 1.25rem 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .founders-page .team-card,
  .founders-page .team-card__avatar {
    transition: none;
  }
}


/* Meet the Founders section hierarchy. */
:is(.founders-page, .team-page) .founders-intro {
  width: min(100%, 780px);
  max-width: 780px;
  margin: 0 auto clamp(2.25rem, 4vw, 3.25rem);
  text-align: center;
}

:is(.founders-page, .team-page) .founders-intro .section-title {
  margin: 0 0 0.8rem;
  font-size: clamp(2rem, 4.3vw, 3.25rem);
  line-height: 1.08;
  text-wrap: balance;
}

:is(.founders-page, .team-page) .founders-intro__lead {
  max-width: 44rem;
  margin: 0 auto 0.7rem;
  color: #26364c;
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
  font-weight: 600;
  line-height: 1.55;
  text-wrap: balance;
}

:is(.founders-page, .team-page) .founders-intro__copy {
  max-width: 720px;
  margin: 0 auto;
  color: #596273;
  font-size: clamp(0.95rem, 1.25vw, 1.02rem);
  line-height: 1.8;
  text-wrap: pretty;
}

@media (max-width: 640px) {
  :is(.founders-page, .team-page) .founders-intro {
    margin-bottom: 2.25rem;
  }

  :is(.founders-page, .team-page) .founders-intro .section-title {
    font-size: clamp(1.9rem, 8vw, 2.5rem);
  }

  :is(.founders-page, .team-page) .founders-intro__lead {
    font-size: 1.05rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   GLOBAL PROMO BANNER & NAVBAR COORDINATION
   Guarantees no overlapping at ANY screen size (desktop, tablet, mobile)
   ═══════════════════════════════════════════════════════════════ */

:root {
  --promo-banner-height: 42px;
}

@media (max-width: 768px) {
  :root {
    --promo-banner-height: 48px;
  }
}

@media (max-width: 480px) {
  :root {
    --promo-banner-height: 52px;
  }
}

/* Promo Banner Baseline */
.promo-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1.25rem;
  padding: 0.45rem 1rem;
  font-size: 0.84rem;
  font-weight: 500;
  background: rgba(67, 97, 238, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s;
}

/* Nav positioning directly below promo banner */
nav#navbar {
  position: fixed;
  top: var(--promo-banner-height, 42px);
  left: 0;
  right: 0;
  z-index: 990;
  transition: top 0.25s ease, background 0.3s ease, box-shadow 0.3s ease;
}

nav#navbar.scrolled {
  top: 0 !important;
  background: #fff;
  box-shadow: 0 6px 24px rgba(12, 17, 29, 0.08);
}

/* Hide promo banner completely when mobile drawer is open so it NEVER covers header or menu items */
body.menu-open .promo-banner {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(-100%) !important;
}

/* Full-screen Mobile Drawer */
.nav-mobile-menu {
  z-index: 100000 !important;
}

.nav-mobile-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: calc(env(safe-area-inset-top, 0px) + 0.65rem) 1rem 0.65rem;
  min-height: 58px;
}

/* ==========================================================================
   UNIVERSAL SEGMENTED PILL LANGUAGE SWITCHER (.nav-language)
   Bulletproof, works in any header, navbar, drawer, or modal
   ========================================================================== */
/* ═══════════════════════════════════════════════════════════════
   UNIVERSAL SEGMENTED PILL LANGUAGE SWITCHER (.nav-language)
   Physics-based sliding pill glider, frosted glass, cyber glow
   ═══════════════════════════════════════════════════════════════ */
.nav-language {
  position: relative;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  padding: 3px;
  height: 38px;
  border-radius: 9999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 244, 253, 0.94) 100%);
  border: 1.5px solid rgba(67, 97, 238, 0.22);
  box-shadow: 
    inset 0 1.5px 3px rgba(15, 23, 42, 0.05),
    0 4px 14px -2px rgba(67, 97, 238, 0.12),
    0 1px 2px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  isolation: isolate;
  flex-shrink: 0;
  vertical-align: middle;
  user-select: none;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.nav-language:hover {
  border-color: rgba(96, 54, 250, 0.38);
  box-shadow: 
    inset 0 1.5px 3px rgba(15, 23, 42, 0.04),
    0 6px 18px -2px rgba(96, 54, 250, 0.18);
}

/* The Animated Sliding Pill Glider */
.nav-language::before {
  content: '';
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  border-radius: 9999px;
  background: linear-gradient(135deg, #3a56e8 0%, #6036fa 50%, #7928ca 100%);
  box-shadow: 
    0 3px 10px rgba(96, 54, 250, 0.45),
    0 1px 3px rgba(67, 97, 238, 0.25),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.45);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.25s ease;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
}

/* Sliding movement based on active state */
.nav-language[data-active-lang="en"]::before,
.nav-language:has(.nav-language__option[data-lang="en"].is-active)::before {
  transform: translateX(100%);
}

.nav-language[data-active-lang="id"]::before,
.nav-language:has(.nav-language__option[data-lang="id"].is-active)::before {
  transform: translateX(0);
}

.nav-language__option {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 9999px;
  background: transparent !important;
  color: #64748b;
  font-family: var(--font-primary, 'DM Sans', sans-serif);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.05em;
  cursor: pointer;
  outline: none;
  transition: color 0.24s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
  -webkit-appearance: none;
  appearance: none;
  user-select: none;
}

.nav-language__option.is-active {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(10, 5, 40, 0.35);
  background: transparent !important;
  box-shadow: none !important;
}

.nav-language__option:not(.is-active):hover {
  color: #4361ee;
  transform: scale(1.08);
}

.nav-language__option:active {
  transform: scale(0.92);
}

.nav-language__option:focus-visible {
  outline: 2px solid #6036fa;
  outline-offset: 1px;
}

/* ═══════════════════════════════════════════════════════════════
   UNIVERSAL CALL TO ACTION BUTTON (.nav-cta)
   ═══════════════════════════════════════════════════════════════ */
.nav-cta,
.nav-container .btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: clamp(130px, 10vw, 175px);
  min-height: clamp(40px, 3.5vw, 48px);
  padding: 0.6rem clamp(1.15rem, 1.4vw, 1.65rem);
  border-radius: 9999px;
  background: linear-gradient(135deg, #3a56e8 0%, #6036fa 45%, #7928ca 100%) !important;
  color: #ffffff !important;
  font-family: var(--font-primary, 'DM Sans', sans-serif);
  font-size: clamp(0.84rem, 0.9vw, 0.96rem);
  font-weight: 700 !important;
  letter-spacing: -0.01em;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 
    0 4px 18px -2px rgba(96, 54, 250, 0.42),
    0 8px 24px -4px rgba(67, 97, 238, 0.28),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.45),
    inset 0 -1.5px 2px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.28s ease,
              filter 0.25s ease !important;
}

.nav-cta::before,
.nav-container .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 65%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.38),
    rgba(255, 255, 255, 0.65),
    transparent
  );
  transform: skewX(-24deg);
  transition: left 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  border-radius: inherit;
  z-index: 1;
}

.nav-cta:hover::before,
.nav-container .btn-primary:hover::before {
  left: 150%;
}

.nav-cta span,
.nav-container .btn-primary {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(10, 5, 40, 0.3);
}

.nav-cta span::after,
.nav-container .btn-primary::after {
  content: '→';
  display: inline-block;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1.05em;
  line-height: 1;
  font-weight: 700;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-cta:hover,
.nav-container .btn-primary:hover {
  transform: translateY(-2.5px) scale(1.02);
  box-shadow: 
    0 10px 28px -2px rgba(96, 54, 250, 0.55),
    0 0 24px rgba(67, 97, 238, 0.38),
    inset 0 1px 2px rgba(255, 255, 255, 0.6);
  filter: brightness(1.06);
}

.nav-cta:hover span::after,
.nav-container .btn-primary:hover::after {
  transform: translateX(4px);
}

.nav-cta:active,
.nav-container .btn-primary:active {
  transform: translateY(0.5px) scale(0.97);
  box-shadow: 
    0 2px 10px rgba(96, 54, 250, 0.35),
    inset 0 1.5px 2px rgba(0, 0, 0, 0.25);
  filter: brightness(0.98);
}

/* ==========================================================================
   SUBPAGE CLEAN HEADER (Privacy, Single Blog, etc.)
   ========================================================================== */
.subpage-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.04);
  padding: 0.75rem clamp(1rem, 3.5vw, 2.5rem);
  width: 100%;
  box-sizing: border-box;
}

.subpage-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.subpage-header .logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: 0 1 auto;
}

.subpage-header .logo-img {
  height: clamp(44px, 5vw, 50px);
  width: auto;
  max-width: clamp(170px, 48vw, 210px);
  object-fit: contain;
  object-position: left center;
}

.subpage-header__actions {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.8vw, 1.25rem);
  flex: 0 0 auto;
}

.nav-back-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(241, 245, 249, 0.95);
  border: 1px solid rgba(203, 213, 225, 0.85);
  color: #334155;
  font-family: var(--font-primary, 'DM Sans', sans-serif);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.nav-back-pill svg {
  transition: transform 0.2s ease;
}

.nav-back-pill:hover {
  background: #ffffff;
  color: #4361ee;
  border-color: rgba(67, 97, 238, 0.35);
  box-shadow: 0 4px 14px rgba(67, 97, 238, 0.14);
  transform: translateY(-1px);
}

.nav-back-pill:hover svg {
  transform: translateX(-3px);
}

@media (max-width: 640px) {
  .subpage-header {
    padding: 0.6rem 0.85rem;
  }
  .subpage-header .logo-img {
    height: clamp(38px, 8.5vw, 44px);
    max-width: clamp(150px, 48vw, 180px);
  }
  .nav-back-pill {
    padding: 0.4rem 0.75rem;
    font-size: 0.76rem;
    gap: 0.25rem;
  }
}

@media (max-width: 360px) {
  .subpage-header {
    padding: 0.5rem 0.6rem;
  }
  .subpage-header .logo-img {
    height: 36px;
    max-width: 140px;
  }
  .nav-back-pill {
    padding: 0.35rem 0.65rem;
    font-size: 0.72rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE DESKTOP NAVIGATION (min-width: 1024px)
   Fluid flexbox: zero overlap, perfectly scaled from 1024px to 1920px+
   ═══════════════════════════════════════════════════════════════ */

@media (min-width: 1024px) {
  nav#navbar {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(0.6rem, 1.4vw, 2.2rem);
    height: clamp(74px, 5.8vw, 92px);
    min-height: clamp(74px, 5.8vw, 92px);
    padding: 0 clamp(1rem, 2.5vw, max(1.25rem, calc((100vw - 1500px) / 2)));
    background: #fff;
    border-bottom: 1px solid #e5e7ef;
    box-shadow: 0 4px 20px rgba(20, 25, 42, 0.035);
  }

  nav#navbar .logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    transform-origin: left center;
    animation: nd-nav-arrive 560ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  nav#navbar .logo:hover {
    opacity: 1;
    transform: translateY(-1px);
  }

  nav#navbar .logo-img {
    width: auto;
    max-width: 220px;
    height: clamp(48px, 3.6vw, 54px);
    min-height: 0;
    object-fit: contain;
    object-position: left center;
    transition: filter 260ms ease, transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  nav#navbar .logo:hover .logo-img {
    filter: drop-shadow(0 5px 10px rgba(99, 56, 255, 0.18));
    transform: scale(1.025);
  }

  nav#navbar .nav-links {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.45rem, 1.25vw, 1.65rem);
    width: auto;
    max-width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    min-width: 0;
  }

  nav#navbar .nav-links > li {
    flex: 0 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    animation: nd-nav-arrive 520ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  nav#navbar .nav-links > li:nth-child(1) { animation-delay: 50ms; }
  nav#navbar .nav-links > li:nth-child(2) { animation-delay: 95ms; }
  nav#navbar .nav-links > li:nth-child(3) { animation-delay: 140ms; }
  nav#navbar .nav-links > li:nth-child(4) { animation-delay: 185ms; }
  nav#navbar .nav-links > li:nth-child(5) { animation-delay: 230ms; }
  nav#navbar .nav-links > li:nth-child(6) { animation-delay: 275ms; }

  nav#navbar .nav-links > li > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem clamp(0.3rem, 0.6vw, 0.75rem);
    color: #555d6c;
    font-family: var(--font-primary);
    font-size: clamp(0.84rem, 0.95vw, 1.06rem);
    font-weight: 500;
    letter-spacing: -0.015em;
    text-align: center;
    white-space: nowrap;
    transition: color 220ms ease, transform 220ms ease;
  }

  nav#navbar .nav-links > li > a::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #6236ff, #865cff);
    opacity: 0;
    transform: scaleX(0.35);
    transform-origin: left center;
    transition: opacity 220ms ease, transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  nav#navbar .nav-links > li > a:hover,
  nav#navbar .nav-links > li > a:focus-visible,
  nav#navbar .nav-links > li > a.active {
    color: #181d2b;
  }

  nav#navbar .nav-links > li > a.active {
    font-weight: 700;
  }

  nav#navbar .nav-links > li > a:hover,
  nav#navbar .nav-links > li > a:focus-visible {
    transform: translateY(-2px);
  }

  nav#navbar .nav-links > li > a:hover::before,
  nav#navbar .nav-links > li > a:focus-visible::before,
  nav#navbar .nav-links > li > a.active::before {
    opacity: 1;
    transform: scaleX(1);
  }

  nav#navbar .nav-links > li > a:focus-visible {
    outline: 2px solid rgba(0, 180, 216, 0.45);
    outline-offset: 5px;
    border-radius: 2px;
  }

  nav#navbar .nav-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: clamp(0.45rem, 0.8vw, 0.9rem);
    animation: nd-nav-arrive 560ms 180ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .nav-language,
  nav#navbar .nav-language {
    position: relative;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    padding: 3px;
    height: 38px;
    border-radius: 9999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 244, 253, 0.94) 100%);
    border: 1.5px solid rgba(67, 97, 238, 0.22);
    box-shadow: 
      inset 0 1.5px 3px rgba(15, 23, 42, 0.05),
      0 4px 14px -2px rgba(67, 97, 238, 0.12),
      0 1px 2px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    isolation: isolate;
    overflow: hidden;
  }

  .nav-language__option,
  nav#navbar .nav-language__option {
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 30px;
    padding: 0 10px;
    border: 0;
    border-radius: 9999px;
    background: transparent !important;
    color: #64748b;
    font-family: var(--font-primary, 'DM Sans', sans-serif);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: color 0.24s ease, transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .nav-language__option.is-active,
  nav#navbar .nav-language__option.is-active {
    color: #ffffff !important;
    background: transparent !important;
    text-shadow: 0 1px 2px rgba(10, 5, 40, 0.35);
    box-shadow: none !important;
  }

  .nav-language__option:not(.is-active):hover,
  nav#navbar .nav-language__option:not(.is-active):hover {
    color: #4361ee;
    background: transparent !important;
    transform: scale(1.08);
  }

  .nav-language__option:focus-visible,
  nav#navbar .nav-language__option:focus-visible {
    outline: 2px solid #6036fa;
    outline-offset: 2px;
  }

  nav#navbar .nav-actions .nav-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: clamp(132px, 10vw, 175px);
    min-height: clamp(40px, 3.5vw, 48px);
    padding: 0.6rem clamp(1.15rem, 1.4vw, 1.65rem);
    border-radius: 9999px;
    background: linear-gradient(135deg, #3a56e8 0%, #6036fa 45%, #7928ca 100%) !important;
    color: #ffffff !important;
    font-family: var(--font-primary, 'DM Sans', sans-serif);
    font-size: clamp(0.84rem, 0.9vw, 0.96rem);
    font-weight: 700 !important;
    letter-spacing: -0.01em;
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 
      0 4px 18px -2px rgba(96, 54, 250, 0.42),
      0 8px 24px -4px rgba(67, 97, 238, 0.28),
      inset 0 1px 1.5px rgba(255, 255, 255, 0.45),
      inset 0 -1.5px 2px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    white-space: nowrap;
    text-decoration: none;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.28s ease,
                filter 0.25s ease !important;
  }

  nav#navbar .nav-actions .nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 65%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.38),
      rgba(255, 255, 255, 0.65),
      transparent
    );
    transform: skewX(-24deg);
    transition: left 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    border-radius: inherit;
    z-index: 1;
  }

  nav#navbar .nav-actions .nav-cta:hover::before {
    left: 150%;
  }

  nav#navbar .nav-actions .nav-cta span {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(10, 5, 40, 0.3);
  }

  nav#navbar .nav-actions .nav-cta span::after {
    content: '→';
    display: inline-block;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 1.05em;
    line-height: 1;
    font-weight: 700;
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  nav#navbar .nav-actions .nav-cta:hover {
    transform: translateY(-2.5px) scale(1.02);
    box-shadow: 
      0 10px 28px -2px rgba(96, 54, 250, 0.55),
      0 0 24px rgba(67, 97, 238, 0.38),
      inset 0 1px 2px rgba(255, 255, 255, 0.6);
    filter: brightness(1.06);
  }

  nav#navbar .nav-actions .nav-cta:hover span::after {
    transform: translateX(4px);
  }

  nav#navbar .nav-actions .nav-cta:active {
    transform: translateY(0.5px) scale(0.97);
    box-shadow: 
      0 2px 10px rgba(96, 54, 250, 0.35),
      inset 0 1.5px 2px rgba(0, 0, 0, 0.25);
    filter: brightness(0.98);
  }
}

/* Compact scaling for 1024px - 1240px (common laptops & landscape tablets) */
@media (min-width: 1024px) and (max-width: 1240px) {
  nav#navbar {
    padding-inline: 0.85rem;
    gap: 0.65rem;
  }

  nav#navbar .logo-img {
    width: auto;
    max-width: 200px;
    height: 48px;
  }

  nav#navbar .nav-links {
    gap: 0.45rem;
  }

  nav#navbar .nav-links > li > a {
    font-size: 0.82rem;
    padding: 0.45rem 0.3rem;
  }

  nav#navbar .nav-language {
    box-sizing: border-box;
    height: 34px;
    padding: 2.5px;
    gap: 2px;
  }

  nav#navbar .nav-language__option {
    box-sizing: border-box;
    min-width: 34px;
    height: 28px;
    padding: 0 7px;
    font-size: 0.74rem;
  }

  nav#navbar .nav-actions .nav-cta {
    min-width: 120px;
    min-height: 40px;
    padding: 0.5rem 0.85rem;
    font-size: 0.82rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE TABLET & MOBILE NAVBAR (max-width: 1023px)
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1023px) {
  nav#navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem clamp(0.75rem, 3vw, 1.25rem);
    height: clamp(58px, 7vw, 68px);
    min-height: clamp(58px, 7vw, 68px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid #e5e7ef;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }

  nav#navbar .nav-links {
    display: none !important;
  }

  nav#navbar .nav-actions .nav-cta {
    display: none !important;
  }

  nav#navbar .hamburger {
    display: flex !important;
  }

  nav#navbar .logo {
    margin-left: 0;
    flex: 0 1 auto;
  }

  nav#navbar .logo-img {
    width: auto;
    max-width: clamp(165px, 48vw, 205px);
    height: clamp(42px, 6vw, 48px);
    object-fit: contain;
    object-position: left center;
  }

  nav#navbar .nav-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: clamp(0.35rem, 1.2vw, 0.65rem);
  }

  nav#navbar .nav-language {
    position: relative;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    height: 35px;
    padding: 2.5px;
    border: 1.5px solid rgba(67, 97, 238, 0.22);
    border-radius: 9999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 244, 253, 0.94) 100%);
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.05), 0 2px 8px -2px rgba(67, 97, 238, 0.1);
    isolation: isolate;
  }

  nav#navbar .nav-language::before {
    top: 2.5px;
    bottom: 2.5px;
    left: 2.5px;
    width: calc(50% - 2.5px);
  }

  nav#navbar .nav-language__option {
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
    height: 28px;
    padding: 0 8px;
    border: 0;
    border-radius: 9999px;
    background: transparent !important;
    color: #64748b;
    font-family: var(--font-primary, 'DM Sans', sans-serif);
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: color 0.2s ease;
  }

  nav#navbar .nav-language__option.is-active {
    color: #ffffff !important;
    background: transparent !important;
    text-shadow: 0 1px 2px rgba(10, 5, 40, 0.35);
    box-shadow: none !important;
  }

  nav#navbar .nav-language__option:not(.is-active):hover {
    color: #4361ee;
    background: transparent !important;
  }

  .nav-mobile-logo {
    width: auto;
    max-width: 185px;
    height: 46px;
    object-fit: contain;
    object-position: left center;
  }
}

@media (max-width: 640px) {
  nav#navbar {
    gap: 0.35rem;
    padding-inline: 0.75rem;
  }

  nav#navbar .logo-img {
    width: auto;
    max-width: clamp(155px, 50vw, 190px);
    height: clamp(40px, 8.5vw, 46px);
  }

  nav#navbar .nav-language {
    box-sizing: border-box;
    height: 33px;
    padding: 2px;
    gap: 2px;
    overflow: hidden;
  }

  nav#navbar .nav-language__option {
    box-sizing: border-box;
    min-width: 32px;
    height: 27px;
    padding: 0 7px;
    font-size: 0.72rem;
    line-height: 1;
  }
}

@media (max-width: 360px) {
  nav#navbar {
    padding-inline: 0.5rem;
  }

  nav#navbar .logo-img {
    width: auto;
    max-width: 150px;
    height: 38px;
  }

  nav#navbar .nav-actions {
    gap: 0.2rem;
  }

  nav#navbar .nav-language {
    box-sizing: border-box;
    height: 31px;
    padding: 2px;
    gap: 1.5px;
    overflow: hidden;
  }

  nav#navbar .nav-language__option {
    box-sizing: border-box;
    min-width: 29px;
    height: 25px;
    padding: 0 6px;
    font-size: 0.70rem;
    line-height: 1;
  }

  nav#navbar .hamburger {
    width: 36px;
    height: 36px;
  }
}


@keyframes nd-nav-arrive {
  from {
    opacity: 0;
    translate: 0 8px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  nav#navbar .logo,
  nav#navbar .nav-links > li,
  nav#navbar .nav-actions {
    animation: none !important;
  }

  nav#navbar .logo,
  nav#navbar .logo-img,
  nav#navbar .nav-links > li > a,
  nav#navbar .nav-links > li > a::before,
  nav#navbar .nav-actions .nav-cta {
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   FARYTA STUDIO - OFFICIAL BRAND UPGRADE STYLING
   ========================================================================== */
.service-card--faryta {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.96) 0%, rgba(15, 23, 42, 0.98) 100%) !important;
  border: 1.5px solid rgba(212, 175, 55, 0.55) !important;
  box-shadow: 0 10px 32px rgba(212, 175, 55, 0.12) !important;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.service-card--faryta:hover {
  transform: translateY(-6px) !important;
  border-color: #f5d678 !important;
  box-shadow: 0 14px 40px rgba(212, 175, 55, 0.28) !important;
}

.service-card__icon.service-card__icon--faryta {
  width: auto !important;
  min-width: 140px !important;
  max-width: 175px !important;
  height: 56px !important;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.2) 0%, rgba(11, 17, 32, 0.95) 75%) !important;
  border: 1px solid rgba(212, 175, 55, 0.45) !important;
  border-radius: 12px !important;
  padding: 6px 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
  margin-bottom: 1.25rem !important;
}

.service-card__icon--faryta .faryta-portfolio-icon {
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.4));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.service-card--faryta:hover .service-card__icon--faryta .faryta-portfolio-icon {
  transform: scale(1.06);
  filter: drop-shadow(0 4px 14px rgba(212, 175, 55, 0.65));
}

.service-card--faryta .service-card__title {
  color: #d4af37 !important;
  font-family: 'Space Grotesk', Georgia, serif !important;
}

.service-card--faryta .service-card__desc {
  color: rgba(245, 230, 196, 0.85) !important;
}

.service-card--faryta .faryta-btn-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  background: linear-gradient(135deg, #d4af37, #f5d678) !important;
  color: #0b1120 !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  padding: 0.5rem 1.1rem !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3) !important;
}

.service-card--faryta .faryta-btn-link:hover {
  background: linear-gradient(135deg, #f5d678, #ffe9a0) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.5) !important;
  color: #000 !important;
}

/* Faryta Testimonial Avatar styling across index & tentang-kami */
.author-avatar.author-avatar--faryta,
.testimonial-card__avatar.testimonial-card__avatar--faryta {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle at center, #2d2415 0%, #0b1120 100%) !important;
  border: 1.5px solid #d4af37 !important;
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.35) !important;
  overflow: hidden !important;
  padding: 4px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.author-avatar.author-avatar--faryta img,
.testimonial-card__avatar.testimonial-card__avatar--faryta img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 1px 4px rgba(212, 175, 55, 0.5));
}

/* ==========================================================================
   3D CURVED COVERFLOW ARC CAROUSEL (Image 2 Style & Aesthetics)
   ========================================================================== */
.portfolio-section-3d {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4.25rem;
  transition: background-color 0.8s ease;
}

.portfolio-section-3d::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1440px;
  height: 200px;
  background: radial-gradient(ellipse 70% 100% at 50% 0%, rgba(0, 180, 216, 0.08), transparent 75%);
  pointer-events: none;
}

.portfolio-3d-stage-wrapper {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 2.75rem auto 0;
  padding: 3.75rem 1rem 3.25rem;
  background: 
    radial-gradient(circle 650px at 50% -12%, rgba(0, 229, 255, 0.22) 0%, transparent 65%),
    radial-gradient(circle 520px at 88% 88%, rgba(155, 93, 229, 0.18) 0%, transparent 60%),
    radial-gradient(circle 520px at 12% 85%, rgba(67, 97, 238, 0.16) 0%, transparent 60%),
    linear-gradient(170deg, #0b1120 0%, #070a12 55%, #04060a 100%);
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 
    0 30px 85px -15px rgba(5, 8, 18, 0.55),
    0 0 50px -10px rgba(0, 180, 216, 0.18),
    inset 0 1px 1px rgba(255, 255, 255, 0.25),
    inset 0 -1px 1px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  text-align: center;
  isolation: isolate;
}

.portfolio-3d-stage-wrapper::before {
  content: '';
  position: absolute;
  top: -28%;
  left: 50%;
  transform: translateX(-50%);
  width: 850px;
  max-width: 120%;
  height: 480px;
  background: radial-gradient(ellipse 70% 50% at 50% 30%, rgba(0, 229, 255, 0.26) 0%, rgba(155, 93, 229, 0.16) 45%, transparent 75%);
  pointer-events: none;
  filter: blur(55px);
  z-index: 1;
  animation: portfolioStageAuraPulse 10s ease-in-out infinite alternate;
}

@keyframes portfolioStageAuraPulse {
  0% {
    opacity: 0.7;
    transform: translateX(-50%) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) scale(1.05);
  }
}

.portfolio-3d-stage-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: center center;
  mask-image: radial-gradient(ellipse 85% 70% at 50% 50%, #000 25%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 50%, #000 25%, transparent 80%);
  pointer-events: none;
  z-index: 1;
}

.portfolio-3d-stage {
  position: relative;
  width: 100%;
  height: 480px;
  perspective: 1200px;
  perspective-origin: 50% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  cursor: grab;
}

.portfolio-3d-stage.is-dragging {
  cursor: grabbing;
}

.portfolio-3d-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
}

/* 3D Arc Card */
.portfolio-3d-card {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -205px;
  margin-left: -145px;
  width: 290px;
  height: 410px;
  border-radius: 24px;
  overflow: hidden;
  background: #0d121f;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transform-origin: center center;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1),
              opacity 0.65s cubic-bezier(0.25, 1, 0.5, 1),
              box-shadow 0.65s cubic-bezier(0.25, 1, 0.5, 1),
              border-color 0.35s ease;
  will-change: transform, opacity;
  display: flex;
  flex-direction: column;
}

.portfolio-3d-card:hover {
  border-color: rgba(255, 255, 255, 0.55);
}

.portfolio-3d-card.is-active {
  border-color: rgba(255, 255, 255, 0.75);
  box-shadow: 0 32px 65px rgba(0, 0, 0, 0.55), 0 0 30px rgba(255, 255, 255, 0.25);
}

.portfolio-3d-card .card-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #111;
}

.portfolio-3d-card .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.portfolio-3d-card:hover .card-media img {
  transform: scale(1.08);
}

/* Faryta Studio Card in 3D Stage */
.portfolio-3d-card--faryta .card-media--faryta {
  background: radial-gradient(circle at 50% 35%, #2a2012 0%, #120e06 60%, #060502 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem 7rem;
}

.portfolio-3d-card--faryta .faryta-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(212, 175, 55, 0.15) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.6;
}

.portfolio-3d-card--faryta .faryta-3d-logo {
  position: relative;
  z-index: 2;
  width: 84%;
  max-width: 220px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 20px rgba(212, 175, 55, 0.45));
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.portfolio-3d-card--faryta:hover .faryta-3d-logo {
  transform: scale(1.1) translateY(-4px);
  filter: drop-shadow(0 10px 28px rgba(212, 175, 55, 0.8));
}

/* Card Text Overlay */
.portfolio-3d-card .card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 1.4rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 0, 0, 0.94) 100%);
  z-index: 3;
  color: #fff;
  pointer-events: none;
}

.portfolio-3d-card .card-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  margin-bottom: 0.5rem;
}

.portfolio-3d-card .card-tag--gold {
  background: rgba(212, 175, 55, 0.25);
  border-color: rgba(212, 175, 55, 0.55);
  color: #f7df87;
}

.portfolio-3d-card .card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.35rem 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  line-height: 1.2;
}

.portfolio-3d-card .card-title--gold {
  color: #f7df87;
  text-shadow: 0 2px 10px rgba(212, 175, 55, 0.4);
}

.portfolio-3d-card .card-desc {
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 0.85rem 0;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.portfolio-3d-card .card-action {
  pointer-events: auto;
}

.portfolio-3d-card .action-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  text-decoration: none;
  transition: all 0.25s ease;
}

.portfolio-3d-card .action-pill:hover {
  background: #ffffff;
  color: #005cf6;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.45);
}

.portfolio-3d-card .action-pill--gold {
  background: linear-gradient(135deg, #d4af37, #f5d678);
  color: #0c101a;
  border-color: #ffe9a0;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
}

.portfolio-3d-card .action-pill--gold:hover {
  background: #ffffff;
  color: #b38600;
  border-color: #ffffff;
}

/* ==========================================================================
   STAGE CONTROLS (Arrows & Indicator Dots - Cyber Glass Style)
   ========================================================================== */
.portfolio-stage-controls {
  position: relative;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin-top: 1.85rem;
  padding: 0.45rem 1.15rem;
  border-radius: 100px;
  background: rgba(11, 17, 32, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 20px rgba(0, 180, 216, 0.18);
}

.stage-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.stage-nav-btn:hover {
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.35), rgba(155, 93, 229, 0.35));
  border-color: rgba(0, 229, 255, 0.65);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.45);
}

.stage-nav-btn:active {
  transform: scale(0.94);
}

.stage-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stage-dot {
  width: 8px !important;
  height: 8px !important;
  min-height: 8px !important;
  max-height: 8px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.3) !important;
  border: none !important;
  cursor: pointer;
  padding: 0 !important;
  margin: 0 !important;
  outline: none;
  flex: 0 0 auto !important;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.stage-dot:hover {
  background: rgba(255, 255, 255, 0.75) !important;
  transform: scale(1.25);
}

.stage-dot.is-active {
  width: 24px !important;
  height: 8px !important;
  min-height: 8px !important;
  max-height: 8px !important;
  border-radius: 100px !important;
  background: linear-gradient(90deg, #00e5ff, #9b5de5) !important;
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.9) !important;
}

/* ==========================================================================
   ULTRA-CREATIVE & MODERN BENTO CARD GRID (.services-grid, .service-card)
   Elevated interactive cards with ambient light beam, 3D hover lift, 
   frosted status badges, and interactive floating action indicator
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)) !important;
  gap: clamp(1.5rem, 2.5vw, 2.25rem) !important;
  width: 100%;
  margin-top: 1.75rem;
}

.services-grid .service-card {
  position: relative;
  background: #ffffff;
  border: 1.5px solid rgba(226, 232, 240, 0.85);
  border-radius: 26px;
  padding: 1.6rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px -10px rgba(12, 17, 29, 0.06), 0 2px 6px rgba(12, 17, 29, 0.02);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease;
  will-change: transform, box-shadow;
  isolation: isolate;
}

/* Ambient glowing light beam at the top edge of each card */
.services-grid .service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #00b4d8 0%, #4361ee 50%, #9b5de5 100%);
  opacity: 0.7;
  transform-origin: left center;
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
  z-index: 5;
}

.services-grid .service-card:hover {
  transform: translateY(-10px) scale(1.012);
  box-shadow: 0 28px 65px -12px rgba(67, 97, 238, 0.2), 0 0 0 1.5px rgba(99, 102, 241, 0.32);
  border-color: rgba(99, 102, 241, 0.35);
}

.services-grid .service-card:hover::before {
  opacity: 1;
  box-shadow: 0 0 16px rgba(67, 97, 238, 0.75);
}

/* Thumbnail media frame */
.service-card__thumb {
  width: 100%;
  height: 210px;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 1.35rem;
  position: relative;
  background: #0c111d;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.25);
}

.service-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s ease;
}

.service-card:hover .service-card__thumb img {
  transform: scale(1.09);
  filter: brightness(1.04);
}

/* Frosted glass category badge */
.service-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(12, 17, 29, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00f3ff;
  box-shadow: 0 0 8px #00f3ff;
  animation: nd-dot-pulse 2s infinite ease-in-out;
}

@keyframes nd-dot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.65; }
}

/* Floating interactive action indicator in bottom right corner of thumb */
.service-card__action-indicator {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0c111d;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transform: translateY(12px) scale(0.8);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s ease,
              background 0.3s ease,
              color 0.3s ease;
  z-index: 3;
}

.service-card:hover .service-card__action-indicator {
  transform: translateY(0) scale(1);
  opacity: 1;
  background: linear-gradient(135deg, #4361ee 0%, #6036fa 100%);
  color: #ffffff;
}

.service-card__action-indicator svg {
  transition: transform 0.25s ease;
}

.service-card:hover .service-card__action-indicator svg {
  transform: translate(2px, -2px);
}

/* Card Body & Typography */
.service-card__title,
.service-card h3 {
  font-family: 'Space Grotesk', var(--font-display, sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: #0C111D;
  margin-bottom: 0.65rem;
  letter-spacing: -0.015em;
  line-height: 1.35;
  transition: color 0.25s ease;
}

.service-card:hover .service-card__title,
.service-card:hover h3 {
  color: #4361ee;
}

.service-card__desc,
.service-card p {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1 1 auto;
}

/* Tags Container & Creative Pills */
.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
}

.service-tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem;
  background: rgba(67, 97, 238, 0.06) !important;
  border: 1px solid rgba(67, 97, 238, 0.18) !important;
  color: #4361ee !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  padding: 0.3rem 0.8rem !important;
  border-radius: 999px !important;
  letter-spacing: 0.02em;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.service-card:hover .service-tag {
  background: rgba(67, 97, 238, 0.12) !important;
  border-color: rgba(67, 97, 238, 0.32) !important;
  transform: translateY(-1px);
}

/* Faryta Studio VIP Card Upgrade */
.service-card--faryta {
  background: linear-gradient(145deg, #101426 0%, #090c18 100%) !important;
  border: 1.5px solid rgba(212, 175, 55, 0.45) !important;
  box-shadow: 0 12px 35px rgba(212, 175, 55, 0.12) !important;
}

.service-card--faryta::before {
  background: linear-gradient(90deg, #d4af37 0%, #f5d678 50%, #ffe9a0 100%) !important;
  opacity: 0.85 !important;
}

.service-card--faryta:hover {
  transform: translateY(-10px) scale(1.012) !important;
  border-color: #f5d678 !important;
  box-shadow: 0 28px 65px -12px rgba(212, 175, 55, 0.35), 0 0 0 1.5px rgba(212, 175, 55, 0.5) !important;
}

.service-card__thumb--faryta {
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.15) 0%, #060912 85%) !important;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.service-card__thumb--faryta .faryta-thumb-media {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.service-card__thumb--faryta .faryta-portfolio-icon {
  max-height: 64px;
  max-width: 75%;
  object-fit: contain;
  filter: drop-shadow(0 4px 18px rgba(212, 175, 55, 0.55));
  transition: transform 0.45s ease, filter 0.45s ease;
}

.service-card--faryta:hover .faryta-portfolio-icon {
  transform: scale(1.08);
  filter: drop-shadow(0 6px 26px rgba(212, 175, 55, 0.8));
}

.service-card__badge--gold {
  background: rgba(16, 20, 38, 0.85) !important;
  border-color: rgba(212, 175, 55, 0.5) !important;
  color: #f5d678 !important;
}

.badge-dot--gold {
  background: #f5d678 !important;
  box-shadow: 0 0 10px #f5d678 !important;
}

.service-card__action-indicator--gold {
  color: #060912 !important;
}

.service-card--faryta:hover .service-card__action-indicator--gold {
  background: linear-gradient(135deg, #d4af37, #f5d678) !important;
  color: #060912 !important;
}

.service-card--faryta .service-card__title {
  color: #d4af37 !important;
}

.service-card--faryta:hover .service-card__title {
  color: #f5d678 !important;
}

.service-card--faryta .service-card__desc {
  color: rgba(245, 230, 196, 0.85) !important;
}

.service-tag--gold {
  background: rgba(212, 175, 55, 0.12) !important;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
  color: #f5d678 !important;
}

.service-card--faryta:hover .service-tag--gold {
  background: rgba(212, 175, 55, 0.22) !important;
  border-color: rgba(212, 175, 55, 0.55) !important;
}

/* Responsive 3D Stage */
@media (max-width: 1024px) {
  .portfolio-3d-stage {
    height: 440px;
  }
  .portfolio-3d-card {
    width: 270px;
    height: 380px;
    margin-top: -190px;
    margin-left: -135px;
  }
}

@media (max-width: 768px) {
  .portfolio-3d-stage-wrapper {
    border-radius: 26px;
    padding: 2.75rem 0.6rem 2.25rem;
    margin-top: 1.75rem;
  }
  .portfolio-3d-stage {
    height: 390px;
  }
  .portfolio-3d-card {
    width: 240px;
    height: 340px;
    margin-top: -170px;
    margin-left: -120px;
    border-radius: 20px;
  }
  .portfolio-3d-card .card-title {
    font-size: 1.1rem;
  }
  .portfolio-3d-card .card-desc {
    font-size: 0.75rem;
    line-clamp: 2;
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 480px) {
  .portfolio-3d-stage {
    height: 370px;
  }
  .portfolio-3d-card {
    width: 220px;
    height: 320px;
    margin-top: -160px;
    margin-left: -110px;
  }
  .stage-nav-btn {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 360px) {
  .portfolio-3d-stage {
    height: 330px;
  }
  .portfolio-3d-card {
    width: 200px;
    height: 295px;
    margin-top: -148px;
    margin-left: -100px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   GLOBAL FOOTER - BULLETPROOF RESPONSIVE SYSTEM
   Ensures copyright & links never get clipped on any screen size / language
   ═══════════════════════════════════════════════════════════════ */
body footer,
footer {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  background: var(--surface, #0d1117);
  border-top: 1px solid var(--border, rgba(255, 255, 255, 0.08));
  padding: 2.75rem clamp(1.25rem, 5vw, 4rem) 2.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 1.5rem !important;
  overflow: hidden !important;
  position: relative !important;
  z-index: 10 !important;
}

body footer p,
footer p {
  margin: 0 !important;
  color: var(--muted, #8b949e);
  font-size: 0.88rem !important;
  line-height: 1.6 !important;
  text-align: left;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

body footer p a,
footer p a {
  color: inherit !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: color 0.2s ease !important;
}

body footer p a:hover,
footer p a:hover {
  color: var(--accent, #00e5ff) !important;
}

body footer .footer-links,
footer .footer-links {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 0.75rem 1.75rem !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

body footer .footer-links a,
footer .footer-links a {
  color: var(--muted, #8b949e) !important;
  text-decoration: none !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
  padding: 0.35rem 0.5rem !important;
  border-radius: 6px !important;
  transition: color 0.2s ease, background-color 0.2s ease !important;
}

body footer .footer-links a:hover,
footer .footer-links a:hover {
  color: var(--accent, #00e5ff) !important;
}

body footer .footer-links a[style*="display:none"],
footer .footer-links a[style*="display:none"],
body footer .footer-links a[hidden],
footer .footer-links a[hidden] {
  display: none !important;
}

/* Tablet and Mobile (<= 860px) */
@media (max-width: 860px) {
  body footer,
  footer {
    flex-direction: column !important;
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 2.25rem 1.25rem 2.25rem !important;
    gap: 1.25rem !important;
  }

  body footer p,
  footer p {
    text-align: center !important;
    font-size: 0.82rem !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 0.5rem !important;
    box-sizing: border-box !important;
  }

  body footer .footer-links,
  footer .footer-links {
    justify-content: center !important;
    align-items: center !important;
    gap: 0.6rem 0.85rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body footer .footer-links a,
  footer .footer-links a {
    font-size: 0.82rem !important;
    padding: 0.4rem 0.85rem !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 9999px !important; /* Modern interactive pill chip */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  }

  body footer .footer-links a:hover,
  body footer .footer-links a:active,
  footer .footer-links a:hover,
  footer .footer-links a:active {
    background: rgba(67, 97, 238, 0.14) !important;
    border-color: rgba(67, 97, 238, 0.35) !important;
    color: #00e5ff !important;
  }
}

/* Small Mobile (<= 420px) */
@media (max-width: 420px) {
  body footer,
  footer {
    padding: 1.85rem 0.85rem 2rem !important;
    gap: 1rem !important;
  }

  body footer p,
  footer p {
    font-size: 0.78rem !important;
    line-height: 1.5 !important;
    padding: 0 !important;
  }

  body footer .footer-links,
  footer .footer-links {
    gap: 0.5rem 0.6rem !important;
  }

  body footer .footer-links a,
  footer .footer-links a {
    font-size: 0.76rem !important;
    padding: 0.32rem 0.65rem !important;
  }
}

/* Extra Small (<= 340px) */
@media (max-width: 340px) {
  body footer .footer-links a,
  footer .footer-links a {
    font-size: 0.72rem !important;
    padding: 0.28rem 0.5rem !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   ULTRA-PREMIUM 3D CONTACT CARDS (Match Image 2)
   ═══════════════════════════════════════════════════════════════ */
.contact-3d-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2.75rem;
  perspective: 1200px;
}

.contact-3d-card {
  position: relative;
  background: #ffffff;
  border-radius: 36px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 16px 40px -12px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(0, 0, 0, 0.02);
  padding: 1.85rem 1.85rem 2.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.3s ease;
  transform-style: preserve-3d;
}

.contact-3d-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 32px 64px -16px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

/* Ambient Top Light Beam & Halo */
.contact-3d-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 250px;
  pointer-events: none;
  border-radius: 36px 36px 0 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.contact-3d-card--wa::before {
  background: radial-gradient(ellipse 90% 70% at 50% -10%, rgba(37, 211, 102, 0.18), transparent 75%);
}

.contact-3d-card--email::before {
  background: radial-gradient(ellipse 90% 70% at 50% -10%, rgba(0, 180, 216, 0.20), transparent 75%);
}

.contact-3d-card--call::before {
  background: radial-gradient(ellipse 90% 70% at 50% -10%, rgba(124, 58, 237, 0.16), transparent 75%);
}

.contact-3d-card:hover.contact-3d-card--wa {
  border-color: rgba(37, 211, 102, 0.45);
}
.contact-3d-card:hover.contact-3d-card--email {
  border-color: rgba(0, 180, 216, 0.45);
}
.contact-3d-card:hover.contact-3d-card--call {
  border-color: rgba(124, 58, 237, 0.45);
}

/* 1. Pill Badge */
.contact-3d-card__badge {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  backdrop-filter: blur(8px);
}

.contact-3d-card__badge--wa {
  background: rgba(236, 253, 245, 0.95);
  border: 1px solid rgba(167, 243, 208, 0.9);
  color: #047857;
}

.contact-3d-card__badge--email {
  background: rgba(240, 249, 255, 0.95);
  border: 1px solid rgba(186, 230, 253, 0.9);
  color: #0369a1;
}

.contact-3d-card__badge--purple {
  background: rgba(245, 243, 255, 0.95);
  border: 1px solid rgba(221, 214, 254, 0.9);
  color: #6d28d9;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  animation: pulseDot 2s ease-in-out infinite;
}

.badge-dot--green {
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
}

.badge-dot--blue {
  background: #0284c7;
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.8);
}

.badge-dot--purple {
  background: #7c3aed;
  box-shadow: 0 0 8px rgba(124, 58, 237, 0.8);
}

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

/* 2. 3D Visual Hero Area */
.contact-3d-card__visual {
  position: relative;
  z-index: 1;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.5rem 0 1.25rem;
}

.contact-3d-card__img {
  max-height: 100%;
  width: auto;
  max-width: 90%;
  object-fit: contain;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 56%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 50%, black 56%, transparent 72%);
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.08));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  user-select: none;
}

@keyframes contactFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-9px) rotate(0.8deg);
  }
}

.contact-3d-card--wa .contact-3d-card__img {
  animation: contactFloat 5.5s ease-in-out infinite;
}

.contact-3d-card--email .contact-3d-card__img {
  animation: contactFloat 5.5s ease-in-out 0.9s infinite;
}

.contact-3d-card--call .contact-3d-card__img {
  animation: contactFloat 5.5s ease-in-out 1.8s infinite;
}

.contact-3d-card:hover .contact-3d-card__img {
  transform: scale(1.07) translateY(-6px);
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.12));
}

/* 3. Card Content */
.contact-3d-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.contact-3d-card__title {
  font-family: 'Space Grotesk', var(--font-primary), sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.accent-wa {
  background: linear-gradient(135deg, #05c46b, #009432);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.accent-call {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-3d-card__desc {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 1.35rem;
  min-height: 44px;
}

/* 4. Info Box (Value + Copy Pill) */
.contact-3d-card__info-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
  position: relative;
  transition: all 0.25s ease;
  user-select: none;
}

.contact-3d-card__info-box:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.info-box__left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow: hidden;
}

.info-box__icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.info-box__icon--wa {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.25);
}

.info-box__icon--email {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

.info-box__icon--call {
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.25);
}

.info-box__val {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.info-box__copy-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 8px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
}

.info-box__copy-btn:hover {
  color: #0f172a;
  background: rgba(0, 0, 0, 0.05);
  transform: scale(1.1);
}

.copy-tooltip {
  position: absolute;
  top: -30px;
  right: 0;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.info-box__copy-btn:hover .copy-tooltip,
.info-box__copy-btn.copied .copy-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.info-box__copy-btn.copied {
  color: #10b981;
}

.info-box__chevron {
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, color 0.2s ease;
}

.contact-3d-card:hover .info-box__chevron {
  color: #7c3aed;
  transform: translateX(3px);
}

/* 5. Primary Action Button */
.contact-3d-card__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.75rem 0.65rem 1.4rem;
  border-radius: 9999px;
  text-decoration: none !important;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.contact-3d-card__btn--wa {
  background: linear-gradient(135deg, #05c46b 0%, #009432 100%);
  box-shadow: 0 10px 24px -5px rgba(5, 196, 107, 0.45);
}

.contact-3d-card__btn--wa:hover {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
  box-shadow: 0 16px 32px -4px rgba(5, 196, 107, 0.6);
  transform: translateY(-2px);
}

.contact-3d-card__btn--email {
  background: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
  box-shadow: 0 10px 24px -5px rgba(0, 180, 216, 0.45);
}

.contact-3d-card__btn--email:hover {
  background: linear-gradient(135deg, #0096c7 0%, #023e8a 100%);
  box-shadow: 0 16px 32px -4px rgba(0, 180, 216, 0.6);
  transform: translateY(-2px);
}

.contact-3d-card__btn--call {
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
  box-shadow: 0 10px 24px -5px rgba(124, 58, 237, 0.45);
}

.contact-3d-card__btn--call:hover {
  background: linear-gradient(135deg, #6d28d9 0%, #3730a3 100%);
  box-shadow: 0 16px 32px -4px rgba(124, 58, 237, 0.6);
  transform: translateY(-2px);
}

.btn-text-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.btn-arrow-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.contact-3d-card__btn--wa .btn-arrow-circle {
  color: #009432;
}

.contact-3d-card__btn--email .btn-arrow-circle {
  color: #0077b6;
}

.contact-3d-card__btn--call .btn-arrow-circle {
  color: #6d28d9;
}

.contact-3d-card__btn:hover .btn-arrow-circle {
  transform: translateX(4px) scale(1.06);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.2);
}

/* Shimmer Highlight on Button */
.contact-3d-card__btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.75s ease;
}

.contact-3d-card__btn:hover::after {
  left: 150%;
}

/* 6. Responsive Breakpoints */
@media (max-width: 1024px) {
  .contact-3d-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .contact-3d-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    gap: 1.75rem;
  }

  .contact-3d-card {
    padding: 1.6rem 1.4rem 1.85rem;
    border-radius: 28px;
  }

  .contact-3d-card__visual {
    height: 195px;
  }

  .contact-3d-card__title {
    font-size: 1.65rem;
  }
}

@media (max-width: 360px) {
  .contact-3d-card {
    padding: 1.25rem 1rem 1.5rem;
  }

  .contact-3d-card__title {
    font-size: 1.5rem;
  }

  .info-box__val {
    font-size: 0.82rem;
  }

  .contact-3d-card__btn {
    font-size: 0.88rem;
    padding-left: 1rem;
  }
}

/* ==========================================================================
   SERVICES SHOWCASE 3-CARD SYSTEM (Exact Replica & Evolution of Image 2)
   Card 1: Website (Light, Floating Laptop Preview, Blue Accent, Chevrons)
   Card 2: Aplikasi (Dark Obsidian Featured, Floating Smartphone, Aura Glow, Gradient CTA)
   Card 3: Servis PC & Laptop (Light, Floating Hardware Repair Preview, Chevrons)
   ========================================================================== */
.services-showcase-section {
  position: relative;
  padding: clamp(4.5rem, 7vw, 7.5rem) 0 clamp(4rem, 6vw, 6.5rem);
  background: transparent;
  overflow: hidden;
}

.services-showcase-section .text-center {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-showcase-section .section-label {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 1.1rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.22);
  color: #2563eb;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  font-family: var(--font-display);
}

.services-showcase-section .section-title {
  font-size: clamp(2rem, 3.5vw, 3.1rem) !important;
  font-weight: 800 !important;
  color: #0f172a;
  margin: 0 0 0.85rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.services-showcase-section .section-desc {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.6;
  color: #64748b;
  margin: 0;
  max-width: 580px;
}

.services-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2vw, 2.25rem);
  max-width: 1360px;
  margin: 3.5rem auto 0;
  padding: 0 clamp(1rem, 2.5vw, 2rem);
  align-items: stretch;
}

/* Base Card Structure */
.service-hero-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 32px;
  padding: clamp(1.75rem, 2.5vw, 2.35rem) clamp(1.4rem, 2vw, 1.95rem);
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease;
  will-change: transform, box-shadow;
  isolation: isolate;
}

/* Light Variant (Cards 1 & 3) */
.service-hero-card--light {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 55%, #f3f6fc 100%);
  border: 1.5px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.06),
              0 25px 45px -20px rgba(15, 23, 42, 0.05);
}

.service-hero-card--light:hover {
  transform: translateY(-8px) scale(1.008);
  box-shadow: 0 26px 60px -15px rgba(37, 99, 235, 0.16),
              0 0 0 1.5px rgba(37, 99, 235, 0.28);
  border-color: rgba(37, 99, 235, 0.38);
}

/* Dark Obsidian Centerpiece Variant (Card 2) */
.service-hero-card--dark {
  background: linear-gradient(172deg, #070d1e 0%, #0d1629 45%, #050813 100%);
  border: 1.5px solid rgba(59, 130, 246, 0.32);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.6),
              0 0 35px -5px rgba(59, 130, 246, 0.22);
  animation: featuredAuraPulse 6s ease-in-out infinite alternate;
}

.service-hero-card--dark:hover {
  transform: translateY(-10px) scale(1.015);
  border-color: rgba(96, 165, 250, 0.7);
  box-shadow: 0 30px 65px -15px rgba(0, 0, 0, 0.75),
              0 0 55px 5px rgba(59, 130, 246, 0.42);
}

@keyframes featuredAuraPulse {
  0% {
    box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.6),
                0 0 28px -5px rgba(59, 130, 246, 0.22);
  }
  100% {
    box-shadow: 0 28px 55px -12px rgba(0, 0, 0, 0.65),
                0 0 52px 3px rgba(139, 92, 246, 0.35);
  }
}

/* Card Light Sweep Sheen on Hover */
.service-hero-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.08) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.85s ease;
  pointer-events: none;
  z-index: 10;
}

.service-hero-card:hover::after {
  transform: translateX(100%);
}

/* Ambient Corner Orbs */
.card-ambient-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(45px);
  z-index: 1;
}

.card-ambient-orb--bl {
  bottom: -40px;
  left: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, transparent 70%);
}

.card-ambient-orb--br {
  bottom: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.16) 0%, transparent 70%);
}

.card-ambient-orb--violet {
  top: -30px;
  right: -30px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.28) 0%, transparent 70%);
}

.card-ambient-orb--cyan {
  bottom: -50px;
  left: -50px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.24) 0%, transparent 70%);
}

/* Header Area */
.service-hero-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.service-hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding-top: 0.35rem;
}

.service-hero-meta .meta-number {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.06em;
}

.service-hero-meta .meta-divider {
  display: inline-block;
  width: 32px;
  height: 1.5px;
  background: #94a3b8;
  border-radius: 2px;
}

.service-hero-meta .meta-category {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-hero-meta--dark .meta-number {
  color: #94a3b8;
}

.service-hero-meta--dark .meta-divider {
  background: rgba(148, 163, 184, 0.45);
}

.service-hero-meta--dark .meta-category {
  color: #cbd5e1;
}

/* Floating Showcase Media Frame */
.service-hero-media {
  width: 145px;
  height: 105px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.16),
              0 0 0 1px rgba(255, 255, 255, 0.85);
  flex-shrink: 0;
  transform: translateZ(0);
  animation: serviceMediaFloat 4.5s ease-in-out infinite;
}

.service-hero-card:nth-child(2) .service-hero-media {
  animation-delay: -1.5s;
}

.service-hero-card:nth-child(3) .service-hero-media {
  animation-delay: -3s;
}

.service-hero-media--glow {
  box-shadow: 0 14px 32px -6px rgba(0, 0, 0, 0.55),
              0 0 0 1px rgba(255, 255, 255, 0.15),
              0 0 24px rgba(56, 189, 248, 0.3);
}

.service-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-hero-card:hover .service-hero-media img {
  transform: scale(1.08) rotate(1.5deg);
}

@keyframes serviceMediaFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Card Body (Title & Description) */
.service-hero-body {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.service-hero-title {
  font-size: clamp(1.75rem, 2vw, 2.2rem) !important;
  font-weight: 800 !important;
  line-height: 1.18 !important;
  margin: 0 0 0.85rem !important;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.service-hero-title.text-white {
  color: #ffffff !important;
}

.service-title-accent.text-accent-blue {
  color: #2563eb;
}

.service-title-accent.text-accent-gradient {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 45%, #e879f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.service-hero-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
  min-height: 4.5em;
}

.service-hero-desc.text-muted-light {
  color: #94a3b8;
}

/* Interactive Feature Rows */
.service-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 2;
  flex-grow: 1;
}

.service-feature-row {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 0.85rem 1.05rem;
  border-radius: 18px;
  text-decoration: none;
  background: rgba(248, 250, 252, 0.85);
  border: 1.5px solid rgba(226, 232, 240, 0.85);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.service-feature-row:hover {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.45);
  transform: translateX(6px);
  box-shadow: 0 8px 22px -4px rgba(37, 99, 235, 0.12),
              0 2px 6px -1px rgba(0, 0, 0, 0.04);
}

.service-feature-row--dark {
  background: rgba(255, 255, 255, 0.035);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.service-feature-row--dark:hover {
  background: rgba(59, 130, 246, 0.14);
  border-color: rgba(56, 189, 248, 0.45);
  transform: translateX(6px);
  box-shadow: 0 8px 25px -4px rgba(56, 189, 248, 0.22);
}

/* Feature Icon Box */
.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.feature-icon-box--blue {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid rgba(191, 219, 254, 0.8);
}

.service-feature-row:hover .feature-icon-box--blue {
  background: #2563eb;
  color: #ffffff;
  transform: scale(1.08) rotate(-2deg);
}

.feature-icon-box--cyan-dark {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.service-feature-row--dark:hover .feature-icon-box--cyan-dark {
  background: #38bdf8;
  color: #030712;
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.45);
}

/* Feature Typography */
.feature-info {
  flex-grow: 1;
  min-width: 0;
}

.feature-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.2rem;
  transition: color 0.2s ease;
}

.feature-name.text-white {
  color: #ffffff;
}

.feature-caption {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feature-caption.text-muted-light {
  color: #94a3b8;
}

/* Feature Chevron */
.feature-chevron {
  flex-shrink: 0;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, color 0.25s ease;
}

.service-feature-row:hover .feature-chevron {
  color: #2563eb;
  transform: translateX(4px);
}

.service-feature-row--dark:hover .feature-chevron {
  color: #38bdf8;
  transform: translateX(4px);
}

/* Footer & Buttons */
.service-hero-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.15rem;
  padding-top: 1.35rem;
  border-top: 1.5px solid rgba(226, 232, 240, 0.7);
  position: relative;
  z-index: 2;
  margin-top: auto;
}

.service-hero-card--dark .service-hero-footer {
  border-top-color: rgba(255, 255, 255, 0.09);
}

/* Vertical Divider between Button and Note (matching Image 2) */
.service-footer-divider {
  display: block;
  width: 1.5px;
  height: 28px;
  background: rgba(203, 213, 225, 0.75);
  flex-shrink: 0;
  border-radius: 2px;
}

.service-hero-card--dark .service-footer-divider {
  background: rgba(255, 255, 255, 0.12);
}

/* Light Card Buttons (Cards 1 & 3: Luminous Ice-Blue Pill, Deep Navy Text, Obsidian Badge) */
.service-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.58rem 0.65rem 0.58rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  background: #f4f8fc;
  color: #122856;
  border: 1.5px solid rgba(199, 218, 246, 0.85);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.service-hero-btn .btn-arrow-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #071329;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}

.service-hero-btn:hover {
  background: #ffffff;
  color: #0f172a;
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 10px 24px -4px rgba(37, 99, 235, 0.16);
}

.service-hero-btn:hover .btn-arrow-badge {
  background: #2563eb;
  color: #ffffff;
  transform: translateX(3px);
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.45);
}

/* Dark Featured Button (Card 2: Electric Indigo-Sky Gradient, Obsidian Navy Badge) */
.service-hero-btn--glow {
  background: linear-gradient(90deg, #5b53fd 0%, #527cfd 50%, #599efd 100%);
  color: #ffffff;
  border: 1.5px solid rgba(165, 200, 255, 0.4);
  box-shadow: 0 10px 26px -4px rgba(91, 83, 253, 0.5), 0 0 20px rgba(89, 158, 253, 0.3);
}

.service-hero-btn--glow .btn-arrow-badge--dark {
  background: #081328;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.service-hero-btn--glow:hover {
  background: linear-gradient(90deg, #6860ff 0%, #5d88fd 50%, #6bb2fd 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -4px rgba(91, 83, 253, 0.7), 0 0 28px rgba(89, 158, 253, 0.5);
  border-color: rgba(219, 234, 254, 0.85);
}

.service-hero-btn--glow:hover .btn-arrow-badge--dark {
  background: #040a17;
  color: #60a5fa;
  transform: translateX(3px);
  box-shadow: 0 0 12px rgba(89, 158, 253, 0.55);
}

.service-hero-note {
  font-size: 0.82rem;
  line-height: 1.4;
  color: #64748b;
  margin: 0;
  max-width: 165px;
  text-align: left;
}

.service-hero-note.text-muted-light {
  color: #94a3b8;
}

/* Responsive Media Queries */
@media (max-width: 1120px) {
  .services-showcase-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
    gap: 2rem;
  }

  .service-hero-desc {
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .service-hero-card {
    padding: 1.5rem 1.25rem 1.75rem;
    border-radius: 26px;
  }

  .service-hero-header {
    gap: 0.5rem;
  }

  .service-hero-media {
    width: 115px;
    height: 85px;
    border-radius: 14px;
  }

  .service-hero-title {
    font-size: 1.65rem !important;
  }

  .service-feature-row {
    padding: 0.75rem 0.85rem;
    gap: 0.75rem;
  }

  .feature-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .feature-name {
    font-size: 0.92rem;
  }

  .feature-caption {
    font-size: 0.75rem;
  }

  .service-hero-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .service-hero-btn {
    width: 100%;
    justify-content: space-between;
  }

  .service-footer-divider {
    display: none;
  }

  .service-hero-note {
    max-width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════
   MODERN CYBER AI CHATBOT & MASCOT COMPONENT
   ═══════════════════════════════════════════════════════════════ */

/* Floating Mascot Button in Tools Overlay */
.tool-btn.tool-btn--mascot {
  background: linear-gradient(135deg, rgba(58, 86, 232, 0.45), rgba(124, 58, 237, 0.45));
  border: 1px solid rgba(129, 140, 248, 0.5);
  box-shadow: 0 4px 15px rgba(58, 86, 232, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: visible;
  padding: 0;
}

.tool-btn.tool-btn--mascot:hover {
  background: linear-gradient(135deg, rgba(58, 86, 232, 0.75), rgba(124, 58, 237, 0.75));
  border-color: #38bdf8;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.6), 0 0 15px rgba(124, 58, 237, 0.5);
  transform: scale(1.12);
}

.mascot-avatar-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-mascot-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
  animation: mascotBreathe 3.5s ease-in-out infinite;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.tool-btn.tool-btn--mascot:hover .tool-mascot-img {
  transform: scale(1.15) rotate(6deg);
}

@keyframes mascotBreathe {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-2.5px) scale(1.05);
  }
}

.mascot-status-pulse {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 9px;
  height: 9px;
  background: #10b981;
  border: 1.5px solid #0f172a;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: mascotPulseRing 2s infinite;
}

@keyframes mascotPulseRing {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.8);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Chatbot Dialog Container */
#chatPopup.nexus-chat-popup {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 395px;
  max-width: calc(100vw - 32px);
  height: 600px;
  max-height: calc(100vh - 100px);
  background: rgba(11, 15, 28, 0.94);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 22px;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.65), 0 0 35px rgba(99, 102, 241, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  display: none;
  flex-direction: column;
  z-index: 9999;
  overflow: hidden;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1), transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

#chatPopup.nexus-chat-popup.open {
  display: flex !important;
  opacity: 1 !important;
  transform: translateY(0) scale(1);
}

#chatPopup.open.is-dragging,
#chatPopup.open.is-resizing,
#chatPopup.open[style*="top"] {
  transform: none !important;
}

/* Chat Header */
.nexus-chat-popup .chat-header {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(99, 102, 241, 0.9) 55%, rgba(124, 58, 237, 0.9) 100%);
  padding: 0.95rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.chat-header-main {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex: 1;
  min-width: 0;
}

.chat-avatar-wrap {
  position: relative;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-avatar-glow {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.6), transparent 70%);
  filter: blur(4px);
}

.chat-avatar-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 1;
}

.chat-online-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: #10b981;
  border: 2px solid #0f172a;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 6px #10b981;
}

.chat-header-meta,
.help-header-meta {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
  overflow: hidden !important;
}

.chat-name-row,
.help-name-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.chat-bot-name,
.help-title-text {
  font-size: 0.94rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: -0.01em !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.chat-tag-pill,
.help-tag-pill {
  font-size: 0.62rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  background: rgba(56, 189, 248, 0.18) !important;
  color: #38bdf8 !important;
  padding: 2px 7px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(56, 189, 248, 0.45) !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1.2 !important;
  margin-left: 0 !important;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.2) !important;
}

.chat-subtitle,
.help-subtitle {
  font-size: 0.72rem !important;
  color: rgba(255, 255, 255, 0.85) !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  min-width: 0 !important;
}

.chat-subtitle-text,
.help-subtitle-text {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  min-width: 0 !important;
}

.chat-sub-mobile,
.help-sub-mobile {
  display: none !important;
}

.chat-live-point,
.help-live-point {
  width: 6px !important;
  height: 6px !important;
  background: #34d399 !important;
  border-radius: 50% !important;
  box-shadow: 0 0 6px #34d399 !important;
  flex-shrink: 0 !important;
}

.chat-header-ctrls,
.window-ctrl-group {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-left: auto !important;
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  position: relative !important;
  z-index: 10 !important;
}

.chat-ctrl-btn,
.help-ctrl-btn,
.window-reset-btn,
.window-maximize-btn,
.help-close-btn,
.chat-close-btn {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  flex: 0 0 28px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #cbd5e1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  line-height: 1 !important;
  font-size: 0 !important;
  outline: none !important;
}

.chat-ctrl-btn svg,
.help-ctrl-btn svg,
.window-reset-btn svg,
.window-maximize-btn svg,
.help-close-btn svg,
.chat-close-btn svg {
  display: block !important;
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0 !important;
  pointer-events: none !important;
}

.chat-ctrl-btn:hover,
.help-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  color: #ffffff !important;
  transform: translateY(-1px) scale(1.06) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
}

.chat-help-switch-btn:hover {
  background: rgba(56, 189, 248, 0.25) !important;
  border-color: rgba(56, 189, 248, 0.6) !important;
  color: #38bdf8 !important;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.4) !important;
}

.chat-clear-history-btn:hover {
  background: rgba(245, 158, 11, 0.25) !important;
  border-color: rgba(245, 158, 11, 0.6) !important;
  color: #fbbf24 !important;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.35) !important;
}

.window-reset-btn:hover {
  background: rgba(168, 85, 247, 0.25) !important;
  border-color: rgba(168, 85, 247, 0.6) !important;
  color: #c084fc !important;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.35) !important;
}

.window-maximize-btn:hover {
  background: rgba(16, 185, 129, 0.25) !important;
  border-color: rgba(16, 185, 129, 0.6) !important;
  color: #34d399 !important;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.35) !important;
}

.chat-close-btn:hover,
.help-close-btn:hover {
  background: rgba(239, 68, 68, 0.3) !important;
  border-color: rgba(239, 68, 68, 0.7) !important;
  color: #f87171 !important;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.4) !important;
}

/* Notice Ribbon */
.chat-notice-ribbon {
  background: rgba(30, 41, 59, 0.7);
  border-bottom: 1px solid rgba(99, 102, 241, 0.18);
  padding: 0.4rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.73rem;
  color: #cbd5e1;
}

.ribbon-icon {
  font-size: 0.82rem;
  color: #facc15;
}

.ribbon-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Chat Body (Messages) */
.nexus-chat-popup .chat-body {
  flex: 1;
  padding: 1.1rem 1rem;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.08), transparent 60%);
  scroll-behavior: smooth;
}

/* Custom Scrollbar for Chat Body */
.nexus-chat-popup .chat-body::-webkit-scrollbar {
  width: 5px;
}
.nexus-chat-popup .chat-body::-webkit-scrollbar-track {
  background: transparent;
}
.nexus-chat-popup .chat-body::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.3);
  border-radius: 10px;
}
.nexus-chat-popup .chat-body::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.5);
}

/* Message Rows */
.chat-row {
  display: flex;
  gap: 0.6rem;
  width: 100%;
  animation: chatBubbleIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.chat-row.bot-row {
  align-items: flex-start;
  justify-content: flex-start;
}

.chat-row.user-row {
  align-items: flex-end;
  justify-content: flex-end;
}

.chat-bot-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(124, 58, 237, 0.3));
  border: 1px solid rgba(99, 102, 241, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.chat-bot-avatar img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

/* Message Bubbles */
.chat-bubble {
  max-width: 86%;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  line-height: 1.55;
  word-break: break-word;
  position: relative;
}

.bot-bubble {
  background: rgba(22, 27, 46, 0.85);
  border: 1px solid rgba(99, 102, 241, 0.22);
  border-radius: 4px 18px 18px 18px;
  color: #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.bot-bubble strong {
  color: #ffffff;
}

.user-bubble {
  background: linear-gradient(135deg, #3a56e8 0%, #6036fa 60%, #7928ca 100%);
  color: #ffffff;
  border-radius: 18px 18px 4px 18px;
  box-shadow: 0 4px 15px rgba(58, 86, 232, 0.35);
  font-weight: 500;
}

/* Feature Lists inside Bot Message */
.chat-feature-list {
  margin: 0.5rem 0 0.5rem 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  list-style: none;
}

.chat-feature-list li {
  position: relative;
  font-size: 0.82rem;
  line-height: 1.45;
}

/* Cards inside Bot Message */
.chat-info-card {
  background: rgba(13, 17, 32, 0.7);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 12px;
  padding: 0.75rem;
  margin: 0.65rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.chat-info-card .card-item {
  font-size: 0.81rem;
  line-height: 1.45;
  color: #cbd5e1;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.chat-info-card .card-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.chat-info-card .card-item strong {
  color: #67e8f9;
}

/* Action Buttons inside Bubble */
.chat-inline-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.chat-btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.65rem 1.1rem;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.chat-btn-wa:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
  transform: translateY(-2px);
  color: #ffffff;
}

.chat-btn-wa svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.chat-btn-sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #e0e7ff;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.5rem 0.9rem;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.chat-btn-sub:hover {
  background: rgba(99, 102, 241, 0.3);
  border-color: #818cf8;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Typing Indicator Animation */
.typing-bubble {
  background: rgba(22, 27, 46, 0.85);
  border: 1px solid rgba(99, 102, 241, 0.22);
  border-radius: 4px 16px 16px 16px;
  padding: 0.75rem 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.typing-dot {
  width: 7px;
  height: 7px;
  background: #818cf8;
  border-radius: 50%;
  animation: typingWave 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) {
  animation-delay: -0.32s;
}
.typing-dot:nth-child(2) {
  animation-delay: -0.16s;
}
.typing-dot:nth-child(3) {
  animation-delay: 0s;
}

@keyframes typingWave {
  0%, 80%, 100% {
    transform: scale(0.6);
    opacity: 0.4;
  }
  40% {
    transform: scale(1.1);
    opacity: 1;
    background: #38bdf8;
  }
}

/* Quick Reply Chips Tray */
.chat-options-tray {
  padding: 0.65rem 1rem 0.6rem !important;
  background: rgba(15, 20, 36, 0.95) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
  max-width: 960px !important;
  margin: 0 auto !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.tray-label {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: #94a3b8 !important;
}

.nexus-chat-popup .chat-options,
#chatOptions {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)) !important;
  gap: 0.55rem !important;
  max-height: 140px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding: 4px 2px !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(99, 102, 241, 0.4) transparent !important;
}

.nexus-chat-popup .chat-options::-webkit-scrollbar,
#chatOptions::-webkit-scrollbar {
  width: 4px;
}

.nexus-chat-popup .chat-options::-webkit-scrollbar-track,
#chatOptions::-webkit-scrollbar-track {
  background: transparent;
}

.nexus-chat-popup .chat-options::-webkit-scrollbar-thumb,
#chatOptions::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.4);
  border-radius: 10px;
}

.nexus-chat-popup .chat-opt-chip {
  background: rgba(99, 102, 241, 0.12) !important;
  border: 1px solid rgba(99, 102, 241, 0.35) !important;
  border-radius: 12px !important;
  padding: 0.55rem 0.8rem !important;
  min-height: 42px !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  color: #e0e7ff !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  white-space: normal !important;
  word-break: break-word !important;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  user-select: none !important;
  box-sizing: border-box !important;
}

.nexus-chat-popup .chat-opt-chip:hover {
  background: linear-gradient(135deg, rgba(58, 86, 232, 0.35), rgba(124, 58, 237, 0.35)) !important;
  border-color: #818cf8 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35) !important;
}

.nexus-chat-popup .chat-opt-chip:active {
  transform: translateY(0) scale(0.97) !important;
}

/* Chat Footer Form */
.nexus-chat-popup .chat-footer {
  padding: 0.65rem 0.95rem 0.75rem;
  background: rgba(11, 15, 28, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.chat-input-wrapper {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  padding: 0.25rem 0.35rem 0.25rem 0.95rem;
  transition: all 0.25s ease;
}

.chat-input-wrapper:focus-within {
  background: rgba(255, 255, 255, 0.08);
  border-color: #6366f1;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

.nexus-chat-popup #chatInput {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 0.83rem;
  font-family: inherit;
  padding: 0.4rem 0;
}

.nexus-chat-popup #chatInput::placeholder {
  color: #64748b;
  font-size: 0.8rem;
}

.nexus-chat-popup .chat-send-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3a56e8 0%, #6036fa 60%, #7928ca 100%);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 8px rgba(58, 86, 232, 0.4);
}

.nexus-chat-popup .chat-send-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.6);
}

.nexus-chat-popup .chat-send-btn:active {
  transform: scale(0.95);
}

.chat-legal-note {
  font-size: 0.67rem;
  color: #64748b;
  text-align: center;
  letter-spacing: -0.01em;
}

/* Responsiveness for Chatbot */
@media (max-width: 768px) {
  #chatPopup.nexus-chat-popup {
    width: 370px;
    right: 16px;
    bottom: 75px;
    height: 540px;
  }

  body.chat-active .nexus-floating-chat-trigger {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: scale(0.6) !important;
  }
}

@media (max-width: 480px) {
  #chatPopup.nexus-chat-popup {
    left: 10px !important;
    right: 10px !important;
    width: calc(100vw - 20px) !important;
    max-width: 100vw !important;
    bottom: 10px !important;
    height: calc(100dvh - 20px) !important;
    max-height: 580px !important;
    border-radius: 20px !important;
  }

  .chat-header-main {
    gap: 0.55rem;
  }

  .chat-bot-name {
    font-size: 0.88rem;
  }

  .chat-tag-pill {
    font-size: 0.6rem;
    padding: 0.1rem 0.4rem;
  }

  .nexus-chat-popup .chat-bubble {
    max-width: 90%;
    font-size: 0.82rem;
  }

  .nexus-chat-popup .chat-opt-chip {
    font-size: 0.74rem;
    padding: 0.38rem 0.75rem;
  }
}

@media (max-width: 360px) {
  #chatPopup.nexus-chat-popup {
    left: 6px !important;
    right: 6px !important;
    width: calc(100vw - 12px) !important;
    bottom: 6px !important;
    height: calc(100dvh - 12px) !important;
    border-radius: 16px !important;
  }

  .chat-bot-name {
    font-size: 0.84rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   FLOATING MASCOT CHAT TRIGGER (ALWAYS ACCESSIBLE)
   ═══════════════════════════════════════════════════════════════ */
.nexus-floating-chat-trigger {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb 0%, #6366f1 50%, #9333ea 100%);
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(99, 102, 241, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  cursor: pointer;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  user-select: none;
}

.nexus-floating-chat-trigger:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.55), 0 0 35px rgba(56, 189, 248, 0.8);
}

.nexus-floating-chat-trigger:active {
  transform: scale(0.95);
}

body.chat-active .nexus-floating-chat-trigger {
  opacity: 0.55;
  transform: scale(0.88);
}

body.chat-active .nexus-floating-chat-trigger:hover {
  opacity: 1;
  transform: scale(1);
}

.mascot-trigger-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mascot-trigger-glow {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.6), transparent 70%);
  filter: blur(6px);
  animation: pulse 2.5s infinite;
}

.mascot-trigger-robot {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
  animation: mascotBreathe 3s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

.mascot-trigger-ping {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background: #10b981;
  border: 2px solid #0f172a;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 10px #10b981;
  animation: mascotPulseRing 2s infinite;
}

/* Speech hint bubble next to mascot */
.mascot-speech-bubble {
  position: absolute;
  right: calc(100% + 14px);
  background: rgba(15, 23, 42, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(99, 102, 241, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 15px rgba(99, 102, 241, 0.25);
  border-radius: 12px;
  padding: 0.55rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mascot-speech-bubble::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent rgba(15, 23, 42, 0.94);
}

.nexus-floating-chat-trigger:hover .mascot-speech-bubble {
  opacity: 1;
  transform: translateX(0);
}

/* When chat is open */
body.chat-active .mascot-speech-bubble,
body.help-active .mascot-speech-bubble {
  opacity: 0 !important;
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   PERFECT NON-COLLIDING FORMATION: BACK-TO-TOP & FLOATING MASCOT
   ═══════════════════════════════════════════════════════════════ */
.scroll-up#backToTop,
.scroll-up {
  position: fixed !important;
  bottom: 102px !important;
  right: 34px !important;
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #2563eb 0%, #6366f1 100%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45) !important;
  z-index: 9980 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.scroll-up#backToTop:hover {
  transform: translateY(-4px) scale(1.08) !important;
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.6) !important;
}

/* Floating Mascot Button Position (Desktop Centerline aligned with scroll-up) */
.nexus-floating-chat-trigger {
  position: fixed !important;
  bottom: 26px !important;
  right: 26px !important;
  width: 62px !important;
  height: 62px !important;
  z-index: 9985 !important;
}

/* When chat or help popup is active, gracefully hide both background floating triggers */
body.chat-active .scroll-up#backToTop,
body.help-active .scroll-up#backToTop,
body.chat-active .nexus-floating-chat-trigger,
body.help-active .nexus-floating-chat-trigger {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: scale(0.6) translateY(20px) !important;
  visibility: hidden !important;
}

/* Tablet & Mobile Clean Vertical Rail (Zero Overlaps, Exact Centerline) */
@media (max-width: 768px) {
  .scroll-up#backToTop,
  .scroll-up {
    bottom: 90px !important;
    right: 26px !important;
    width: 44px !important;
    height: 44px !important;
    z-index: 9980 !important;
  }

  .nexus-floating-chat-trigger {
    bottom: 20px !important;
    right: 20px !important;
    width: 56px !important;
    height: 56px !important;
    z-index: 9985 !important;
  }

  .mascot-trigger-robot {
    width: 38px !important;
    height: 38px !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   UNIFIED LEFT TOOLS DOCK (#toolsOverlay) & BOOKMARK TAB HANDLE
   Anchored strictly to left edge on Desktop, Tablet, and Mobile.
   Zero Bottom-Right Overlaps / Zero Collision across all viewports.
   ═══════════════════════════════════════════════════════════════ */
#toolsOverlay.tools-overlay,
.tools-overlay {
  position: fixed !important;
  left: 0 !important;
  right: auto !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) translateX(-100%) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  padding: 12px 8px !important;
  background: linear-gradient(135deg, rgba(13, 17, 34, 0.96) 0%, rgba(24, 20, 60, 0.96) 100%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(190%) !important;
  backdrop-filter: blur(24px) saturate(190%) !important;
  border: 1px solid rgba(99, 102, 241, 0.35) !important;
  border-left: none !important;
  border-radius: 0 16px 16px 0 !important;
  box-shadow: 4px 0 25px rgba(0, 0, 0, 0.45), 0 0 18px rgba(99, 102, 241, 0.15) !important;
  z-index: 9970 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease !important;
}

#toolsOverlay.tools-overlay.visible,
.tools-overlay.visible {
  transform: translateY(-50%) translateX(0) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

#toolsOverlay.tools-overlay.collapsed,
.tools-overlay.collapsed {
  transform: translateY(-50%) translateX(-100%) !important;
  opacity: 1 !important;
}

.tools-overlay .fab-actions {
  position: static !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  align-items: center !important;
  pointer-events: auto !important;
}

.tools-overlay .tool-btn {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  opacity: 1 !important;
  transform: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: auto !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.tools-overlay .tool-btn:hover {
  background: rgba(99, 102, 241, 0.25) !important;
  border-color: rgba(99, 102, 241, 0.5) !important;
  transform: scale(1.08) !important;
}

/* ══ TOOLTIP WITH PERFECT CLEARANCE FROM SLIDING HANDLE ("teks tidak tertutup") ══ */
.tools-overlay .tool-tooltip,
.tool-tooltip {
  position: absolute !important;
  left: calc(100% + 54px) !important;
  top: 50% !important;
  transform: translateY(-50%) translateX(-6px) !important;
  background: linear-gradient(135deg, rgba(13, 17, 34, 0.98) 0%, rgba(24, 20, 60, 0.98) 100%) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(56, 189, 248, 0.5) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.65), 0 0 16px rgba(56, 189, 248, 0.25) !important;
  color: #38bdf8 !important;
  padding: 6px 14px !important;
  border-radius: 8px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  pointer-events: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s ease !important;
  white-space: nowrap !important;
  z-index: 10005 !important;
  line-height: 1.3 !important;
}

.tools-overlay .tool-btn:hover .tool-tooltip,
.tool-btn:hover .tool-tooltip {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(-50%) translateX(0) !important;
}

.tools-overlay .tool-tooltip::before,
.tool-tooltip::before {
  content: '' !important;
  position: absolute !important;
  top: 50% !important;
  left: -5px !important;
  transform: translateY(-50%) rotate(45deg) !important;
  width: 8px !important;
  height: 8px !important;
  background: rgba(13, 17, 34, 0.98) !important;
  border-left: 1px solid rgba(56, 189, 248, 0.5) !important;
  border-bottom: 1px solid rgba(56, 189, 248, 0.5) !important;
  border-top: none !important;
  border-right: none !important;
}

@media (max-width: 768px) {
  .tools-overlay .tool-tooltip,
  .tool-tooltip {
    left: calc(100% + 42px) !important;
    font-size: 0.72rem !important;
    padding: 5px 10px !important;
  }
}

/* ══ COMPACT CREATIVE SLIDING DOCK TRIGGER (Hugs Screen Edge) ══ */
#toolsOverlay .fab-trigger,
.fab-trigger {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: absolute !important;
  top: 50% !important;
  left: 100% !important;
  right: auto !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  width: 28px !important;
  height: 44px !important;
  padding: 0 !important;
  background: linear-gradient(135deg, rgba(13, 17, 34, 0.96) 0%, rgba(30, 27, 75, 0.96) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.5) !important;
  border-left: none !important;
  border-radius: 0 12px 12px 0 !important;
  color: #38bdf8 !important;
  cursor: pointer !important;
  box-shadow: 4px 0 16px rgba(0, 0, 0, 0.4), 0 0 12px rgba(56, 189, 248, 0.25) !important;
  z-index: 9975 !important;
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease !important;
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent !important;
}

#toolsOverlay .fab-trigger:hover,
.fab-trigger:hover {
  width: 34px !important;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%) !important;
  border-color: rgba(56, 189, 248, 0.85) !important;
  color: #ffffff !important;
  box-shadow: 6px 0 24px rgba(56, 189, 248, 0.45), 0 0 16px rgba(99, 102, 241, 0.5) !important;
}

#toolsOverlay .fab-trigger:active,
.fab-trigger:active {
  transform: translateY(-50%) scale(0.92) !important;
}

#toolsOverlay .fab-trigger:focus-visible,
.fab-trigger:focus-visible {
  outline: 2px solid #38bdf8 !important;
  outline-offset: 2px !important;
}

.fab-trigger-inner {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
}

/* Sleding Icon with 180° rotation when open */
.fab-toggle-svg {
  width: 15px !important;
  height: 15px !important;
  stroke: #38bdf8 !important;
  fill: none !important;
  filter: drop-shadow(0 0 5px rgba(56, 189, 248, 0.6)) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.25s ease !important;
}

#toolsOverlay.visible .fab-trigger .fab-toggle-svg,
.fab-trigger[aria-expanded="true"] .fab-toggle-svg {
  transform: rotate(180deg) !important;
  stroke: #a5f3fc !important;
}

.fab-trigger-beacon {
  position: absolute !important;
  top: 4px !important;
  right: 4px !important;
  width: 5px !important;
  height: 5px !important;
  border-radius: 50% !important;
  background: #38bdf8 !important;
  box-shadow: 0 0 6px #38bdf8, 0 0 10px rgba(56, 189, 248, 0.8) !important;
  animation: fabBeaconPulse 2s infinite ease-in-out !important;
  pointer-events: none !important;
}

@keyframes fabBeaconPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

/* Mobile: super compact & non-intrusive */
@media (max-width: 768px) {
  #toolsOverlay .fab-trigger,
  .fab-trigger {
    width: 22px !important;
    height: 34px !important;
    min-height: 0 !important;
    max-height: 34px !important;
    border-radius: 0 9px 9px 0 !important;
  }

  #toolsOverlay .fab-trigger:hover,
  .fab-trigger:hover {
    width: 26px !important;
  }

  .fab-toggle-svg {
    width: 12px !important;
    height: 12px !important;
  }

  .fab-trigger-beacon {
    width: 4px !important;
    height: 4px !important;
    top: 3px !important;
    right: 3px !important;
  }
}

/* Hide dock when mobile menu is open */
body.menu-open #toolsOverlay {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   DRAGGABLE & RESIZABLE WINDOW WORKSPACE SYSTEM
   ═══════════════════════════════════════════════════════════════ */

/* Window Header Drag Handle */
.nexus-help-popup .help-header,
.nexus-chat-popup .chat-header {
  cursor: grab !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  touch-action: none !important;
}

.nexus-help-popup.is-dragging .help-header,
.nexus-chat-popup.is-dragging .chat-header {
  cursor: grabbing !important;
}

.nexus-help-popup.is-dragging,
.nexus-chat-popup.is-dragging {
  box-shadow: 0 35px 85px rgba(0, 0, 0, 0.8), 0 0 45px rgba(56, 189, 248, 0.45) !important;
  transition: box-shadow 0.2s ease, opacity 0.2s ease !important;
}

/* Window Drag Grip Bar (Cyber Pill) */
.window-drag-grip {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  z-index: 5;
  padding: 4px;
}

.window-drag-grip .drag-bar-pill {
  width: 100%;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.1);
  transition: all 0.25s ease;
}

.window-drag-grip:hover .drag-bar-pill,
.is-dragging .window-drag-grip .drag-bar-pill {
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
  height: 4px;
}

/* Window Header Controls Group */
.window-ctrl-group,
.chat-header-ctrls {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  position: relative !important;
  z-index: 10 !important;
}

/* Maximize / Restore Icon Toggling */
.window-maximize-btn .icon-restore {
  display: none !important;
}

.is-maximized .window-maximize-btn .icon-max {
  display: none !important;
}

.is-maximized .window-maximize-btn .icon-restore {
  display: block !important;
}

/* Maximized Window Mode (Desktop & Tablet) */
.nexus-help-popup.is-maximized,
.nexus-chat-popup.is-maximized {
  top: 14px !important;
  left: 14px !important;
  width: calc(100vw - 28px) !important;
  height: calc(100vh - 28px) !important;
  max-width: none !important;
  max-height: none !important;
  border-radius: 18px !important;
  transform: none !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(56, 189, 248, 0.25) !important;
}

/* Maximized Window Inner Container & Grids (Prevents Wide "Gepeng" Stretching) */
.nexus-help-popup.is-maximized .help-body,
.nexus-chat-popup.is-maximized .chat-body {
  max-width: 1060px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
  padding: 1.5rem 2rem !important;
}

.nexus-help-popup.is-maximized .help-section-intro {
  max-width: 1060px !important;
  margin: 0 auto 1.25rem auto !important;
  text-align: center !important;
}

.nexus-help-popup.is-maximized .help-section-intro h4 {
  font-size: 1.25rem !important;
}

.nexus-help-popup.is-maximized .help-section-intro p {
  font-size: 0.92rem !important;
}

.nexus-help-popup.is-maximized .estimator-option-cards {
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1.2rem !important;
  max-width: 1060px !important;
  margin: 0 auto 1.25rem auto !important;
}

.nexus-help-popup.is-maximized .estimator-card {
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 1.5rem 1rem !important;
  min-height: 140px !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
}

.nexus-help-popup.is-maximized .estimator-card .est-icon {
  font-size: 2.4rem !important;
  margin-bottom: 0.5rem !important;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3)) !important;
}

.nexus-help-popup.is-maximized .estimator-card .est-meta {
  align-items: center !important;
  text-align: center !important;
  gap: 0.35rem !important;
}

.nexus-help-popup.is-maximized .estimator-card .est-meta strong {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
}

.nexus-help-popup.is-maximized .estimator-card .est-meta span {
  font-size: 0.8rem !important;
  line-height: 1.4 !important;
}

.nexus-help-popup.is-maximized .estimator-result-panel {
  max-width: 1060px !important;
  margin: 0 auto !important;
  padding: 1.25rem 1.5rem !important;
  border-radius: 16px !important;
}

.nexus-help-popup.is-maximized .est-result-row {
  font-size: 0.92rem !important;
  padding: 0.35rem 0 !important;
}

.nexus-help-popup.is-maximized .est-submit-btn {
  max-width: 480px !important;
  margin: 0.75rem auto 0 auto !important;
  padding: 0.85rem 1.5rem !important;
  font-size: 0.92rem !important;
}

.nexus-help-popup.is-maximized .help-warranty-grid {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.2rem !important;
  max-width: 1060px !important;
  margin: 0 auto 1.5rem auto !important;
}

.nexus-help-popup.is-maximized .warranty-card {
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  padding: 1.5rem 1.2rem !important;
  min-height: 145px !important;
  border-radius: 16px !important;
}

.nexus-help-popup.is-maximized .warranty-badge-icon {
  font-size: 2.2rem !important;
  margin-bottom: 0.5rem !important;
}

.nexus-help-popup.is-maximized .help-price-summary {
  max-width: 1060px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0.85rem 1.5rem !important;
  padding: 1.25rem 1.5rem !important;
}

.nexus-help-popup.is-maximized .help-timeline {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 1.2rem !important;
  max-width: 1060px !important;
  margin: 0 auto !important;
}

.nexus-help-popup.is-maximized .timeline-step {
  padding: 1.2rem !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.nexus-help-popup.is-maximized .help-accordion {
  max-width: 900px !important;
  margin: 0 auto !important;
}

.nexus-chat-popup.is-maximized .chat-options-tray {
  max-width: 1040px !important;
  margin: 0 auto !important;
  width: 100% !important;
}

.nexus-chat-popup.is-maximized .chat-options {
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 0.85rem !important;
}

.nexus-chat-popup.is-maximized .chat-opt-chip {
  min-height: 52px !important;
  font-size: 0.85rem !important;
  padding: 0.75rem 1rem !important;
}

.nexus-chat-popup.is-maximized .chat-footer {
  max-width: 1040px !important;
  margin: 0 auto !important;
  width: 100% !important;
}

/* Corner Resize Handle */
.window-resize-grip {
  position: absolute !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 22px !important;
  height: 22px !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-end !important;
  padding: 3px !important;
  cursor: nwse-resize !important;
  z-index: 20 !important;
  color: rgba(56, 189, 248, 0.55) !important;
  touch-action: none !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}

.window-resize-grip:hover,
.is-resizing .window-resize-grip {
  color: #38bdf8 !important;
  transform: scale(1.2) !important;
  filter: drop-shadow(0 0 6px #38bdf8) !important;
}

/* Interactive Workspace Hint */
.window-interactive-hint {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  padding: 4px 10px !important;
  margin: 4px 12px 0 12px !important;
  background: rgba(56, 189, 248, 0.06) !important;
  border: 1px dashed rgba(56, 189, 248, 0.25) !important;
  border-radius: 8px !important;
  font-size: 10px !important;
  color: #94a3b8 !important;
  font-weight: 600 !important;
  text-align: center !important;
}

.window-interactive-hint .hint-dot {
  width: 5px !important;
  height: 5px !important;
  border-radius: 50% !important;
  background: #38bdf8 !important;
  box-shadow: 0 0 6px #38bdf8 !important;
}

/* ═══════════════════════════════════════════════════════════════
   DRAGGABLE & REORDERABLE GRID CARDS ("bisa digeser geser")
   ═══════════════════════════════════════════════════════════════ */
.estimator-card,
.chat-opt-chip,
.warranty-card {
  cursor: grab !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  touch-action: none !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.2s ease !important;
}

.estimator-card:hover,
.chat-opt-chip:hover,
.warranty-card:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 8px 20px rgba(56, 189, 248, 0.25) !important;
}

/* Card in Dragging State */
.estimator-card.is-card-dragging,
.chat-opt-chip.is-card-dragging,
.warranty-card.is-card-dragging {
  z-index: 999 !important;
  cursor: grabbing !important;
  opacity: 0.94 !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75), 0 0 24px rgba(56, 189, 248, 0.5) !important;
  border-color: #38bdf8 !important;
  pointer-events: none !important;
}

/* Placeholder where card will be dropped */
.card-drag-placeholder {
  border: 2px dashed rgba(56, 189, 248, 0.6) !important;
  border-radius: 14px !important;
  background: rgba(56, 189, 248, 0.08) !important;
  box-shadow: inset 0 0 14px rgba(56, 189, 248, 0.15) !important;
  min-height: 44px !important;
  animation: placeholderPulse 1.5s infinite ease-in-out !important;
}

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

/* Settle Spring Pop */
.card-settle-pop {
  animation: cardSpringSettle 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

@keyframes cardSpringSettle {
  0% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

/* Body Dragging Lock */
body.window-dragging-active,
body.window-resizing-active,
body.card-dragging-active {
  user-select: none !important;
  -webkit-user-select: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   TOOLS DOCK: ENHANCED BANTUAN BUTTON
   ═══════════════════════════════════════════════════════════════ */
.tool-btn--help {
  position: relative;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.28) 0%, rgba(124, 58, 237, 0.28) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.45) !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

.tool-btn--help:hover {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.55) 0%, rgba(124, 58, 237, 0.55) 100%) !important;
  border-color: rgba(56, 189, 248, 0.9) !important;
  box-shadow: 0 6px 22px rgba(56, 189, 248, 0.5), 0 0 16px rgba(99, 102, 241, 0.45) !important;
  transform: scale(1.12) !important;
}

.help-avatar-dock {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.tool-btn--help svg {
  color: #38bdf8 !important;
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.7));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.25s ease;
}

.tool-btn--help:hover svg {
  color: #ffffff !important;
  transform: rotate(15deg) scale(1.15) !important;
}

.help-dock-pulse {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #38bdf8;
  border: 1.5px solid #0f172a;
  box-shadow: 0 0 10px #38bdf8;
  animation: mascotPulseRing 2s infinite;
}

/* ═══════════════════════════════════════════════════════════════
   CYBER GLASSMORPHISM HELP & FAQ HUB (#helpPopup)
   ═══════════════════════════════════════════════════════════════ */
#helpPopup.nexus-help-popup,
#helpPopup {
  position: fixed;
  top: 50%;
  left: 76px;
  transform: translateY(-50%) scale(0.96);
  width: 420px;
  max-width: calc(100vw - 90px);
  height: 620px;
  max-height: calc(100vh - 80px);
  background: rgba(11, 15, 28, 0.95);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 22px;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.65), 0 0 35px rgba(99, 102, 241, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  display: none;
  flex-direction: column;
  z-index: 9999;
  overflow: hidden;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  opacity: 0;
  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1), transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

#helpPopup.nexus-help-popup.open,
#helpPopup.open {
  display: flex !important;
  opacity: 1 !important;
  transform: translateY(-50%) scale(1);
}

#helpPopup.open.is-dragging,
#helpPopup.open.is-resizing,
#helpPopup.open[style*="top"] {
  transform: none !important;
}

/* Header */
.nexus-help-popup .help-header {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(99, 102, 241, 0.9) 55%, rgba(124, 58, 237, 0.9) 100%);
  padding: 0.95rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.help-header-main {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex: 1;
  min-width: 0;
}

.help-avatar-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.help-avatar-glow {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.6), transparent 70%);
  filter: blur(4px);
}

.help-avatar-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.help-online-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: #10b981;
  border: 2px solid #0f172a;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 6px #10b981;
}

.help-live-point {
  width: 6px;
  height: 6px;
  background: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 6px #34d399;
}

.help-ctrl-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  flex-shrink: 0;
}

.help-ctrl-btn:hover {
  background: rgba(239, 68, 68, 0.85);
  border-color: rgba(239, 68, 68, 0.9);
  transform: rotate(90deg) scale(1.08);
}

/* Quick Notice Ribbon */
.help-notice-ribbon {
  background: rgba(245, 158, 11, 0.12);
  border-bottom: 1px solid rgba(245, 158, 11, 0.25);
  padding: 0.45rem 1rem;
  font-size: 0.74rem;
  color: #fde68a;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  line-height: 1.4;
}

/* Category Nav Tabs */
.help-nav-tabs {
  display: flex;
  gap: 0.35rem;
  padding: 0.6rem 0.9rem;
  background: rgba(15, 20, 36, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.help-tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.42rem 0.5rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  font-family: inherit;
}

.help-tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(99, 102, 241, 0.4);
}

.help-tab-btn.active {
  background: linear-gradient(135deg, rgba(58, 86, 232, 0.35), rgba(124, 58, 237, 0.35));
  border-color: #818cf8;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
}

/* Help Scrollable Body */
.nexus-help-popup .help-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(99, 102, 241, 0.3) transparent;
}

.nexus-help-popup .help-body::-webkit-scrollbar {
  width: 5px;
}
.nexus-help-popup .help-body::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.35);
  border-radius: 10px;
}

.help-tab-pane {
  display: none;
  animation: chatBubbleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.help-tab-pane.active {
  display: block;
}

.help-section-intro {
  margin-bottom: 0.9rem;
}

.help-section-intro h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.25rem 0;
}

.help-section-intro p {
  font-size: 0.78rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.45;
}

/* Timeline in Workflow Tab */
.help-timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  margin-left: 0.5rem;
}

.timeline-step {
  display: flex;
  gap: 0.85rem;
  position: relative;
  padding-bottom: 1.1rem;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.timeline-step::before {
  content: '';
  position: absolute;
  left: 13px;
  top: 28px;
  bottom: 0;
  width: 2px;
  background: rgba(99, 102, 241, 0.3);
}

.timeline-step:last-child::before {
  display: none;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.step-info {
  flex: 1;
}

.step-info strong {
  display: block;
  font-size: 0.84rem;
  color: #67e8f9;
  margin-bottom: 0.2rem;
}

.step-info p {
  font-size: 0.77rem;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.45;
}

/* Accordion in FAQ Tab */
.help-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.help-acc-item {
  background: rgba(22, 27, 46, 0.7);
  border: 1px solid rgba(99, 102, 241, 0.22);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.help-acc-item[open] {
  border-color: #6366f1;
  background: rgba(30, 41, 77, 0.75);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.help-acc-trigger {
  padding: 0.75rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #f1f5f9;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  list-style: none;
}

.help-acc-trigger::-webkit-details-marker {
  display: none;
}

.acc-chevron {
  font-size: 1.1rem;
  color: #818cf8;
  transition: transform 0.25s ease;
  line-height: 1;
}

.help-acc-item[open] .acc-chevron {
  transform: rotate(90deg);
  color: #38bdf8;
}

.help-acc-body {
  padding: 0 0.9rem 0.85rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #cbd5e1;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 0.2rem;
  padding-top: 0.5rem;
}

.help-acc-body strong {
  color: #38bdf8;
}

/* Warranty Grid & Price Summary */
.help-warranty-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)) !important;
  gap: 0.65rem !important;
  margin-bottom: 0.9rem !important;
}

.warranty-card {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.75rem !important;
  padding: 0.75rem 0.85rem !important;
  background: rgba(22, 27, 46, 0.7) !important;
  border: 1px solid rgba(99, 102, 241, 0.22) !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
  white-space: normal !important;
}

.warranty-badge-icon {
  font-size: 1.35rem !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
}

.warranty-meta {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.warranty-meta strong {
  display: block !important;
  font-size: 0.82rem !important;
  color: #f8fafc !important;
  margin-bottom: 0.2rem !important;
  white-space: normal !important;
  line-height: 1.3 !important;
  word-break: break-word !important;
}

.warranty-meta p {
  font-size: 0.74rem !important;
  color: #94a3b8 !important;
  margin: 0 !important;
  line-height: 1.4 !important;
  white-space: normal !important;
  word-break: break-word !important;
}

.help-price-summary {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.77rem;
  color: #cbd5e1;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.price-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.price-row strong {
  color: #38bdf8;
  font-weight: 700;
}

/* Help Footer */
.nexus-help-popup .help-footer {
  padding: 0.75rem 1rem;
  background: rgba(11, 15, 28, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.help-direct-actions {
  display: flex;
  gap: 0.5rem;
}

.help-action-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}

.help-action-btn--chat {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.4), rgba(99, 102, 241, 0.4));
  border: 1px solid rgba(99, 102, 241, 0.5);
  color: #ffffff;
}

.help-action-btn--chat:hover {
  background: linear-gradient(135deg, #2563eb, #6366f1);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.5);
}

.help-action-btn--wa {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.help-action-btn--wa:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.5);
  color: #ffffff;
}

.help-legal-note {
  font-size: 0.67rem;
  color: #64748b;
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE POPUPS & DYNAMIC MOBILE HEADERS (ZERO CLIPPED TEXT)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* On mobile and tablet, popups act as anchored bottom modal sheets.
     Window repositioning and maximize controls are disabled & hidden,
     reclaiming over 70px of critical header space so text is never covered. */
  .window-drag-grip,
  .window-reset-btn,
  .window-maximize-btn,
  .window-resize-br {
    display: none !important;
  }

  #helpPopup.nexus-help-popup,
  #helpPopup,
  #chatPopup.nexus-chat-popup,
  #chatPopup {
    left: 10px !important;
    right: 10px !important;
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    bottom: 10px !important;
    top: auto !important;
    height: calc(100dvh - 20px) !important;
    max-height: 590px !important;
    border-radius: 20px !important;
    transform: translateY(20px) scale(0.97) !important;
  }

  #helpPopup.nexus-help-popup.open,
  #helpPopup.open,
  #chatPopup.nexus-chat-popup.open,
  #chatPopup.open {
    transform: translateY(0) scale(1) !important;
  }

  .help-header,
  .nexus-chat-popup .chat-header {
    padding: 0.75rem 0.95rem !important;
  }

  .help-header-main,
  .chat-header-main {
    gap: 0.6rem !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  .help-avatar-wrap,
  .chat-avatar-wrap {
    width: 38px !important;
    height: 38px !important;
    flex-shrink: 0 !important;
  }

  .help-avatar-icon,
  .chat-avatar-img {
    width: 36px !important;
    height: 36px !important;
  }

  .help-header-meta,
  .chat-header-meta {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .help-name-row,
  .chat-name-row {
    gap: 6px !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .help-title-text,
  .chat-bot-name {
    font-size: 0.88rem !important;
    min-width: 0 !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }

  .help-tag-pill,
  .chat-tag-pill {
    font-size: 0.58rem !important;
    padding: 1.5px 6px !important;
    letter-spacing: 0.03em !important;
    flex-shrink: 0 !important;
  }

  .help-subtitle,
  .chat-subtitle {
    font-size: 0.68rem !important;
    min-width: 0 !important;
  }

  .chat-sub-desktop,
  .help-sub-desktop {
    display: none !important;
  }

  .chat-sub-mobile,
  .help-sub-mobile {
    display: inline !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .chat-header-ctrls,
  .window-ctrl-group {
    gap: 5px !important;
    flex-shrink: 0 !important;
  }

  .chat-ctrl-btn,
  .help-ctrl-btn,
  .help-close-btn,
  .chat-close-btn {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
  }
}

@media (max-width: 380px) {
  #helpPopup.nexus-help-popup,
  #helpPopup,
  #chatPopup.nexus-chat-popup,
  #chatPopup {
    left: 6px !important;
    right: 6px !important;
    width: calc(100vw - 12px) !important;
    max-width: calc(100vw - 12px) !important;
    bottom: 6px !important;
    height: calc(100dvh - 12px) !important;
    border-radius: 16px !important;
  }

  .help-header,
  .nexus-chat-popup .chat-header {
    padding: 0.65rem 0.75rem !important;
  }

  .help-header-main,
  .chat-header-main {
    gap: 0.45rem !important;
  }

  .help-avatar-wrap,
  .chat-avatar-wrap {
    width: 34px !important;
    height: 34px !important;
  }

  .help-avatar-icon,
  .chat-avatar-img {
    width: 32px !important;
    height: 32px !important;
  }

  .help-title-text,
  .chat-bot-name {
    font-size: 0.82rem !important;
  }

  .help-tag-pill,
  .chat-tag-pill {
    font-size: 0.52rem !important;
    padding: 1px 5px !important;
  }

  .help-subtitle,
  .chat-subtitle {
    font-size: 0.65rem !important;
  }

  .chat-header-ctrls,
  .window-ctrl-group {
    gap: 4px !important;
  }

  .chat-ctrl-btn,
  .help-ctrl-btn,
  .help-close-btn,
  .chat-close-btn {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
  }
}


/* Small Mobile Clean Vertical Rail (Zero Overlaps) */
@media (max-width: 480px) {
  .nexus-floating-chat-trigger {
    bottom: 18px !important;
    right: 18px !important;
    width: 52px !important;
    height: 52px !important;
    z-index: 9985 !important;
  }

  .mascot-trigger-robot {
    width: 36px !important;
    height: 36px !important;
  }

  /* Mascot center: 18 + 26 = 44px from right */
  /* Scroll-up width 42px -> right = 44 - 21 = 23px */
  /* Mascot top: 18 + 52 = 70px. 14px clean vertical gap -> bottom: 84px */
  .scroll-up#backToTop,
  .scroll-up {
    bottom: 84px !important;
    right: 23px !important;
    width: 42px !important;
    height: 42px !important;
    z-index: 9980 !important;
  }
}

/* Ensure left dock stays anchored when help popup is active on desktop */
@media (min-width: 769px) {
  body.help-active .tools-overlay {
    transform: translateY(-50%) translateX(0) !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   ESTIMATOR QUICK TAB & CHAT HEADER INTEGRATION
   ═══════════════════════════════════════════════════════════════ */
.help-estimator-box {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.9rem !important;
}

.estimator-option-cards {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)) !important;
  gap: 0.65rem !important;
}

.estimator-card {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  padding: 0.75rem 0.85rem !important;
  min-height: 64px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  text-align: left !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  color: #ffffff !important;
  white-space: normal !important;
  box-sizing: border-box !important;
}

.estimator-card:hover {
  background: rgba(99, 102, 241, 0.15) !important;
  border-color: rgba(99, 102, 241, 0.4) !important;
  transform: translateY(-2px) !important;
}

.estimator-card.active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25) 0%, rgba(99, 102, 241, 0.25) 100%) !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.est-icon {
  font-size: 1.45rem !important;
  flex-shrink: 0 !important;
}

.est-meta {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.2rem !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

.est-meta strong {
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  white-space: normal !important;
  line-height: 1.25 !important;
  word-break: break-word !important;
}

.est-meta span {
  font-size: 0.7rem !important;
  color: #94a3b8 !important;
  white-space: normal !important;
  line-height: 1.25 !important;
  word-break: break-word !important;
}

.estimator-card.active .est-meta span {
  color: #38bdf8 !important;
  font-weight: 600 !important;
}

/* Chat Options Dynamic Grid */
.chat-options {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)) !important;
  gap: 0.55rem !important;
}

.chat-opt-chip {
  min-height: 44px !important;
  padding: 0.55rem 0.85rem !important;
  font-size: 0.78rem !important;
  white-space: normal !important;
  line-height: 1.3 !important;
  text-align: center !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 12px !important;
  border: 1px solid rgba(99, 102, 241, 0.28) !important;
  background: rgba(30, 41, 59, 0.6) !important;
  color: #e2e8f0 !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
}

.chat-opt-chip:hover {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.25) 0%, rgba(99, 102, 241, 0.25) 100%) !important;
  border-color: #38bdf8 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.3) !important;
}

/* Auto single column when popup width is very compact (< 380px) */
@media (max-width: 400px) {
  .estimator-option-cards {
    grid-template-columns: 1fr !important;
    gap: 0.55rem !important;
  }
  .estimator-card {
    min-height: 58px !important;
    padding: 0.65rem 0.85rem !important;
  }
}

.estimator-result-panel {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.est-result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #cbd5e1;
}

.est-result-row strong {
  color: #ffffff;
  font-weight: 700;
}

.est-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.est-tag--time {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.est-tag--price {
  background: rgba(56, 189, 248, 0.18);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.est-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.65rem 1rem;
  background: linear-gradient(135deg, #2563eb 0%, #6366f1 100%);
  color: #ffffff !important;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
  transition: all 0.25s ease;
}

.est-submit-btn:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #4f46e5 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.55);
}

/* Chat Header switch to help button */
.chat-help-switch-btn {
  color: #94a3b8;
  transition: all 0.2s ease;
}

.chat-help-switch-btn:hover {
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.15) !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
}

/* ═══════════════════════════════════════════════════════════════
   TECH ECOSYSTEM SHOWCASE (3D INTERACTIVE CARDS & SMART DOCK)
   ═══════════════════════════════════════════════════════════════ */
.tech-ecosystem-section {
  position: relative;
  padding: 5.5rem 0 6.5rem 0;
  background: #f8fafc;
  overflow: hidden;
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.tech-ecosystem-ambient-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: 
    radial-gradient(circle at 12% 18%, rgba(56, 189, 248, 0.12), transparent 40%),
    radial-gradient(circle at 88% 65%, rgba(99, 102, 241, 0.12), transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(37, 99, 235, 0.08), transparent 40%),
    radial-gradient(#cbd5e1 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 32px 32px;
  opacity: 0.75;
}

.tech-ecosystem-container {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 4.2rem;
}

/* Section Header */
.tech-ecosystem-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  margin-bottom: 3.25rem;
  position: relative;
}

.tech-header-title-col {
  flex: 0 0 auto;
  max-width: 520px;
}

.tech-kicker-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.85rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.22);
  color: #2563eb;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}

.tech-main-headline {
  font-family: var(--font-primary, 'DM Sans', sans-serif);
  font-size: clamp(2.1rem, 3.4vw, 2.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0;
}

.headline-primary {
  display: block;
  color: #0f172a;
}

.headline-gradient {
  display: block;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 45%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tech-header-divider-col {
  flex: 0 0 1px;
  height: 72px;
  background: linear-gradient(180deg, transparent, #cbd5e1 30%, #cbd5e1 70%, transparent);
  opacity: 0.8;
}

.tech-header-desc-col {
  flex: 1 1 360px;
  max-width: 460px;
}

.tech-main-description {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #475569;
  margin: 0;
  font-weight: 450;
}

.tech-header-doodle-col {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  position: relative;
}

.tech-doodle-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  position: relative;
}

.tech-doodle-text {
  font-family: 'Space Grotesk', -apple-system, sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  color: #2563eb;
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-align: right;
  white-space: nowrap;
}

.tech-doodle-arrow {
  width: 90px;
  height: 48px;
  color: #3b82f6;
  filter: drop-shadow(0 2px 6px rgba(59, 130, 246, 0.25));
  animation: doodleBounce 3s ease-in-out infinite alternate;
}

@keyframes doodleBounce {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(5px) rotate(-1deg); }
}

/* 3D Cards Grid */
.tech-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.85rem;
}

.tech-card {
  position: relative;
  background: #ffffff;
  border-radius: 28px;
  border: 1px solid rgba(226, 232, 240, 0.88);
  box-shadow: 
    0 12px 32px -6px rgba(15, 23, 42, 0.05),
    0 4px 12px -2px rgba(15, 23, 42, 0.02),
    0 0 0 1px rgba(255, 255, 255, 0.9) inset;
  transition: all 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, transparent 5%, #38bdf8 30%, #6366f1 70%, transparent 95%);
  opacity: 0;
  border-radius: 28px 28px 0 0;
  transition: opacity 0.35s ease;
  z-index: 5;
}

.tech-card:hover {
  transform: translateY(-8px) scale(1.008);
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 
    0 28px 65px -12px rgba(37, 99, 235, 0.16),
    0 0 0 1px rgba(56, 189, 248, 0.35),
    0 0 35px rgba(56, 189, 248, 0.12);
}

.tech-card:hover::before {
  opacity: 1;
}

.tech-card__inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 1.85rem 1.65rem;
  height: 100%;
  position: relative;
  gap: 0.85rem;
  border-radius: 28px;
  overflow: hidden;
  background: #ffffff;
}

.tech-card__content {
  flex: 1 1 58%;
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
  z-index: 3;
}

.tech-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.tech-card__index {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.88rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.02em;
}

.tech-card__rule {
  width: 26px;
  height: 1.5px;
  background: #cbd5e1;
  border-radius: 99px;
}

.tech-card__title {
  font-size: 1.42rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0 0 0.55rem 0;
  line-height: 1.25;
}

.tech-card__desc {
  font-size: 0.865rem;
  color: #475569;
  line-height: 1.54;
  margin: 0 0 1.15rem 0;
  font-weight: 450;
}

.tech-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-top: auto;
  margin-bottom: 1.25rem;
  position: relative;
}

.tech-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.74rem;
  font-weight: 600;
  color: #334155;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 0.24rem 0.68rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.tech-chip:hover {
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateY(-1px);
}

.tech-chip--more {
  background: rgba(56, 189, 248, 0.12);
  color: #0284c7;
  border-color: rgba(56, 189, 248, 0.35);
  font-weight: 700;
  cursor: pointer;
  outline: none;
  position: relative;
}

.tech-chip--more:hover {
  background: rgba(56, 189, 248, 0.22);
  color: #0369a1;
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.25);
}

/* Tooltip for +X chips */
.tech-chip-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  background: #0f172a;
  color: #f8fafc;
  font-size: 0.73rem;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  white-space: normal;
  width: 220px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 50;
  line-height: 1.45;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.tech-chip--more:hover .tech-chip-tooltip,
.tech-chip--more:focus-visible .tech-chip-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.tech-chip-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 20px;
  border-width: 5px;
  border-style: solid;
  border-color: #0f172a transparent transparent transparent;
}

.tech-card__footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.35rem;
}

.tech-card__action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.tech-card:hover .tech-card__action-btn {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  transform: scale(1.1) translateX(3px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.55);
}

.tech-card__action-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.tech-card:hover .tech-card__action-label {
  color: #1e293b;
}

/* Visual 3D Area */
.tech-card__visual {
  flex: 0 0 42%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

/* Organic fluid wave backdrop for Frontend Card (matching Image 2) */
.tech-card--frontend .tech-card__visual::before {
  content: '';
  position: absolute;
  top: -15px;
  right: -15px;
  width: 175px;
  height: 175px;
  background: radial-gradient(circle at 65% 35%, rgba(56, 189, 248, 0.32) 0%, rgba(99, 102, 241, 0.18) 55%, transparent 75%);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 55%;
  filter: blur(8px);
  pointer-events: none;
  z-index: 1;
}

.tech-visual-glow {
  position: absolute;
  inset: -15%;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.5;
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  z-index: 1;
}

.tech-visual-glow--blue { background: radial-gradient(circle, rgba(56, 189, 248, 0.45), transparent 70%); }
.tech-visual-glow--cyan { background: radial-gradient(circle, rgba(6, 182, 212, 0.45), transparent 70%); }
.tech-visual-glow--purple { background: radial-gradient(circle, rgba(168, 85, 247, 0.4), transparent 70%); }
.tech-visual-glow--orange { background: radial-gradient(circle, rgba(249, 115, 22, 0.4), transparent 70%); }

.tech-card:hover .tech-visual-glow {
  opacity: 0.85;
  transform: scale(1.15);
}

.tech-card__img {
  width: 100%;
  height: auto;
  max-height: 195px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  mix-blend-mode: multiply;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s ease;
  animation: techFloat3d 6s ease-in-out infinite;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.04));
}

@keyframes techFloat3d {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-6px) rotate(0.4deg);
  }
}

.tech-card:nth-child(2) .tech-card__img { animation-delay: -1s; }
.tech-card:nth-child(3) .tech-card__img { animation-delay: -2s; }
.tech-card:nth-child(4) .tech-card__img { animation-delay: -3s; }
.tech-card:nth-child(5) .tech-card__img { animation-delay: -4s; }
.tech-card:nth-child(6) .tech-card__img { animation-delay: -5s; }

.tech-card:hover .tech-card__img {
  animation-play-state: paused;
  transform: scale(1.08) translateY(-6px);
  filter: drop-shadow(0 16px 28px rgba(37, 99, 235, 0.15));
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN (TABLET, MOBILE, RETINA)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1180px) {
  .tech-ecosystem-container {
    max-width: 100%;
    padding: 0 1.5rem 0 3.8rem;
  }
  .tech-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
  }
  .tech-card__inner {
    padding: 1.65rem 1.45rem;
  }
}

@media (max-width: 860px) {
  .tech-ecosystem-section {
    padding: 4rem 0 5rem 0;
  }

  .tech-ecosystem-container {
    padding: 0 1.5rem 0 3.8rem;
  }

  .tech-ecosystem-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.35rem;
    margin-bottom: 2.5rem;
  }

  .tech-header-divider-col {
    display: none;
  }

  .tech-header-desc-col {
    max-width: 100%;
  }

  .tech-header-doodle-col {
    align-self: flex-start;
  }

  .tech-doodle-wrap {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }

  .tech-doodle-text {
    text-align: left;
  }

  .tech-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
  }

  .tech-card__inner {
    padding: 1.5rem 1.35rem;
  }

  .tech-card__title {
    font-size: 1.32rem;
  }

  .tech-card__img {
    max-height: 170px;
  }
}

@media (max-width: 680px) {
  .tech-ecosystem-section {
    padding: 3.25rem 0 4rem 0;
  }

  .tech-ecosystem-container {
    padding: 0 1.25rem 0 3.5rem;
  }

  .tech-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .tech-card__inner {
    flex-direction: column-reverse;
    gap: 1.15rem;
    padding: 1.4rem 1.25rem;
  }

  .tech-card__visual {
    flex: 0 0 auto;
    width: 100%;
    max-height: 155px;
    margin-bottom: 0.25rem;
  }

  .tech-card__img {
    max-height: 145px;
    margin: 0 auto;
  }

  .tech-header-doodle-col {
    display: none;
  }

  .tech-card__desc {
    font-size: 0.86rem;
  }

  .tech-card__footer {
    gap: 0.65rem;
  }

  .tech-card__action-btn {
    width: 34px;
    height: 34px;
  }

  .tech-chip-tooltip {
    left: auto;
    right: 0;
    width: 210px;
  }

  .tech-chip-tooltip::after {
    left: auto;
    right: 20px;
  }
}

/* Keep the collapsed quick-access tab clear of body copy on small screens. */
@media (max-width: 768px) {
  #toolsOverlay.tools-overlay {
    top: auto !important;
    bottom: calc(var(--space-3xl) + env(safe-area-inset-bottom, 0px)) !important;
    transform: translateY(0) translateX(-100%) !important;
  }

  #toolsOverlay.tools-overlay.collapsed {
    transform: translateY(0) translateX(-100%) !important;
  }

  #toolsOverlay.tools-overlay.visible {
    transform: translateY(0) translateX(0) !important;
  }

  #toolsOverlay .fab-trigger {
    top: auto !important;
    bottom: var(--space-sm) !important;
    transform: none !important;
  }
}


