/* ==========================================================================
   LAMA LAMA WEBSITE CLONE - UPDATED STYLESHEET
   Exact Side Widget, Hero Bottom Bar Scroll Fade, Halftone Item Overlays
   ========================================================================== */

@font-face {
  font-family: 'Bigger Display';
  src: url('assets/fonts/BiggerDisplay.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-dark: #0d0d0e;
  --bg-card: #151517;
  --bg-card-hover: #1f1f22;
  --widget-taupe: #9e9a93;
  --widget-taupe-text: #1a1a1a;
  --text-main: #f5f5f7;
  --text-muted: #8e8e93;
  --text-dim: #55555e;
  --accent-red: #ff3b30;
  --accent-green: #34c759;
  --border-light: rgba(255, 255, 255, 0.15);
  --border-active: rgba(255, 255, 255, 0.4);
  
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-bigger: 'Bigger Display', 'Space Grotesk', sans-serif;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* OBLIQ 28 CHARACTER-BY-CHARACTER ENTRANCE PRELOADER */
.preloader-overlay {
  position: fixed;
  inset: 0;
  background: #09090b;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: transform 0.95s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.6s ease;
}

.preloader-overlay.preloader-done {
  transform: translateY(-100%);
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  max-width: 90vw;
}

.preloader-brand {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.preloader-title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}

.preloader-title {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 12vw, 9.5rem);
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#preloader-typed-container {
  display: inline-flex;
  align-items: center;
}

.p-char {
  display: inline-block;
  opacity: 1;
  animation: char-snap 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes char-snap {
  0% { transform: scale(1.25); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

.p-char.glow {
  text-shadow: 0 0 30px rgba(255, 59, 48, 0.85), 0 0 60px rgba(255, 59, 48, 0.45);
}

.preloader-cursor {
  display: inline-block;
  width: clamp(7px, 1.2vw, 14px);
  height: clamp(50px, 10vw, 120px);
  background: var(--accent-red);
  box-shadow: 0 0 16px var(--accent-red), 0 0 32px var(--accent-red);
  border-radius: 3px;
  margin-left: 10px;
  animation: typing-blink 0.5s infinite;
  vertical-align: middle;
}

.preloader-progress-bar {
  width: 280px;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  overflow: hidden;
  margin-top: 10px;
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: var(--accent-red);
  box-shadow: 0 0 12px var(--accent-red);
  transition: width 0.15s ease;
}

.preloader-tagline {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  letter-spacing: 0.24em;
  margin-top: 6px;
}

/* GLOBAL CURSOR RESET: HIDE DEFAULT SYSTEM MOUSE CURSOR */
*, *::before, *::after, html, body, a, button, input, select, textarea, label, [role="button"] {
  cursor: none !important;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: #0d0d0e;
  background-image: 
    radial-gradient(ellipse at 15% 20%, rgba(139, 26, 26, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 85% 70%, rgba(74, 14, 14, 0.06) 0%, transparent 65%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

::selection {
  background-color: #ffffff;
  color: #000000;
}

/* HAOQI.DESIGN PIXEL GRID SNAKE CURSOR CANVAS */
#pixel-cursor-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999999;
  image-rendering: pixelated;
}

.cursor-element {
  display: none !important;
}

/* HAOQI.DESIGN SIGNATURE MOUSE COORDINATE DISPLAY */
.coords-item {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: #ffffff;
  font-weight: 700;
}

#mouse-coords {
  display: inline-block;
  min-width: 100px;
  text-align: center;
}

/* INTERACTIVE TORCH GLOW UNDER MOUSE (NOTH.IN STYLE) */
.why-card,
.service-col,
.process-step-box,
.widget-card {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

.why-card::after,
.service-col::after,
.process-step-box::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(400px circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(255, 59, 48, 0.14) 0%, transparent 80%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.why-card:hover::after,
.service-col:hover::after,
.process-step-box:hover::after {
  opacity: 1;
}

/* UTILITY CLASSES */
.text-red, .highlight-red {
  color: var(--accent-red) !important;
}

.p-tag-red {
  background: rgba(255, 59, 48, 0.15) !important;
  color: #ff3b30 !important;
  border-color: rgba(255, 59, 48, 0.35) !important;
}

.service-pill-btn.pill-red {
  border-color: var(--accent-red);
  color: var(--accent-red);
}

.service-pill-btn.pill-red:hover {
  background: var(--accent-red);
  color: #ffffff;
}

.section-container {
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 clamp(24px, 3.5vw, 60px);
}

.meta-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.link-hover {
  color: inherit;
  text-decoration: none;
  position: relative;
  transition: color var(--transition-fast);
}

.link-hover:hover {
  color: #ffffff;
}

/* FIXED FLOATING TOP CENTER RECTANGULAR NAVBAR (EXACT REFERENCE MATCH) */
.lama-pill-nav {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(580px, 92vw);
  height: 52px;
  padding: 0 24px;
  background: rgba(10, 10, 12, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  transition: border-color var(--transition-fast), transform var(--transition-smooth);
}

.lama-pill-nav:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.pill-left {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.pill-pixel-logo {
  display: block;
  transition: transform var(--transition-bounce);
}

.pill-left:hover .pill-pixel-logo {
  transform: scale(1.1);
}

.pill-center {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
}

#pill-status-text {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.pill-right {
  display: flex;
  align-items: center;
}

.menu-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 4px;
}

.menu-bar {
  width: 18px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 1px;
  transition: transform 0.3s ease, width 0.3s ease;
}

.menu-toggle-btn:hover .menu-bar:nth-child(1) { transform: translateY(-1px); }
.menu-toggle-btn:hover .menu-bar:nth-child(3) { transform: translateY(1px); }

/* FIXED FLOATING TOP RIGHT SIDE WIDGET STACK (EXACT LAMA LAMA LOOK) */
.lama-side-widget {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 900;
  width: 240px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.widget-card {
  background: #111113;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.widget-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

/* TOP CARD: TAUPE GREY CONTACT CARD */
.contact-pill-card {
  background: var(--widget-taupe) !important;
  color: var(--widget-taupe-text) !important;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border: none !important;
}

.contact-avatar-wrapper {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.contact-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
}

.contact-card-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--widget-taupe-text);
  text-decoration: none;
  text-transform: uppercase;
}

/* ACCORDION CARDS */
.widget-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: none;
  border: none;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  text-align: left;
}

.widget-title {
  text-transform: uppercase;
}

.widget-icon {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.widget-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
  padding: 0 14px;
}

.widget-content.open {
  max-height: 260px;
  padding: 0 14px 14px 14px;
}

.widget-media-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
  border-radius: 8px;
}

.widget-media-container {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid rgba(255,255,255,0.1);
  transition: border-color 0.3s ease;
}

.widget-media-link:hover .widget-media-container {
  border-color: var(--accent-red);
}

.widget-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(120%);
  transition: transform 0.4s ease, filter 0.4s ease;
}

.widget-media-link:hover .widget-media-img {
  transform: scale(1.06);
  filter: grayscale(0%) contrast(110%);
}

.widget-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.widget-media-overlay .badge {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  background: rgba(255,255,255,0.2);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 4px;
}

.widget-quote {
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
}

/* STACKED PITCH DECK CARDS PREVIEW */
.pitchdeck-stacked-wrapper {
  position: relative;
  padding-top: 10px;
}

.pitchdeck-shadow-card {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pitchdeck-shadow-card.card-3 {
  top: 0;
  width: 90%;
  height: 100%;
}

.pitchdeck-shadow-card.card-2 {
  top: 5px;
  width: 95%;
  height: 100%;
}

.pitchdeck-main-card {
  position: relative;
  z-index: 2;
  background: #f7f5ef;
  color: #0e0e0e;
  border-radius: 8px;
  padding: 14px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.pitchdeck-header-meta {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: #666;
  margin-bottom: 6px;
}

.pitchdeck-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: #000000;
}

.pitchdeck-thumbs {
  display: flex;
  gap: 6px;
}

.p-thumb {
  width: 33.33%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
}

/* FULLSCREEN DRAWER MENU OVERLAY */
.fullscreen-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.fullscreen-menu-overlay.open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 10, 0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}

.menu-content {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-brand {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.menu-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 8px 20px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.menu-close-btn:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
  color: #fff;
  box-shadow: 0 0 16px rgba(255, 59, 48, 0.4);
}

.menu-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 60px;
  align-items: center;
  flex: 1;
  padding: 24px 0;
}

.menu-nav-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.menu-link {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.9rem);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 4px 0;
  width: fit-content;
}

.menu-link .num {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-red);
  letter-spacing: 0.05em;
}

.menu-link:hover {
  color: #ffffff;
  transform: translateX(14px);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.menu-info-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-left: 48px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.info-block h5 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.info-block p, .info-block a {
  font-size: 0.92rem;
  color: var(--text-main);
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.info-block a:hover {
  color: var(--accent-red);
}

.menu-socials {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.menu-socials a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.menu-socials a:hover {
  color: #ffffff;
  transform: translateX(6px);
}

.menu-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

.menu-footer-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}

.menu-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
}

/* SECTION COMMON & SCROLL REVEAL ANIMATIONS */
.section {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 80px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* NOTH.IN 3D KINETIC BOTTOM-UP LINE REVEAL */
.kinetic-3d-text {
  perspective: 1200px;
  display: block;
}

.line-mask {
  overflow: hidden;
  display: block;
  perspective: 1000px;
}

.line-inner {
  display: block;
  transform: translateY(115%) rotateX(-22deg) scale(0.95);
  opacity: 0;
  transform-origin: bottom center;
  transition: transform 0.95s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.revealed .line-inner,
.line-inner.revealed,
.revealed .kinetic-3d-text .line-inner {
  transform: translateY(0%) rotateX(0deg) scale(1);
  opacity: 1;
}



/* MAIN CONTENT WRAPPER - ZERO TOP GAP */
main, #main-content {
  margin: 0;
  padding: 0;
  width: 100%;
  position: relative;
}

/* SECTION 1: HERO (EXACT 100VH FULL-BLEED FIT FROM TOP 0px) */
.hero-section {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-bg-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  background: #0d0d0e;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  opacity: 1.0;
  filter: contrast(105%) saturate(110%);
}

#hero-fluid-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
}

.hero-mist-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(to bottom, transparent 0%, transparent 75%, rgba(13, 13, 14, 0.7) 92%, #0d0d0e 100%),
    radial-gradient(ellipse at center, rgba(13, 13, 14, 0.05) 0%, rgba(13, 13, 14, 0.4) 90%);
  z-index: 1;
}

.hero-container {
  height: 100%;
  width: 100%;
  max-width: 100%;
  padding-left: clamp(24px, 4vw, 64px);
  padding-right: clamp(24px, 4vw, 64px);
  padding-top: 90px;
  padding-bottom: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.hero-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
}

/* HERO BOTTOM ROW: HEADING LEFT + DESCRIPTION RIGHT (CLEAN 3-LINE PROPORTIONS) */
.hero-bottom-content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 60px);
  margin-top: auto;
  margin-bottom: 14px;
  width: 100%;
}

.hero-heading-block {
  flex: 0 0 60%;
  max-width: 65%;
  position: relative;
  z-index: 5;
}

.hero-meta-tag-left {
  margin-bottom: 14px;
}

/* HERO TITLE (CLEAN 3-LINE FORMAT MATCHING REFERENCE) */
.hero-title {
  font-family: var(--font-bigger);
  font-size: clamp(2.8rem, 5.4vw, 5.8rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
}

.hero-description-block {
  flex: 0 0 34%;
  max-width: 440px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 0 4px 0 !important;
  align-self: flex-end;
}

.hero-description-text {
  font-family: var(--font-main);
  font-size: clamp(0.85rem, 1.1vw, 1.15rem);
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* HERO BOTTOM STATUS BAR (EXACT LAMA LAMA MATCH - SMOOTH SCROLL FADE OUT) */
.hero-bottom-bar-wrapper {
  width: 100%;
  margin-top: 0;
  padding-bottom: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-bottom-bar-wrapper.scrolled-out {
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
}

.status-bar-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.18) 25%, rgba(255, 255, 255, 0.18) 75%, transparent 100%);
  margin-bottom: 14px;
}

.hero-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.clock-item {
  color: #ffffff;
  font-weight: 700;
}

.red-dot {
  display: inline-block;
  font-size: 0.6rem;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.lang-switch-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.68rem;
  color: #fff;
}

.toggle-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
}

/* SECTION 2: WHAT WE DO (PIN-AND-SCROLL VIDEO BACKGROUND) */
.services-pinned-track {
  position: relative;
  height: 260vh; /* Smooth scroll scrubbing track */
  width: 100%;
}

.services-sticky-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 5;
  box-sizing: border-box;
}

.services-video-bg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #0d0d0e;
}

.services-scrub-canvas,
.services-scrub-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
  filter: contrast(115%) saturate(125%);
}

.services-video-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at center, rgba(13, 13, 14, 0.15) 0%, rgba(13, 13, 14, 0.65) 85%),
    linear-gradient(to bottom, rgba(13, 13, 14, 0.55) 0%, transparent 15%, transparent 85%, #0d0d0e 100%);
  z-index: 1;
}

.services-content-container {
  position: relative;
  z-index: 2;
  width: 100%;
  box-sizing: border-box;
}

.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}

.section-title-large {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 8.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.9;
  text-transform: uppercase;
}

.category-pills-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.service-pill-btn {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid var(--border-light);
  border-radius: 9999px;
  transition: all var(--transition-fast);
}

.service-pill-btn:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.services-intro-grid {
  margin-bottom: 24px;
}

.statement-large {
  font-size: clamp(1.1rem, 1.8vw, 1.8rem);
  line-height: 1.35;
  font-weight: 400;
  color: var(--text-main);
  max-width: 1100px;
}

/* TLDR CALLOUT BANNER */
.tldr-callout-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  background: rgba(21, 21, 23, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 10px 18px;
  margin-bottom: 28px;
}

.tldr-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.tldr-phone-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.tldr-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.tldr-number {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

/* 3 COLUMN SERVICES BREAKDOWN WITH HALFTONE TEXTURE OVERLAYS */
.services-columns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-col {
  position: relative;
  background: rgba(21, 21, 23, 0.7);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 30px;
  overflow: hidden;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.col-halftone-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 10px 10px;
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.service-col:hover .col-halftone-overlay {
  opacity: 0.7;
}

.service-col:hover {
  border-color: var(--border-active);
  transform: translateY(-4px);
}

.col-header {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.col-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-list li {
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  gap: 10px;
}

.service-list li span {
  font-family: var(--font-mono);
  color: var(--text-dim);
}

/* SECTION 2.5: WHY WORK WITH US / WHY CHOOSE US */
.why-us-section {
  position: relative;
  padding: 100px 0 60px 0;
}

.why-us-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.12) 20%, rgba(255, 255, 255, 0.12) 80%, transparent 100%);
  pointer-events: none;
}

.why-us-header {
  margin-bottom: 50px;
}

.why-us-lead {
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-main);
  max-width: 1080px;
  margin-top: 20px;
}

/* 6 REASONS GRID */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.why-card {
  position: relative;
  background: rgba(22, 22, 25, 0.65);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 30px 26px;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.why-card:hover {
  border-color: rgba(255, 59, 48, 0.5);
  transform: translateY(-4px);
  background: rgba(26, 26, 30, 0.85);
}

.why-icon-badge {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.why-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 12px;
}

.why-card-text {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* 5-STEP STUDIO PROCESS PIPELINE */
.process-wrapper {
  background: linear-gradient(135deg, rgba(20, 20, 24, 0.8) 0%, rgba(12, 12, 14, 0.95) 100%);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
}

.process-header {
  margin-bottom: 40px;
}

.process-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: 12px;
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .process-steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .process-steps-grid {
    grid-template-columns: 1fr;
  }
}

.process-step-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 24px 20px;
  transition: all var(--transition-fast);
}

.process-step-box:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  display: block;
  margin-bottom: 12px;
}

.step-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--text-muted);
}

/* SECTION 3: CASES WITH TEETH (PORTFOLIO / PROJECTS) */
.cases-section {
  position: relative;
  padding-top: 100px;
}

.cases-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.12) 20%, rgba(255, 255, 255, 0.12) 80%, transparent 100%);
  pointer-events: none;
}

.cases-intro-subtitle {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 60px;
}

.projects-list-wrapper {
  display: flex;
  flex-direction: column;
}

/* PROJECT ROW - ALWAYS OPEN */
.project-row {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(22, 22, 26, 0.7);
  border-radius: 16px;
  padding: 32px 24px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.project-row:hover {
  border-color: rgba(255, 59, 48, 0.5);
  transform: translateY(-2px);
}

.project-row-halftone {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 8px 8px;
  opacity: 0.6;
  background: radial-gradient(circle at 60% 40%, rgba(255, 59, 48, 0.1) 0%, rgba(18, 18, 22, 0.9) 70%);
}

.project-row-main {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.project-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.project-tags-col {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.p-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-ascii-col {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.ascii-badge {
  color: var(--text-dim);
}

.work-badge-box {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 700;
}

/* ==========================================================================
   SECTION: EXACT HAOQI.DESIGN BLUEPRINT PROJECT GRID ARCHITECTURE
   ========================================================================== */
.haoqi-folders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 36px;
  margin-top: 36px;
}

@media (max-width: 900px) {
  .haoqi-folders-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.haoqi-project-cell {
  position: relative;
  cursor: pointer;
  padding: 10px;
  background: transparent;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.haoqi-project-cell:hover {
  transform: translateY(-4px);
}

/* ALL CHILDREN OF HAOQI PROJECT CELL MUST DELEGATE POINTER TO CELL */
.haoqi-project-cell * {
  pointer-events: none;
}

/* BLUEPRINT CROSSHAIRS (EXACT HAOQI STYLE) */
.haoqi-crosshair {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.25);
  line-height: 1;
  transition: color 0.25s ease, transform 0.25s ease;
  user-select: none;
}

.haoqi-crosshair.tl { top: -2px; left: -2px; }
.haoqi-crosshair.tr { top: -2px; right: -2px; }
.haoqi-crosshair.bl { bottom: -2px; left: -2px; }
.haoqi-crosshair.br { bottom: -2px; right: -2px; }

.haoqi-project-cell:hover .haoqi-crosshair {
  color: #c6ff00;
  transform: scale(1.3);
}

/* BLACK SHOWCASE BOX */
.haoqi-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.haoqi-project-cell:hover .haoqi-box {
  border-color: rgba(255, 59, 48, 0.7);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 59, 48, 0.15);
}

/* TOP RIGHT CATEGORY BADGE (EXACT MATCH TO HAOQI 'CODING PROJECT') */
.haoqi-category-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #c6ff00;
  color: #000000;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 5;
  border-bottom-left-radius: 4px;
}

.haoqi-artwork-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #08080a;
}

.haoqi-empty-blueprint {
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at center, rgba(255, 59, 48, 0.06) 0%, rgba(10, 10, 12, 0.95) 75%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 24px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 24px),
    #08080a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: background 0.3s ease;
}

.folder-blueprint-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.haoqi-project-cell:hover .folder-blueprint-icon {
  transform: scale(1.1) translateY(-2px);
  border-color: rgba(255, 59, 48, 0.6);
  box-shadow: 0 0 25px rgba(255, 59, 48, 0.3);
}

.folder-blueprint-code {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.haoqi-project-cell:hover .folder-blueprint-code {
  color: #ffffff;
}

.blueprint-coming-soon-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--accent-red);
  background: rgba(255, 59, 48, 0.12);
  border: 1px solid rgba(255, 59, 48, 0.4);
  padding: 4px 14px;
  border-radius: 0px; /* Sharp cyberpunk corners */
  letter-spacing: 0.12em;
  margin-top: 2px;
  text-transform: uppercase;
  box-shadow: 0 0 15px rgba(255, 59, 48, 0.2);
  animation: live-status-pulse 2.2s infinite ease-in-out;
}

.haoqi-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.haoqi-project-cell:hover .haoqi-img {
  transform: scale(1.05);
}

/* HOVER BUTTON OVERLAY */
.haoqi-hover-open {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 6;
}

.haoqi-project-cell:hover .haoqi-hover-open {
  opacity: 1;
}

.haoqi-pill-btn {
  background: #ffffff;
  color: #000000;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 9px 20px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  transform: scale(0.92);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, color 0.2s ease;
}

.haoqi-project-cell:hover .haoqi-pill-btn {
  transform: scale(1);
}

.haoqi-pill-btn:hover {
  background: var(--accent-red);
  color: #ffffff;
}

/* METADATA ROW OUTSIDE/BELOW THE BOX */
.haoqi-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding: 0 4px;
}

.haoqi-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.haoqi-right-meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   SECTION: PROJECT FOLDER FULLSCREEN VIEW (PRODUX STAGE ARCHITECTURE)
   ========================================================================== */
body.modal-open {
  overflow: hidden !important;
}

.folder-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 90000;
  background-color: #060608 !important;
  background: radial-gradient(circle at 50% 0%, #1c0807 0%, #0c0505 45%, #060608 85%) !important;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 30px 48px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
  overflow: hidden;
  touch-action: none;
}

.folder-modal-overlay.active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  background-color: #060608 !important;
}

.folder-modal-container {
  width: 100%;
  height: 100%;
  max-width: 1600px;
  margin: 0 auto;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
}

@media (max-width: 768px) {
  .folder-modal-overlay {
    padding: 24px 16px;
  }
}

.folder-modal-header {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-bottom: 16px;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.folder-header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  width: 100%;
}

.folder-header-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  text-transform: uppercase;
  text-align: center;
}

.folder-subfolder-selector {
  display: inline-flex;
  align-items: center;
  background: #0a0a0c;
  border: 1px solid rgba(255, 59, 48, 0.5);
  border-radius: 0px; /* SHARP CORNERS */
  padding: 0;
  overflow: hidden;
  box-shadow: 0 0 18px rgba(255, 59, 48, 0.2);
}

.subfolder-tab-btn {
  background: transparent;
  border: none;
  border-right: 1px solid rgba(255, 59, 48, 0.35);
  border-radius: 0px; /* SHARP CORNERS */
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 8px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.subfolder-tab-btn:last-child {
  border-right: none;
}

.subfolder-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 59, 48, 0.16);
}

.subfolder-tab-btn.active {
  background: #ff3b30;
  color: #ffffff;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}

.subfolder-tab-btn .tab-indicator {
  width: 6px;
  height: 6px;
  border-radius: 0px; /* SHARP CORNERS */
  background: rgba(255, 255, 255, 0.4);
}

.subfolder-tab-btn.active .tab-indicator {
  background: #ffffff;
  box-shadow: 0 0 6px #ffffff;
}

.folder-close-btn {
  position: absolute;
  right: 0;
  top: 4px;
  background: #0a0a0c;
  border: 1px solid rgba(255, 59, 48, 0.4);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 0px; /* SHARP CORNERS */
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.08em;
}

.folder-close-btn:hover {
  background: #ff3b30;
  border-color: #ff3b30;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 59, 48, 0.5);
}

@media (max-width: 768px) {
  .folder-close-btn {
    position: static;
    margin-top: 8px;
  }
}

/* FOLDER GALLERY GRID */
.folder-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

@media (max-width: 600px) {
  .folder-gallery-grid {
    grid-template-columns: 1fr;
  }
}

.folder-item-card {
  background: rgba(20, 20, 26, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: zoom-in;
  display: flex;
  flex-direction: column;
}

.folder-item-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 59, 48, 0.6);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 59, 48, 0.15);
}

.folder-item-img-box {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a0a0d;
}

.folder-item-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.folder-item-card:hover .folder-item-img-box img {
  transform: scale(1.06);
}

.folder-item-caption-bar {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: rgba(12, 12, 16, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.folder-item-caption-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
}

.folder-item-caption-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 3px;
}

/* FOLDER VIEW TOGGLE (✦ 3D STAGE vs ▦ GRID) */
.folder-view-toggle {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 3px;
  gap: 2px;
}

.f-toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.f-toggle-btn.active {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   AUTHENTIC PRODUX FREQUENCY DOT & TICK CLUSTER SCRUBBER (EXACT REFERENCE)
   ========================================================================== */
.produx-waveform-bar {
  width: 100%;
  height: 28px;
  margin: 6px 0 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.waveform-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  height: 100%;
}

.waveform-cluster {
  display: flex;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 6px;
  transition: opacity 0.25s ease, transform 0.25s ease;
  opacity: 0.35;
}

.waveform-cluster:hover {
  opacity: 0.8;
  transform: scale(1.06);
}

.waveform-cluster.active-cluster {
  opacity: 1;
  transform: scale(1.08);
}

.waveform-dot {
  width: 2.5px;
  height: 2.5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
  flex-shrink: 0;
}

.waveform-cluster.active-cluster .waveform-dot {
  background: #ffffff;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
}

.waveform-bar {
  width: 1.5px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 1px;
  transition: height 0.22s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.waveform-cluster.active-cluster .waveform-bar {
  background: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.95);
}

/* ==========================================================================
   PURE FULL-BLEED 3D IMAGE STAGE SLIDER (NO PROFILES, NO TEXT OVERLAY)
   ========================================================================== */
.produx-stage-slider-wrap {
  position: relative;
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.produx-slider-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  padding: 30px 0;
  cursor: grab;
  scroll-snap-type: x mandatory;
  /* Smooth horizontal fade-out on left and right sides of the cards */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 1) 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 1) 90%, transparent 100%);
}

.produx-slider-viewport::-webkit-scrollbar {
  display: none;
}

.produx-slider-viewport:active {
  cursor: grabbing;
}

.produx-slider-track {
  display: flex;
  gap: 40px;
  width: max-content;
  align-items: center;
  box-sizing: content-box;
}

/* PURE FULL-BLEED IMAGE CARDS (NO BOTTOM GAP - EXACT 16:9 RATIO & PINNED CORNER RETICLES) */
.f-stage-card {
  height: 60vh;
  min-height: 360px;
  max-height: 580px;
  aspect-ratio: 16 / 9; /* Exact 16:9 ratio eliminates all top/bottom black strips */
  background: #0d0d11 !important;
  border-radius: 0px !important;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.85);
  cursor: pointer;
  user-select: none;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease, filter 0.45s ease, border-color 0.3s ease;
  transform: scale(0.88);
  opacity: 0.45;
  filter: blur(1.5px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

@media (max-width: 650px) {
  .f-stage-card {
    height: 44vh;
    min-height: 260px;
  }
}

/* ACTIVE CENTER IMAGE MAGNIFICATION & MINIMAL AMBIENT GLOW */
.f-stage-card.active-card {
  transform: scale(1.05);
  opacity: 1 !important;
  filter: blur(0) !important;
  border-color: rgba(255, 59, 48, 0.4) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95), 0 0 30px rgba(255, 59, 48, 0.2);
  z-index: 10;
}

/* Very subtle, low-key ambient backlight */
.f-stage-card.active-card::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at center, rgba(255, 59, 48, 0.08) 0%, rgba(255, 59, 48, 0.02) 50%, transparent 75%);
  filter: blur(25px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.6;
}

/* CRISP FULL-BLEED IMAGE DISPLAY */
.f-stage-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  vertical-align: middle;
  pointer-events: auto;
  border-radius: 0px !important;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.f-stage-card.active-card:hover img {
  transform: scale(1.02);
}

/* VIDEO PLAY BUTTON OVERLAY (GLASSMORPHIC CENTER PLAY BUTTON) */
.stage-video-play-btn,
.haoqi-video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(10, 10, 14, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.stage-video-play-btn svg,
.haoqi-video-play-btn svg {
  width: 26px;
  height: 26px;
  fill: #ffffff;
  margin-left: 3px;
  transition: fill 0.2s ease;
}

.f-stage-card:hover .stage-video-play-btn,
.haoqi-project-cell:hover .haoqi-video-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
  background: rgba(255, 59, 48, 0.85);
  border-color: #ff3b30;
  box-shadow: 0 12px 35px rgba(255, 59, 48, 0.65);
}

.folder-active-caption-bar {
  display: none !important;
}

.caption-title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.06em;
}

.caption-hint {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent-red);
  letter-spacing: 0.04em;
}

/* SLIDER ARROW CONTROLS */
.produx-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 0px; /* Sharp corners matching cyberpunk theme */
  background: #08080b !important;
  border: 1.5px solid rgba(255, 59, 48, 0.7) !important;
  color: #ffffff !important;
  font-size: 28px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
  opacity: 1 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), 0 0 20px rgba(255, 59, 48, 0.4);
}

.produx-slider-arrow.prev-btn {
  left: 28px;
}

.produx-slider-arrow.next-btn {
  right: 28px;
}

.produx-slider-arrow:hover {
  background: #ff3b30 !important;
  border-color: #ff3b30 !important;
  color: #ffffff !important;
  box-shadow: 0 0 35px rgba(255, 59, 48, 0.85);
  transform: translateY(-50%) scale(1.1);
}

.t-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 20;
  flex-shrink: 0;
}

.t-nav-btn:hover {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.t-nav-controls {
  display: flex;
  gap: 12px;
}

/* TESTIMONIALS SECTION HEADER */
.testimonials-section {
  position: relative;
  padding-top: 110px;
  padding-bottom: 90px;
  background: #111413; /* Deep forest/dark tone matching reference */
}

.testimonials-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.t-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

/* SECTION 3.5: CLIENTS / COLLABORATIONS (DYNAMIC SCROLL TILT MARQUEE) */
.collaborations-section {
  position: relative;
  padding: 100px 0 90px 0;
  overflow: hidden;
  background: #08080a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.collab-artwork-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.collab-sculpture-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: 145%;
  max-height: none;
  object-fit: contain;
  opacity: 0.52;
  filter: contrast(120%) saturate(130%) drop-shadow(0 0 45px rgba(255, 59, 48, 0.25));
  will-change: transform;
}

.collab-artwork-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at center, rgba(8, 8, 10, 0.15) 0%, rgba(8, 8, 10, 0.78) 65%, #08080a 95%),
    linear-gradient(to bottom, #08080a 0%, transparent 20%, transparent 80%, #08080a 100%);
  z-index: 1;
}

.collab-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 2;
  padding: 30px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 1) 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 1) 90%, transparent 100%);
}

.collab-marquee-track {
  display: flex;
  gap: 26px;
  width: max-content;
  will-change: transform;
  user-select: none;
}

.collab-brand-card {
  width: 195px;
  height: 195px;
  flex-shrink: 0;
  background: #141416;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transform-origin: center center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
}

.collab-brand-card:hover {
  transform: translateY(-8px) scale(1.06) !important;
  border-color: rgba(255, 59, 48, 0.6);
  background: #1a1a1e;
  box-shadow: 0 18px 45px rgba(255, 59, 48, 0.25), 0 0 20px rgba(255, 59, 48, 0.15);
}

.collab-brand-logo {
  max-width: 82%;
  max-height: 60%;
  object-fit: contain;
  filter: brightness(1) contrast(1.05);
  pointer-events: none;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.collab-brand-card:hover .collab-brand-logo {
  transform: scale(1.08);
  filter: brightness(1.15) contrast(1.1);
}

.collab-badge-wrap {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.collab-trusted-pill {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #0d0d0f;
  background: #ffffff;
  padding: 6px 18px;
  border-radius: 4px;
  text-transform: uppercase;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
  display: inline-block;
}

.software-section {
  position: relative;
  padding-top: 110px;
  padding-bottom: 40px;
}

.software-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.12) 20%, rgba(255, 255, 255, 0.12) 80%, transparent 100%);
  pointer-events: none;
}

.software-header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.software-title-col {
  flex: 1 1 400px;
}

.software-desc-col {
  flex: 1 1 360px;
  max-width: 540px;
}

.software-lead-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* FILTER BAR */
.software-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.software-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.s-filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.04em;
}

.s-filter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.s-filter-btn.active {
  background: rgba(255, 59, 48, 0.15);
  border-color: var(--accent-red);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(255, 59, 48, 0.25);
}

/* 3D ORBIT ROTATION TOGGLE */
.constellation-toggle-wrap {
  display: flex;
  align-items: center;
}

.constellation-orbit-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(20, 20, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 6px 14px 6px 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.constellation-orbit-toggle:hover {
  background: rgba(30, 30, 36, 0.95);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.toggle-track {
  width: 32px;
  height: 18px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  position: relative;
  transition: background 0.25s ease;
  display: block;
}

.toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  background: #88888e;
  border-radius: 50%;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease;
}

.constellation-orbit-toggle.active .toggle-track {
  background: rgba(255, 59, 48, 0.35);
  border: 1px solid rgba(255, 59, 48, 0.6);
}

.constellation-orbit-toggle.active .toggle-thumb {
  transform: translateX(14px);
  background: #ff3b30;
  box-shadow: 0 0 8px #ff3b30;
}

.toggle-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.constellation-orbit-toggle.active .toggle-label {
  color: #ffffff;
}

.toggle-state-text {
  color: #88888e;
  transition: color 0.2s ease;
}

.constellation-orbit-toggle.active .toggle-state-text {
  color: #ff3b30;
}

.software-pipeline-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-red);
  box-shadow: 0 0 8px var(--accent-red);
  animation: live-status-pulse 1.8s infinite ease-in-out;
}

/* ==========================================================================
   SECTION 4: 3D CONNECTED CONSTELLATION GRAPH (APP CENTER BALL & TOOLS)
   ========================================================================== */
.software-constellation-stage {
  position: relative;
  width: 100%;
  height: 860px;
  min-height: 780px;
  background: radial-gradient(circle at center, rgba(255, 59, 48, 0.07) 0%, rgba(13, 13, 14, 0.96) 75%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: inset 0 0 70px rgba(0, 0, 0, 0.9), 0 20px 60px rgba(0, 0, 0, 0.5);
  margin-top: 16px;
  user-select: none;
  cursor: grab;
  touch-action: pan-y;
}

.software-constellation-stage:active {
  cursor: grabbing;
}

@media (max-width: 900px) {
  .software-constellation-stage {
    height: 800px;
  }
}

/* SVG CONNECTING LASER BEAMS - ABSOLUTE INSET 0 DEAD CENTER MATCH */
.constellation-svg,
.constellation-svg-lines,
#constellation-svg-lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}

.constellation-line {
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
  transition: stroke 0.3s ease, stroke-width 0.3s ease, opacity 0.3s ease;
}

.constellation-line.active {
  stroke: #ff3b30;
  stroke-width: 2.5;
  stroke-dasharray: none;
  filter: drop-shadow(0 0 6px rgba(255, 59, 48, 0.9));
}

.constellation-photon {
  fill: #ffffff;
  stroke: #ff3b30;
  stroke-width: 2px;
  filter: drop-shadow(0 0 6px #ff3b30) drop-shadow(0 0 12px rgba(255, 59, 48, 0.9));
  pointer-events: none;
}

/* 3D CENTER APP BALL - DEAD CENTER (50%, 50%) */
.constellation-center-ball {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130px;
  height: 130px;
  border-radius: 50%;
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.constellation-center-ball:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

/* NODES CONTAINER (MATCHING INSET 0) */
.constellation-nodes-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 6;
}

.center-ball-core {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2a0808 0%, #150202 55%, #050101 100%);
  border: 2px solid rgba(255, 59, 48, 0.85);
  box-shadow: 0 0 40px rgba(255, 59, 48, 0.6), inset 0 0 25px rgba(255, 59, 48, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
}

.center-ball-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 25px rgba(255, 59, 48, 0.8);
  line-height: 1;
}

.center-ball-subtitle {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--accent-red);
  margin-top: 4px;
  text-transform: uppercase;
}

.center-ball-icon-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px #ffffff;
  margin-bottom: 3px;
  animation: live-status-pulse 1.5s infinite ease-in-out;
}

.center-ball-pulse-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 59, 48, 0.45);
  animation: rotateRing 16s linear infinite;
  pointer-events: none;
}

.center-ball-pulse-ring.delay {
  inset: -24px;
  border-color: rgba(255, 255, 255, 0.15);
  animation: rotateRingRev 22s linear infinite;
}

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotateRingRev {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* NODES CONTAINER (3D SPACE) */
.constellation-nodes-container {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  pointer-events: none;
  z-index: 5;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* SATELLITE TOOL NODES - PILL STYLE MATCHING REFERENCE */
.constellation-node {
  position: absolute;
  pointer-events: auto;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(12, 12, 16, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9999px;
  padding: 6px 16px 6px 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 1px rgba(255, 255, 255, 0.2);
  transform-origin: center center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease, opacity 0.3s ease;
  will-change: transform;
  z-index: 6;
}

.constellation-node:hover {
  transform: translate(-50%, -50%) scale(1.12) translateZ(30px) !important;
  border-color: var(--accent-red);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.95), 0 0 25px rgba(255, 59, 48, 0.5);
  z-index: 25;
}

.constellation-node.dimmed {
  opacity: 0.18;
  filter: grayscale(80%);
}

.constellation-node.highlighted {
  opacity: 1;
  border-color: #c6ff00;
  box-shadow: 0 0 24px rgba(198, 255, 0, 0.45);
}

/* CIRCULAR BRAND ICONS */
.node-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;
  position: relative;
  background: #141416;
}

.node-abbr {
  display: block;
  line-height: 1;
}

.software-brand-logo-img,
.software-svg-icon {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  image-rendering: -webkit-optimize-contrast;
}

/* Software Brand Custom Themes */
.node-maya {
  background: #002B49;
  border: 1.5px solid #00B0FF;
  box-shadow: 0 0 14px rgba(0, 176, 255, 0.45);
}

.node-blender {
  background: #FFFFFF;
  border: 1.5px solid #FF7700;
  box-shadow: 0 0 14px rgba(255, 119, 0, 0.45);
}

.node-c4d {
  background: #E8EEF8;
  border: 1.5px solid #0050EF;
  box-shadow: 0 0 14px rgba(0, 80, 239, 0.5);
}

.node-unreal {
  background: #FFFFFF;
  border: 1.5px solid #FFFFFF;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.5);
}

.node-octane {
  background: #0C0C0E;
  border: 1.5px solid #F59E0B;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.45);
}

.node-houdini {
  background: #FFFFFF;
  border: 1.5px solid #FF5500;
  box-shadow: 0 0 14px rgba(255, 85, 0, 0.45);
}

.node-redshift {
  background: #000000;
  border: 1.5px solid #E11D48;
  box-shadow: 0 0 14px rgba(225, 29, 72, 0.45);
}

.node-davinci {
  background: #0F1016;
  border: 1.5px solid #3B82F6;
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.45);
}

.node-ae {
  background: #00005B;
  border: 1.5px solid #9999FF;
  box-shadow: 0 0 14px rgba(153, 153, 255, 0.45);
}

.node-substance {
  background: #022C22;
  border: 1.5px solid #10B981;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.45);
}

.node-ps {
  background: #001E36;
  border: 1.5px solid #31A8FF;
  box-shadow: 0 0 14px rgba(49, 168, 255, 0.45);
}

.node-nuke {
  background: #1C1C1E;
  border: 1.5px solid #FFC700;
  box-shadow: 0 0 14px rgba(255, 199, 0, 0.45);
}

.node-marvelous {
  background: #FFFFFF;
  border: 1.5px solid #FF7700;
  box-shadow: 0 0 14px rgba(255, 119, 0, 0.45);
}

.node-gaea {
  background: #000000;
  border: 1.5px solid #FFB800;
  box-shadow: 0 0 14px rgba(255, 184, 0, 0.45);
}

.node-unity {
  background: #0A0A0C;
  border: 1.5px solid #FFFFFF;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.45);
}

.node-3dsmax {
  background: #E8F5F8;
  border: 1.5px solid #00B4D8;
  box-shadow: 0 0 14px rgba(0, 180, 216, 0.45);
}

/* NODE LABELS */
.node-label-group,
.node-badge {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  gap: 2px;
}

.node-name,
.node-title {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .software-constellation-stage {
    height: 720px;
    border-radius: 20px;
  }

  .constellation-node {
    padding: 3px 10px 3px 3px;
    gap: 6px;
  }

  .node-icon-box {
    width: 28px;
    height: 28px;
  }

  .node-name,
  .node-title {
    font-size: 0.65rem;
    letter-spacing: 0.02em;
  }

  .center-ball-wrapper {
    width: 96px;
    height: 96px;
  }

  .center-ball-title {
    font-size: 1.1rem;
  }

  .center-ball-subtitle {
    font-size: 0.52rem;
  }
}

@media (max-width: 480px) {
  .software-constellation-stage {
    height: 680px;
  }

  .constellation-node {
    padding: 2px 7px 2px 2px;
    gap: 5px;
  }

  .node-icon-box {
    width: 24px;
    height: 24px;
  }

  .node-name,
  .node-title {
    font-size: 0.58rem;
    letter-spacing: 0.01em;
  }

  .center-ball-wrapper {
    width: 82px;
    height: 82px;
  }

  .center-ball-title {
    font-size: 0.95rem;
  }
}

.node-role,
.node-cat {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  white-space: nowrap;
  font-weight: 600;
}

/* HOVER INFO PANEL (TOOLTIP) */
.constellation-info-panel {
  position: absolute;
  bottom: 24px;
  left: 28px;
  max-width: 340px;
  background: rgba(10, 10, 12, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 59, 48, 0.15);
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 15;
}

.constellation-info-panel.visible {
  opacity: 1;
  transform: translateY(0);
}

.cip-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.cip-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 800;
  color: #000000;
  background: #c6ff00;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.08em;
}

.cip-status {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}

.cip-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.cip-desc {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.software-svg-icon {
  width: 100%;
  height: 100%;
  display: block;
}

.software-cat-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  letter-spacing: 0.05em;
}

.software-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.software-desc {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.software-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 0.65rem;
}

.software-stat {
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.software-status-tag {
  color: var(--accent-red);
  font-weight: 700;
  background: rgba(255, 59, 48, 0.08);
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid rgba(255, 59, 48, 0.2);
}

/* SECTION 5: ABOUT US */
.about-section {
  position: relative;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.12) 20%, rgba(255, 255, 255, 0.12) 80%, transparent 100%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.about-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  margin-top: 20px;
}

.about-lead {
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 40px;
  min-height: 130px;
}

.typing-cursor {
  font-family: var(--font-mono);
  color: var(--accent-red);
  font-weight: 700;
  margin-left: 3px;
  animation: blinkCursor 0.7s infinite;
}

@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 24px;
}

.metric-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* SECTION 5: CONTACT & FOOTER (LET'S TALK PAGE) */
.contact-section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 160px 0 35px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.12) 20%, rgba(255, 255, 255, 0.12) 80%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.contact-bg-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0d0d0e;
}

.contact-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 1.0;
  filter: contrast(105%) brightness(0.95);
}

.contact-mist-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(13, 13, 14, 0.05) 0%, rgba(13, 13, 14, 0.4) 90%);
  z-index: 1;
}

.contact-section .section-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  min-height: calc(100vh - 195px);
}

@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.contact-card-box {
  position: relative;
  background: linear-gradient(135deg, rgba(24, 24, 26, 0.96) 0%, rgba(14, 14, 16, 0.96) 100%);
  border: 1px solid var(--border-light);
  border-radius: 28px;
  padding: 60px 64px 64px 64px;
  margin-top: 45px;
  margin-bottom: 35px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(16px);
  z-index: 1;
}

/* ROTATING RED STROKE GLOW LIGHT MOVING CONTINUOUSLY AROUND CARD BORDER */
.contact-card-box::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 30px;
  padding: 2px;
  background: conic-gradient(
    from var(--border-angle),
    transparent 0%,
    transparent 65%,
    #ff3b30 85%,
    #ff2d55 93%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: rotateRedBorder 4s linear infinite;
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 0 25px rgba(255, 59, 48, 0.6);
}

@keyframes rotateRedBorder {
  to {
    --border-angle: 360deg;
  }
}

.contact-huge-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.8vw, 5.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 24px 0 16px 0;
}

.contact-subtext {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.contact-actions-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.big-cta-btn {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: #000000;
  background: #ffffff;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.big-cta-btn:hover {
  transform: translateY(-2px);
  background: #e0e0e0;
}

.big-cta-btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid var(--border-light);
}

.big-cta-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.footer-ribbon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #ffffff;
  padding-top: 24px;
  padding-bottom: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: auto;
}

.footer-ribbon .footer-left,
.footer-ribbon .footer-left span {
  color: #ffffff !important;
}

.footer-ribbon a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-ribbon a:hover {
  color: var(--accent-red);
}

/* DEDICATED PICTURE & VIDEO SPECTATOR MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 120000;
  background: rgba(0, 0, 0, 0.96);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
  padding: 24px;
}

.modal-overlay.active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.modal-content {
  background: transparent;
  border: none;
  border-radius: 0;
  width: 92vw;
  max-width: 1560px;
  max-height: 94vh;
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: scale(0.95);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close-btn {
  position: fixed;
  top: 24px;
  right: 32px;
  background: #0a0a0c;
  border: 1px solid rgba(255, 59, 48, 0.5);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 9px 22px;
  border-radius: 0px; /* SHARP CORNERS */
  cursor: pointer;
  z-index: 120005;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.modal-close-btn:hover {
  background: #ff3b30;
  border-color: #ff3b30;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 59, 48, 0.6);
  transform: scale(1.04);
}

/* SPECTATOR LIGHTBOX PREV / NEXT SLIDE ARROWS */
.spectator-nav-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 58px;
  height: 58px;
  border-radius: 0px; /* Sharp corners matching theme */
  background: #08080b !important;
  border: 1.5px solid rgba(255, 59, 48, 0.75) !important;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 120006;
  opacity: 1 !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.9), 0 0 20px rgba(255, 59, 48, 0.4);
}

.spectator-nav-arrow.prev-btn {
  left: 28px;
}

.spectator-nav-arrow.next-btn {
  right: 28px;
}

.spectator-nav-arrow:hover {
  background: #ff3b30 !important;
  border-color: #ff3b30 !important;
  color: #ffffff !important;
  box-shadow: 0 0 40px rgba(255, 59, 48, 0.9);
  transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
  .spectator-nav-arrow {
    width: 44px;
    height: 44px;
  }
  .spectator-nav-arrow.prev-btn {
    left: 12px;
  }
  .spectator-nav-arrow.next-btn {
    right: 12px;
  }
}

.spectator-image-container {
  position: relative;
  width: 100%;
  max-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0px; /* SHARP CORNERS */
  overflow: hidden;
  border: 1px solid rgba(255, 59, 48, 0.45);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.95), 0 0 35px rgba(255, 59, 48, 0.25);
  background: #000000;
}

.spectator-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: min(80vh, calc(92vw * 9 / 16));
  max-height: 80vh;
  border: none;
  display: block;
}

.spectator-image {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 0px;
  display: block;
}

.spectator-footer-bar {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.spectator-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.spectator-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 4px 12px;
  border-radius: 9999px;
  color: #fff;
  font-size: 0.72rem;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .lama-side-widget {
    display: none;
  }
  .services-columns-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .hero-body-grid {
    grid-template-columns: 1fr;
  }
  .menu-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section-container {
    padding: 0 20px;
  }
  .lama-pill-nav {
    width: 90%;
  }
  .project-row-main {
    flex-direction: column;
    align-items: flex-start;
  }
}
