/* ==========================================================================
   RANK SPIDERS LIGHT DESIGN SYSTEM & WORKFLOW PIPELINE v4.0
   Design: Clean Slate-50 Light Theme (like rankspiders.in) +
           High-Tech Cyber Timeline Pipeline Modal (Matching Workflow Screenshot)
   ========================================================================== */

/* ── 1. Design Tokens ────────────────────────────────────────────────────── */
:root {
  /* Canvas & Surfaces (Rank Spiders Light Mode) */
  --bg-primary: #ffffff;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-elevated: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.85);

  /* Borders & Dividers */
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-card: rgba(15, 23, 42, 0.08);
  --border-hover: rgba(99, 102, 241, 0.4);
  --border-focus: #6366f1;

  /* Typography Colors */
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --heading-color: #0f172a;

  /* Brand Accents (Rank Spiders Palette) */
  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --primary-glow: rgba(99, 102, 241, 0.15);

  --accent-cyan: #06b6d4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.2);
  --accent-purple: #a855f7;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  /* High-Performance Light Canvas & Surface Tokens */
  --pipeline-bg: #ffffff;
  --pipeline-border: rgba(15, 23, 42, 0.08);
  --pipeline-card: #ffffff;
  --pipeline-accent: #6366f1;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 18px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 16px 36px -4px rgba(99, 102, 241, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-modal: 0 25px 60px -10px rgba(15, 23, 42, 0.35);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-full: 9999px;

  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── 2. Reset & Global Styles ────────────────────────────────────────────── */
/* Scoped box-sizing */
.portfolio-app *, .portfolio-app *::before, .portfolio-app *::after, .modal-backdrop * { box-sizing: border-box; }

/* html reset removed for theme compatibility */

.portfolio-app {
  font-family: var(--font-sans);
  background-color: #ffffff;
  background-image: none;
  background: #ffffff;
  color: var(--text-primary);
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

::selection {
  background: rgba(99, 102, 241, 0.2);
  color: #4f46e5;
}

/* Ambient Background Lights & Vibrant Edge Glows (Never empty on wide screens!) */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(95px);
  opacity: 0.85;
  animation: orbFloat 20s ease-in-out infinite alternate;
}

.ambient-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.24) 0%, rgba(99, 102, 241, 0) 70%);
  top: -100px;
  right: -50px;
}

.ambient-orb-2 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.22) 0%, rgba(6, 182, 212, 0) 70%);
  bottom: 15%;
  left: -160px;
  animation-duration: 22s;
  animation-direction: alternate-reverse;
}

.ambient-orb-3 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, rgba(168, 85, 247, 0) 70%);
  top: 45%;
  right: 8%;
  animation-duration: 26s;
}

.ambient-orb-left-glow {
  position: absolute;
  left: -180px;
  top: 10%;
  width: 650px;
  height: 1000px;
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.28) 0%, rgba(6, 182, 212, 0.2) 40%, transparent 75%);
  filter: blur(100px);
  opacity: 0.9;
  animation: orbFloat 24s ease-in-out infinite alternate;
}

.ambient-orb-right-glow {
  position: absolute;
  right: -180px;
  top: 25%;
  width: 650px;
  height: 1000px;
  background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.26) 0%, rgba(244, 63, 94, 0.16) 40%, transparent 75%);
  filter: blur(100px);
  opacity: 0.9;
  animation: orbFloat 28s ease-in-out infinite alternate-reverse;
}

.ambient-orb-top-center {
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.2) 0%, rgba(6, 182, 212, 0.14) 45%, transparent 70%);
  filter: blur(85px);
  opacity: 0.9;
}

.ambient-rail-left,
.ambient-rail-right {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
}

.ambient-rail-left {
  left: 18px;
}

.ambient-rail-right {
  right: 18px;
}

.ambient-rail-code {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(99, 102, 241, 0.6);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  margin-bottom: 24px;
  user-select: none;
  text-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

.ambient-rail-line {
  width: 1.5px;
  height: 280px;
  background: linear-gradient(180deg, transparent, rgba(99, 102, 241, 0.8), rgba(6, 182, 212, 0.8), transparent);
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.45);
}

@media (max-width: 1380px) {
  .ambient-rail-left,
  .ambient-rail-right {
    display: none;
  }
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.08); }
  100% { transform: translate(-25px, 30px) scale(0.96); }
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--heading-color);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.mono {
  font-family: var(--font-mono);
}

@keyframes movingGradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.gradient-text,
.gradient-active-flow,
.gradient-text-accent {
  background: linear-gradient(135deg, #7c3aed 0%, #c026d3 25%, #e11d48 50%, #ea580c 75%, #7c3aed 100%) !important;
  background-size: 300% 300% !important;
  animation: movingGradientFlow 5s ease-in-out infinite !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  display: inline-block !important;
}

/* Container & Sections */
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-dark);
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--heading-color);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── 3. Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  line-height: 1.3;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.28), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(99, 102, 241, 0.42);
  color: #ffffff;
}

.btn-outline {
  background: #ffffff;
  color: var(--text-primary);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background: #f8fafc;
  border-color: rgba(99, 102, 241, 0.4);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

/* Status Beacons */
.status-beacon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  display: inline-block;
  animation: beaconPulse 2s infinite ease-in-out;
}

@keyframes beaconPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

/* ── 4. Site Header & Navigation ─────────────────────────────────────────── */
/* ── 4. Site Header & High-Personality Navigation ──────────────────────── */
.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar-wrapper.navbar-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  padding: 10px 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand Badge */
.nav-brand-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform var(--transition-fast);
}

.nav-brand-badge:hover {
  transform: translateY(-1px);
}

.brand-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.brand-code-symbol {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: -0.05em;
}

.brand-text-col {
  display: flex;
  flex-direction: column;
}

.brand-title-main {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
}

.brand-gradient-dot {
  color: var(--primary);
}

.brand-tagline-sub {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Center Nav Links with Pill Cluster */
.nav-links-cluster {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  padding: 5px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-sm);
}

.nav-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-pill-item:hover {
  color: var(--primary-dark);
  background: #f1f5f9;
  transform: translateY(-1px);
}

.nav-badge-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(99, 102, 241, 0.12);
  color: var(--primary-dark);
  padding: 1px 7px;
  border-radius: var(--radius-full);
}

/* Right Actions Cluster */
.nav-actions-cluster {
  display: flex;
  align-items: center;
  gap: 14px;
}

.status-live-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.beacon-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: beaconPulse 2s infinite ease-in-out;
}

.live-chip-text {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #065f46;
  letter-spacing: 0.06em;
}

.nav-cta-btn {
  border-radius: var(--radius-full);
  padding: 9px 18px;
}

/* ── 5. Hero Section ─────────────────────────────────────────────────────── */
.hero-section {
  padding: 90px 0 60px;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #065f46;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: #0f172a;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.hero-bio {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 820px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

/* Quick Context Card */
.hero-context-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 56px;
  box-shadow: var(--shadow-md);
  text-align: left;
}

.context-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.context-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.08);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.context-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.context-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--heading-color);
  line-height: 1.3;
}

/* Metrics Grid Strip */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.metric-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99, 102, 241, 0.3);
}

.metric-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0f172a 0%, #4f46e5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
  line-height: 1;
}

.metric-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 4px;
}

.metric-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── 6. Case Studies Section & Controls ──────────────────────────────────── */
.controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
  background: #f8fafc;
  color: var(--primary-dark);
  border-color: rgba(99, 102, 241, 0.3);
}

.filter-btn.active {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.filter-count {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.08);
  color: inherit;
}

.filter-btn.active .filter-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.search-wrapper {
  position: relative;
  min-width: 320px;
  flex: 1;
  max-width: 440px;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 10px 16px 10px 42px;
  font-size: 0.88rem;
  font-family: var(--font-sans);
  color: var(--text-primary);
  outline: none;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

/* ── 7. Project Cards Grid ───────────────────────────────────────────────── */
.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 100%;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  display: flex;
  flex-direction: column;
  width: 100%;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}

.featured-card {
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 10px 36px rgba(99, 102, 241, 0.1);
}

.card-inner-container {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ── Transposed Horizontal Header Section ────────────────────────────────── */
.card-top-header {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 32px;
  align-items: stretch;
}

.card-heading-col {
  display: flex;
  flex-direction: column;
}

.live-beacon-badge {
  margin-left: auto;
}

.card-brand-logo,
.portfolio-app .card-brand-logo,
.elementor .portfolio-app .card-brand-logo,
.card-title .card-brand-logo,
.card-title img.card-brand-logo {
  height: 24px !important;
  max-height: 24px !important;
  width: auto !important;
  max-width: 120px !important;
  object-fit: contain !important;
  display: inline-block !important;
  vertical-align: middle !important;
  margin-left: auto !important;
  margin-bottom: 0 !important;
  filter: brightness(1.15);
}

.card-heading-col .card-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: auto;
  margin-bottom: 0;
}

.card-top-header .card-preview-window {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #f1f5f9;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

.card-top-header .card-img-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f8fafc;
  flex: 1;
}

/* Browser Window Mockup Frame */
.card-preview-window {
  border-bottom: 1px solid var(--border-subtle);
  background: #f1f5f9;
}

.window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  background: #e2e8f0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.window-url {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  background: #ffffff;
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: #065f46;
  background: rgba(16, 185, 129, 0.15);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

.card-img-wrapper {
  position: relative;
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
  background: #f8fafc;
}

.card-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.5s ease;
}

.card-img-wrapper:hover .card-screenshot {
  transform: scale(1.04);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.card-img-wrapper:hover .card-overlay {
  opacity: 1;
}

/* Card Content */
.card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 8px;
}

.category-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: rgba(99, 102, 241, 0.08);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
}

.badge-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: #047857;
  background: rgba(16, 185, 129, 0.1);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.card-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--heading-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.card-tagline {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 14px;
}

.card-role-strip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #475569;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
  width: fit-content;
}

.card-role-strip svg {
  color: var(--primary);
  flex-shrink: 0;
}

.card-role-strip strong {
  color: #0f172a;
  font-weight: 700;
}

/* Card Stats Grid */
.card-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.card-stat-box {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 4px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
  position: relative;
  overflow: hidden;
}

.card-stat-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, #6366f1, #06b6d4);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.card-stat-box:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.07);
}

.card-stat-box:hover::before {
  opacity: 1;
}

.stat-box-lbl {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  font-weight: 700;
  color: #4f46e5;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.15);
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.stat-box-val {
  font-family: var(--font-display, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.stat-box-note {
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.4;
  margin-top: 2px;
  font-weight: 400;
}

/* Tech Chips */
.tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
  margin-top: auto;
}

.tech-chip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: #334155;
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.card-actions {
  display: flex;
  gap: 10px;
}

.card-actions .btn {
  flex: 1;
}

/* ── Upfront Case Study & Dossier Components ────────────────────────── */
.upfront-card {
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  animation: smoothCardReveal 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes smoothCardReveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Upfront Case Study: Bottleneck & Breakthrough Side-by-Side ─────────── */
.upfront-duo-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.upfront-case-study-box {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  margin-bottom: 0;
}

.upfront-case-study-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.box-bottleneck {
  background: #fff8f8;
  border: 1px solid rgba(225, 29, 72, 0.16);
  border-left: 4px solid #e11d48;
}

.box-bottleneck:hover {
  background: #ffffff;
  border-color: rgba(225, 29, 72, 0.35);
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.08);
}

.box-breakthrough {
  background: #f4fbf7;
  border: 1px solid rgba(16, 185, 129, 0.16);
  border-left: 4px solid #10b981;
}

.box-breakthrough:hover {
  background: #ffffff;
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.08);
}

.upfront-box-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.header-rose {
  color: #e11d48;
}

.header-emerald {
  color: #059669;
}

.upfront-box-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

/* ── 3. Workflow Pipeline Architecture (Horizontal Flow on Desktop) ─────── */
.upfront-workflow-architecture {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.workflow-arch-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

.workflow-arch-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #475569;
}

.workflow-arch-title-group svg {
  color: var(--primary);
}

.workflow-arch-heading {
  text-transform: uppercase;
}

.workflow-arch-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: rgba(99, 102, 241, 0.1);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.workflow-arch-track {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.workflow-arch-node-card {
  flex: 1;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.workflow-arch-node-card:hover {
  background: #ffffff;
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.08);
  transform: translateY(-2px);
}

.workflow-node-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.node-num-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  padding: 1px 6px;
  border-radius: 4px;
}

.workflow-node-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
  line-height: 1.3;
}

.workflow-node-desc {
  font-size: 0.76rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.workflow-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  opacity: 0.65;
}

.flow-arrow-svg.arrow-desktop {
  display: block;
}

.flow-arrow-svg.arrow-mobile {
  display: none;
}

/* ── 4. Card Footer Strip (Tech Stack & Actions) ────────────────────────── */
.card-footer-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.tech-stack-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  flex: 1;
}

.tech-stack-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.card-footer-strip .tech-chips {
  margin-bottom: 0;
  margin-top: 0;
}

.card-footer-strip .card-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* ── Full Visible Deep-Dive Architecture Blocks ─────────────────────────── */
.expanded-section-block {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}

.expanded-block-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.98rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.expanded-block-title svg {
  color: var(--primary);
}

.expanded-block-summary {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 16px;
  line-height: 1.55;
}

.upfront-arch-nodes-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.upfront-arch-node {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #fbfcfe 100%);
  border: 1px solid rgba(99, 102, 241, 0.16);
  border-left: 4px solid #6366f1;
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: 0 4px 18px -4px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(99, 102, 241, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.upfront-arch-node:hover {
  background: #ffffff;
  border-color: rgba(99, 102, 241, 0.45);
  border-left-color: #4f46e5;
  box-shadow: 0 12px 30px -6px rgba(99, 102, 241, 0.18), 0 2px 6px rgba(15, 23, 42, 0.04);
  transform: translateY(-2px);
}

.node-num-pill {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
  margin-top: 1px;
}

.node-body {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.node-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  gap: 14px;
  width: 100%;
}

.node-title-txt {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.015em;
}

.node-role-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #4338ca;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(6, 182, 212, 0.08));
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 3px 12px;
  border-radius: 9999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-left: auto;
  white-space: nowrap;
  flex-shrink: 0;
}

.node-desc-txt {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

.expanded-decisions-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.expanded-decisions-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.6;
}

.expanded-decisions-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── 6. Full Screenshots & Telemetry Gallery (Always Visible in the End) ─── */
.full-gallery-section {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.full-gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.full-gallery-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
}

.full-gallery-title-wrap svg {
  color: var(--primary);
}

.full-gallery-count {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: rgba(99, 102, 241, 0.1);
  padding: 3px 12px;
  border-radius: var(--radius-full);
}

.full-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: start;
}

.full-gallery-card:only-child {
  grid-column: 1 / -1;
}

.full-gallery-card {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.full-gallery-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.12);
}

.full-gallery-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: #e2e8f0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.full-gallery-window-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60%;
}

.full-gallery-window-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: #047857;
  background: #ecfdf5;
  padding: 1px 6px;
  border-radius: 4px;
}

.full-gallery-img-container {
  position: relative;
  width: 100%;
  background: #0b0f19;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.full-gallery-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.full-gallery-card:hover .full-gallery-img {
  transform: scale(1.015);
}

.full-gallery-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.full-gallery-card:hover .full-gallery-hover-overlay {
  opacity: 1;
}

.full-gallery-caption-box {
  padding: 14px 18px;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  flex: 1;
}

.full-gallery-card-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
  line-height: 1.3;
}

.full-gallery-card-desc {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Upfront Card Action CTAs */
.upfront-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.upfront-actions .btn {
  flex: 1;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.upfront-actions .btn:active {
  transform: scale(0.97);
}

.toggle-dossier-btn {
  white-space: nowrap;
  font-size: 0.78rem;
  padding: 8px 12px;
}

/* Global Butter-Smooth Interactive Animations (Anti-Pop / Nothing Achanak Se) */
button, .btn, .filter-btn, .nav-pill-item, .tech-chip, .viewport-btn, .modal-tab-btn {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

button:active, .btn:active, .filter-btn:active {
  transform: scale(0.97);
}

.filter-btn {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-btn:active {
  transform: scale(0.96);
}

/* ── 8. Architecture Showcase Section ────────────────────────────────────── */
.architecture-showcase {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.arch-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.arch-title {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.arch-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.arch-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.arch-point {
  display: flex;
  gap: 18px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.arch-point:hover {
  border-color: rgba(99, 102, 241, 0.35);
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.arch-point-icon {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-dark);
  background: rgba(99, 102, 241, 0.1);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.arch-point-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 4px;
}

.arch-point-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Architecture Interactive Flow Diagram (Pristine Light Mode) */
.arch-diagram {
  background: #ffffff;
  color: var(--text-primary);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.diagram-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.arch-nodes-flow {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.arch-node {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  transition: all var(--transition-fast);
}

.arch-node:hover, .arch-node.active-node {
  background: #eef2ff;
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.1);
  transform: translateX(4px);
}

.node-icon-box {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.85rem;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.node-info {
  flex: 1;
}

.node-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3px;
}

.node-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
}

.node-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #0369a1;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
}

.node-desc {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.45;
}

.arch-connector {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #94a3b8;
  text-align: center;
  padding: 2px 0;
}

/* ── 9. Beautified Core Technology Stack Section ───────────────────────────── */
.tech-stack-section {
  background: #f8fafc;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 80px 0 96px;
}

.section-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.18);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  letter-spacing: 0.06em;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  animation: pulseBeacon 2s infinite;
}

/* Category Filter Tabs */
.tech-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.tech-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.tech-tab-btn svg {
  color: #64748b;
  transition: color 0.2s ease;
}

.tech-tab-count {
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  padding: 1px 7px;
  border-radius: 10px;
}

.tech-tab-btn:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.tech-tab-btn.active {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  border-color: #4f46e5;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.tech-tab-btn.active svg {
  color: #ffffff;
}

.tech-tab-btn.active .tech-tab-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Tech Cards Grid */
.tech-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.tech-feature-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  position: relative;
  overflow: hidden;
}

.tech-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #06b6d4);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.tech-feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 12px 28px rgba(99, 102, 241, 0.1);
}

.tech-feature-card:hover::before {
  opacity: 1;
}

.tech-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.tech-icon-container {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease;
}

.tech-feature-card:hover .tech-icon-container {
  transform: scale(1.06);
}

.tech-card-meta {
  flex: 1;
}

.tech-category-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: #6366f1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 2px;
}

.tech-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin: 0;
}

.tech-metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  width: fit-content;
}

.tech-card-desc {
  font-size: 0.84rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

.tech-card-footer {
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.tech-footer-lbl {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 6px;
}

.tech-project-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tech-project-chip {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: #334155;
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: 2px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.tech-project-chip:hover {
  background: #eef2ff;
  color: #4338ca;
  border-color: #c7d2fe;
}

/* ── Featured Visual Spotlight: n8n Workflow Telemetry ──────────────────── */
.tech-spotlight-banner {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.spotlight-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.spotlight-title-group {
  max-width: 680px;
}

.spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #0284c7;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.spotlight-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.25;
}

.spotlight-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

.spotlight-stats-row {
  display: flex;
  gap: 16px;
}

.spotlight-stat {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 130px;
}

.spotlight-stat .stat-num {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.spotlight-stat .stat-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  margin-top: 2px;
}

.spotlight-window-frame {
  background: #090d16;
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.12);
}

.spotlight-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #1e293b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.spotlight-window-url {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #94a3b8;
}

.spotlight-window-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
}

.spotlight-img-wrap {
  width: 100%;
  overflow: hidden;
  background: #090d16;
}

.spotlight-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ── 10. Site Footer (Clean Light Mode) ────────────────────────────────── */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 36px;
  color: var(--text-secondary);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-brand-badge .brand-code-symbol {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.footer-brand-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
}

.footer-brand-desc {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.65;
  max-width: 420px;
}

.footer-group-heading {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0f172a;
  margin-bottom: 16px;
  display: block;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.88rem;
  color: #64748b;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--primary-dark);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid #f1f5f9;
  font-size: 0.82rem;
  color: #94a3b8;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-bottom-link {
  color: #64748b;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-bottom-link:hover {
  color: var(--primary-dark);
}

.footer-sep {
  color: #cbd5e1;
}

/* ── 11. Modal Drawer & Deep-Dive Tabs ───────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999999 !important;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-drawer {
  width: 100%;
  max-width: 980px;
  background: #ffffff;
  height: 100vh;
  box-shadow: var(--shadow-modal);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-drawer {
  transform: translateX(0);
}

.modal-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 10;
}

.modal-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.modal-title-group h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 2px;
  color: #0f172a;
}

.modal-title-group p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.modal-close-btn {
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.modal-tabs-bar {
  display: flex;
  gap: 8px;
  padding: 12px 28px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
}

.modal-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.modal-tab-btn:hover {
  color: var(--primary-dark);
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
}

.modal-tab-btn.active {
  background: #ffffff;
  color: var(--primary-dark);
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
}

.modal-scroll-content {
  flex: 1;
  overflow-y: auto;
  padding: 28px;
  background: #ffffff;
}

/* Device Viewport Simulation Controls */
.device-viewport-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.viewport-toggle-group {
  display: flex;
  gap: 6px;
}

.viewport-btn {
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.viewport-btn:hover, .viewport-btn.active {
  background: #ffffff;
  color: var(--primary-dark);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: var(--shadow-sm);
}

/* Simulated Device Frame */
.simulated-frame-container {
  margin: 0 auto 28px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: max-width 0.35s ease;
}

.simulated-frame-container.view-desktop { max-width: 100%; }
.simulated-frame-container.view-tablet { max-width: 768px; }
.simulated-frame-container.view-mobile { max-width: 390px; }

.frame-browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f1f5f9;
  padding: 8px 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.frame-image-wrapper {
  max-height: 480px;
  overflow-y: auto;
  background: #f8fafc;
}

.frame-image-wrapper img {
  width: 100%;
  display: block;
}

.modal-section-block {
  margin-bottom: 32px;
}

.modal-section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #0f172a;
}

.modal-body-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.modal-tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.tech-spec-card {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
}

.tech-spec-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
  margin-bottom: 4px;
}

.tech-spec-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.modal-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.gallery-item-card {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.gallery-item-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.gallery-thumb-wrap img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.gallery-info {
  padding: 12px 14px;
}

.gallery-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.gallery-caption {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ── 12. THE WORKFLOW PIPELINE (Pristine Light Mode Architecture Canvas) ─ */
.workflow-section-container {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-xl);
  padding: 48px 28px;
  box-shadow: 0 10px 40px -10px rgba(15, 23, 42, 0.08), 0 2px 8px -2px rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
}

.workflow-section-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(99, 102, 241, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.workflow-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
  position: relative;
  z-index: 2;
}

.workflow-tag-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary-dark);
  background: #eef2ff;
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 5px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
}

.workflow-title {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin-bottom: 14px;
}

.workflow-accent-bar {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #6366f1 0%, #06b6d4 100%);
  border-radius: var(--radius-full);
  margin: 0 auto 16px;
  box-shadow: 0 1px 6px rgba(99, 102, 241, 0.35);
}

.workflow-desc {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
}

/* Timeline Layout */
.workflow-timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 0;
  z-index: 2;
}

/* Central Pipeline Line */
.timeline-center-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #6366f1 0%, #cbd5e1 50%, rgba(203, 213, 225, 0.25) 100%);
  transform: translateX(-50%);
}

/* Timeline Rows */
.timeline-row {
  position: relative;
  display: flex;
  margin-bottom: 44px;
  width: 100%;
}

.timeline-row:last-child {
  margin-bottom: 0;
}

.timeline-row.row-left {
  justify-content: flex-start;
}

.timeline-row.row-right {
  justify-content: flex-end;
}

/* Node Marker on Center Line */
.timeline-node-marker {
  position: absolute;
  left: 50%;
  top: 26px;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #6366f1;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.45);
  z-index: 3;
}

.marker-core {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #ffffff;
}

.marker-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(99, 102, 241, 0.5);
  animation: beaconPulse 2s infinite ease-out;
}

/* The Pipeline Card (Light Mode) */
.timeline-card {
  width: calc(50% - 36px);
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all var(--transition-normal);
  position: relative;
}

.timeline-card:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.12);
}

/* Card Header */
.timeline-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  gap: 8px;
}

.timeline-badge-text {
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
}

.timeline-phase-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-dark);
  font-weight: 800;
  text-transform: uppercase;
  background: #eef2ff;
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.icon-check {
  color: #10b981;
}

.pulse-beacon-sm {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6366f1;
  box-shadow: 0 0 8px #6366f1;
}

/* Title & Description */
.timeline-card-title {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #0f172a;
  margin-bottom: 10px;
  line-height: 1.35;
}

.timeline-card-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.62;
  margin-bottom: 16px;
}

/* Card Footer Integrity Bar */
.timeline-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  gap: 8px;
}

.stage-integrity-label {
  color: #94a3b8;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.status-badge-tag {
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 4px;
}

.badge-completed {
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.badge-active {
  color: #4338ca;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.15);
}

/* ── 13. High-Performance Responsive Media Queries ───────────────────────── */
@media (max-width: 1024px) {
  .arch-container { grid-template-columns: 1fr; gap: 36px; }
  .tech-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .spotlight-header-row { flex-direction: column; }
  .footer-content { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 992px) {
  .status-live-chip { display: none; }
  .nav-pill-item { padding: 6px 12px; font-size: 0.82rem; }
  .modal-tech-grid { grid-template-columns: 1fr; }
  .modal-gallery-grid { grid-template-columns: 1fr; }
}

/* Mobile Screens (< 768px) */
@media (max-width: 768px) {
  /* Prevent horizontal scroll globally */
  html, .portfolio-app {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  position: relative;
}

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Compact Sleek Mobile Navbar */
  .navbar-wrapper {
    padding: 10px 0;
  }
  .site-nav, .nav-links-cluster {
    display: none;
  }
  .navbar-inner {
    justify-content: space-between;
  }
  .brand-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }
  .brand-title-main {
    font-size: 1rem;
  }
  .brand-tagline-sub {
    display: none;
  }
  .nav-cta-btn {
    padding: 8px 14px;
    font-size: 0.78rem;
  }

  /* Mobile Hero Section */
  .hero-section {
    padding: 44px 0 28px;
  }
  .hero-status-pill {
    font-size: 0.74rem;
    padding: 5px 12px;
    margin-bottom: 16px;
    text-align: center;
    line-height: 1.35;
  }
  .hero-title {
    font-size: clamp(2rem, 8.5vw, 2.7rem);
    line-height: 1.15;
    margin-bottom: 12px;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.45;
    margin-bottom: 14px;
  }
  .hero-bio {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  /* Case Studies Section & Horizontal Filter Carousel */
  .section {
    padding: 48px 0;
  }
  .section-title {
    font-size: 1.85rem;
  }
  .section-subtitle {
    font-size: 0.92rem;
  }
  .controls-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-bottom: 24px;
  }
  .search-wrapper {
    max-width: 100%;
  }
  .filter-pills {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
    padding-bottom: 6px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
  }
  .filter-pills::-webkit-scrollbar {
    display: none;
  }
  .filter-pill {
    flex-shrink: 0;
    padding: 7px 14px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  /* Projects Grid on Mobile */
  .projects-grid {
    gap: 24px;
  }
  .project-card {
    border-radius: var(--radius-lg);
  }
  .card-inner-container {
    padding: 16px;
    gap: 16px;
  }
  .card-top-header {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .card-top-header .card-preview-window {
    order: -1;
  }
  .card-heading-col .card-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 14px;
  }
  .upfront-duo-boxes {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .workflow-arch-track {
    flex-direction: column;
    gap: 6px;
  }
  .workflow-flow-arrow {
    padding: 2px 0;
  }
  .flow-arrow-svg.arrow-desktop {
    display: none;
  }
  .flow-arrow-svg.arrow-mobile {
    display: block;
  }
  .card-footer-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .card-footer-strip .card-actions {
    flex-direction: column;
    width: 100%;
  }
  .card-footer-strip .card-actions .btn {
    width: 100%;
  }
  .full-gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .full-gallery-section {
    padding: 16px 12px;
  }
  .tech-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .tech-filter-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
  }
  .tech-tab-btn {
    flex-shrink: 0;
  }
  .tech-spotlight-banner {
    padding: 20px 16px;
  }
  .spotlight-stats-row {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  .spotlight-stat {
    width: 100%;
  }
  .project-preview {
    height: 195px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin: 16px 0;
  }
  .stat-pill {
    padding: 8px 10px;
  }
  .stat-value {
    font-size: 0.95rem;
  }
  .stat-label {
    font-size: 0.68rem;
  }

  /* Modal Mobile Experience */
  .modal-drawer {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
  }
  .modal-header-bar {
    padding: 12px 16px;
    gap: 10px;
  }
  .modal-header-left {
    gap: 10px;
  }
  .modal-title-group h2 {
    font-size: 1.15rem;
  }
  .modal-title-group p {
    font-size: 0.72rem;
  }
  .modal-header-bar .btn-sm {
    padding: 6px 10px;
    font-size: 0.72rem;
  }
  .modal-tabs-bar {
    padding: 8px 14px;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    white-space: nowrap;
  }
  .modal-tabs-bar::-webkit-scrollbar {
    display: none;
  }
  .modal-tab-btn {
    flex-shrink: 0;
    padding: 6px 12px;
    font-size: 0.78rem;
  }
  .modal-scroll-content {
    padding: 16px;
  }

  /* Workflow Timeline on Mobile (Single Left-Rail Roadmap) */
  .workflow-section-container {
    padding: 24px 14px;
    border-radius: var(--radius-lg);
  }
  .workflow-header {
    margin-bottom: 28px;
  }
  .workflow-title {
    font-size: 1.3rem;
  }
  .workflow-desc {
    font-size: 0.85rem;
  }
  .workflow-timeline {
    padding: 8px 0;
  }
  .timeline-center-line {
    left: 14px;
    transform: none;
  }
  .timeline-node-marker {
    left: 14px;
    top: 20px;
    transform: translate(-50%, -50%);
  }
  .timeline-row {
    margin-bottom: 22px;
    justify-content: flex-end !important;
  }
  .timeline-card {
    width: calc(100% - 32px);
    padding: 14px 16px;
  }
  .timeline-card-title {
    font-size: 1rem;
    margin-bottom: 8px;
  }
  .timeline-card-desc {
    font-size: 0.82rem;
    margin-bottom: 12px;
    line-height: 1.55;
  }
  .timeline-card-header {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 6px;
  }
  .timeline-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  /* Footer on Mobile */
  .site-footer {
    padding: 44px 0 24px;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 32px;
  }
  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* Extra Small Phones (< 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .modal-header-bar {
    flex-wrap: wrap;
  }
}

/* ==========================================================================
   DESIGN SHOWCASE IN MOTION: AUTONOMOUS 32-SCREEN MOVING COLLAGE
   ========================================================================== */

.design-showcase-section {
  position: relative;
  padding: 60px 0 80px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.4) 0%, rgba(241, 245, 249, 0.7) 50%, rgba(248, 250, 252, 0.4) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.design-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 36px;
}

.design-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.design-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary);
  box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
  animation: pulseBeacon 2s infinite;
}

/* Toolbar & Filters */
.design-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
  padding: 12px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.design-filter-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.design-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-secondary);
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.design-pill-btn:hover {
  background: #e2e8f0;
  color: var(--text-primary);
}

.design-pill-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.design-pill-btn .pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: rgba(15, 23, 42, 0.08);
  font-size: 0.7rem;
  font-weight: 700;
}

.design-pill-btn.active .pill-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Hover hint */
.collage-hover-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 16px auto 0;
  padding: 8px 16px;
  background: rgba(99, 102, 241, 0.05);
  border: 1px dashed rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--text-muted);
  width: fit-content;
}

/* ── Collage Viewport & Marquee Tracks ──────────────────────────────────── */
.design-collage-viewport {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 24px 0;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}

.collage-fade-left,
.collage-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 10;
  pointer-events: none;
}

.collage-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary) 20%, transparent);
}

.collage-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary) 20%, transparent);
}

.collage-track-row {
  display: flex;
  overflow: hidden;
  user-select: none;
  margin-bottom: 22px;
}

.collage-track-row:last-child {
  margin-bottom: 0;
}

.collage-marquee-track {
  display: flex;
  gap: 22px;
  width: max-content;
  will-change: transform;
}

.collage-marquee-track.track-left.speed-normal {
  animation: marqueeLeft 52s linear infinite;
}

.collage-marquee-track.track-left.speed-slow {
  animation: marqueeLeft 90s linear infinite;
}

.collage-marquee-track.track-right.speed-normal {
  animation: marqueeRight 52s linear infinite;
}

.collage-marquee-track.track-right.speed-slow {
  animation: marqueeRight 90s linear infinite;
}

.collage-marquee-track.speed-paused {
  animation-play-state: paused !important;
}

.design-collage-viewport:hover .collage-marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeLeft {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-33.333333%, 0, 0);
  }
}

@keyframes marqueeRight {
  0% {
    transform: translate3d(-33.333333%, 0, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

/* ── Individual Collage Card (Stops Clean & Flat on Hover Like Image 2) ── */
.collage-item-card,
.portfolio-app .collage-item-card,
.portfolio-app .collage-card,
.collage-card {
  position: relative !important;
  width: 380px !important;
  min-width: 380px !important;
  max-width: 380px !important;
  flex: 0 0 380px !important;
  flex-shrink: 0 !important;
  background: #ffffff !important;
  border-radius: var(--radius-lg, 16px) !important;
  border: 1px solid var(--border-subtle, rgba(15, 23, 42, 0.08)) !important;
  overflow: hidden !important;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.08) !important;
  cursor: pointer !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
  display: flex !important;
  flex-direction: column !important;
}

.collage-item-card:hover {
  /* Keeps card perfectly flat in line with the rest, matching user reference image */
  border-color: var(--card-accent, var(--primary));
  box-shadow: 0 6px 20px -2px var(--card-glow, rgba(99, 102, 241, 0.2)), 0 2px 8px -2px rgba(15, 23, 42, 0.08);
}

/* Browser Window Chrome */
.collage-card-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #0f172a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chrome-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

.chrome-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.chrome-dot.red { background: #ef4444; }
.chrome-dot.yellow { background: #f59e0b; }
.chrome-dot.green { background: #10b981; }

.chrome-title-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-full);
}

.chrome-dot-status {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.chrome-title-text {
  font-size: 0.72rem;
  font-weight: 600;
  color: #e2e8f0;
  letter-spacing: 0.02em;
}

.chrome-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Card Media & Image (Clean Screenshot Display, No Zoom, No Dark Overlay) */
.collage-card-media,
.portfolio-app .collage-card-media {
  position: relative !important;
  width: 100% !important;
  height: 235px !important;
  max-height: 235px !important;
  min-height: 235px !important;
  overflow: hidden !important;
  background: #090d16 !important;
  flex-shrink: 0 !important;
}

.collage-card-img,
.portfolio-app .collage-card-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: top center !important;
  display: block !important;
}

/* Card Bottom Meta Bar */
.collage-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  gap: 10px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.footer-project-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-screen-name {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border: 1px solid;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Collage Mosaic Grid (Grid View) ────────────────────────────────────── */
.collage-mosaic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.collage-mosaic-grid .collage-item-card {
  width: 100%;
}

/* ── Collage Footer Stats ───────────────────────────────────────────────── */
.collage-footer-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.stat-capsule {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.capsule-num {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--primary);
}

.capsule-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── ProjectCard Design Specs Strip ─────────────────────────────────────── */
.card-design-specs-strip {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
  padding: 10px 14px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.design-spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
}

.spec-lbl {
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  min-width: 68px;
}

.spec-val-theme {
  font-weight: 600;
  color: var(--text-primary);
}

.spec-palette-row {
  align-items: center;
}

.spec-palette-swatches {
  display: flex;
  align-items: center;
  gap: 6px;
}

.palette-swatch-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.palette-swatch-dot:hover {
  transform: scale(1.3);
}

/* Card Screen Switcher Bar */
.card-screen-switcher-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 12px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
}

.switcher-lbl {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.switcher-buttons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.screen-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.screen-switch-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.screen-switch-btn.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.switch-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .collage-item-card {
    width: 320px;
  }
  .collage-card-media {
    height: 200px;
  }
  .design-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .design-controls-right {
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  .collage-item-card {
    width: 280px;
  }
  .collage-card-media {
    height: 175px;
  }
  .collage-mosaic-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* ── CONTACT & BOOKING PORTAL (GOOGLE MEET + APPS SCRIPT ENGINE) ────────── */
/* ══════════════════════════════════════════════════════════════════════════ */
.contact-booking-section {
  padding: 90px 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(241, 245, 249, 0.6) 100%);
  position: relative;
  border-top: 1px solid var(--border-subtle);
}

/* Dual-Mode Selector Tabs */
.form-mode-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 32px auto 0;
  padding: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
}

.mode-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mode-tab-btn:hover {
  color: var(--text-primary);
  background: rgba(15, 23, 42, 0.04);
}

.mode-tab-btn.active {
  background: #ffffff;
  color: var(--primary);
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 0 4px 14px -2px rgba(99, 102, 241, 0.2);
}

.tab-pill-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  letter-spacing: 0.02em;
}

.mode-tab-btn.active .tab-pill-badge {
  background: var(--primary);
  color: #ffffff;
}

/* Main Form Card Container */
.form-card-container {
  max-width: 860px;
  margin: 36px auto 0;
}



/* Form Pane Wrapper */
.form-pane {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px 40px;
  box-shadow: 0 12px 36px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
}

.form-pane-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.meet-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.meet-indicator.inquiry-pill {
  background: rgba(6, 182, 212, 0.1);
  color: #0891b2;
}

.meet-icon-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: pulseBeacon 2s infinite;
}

.pane-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.pane-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.pane-desc code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: var(--primary);
  background: rgba(99, 102, 241, 0.08);
  padding: 2px 5px;
  border-radius: 4px;
}

/* Fields Grid */
.form-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 24px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.field-group.full-width {
  grid-column: 1 / -1;
}

.field-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.field-label .req-star {
  color: #ef4444;
}

.field-label .opt-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Inputs & Icons */
.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon .field-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  pointer-events: none;
  transition: color 0.2s ease;
}

.portal-input,
.portal-select {
  width: 100%;
  padding: 11px 14px 11px 40px;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-primary);
  font-family: inherit;
  transition: all 0.2s ease;
  outline: none;
}

.portal-textarea {
  width: 100%;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-primary);
  font-family: inherit;
  line-height: 1.5;
  transition: all 0.2s ease;
  outline: none;
  resize: vertical;
}

.portal-input:focus,
.portal-select:focus,
.portal-textarea:focus {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.input-with-icon:focus-within .field-icon {
  color: var(--primary);
}

/* Time Slots Grid */
.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
  gap: 8px;
  margin-top: 4px;
}

.time-slot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.time-slot-btn:hover {
  background: #f1f5f9;
  color: var(--text-primary);
  border-color: #cbd5e1;
}

.time-slot-btn.selected {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.time-slot-btn.selected svg {
  stroke: #ffffff;
}

/* Submit Row */
.form-submit-row {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.btn-submit-hero {
  width: 100%;
  max-width: 440px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
  transition: all 0.25s ease;
}

.btn-submit-hero:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.45);
}

.btn-submit-hero:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.submit-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.submit-caption {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

.form-error-banner {
  margin-top: 16px;
  padding: 10px 14px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-md);
  color: #b91c1c;
  font-size: 0.85rem;
}

/* ── SUCCESS STATE: GOOGLE MEET & CONFIRMATION ──────────────────────────── */
.booking-success-card {
  padding: 8px 0;
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.success-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 26px;
}

.success-check-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}

.success-sub {
  font-size: 0.78rem;
  font-weight: 700;
  color: #059669;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.success-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.success-note {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.success-note code {
  font-family: var(--font-mono);
  color: var(--primary);
  background: rgba(99, 102, 241, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Meet Link Spotlight Box */
.meet-link-spotlight {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: #ffffff;
  margin-bottom: 24px;
  box-shadow: 0 16px 32px -4px rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.spotlight-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.spotlight-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.spotlight-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}

.spotlight-brand-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.spotlight-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.meet-url-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 18px;
  gap: 12px;
}

.meet-url-text {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: #38bdf8;
  font-weight: 600;
  word-break: break-all;
}

.btn-copy-link,
.copy-meet-btn,
#btn-copy-meet-link,
#copy-meet-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 7px 14px !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: var(--radius-sm, 6px) !important;
  font-family: inherit !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  outline: none !important;
  user-select: none !important;
  line-height: 1.2 !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
}

.btn-copy-link:hover,
.copy-meet-btn:hover,
#btn-copy-meet-link:hover,
#copy-meet-btn:hover {
  background: rgba(255, 255, 255, 0.24) !important;
  border-color: rgba(56, 189, 248, 0.6) !important;
  color: #38bdf8 !important;
  transform: translateY(-1px) !important;
}

.btn-copy-link:active,
.copy-meet-btn:active,
#btn-copy-meet-link:active,
#copy-meet-btn:active {
  transform: translateY(0) !important;
}

.btn-copy-link.copied,
.copy-meet-btn.copied,
#btn-copy-meet-link.copied,
#copy-meet-btn.copied {
  background: rgba(16, 185, 129, 0.25) !important;
  border-color: rgba(16, 185, 129, 0.7) !important;
  color: #10b981 !important;
}

.meet-action-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.meet-action-buttons .btn {
  flex: 1;
  min-width: 220px;
  justify-content: center;
}

/* Booking Summary Grid */
.booking-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.summary-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.summary-lbl {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.summary-val {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Contact Summary Box */
.contact-summary-box {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 20px;
}

.summary-field {
  margin-bottom: 10px;
}

.summary-field:last-child {
  margin-bottom: 0;
}

.summary-msg-.portfolio-app {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  position: relative;
}

.reset-booking-row {
  text-align: center;
}

.btn-text-link {
  background: transparent;
  border: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  padding: 6px 12px;
  transition: all 0.2s ease;
}

.btn-text-link:hover {
  text-decoration: underline;
  color: var(--primary-hover);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact-booking-section {
    padding: 60px 0;
  }
  .form-pane {
    padding: 24px 20px;
  }
  .form-fields-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .form-mode-tabs {
    width: 100%;
    flex-direction: column;
    border-radius: var(--radius-lg);
  }
  .mode-tab-btn {
    width: 100%;
    justify-content: center;
  }
  .meet-action-buttons {
    flex-direction: column;
  }
  .meet-action-buttons .btn {
    width: 100%;
  }
  .booking-summary-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* ── LUXURY CUSTOM DATEPICKER DROPDOWN ──────────────────────────────────── */
/* ══════════════════════════════════════════════════════════════════════════ */
.custom-datepicker-wrapper {
  position: relative;
  width: 100%;
}

.custom-datepicker-wrapper.active-open,
.field-group.has-open-popover,
.field-group:has(.custom-datepicker-wrapper.active-open) {
  position: relative;
  z-index: 10000 !important;
}

/* Trigger Button */
.custom-datepicker-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
  font-family: inherit;
  text-align: left;
}

.custom-datepicker-trigger:hover {
  background: #ffffff;
  border-color: #cbd5e1;
}

.custom-datepicker-trigger.active-open {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.trigger-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trigger-icon {
  color: var(--primary);
  flex-shrink: 0;
}

.trigger-date-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.trigger-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trigger-chip {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(15, 23, 42, 0.05);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.trigger-chevron {
  color: var(--text-muted);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.trigger-chevron.rotate {
  transform: rotate(180deg);
  color: var(--primary);
}

/* Popover Calendar Container */
.custom-calendar-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 100001 !important;
  width: 330px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  box-shadow: 0 20px 45px -8px rgba(15, 23, 42, 0.25), 0 6px 16px -2px rgba(15, 23, 42, 0.1);
  padding: 16px;
  animation: popoverFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popoverFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Quick Presets Bar */
.calendar-presets-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.preset-chip-btn {
  flex: 1;
  padding: 5px 8px;
  background: #f1f5f9;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.preset-chip-btn:hover {
  background: rgba(99, 102, 241, 0.12);
  color: var(--primary);
  border-color: rgba(99, 102, 241, 0.25);
}

/* Month Navigation Bar */
.calendar-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cal-month-title {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cal-month-name {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.cal-year-name {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-muted);
}

.cal-nav-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.cal-nav-btn:hover:not(:disabled) {
  background: #e2e8f0;
  color: var(--text-primary);
  border-color: #cbd5e1;
}

.cal-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Weekday Labels */
.calendar-weekdays-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 6px;
}

.cal-weekday-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  padding: 4px 0;
  letter-spacing: 0.04em;
}

/* Days Grid */
.calendar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-day-cell {
  aspect-ratio: 1;
  border: none;
  background: transparent;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  position: relative;
  transition: all 0.16s ease;
}

.cal-day-cell:hover:not(.disabled):not(.selected) {
  background: rgba(99, 102, 241, 0.08);
  color: var(--primary);
  transform: scale(1.08);
}

.cal-day-cell.other-month {
  color: #cbd5e1;
}

.cal-day-cell.disabled {
  color: #cbd5e1;
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
  pointer-events: none;
}

.cal-day-cell.today:not(.selected) {
  color: var(--primary);
  font-weight: 800;
}

.cal-day-cell .today-dot {
  position: absolute;
  bottom: 3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
}

.cal-day-cell.selected {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%) !important;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
  transform: scale(1.06);
}

/* Footer Info */
.calendar-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.76rem;
  color: var(--text-muted);
}

.cal-footer-text {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #059669;
}

.cal-footer-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

.cal-close-btn {
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: #f8fafc;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.cal-close-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* Mobile Popover Adjustment */
@media (max-width: 480px) {
  .custom-calendar-popover {
    width: 295px;
    padding: 12px;
  }
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* ── APPLE ALARM CLOCK STYLE TIME TUMBLER PICKER ───────────────────────── */
/* ══════════════════════════════════════════════════════════════════════════ */
.apple-time-picker-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
}

.picker-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.picker-heading-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.apple-clock-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.clock-pulse {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

.picker-sub-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: #6366f1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.picker-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.01em;
}

/* Apple Digital Time Display Capsule */
.digital-time-capsule {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  padding: 5px 14px;
  background: #0f172a;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.digital-number {
  font-family: var(--font-mono, monospace);
  font-size: 1.25rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.02em;
}

.digital-colon {
  font-family: var(--font-mono, monospace);
  font-size: 1.15rem;
  font-weight: 700;
  color: #94a3b8;
  animation: blinkColon 2s infinite ease-in-out;
}

@keyframes blinkColon {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.digital-period {
  font-size: 0.8rem;
  font-weight: 800;
  color: #fbbf24;
  margin-left: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── 3D Tumbler Cylinder Drum ── */
.ios-tumbler-container {
  position: relative;
  height: 160px;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 16px;
  overflow: hidden;
  user-select: none;
}

/* Lens Highlight Bar */
.tumbler-center-lens {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  height: 42px;
  background: rgba(99, 102, 241, 0.08);
  border-top: 1.5px solid rgba(99, 102, 241, 0.3);
  border-bottom: 1.5px solid rgba(99, 102, 241, 0.3);
  border-radius: 8px;
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
}

/* Vignette Top & Bottom Fades */
.tumbler-fade-top,
.tumbler-fade-bottom {
  position: absolute;
  left: 0;
  right: 0;
  height: 52px;
  pointer-events: none;
  z-index: 5;
}

.tumbler-fade-top {
  top: 0;
  background: linear-gradient(to bottom, #f8fafc 18%, rgba(248, 250, 252, 0.8) 50%, transparent 100%);
}

.tumbler-fade-bottom {
  bottom: 0;
  background: linear-gradient(to top, #f8fafc 18%, rgba(248, 250, 252, 0.8) 50%, transparent 100%);
}

/* Columns */
.tumbler-column-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  position: relative;
  z-index: 3;
}

.tumbler-column-wrapper.period-column .tumbler-wheel {
  width: 55px;
}

.column-label {
  position: absolute;
  top: 5px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  pointer-events: none;
}

.tumbler-wheel {
  width: 58px;
  height: 100%;
  overflow-y: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tumbler-wheel::-webkit-scrollbar {
  display: none;
}

.wheel-padding-spacer {
  height: 58px;
  flex-shrink: 0;
}

.wheel-item {
  height: 42px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  font-size: 1.05rem;
  font-weight: 500;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  outline: none;
}

.wheel-item:hover {
  color: var(--text-primary);
  transform: scale(1.1);
}

.wheel-item.selected {
  color: var(--primary);
  font-size: 1.45rem;
  font-weight: 800;
  transform: scale(1.18);
}

.tumbler-separator {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-muted);
  padding-bottom: 2px;
  z-index: 3;
  user-select: none;
}

/* ── Popular Slots Presets Strip ── */
.presets-strip-container {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.presets-strip-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.presets-pill-list {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.preset-slot-chip {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: #f1f5f9;
  border: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.preset-slot-chip:hover {
  background: #e2e8f0;
  color: var(--text-primary);
  border-color: #cbd5e1;
}

.preset-slot-chip.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

@media (max-width: 480px) {
  .ios-tumbler-container {
    gap: 8px;
    padding: 0 8px;
  }
  .digital-time-capsule {
    padding: 4px 10px;
  }
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* ── REACT BITS OPTIONWHEEL STRATEGY COCKPIT ────────────────────────────── */
/* ══════════════════════════════════════════════════════════════════════════ */
.wheel-cockpit-card {
  background: linear-gradient(145deg, #090d16 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.cockpit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.cockpit-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cockpit-beacon {
  position: relative;
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.beacon-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #38bdf8;
  opacity: 0.4;
  animation: radarPulse 2s infinite cubic-bezier(0, 0, 0.2, 1);
}

.beacon-core {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
}

@keyframes radarPulse {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2.4); opacity: 0; }
}

.cockpit-sub-badge {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.cockpit-main-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
}

/* Nav View Switcher Tabs */
.wheel-view-nav {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px;
  border-radius: var(--radius-full);
}

.wheel-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.wheel-nav-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.wheel-nav-btn.active {
  background: #ffffff;
  color: #0f172a;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.wheel-nav-btn .nav-icon {
  font-size: 0.85rem;
}

/* ── Wheel Display Stage ── */
.wheel-display-stage {
  position: relative;
  height: 240px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  user-select: none;
}

/* Horizontal Lens Highlight Bar */
.stage-center-lens {
  position: absolute;
  top: 50%;
  left: 10px;
  right: 10px;
  transform: translateY(-50%);
  height: 48px;
  background: rgba(99, 102, 241, 0.12);
  border-top: 1.5px solid rgba(99, 102, 241, 0.35);
  border-bottom: 1.5px solid rgba(99, 102, 241, 0.35);
  border-radius: 10px;
  pointer-events: none;
  z-index: 2;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

/* Vignette Top & Bottom Depth Fades */
.stage-shadow-top,
.stage-shadow-bottom {
  position: absolute;
  left: 0;
  right: 0;
  height: 70px;
  pointer-events: none;
  z-index: 5;
}

.stage-shadow-top {
  top: 0;
  background: linear-gradient(to bottom, #090d16 15%, rgba(9, 13, 22, 0.85) 45%, transparent 100%);
}

.stage-shadow-bottom {
  bottom: 0;
  background: linear-gradient(to top, #090d16 15%, rgba(9, 13, 22, 0.85) 45%, transparent 100%);
}

/* Dual Wheels Grid */
.dual-wheels-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: 100%;
  position: relative;
  z-index: 3;
}

.wheel-pod {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
}

.pod-header,
.single-pod-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px 0;
  z-index: 10;
}

.pod-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pod-hint {
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 500;
}

.wheel-container-box {
  flex: 1;
  height: calc(100% - 30px);
  position: relative;
}

.wheel-container-box.full {
  height: calc(100% - 34px);
}

.pods-center-divider {
  width: 1px;
  height: 75%;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.15) 30%, rgba(255, 255, 255, 0.15) 70%, transparent);
  align-self: center;
  z-index: 4;
}

/* Single Wheel Stage */
.single-wheel-stage {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 3;
}

/* ── Live HUD Status Bar ── */
.cockpit-hud-bar {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hud-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  transition: all 0.2s ease;
}

.hud-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.hud-icon {
  font-size: 0.85rem;
}

.hud-label {
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.hud-value {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.84rem;
}

.hud-pill.date-pill .hud-value {
  color: #38bdf8;
}

.hud-pill.time-pill .hud-value {
  color: #c084fc;
}

.hud-pill.agenda-pill .hud-value {
  color: #34d399;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .wheel-cockpit-card {
    padding: 16px;
  }
  .cockpit-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .wheel-view-nav {
    width: 100%;
    overflow-x: auto;
    justify-content: space-between;
  }
  .wheel-display-stage {
    height: 220px;
  }
  .dual-wheels-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }
  .pods-center-divider {
    display: none;
  }
  .cockpit-hud-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .hud-pill {
    justify-content: flex-start;
  }
}

/* ══════════════════════════════════════════════════════════════════════════ */
/* ── LIGHT MODE TIME WHEEL PICKER (RANK SPIDERS LIGHT DESIGN SYSTEM) ────── */
/* ══════════════════════════════════════════════════════════════════════════ */
.apple-timer-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 28px 22px;
  box-shadow: none; /* Clean flat luxury finish */
  color: var(--text-primary);
  max-width: 620px;
  margin: 12px auto 0;
  width: 100%;
}

/* ── 3D Light Drum Stage ── */
.ios-timer-stage {
  position: relative;
  height: 224px;
  max-width: 520px;
  margin: 0 auto;
  background: #f8fafc; /* Site background token */
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px; /* Generous spacing between columns */
  padding: 0 24px;
  overflow: hidden;
  user-select: none;
}

/* Light Center Lens Bar Capsule */
.ios-center-selection-bar {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 24px);
  max-width: 480px;
  height: 52px;
  background: #ffffff;
  border: 1.5px solid rgba(99, 102, 241, 0.32);
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.08), 0 1px 3px rgba(15, 23, 42, 0.04);
  border-radius: 14px;
  pointer-events: none;
  z-index: 1;
}

/* Top and Bottom Cylinder Vignette Fades in Light Mode */
.ios-vignette-top,
.ios-vignette-bottom {
  position: absolute;
  left: 0;
  right: 0;
  height: 76px;
  pointer-events: none;
  z-index: 5;
}

.ios-vignette-top {
  top: 0;
  background: linear-gradient(to bottom, #f8fafc 25%, rgba(248, 250, 252, 0.85) 65%, transparent 100%);
}

.ios-vignette-bottom {
  bottom: 0;
  background: linear-gradient(to top, #f8fafc 25%, rgba(248, 250, 252, 0.85) 65%, transparent 100%);
}

/* Column Unit Groups (Holds the scrollable number column + the stationary label) */
.ios-wheel-group {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.ios-wheel-group.hours-group {
  width: 110px;
}

.ios-wheel-group.minutes-group {
  width: 100px;
}

.ios-wheel-group.period-group {
  width: 104px;
}

/* Stationary Labels: Locked inside the center capsule at 50% height, NEVER SCROLL */
.ios-stationary-label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.96rem;
  font-weight: 700;
  color: #4f46e5; /* Rank Spiders brand indigo */
  letter-spacing: -0.01em;
  pointer-events: none;
  user-select: none;
  z-index: 4;
  white-space: nowrap;
}

.hours-label {
  left: 56px; /* Generous 14px gap from 42px number column */
}

.min-label {
  left: 56px; /* Generous 14px gap from 42px number column */
}

.ist-label {
  left: 62px; /* Generous 14px gap from 48px period column */
}

/* Column Wheels (ONLY numbers scroll inside) */
.ios-wheel-column {
  height: 100%;
  overflow-y: scroll;
  scrollbar-width: none;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 3;
}

.ios-wheel-group.hours-group .ios-wheel-column,
.ios-wheel-group.minutes-group .ios-wheel-column {
  width: 42px;
}

.ios-wheel-group.period-group .ios-wheel-column {
  width: 48px;
}

.ios-wheel-column::-webkit-scrollbar {
  display: none;
}

.wheel-spacer {
  height: 88px;
  flex-shrink: 0;
}

/* Wheel Rows (Individual numbers) with smooth animations */
.ios-wheel-row {
  height: 48px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* right-aligned to sit cleanly next to the stationary label */
  font-size: 1.45rem;
  font-weight: 500;
  color: #94a3b8; /* slate-400 */
  cursor: pointer;
  flex-shrink: 0;
  scroll-snap-align: center;
  transition: color 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.ios-wheel-row:hover {
  color: #4f46e5;
  transform: scale(1.02);
}

.ios-wheel-row.active {
  color: #0f172a; /* Slate-900 / dark bold text */
  font-size: 1.75rem;
  font-weight: 800;
  transform: scale(1.06);
}

.ios-wheel-row.diff-1 {
  color: #64748b; /* slate-500 */
  font-weight: 600;
  opacity: 0.75;
  transform: scale(0.96);
}

.ios-wheel-row.diff-2 {
  color: #94a3b8; /* slate-400 */
  font-weight: 500;
  opacity: 0.45;
  transform: scale(0.88);
}

.ios-wheel-row.diff-3 {
  color: #cbd5e1; /* slate-300 */
  font-weight: 400;
  opacity: 0.25;
  transform: scale(0.8);
}

/* Number display inside row */
.timer-num-box {
  display: inline-block;
  width: 100%;
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  font-family: var(--font-sans);
  flex-shrink: 0;
  letter-spacing: -0.03em;
  user-select: none;
}

.timer-num-box.period-box {
  font-size: 1.35rem;
  font-weight: 700;
}

/* ── Quick Popular Presets ── */
.timer-presets-row {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.presets-caption {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.presets-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.timer-preset-chip {
  padding: 6px 14px;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.timer-preset-chip:hover {
  background: rgba(99, 102, 241, 0.08);
  color: var(--primary);
  border-color: rgba(99, 102, 241, 0.3);
}

.timer-preset-chip.selected {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
}

@media (max-width: 480px) {
  .apple-timer-card {
    padding: 14px 10px;
  }
  .ios-timer-stage {
    gap: 12px;
    max-width: 100%;
    padding: 0 4px;
  }
  .ios-center-selection-bar {
    width: calc(100% - 12px);
  }
  .ios-wheel-group.hours-group {
    width: 84px;
  }
  .ios-wheel-group.minutes-group {
    width: 74px;
  }
  .ios-wheel-group.period-group {
    width: 76px;
  }
  .ios-wheel-group.hours-group .ios-wheel-column,
  .ios-wheel-group.minutes-group .ios-wheel-column {
    width: 32px;
  }
  .ios-wheel-group.period-group .ios-wheel-column {
    width: 38px;
  }
  .hours-label,
  .min-label {
    left: 38px;
    font-size: 0.85rem;
  }
  .ist-label {
    left: 44px;
    font-size: 0.85rem;
  }
  .timer-num-box {
    font-size: 1.3rem;
  }
  .timer-num-box.period-box {
    font-size: 1.1rem;
  }
  .ios-wheel-row.active {
    font-size: 1.45rem;
  }
}








/* OptionWheel Styles */
.option-wheel {
  --ow-text-color: #a6a6a6;
  --ow-active-color: #ffffff;
  --ow-font-size: 3rem;
  --ow-inset: 80px;

  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  touch-action: none;
  outline: none;
}

.option-wheel--dragging {
  cursor: grabbing;
}

/* Each option is absolutely centered, then offset along the curve by the
   rAF loop through transform/opacity/filter, so everything stays in step. */
.option-wheel__item {
  position: absolute;
  top: 50%;
  left: var(--ow-inset);
  white-space: nowrap;
  font-size: var(--ow-font-size);
  line-height: 1;
  font-weight: 400;
  transform-origin: left center;
  cursor: pointer;
  will-change: transform, opacity, filter;
  /* --ow-p goes 0 -> 1 as an option approaches the middle of the wheel */
  color: color-mix(in srgb, var(--ow-active-color) calc(var(--ow-p, 0) * 100%), var(--ow-text-color));
}

.option-wheel--right .option-wheel__item {
  left: auto;
  right: var(--ow-inset);
  transform-origin: right center;
}

.option-wheel__item--selected {
  font-weight: 700;
}


/* ==========================================================================
   PORTFOLIO MASTER POLISH OVERRIDES (Matches RS_portfolio 1:1)
   Solves:
   1. Wide luxury layout up to 1420px (no narrow 1140px constriction in center)
   2. Full-viewport marquee breakout (100vw edge-to-edge)
   3. Ambient cyber glows filling left & right edges with rich vibrant colors
   4. Project Cards 1:1 luxury 2-column header, duo boxes, pipeline & topology
   5. Dedicated dark site-footer (hides corporate newsletter footer)
   ========================================================================== */

/* ── 1. Pure Plain White Background (Clean & Minimalist, 0 Blue & Pink Glows) ── */
body,
body.page-template-template-portfolio,
.page-template-template-portfolio,
.elementor-page-28,
.portfolio-app,
.hero-section,
.design-showcase-section,
.case-studies-section,
.tech-stack-section,
.contact-booking-section {
  background-color: #ffffff !important;
  background-image: none !important;
  background: #ffffff !important;
}

/* Ensure Elementor sections and columns inside main stay clean plain white */
.page-template-template-portfolio main .elementor-section,
.page-template-template-portfolio #primary .elementor-section,
.page-template-template-portfolio .portfolio-app .elementor-section,
.page-template-template-portfolio main .elementor-column,
.page-template-template-portfolio #primary .elementor-column,
.page-template-template-portfolio .portfolio-app .elementor-column,
.page-template-template-portfolio main .elementor-container,
.page-template-template-portfolio #primary .elementor-container,
.page-template-template-portfolio .portfolio-app .elementor-container {
  background-color: transparent !important;
  background-image: none !important;
}

/* Completely eliminate all ambient orbs, side glows, and cyber rails */
.ambient-bg,
.ambient-orb,
.ambient-orb-1,
.ambient-orb-2,
.ambient-orb-3,
.ambient-orb-left-glow,
.ambient-orb-right-glow,
.ambient-orb-top-center,
.ambient-rail-left,
.ambient-rail-right,
.ambient-grid {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* 32-Screen Showcase Vignette Fades clean into pure white */
.collage-fade-left {
  background: linear-gradient(to right, #ffffff 30%, transparent) !important;
}
.collage-fade-right {
  background: linear-gradient(to left, #ffffff 30%, transparent) !important;
}

/* ── 2. Full Luxury Width (1420px container expansion for portfolio content) ───────────────────── */
.elementor-page-28 main .elementor-section.elementor-section-boxed > .elementor-container,
.page-template-template-portfolio main .elementor-section.elementor-section-boxed > .elementor-container,
.page-template-template-portfolio main .elementor-container,
.page-template-template-portfolio #primary .elementor-container,
.page-template-template-portfolio main .container,
.page-template-template-portfolio #primary .container,
.portfolio-app .container {
  max-width: 1420px !important;
  width: 100% !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Hero section headline & subtitle proper wide luxury breathing room */
.hero-section .hero-content,
.elementor-widget-rs_portfolio_hero .hero-content {
  max-width: 1120px !important;
  margin: 0 auto !important;
  text-align: center !important;
}
.hero-section .hero-title,
.portfolio-hero-title {
  font-size: clamp(2.8rem, 5.2vw, 4.4rem) !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  letter-spacing: -0.035em !important;
  color: #0f172a !important;
  margin-bottom: 22px !important;
}
.hero-section .hero-bio,
.portfolio-hero-bio {
  font-size: 1.22rem !important;
  line-height: 1.72 !important;
  color: #475569 !important;
  max-width: 920px !important;
  margin: 0 auto 36px !important;
}

/* ── 3. Edge-to-Edge 32-Screen Showcase Marquee Breakout ─────────────────── */
.elementor-page-28 .design-showcase-section,
.page-template-template-portfolio .design-showcase-section,
.elementor-page-28 .elementor-widget-rs_portfolio_showcase,
.elementor-widget-rs_portfolio_showcase {
  overflow: visible !important;
  width: 100% !important;
}
.elementor-widget-rs_portfolio_showcase .elementor-widget-container {
  overflow: visible !important;
  width: 100% !important;
  padding: 0 !important;
}
.design-collage-viewport {
  position: relative !important;
  width: 100vw !important;
  max-width: 100vw !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  overflow: hidden !important;
  padding: 24px 0 !important;
}

/* ── 4. Project Cards: Full Luxury 1:1 Layout ────────────────────────────── */
.projects-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 52px !important;
  width: 100% !important;
}

.horizontal-project-card {
  width: 100% !important;
  background: #ffffff !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(99, 102, 241, 0.05) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.horizontal-project-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 20px 45px -12px rgba(99, 102, 241, 0.16), 0 0 0 1px rgba(99, 102, 241, 0.22) !important;
  border-color: rgba(99, 102, 241, 0.35) !important;
}

.horizontal-project-card .card-inner-container {
  padding: 38px 44px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 28px !important;
}

.horizontal-project-card .card-top-header {
  display: grid !important;
  grid-template-columns: 1fr 1.12fr !important;
  gap: 36px !important;
  align-items: stretch !important;
}

@media (max-width: 1024px) {
  .horizontal-project-card .card-top-header {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .horizontal-project-card .card-inner-container {
    padding: 24px 20px !important;
  }
}

/* Preview Window & Multi-Screen Switcher */
.card-preview-window {
  border-radius: var(--radius-md) !important;
  border: 1px solid var(--border-subtle) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  background: #f1f5f9 !important;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05) !important;
}

.card-img-wrapper {
  position: relative !important;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden !important;
  background: #f8fafc !important;
  flex: 1 !important;
}

.card-img-wrapper img.card-screenshot {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.3s ease !important;
}

.card-img-wrapper:hover img.card-screenshot {
  transform: scale(1.025) !important;
}

.card-screen-switcher-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 10px 14px !important;
  background: #e2e8f0 !important;
  border-top: 1px solid var(--border-subtle) !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.switcher-lbl {
  font-family: var(--font-mono) !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  color: #64748b !important;
  text-transform: uppercase !important;
}

.switcher-buttons {
  display: flex !important;
  gap: 6px !important;
  flex-wrap: wrap !important;
}

.screen-switch-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 4px 10px !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 6px !important;
  font-size: 0.74rem !important;
  font-weight: 600 !important;
  color: #334155 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.screen-switch-btn.active {
  background: #4338ca !important;
  color: #ffffff !important;
  border-color: #4338ca !important;
}

.screen-switch-btn .switch-dot {
  width: 6px !important;
  height: 6px !important;
  border-radius: 50% !important;
  border: 1px solid currentColor !important;
}

/* Duo Boxes: Bottleneck (Rose) & Breakthrough (Emerald) */
.upfront-duo-boxes {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
}

@media (max-width: 768px) {
  .upfront-duo-boxes {
    grid-template-columns: 1fr !important;
  }
}

.upfront-case-study-box.box-bottleneck {
  background: rgba(254, 242, 242, 0.75) !important;
  border: 1px solid rgba(254, 202, 202, 0.85) !important;
  border-radius: 12px !important;
  padding: 18px 22px !important;
}

.upfront-case-study-box.box-breakthrough {
  background: rgba(236, 253, 245, 0.75) !important;
  border: 1px solid rgba(167, 243, 208, 0.85) !important;
  border-radius: 12px !important;
  padding: 18px 22px !important;
}

.upfront-box-header.header-rose {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-family: var(--font-mono) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: #e11d48 !important;
  letter-spacing: 0.08em !important;
  margin-bottom: 8px !important;
}

.upfront-box-header.header-emerald {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-family: var(--font-mono) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: #059669 !important;
  letter-spacing: 0.08em !important;
  margin-bottom: 8px !important;
}

.upfront-box-text {
  font-size: 0.92rem !important;
  line-height: 1.62 !important;
  color: #334155 !important;
  margin: 0 !important;
}

/* Workflow Pipeline Architecture (Beautified Horizontal Continuous Pipeline) */
.upfront-workflow-architecture {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%) !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 24px 26px !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03) !important;
  margin: 20px 0 !important;
}

.workflow-arch-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 20px !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

.workflow-arch-title-group {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.workflow-arch-title-group svg {
  color: #4f46e5 !important;
}

.workflow-arch-heading {
  font-family: var(--font-mono) !important;
  font-size: 0.8rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  color: #1e1b4b !important;
  text-transform: uppercase !important;
}

.workflow-arch-badge {
  font-family: var(--font-mono) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: #4f46e5 !important;
  background: rgba(99, 102, 241, 0.08) !important;
  border: 1px solid rgba(99, 102, 241, 0.2) !important;
  padding: 4px 12px !important;
  border-radius: 20px !important;
  letter-spacing: 0.04em !important;
}

/* Beautiful Horizontal Pipeline Flow */
.workflow-arch-track {
  display: flex !important;
  align-items: stretch !important;
  gap: 8px !important;
  width: 100% !important;
}

.workflow-arch-node-card {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 18px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  overflow: hidden !important;
}

.workflow-arch-node-card:hover {
  background: #ffffff !important;
  border-color: #818cf8 !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 24px -4px rgba(99, 102, 241, 0.12) !important;
}

.workflow-arch-node-card:has(.tag-active) {
  border-color: rgba(6, 182, 212, 0.45) !important;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.08) !important;
}

.workflow-arch-node-card:has(.tag-active)::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 3px !important;
  background: linear-gradient(90deg, #06b6d4, #3b82f6) !important;
}

.workflow-node-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
  margin-bottom: 12px !important;
  flex-wrap: wrap !important;
}

.node-num-badge {
  font-family: var(--font-mono) !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%) !important;
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  border-radius: 7px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25) !important;
}

.step-phase-tag {
  font-family: var(--font-mono) !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  color: #64748b !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

.step-status-tag {
  font-family: var(--font-mono) !important;
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  padding: 3px 7px !important;
  border-radius: 5px !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
}

.step-status-tag.tag-completed {
  background: rgba(16, 185, 129, 0.1) !important;
  color: #059669 !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
}

.step-status-tag.tag-active {
  background: rgba(6, 182, 212, 0.12) !important;
  color: #0891b2 !important;
  border: 1px solid rgba(6, 182, 212, 0.3) !important;
}

.workflow-node-title {
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.35 !important;
  margin: 0 0 8px 0 !important;
  letter-spacing: -0.01em !important;
}

.workflow-node-desc {
  font-size: 0.8rem !important;
  line-height: 1.6 !important;
  color: #475569 !important;
  margin: 0 !important;
  flex: 1 !important;
}

.workflow-flow-arrow {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  width: 26px !important;
}

.flow-arrow-svg.arrow-desktop {
  display: block !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  padding: 5px !important;
  color: #6366f1 !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
  transition: all 0.2s ease !important;
}

.flow-arrow-svg.arrow-mobile {
  display: none !important;
}

@media (max-width: 991px) {
  .workflow-arch-track {
    flex-direction: column !important;
    gap: 8px !important;
  }
  .workflow-flow-arrow {
    width: 100% !important;
    height: 28px !important;
    padding: 2px 0 !important;
  }
  .flow-arrow-svg.arrow-desktop {
    display: none !important;
  }
  .flow-arrow-svg.arrow-mobile {
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    padding: 4px !important;
    color: #6366f1 !important;
  }
}

.upfront-arch-nodes-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.upfront-arch-node {
  display: flex !important;
  align-items: flex-start !important;
  gap: 16px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 16px 20px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.upfront-arch-node:hover {
  border-color: rgba(99, 102, 241, 0.4) !important;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.08) !important;
}

.node-num-pill {
  width: 26px !important;
  height: 26px !important;
  background: #4f46e5 !important;
  color: #ffffff !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  flex-shrink: 0 !important;
}

.node-title-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 4px !important;
  flex-wrap: wrap !important;
}

.node-title-txt {
  font-weight: 700 !important;
  color: #0f172a !important;
  font-size: 0.95rem !important;
}

.node-role-tag {
  font-family: var(--font-mono) !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  color: #4f46e5 !important;
  background: rgba(99, 102, 241, 0.08) !important;
  padding: 2px 8px !important;
  border-radius: 4px !important;
}

.node-desc-txt {
  font-size: 0.86rem !important;
  color: #64748b !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

/* ── 5. Rank Spiders Corporate Footer Active (100% Full Width End-to-End) ──── */
.elementor-110,
div[data-elementor-id="110"],
.elementor-110 .elementor-section,
.elementor-110 .elementor-section.elementor-section-full_width,
.elementor-110 .elementor-container,
.elementor-110 .elementor-column,
.elementor-110 .elementor-widget-wrap,
.elementor-110 .elementor-widget-container,
.elementor-widget-rs_footer,
.elementor-widget-rs_footer .elementor-widget-container {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  background-color: #0f0f0f !important;
  background: #0f0f0f !important;
  box-sizing: border-box !important;
}

.page-template-template-portfolio .main-footer,
body.page-template-template-portfolio footer.main-footer,
.elementor-page-28 footer.main-footer,
footer.main-footer {
  display: block !important;
  position: relative !important;
  z-index: 10 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 60px !important;
  background-color: #0f0f0f !important;
  background: #0f0f0f !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-sizing: border-box !important;
}

/* Ensure inner footer content columns remain centered within 1420px */
.page-template-template-portfolio .main-footer > .container,
.elementor-page-28 .main-footer > .container,
footer.main-footer > .container,
.main-footer .footer-services-section > .container,
.main-footer .footer-copyright > .container {
  max-width: 1420px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
  background: transparent !important;
}

.main-footer .footer-services-section {
  width: 100% !important;
  max-width: 100% !important;
  background-color: #0b0b0b !important;
  background: #0b0b0b !important;
  margin: 0 !important;
  padding: 40px 0 20px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.main-footer .footer-copyright {
  width: 100% !important;
  max-width: 100% !important;
  background-color: #080808 !important;
  background: #080808 !important;
  margin: 0 !important;
  padding: 24px 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* ── 6. Dedicated Sleek Site Footer (Matches Footer.jsx 1:1) ─────────────── */
.site-footer {
  background: #0f172a !important;
  color: #94a3b8 !important;
  padding: 80px 0 40px !important;
  position: relative !important;
  z-index: 2 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.site-footer .container {
  max-width: 1420px !important;
}

.footer-content {
  display: grid !important;
  grid-template-columns: 1.8fr 1fr 1fr !important;
  gap: 48px !important;
  margin-bottom: 60px !important;
}

@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
}

.footer-brand-badge {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 14px !important;
}

.brand-code-symbol {
  font-family: var(--font-mono, monospace) !important;
  font-weight: 800 !important;
  color: #818cf8 !important;
  font-size: 1.1rem !important;
}

.footer-brand-title {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}

.footer-brand-desc {
  font-size: 0.92rem !important;
  line-height: 1.65 !important;
  color: #64748b !important;
  max-width: 420px !important;
}

.footer-group-heading {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #f1f5f9 !important;
  margin-bottom: 18px !important;
  display: block !important;
}

.footer-links-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.footer-link {
  color: #94a3b8 !important;
  text-decoration: none !important;
  font-size: 0.92rem !important;
  transition: color 0.2s ease !important;
}

.footer-link:hover {
  color: #ffffff !important;
}

.footer-bottom-bar {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding-top: 32px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  font-size: 0.85rem !important;
  color: #64748b !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
}

.footer-bottom-links {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.footer-bottom-link {
  color: #64748b !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.footer-bottom-link:hover {
  color: #94a3b8 !important;
}


/* ── USER POLISH: Tight Spacing, Hidden Pill Badge, and Active Flowing Gradient ── */

/* 1. Completely Eliminate Pill Badge ("get rid of this") */
.hero-status-pill,
#hero-badge,
.hero-section .hero-status-pill {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

/* 2. Moving Gradient Across Portfolio Titles (Purple -> Magenta -> Coral/Orange) */
.hero-title .gradient-text,
.hero-title .gradient-text-accent,
.hero-title .gradient-active-flow,
.section-title .gradient-text,
.section-title .gradient-active-flow,
.section-title span.gradient-text,
.workflow-title .gradient-text,
.gradient-active-flow {
  background: linear-gradient(135deg, #7c3aed 0%, #c026d3 25%, #e11d48 50%, #ea580c 75%, #7c3aed 100%) !important;
  background-size: 300% 300% !important;
  animation: movingGradientFlow 5s ease-in-out infinite !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  display: inline-block !important;
}

/* 3. Hero Section Balanced Spacing below Page Header */
.hero-section,
.elementor-widget-rs_portfolio_hero .hero-section,
section.hero-section {
  min-height: auto !important;
  height: auto !important;
  padding-top: 48px !important;
  padding-bottom: 16px !important;
}

section.portfolio-app,
.hero-section.portfolio-app {
  min-height: auto !important;
  height: auto !important;
}

@media (max-width: 991px) {
  .hero-section,
  .elementor-widget-rs_portfolio_hero .hero-section,
  section.hero-section {
    padding-top: 36px !important;
    padding-bottom: 14px !important;
  }
}

@media (max-width: 767px) {
  .hero-section,
  .elementor-widget-rs_portfolio_hero .hero-section,
  section.hero-section {
    padding-top: 28px !important;
    padding-bottom: 12px !important;
  }
}

.hero-actions,
.hero-content .hero-actions {
  margin-bottom: 20px !important;
}

.hero-bio,
.hero-content .hero-bio {
  margin-bottom: 28px !important;
}

/* Collapse Elementor section spacing between Hero and 32-Screen Showcase */
.elementor-element-42f26d0,
.elementor-section:has(.elementor-widget-rs_portfolio_hero),
.elementor-widget-rs_portfolio_hero,
.elementor-widget-rs_portfolio_hero .elementor-widget-container {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.elementor-element-e79cbc5,
.elementor-section:has(.elementor-widget-rs_portfolio_showcase),
.elementor-widget-rs_portfolio_showcase,
.elementor-widget-rs_portfolio_showcase .elementor-widget-container {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.design-showcase-section,
.section.design-showcase-section,
.elementor-widget-rs_portfolio_showcase .design-showcase-section {
  padding-top: 28px !important;
  padding-bottom: 40px !important;
}

.design-showcase-section .section-header,
.design-showcase-section .section-header.text-center,
.design-showcase-section .section-header.design-header {
  margin-bottom: 24px !important;
}


/* ── CASE STUDY MODAL BEAUTIFICATION & VIEWPORT OPTIONS REMOVAL ── */

/* 1. Get rid of the simulated viewport controls bar completely */
.device-viewport-controls {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* 2. Sleek Simulated Browser Frame */
.simulated-frame-container {
  margin: 0 auto 20px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  box-shadow: 0 12px 32px -6px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04) !important;
  overflow: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
}

.frame-browser-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #f8fafc !important;
  padding: 10px 16px !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.window-dots {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
}

.window-dot {
  width: 11px !important;
  height: 11px !important;
  border-radius: 50% !important;
  display: inline-block !important;
}

.dot-red { background: #ff5f56 !important; }
.dot-yellow { background: #ffbd2e !important; }
.dot-green { background: #27c93f !important; }

.window-url {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  padding: 4px 16px !important;
  font-family: var(--font-mono) !important;
  font-size: 0.78rem !important;
  color: #64748b !important;
  letter-spacing: -0.01em !important;
  max-width: 480px !important;
  width: 100% !important;
  text-align: center !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03) !important;
}

.frame-image-wrapper {
  max-height: 520px !important;
  overflow-y: auto !important;
  background: #f8fafc !important;
}

.frame-image-wrapper img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

/* Modal Thumbnails Strip */
.modal-thumbnails-strip {
  display: flex !important;
  gap: 12px !important;
  margin: 0 0 28px !important;
  overflow-x: auto !important;
  padding: 4px 2px 10px !important;
  scrollbar-width: thin !important;
}

.modal-thumb-box {
  cursor: pointer !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  border: 2px solid #e2e8f0 !important;
  opacity: 0.65 !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  flex-shrink: 0 !important;
  background: #ffffff !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
}

.modal-thumb-box:hover {
  opacity: 1 !important;
  border-color: #cbd5e1 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08) !important;
}

.modal-thumb-box.active {
  opacity: 1 !important;
  border-color: #4f46e5 !important;
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.25) !important;
}

.modal-thumb-box img {
  width: 100px !important;
  height: 62px !important;
  object-fit: cover !important;
  display: block !important;
}

/* 3. Modal Tabs Bar */
.modal-tabs-bar {
  display: flex !important;
  gap: 6px !important;
  padding: 10px 28px !important;
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
}

.modal-tab-btn {
  background: transparent !important;
  border: 1px solid transparent !important;
  font-family: var(--font-sans) !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
  color: #64748b !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.modal-tab-btn:hover {
  color: #0f172a !important;
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
}

.modal-tab-btn.active {
  color: #4f46e5 !important;
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06) !important;
  font-weight: 700 !important;
}

/* 4. Tab 1: Overview & Impact Executive Callout Cards */
.modal-card-callout {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 22px 24px !important;
  margin-bottom: 18px !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02) !important;
  position: relative !important;
}

.modal-card-callout:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05) !important;
}

.modal-card-callout.callout-cyan {
  border-left: 4px solid #06b6d4 !important;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 100%) !important;
}

.modal-card-callout.callout-rose {
  border-left: 4px solid #f43f5e !important;
  background: linear-gradient(135deg, #ffffff 0%, #fff1f2 100%) !important;
}

.modal-card-callout.callout-emerald {
  border-left: 4px solid #10b981 !important;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%) !important;
}

.modal-card-callout.callout-blueprint {
  border-left: 4px solid #6366f1 !important;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
}

.modal-callout-header {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 12px !important;
}

.modal-callout-icon-box {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.modal-callout-icon-box.icon-cyan {
  background: rgba(6, 182, 212, 0.1) !important;
  color: #0891b2 !important;
}

.modal-callout-icon-box.icon-rose {
  background: rgba(244, 63, 94, 0.1) !important;
  color: #e11d48 !important;
}

.modal-callout-icon-box.icon-emerald {
  background: rgba(16, 185, 129, 0.1) !important;
  color: #059669 !important;
}

.modal-callout-icon-box.icon-indigo {
  background: rgba(99, 102, 241, 0.1) !important;
  color: #4f46e5 !important;
}

.modal-callout-icon-box.icon-amber {
  background: rgba(245, 158, 11, 0.1) !important;
  color: #d97706 !important;
}

.modal-block-header {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  margin-bottom: 18px !important;
}

.modal-subheading-tag {
  font-family: var(--font-mono) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  color: #6366f1 !important;
  text-transform: uppercase !important;
}

.modal-section-heading {
  font-size: 1.15rem !important;
  font-weight: 750 !important;
  color: #0f172a !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.modal-body-text {
  font-size: 0.95rem !important;
  line-height: 1.75 !important;
  color: #334155 !important;
  margin: 0 !important;
}

/* Key Performance Metrics Stat Cards */
.modal-metrics-block {
  margin-top: 28px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 24px !important;
}

.modal-metrics-block .card-stats-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)) !important;
  gap: 14px !important;
}

.modal-metrics-block .card-stat-box {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%) !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 18px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  position: relative !important;
  overflow: hidden !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03) !important;
}

.modal-metrics-block .card-stat-box::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 3px !important;
  background: linear-gradient(90deg, #6366f1, #06b6d4) !important;
  opacity: 0.8 !important;
}

.modal-metrics-block .card-stat-box:hover {
  transform: translateY(-3px) !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08) !important;
}

.modal-metrics-block .stat-box-val {
  font-size: 1.8rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 8px !important;
}

.modal-metrics-block .stat-box-lbl {
  font-family: var(--font-mono) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: #4f46e5 !important;
  background: rgba(99, 102, 241, 0.08) !important;
  border: 1px solid rgba(99, 102, 241, 0.15) !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  display: inline-block !important;
  align-self: flex-start !important;
}

.modal-metrics-block .stat-box-note {
  font-size: 0.78rem !important;
  color: #64748b !important;
  line-height: 1.45 !important;
  margin-top: 8px !important;
}

/* 5. Tab 2: System Architecture Nodes Pipeline */
.arch-nodes-pipeline {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.arch-nodes-pipeline .upfront-arch-node {
  display: flex !important;
  align-items: flex-start !important;
  gap: 18px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 18px 22px !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03) !important;
}

.arch-nodes-pipeline .upfront-arch-node:hover {
  background: #ffffff !important;
  border-color: #818cf8 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px -4px rgba(99, 102, 241, 0.12) !important;
}

.arch-nodes-pipeline .node-num-pill {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 0.88rem !important;
  font-family: var(--font-mono) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.25) !important;
}

.arch-nodes-pipeline .node-body {
  flex: 1 !important;
}

.arch-nodes-pipeline .node-title-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 6px !important;
  flex-wrap: wrap !important;
}

.arch-nodes-pipeline .node-title-txt {
  font-size: 1.02rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}

.arch-nodes-pipeline .node-role-tag {
  font-family: var(--font-mono) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  background: rgba(14, 165, 233, 0.08) !important;
  color: #0284c7 !important;
  border: 1px solid rgba(14, 165, 233, 0.2) !important;
}

.arch-nodes-pipeline .node-desc-txt {
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
  color: #475569 !important;
  margin: 0 !important;
}

/* 6. Tab 3: Decisions & Challenges Cards */
.decisions-list-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.decision-item-card {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 14px 18px !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02) !important;
}

.decision-item-card:hover {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05) !important;
}

.decision-icon-badge {
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  border-radius: 50% !important;
  background: rgba(99, 102, 241, 0.1) !important;
  color: #4f46e5 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 1px !important;
}

.decision-content {
  font-size: 0.93rem !important;
  line-height: 1.65 !important;
  color: #334155 !important;
}

/* Obstacles Solved Cards */
.challenges-list-container {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.obstacle-item-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-left: 4px solid #f43f5e !important;
  border-radius: 12px !important;
  padding: 20px 24px !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03) !important;
}

.obstacle-item-card:hover {
  border-color: #cbd5e1 !important;
  border-left-color: #e11d48 !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06) !important;
}

.obstacle-header {
  margin-bottom: 12px !important;
}

.obstacle-badge-pill {
  font-family: var(--font-mono) !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: #e11d48 !important;
  background: rgba(244, 63, 94, 0.08) !important;
  border: 1px solid rgba(244, 63, 94, 0.2) !important;
  padding: 3px 8px !important;
  border-radius: 5px !important;
  display: inline-block !important;
  margin-bottom: 6px !important;
}

.obstacle-title {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin: 0 !important;
}

.obstacle-resolution-box {
  background: rgba(16, 185, 129, 0.05) !important;
  border: 1px solid rgba(16, 185, 129, 0.18) !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
}

.resolution-label {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-family: var(--font-mono) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: #059669 !important;
  letter-spacing: 0.04em !important;
  margin-bottom: 4px !important;
}

.resolution-text {
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
  color: #334155 !important;
  margin: 0 !important;
}

/* 7. Tab 4: Tech Spec Grid & Gallery Cards */
.modal-tech-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 14px !important;
}

.tech-spec-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 18px 20px !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02) !important;
}

.tech-spec-card:hover {
  border-color: rgba(99, 102, 241, 0.4) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px -4px rgba(99, 102, 241, 0.1) !important;
}

.tech-spec-header {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 6px !important;
}

.tech-badge-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: #6366f1 !important;
  display: inline-block !important;
}

.tech-spec-name {
  font-size: 1.02rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin: 0 !important;
}

.tech-spec-desc {
  font-size: 0.88rem !important;
  line-height: 1.6 !important;
  color: #475569 !important;
  margin: 0 !important;
}

/* Modal Gallery Grid */
.modal-gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
  gap: 18px !important;
}

.gallery-item-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
}

.gallery-item-card:hover {
  border-color: rgba(99, 102, 241, 0.45) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.1) !important;
}

.gallery-thumb-wrap {
  height: 190px !important;
  overflow: hidden !important;
  position: relative !important;
  background: #0f172a !important;
}

.gallery-thumb-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.4s ease !important;
}

.gallery-item-card:hover .gallery-thumb-wrap img {
  transform: scale(1.05) !important;
}

.gallery-hover-hint {
  position: absolute !important;
  bottom: 10px !important;
  right: 10px !important;
  background: rgba(15, 23, 42, 0.8) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  color: #ffffff !important;
  font-family: var(--font-mono) !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  opacity: 0 !important;
  transform: translateY(4px) !important;
  transition: all 0.2s ease !important;
}

.gallery-item-card:hover .gallery-hover-hint {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.gallery-info {
  padding: 16px 18px !important;
  background: #ffffff !important;
  border-top: 1px solid #f1f5f9 !important;
}

.gallery-title {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin-bottom: 4px !important;
}

.gallery-caption {
  font-size: 0.84rem !important;
  line-height: 1.5 !important;
  color: #64748b !important;
}


/* ── PRODUCTION SLA & DIRECT FOUNDER ACCESS ENTERPRISE CARD ── */
.production-sla-strip {
  margin-top: 48px !important;
  width: 100% !important;
}

.sla-card-enterprise {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 18px !important;
  padding: 32px 36px !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 12px 36px -6px rgba(15, 23, 42, 0.06), 0 2px 8px rgba(15, 23, 42, 0.03) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.sla-card-enterprise::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 4px !important;
  background: linear-gradient(90deg, #4f46e5 0%, #6366f1 40%, #06b6d4 100%) !important;
}

.sla-card-enterprise:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 18px 44px -8px rgba(15, 23, 42, 0.1), 0 4px 12px rgba(15, 23, 42, 0.04) !important;
}

/* Top Bar */
.sla-top-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-bottom: 24px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  margin-bottom: 28px !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

.sla-badge-verified {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(99, 102, 241, 0.08) !important;
  border: 1px solid rgba(99, 102, 241, 0.2) !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
}

.sla-pulse-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7) !important;
  animation: pulseBeaconGreen 2s infinite !important;
}

@keyframes pulseBeaconGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.sla-badge-text {
  font-family: var(--font-mono) !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  color: #4f46e5 !important;
  text-transform: uppercase !important;
}

.sla-response-guarantee {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-family: var(--font-mono) !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  color: #059669 !important;
  background: rgba(16, 185, 129, 0.08) !important;
  padding: 5px 12px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(16, 185, 129, 0.2) !important;
}

/* Main Grid: Founder Profile + Channels */
.sla-main-grid {
  display: grid !important;
  grid-template-columns: 1fr 1.35fr !important;
  gap: 36px !important;
  align-items: center !important;
}

@media (max-width: 991px) {
  .sla-main-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .sla-card-enterprise {
    padding: 24px 20px !important;
  }
}

/* Founder Column */
.sla-founder-col {
  display: flex !important;
  align-items: flex-start !important;
  gap: 20px !important;
}

.founder-avatar-wrap {
  position: relative !important;
  flex-shrink: 0 !important;
}

.founder-avatar-img {
  width: 88px !important;
  height: 88px !important;
  border-radius: 18px !important;
  object-fit: cover !important;
  border: 2px solid #ffffff !important;
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.18), 0 2px 6px rgba(15, 23, 42, 0.06) !important;
  display: block !important;
}

.founder-status-indicator {
  position: absolute !important;
  bottom: -2px !important;
  right: -2px !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  border: 3px solid #ffffff !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) !important;
}

.founder-meta {
  flex: 1 !important;
}

.founder-name-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 4px !important;
}

.founder-name {
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 !important;
  letter-spacing: -0.02em !important;
}

.founder-verified-check {
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  background: #0ea5e9 !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 6px rgba(14, 165, 233, 0.35) !important;
}

.founder-role-tag {
  display: inline-block !important;
  font-family: var(--font-mono) !important;
  font-size: 0.74rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: #4f46e5 !important;
  background: rgba(99, 102, 241, 0.08) !important;
  border: 1px solid rgba(99, 102, 241, 0.2) !important;
  padding: 3px 10px !important;
  border-radius: 6px !important;
  margin-bottom: 12px !important;
}

.founder-bio {
  font-size: 0.92rem !important;
  line-height: 1.65 !important;
  color: #475569 !important;
  margin: 0 !important;
}

/* Channels Column */
.sla-channels-col {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.sla-channel-card {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  background: linear-gradient(135deg, #ffffff 0%, #fbfcfe 100%) !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 14px 18px !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02) !important;
}

.sla-channel-card:hover {
  border-color: #cbd5e1 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06) !important;
  background: #ffffff !important;
}

.channel-icon-box {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.channel-icon-box.icon-mail {
  background: rgba(99, 102, 241, 0.1) !important;
  color: #4f46e5 !important;
}

.channel-icon-box.icon-whatsapp {
  background: rgba(37, 211, 102, 0.12) !important;
  color: #16a34a !important;
}

.channel-icon-box.icon-location {
  background: rgba(14, 165, 233, 0.1) !important;
  color: #0284c7 !important;
}

.channel-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  flex: 1 !important;
}

.channel-label {
  font-family: var(--font-mono) !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: #64748b !important;
}

.channel-val {
  font-size: 0.98rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}

.channel-link {
  color: #4f46e5 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.channel-link:hover {
  color: #3730a3 !important;
  text-decoration: underline !important;
}

.channel-subtext {
  font-size: 0.76rem !important;
  color: #94a3b8 !important;
}

/* Bottom SLA Assurances Footer */
.sla-footer-pills {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-top: 22px !important;
  margin-top: 26px !important;
  border-top: 1px solid #f1f5f9 !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

.sla-pill-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: #475569 !important;
  background: #f8fafc !important;
  padding: 6px 14px !important;
  border-radius: 8px !important;
  border: 1px solid #e2e8f0 !important;
}

.sla-pill-item svg {
  color: #10b981 !important;
}


/* ==========================================================================
   FLOATING QUICK NAVIGATION DOCK & IN-PAGE JUMP BARS
   ========================================================================== */
.portfolio-floating-dock {
  position: fixed !important;
  bottom: 28px !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(24px) scale(0.96) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  z-index: 998 !important;
  display: inline-flex !important;
  align-items: center !important;
  background: rgba(15, 23, 42, 0.92) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 9999px !important;
  padding: 6px 8px !important;
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
}

.portfolio-floating-dock.is-visible {
  opacity: 1 !important;
  pointer-events: auto !important;
  visibility: visible !important;
  transform: translateX(-50%) translateY(0) scale(1) !important;
}

.dock-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border: none !important;
  border-radius: 9999px !important;
  cursor: pointer !important;
  padding: 8px 18px !important;
  white-space: nowrap !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
  line-height: 1 !important;
}

.dock-btn svg {
  display: inline-block !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
  transition: transform 0.2s ease !important;
}

.dock-btn-top {
  background: transparent !important;
  color: #f1f5f9 !important;
}

.dock-btn-top:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
}

.dock-btn-top:hover svg {
  transform: translateY(-2px) !important;
}

.dock-divider {
  width: 1px !important;
  height: 20px !important;
  background: rgba(255, 255, 255, 0.2) !important;
  margin: 0 2px !important;
}

.dock-btn-contact {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.45) !important;
}

.dock-btn-contact:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.65) !important;
  background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%) !important;
  color: #ffffff !important;
}

.dock-btn-contact:hover svg {
  transform: scale(1.1) !important;
}

/* In-Page Jump Bar at section ends */
.portfolio-jump-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  margin-top: 48px !important;
  padding: 24px 0 8px !important;
  border-top: 1px dashed rgba(226, 232, 240, 0.9) !important;
  width: 100% !important;
}

.btn-jump-action {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-family: inherit !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  padding: 10px 22px !important;
  border-radius: 9999px !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
}

.btn-jump-action svg {
  flex-shrink: 0 !important;
  transition: transform 0.2s ease !important;
}

.btn-jump-top {
  background: #f8fafc !important;
  color: #334155 !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
}

.btn-jump-top:hover {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08) !important;
}

.btn-jump-top:hover svg {
  transform: translateY(-2px) !important;
}

.btn-jump-contact {
  background: #ffffff !important;
  color: #4f46e5 !important;
  border: 1px solid rgba(99, 102, 241, 0.35) !important;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.08) !important;
}

.btn-jump-contact:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.35) !important;
}

@media (max-width: 640px) {
  .portfolio-floating-dock {
    bottom: 18px !important;
    padding: 5px 6px !important;
    gap: 4px !important;
  }
  .dock-btn {
    font-size: 12px !important;
    padding: 7px 12px !important;
    gap: 6px !important;
  }
  .portfolio-jump-bar {
    flex-direction: column !important;
    gap: 10px !important;
    margin-top: 36px !important;
  }
  .btn-jump-action {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* ── Elimination of Newsletter Subscription in Footer ───────────────────── */
.footer-newsletter-box,
.footer-newsletter-form,
#footerNewslettersForm {
  display: none !important;
}

.footer-brand-social-box {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}


/* ==========================================================================
   MOVING GRADIENT & BRAND PALETTE (PURPLE -> MAGENTA -> ORANGE REPLACES BLUE)
   ========================================================================== */

/* Primary Action Buttons */
.btn-primary,
.btn.btn-primary,
.btn-submit-booking,
#btn-confirm-booking,
.form-submit-btn,
.btn-case-live,
#hero-call-btn,
.modal-header-bar .btn-primary {
  background: linear-gradient(135deg, #7c3aed 0%, #db2777 50%, #ea580c 100%) !important;
  background-size: 200% 200% !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.35), 0 2px 6px rgba(234, 88, 12, 0.2) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-primary:hover,
.btn.btn-primary:hover,
.btn-submit-booking:hover,
#btn-confirm-booking:hover,
.form-submit-btn:hover,
#hero-call-btn:hover,
.modal-header-bar .btn-primary:hover {
  background-position: 100% 50% !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 26px rgba(219, 39, 119, 0.5), 0 4px 12px rgba(234, 88, 12, 0.3) !important;
  color: #ffffff !important;
}

.btn-outline:hover,
#hero-design-btn:hover {
  border-color: rgba(219, 39, 119, 0.5) !important;
  color: #7c3aed !important;
}

/* Active Category Filter Tabs & Filter Pills (Design Showcase, Case Studies, Tech Stack) */
.case-filter-tabs .filter-tab-btn.active,
.filter-tabs .filter-btn.active,
.tech-filter-tabs .tech-tab-btn.active,
.design-filter-pills button.active,
.design-toolbar button.active,
.screen-switch-btn.active,
.filter-btn.active,
.category-pill.active {
  background: linear-gradient(135deg, #7c3aed 0%, #db2777 50%, #ea580c 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35) !important;
}

.screen-switch-btn.active .switch-dot {
  background-color: #ffffff !important;
}

/* Eyebrow Badges & Pulse Dots */
.design-status-pill,
.section-eyebrow-badge,
.section-tag {
  background: rgba(124, 58, 237, 0.05) !important;
  border: 1px solid rgba(124, 58, 237, 0.22) !important;
  color: #7c3aed !important;
}

.design-pulse-dot,
.eyebrow-dot {
  background: linear-gradient(135deg, #7c3aed 0%, #ea580c 100%) !important;
  box-shadow: 0 0 10px rgba(234, 88, 12, 0.5) !important;
}

/* Floating Navigation Dock (Contact Button) */
.dock-btn-contact {
  background: linear-gradient(135deg, #7c3aed 0%, #db2777 50%, #ea580c 100%) !important;
  background-size: 200% 200% !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 4px 16px rgba(219, 39, 119, 0.45) !important;
}

.dock-btn-contact:hover {
  background-position: 100% 50% !important;
  box-shadow: 0 6px 22px rgba(234, 88, 12, 0.6) !important;
  color: #ffffff !important;
}

/* In-Page Jump Buttons */
.btn-jump-contact {
  background: #ffffff !important;
  color: #7c3aed !important;
  border: 1px solid rgba(124, 58, 237, 0.35) !important;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.1) !important;
}

.btn-jump-contact:hover {
  background: linear-gradient(135deg, #7c3aed 0%, #db2777 50%, #ea580c 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 8px 24px rgba(219, 39, 119, 0.4) !important;
}

/* Quick Time Slots in Booking */
.quick-time-slot.active,
.time-slot-btn.active,
.quick-slot-item.active {
  background: linear-gradient(135deg, #7c3aed 0%, #db2777 50%, #ea580c 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3) !important;
}

.timer-digit-active,
.drum-col-active {
  color: #7c3aed !important;
}

.timer-lens-indicator {
  border-color: rgba(124, 58, 237, 0.35) !important;
  background: rgba(124, 58, 237, 0.04) !important;
}

/* Calendar Date Picker Selected State */
.dp-cell.active-day,
.dp-cell.selected-day,
.calendar-day.active {
  background: linear-gradient(135deg, #7c3aed 0%, #db2777 50%, #ea580c 100%) !important;
  color: #ffffff !important;
}

/* Form Focus Rings */
.form-control:focus,
.custom-input:focus,
.custom-select:focus,
.custom-textarea:focus {
  border-color: #7c3aed !important;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15) !important;
}
