/* ==========================================================================
   Dot's & Scale — Agency Design System
   Blending the user's signature Acid-Lime & Bricolage Grotesque identity
   with Mobbin-inspired interactive layouts (Framer, OFF+BRAND, Runway, Height)
   ========================================================================== */

:root {
  --bg-primary: #0e0e0c;
  --bg-secondary: #141411;
  --bg-card: #181815;
  --bg-card-hover: #20201b;
  --bg-surface: #262620;
  --border-subtle: #2b2a25;
  --border-focus: #4a483f;
  --text-primary: #f4f1ea;
  --text-secondary: #a29e92;
  --text-muted: #78756b;

  /* Signature Acid-Lime Accent from Dot's & Scale HTML */
  --acc: #d7ff3a;
  --acc-ink: #111111;
  --accent-primary: #d7ff3a;
  --accent-emerald: #10b981;
  --accent-coral: #ffb4a2;
  --accent-sky: #b9d6ff;
  --accent-gold: #f4e08a;
  --whatsapp-green: #25D366;

  --font-display: 'Bricolage Grotesque', system-ui, -apple-system, sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --container-width: 1220px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme Variables */
:root[data-theme="light"] {
  --bg-primary: #f4f1ea;
  --bg-secondary: #ebe6da;
  --bg-card: #ffffff;
  --bg-card-hover: #faf8f3;
  --bg-surface: #e4dfd1;
  --border-subtle: #dcd7ca;
  --border-focus: #b6b09f;
  --text-primary: #111111;
  --text-secondary: #5c584f;
  --text-muted: #7b766b;
}

:root[data-theme="light"] .dot-grid-bg {
  background-image: radial-gradient(rgba(17, 17, 17, 0.08) 1px, transparent 1px);
}

/* High-contrast Light Theme Text Overrides (replaces light #d7ff3a text on white/cream) */
:root[data-theme="light"] .metric-item strong,
:root[data-theme="light"] .step-card::before,
:root[data-theme="light"] .service-deliverables li::before,
:root[data-theme="light"] .mq-track span:nth-child(even) {
  color: #2f4f00;
}

:root[data-theme="light"] .stage-tab.active,
:root[data-theme="light"] .eyebrow-dot {
  box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.15);
}

:root[data-theme="light"] .mini-stat-box .delta,
:root[data-theme="light"] .mini-url-bar span:last-child {
  color: #2f4f00 !important;
  font-weight: 700;
}

/* Sync Live Preview Window & Blueprint Card with Light Mode while keeping every accent text crisp & readable */
:root[data-theme="light"] .live-preview-window,
:root[data-theme="light"] .blueprint-result-card {
  background: #ffffff;
  color: #111111;
  border-color: #dcd7ca;
  box-shadow: 0 20px 50px rgba(17, 17, 17, 0.08);
}

:root[data-theme="light"] .live-preview-window .preview-browser-bar {
  background: #ebe6da;
  border-bottom-color: #dcd7ca;
}

:root[data-theme="light"] .live-preview-window .preview-url-pill {
  background: #111111;
  color: var(--demo-accent);
  border-color: #111111;
}

:root[data-theme="light"] .live-preview-window .preview-hero-banner {
  background: linear-gradient(135deg, #f8f6f0 0%, #ffffff 100%);
  border-color: #dcd7ca;
}

:root[data-theme="light"] .live-preview-window .preview-badge {
  background: var(--demo-accent);
  color: #111111;
  padding: 3px 9px;
  border-radius: 6px;
  font-weight: 700;
}

:root[data-theme="light"] .live-preview-window .preview-quick-widget strong,
:root[data-theme="light"] .live-preview-window .kpi-tile small,
:root[data-theme="light"] .live-preview-window .status-badge {
  color: #111111;
  font-weight: 700;
}

:root[data-theme="light"] .live-preview-window .status-badge {
  background: var(--demo-accent);
}

:root[data-theme="light"] .live-preview-window .preview-module-badges span {
  background: #ffffff;
  color: #111111;
  border-width: 1.5px;
}

:root[data-theme="light"] .live-preview-window .live-table th {
  background: #ebe6da;
  color: #4a473f;
}

/* High-contrast text inside Expanded Industry Showcase in Light Mode */
:root[data-theme="light"] .expanded-eyebrow,
:root[data-theme="light"] .demo-metric-highlight {
  color: #111111 !important;
  background: var(--card-theme);
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-block;
  font-weight: 700;
}

:root[data-theme="light"] .demo-url-tag {
  background: #111111;
  color: var(--card-theme);
}

/* Keep simulated dark dashboard & customizer terminal cards crisp in light mode */
:root[data-theme="light"] .win-card,
:root[data-theme="light"] .live-preview-window,
:root[data-theme="light"] .banner-enquiry-grid,
:root[data-theme="light"] .blueprint-result-card {
  box-shadow: 0 20px 50px rgba(17, 17, 17, 0.08);
}

:root[data-theme="light"] .win-card .win-kpi,
:root[data-theme="light"] .win-card .bars {
  background: #181815;
  border-color: #2b2a25;
}

:root[data-theme="light"] .win-card {
  background: #111111;
  color: #f4f1ea;
}

:root[data-theme="light"] .win-card .win-kpi small,
:root[data-theme="light"] .win-card .win-rows {
  color: #d4d0c5;
}

:root[data-theme="light"] .work-pastel-card.is-expanded.projects-visible {
  background: #ffffff;
  color: #111111;
}

:root[data-theme="light"] .work-demo-card {
  background: #f8f6f0;
  border-color: #dcd7ca;
}

:root[data-theme="light"] .demo-browser-top,
:root[data-theme="light"] .demo-card-footer {
  background: #ebe6da;
}

:root[data-theme="light"] .service-tag {
  background: #111111;
  color: var(--acc);
}

:root[data-theme="light"] .cust-step-label {
  color: #111111;
  background: var(--acc);
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  width: fit-content;
}

:root[data-theme="light"] .lead-input,
:root[data-theme="light"] .lead-select {
  background: #f4f1ea;
  border-color: #cfc9ba;
  color: #111111;
}

:root[data-theme="light"] .banner-enquiry-grid .lead-input,
:root[data-theme="light"] .banner-enquiry-grid .lead-select {
  background: #1c1c18;
  border-color: #33322b;
  color: #f4f1ea;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: clip;
  background-color: var(--bg-primary);
  position: relative;
}

/* Subtle dot pattern background */
.dot-grid-bg {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(244, 241, 234, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at 50% 20%, black 35%, transparent 82%);
}

/* Moving Background Wave Pattern: 3 Blue + 3 Green Lines */
.bg-wave-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0.42;
}

:root[data-theme="light"] .bg-wave-layer {
  opacity: 0.34;
}

.wave-svg {
  position: absolute;
  left: 0;
  width: 200%;
  height: 220px;
  fill: none;
  stroke-width: 2.2px;
  stroke-linecap: round;
  will-change: transform;
}

/* 3 Blue Wave Lines */
.wave-blue-1 {
  top: 12%;
  stroke: #38bdf8;
  animation: waveDriftLeft 18s linear infinite;
}

.wave-blue-2 {
  top: 42%;
  stroke: #2563eb;
  stroke-width: 1.8px;
  animation: waveDriftRight 24s linear infinite;
}

.wave-blue-3 {
  top: 72%;
  stroke: #0ea5e9;
  stroke-width: 2px;
  animation: waveDriftLeft 21s linear infinite;
}

/* 3 Green Wave Lines */
.wave-green-1 {
  top: 19%;
  stroke: #22c55e;
  animation: waveDriftRight 20s linear infinite;
}

.wave-green-2 {
  top: 49%;
  stroke: #10b981;
  stroke-width: 2px;
  animation: waveDriftLeft 26s linear infinite;
}

.wave-green-3 {
  top: 79%;
  stroke: #16a34a;
  stroke-width: 1.8px;
  animation: waveDriftRight 22s linear infinite;
}

.wave-blue-4 {
  top: 28%;
  stroke: #60a5fa;
  stroke-width: 1.7px;
  animation: waveDriftLeft 25s linear infinite;
}

.wave-green-4 {
  top: 35%;
  stroke: #4ade80;
  stroke-width: 1.7px;
  animation: waveDriftRight 19s linear infinite;
}

.wave-blue-5 {
  top: 60%;
  stroke: #0284c7;
  stroke-width: 1.9px;
  animation: waveDriftRight 27s linear infinite;
}

.wave-green-5 {
  top: 66%;
  stroke: #15803d;
  stroke-width: 1.9px;
  animation: waveDriftLeft 23s linear infinite;
}

@keyframes waveDriftLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes waveDriftRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 22px;
  position: relative;
  z-index: 1;
}

/* Scroll Reveal Animation (.rv from reference HTML) */
.rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.rv.on {
  opacity: 1;
  transform: none;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 12px var(--acc);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  50% { transform: scale(1.45); }
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg-primary) 86%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  height: 68px;
  display: flex;
  align-items: center;
}

.nav-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.brand-logo .pulse-dot {
  display: inline-block;
  width: 0.58em;
  height: 0.58em;
  border-radius: 50%;
  background: var(--acc);
  animation: pulse 2.4s infinite;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-primary);
}

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

/* Pill Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn-lime,
.btn-primary {
  background: var(--acc);
  color: var(--acc-ink);
}

.btn-lime:hover,
.btn-primary:hover {
  background: #e1ff5e;
  box-shadow: 0 10px 28px rgba(215, 255, 58, 0.22);
}

.btn-whatsapp {
  background: var(--acc);
  color: var(--acc-ink);
  font-weight: 800;
}

.btn-whatsapp:hover {
  background: #e1ff5e;
  box-shadow: 0 10px 28px rgba(215, 255, 58, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-focus);
}

.btn-outline:hover {
  border-color: var(--text-primary);
  background: var(--bg-card);
}

/* ==========================================================================
   Hero Section + Signature 6x6 Animated Dotted Pattern (.dots)
   ========================================================================== */
.hero-section {
  padding: 76px 0 56px;
  position: relative;
  overflow: hidden;
}

.hero-top-row {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 52px;
}

.hero-title {
  font-size: clamp(3rem, 7.2vw, 6.2rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 800;
  margin-bottom: 26px;
}

.hero-title em {
  font-style: normal;
  background: var(--acc);
  color: var(--acc-ink);
  padding: 0 0.14em;
  border-radius: 0.14em;
  display: inline-block;
  transform: rotate(-1.5deg);
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 32px;
  font-weight: 400;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* Navbar 6x6 Dotted Gradient Logo Badge + 4K Vector Monogram Overlay */
.nav-dots-logo {
  position: relative;
  width: 38px;
  height: 38px;
  padding: 5px;
  border-radius: 9px;
  background: #111111;
  border: 1px solid #2b2a25;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.nav-dots-grid {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  transition: opacity 0.3s ease;
}

.nav-dots-grid b {
  border-radius: 50%;
  background: #ffffff;
  aspect-ratio: 1;
  animation: grow 3.6s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.09s);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-dots-logo .monogram-svg {
  position: absolute;
  inset: 10%;
  width: 80%;
  height: 80%;
  opacity: 0;
  transform: scale(0.84);
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(215, 255, 58, 0.45));
  transition: opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1), transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dots-logo.is-flashing .monogram-svg {
  opacity: 1;
  transform: scale(1);
}

.nav-dots-logo.is-flashing .nav-dots-grid b {
  animation: none !important;
  transform: scale(0.2) !important;
  opacity: 0.16 !important;
}

/* ==========================================================================
   Hero Joyful Bouncing Red Ball -> Diffuse on Baseline -> 4K Logo + "Dot's & Scale"
   ========================================================================== */
.hero-bounce-stage {
  position: relative;
  width: min(40vw, 380px);
  height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 24px;
  cursor: pointer;
  overflow: visible;
}

.hero-baseline {
  position: absolute;
  bottom: 22px;
  left: 4%;
  right: 4%;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent 0%, rgba(239, 68, 68, 0.55) 20%, var(--text-secondary) 50%, rgba(34, 197, 94, 0.55) 80%, transparent 100%);
  opacity: 0.45;
}

/* Big Red Ball (Logo-Sized 160px) Bouncing from Far Left Edge Where the Slogan Starts */
.bouncing-red-ball {
  position: absolute;
  bottom: 24px;
  left: 50%;
  width: 160px;
  height: 160px;
  margin-left: -80px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #ff7a7a 0%, #ef4444 55%, #b91c1c 100%);
  box-shadow: 0 22px 50px rgba(239, 68, 68, 0.5);
  opacity: 0;
  pointer-events: none;
  z-index: 20;
}

.hero-bounce-stage.is-animating .bouncing-red-ball {
  animation: redBallBounceIn 1.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes redBallBounceIn {
  0% {
    transform: translate(-64vw, -190px) scale(0.95);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  26% {
    transform: translate(-44vw, 0px) scale(1.18, 0.82);
  }
  42% {
    transform: translate(-30vw, -145px) scale(0.93, 1.07);
  }
  58% {
    transform: translate(-16vw, 0px) scale(1.16, 0.84);
  }
  74% {
    transform: translate(-6vw, -80px) scale(0.96, 1.04);
  }
  90% {
    transform: translate(0px, 0px) scale(1.22, 0.78);
    opacity: 1;
  }
  100% {
    transform: translate(0px, -16px) scale(0.18);
    opacity: 0;
  }
}

/* Diffused Dots Spreading Along the Baseline */
.diffuse-balls-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}

.baseline-diffuse-dot {
  position: absolute;
  bottom: 22px;
  left: 50%;
  border-radius: 50%;
  pointer-events: none;
  animation: diffuseSpreadBaseline 1.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes diffuseSpreadBaseline {
  0% {
    transform: translate(0, -10px) scale(0.4);
    opacity: 1;
  }
  35% {
    transform: translate(calc(var(--tx) * 0.45), var(--arc-y, -48px)) scale(1.1);
    opacity: 1;
  }
  75% {
    transform: translate(var(--tx), 2px) scale(1);
    opacity: 0.95;
  }
  100% {
    transform: translate(calc(var(--tx) * 1.06), 0px) scale(0.82);
    opacity: 0.75;
  }
}

/* 4K Monogram Logo + Joyful "Dot's & Scale" Reveal */
.hero-logo-reveal {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(34px) scale(0.45);
  z-index: 6;
}

.hero-bounce-stage.is-revealed .hero-logo-reveal {
  animation: logoJoyfulPop 0.85s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes logoJoyfulPop {
  0% {
    opacity: 0;
    transform: translateY(36px) scale(0.4);
  }
  65% {
    opacity: 1;
    transform: translateY(-8px) scale(1.06);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-reveal-svg {
  width: 195px;
  height: 195px;
  filter: drop-shadow(0 12px 30px rgba(34, 197, 94, 0.25));
}

.hero-joyful-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.hero-joyful-wordmark span {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px) scale(0.7);
}

.hero-joyful-wordmark .wordmark-amp {
  margin: 0 7px;
  color: #ef4444;
  font-weight: 800;
}

.hero-bounce-stage.is-revealed .hero-joyful-wordmark span {
  animation: letterJoyBounce 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.hero-bounce-stage.is-revealed .hero-joyful-wordmark span:nth-child(1) { animation-delay: 0.05s; }
.hero-bounce-stage.is-revealed .hero-joyful-wordmark span:nth-child(2) { animation-delay: 0.09s; }
.hero-bounce-stage.is-revealed .hero-joyful-wordmark span:nth-child(3) { animation-delay: 0.13s; }
.hero-bounce-stage.is-revealed .hero-joyful-wordmark span:nth-child(4) { animation-delay: 0.17s; }
.hero-bounce-stage.is-revealed .hero-joyful-wordmark span:nth-child(5) { animation-delay: 0.21s; }
.hero-bounce-stage.is-revealed .hero-joyful-wordmark span:nth-child(6) { animation-delay: 0.26s; }
.hero-bounce-stage.is-revealed .hero-joyful-wordmark span:nth-child(7) { animation-delay: 0.31s; }
.hero-bounce-stage.is-revealed .hero-joyful-wordmark span:nth-child(8) { animation-delay: 0.35s; }
.hero-bounce-stage.is-revealed .hero-joyful-wordmark span:nth-child(9) { animation-delay: 0.39s; }
.hero-bounce-stage.is-revealed .hero-joyful-wordmark span:nth-child(10) { animation-delay: 0.43s; }
.hero-bounce-stage.is-revealed .hero-joyful-wordmark span:nth-child(11) { animation-delay: 0.47s; }

@keyframes letterJoyBounce {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.65) rotate(-6deg);
  }
  65% {
    opacity: 1;
    transform: translateY(-6px) scale(1.12) rotate(3deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

@keyframes grow {
  0%, 100% { transform: scale(0.18); }
  50% { transform: scale(1); }
}

/* Hero Interactive Live Stack Preview Strip */
.hero-bottom-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: center;
  padding-top: 36px;
  border-top: 1px solid var(--border-subtle);
}

.hero-metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.metric-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
}

.metric-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--acc);
  margin-bottom: 4px;
}

.metric-item span {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.hero-stage {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.stage-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 10px;
}

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

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-dots span:nth-child(1) { background: #ef4444; }
.window-dots span:nth-child(2) { background: #f59e0b; }
.window-dots span:nth-child(3) { background: var(--acc); }

.stage-pill-tabs {
  display: flex;
  gap: 6px;
  background: var(--bg-primary);
  padding: 4px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
}

.stage-tab {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.stage-tab.active {
  background: var(--acc);
  color: var(--acc-ink);
  font-weight: 700;
}

.stage-card-view {
  display: none;
  animation: fadeSlide 0.3s ease;
}

.stage-card-view.active {
  display: block;
}

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

.mini-browser-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.mini-url-bar {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: var(--bg-card);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
}

.mini-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mini-stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 12px;
  border-radius: var(--radius-sm);
}

.mini-stat-box small {
  display: block;
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.mini-stat-box strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-primary);
}

.mini-stat-box .delta {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--acc);
}

/* ==========================================================================
   Infinite Scrolling Marquee (.mq from reference HTML)
   ========================================================================== */
.mq {
  border-block: 1px solid var(--border-subtle);
  overflow: hidden;
  margin: 24px 0 0;
  padding: 18px 0;
  white-space: nowrap;
  background: var(--bg-secondary);
}

.mq-track {
  display: inline-block;
  animation: mqScroll 28s linear infinite;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mq-track span {
  margin: 0 22px;
  color: var(--text-secondary);
}

.mq-track span:nth-child(even) {
  color: var(--acc);
}

@keyframes mqScroll {
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Section Blocks & Headers
   ========================================================================== */
.section-block {
  padding: 88px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-title {
  font-size: clamp(2.2rem, 4.8vw, 4.1rem);
  margin-bottom: 14px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.08rem;
  max-width: 580px;
}

/* ==========================================================================
   3 Core Services Grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s, border-color 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--acc);
}

.service-num {
  font-size: 0.84rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}

.service-tag {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 700;
  background: var(--bg-surface);
  color: var(--acc);
}

.service-card h3 {
  font-size: 1.85rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  margin-bottom: 20px;
}

.service-deliverables {
  list-style: none;
  margin-bottom: 26px;
}

.service-deliverables li {
  font-size: 0.9rem;
  color: var(--text-primary);
  padding: 8px 0;
  border-top: 1px solid var(--border-subtle);
}

.service-deliverables li::before {
  content: "↗ ";
  color: var(--acc);
  font-weight: 700;
}

/* ==========================================================================
   Live-Style Interactive Customizer & Blueprint Builder
   (Section Banner + Left Toolbar keep Dot's & Scale Signature --acc #d7ff3a;
    ONLY #live-preview-window uses --demo-accent from client palette selection!)
   ========================================================================== */
#live-preview-window {
  --demo-accent: #d7ff3a;
  --demo-accent-ink: #111111;
}

.dash-highlight-banner {
  background: var(--acc);
  color: var(--acc-ink);
  border-radius: var(--radius-xl);
  padding: 34px;
  display: grid;
  grid-template-columns: 0.95fr 1.45fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 32px;
}

.dash-highlight-banner h2 {
  color: var(--acc-ink);
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  margin-bottom: 14px;
}

.dash-highlight-banner p {
  color: rgba(17, 17, 17, 0.85);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.dash-highlight-banner .btn-dark {
  background: #111111;
  color: #f4f1ea;
}

.win-card {
  background: var(--bg-primary);
  color: var(--text-primary);
  border-radius: 22px;
  padding: 24px;
  border: 1px solid var(--border-subtle);
}

.win-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.win-kpi {
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 14px;
  background: var(--bg-card);
}

.win-kpi small {
  color: var(--text-secondary);
  font-size: 0.78rem;
}

.win-kpi b {
  display: block;
  font-size: 1.85rem;
  color: var(--acc);
  letter-spacing: -0.03em;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
  margin: 18px 0 14px;
  padding: 12px;
  background: var(--bg-card);
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
}

.bars i {
  flex: 1;
  background: var(--text-primary);
  border-radius: 6px 6px 0 0;
  height: 0;
  transition: height 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bars i:nth-child(3n) {
  background: var(--acc);
}

.win-rows {
  font-size: 0.86rem;
}

.win-rows div {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-top: 1px solid var(--border-subtle);
}

.ok-status { color: var(--acc); font-weight: 700; }
.warn-status { color: #fb923c; font-weight: 700; }

/* Customizer Workbench Grid (Sidebar stays in Dot's & Scale --acc theme) */
.customizer-workbench {
  display: grid;
  grid-template-columns: 390px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.customizer-workbench > *,
.customizer-sidebar,
.customizer-stage-container,
.customizer-step-block,
.live-preview-window,
.blueprint-result-card {
  min-width: 0;
  max-width: 100%;
}

.customizer-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.customizer-step-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cust-step-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--acc);
  font-weight: 700;
}

.cust-industry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cust-industry-btn {
  text-align: left;
  background: var(--bg-primary);
  border: 1.5px solid var(--border-subtle);
  border-radius: 12px;
  padding: 11px 12px;
  color: var(--text-primary);
  cursor: pointer;
  font-family: var(--font-display);
  transition: all 0.2s ease;
}

.cust-industry-btn strong {
  display: block;
  font-size: 0.84rem;
  margin-bottom: 2px;
}

.cust-industry-btn span {
  display: block;
  font-size: 0.71rem;
  color: var(--text-secondary);
}

.cust-industry-btn:hover {
  border-color: var(--border-focus);
}

.cust-industry-btn.active {
  border-color: var(--acc);
  background: rgba(215, 255, 58, 0.06);
  box-shadow: 0 0 0 1px var(--acc);
}

/* Color Theme Swatches */
.cust-palette-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.cust-palette-swatch {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-primary);
  border: 1.5px solid var(--border-subtle);
  border-radius: 99px;
  padding: 7px 11px;
  color: var(--text-primary);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.cust-palette-swatch .swatch-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}

.cust-palette-swatch.active {
  border-color: var(--acc);
  background: rgba(215, 255, 58, 0.08);
}

/* Toggleable Feature Modules */
.cust-modules-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cust-module-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.78rem;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

.cust-module-chip input {
  accent-color: var(--acc);
}

.cust-module-chip.active {
  border-color: var(--acc);
  color: var(--text-primary);
}

.finalize-cta-btn {
  width: 100%;
  padding: 15px 20px;
  font-size: 0.98rem;
  background: var(--acc);
  color: var(--acc-ink);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* Live Interactive Client Website + ERP Stage */
.customizer-stage-container {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.live-preview-window {
  background: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.preview-browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.preview-url-pill {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--demo-accent);
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: 99px;
}

.preview-view-tabs {
  display: flex;
  gap: 6px;
}

.pview-tab {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 5px 11px;
  border-radius: 99px;
  background: var(--bg-primary);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
}

.pview-tab.active {
  background: var(--demo-accent);
  color: var(--demo-accent-ink);
  border-color: var(--demo-accent);
  font-weight: 700;
}

.preview-client-site {
  padding: 22px;
}

.preview-site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 10px;
}

.preview-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.15rem;
}

.preview-brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--demo-accent);
  box-shadow: 0 0 12px var(--demo-accent);
}

.preview-nav-pills {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.preview-cta-chip {
  background: var(--demo-accent);
  color: var(--demo-accent-ink);
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 0.76rem;
}

.preview-hero-banner {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, var(--bg-primary) 100%);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--demo-accent);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.preview-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--demo-accent);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.preview-hero-banner h3 {
  font-size: 1.45rem;
  margin-bottom: 4px;
}

.preview-hero-banner p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.preview-module-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.preview-module-badges span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.preview-quick-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 14px 18px;
  text-align: right;
  min-width: 190px;
}

.preview-quick-widget small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-secondary);
}

.preview-quick-widget strong {
  display: block;
  font-size: 1.35rem;
  color: var(--demo-accent);
  margin: 3px 0;
}

.preview-quick-widget span {
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.preview-table-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
  gap: 8px;
}

.status-badge {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.07);
  color: var(--demo-accent);
}

.kpi-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.kpi-tile {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.kpi-tile span {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.kpi-tile strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin: 4px 0;
}

.kpi-tile small {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--demo-accent);
}

.data-table-wrapper {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow-x: auto;
}

.live-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.live-table th,
.live-table td {
  padding: 11px 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.live-table th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.25);
}

.toggle-attendance-btn {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  background: var(--demo-accent);
  color: var(--demo-accent-ink);
  font-weight: 700;
}

.toggle-attendance-btn.absent {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.4);
}

/* Blueprint Result Card */
.blueprint-result-card {
  display: none;
  background: var(--bg-card);
  border: 1.5px solid var(--demo-accent);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.blueprint-result-card.visible {
  display: block;
  animation: fadeSlide 0.35s ease;
}

.blueprint-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 10px;
}

.blueprint-card-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 20px;
  align-items: center;
}

.blueprint-specs {
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blueprint-spec-row {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 10px 14px;
}

.blueprint-spec-row small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.blueprint-spec-row strong {
  color: var(--text-primary);
  font-size: 0.95rem;
}

.blueprint-img-box {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 12px;
  text-align: center;
}

.blueprint-img-box img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  margin-bottom: 10px;
  display: block;
}

.blueprint-img-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Attached Blueprint Preview inside WhatsApp Enquiry Form */
.wa-attached-blueprint {
  background: #11110e;
  border: 1.5px solid var(--acc);
  border-radius: 14px;
  padding: 12px;
  margin-top: 12px;
}

.wa-attached-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--acc);
  margin-bottom: 8px;
}

.wa-theme-chip {
  background: rgba(215, 255, 58, 0.15);
  padding: 2px 8px;
  border-radius: 99px;
}

.wa-attached-blueprint > img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #2b2a25;
  display: block;
  margin-bottom: 8px;
}

.wa-attached-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #181814;
  border: 1px solid #2e2d27;
  border-radius: 10px;
  padding: 8px 12px;
  margin-bottom: 8px;
}

.wa-attached-logo-row img {
  height: 42px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  background: #0e0e0c;
  padding: 4px;
  border-radius: 6px;
  border: 1px solid #2b2a25;
}

.wa-attached-logo-row strong {
  display: block;
  font-size: 0.8rem;
  color: var(--text-primary);
}

.wa-attached-logo-row span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--acc);
}

.wa-attached-palette-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.wa-palette-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #181814;
  border: 1px solid #2e2d27;
  border-radius: 99px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-primary);
}

.wa-palette-pill i {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.wa-attached-status {
  font-size: 0.75rem;
  color: #a7f3d0;
  font-family: var(--font-mono);
}

/* Client Logo Upload Drop Box */
.cust-logo-upload-box {
  background: var(--bg-primary);
  border: 1.5px dashed var(--border-focus);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.cust-logo-upload-box:hover {
  border-color: var(--acc);
}

.logo-drop-content {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.logo-thumb-wrap {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  flex-shrink: 0;
}

.logo-thumb-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.logo-upload-copy strong {
  display: block;
  font-size: 0.82rem;
  color: var(--text-primary);
}

.logo-upload-copy span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.logo-upload-actions {
  display: flex;
  gap: 8px;
}

/* Custom Color Picker + Active 3-4 Color Taste Bar */
.custom-color-adder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

#cust-custom-color-picker {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.active-palette-strip {
  display: flex;
  align-items: center;
  gap: 5px;
}

.active-palette-strip span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.preview-palette-bar {
  display: flex;
  height: 6px;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid var(--border-subtle);
}

.preview-palette-bar div {
  flex: 1;
  height: 100%;
  transition: background-color 0.3s ease;
}

/* ==========================================================================
   Who We Serve: Inline Horizontal Expanding Accordion Cards + Falling Balls + Horizontal Project Scroll
   ========================================================================== */
.work-accordion-row {
  display: flex;
  align-items: stretch;
  gap: 16px;
  min-height: 465px;
  width: 100%;
}

.work-pastel-card {
  position: relative;
  flex: 1 1 0%;
  min-width: 72px;
  border-radius: 26px;
  padding: 28px;
  min-height: 465px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #111111;
  cursor: pointer;
  overflow: hidden;
  transition:
    flex 0.52s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.38s ease,
    border-color 0.38s ease,
    padding 0.38s ease,
    box-shadow 0.38s ease;
  border: 1.5px solid transparent;
}

.w1 { background: #d7ff3a; --card-theme: #d7ff3a; }
.w2 { background: #ffb4a2; --card-theme: #ffb4a2; }
.w3 { background: #b9d6ff; --card-theme: #b9d6ff; }
.w4 { background: #f4e08a; --card-theme: #f4e08a; }

/* When ANY card in the row is active/hovered, non-active sibling cards compress into sleek vertical tabs
   so the hovered card expands across the horizontal space (both left and right if in the middle!) */
.work-accordion-row.has-active-card .work-pastel-card:not(.is-expanded) {
  flex: 0 0 74px;
  min-width: 74px;
  padding: 22px 12px;
  border-radius: 22px;
}

.work-accordion-row.has-active-card .work-pastel-card:not(.is-expanded):hover {
  flex: 0 0 90px;
}

/* The active hovered card expands to cover the horizontal space! */
.work-pastel-card.is-expanded {
  flex: 1 1 auto;
  cursor: default;
  box-shadow: 0 28px 75px rgba(0, 0, 0, 0.55);
}

/* Phase 2: Once the card's colored surface dissolves into falling balls, the expanded container becomes a dark showcase stage */
.work-pastel-card.is-expanded.projects-visible {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--card-theme);
  padding: 22px 24px;
}

/* 1. Collapsed Vertical Spine (Visible only when a sibling card is expanded) */
.card-collapsed-spine {
  display: none;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.work-accordion-row.has-active-card .work-pastel-card:not(.is-expanded) .card-collapsed-spine {
  display: flex;
}

.spine-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  color: #111111;
  opacity: 0.75;
}

.spine-title {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: #111111;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.spine-dot {
  font-size: 0.9rem;
  color: #111111;
}

/* 2. Default Card Summary View */
.card-summary-view {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: opacity 0.2s ease, transform 0.22s ease;
}

.work-accordion-row.has-active-card .work-pastel-card:not(.is-expanded) .card-summary-view {
  display: none;
}

.work-pastel-card.is-expanded.dissolving-summary .card-summary-view,
.work-pastel-card.is-expanded.projects-visible .card-summary-view {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  inset: 28px;
}

.work-card-hint {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(17, 17, 17, 0.12);
  color: #111111;
  padding: 4px 10px;
  border-radius: 99px;
  margin-bottom: 12px;
}

.work-pastel-card h3 {
  color: #111111;
  font-size: 1.95rem;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 10px;
}

.work-pastel-card p {
  font-size: 0.92rem;
  color: #222222;
  margin-bottom: 14px;
}

.work-pastel-card .work-bullets {
  list-style: none;
  font-size: 0.82rem;
  margin-bottom: 18px;
  color: #1a1a1a;
}

.work-pastel-card .work-bullets li {
  padding: 4px 0;
}

.work-pastel-card .work-meta-footer {
  font-size: 0.82rem;
  font-weight: 800;
  border-top: 1.5px solid #111111;
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 3. Falling Colored Balls Layer Scoped strictly to this Expanded Card's Horizontal Space */
.card-balls-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 25;
  overflow: hidden;
}

.falling-color-ball {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform, opacity;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.38), inset 0 3px 8px rgba(255, 255, 255, 0.48);
  animation: ballClusterAndDrop var(--dur, 0.8s) cubic-bezier(0.32, 0, 0.67, 0) forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes ballClusterAndDrop {
  0% {
    transform: translate3d(0, 0, 0) scale(0.2);
    opacity: 0;
  }
  22% {
    transform: translate3d(var(--jx, 0px), var(--jy, -14px), 0) scale(1.1);
    opacity: 1;
  }
  74% {
    transform: translate3d(var(--dx, 0px), var(--fall-y, 430px), 0) scale(0.95);
    opacity: 1;
  }
  88% {
    transform: translate3d(var(--dx, 0px), calc(var(--fall-y, 430px) - 30px), 0) scale(1.05, 0.9);
    opacity: 0.85;
  }
  100% {
    transform: translate3d(var(--dx, 0px), calc(var(--fall-y, 430px) + 80px), 0) scale(0.5);
    opacity: 0;
  }
}

/* 4. Expanded Horizontal Scroll Showcase Inside the Card */
.card-expanded-showcase {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.work-pastel-card.is-expanded.projects-visible .card-expanded-showcase {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.expanded-showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.expanded-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.expanded-color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}

.expanded-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.expanded-title-wrap h4 {
  color: var(--text-primary);
  font-size: 1.25rem;
}

.expanded-scroll-controls {
  display: flex;
  gap: 8px;
}

.hscroll-arrow-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hscroll-arrow-btn:hover {
  background: var(--card-theme);
  color: #111111;
  border-color: var(--card-theme);
}

/* Horizontal Scroll Track of the 4 Project Cards */
.card-horizontal-projects {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--card-theme) var(--bg-primary);
}

.card-horizontal-projects::-webkit-scrollbar {
  height: 6px;
}

.card-horizontal-projects::-webkit-scrollbar-track {
  background: var(--bg-primary);
  border-radius: 99px;
}

.card-horizontal-projects::-webkit-scrollbar-thumb {
  background: var(--card-theme);
  border-radius: 99px;
}

.work-demo-card {
  flex: 0 0 430px;
  max-width: 82vw;
  scroll-snap-align: start;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.work-demo-card:hover {
  border-color: var(--card-theme, #d7ff3a);
}

.demo-browser-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 14px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.demo-url-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--card-theme, #d7ff3a);
  background: var(--bg-card);
  padding: 2px 9px;
  border-radius: 99px;
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-type-pill {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--card-theme, #d7ff3a);
  color: #111111;
  white-space: nowrap;
}

.demo-card-body {
  padding: 15px 16px;
}

.demo-card-body h4 {
  color: var(--text-primary);
  font-size: 1.08rem;
  margin-bottom: 5px;
}

.demo-card-body p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 11px;
  line-height: 1.4;
}

/* Visual Website & System UI Screenshot Frame inside each Demo Card */
.demo-visual-frame {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

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

.work-demo-card:hover .demo-visual-frame img {
  transform: scale(1.04);
}

.demo-visual-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px 12px 9px;
  background: linear-gradient(180deg, transparent 0%, rgba(14, 14, 12, 0.92) 75%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-primary);
}

.demo-visual-overlay span:last-child {
  color: var(--card-theme, #d7ff3a);
  font-weight: 700;
}

.demo-card-footer {
  padding: 11px 16px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.demo-metric-highlight {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--card-theme, #d7ff3a);
  font-weight: 700;
}

/* ==========================================================================
   Process Section (Bold Counter 01-04 + Expandable Detail)
   ========================================================================== */
.steps-grid {
  counter-reset: s;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 28px;
}

.step-card {
  padding: 20px 18px 24px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.step-card::before {
  counter-increment: s;
  content: "0" counter(s);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--acc);
  display: block;
  margin-bottom: 10px;
}

.step-card h3 {
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Pricing Section — Diagonal Sparkle Gradient Sweep on Hover & Primary Color on Click
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pricing-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.25s ease;
}

/* Keep content above the diagonal sparkle layers */
.pricing-card > * {
  position: relative;
  z-index: 2;
}

/* Layer 1: Diagonal Sparkle Shimmer Sweep Beam */
.pricing-card::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -140%;
  width: 85%;
  height: 220%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 30%,
    rgba(215, 255, 58, 0.34) 47%,
    rgba(255, 255, 255, 0.72) 50%,
    rgba(215, 255, 58, 0.34) 53%,
    rgba(255, 255, 255, 0.03) 70%,
    transparent 100%
  );
  transform: rotate(24deg);
  pointer-events: none;
  z-index: 1;
  transition: left 0.85s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  opacity: 0;
}

/* Layer 2: Diagonal Sparkle Star / Glint Overlay */
.pricing-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.8) 0 1.5px, transparent 3px),
    radial-gradient(circle at 76% 18%, rgba(215, 255, 58, 0.9) 0 2px, transparent 4px),
    radial-gradient(circle at 42% 52%, rgba(255, 255, 255, 0.7) 0 1.5px, transparent 3px),
    radial-gradient(circle at 84% 64%, rgba(255, 255, 255, 0.85) 0 1.8px, transparent 3.5px),
    radial-gradient(circle at 26% 78%, rgba(215, 255, 58, 0.85) 0 2px, transparent 4px),
    linear-gradient(135deg, rgba(215, 255, 58, 0.14) 0%, transparent 45%, rgba(215, 255, 58, 0.1) 100%);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.4s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: var(--acc);
  box-shadow: 0 20px 48px rgba(215, 255, 58, 0.16);
}

.pricing-card:hover::before {
  left: 165%;
  opacity: 1;
  animation: diagonalSparkleLoop 2.1s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.pricing-card:hover::after {
  opacity: 1;
}

@keyframes diagonalSparkleLoop {
  0% {
    left: -130%;
  }
  65%, 100% {
    left: 175%;
  }
}

/* Primary Color Active State (Upon Click / Selected) */
.pricing-card.featured {
  background: var(--acc);
  color: #111111;
  border-color: var(--acc);
  box-shadow: 0 22px 56px rgba(215, 255, 58, 0.25);
}

/* On the primary-colored card, make the diagonal sparkle beam crisp white/gold */
.pricing-card.featured::before {
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.12) 30%,
    rgba(255, 255, 255, 0.65) 47%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(255, 255, 255, 0.65) 53%,
    rgba(255, 255, 255, 0.12) 70%,
    transparent 100%
  );
}

.pricing-card.featured h3,
.pricing-card.featured .plan-price,
.pricing-card.featured .plan-price small,
.pricing-card.featured .plan-name {
  color: #111111;
}

.pricing-card.featured p,
.pricing-card.featured .plan-features li,
.pricing-card.featured .plan-cycle {
  color: #1f1f1a;
  border-color: rgba(17, 17, 17, 0.18);
}

.pricing-card.featured .btn {
  background: #111111 !important;
  color: var(--acc) !important;
  border-color: #111111 !important;
}

.pricing-card.featured .pop-badge {
  background: #111111;
  color: var(--acc);
}

.pop-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--acc);
  color: #111111;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  transition: background 0.3s ease, color 0.3s ease;
}

.plan-name {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 700;
  transition: color 0.25s ease;
}

.plan-price {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 18px 0 4px;
  transition: color 0.25s ease;
}

.plan-price small {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.25s ease;
}

.plan-features {
  list-style: none;
  margin: 20px 0 28px;
}

.plan-features li {
  padding: 8px 0;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.plan-features li::before {
  content: "↗ ";
  font-weight: 700;
}

/* ==========================================================================
   Signature [Ready to scale?] Acid-Lime Banner + Enquiry Form at the End
   ========================================================================== */
.ready-scale-banner {
  background: var(--acc);
  color: #111111;
  border-radius: 36px;
  padding: clamp(36px, 6vw, 72px);
  text-align: center;
  box-shadow: 0 24px 70px rgba(215, 255, 58, 0.14);
}

.ready-scale-banner h2 {
  color: #111111;
  margin: 0 auto;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.ready-scale-banner .banner-sub {
  margin: 18px auto 34px;
  max-width: 520px;
  font-size: 1.15rem;
  color: #1d1d18;
  font-weight: 500;
}

/* Integrated Enquiry Form + Live WhatsApp Preview inside the Ready to Scale Banner */
.banner-enquiry-grid {
  max-width: 960px;
  margin: 0 auto;
  background: #111111;
  color: #f4f1ea;
  border-radius: 26px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  text-align: left;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.banner-form-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.banner-form-fields label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 5px;
  font-weight: 600;
}

.lead-input,
.lead-select {
  width: 100%;
  background: #1c1c18;
  border: 1px solid #33322b;
  color: var(--text-primary);
  padding: 12px 14px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 0.94rem;
}

.lead-input:focus,
.lead-select:focus {
  outline: none;
  border-color: var(--acc);
}

.wa-preview-box {
  background: #181815;
  border: 1px solid #2e2d27;
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.wa-bubble {
  background: #005c4b;
  color: #e9edef;
  padding: 16px;
  border-radius: 14px 14px 4px 14px;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 12px 0 18px;
  white-space: pre-line;
}

.big-dark-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #111111;
  color: #f4f1ea;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 99px;
  margin-top: 28px;
  transition: transform 0.2s;
}

.big-dark-pill:hover {
  transform: translateY(-2px) scale(1.03);
}

/* ==========================================================================
   Private Lead Dashboard Styles (kept for lead-dashboard.html)
   ========================================================================== */
.lead-engine-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 20px;
}

.lead-filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.lead-filter-group .lead-input,
.lead-filter-group .lead-select {
  width: auto;
}

.lead-table-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow-x: auto;
}

.lead-master-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1060px;
}

.lead-master-table th,
.lead-master-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}

.lead-master-table th {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  background: var(--bg-secondary);
}

.source-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  color: var(--text-primary);
  text-decoration: none;
  border: 1px solid var(--border-subtle);
}

.client-name-cell strong {
  display: block;
  font-size: 0.96rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.client-name-cell span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.contact-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--acc);
  background: rgba(215, 255, 58, 0.1);
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
}

.req-tags {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.req-tag {
  font-size: 0.78rem;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.cold-msg-box {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  max-width: 340px;
  margin-bottom: 10px;
  line-height: 1.45;
}

.msg-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-copy-sm {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: var(--acc);
  color: var(--acc-ink);
  border: none;
  font-weight: 700;
  cursor: pointer;
}

.btn-wa-sm {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: rgba(37, 211, 102, 0.15);
  color: var(--whatsapp-green);
  border: 1px solid rgba(37, 211, 102, 0.3);
  text-decoration: none;
  font-weight: 600;
}

/* Footer */
.site-footer {
  padding: 44px 0;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Theme Toggle & Call Nav Buttons */
.theme-toggle-btn {
  padding: 9px 14px;
  font-size: 0.84rem;
  gap: 6px;
}

.call-nav-btn {
  padding: 9px 15px;
  font-size: 0.84rem;
}

/* Floating Call + WhatsApp Action Group */
.floating-cta-group {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
}

.floating-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1.5px solid var(--border-focus);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.floating-call-btn:hover {
  transform: translateY(-2px) scale(1.03);
  border-color: var(--acc);
}

.floating-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--acc);
  color: var(--acc-ink);
  font-weight: 800;
  font-size: 0.92rem;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(215, 255, 58, 0.28);
  transition: transform var(--transition-fast);
}

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

@media (max-width: 760px) {
  .call-nav-btn {
    display: none;
  }
}

/* Responsive Breakpoints (Tablet & Mobile Optimization) */
@media (max-width: 1024px) {
  .work-accordion-row {
    flex-direction: column;
    min-height: auto;
  }
  .work-pastel-card {
    min-height: auto;
    padding: 24px 22px;
  }
  .work-accordion-row.has-active-card .work-pastel-card:not(.is-expanded) {
    flex: 0 0 auto;
    min-height: 58px;
    width: 100%;
    padding: 14px 20px;
  }
  .work-accordion-row.has-active-card .work-pastel-card:not(.is-expanded) .card-collapsed-spine {
    flex-direction: row;
  }
  .spine-title {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 1.05rem;
  }
  .hero-top-row,
  .hero-bottom-grid,
  .services-grid,
  .dash-highlight-banner,
  .customizer-workbench,
  .blueprint-card-grid,
  .steps-grid,
  .pricing-grid,
  .banner-enquiry-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .dots-stage-wrap {
    justify-content: center;
  }
  .hero-bounce-stage {
    width: 100%;
    max-width: 360px;
    height: 290px;
    margin: 0 auto;
  }
  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
  .section-block {
    padding: 58px 0;
  }
  .section-header {
    margin-bottom: 32px;
  }

  /* Compact Single-Row Mobile Navbar */
  .site-header {
    height: 62px;
  }
  .brand-logo {
    font-size: 1.08rem;
    gap: 8px;
  }
  .nav-dots-logo {
    width: 32px;
    height: 32px;
    padding: 4px;
  }
  .nav-actions {
    gap: 8px;
  }
  .theme-toggle-btn {
    padding: 7px 11px;
    font-size: 0.78rem;
  }
  .nav-actions .btn-whatsapp {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  /* Hero Mobile Typography, CTA Buttons & Bouncing Ball Scale */
  .hero-section {
    padding: 42px 0 36px;
  }
  .hero-top-row {
    gap: 20px;
    margin-bottom: 32px;
  }
  .hero-title {
    font-size: clamp(2.35rem, 11.5vw, 3.2rem);
    margin-bottom: 18px;
  }
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 24px;
  }
  .hero-cta-row .btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
  .hero-bounce-stage {
    height: 250px;
  }
  .bouncing-red-ball {
    width: 120px;
    height: 120px;
    margin-left: -60px;
  }
  .hero-reveal-svg {
    width: 150px;
    height: 150px;
  }
  .hero-joyful-wordmark {
    font-size: 1.65rem;
  }

  /* Stack 3-Column KPI & Metric Grids Cleanly on Mobile */
  .hero-metrics-strip,
  .mini-stat-grid,
  .win-kpis,
  .kpi-cards-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .dash-highlight-banner > *,
  .banner-enquiry-grid > * {
    min-width: 0;
    max-width: 100%;
  }
  .metric-item {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .metric-item strong {
    font-size: 1.45rem;
    margin-bottom: 0;
  }

  /* Marquee & Highlight Banner */
  .mq-track {
    font-size: 1.2rem;
  }
  .dash-highlight-banner {
    padding: 22px 18px;
    border-radius: 24px;
    gap: 22px;
  }
  .win-card {
    padding: 16px;
  }

  /* Live Customizer Sidebar & Preview Window */
  .customizer-workbench {
    gap: 18px;
  }
  .customizer-sidebar {
    padding: 16px 14px;
    gap: 16px;
  }
  .cust-step-label {
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
    overflow-wrap: break-word;
  }
  .lead-input,
  .lead-select {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 11px 12px;
    font-size: 0.9rem;
  }
  .logo-drop-content {
    min-width: 0;
    max-width: 100%;
    align-items: flex-start;
  }
  .logo-upload-copy {
    min-width: 0;
    flex: 1;
  }
  .logo-upload-copy strong,
  .logo-upload-copy span {
    overflow-wrap: anywhere;
  }
  .logo-upload-actions {
    flex-wrap: wrap;
  }
  .cust-industry-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .cust-industry-btn {
    padding: 10px 12px;
    min-width: 0;
  }
  .cust-palette-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cust-palette-swatch {
    min-width: 0;
    padding: 7px 9px;
    font-size: 0.74rem;
  }
  .swatch-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .cust-modules-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
  .cust-module-chip {
    min-width: 0;
    padding: 8px;
    font-size: 0.73rem;
  }
  .finalize-cta-btn {
    padding: 14px 16px;
    font-size: 0.92rem;
  }

  /* Live Preview Window Mobile Optimization */
  .live-preview-window {
    border-radius: 18px;
  }
  .preview-browser-bar {
    padding: 12px;
    gap: 8px;
    flex-direction: column;
    align-items: stretch;
  }
  .preview-url-pill {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.7rem;
    padding: 5px 10px;
  }
  .preview-view-tabs {
    width: 100%;
    display: flex;
    gap: 6px;
  }
  .pview-tab {
    flex: 1 1 0;
    text-align: center;
    padding: 6px 8px;
    font-size: 0.7rem;
  }
  .preview-client-site {
    padding: 14px 12px;
  }
  .preview-site-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 12px;
    margin-bottom: 14px;
  }
  .preview-brand {
    font-size: 1rem;
    max-width: 100%;
    flex-wrap: wrap;
    min-width: 0;
  }
  .preview-brand strong {
    overflow-wrap: anywhere;
  }
  .preview-nav-pills {
    width: 100%;
    gap: 8px 12px;
    flex-wrap: wrap;
    font-size: 0.74rem;
  }
  .preview-hero-banner {
    padding: 14px 12px;
    gap: 12px;
    margin-bottom: 14px;
  }
  .preview-hero-banner > div {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .preview-badge {
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
    font-size: 0.66rem;
  }
  .preview-hero-banner h3 {
    font-size: 1.12rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }
  .preview-hero-banner p {
    font-size: 0.82rem;
    margin-bottom: 10px;
  }
  .preview-module-badges span {
    font-size: 0.66rem;
    padding: 3px 7px;
    white-space: normal;
    word-break: break-word;
  }
  .preview-quick-widget {
    width: 100%;
    text-align: left;
    min-width: 0;
    padding: 12px;
  }
  .kpi-tile {
    padding: 12px 14px;
  }
  .kpi-tile strong {
    font-size: 1.3rem;
  }
  .data-table-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .preview-table-caption {
    padding: 10px 12px;
    font-size: 0.74rem;
    gap: 6px;
  }
  .preview-table-caption .status-badge {
    white-space: normal;
    font-size: 0.68rem;
  }
  .live-table {
    font-size: 0.76rem;
    min-width: 520px;
  }
  .live-table th,
  .live-table td {
    padding: 9px 10px;
  }

  /* Generated Blueprint Card Mobile Optimization */
  .blueprint-result-card {
    padding: 16px 14px;
  }
  .blueprint-card-header strong {
    font-size: 0.94rem !important;
    line-height: 1.35;
  }
  .blueprint-spec-row {
    padding: 9px 12px;
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .blueprint-img-actions {
    flex-direction: column;
    width: 100%;
  }
  .blueprint-img-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Industry Cards & Horizontal Scroll Showcase */
  .work-pastel-card.is-expanded.projects-visible {
    padding: 18px 14px;
  }
  .work-demo-card {
    flex: 0 0 82vw;
    max-width: 340px;
  }
  .expanded-title-wrap h4 {
    font-size: 1.05rem;
  }

  /* Ready to Scale Banner & Enquiry Form */
  .ready-scale-banner {
    padding: 28px 16px;
    border-radius: 24px;
  }
  .banner-enquiry-grid {
    padding: 18px 14px;
    border-radius: 18px;
    gap: 20px;
  }
  .wa-preview-box {
    padding: 16px 14px;
  }
  .big-dark-pill {
    width: 100%;
    padding: 14px 20px;
    font-size: 0.95rem;
  }

  /* Footer & Floating Call + WhatsApp Pills */
  .site-footer {
    padding: 32px 0 92px;
  }
  .floating-cta-group {
    bottom: 14px;
    right: 14px;
    left: 14px;
    justify-content: flex-end;
    gap: 8px;
  }
  .floating-call-btn,
  .floating-wa-btn {
    padding: 10px 15px;
    font-size: 0.82rem;
  }
}

@media (max-width: 420px) {
  .cust-modules-list {
    grid-template-columns: minmax(0, 1fr);
  }
}
