/* 1. Custom Anurati Font Loading */
@font-face {
  font-family: 'Anurati';
  src: url('./anurati-regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* 2. Root CSS Variables */
:root {
  --font-brand: 'Anurati', sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Color Palette */
  --bg-dark: #04060a;
  --text-main: #f3f5fa;
  --text-muted: #9ba3b8;
  --text-dim: #647087;

  --accent-cyan: #38bdf8;
  --accent-blue: #3b82f6;
  --accent-indigo: #6366f1;
  --accent-violet: #a855f7;
  --accent-pink: #ec4899;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;

  --glass-bg: rgba(11, 15, 25, 0.68);
  --glass-bg-hover: rgba(18, 24, 40, 0.82);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-border-glow: rgba(255, 255, 255, 0.35);

  /* Dynamic Scroll Controls */
  --scroll-vignette: 0;
  --bg-scale: 1;
}

/* 2. Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* 3. Fixed Artwork Background Layer */
.bg-fixed-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background-color: #04060a;
  background-image: url('./background_2.png'), url('./background%202.png');
  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;
  z-index: 1;
  transform: scale(var(--bg-scale, 1));
  transition: transform 0.12s ease-out;
  will-change: transform;
  display: block !important;
}

/* 4. Deep Cinematic Black Vignette Layer */
.vignette-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 2;
  background: 
    /* High-contrast dark radial vignette */
    radial-gradient(
      ellipse at 50% 50%,
      rgba(4, 6, 10, 0.08) 0%,
      rgba(3, 5, 8, 0.42) 40%,
      rgba(2, 3, 5, 0.84) 75%,
      rgba(0, 0, 0, 0.98) 100%
    ),
    /* Top Bar Ambient Shadow */
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.88) 0%,
      rgba(0, 0, 0, 0.35) 15%,
      transparent 35%
    ),
    /* Bottom Ambient Shadow */
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.5) 20%,
      transparent 55%
    );
}

.valley-vignette-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    rgba(4, 6, 10, calc(0.20 + (var(--scroll-vignette, 0) * 0.45))) 0%,
    rgba(4, 6, 10, calc(0.60 + (var(--scroll-vignette, 0) * 0.38))) 55%,
    rgba(4, 6, 10, calc(0.92 + (var(--scroll-vignette, 0) * 0.08))) 100%
  );
  pointer-events: none;
}

.particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Fixed Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: #ffffff;
  z-index: 1000;
  pointer-events: none;
  transition: width 0.1s ease-out;
}

/* Fixed Noise Grain Overlay */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.7;
}

/* ==========================================================================
   SCREEN 1: HERO DISINTEGRATION LAYER
   ========================================================================== */
.hero-scroll-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

.intro-screen-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
  will-change: transform, opacity;
}

.intro-content {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  pointer-events: none;
}

.intro-title-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  pointer-events: none;
}

.hero-canvas-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.disintegrate-canvas,
.hero-disintegrate-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  pointer-events: auto;
  cursor: default;
}

.intro-glow-aura {
  display: none;
}

/* Intro Hero Title for Clean Mobile/Direct Rendering (Exact Anurati font) */
.intro-hero-title {
  font-family: 'Anurati', sans-serif !important;
  font-size: clamp(2.2rem, 9.2vw, 3.8rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-align: center;
  background: linear-gradient(135deg, #ffffff 0%, #38bdf8 30%, #60a5fa 55%, #818cf8 80%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 25px rgba(56, 189, 248, 0.5)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.8));
  margin: 0 auto;
  padding: 0 1rem;
  user-select: none;
  pointer-events: none;
  display: block;
  width: 100%;
  max-width: 95vw;
}

/* Minimalist Scroll Cue */
.scroll-cue {
  position: fixed;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  pointer-events: auto;
  z-index: 15;
  user-select: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.scroll-cue-text {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
  backdrop-filter: blur(8px);
  background: rgba(11, 15, 25, 0.3);
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: #ffffff;
  border-radius: 2px;
  animation: wheelScroll 1.8s infinite ease-in-out;
}

@keyframes wheelScroll {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

.scroll-arrows {
  color: rgba(255, 255, 255, 0.65);
  animation: bounceArrow 1.8s infinite ease-in-out;
}

@keyframes bounceArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* Spacer Track */
.scroll-transition-spacer {
  display: none;
}

/* ==========================================================================
   DYNAMIC MORPHING FLOATING CAPSULE HEADER NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 120;
  padding: 1.25rem 2rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.header-container {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  border-radius: 100px;
  padding: 0.5rem 1rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Floating Capsule Pill Mode on Scroll */
.site-header.scrolled {
  padding: 0.75rem 1.5rem;
}

.site-header.scrolled .header-container {
  max-width: 1160px;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 
    0 12px 35px -8px rgba(15, 23, 42, 0.1),
    0 2px 6px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  padding: 0.55rem 1.35rem;
}

/* Reading Scroll Progress Beam along the bottom curve of the navbar capsule */
.nav-scroll-progress {
  position: absolute;
  bottom: -1px;
  left: 24px;
  right: 24px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  width: 0%;
  opacity: 0;
  transition: opacity 0.3s ease, width 0.08s linear;
  pointer-events: none;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

.site-header.scrolled .nav-scroll-progress {
  opacity: 1;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.brand-logo:hover {
  transform: scale(1.03);
}

.brand-title {
  font-family: var(--font-brand);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  background: linear-gradient(135deg, #0f172a 0%, #0284c7 40%, #6366f1 80%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease;
}

.brand-badge {
  display: none !important;
}

/* Navigation Links with Active Sliding Pill Indicator */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: nowrap;
}

.nav-link {
  color: #475569;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 50px;
  position: relative;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.05);
  transform: translateY(-1px);
}

.nav-link.active {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.08);
  font-weight: 700;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  border-radius: 2px;
  background: #0284c7;
  transition: width 0.25s ease;
}

.nav-link.active::after {
  width: 16px;
}

/* Header Action CTA Button */
.btn-primary-glow {
  background: #0f172a;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.58rem 1.3rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
  border: 1px solid #0f172a;
  transition: all 0.25s ease;
}

.btn-primary-glow svg {
  transition: transform 0.25s ease;
}

.btn-primary-glow:hover {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
}

.btn-primary-glow:hover svg {
  transform: translateX(3px);
}

/* Mobile Toggle Button Reset (Frameless, Clean 3-Bar Icon) */
button.mobile-toggle,
.mobile-toggle {
  all: unset;
  appearance: none;
  -webkit-appearance: none;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 4.5px !important;
  width: 38px !important;
  height: 38px !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  border-width: 0 !important;
  border-style: none !important;
  border-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  -webkit-tap-highlight-color: transparent !important;
}

button.mobile-toggle span,
.mobile-toggle span {
  display: block !important;
  width: 22px !important;
  height: 2.2px !important;
  background: #0f172a !important;
  background-color: #0f172a !important;
  border-radius: 2px !important;
  border: none !important;
  box-shadow: none !important;
  transition: all 0.3s ease !important;
}

/* Liquid Glass Buttons */
.btn-liquid-glass {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 0.95rem 2rem;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  border: none;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  isolation: isolate;
}

.btn-liquid-glass:hover {
  transform: scale(1.03) translateY(-2px);
}

.btn-liquid-glass:active {
  transform: scale(0.98);
}

/* Refraction border and specular shadow */
.liquid-glass-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  pointer-events: none;
  z-index: 1;
  border: 1px solid rgba(15, 23, 42, 0.16);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
  transition: all 0.25s ease;
}

.btn-liquid-glass:hover .liquid-glass-border {
  border-color: rgba(2, 132, 199, 0.5);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1);
}

/* Backdrop Filter */
.liquid-glass-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  background: #ffffff;
  z-index: 0;
  pointer-events: none;
}

/* Primary Liquid Button with Solid Clean Accent */
.btn-liquid-primary {
  color: #ffffff !important;
  font-weight: 800;
}

.btn-liquid-primary .liquid-glass-backdrop {
  background: #0f172a;
}

.btn-liquid-primary .liquid-glass-border {
  border-color: #0f172a;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
}

.btn-liquid-primary:hover .liquid-glass-backdrop {
  background: #0284c7;
}

.btn-liquid-primary:hover .liquid-glass-border {
  border-color: #0284c7;
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.35);
}

.btn-content {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  pointer-events: none;
}

/* ==========================================================================
   PEEKING GENZEE STICKER ANIMATION ON BUTTON HOVER
   ========================================================================== */
.btn-liquid-glass.btn-with-peeker {
  overflow: visible !important;
  position: relative;
}

.peeker-character {
  position: absolute;
  bottom: calc(100% - 12px);
  left: 50%;
  transform: translateX(-50%) translateY(36px) scale(0.55);
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  width: 78px;
  height: 78px;
  transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.7));
}

.peeker-character img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Trigger Peeking Animation on Cursor Hover */
.btn-with-peeker:hover .peeker-character,
.btn-with-peeker:focus-visible .peeker-character {
  opacity: 1;
  transform: translateX(-50%) translateY(-10px) scale(1);
}

.btn-cta-primary {
  background: #ffffff;
  color: #04060a;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 0.95rem 2.1rem;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 1);
}

.btn-cta-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 1);
  color: #000;
}

.btn-cta-glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.95rem 1.95rem;
  border-radius: 14px;
  font-size: 1.02rem;
  font-weight: 600;
}

.btn-cta-glass:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
  color: #fff;
}

.w-full {
  width: 100%;
}

/* ==========================================================================
   SCREEN 2: DETAILS SCREEN LAYER (Textured White Background with WHITEBACKGROUND.jpg)
   ========================================================================== */
.details-screen-layer {
  position: relative;
  z-index: 20;
  margin-top: 100vh;
  background-color: #ffffff;
  background-image: url('./WHITEBACKGROUND.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  color: #0f172a;
  opacity: 1;
  pointer-events: auto;
  min-height: 100vh;
  box-shadow: 0 -25px 50px rgba(0, 0, 0, 0.4);
}

.details-screen-layer.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Glass Panels */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Hero Details Section (Centered on Value Proposition with Transparent Background) */
.hero-details-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8.5rem 1.5rem 4.5rem;
  text-align: center;
  background: transparent;
}

.hero-content {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-section-pill {
  margin-bottom: 1.15rem;
}

.hero-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  font-weight: 900;
  line-height: 1.18;
  color: #090d16;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  max-width: 900px;
  text-shadow: none;
}

/* Subheadline */
.hero-subheadline {
  font-size: clamp(1.22rem, 2.5vw, 1.55rem);
  font-weight: 500;
  color: #334155;
  max-width: 880px;
  line-height: 1.65;
  margin-bottom: 2.8rem;
  text-shadow: none;
}

.hero-subheadline strong {
  color: #0284c7;
  font-weight: 700;
  border-bottom: 2px solid rgba(2, 132, 199, 0.3);
}

/* CTA Group */
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.8rem;
}

/* ==========================================================================
   3D COVERFLOW METRICS CAROUSEL (1:1 Aspect Ratio with Dark Vignette & Liquid Glass)
   ========================================================================== */
.coverflow-carousel-wrapper {
  --cf-card: clamp(260px, 25vw, 320px);
  width: 100%;
  max-width: 1240px;
  margin: 0 auto 3.5rem;
  position: relative;
  user-select: none;
}

.coverflow-frame {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 3rem 0 2rem;
  touch-action: pan-y pinch-zoom;
}

.coverflow-track {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: clamp(340px, 35vw, 420px);
  transform-style: preserve-3d;
  perspective: 1200px;
}

.coverflow-card {
  position: absolute;
  width: var(--cf-card);
  height: var(--cf-card);
  border-radius: 26px;
  overflow: hidden;
  will-change: transform, opacity, filter;
  transition: transform 0.12s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.15s ease-out, 
              filter 0.15s ease-out;
  cursor: pointer;
  transform-origin: center center;
}

/* 1:1 Square Card Image Backdrop */
.coverflow-card-bg,
.coverflow-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  z-index: 0;
  transform: scale(1.04);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.coverflow-card:hover .coverflow-card-bg,
.coverflow-card:hover .coverflow-bg-img {
  transform: scale(1.12);
}

/* Inner Vignette / Radial Dark Shadow */
.card-vignette-overlay,
.coverflow-vignette-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(
      circle at center,
      rgba(4, 6, 12, 0.35) 0%,
      rgba(4, 6, 12, 0.72) 60%,
      rgba(2, 4, 8, 0.94) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.3) 0%,
      rgba(0, 0, 0, 0.75) 100%
    );
  pointer-events: none;
  z-index: 1;
}

/* White Liquid Glass Bevel & Refraction Border */
.coverflow-card.liquid-glass-card {
  -webkit-backdrop-filter: blur(14px) url("#container-glass") saturate(190%);
  backdrop-filter: blur(14px) url("#container-glass") saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 
    0 30px 60px -12px rgba(0, 0, 0, 0.8),
    inset 1.5px 1.5px 2px rgba(255, 255, 255, 0.85),
    inset -1.5px -1.5px 2px rgba(255, 255, 255, 0.35);
}

.coverflow-card.liquid-glass-card .liquid-glass-border {
  position: absolute;
  inset: 0;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 
    inset 2px 2px 2px rgba(255, 255, 255, 0.6),
    inset -2px -2px 2px rgba(0, 0, 0, 0.6),
    inset 0 0 15px rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 2;
}

.metric-card-inner {
  position: absolute;
  inset: 0;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 10;
  pointer-events: none;
}

.metric-value {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 3.6vw, 3.1rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.05;
  margin-bottom: 0.55rem;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9), 0 1px 3px rgba(0, 0, 0, 1);
}

.metric-label {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 1px 3px rgba(0, 0, 0, 1);
}

.metric-sub {
  font-size: clamp(0.78rem, 1vw, 0.88rem);
  color: #e2e8f0;
  font-weight: 500;
  max-width: 90%;
  line-height: 1.45;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 1px 3px rgba(0, 0, 0, 1);
}

/* Navigation Chevrons */
.coverflow-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 150;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.coverflow-nav-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.coverflow-nav-btn.prev {
  left: 10px;
}

.coverflow-nav-btn.next {
  right: 10px;
}

/* Pagination Dots */
.coverflow-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.coverflow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.coverflow-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.coverflow-dot.active {
  width: 28px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: none;
}

/* ==========================================================================
   GENERIC SECTION LAYOUT
   ========================================================================== */
.section-block {
  padding: 7rem 1.5rem;
  position: relative;
  z-index: 5;
}

.section-container {
  max-width: 1240px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 4rem;
}

.section-pill {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #0f172a;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.16);
  padding: 0.35rem 0.95rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: #090d16;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.08rem;
  color: #475569;
  line-height: 1.6;
}

/* ==========================================================================
   SERVICES GRID (Varied Visual Weights & Editorial Layout)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1.38fr 1fr;
  gap: 1.75rem;
}

@media (max-width: 960px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card.engineered-card {
  padding: 1.85rem 1.75rem 1.6rem;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 
    0 10px 30px -5px rgba(15, 23, 42, 0.06),
    0 2px 8px -2px rgba(15, 23, 42, 0.04);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}

.service-card.engineered-card:hover {
  transform: translateY(-6px);
  border-color: rgba(2, 132, 199, 0.4);
  box-shadow: 
    0 25px 50px -10px rgba(15, 23, 42, 0.14),
    0 8px 16px -4px rgba(15, 23, 42, 0.08);
}

/* Wide Feature Cards (Desktop Horizontal Layout) */
@media (min-width: 961px) {
  .service-card.feature-card-wide {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 1.75rem;
    align-items: center;
  }

  .service-card.feature-card-wide .card-visual-hud {
    margin-bottom: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .service-card.feature-card-wide .card-content-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
  }
}

/* ==========================================================================
   CONCRETE PROJECT UI PREVIEW MOCKUPS
   ========================================================================== */
.card-visual-hud {
  width: 100%;
  border-radius: 14px;
  background: rgba(6, 9, 16, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.75rem 0.95rem 0.9rem;
  margin-bottom: 1.35rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.service-card.engineered-card:hover .card-visual-hud {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.hud-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hud-window-dots {
  display: flex;
  gap: 5px;
}

.hud-window-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  opacity: 0.85;
}
.hud-window-dots span:nth-child(1) { background: #ef4444; }
.hud-window-dots span:nth-child(2) { background: #f59e0b; }
.hud-window-dots span:nth-child(3) { background: #10b981; }

.hud-url-pill,
.hud-island-pill,
.hud-saas-title,
.hud-ai-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono, monospace);
  font-size: 0.7rem;
  color: #cbd5e1;
  font-weight: 500;
}

.hud-badge {
  font-family: var(--font-mono, monospace);
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.hud-badge.green {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.hud-badge.cyan {
  background: rgba(56, 189, 248, 0.18);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.hud-badge.purple {
  background: rgba(168, 85, 247, 0.18);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.35);
}

.hud-preview-content {
  padding-top: 0.65rem;
}

/* 1. Real Web App / E-Commerce Preview */
.real-ui-search-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-size: 0.68rem;
  color: #94a3b8;
  margin-bottom: 0.55rem;
}

.real-ui-listing-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.real-ui-card-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  overflow: hidden;
  padding: 0.35rem;
}

.real-ui-thumb {
  height: 38px;
  border-radius: 4px;
  position: relative;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: flex-start;
  padding: 0.2rem;
}
.real-ui-thumb.villa-thumb {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1px solid rgba(56, 189, 248, 0.2);
}
.real-ui-thumb.penthouse-thumb {
  background: linear-gradient(135deg, #334155, #1e1b4b);
  border: 1px solid rgba(129, 140, 248, 0.2);
}

.thumb-badge {
  font-size: 0.55rem;
  font-weight: 700;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  background: rgba(56, 189, 248, 0.25);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.real-ui-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.real-ui-price {
  font-size: 0.72rem;
  font-weight: 800;
  color: #ffffff;
}

.real-ui-sub {
  font-size: 0.58rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 2. Real Mobile App Interface Preview */
.mobile-top-bar {
  font-size: 0.68rem;
}

.mobile-clock {
  font-family: var(--font-mono, monospace);
  font-size: 0.68rem;
  font-weight: 700;
  color: #e2e8f0;
}

.mobile-status-icons {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: #94a3b8;
}

.mobile-lead-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
  margin-bottom: 0.55rem;
}

.mobile-lead-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mobile-lead-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  overflow: hidden;
}

.mobile-lead-info strong {
  font-size: 0.68rem;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-lead-info span {
  font-size: 0.58rem;
  color: #94a3b8;
}

.mobile-lead-status {
  font-size: 0.55rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.18);
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.mobile-tab-bar {
  display: flex;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0.25rem 0.5rem;
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  font-size: 0.55rem;
  color: #64748b;
}

.tab-item.active {
  color: #38bdf8;
  font-weight: 700;
}

/* 3. Real SaaS Executive Admin Dashboard Preview */
.saas-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
}

.saas-metric-box {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0.35rem 0.5rem;
}

.metric-title {
  display: block;
  font-size: 0.58rem;
  color: #94a3b8;
  margin-bottom: 2px;
}

.metric-value-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.metric-value-row strong {
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
}

.metric-trend {
  font-size: 0.58rem;
  font-weight: 700;
}
.metric-trend.green { color: #34d399; }
.metric-trend.cyan { color: #38bdf8; }

.saas-chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 38px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 0.3rem 0.45rem 0.15rem;
  gap: 3px;
}

.chart-bar {
  flex: 1;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: all 0.3s ease;
}
.chart-bar.active,
.chart-bar:hover {
  background: linear-gradient(to top, #0284c7, #38bdf8);
}

.chart-bar span {
  font-size: 0.48rem;
  color: #64748b;
  transform: translateY(12px);
  position: absolute;
}

/* 4. Real AI Agent Workflow Preview */
.real-ai-ui {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.ai-chat-bubble {
  border-radius: 8px;
  padding: 0.35rem 0.55rem;
  font-size: 0.66rem;
  line-height: 1.4;
}

.ai-chat-bubble.user {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  align-self: flex-start;
  font-style: italic;
}

.ai-chat-bubble.bot {
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.25);
  color: #ffffff;
}

.bot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-bottom: 2px;
}

.bot-badge {
  font-size: 0.58rem;
  font-weight: 700;
  color: #c084fc;
}

.bot-citation {
  font-size: 0.55rem;
  font-family: var(--font-mono, monospace);
  color: #a855f7;
  background: rgba(168, 85, 247, 0.15);
  padding: 0.05rem 0.3rem;
  border-radius: 3px;
}

.ai-chat-bubble.bot p {
  margin: 0;
  font-size: 0.62rem;
  color: #cbd5e1;
}

.ai-action-badge {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6rem;
  font-weight: 600;
  color: #86efac;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  padding: 0.25rem 0.5rem;
  border-radius: 5px;
}

.card-meta-tag {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #0284c7;
  margin-bottom: 0.45rem;
}

.service-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 0.65rem;
}

.service-description {
  font-size: 0.94rem;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  font-weight: 450;
  flex-grow: 1;
}

/* Chips Grid */
.service-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
}

.tech-chip {
  font-size: 0.76rem;
  font-weight: 600;
  color: #0f172a;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 0.28rem 0.7rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.service-card:hover .tech-chip {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

/* Card Footer Row */
.card-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.turnaround-tag {
  font-family: var(--font-mono, monospace);
  font-size: 0.76rem;
  font-weight: 700;
  color: #64748b;
}

.card-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  color: #0284c7;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.card-action-btn:hover {
  color: #0369a1;
  transform: translateX(3px);
}

/* ==========================================================================
   3D COVERFLOW CAROUSEL
   ========================================================================== */
.coverflow-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 1.5rem auto 0;
  --cf-card: clamp(300px, 36vw, 480px);
}

.coverflow-frame-viewport {
  position: relative;
  width: 100%;
  padding: 2.5rem 0 1.5rem;
  overflow: hidden;
  outline: none;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.coverflow-frame-viewport:active {
  cursor: grabbing;
}

.coverflow-track {
  position: relative;
  width: 100%;
  height: calc(var(--cf-card) * 0.65);
  transform-style: preserve-3d;
}

.coverflow-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--cf-card);
  height: 100%;
  border-radius: 14px;
  background: rgba(10, 15, 28, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 
    0 22px 55px -10px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  overflow: hidden;
  will-change: transform, opacity;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.coverflow-card:hover {
  border-color: rgba(255, 255, 255, 0.45);
}

.coverflow-browser-window {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.coverflow-browser-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  background: rgba(8, 12, 22, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.coverflow-browser-chrome .browser-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

.coverflow-browser-chrome .browser-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  opacity: 0.9;
}

.coverflow-browser-chrome .browser-dots .dot.red { background: #ef4444; }
.coverflow-browser-chrome .browser-dots .dot.yellow { background: #eab308; }
.coverflow-browser-chrome .browser-dots .dot.green { background: #22c55e; }

.coverflow-browser-chrome .browser-url-bar {
  flex: 1;
  max-width: 55%;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.55rem;
  border-radius: 12px;
  color: #94a3b8;
  font-family: var(--font-mono, monospace);
  font-size: 0.65rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.coverflow-browser-chrome .browser-url-bar svg {
  color: #38bdf8;
  flex-shrink: 0;
}

.coverflow-browser-chrome .browser-open-btn {
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.2s ease;
  text-decoration: none;
}

.coverflow-browser-chrome .browser-open-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.08);
}

.coverflow-screen-wrap {
  position: relative;
  width: 100%;
  flex: 1;
  background: #020617;
  overflow: hidden;
}

.coverflow-live-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: #0f172a;
}

/* Clean Human Caption Area below Coverflow */
.coverflow-caption-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 1.25rem;
  transition: opacity 0.25s ease;
}

.coverflow-caption-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.02em;
  margin-bottom: 0.25rem;
}

.coverflow-caption-sub {
  font-size: 0.82rem;
  color: #64748b;
}

/* Chevrons */
.coverflow-nav-btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 120;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(15, 23, 42, 0.18);
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.coverflow-nav-btn:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
}

.coverflow-nav-btn.prev { left: 4px; }
.coverflow-nav-btn.next { right: 4px; }

/* Pagination Dots */
.coverflow-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.coverflow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.coverflow-dot:hover {
  background: rgba(15, 23, 42, 0.5);
}

.coverflow-dot.active {
  width: 24px;
  border-radius: 20px;
  background: #0f172a;
}

@media (max-width: 768px) {
  .coverflow-carousel-wrapper {
    --cf-card: clamp(260px, 80vw, 340px);
  }
  .coverflow-nav-btn.prev { left: 2px; }
  .coverflow-nav-btn.next { right: 2px; }
}

/* ==========================================================================
   SOLUTIONS BY SCALE TABS
   ========================================================================== */
.scale-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.scale-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.65rem;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.scale-tab-btn:hover {
  color: #0f172a;
  background: #f1f5f9;
  border-color: #94a3b8;
}

.scale-tab-btn.active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
}

/* White Solid Apple-Style Main Card */
.scale-content-box {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 24px;
  padding: 3.25rem 2.75rem;
  box-shadow: 
    0 20px 45px -10px rgba(15, 23, 42, 0.08),
    0 2px 8px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  isolation: isolate;
  transition: all 0.35s ease;
}

.scale-content-box:hover {
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: 
    0 25px 55px -10px rgba(15, 23, 42, 0.12),
    0 4px 12px rgba(15, 23, 42, 0.06);
}

.scale-panel {
  display: none;
  position: relative;
  z-index: 1;
}

.scale-panel.active {
  display: block;
  animation: fadeIn 0.4s ease-out;
}

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

/* Card Background Image & Cinematic Black Vignette */
.panel-card-bg-wrap {
  position: absolute;
  top: -3.25rem;
  left: -2.75rem;
  right: -2.75rem;
  bottom: -3.25rem;
  border-radius: 24px;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

.panel-card-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: brightness(0.96) saturate(112%);
  transform: scale(1.02);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.scale-content-box:hover .panel-card-bg-img {
  transform: scale(1.06);
}

.panel-card-vignette {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, rgba(6, 10, 20, 0.88) 0%, rgba(6, 10, 20, 0.72) 40%, rgba(6, 10, 20, 0.18) 72%, rgba(6, 10, 20, 0.4) 100%),
    radial-gradient(ellipse at 70% 50%, transparent 35%, rgba(2, 4, 10, 0.6) 100%);
  pointer-events: none;
}

.scale-panel-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.scale-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0284c7;
  margin-bottom: 0.85rem;
}

.scale-info h3 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.scale-info p {
  color: #334155;
  font-size: 1.02rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-weight: 450;
}

.scale-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.perk-item {
  font-size: 0.92rem;
  color: #1e293b;
  font-weight: 600;
}

/* Local Business Card with Background Artwork Overrides */
#panel-local.has-bg-art .scale-badge {
  color: #38bdf8;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

#panel-local.has-bg-art .scale-info h3 {
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}

#panel-local.has-bg-art .scale-info p {
  color: #e2e8f0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

#panel-local.has-bg-art .perk-item {
  color: #f8fafc;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
}

#panel-local.has-bg-art .preview-mini-hud {
  background: rgba(10, 15, 26, 0.78);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  color: #ffffff;
}

#panel-local.has-bg-art .hud-header {
  background: rgba(255, 255, 255, 0.09);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

#panel-local.has-bg-art .hud-title {
  color: #ffffff;
}

#panel-local.has-bg-art .hud-body {
  background: transparent;
}

#panel-local.has-bg-art .hud-stat-row {
  color: #cbd5e1;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.16);
}

#panel-local.has-bg-art .btn-liquid-primary {
  background: #ffffff;
  color: #0f172a !important;
  border-color: #ffffff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 1);
}

#panel-local.has-bg-art .btn-liquid-primary .liquid-glass-backdrop {
  background: #ffffff;
}

#panel-local.has-bg-art .btn-liquid-primary .liquid-glass-border {
  border-color: #ffffff;
}

#panel-local.has-bg-art .btn-liquid-primary:hover {
  background: #38bdf8;
  border-color: #38bdf8;
  color: #04060a !important;
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.45);
}

#panel-local.has-bg-art .btn-liquid-primary:hover .liquid-glass-backdrop {
  background: #38bdf8;
}

/* Complete White Background Mini HUD for other tabs */
.preview-mini-hud {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 15px 35px -5px rgba(15, 23, 42, 0.08),
    0 2px 6px rgba(15, 23, 42, 0.04);
  color: #0f172a;
}

.hud-header {
  padding: 1rem 1.4rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hud-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.hud-dot.red { background: #ef4444; }
.hud-dot.yellow { background: #f59e0b; }
.hud-dot.green { background: #10b981; }

.hud-title {
  margin-left: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.hud-body {
  padding: 1.85rem 1.6rem;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.hud-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.95rem;
  border-bottom: 1px dashed #e2e8f0;
  font-size: 0.96rem;
  color: #334155;
  font-weight: 600;
}

.hud-stat-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.text-glow-green { 
  color: #059669; 
  font-weight: 800; 
  font-size: 1.05rem;
}
.text-glow-cyan { 
  color: #0284c7; 
  font-weight: 800; 
  font-size: 1.05rem;
}
.text-glow-yellow { 
  color: #d97706; 
  font-weight: 800; 
  font-size: 1.05rem;
}

/* ==========================================================================
   INTERACTIVE COST ESTIMATOR (DYNAMIC MULTI-BACKGROUND ARTWORK & VIGNETTE)
   ========================================================================== */
.estimator-box {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  padding: 3.25rem 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 
    0 25px 65px -15px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.estimator-bg-layer {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.estimator-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  filter: brightness(0.96) saturate(112%);
}

.estimator-bg-img.active {
  opacity: 1;
  transform: scale(1.01);
}

.estimator-box:hover .estimator-bg-img.active {
  transform: scale(1.04);
}

/* Cinematic Black Vignette across Estimator Card */
.estimator-vignette {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, rgba(6, 10, 20, 0.88) 0%, rgba(6, 10, 20, 0.72) 42%, rgba(6, 10, 20, 0.18) 72%, rgba(6, 10, 20, 0.4) 100%),
    radial-gradient(ellipse at 70% 50%, transparent 35%, rgba(2, 4, 10, 0.6) 100%);
  pointer-events: none;
  z-index: 1;
}

.estimator-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 2.75rem;
  align-items: start;
}

.estimator-step {
  margin-bottom: 2rem;
}

.estimator-step:last-child {
  margin-bottom: 0;
}

.step-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.85rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.option-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pill-btn {
  padding: 0.65rem 1.15rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #e2e8f0;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.pill-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
  transform: translateY(-1px);
}

.pill-btn.active {
  background: #ffffff;
  border-color: #ffffff;
  color: #0f172a;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 1);
  transform: translateY(-1px);
}

.feature-checkboxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.check-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.check-card:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.38);
  transform: translateY(-1px);
}

.check-card input {
  display: none;
}

.check-box-custom {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: inline-block;
  position: relative;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.check-card input:checked + .check-box-custom {
  background: #38bdf8;
  border-color: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.check-card input:checked + .check-box-custom::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  color: #04060a;
  font-size: 11px;
  font-weight: 900;
}

.check-label {
  font-size: 0.88rem;
  color: #f1f5f9;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Result Summary Card inside Estimator on Dark Vignette */
.estimator-summary-card {
  background: rgba(10, 15, 28, 0.82);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.summary-badge {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: inline-block;
  margin-bottom: 1.25rem;
  align-self: flex-start;
}

.summary-header h4 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 0.45rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.summary-header p {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.45;
  margin-bottom: 1.5rem;
}

.summary-metrics {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding: 1.25rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.35rem;
}

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

.sum-label {
  font-size: 0.88rem;
  color: #cbd5e1;
  font-weight: 500;
}

.sum-value {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
}

.price-highlight {
  font-size: 1.55rem;
  color: #38bdf8;
  font-weight: 900;
  text-shadow: 0 0 15px rgba(56, 189, 248, 0.45);
}

.summary-note {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   3D TILTED SOLAR PLANETARY ORBIT SYSTEM
   ========================================================================== */
.solar-system-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px;
  height: 520px;
  margin: 1.5rem auto 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1300px;
  -webkit-perspective: 1300px;
  user-select: none;
}

.solar-plane {
  position: relative;
  width: 720px;
  height: 720px;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transform: rotateX(64deg) rotateZ(-14deg);
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
}

/* Central Core Sun */
.solar-sun-core {
  position: absolute;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0284c7 100%);
  box-shadow: 
    0 12px 32px rgba(2, 132, 199, 0.38),
    0 0 25px rgba(2, 132, 199, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transform-style: preserve-3d;
  transform: rotateZ(14deg) rotateX(-64deg);
  border: 2.5px solid #ffffff;
}

.sun-flare {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35) 0%, rgba(56, 189, 248, 0) 70%);
  pointer-events: none;
  animation: sunPulse 3s infinite ease-in-out;
}

.sun-flare.flare-2 {
  inset: -25px;
  animation-delay: 1.5s;
  opacity: 0.5;
}

@keyframes sunPulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.15); opacity: 0.8; }
}

.sun-inner {
  text-align: center;
  color: #ffffff;
  font-family: var(--font-heading);
  line-height: 1.1;
}

.sun-core-title {
  display: block;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: #ffffff;
}

.sun-core-sub {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #38bdf8;
}

/* Concentric Tilted Orbital Rings */
.solar-orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(15, 23, 42, 0.2);
  pointer-events: none;
  box-shadow: inset 0 0 20px rgba(2, 132, 199, 0.04);
}

.solar-orbit-ring.ring-1 {
  width: 280px;
  height: 280px;
}

.solar-orbit-ring.ring-2 {
  width: 500px;
  height: 500px;
}

.solar-orbit-ring.ring-3 {
  width: 720px;
  height: 720px;
}

/* Planetary Tech Nodes */
.planet-node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  will-change: transform;
  pointer-events: auto;
  cursor: pointer;
}

.planet-card {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 1.25rem 0.55rem 0.65rem;
  border-radius: 100px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.14);
  box-shadow: 
    0 10px 25px -4px rgba(15, 23, 42, 0.1),
    0 2px 6px rgba(15, 23, 42, 0.04);
  white-space: nowrap;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.planet-node:hover .planet-card {
  transform: scale(1.12);
  border-color: #0284c7;
  box-shadow: 
    0 16px 36px -5px rgba(2, 132, 199, 0.3),
    0 4px 12px rgba(15, 23, 42, 0.08);
}

.planet-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.planet-node:hover .planet-icon-box {
  transform: scale(1.08);
}

.planet-icon-box.cyan {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: #0284c7;
}

.planet-icon-box.blue {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #2563eb;
}

.planet-icon-box.green {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #16a34a;
}

.planet-icon-box.yellow {
  background: #fefce8;
  border: 1px solid #fef08a;
  color: #ca8a04;
}

.planet-icon-box.purple {
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  color: #4f46e5;
}

.planet-icon-box.pink {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #ea580c;
}

.planet-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.planet-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.planet-role {
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
  letter-spacing: 0.01em;
}

.mobile-tech-grid {
  display: none;
}

/* ==========================================================================
   PROCESS STEPS
   ========================================================================== */

/* ==========================================================================
   VERTICAL PROCESS STEP CARDS WITH DEDICATED RIGHT-SIDE IMAGE FRAMES
   ========================================================================== */
.process-vertical-list {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  max-width: 1040px;
  margin: 0 auto;
}

.process-vertical-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.75rem;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 24px;
  padding: 2.5rem 2.5rem;
  box-shadow: 
    0 15px 35px -5px rgba(15, 23, 42, 0.06),
    0 2px 6px rgba(15, 23, 42, 0.04);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.35s ease, 
              box-shadow 0.35s ease;
  position: relative;
  overflow: hidden;
}

.process-vertical-card:hover {
  transform: translateY(-4px);
  border-color: rgba(2, 132, 199, 0.4);
  box-shadow: 
    0 24px 50px -10px rgba(15, 23, 42, 0.12),
    0 4px 12px rgba(15, 23, 42, 0.06);
}

.process-content-side {
  display: flex;
  flex-direction: column;
}

.process-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.process-step-pill {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #0284c7;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 0.28rem 0.8rem;
  border-radius: 50px;
}

.process-step-num {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 900;
  color: #94a3b8;
  letter-spacing: -0.02em;
}

.process-step-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 0.85rem;
}

.process-step-desc {
  font-size: 0.98rem;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-weight: 450;
}

.process-deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.deliverable-item {
  font-size: 0.82rem;
  font-weight: 600;
  color: #0f172a;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
}

/* Dedicated Right-Side Image Frame */
.process-frame-side {
  width: 100%;
}

.process-image-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 
    0 12px 28px -6px rgba(15, 23, 42, 0.1),
    0 2px 6px rgba(15, 23, 42, 0.04);
  background: #f1f5f9;
}

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

.process-vertical-card:hover .process-frame-img {
  transform: scale(1.04);
}

@media (max-width: 860px) {
  .process-vertical-card {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 1.85rem 1.6rem;
  }
}

/* ==========================================================================
   CONTACT FORM & CARD
   ========================================================================== */
.contact-box.liquid-glass-card {
  position: relative;
  padding: 3.5rem 3rem;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 
    0 25px 60px -15px rgba(15, 23, 42, 0.08),
    0 2px 8px rgba(15, 23, 42, 0.04);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  gap: 3.5rem;
}

.contact-headline {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.25;
  color: #0f172a;
  margin-bottom: 1rem;
}

.contact-info p {
  color: #334155;
  font-size: 1.02rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-weight: 450;
}

.contact-points-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.contact-points {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Small Video Frame */
.contact-video-frame {
  width: 155px;
  height: 180px;
  flex-shrink: 0;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.15);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.contact-video-frame:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: rgba(2, 132, 199, 0.4);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.14);
}

.video-crop-container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

/* Cropped 10% on left and 10% on right */
.contact-webm-video {
  width: 125%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: translateX(-10%);
  display: block;
  pointer-events: none;
}

.video-frame-border {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  pointer-events: none;
}

/* Contact Point Rows with Vector Badges */
.point-row {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.point-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #0f172a;
}

.point-icon-box.cyan,
.point-icon-box.amber,
.point-icon-box.blue {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

.point-row strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  color: #0f172a;
  margin-bottom: 0.15rem;
  font-weight: 800;
}

.point-row p {
  font-size: 0.88rem;
  color: #475569;
  margin-bottom: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.01em;
  text-shadow: none;
}

/* Crisp Light Form Inputs */
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.15rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  outline: none;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #64748b;
  font-weight: 400;
  opacity: 0.95;
}

.form-group select {
  background-color: #f8fafc;
  color: #0f172a;
  cursor: pointer;
}

.form-group select option {
  background: #ffffff;
  color: #0f172a;
  padding: 0.5rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: #ffffff;
  border-color: #0284c7;
  color: #0f172a;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
  transform: translateY(-1px);
}

.form-group select option {
  background: #0d111b;
  color: #fff;
}

.form-status {
  padding: 0.85rem;
  border-radius: 10px;
  font-size: 0.9rem;
  display: none;
}

.form-status.success {
  display: block;
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #15803d;
  font-weight: 600;
  line-height: 1.5;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
  color: #ffffff !important;
  border: 1px solid #25D366 !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35) !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.65rem !important;
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #22bf5b 0%, #0e7266 100%) !important;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.48) !important;
  transform: translateY(-2px) !important;
}

.whatsapp-direct-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  margin-top: 0.85rem;
  text-decoration: none;
  transition: all 0.25s ease;
  width: fit-content;
  box-shadow: 0 2px 6px rgba(34, 197, 94, 0.12);
}

.whatsapp-direct-badge:hover {
  background: #dcfce7;
  border-color: #86efac;
  transform: translateY(-1px);
  color: #166534;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.form-disclaimer {
  font-size: 0.82rem;
  color: #64748b;
  text-align: center;
  margin-top: -0.35rem;
  margin-bottom: 0;
}

.form-disclaimer a {
  color: #16a34a;
  font-weight: 700;
  text-decoration: underline;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: rgba(4, 6, 10, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4.5rem 1.5rem 2.5rem;
  position: relative;
  z-index: 10;
}

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

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-top: 0.85rem;
  max-width: 320px;
}

.footer-nav-col h5 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer-nav-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  margin-bottom: 0.65rem;
  transition: color 0.2s ease;
}

.footer-nav-col a:hover {
  color: var(--accent-cyan);
}

.status-indicator-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  margin-top: 0.75rem;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 8px #34d399;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: var(--text-dim);
}

.back-to-top {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.back-to-top:hover {
  color: #fff;
}

/* ==========================================================================
   UNIVERSAL SCROLL REVEAL & TEXT REVEAL ENGINE
   ========================================================================== */

/* Section Blocks & Major Containers */
.section-block,
.section-header,
.hero-content,
.hero-stats,
.service-card,
.tech-category-card,
.step-card,
.scale-content-box,
.estimator-grid,
.contact-grid,
.contact-card,
.footer-content,
.footer-bottom {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.section-block.is-visible,
.section-header.is-visible,
.hero-content.is-visible,
.hero-stats.is-visible,
.service-card.is-visible,
.tech-category-card.is-visible,
.step-card.is-visible,
.scale-content-box.is-visible,
.estimator-grid.is-visible,
.contact-grid.is-visible,
.contact-card.is-visible,
.footer-content.is-visible,
.footer-bottom.is-visible,
.details-screen-layer.visible .section-block {
  opacity: 1;
  transform: translateY(0);
}

/* 1. Text Reveal: Pills, Eyebrow Badges & Step Numbers */
.section-pill,
.hero-badge,
.scale-badge,
.summary-badge,
.tag-chip,
.step-number {
  display: inline-flex;
  opacity: 0;
  transform: translateY(14px) scale(0.94);
  filter: blur(4px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.is-visible .section-pill,
.is-visible .hero-badge,
.is-visible .scale-badge,
.is-visible .summary-badge,
.is-visible .tag-chip,
.is-visible .step-number,
.section-pill.is-visible,
.hero-badge.is-visible,
.details-screen-layer.visible .section-pill,
.details-screen-layer.visible .scale-badge,
.details-screen-layer.visible .tag-chip,
.details-screen-layer.visible .summary-badge {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* 2. Text Reveal: Headings & Word Slide-Up */
.section-title,
.scale-info h3,
.summary-header h4,
.service-card h3,
.step-card h3,
.tech-category-card h3,
.estimator-header h3,
.contact-card h3,
.contact-headline,
.footer-branding h3,
.footer-links-col h4 {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(6px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), filter 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform, filter;
}

.is-visible .section-title,
.is-visible .scale-info h3,
.is-visible .summary-header h4,
.is-visible .service-card h3,
.is-visible .step-card h3,
.is-visible .tech-category-card h3,
.is-visible .estimator-header h3,
.is-visible .contact-card h3,
.is-visible .contact-headline,
.is-visible .footer-branding h3,
.is-visible .footer-links-col h4,
.section-title.is-visible,
.details-screen-layer.visible .section-title {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Word-by-word reveal spans inside titles */
.reveal-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  filter: blur(5px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--word-idx, 0) * 0.038s);
  will-change: opacity, transform, filter;
  margin-right: 0.26em;
}

.reveal-word:last-child {
  margin-right: 0;
}

.is-visible .reveal-word,
.details-screen-layer.visible .reveal-word {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* 3. Text Reveal: Paragraphs, Descriptions & Subheadlines */
.section-desc,
.hero-subheadline,
.service-description,
.scale-info p,
.step-card p,
.tech-category-card p,
.contact-description,
.footer-branding p,
.estimator-header p,
.timeline-desc,
.footer-bottom p {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(4px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, filter 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
  will-change: opacity, transform, filter;
}

.is-visible .section-desc,
.is-visible .hero-subheadline,
.is-visible .service-description,
.is-visible .scale-info p,
.is-visible .step-card p,
.is-visible .tech-category-card p,
.is-visible .contact-description,
.is-visible .footer-branding p,
.is-visible .estimator-header p,
.is-visible .timeline-desc,
.is-visible .footer-bottom p {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* 4. Text Reveal: Staggered List Items, Perks, Tags & Links */
.scale-perks .perk-item,
.tech-tags-list .tech-stack-tag,
.contact-details-list .contact-detail-item,
.footer-links-col li,
.hero-stat-card,
.estimator-sidebar .summary-item {
  opacity: 0;
  transform: translateY(16px);
  filter: blur(4px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--item-idx, 0) * 0.045s + 0.1s);
  will-change: opacity, transform, filter;
}

.is-visible .scale-perks .perk-item,
.is-visible .tech-tags-list .tech-stack-tag,
.is-visible .contact-details-list .contact-detail-item,
.is-visible .footer-links-col li,
.is-visible .hero-stat-card,
.is-visible .estimator-sidebar .summary-item {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* 5. Staggered Card Grid Items */
.services-grid .service-card:nth-child(1) { transition-delay: 0.04s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.12s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.20s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.28s; }

.tech-grid .tech-category-card:nth-child(1) { transition-delay: 0.04s; }
.tech-grid .tech-category-card:nth-child(2) { transition-delay: 0.12s; }
.tech-grid .tech-category-card:nth-child(3) { transition-delay: 0.20s; }
.tech-grid .tech-category-card:nth-child(4) { transition-delay: 0.28s; }

.process-steps-grid .step-card:nth-child(1) { transition-delay: 0.04s; }
.process-steps-grid .step-card:nth-child(2) { transition-delay: 0.12s; }
.process-steps-grid .step-card:nth-child(3) { transition-delay: 0.20s; }
.process-steps-grid .step-card:nth-child(4) { transition-delay: 0.28s; }
.process-steps-grid .step-card:nth-child(5) { transition-delay: 0.36s; }

/* ==========================================================================
   SMOOTH PARALLAX ENGINE (FOR BIG CARDS ONLY)
   ========================================================================== */
.parallax-big-card {
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: box-shadow 0.35s ease;
}

/* ==========================================================================
   COMPREHENSIVE MOBILE RESPONSIVE OPTIMIZATION (COMPACT & DECONGESTED)
   ========================================================================== */

/* Tablet & Smaller Laptops (<= 1024px) */
@media (max-width: 1024px) {
  .section-container {
    padding: 0 1.5rem;
  }
  
  .scale-panel-grid,
  .estimator-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* Mobile Devices & Tablets (<= 960px) */
@media (max-width: 960px) {
  html, body {
    overflow-x: hidden;
  }

  /* Compact Header */
  .site-header {
    padding: 0.75rem 1rem !important;
  }

  .site-header .header-container,
  .site-header.scrolled .header-container,
  .header-container {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    min-height: 50px !important;
    padding: 0.55rem 1rem !important;
  }

  .site-header .brand-logo,
  .site-header.scrolled .brand-logo,
  .brand-logo {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    text-align: center !important;
    white-space: nowrap !important;
    z-index: 5 !important;
    pointer-events: auto !important;
  }

  .site-header .brand-title,
  .site-header.scrolled .brand-title,
  .brand-title {
    font-size: 1.15rem !important;
    letter-spacing: 0.16em !important;
    text-align: center !important;
  }

  .brand-badge {
    display: none !important;
  }

  .site-header .header-actions,
  .site-header.scrolled .header-actions,
  .header-actions {
    position: relative !important;
    z-index: 10 !important;
    margin-left: auto !important;
    display: flex !important;
    align-items: center !important;
  }

  .header-actions .btn {
    display: none; /* Hide huge button to eliminate header congestion */
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(8, 12, 22, 0.97);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    padding: 1.25rem 1.25rem;
    gap: 0.85rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.9);
    transform: translateY(-6px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    z-index: 200;
  }

  .nav-links.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 0.88rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  button.mobile-toggle,
  .mobile-toggle,
  .site-header .mobile-toggle,
  .site-header.scrolled .mobile-toggle {
    all: unset !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4.5px !important;
    width: 38px !important;
    height: 38px !important;
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  button.mobile-toggle span,
  .mobile-toggle span,
  .site-header .mobile-toggle span,
  .site-header.scrolled .mobile-toggle span {
    display: block !important;
    width: 22px !important;
    height: 2.2px !important;
    background: #0f172a !important;
    background-color: #0f172a !important;
    border-radius: 2px !important;
    border: none !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
  }

  .mobile-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg) !important;
  }
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0 !important;
    transform: scale(0) !important;
  }
  .mobile-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg) !important;
  }

  /* Remove Vignette & Heavy Dark Overlays on Mobile */
  .vignette-overlay,
  .valley-vignette-overlay,
  .estimator-vignette,
  .noise-overlay,
  .ambient-canvas {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* Complete Solid Pure White Background on Mobile from 2nd Page Downwards */
  .details-screen-layer {
    margin-top: 100vh !important;
    background-color: #ffffff !important;
    background-image: none !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
    box-shadow: none !important;
  }

  .hero-details-section {
    background-color: #ffffff !important;
    background-image: none !important;
  }

  /* Compact Section Spacings & Typography */
  .section-block {
    padding: 2.25rem 0;
  }

  .section-container {
    padding: 0 1rem;
  }

  .section-header {
    margin-bottom: 1.25rem;
  }

  .section-pill {
    font-size: 0.62rem;
    padding: 0.2rem 0.6rem;
    margin-bottom: 0.5rem;
  }

  .section-title {
    font-size: clamp(1.25rem, 5vw, 1.48rem);
    line-height: 1.25;
    margin-bottom: 0.45rem;
  }

  .section-desc {
    font-size: 0.8rem;
    line-height: 1.45;
    max-width: 100%;
  }

  /* Hero Screen 2 */
  .hero-details-section {
    padding: 4.5rem 1rem 2rem;
    min-height: auto;
  }

  .hero-main-title {
    font-size: clamp(1.75rem, 7vw, 2.3rem);
    line-height: 1.2;
    margin-bottom: 0.85rem;
  }

  .hero-subheadline {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
  }

  .btn-liquid-glass {
    width: 100%;
    max-width: 280px;
    padding: 0.7rem 1.15rem;
    font-size: 0.85rem;
    border-radius: 12px;
    justify-content: center;
  }

  /* Automatic Peeking Animation on Mobile */
  @keyframes mobilePeekerAutoPeek {
    0%, 10% {
      opacity: 0;
      transform: translateX(-50%) translateY(32px) scale(0.55);
    }
    20%, 65% {
      opacity: 1;
      transform: translateX(-50%) translateY(-10px) scale(1);
    }
    75%, 100% {
      opacity: 0;
      transform: translateX(-50%) translateY(32px) scale(0.55);
    }
  }

  .peeker-character {
    width: 54px;
    height: 54px;
    bottom: calc(100% - 6px);
    animation: mobilePeekerAutoPeek 5s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
  }

  /* 3D Coverflow Carousel (Compact & Crisp) */
  .coverflow-carousel-wrapper {
    --cf-card: clamp(170px, 54vw, 210px);
    margin-bottom: 1.5rem;
  }

  .coverflow-frame {
    padding: 1.25rem 0 1rem;
  }

  .coverflow-nav-btn {
    width: 32px;
    height: 32px;
  }

  .coverflow-nav-btn.prev { left: 2px; }
  .coverflow-nav-btn.next { right: 2px; }

  .metric-card-inner {
    padding: 0.95rem 0.65rem;
  }

  .metric-value {
    font-size: 1.5rem;
  }

  .metric-label {
    font-size: 0.78rem;
  }

  .metric-sub {
    font-size: 0.65rem;
  }

  /* Services Grid (Compact & Engineered) */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .service-card.engineered-card {
    padding: 1.1rem 1rem;
    border-radius: 14px;
  }

  .card-visual-hud {
    padding: 0.55rem 0.65rem;
    margin-bottom: 0.85rem;
  }

  .card-meta-tag {
    font-size: 0.6rem;
  }

  .service-name {
    font-size: 1.02rem;
    margin-bottom: 0.35rem;
  }

  .service-description {
    font-size: 0.78rem;
    line-height: 1.45;
    margin-bottom: 0.75rem;
  }

  .service-chips-grid {
    gap: 0.3rem;
    margin-bottom: 0.85rem;
    padding-top: 0.55rem;
  }

  .tech-chip {
    font-size: 0.65rem;
    padding: 0.15rem 0.45rem;
  }

  .card-footer-row {
    padding-top: 0.55rem;
  }

  .turnaround-tag {
    font-size: 0.65rem;
  }

  .card-action-btn {
    font-size: 0.75rem;
  }

  /* Solutions by Scale (Compact Pill Row & Mini HUD) */
  .scale-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    padding: 0.2rem 0.2rem 0.4rem;
    gap: 0.45rem;
    scrollbar-width: none;
    margin-bottom: 1rem;
  }

  .scale-tabs::-webkit-scrollbar {
    display: none;
  }

  .scale-tab-btn {
    flex-shrink: 0;
    padding: 0.5rem 0.85rem;
    font-size: 0.75rem;
    border-radius: 50px;
  }

  .scale-content-box {
    padding: 1.15rem 0.95rem;
    border-radius: 14px;
  }

  .scale-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
  }

  .scale-info p {
    font-size: 0.78rem;
    line-height: 1.45;
    margin-bottom: 0.85rem;
  }

  .scale-perks {
    grid-template-columns: 1fr;
    gap: 0.45rem;
    margin-bottom: 1rem;
  }

  .perk-item {
    font-size: 0.75rem;
    gap: 0.4rem;
  }

  .preview-mini-hud {
    width: 100%;
    margin-top: 0.85rem;
    border-radius: 10px;
  }

  .hud-header {
    padding: 0.55rem 0.75rem;
    font-size: 0.72rem;
  }

  .hud-body {
    padding: 0.85rem 0.75rem;
    gap: 0.55rem;
  }

  .hud-stat-row {
    font-size: 0.75rem;
  }

  /* Cost Estimator (Compact & Finger-Friendly) */
  .estimator-box {
    padding: 1.15rem 0.95rem;
    border-radius: 14px;
  }

  .estimator-step .step-label {
    font-size: 0.85rem;
    margin-bottom: 0.45rem;
  }

  .option-pills {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .pill-btn {
    padding: 0.5rem 0.65rem;
    font-size: 0.75rem;
    min-height: 36px;
    border-radius: 8px;
    justify-content: flex-start;
    text-align: left;
  }

  .feature-checkboxes {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .check-card {
    padding: 0.55rem 0.75rem;
    font-size: 0.75rem;
    min-height: 38px;
    border-radius: 8px;
  }

  .estimator-summary-card {
    padding: 1.15rem 0.95rem;
    border-radius: 12px;
  }

  .summary-header h4 {
    font-size: 0.98rem;
    margin-bottom: 0.85rem;
  }

  .summary-metrics {
    gap: 0.75rem;
    padding: 0.75rem;
    margin-bottom: 0.85rem;
  }

  .price-highlight {
    font-size: 1.25rem;
  }

  /* Modern Mobile Tech Stack Cards Grid */
  .mobile-tech-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    width: 100%;
    margin-top: 0.5rem;
  }

  .mobile-tech-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    padding: 1.15rem 1rem;
    box-shadow: 0 4px 14px -3px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .mobile-tech-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.1);
  }

  .mobile-tech-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.55rem;
  }

  .mobile-tech-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
  }

  .mobile-tech-icon-box.blue { background: #eff6ff; color: #2563eb; border-color: #bfdbfe; }
  .mobile-tech-icon-box.cyan { background: #ecfeff; color: #0891b2; border-color: #a5f3fc; }
  .mobile-tech-icon-box.green { background: #f0fdf4; color: #16a34a; border-color: #bbf7d0; }
  .mobile-tech-icon-box.purple { background: #faf5ff; color: #9333ea; border-color: #e9d5ff; }
  .mobile-tech-icon-box.amber { background: #fffbeb; color: #d97706; border-color: #fde68a; }
  .mobile-tech-icon-box.emerald { background: #ecfdf5; color: #059669; border-color: #a7f3d0; }

  .mobile-tech-meta {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
  }

  .mobile-tech-category {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #0284c7;
  }

  .mobile-tech-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.25;
  }

  .mobile-tech-desc {
    font-size: 0.8rem;
    color: #475569;
    line-height: 1.48;
    margin-bottom: 0.7rem;
    font-weight: 450;
  }

  .mobile-tech-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .mobile-tech-chips span {
    font-size: 0.7rem;
    font-weight: 600;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.18rem 0.55rem;
    border-radius: 6px;
  }

  /* 5-Step Process Vertical Cards on Mobile */
  .process-vertical-list {
    gap: 1rem;
  }

  .process-vertical-card {
    grid-template-columns: 1fr;
    gap: 1.15rem;
    padding: 1.25rem 1rem;
    border-radius: 14px;
  }

  .process-step-num {
    font-size: 1.25rem;
  }

  .process-step-title {
    font-size: 1.12rem;
    margin-bottom: 0.45rem;
  }

  .process-step-desc {
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 0.85rem;
  }

  .process-image-frame {
    aspect-ratio: 16 / 9;
    border-radius: 10px;
  }

  .deliverable-item {
    font-size: 0.72rem;
    padding: 0.22rem 0.55rem;
    border-radius: 6px;
  }

  /* Contact & Proposal Form (Compact & Balanced) */
  .contact-box.liquid-glass-card {
    padding: 1.5rem 1rem;
    border-radius: 14px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-headline {
    font-size: 1.35rem;
    line-height: 1.25;
    margin-bottom: 0.55rem;
  }

  .contact-info p {
    font-size: 0.8rem;
    line-height: 1.45;
    margin-bottom: 1rem;
  }

  .contact-points-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .contact-points {
    gap: 0.65rem;
  }

  .point-row {
    gap: 0.65rem;
    align-items: center;
  }

  .point-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .point-icon-box svg {
    width: 15px;
    height: 15px;
  }

  .point-row strong {
    font-size: 0.85rem;
  }

  .point-row p {
    font-size: 0.74rem;
  }

  .contact-video-frame {
    width: 100%;
    max-width: 160px;
    height: 120px;
    border-radius: 12px;
    margin: 0 auto;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.75rem 0.95rem;
    font-size: 0.88rem;
    border-radius: 10px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .form-group label {
    font-size: 0.74rem;
    margin-bottom: 0.3rem;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    min-height: 40px;
    padding: 0.65rem 0.85rem;
    font-size: 0.84rem;
    border-radius: 10px;
    background: #ffffff;
    color: #0f172a;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    text-align: center;
  }

  .footer-brand p {
    margin: 0.5rem auto 0;
    font-size: 0.8rem;
  }

  .footer-col h5 {
    font-size: 0.82rem;
    margin-bottom: 0.75rem;
  }

  .footer-col a {
    font-size: 0.78rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
    font-size: 0.75rem;
    padding-top: 1.25rem;
  }
}

/* Small Smartphone Displays (<= 480px) */
@media (max-width: 480px) {
  .section-container {
    padding: 0 0.85rem;
  }

  .section-title {
    font-size: 1.25rem;
  }

  .solar-system-wrapper {
    height: 280px;
  }

  .solar-plane {
    transform: rotateX(54deg) rotateZ(-8deg) scale(0.40);
  }

  .option-pills {
    grid-template-columns: 1fr;
  }

  .price-highlight {
    font-size: 1.2rem;
  }

  .btn-liquid-glass {
    max-width: 100%;
  }
}
