/* =========================================================
   TechPanda CRM — Premium "AI Workforce" Design System
   Design DNA: Warm off-white canvas, deep navy blocks, hot orange accent.
   Tokens matching Master Prompt specification.
   ========================================================= */

.tp-workforce-page {
  /* 2.1 Colour Tokens */
  --tp-bg:            #EEEDEA;  /* warm off-white page canvas */
  --tp-bg-soft:       #F6F5F3;  /* cards on light sections */
  --tp-surface:       #FFFFFF;
  --tp-navy-900:      #2B3557;  /* dark sections, icon circles, primary dark button */
  --tp-navy-700:      #3E4A70;  /* dark section gradient end */
  --tp-navy-500:      #5B678C;  /* footer / CTA band */
  --tp-navy-card:     #34406A;  /* cards inside dark sections */
  --tp-accent:        #E4572E;  /* orange-red: primary CTA, eyebrows, beams */
  --tp-accent-tint:   #FBE3DA;  /* eyebrow chip background */
  --tp-text-strong:   #15171C;
  --tp-text:          #3A3D45;
  --tp-text-muted:    #8A8D96;
  --tp-border:        rgba(20,23,28,0.08);
  --tp-shadow-card:   0 12px 40px -12px rgba(30,40,70,0.18);
  --tp-shadow-float:  0 24px 60px -20px rgba(30,40,70,0.30);

  /* Typography & Layout */
  --tp-font: "Sora", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --tp-radius-card: 16px;
  --tp-radius-container: 26px;
  --tp-radius-pill: 999px;

  background-color: var(--tp-bg);
  color: var(--tp-text);
  font-family: var(--tp-font);
  overflow-x: hidden;
  position: relative;
}

/* Scoped resets, accessibility and focus management */
.tp-workforce-page * {
  box-sizing: border-box;
}

.tp-workforce-page button:focus-visible,
.tp-workforce-page a:focus-visible,
.tp-workforce-page input:focus-visible,
.tp-workforce-page select:focus-visible,
.tp-workforce-page [tabindex]:focus-visible {
  outline: 2px solid var(--tp-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.tp-container {
  width: min(1320px, 100% - 40px);
  margin-inline: auto;
  position: relative;
}

/* Eyebrow tiny pill */
.tp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--tp-radius-pill);
  background: var(--tp-accent-tint);
  color: var(--tp-accent);
  margin-bottom: 16px;
}
.tp-dark-section .tp-eyebrow {
  background: rgba(255, 255, 255, 0.08);
  color: #E2E8F0;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Headline rules */
.tp-h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--tp-text-strong);
  margin-bottom: 20px;
}
.tp-h1 .line-1 {
  display: block;
  font-weight: 600;
  color: var(--tp-navy-900);
}
.tp-h1 .line-2 {
  display: block;
  font-weight: 400;
  color: var(--tp-text);
}

.tp-h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--tp-text-strong);
  margin-bottom: 14px;
}
.tp-dark-section .tp-h2 {
  color: #FFFFFF;
}

.tp-lead {
  font-size: 15px;
  line-height: 1.65;
  color: var(--tp-text);
  max-width: 48ch;
  margin-bottom: 28px;
}
.tp-dark-section .tp-lead {
  color: #CBD5E1;
}

/* Buttons */
.tp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--tp-accent);
  color: #FFFFFF !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(228, 87, 46, 0.35);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s;
  text-decoration: none;
}
.tp-btn-primary:hover {
  transform: translateY(-2px);
  background: #cc451d;
  box-shadow: 0 6px 18px rgba(228, 87, 46, 0.45);
}
.tp-btn-primary:active,
.tp-btn-ghost-pill:active,
.tp-btn-dark-pill:active,
.tp-usecase-btn:active,
.tp-faq-cat-btn:active {
  transform: scale(0.97) translateY(0) !important;
}
.tp-btn-primary svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}

.tp-btn-dark-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--tp-navy-900);
  color: #FFFFFF !important;
  font-size: 12px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--tp-radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  text-decoration: none;
}
.tp-btn-dark-pill:hover {
  transform: translateY(-2px);
  background: var(--tp-navy-700);
}

.tp-btn-ghost-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--tp-surface);
  color: var(--tp-navy-900) !important;
  font-size: 12px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--tp-radius-pill);
  border: 1px solid var(--tp-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.tp-btn-ghost-pill:hover {
  transform: translateY(-2px);
  border-color: var(--tp-navy-900);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* =========================================================
   3.2 HERO SECTION ("Orbit of Integrations")
   ========================================================= */
.tp-hero-section {
  padding: calc(var(--header-h, 72px) + 36px) 0 70px;
  position: relative;
  overflow: hidden !important;
  contain: paint;
  background: linear-gradient(180deg, #E8E7E3 0%, var(--tp-bg) 35%);
}

.tp-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Left Hero Column */
.tp-hero-left {
  position: relative;
  z-index: 3;
}

.tp-btn-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
}

/* Floating Agent Card & Ghost Stack */
.tp-agent-card-stack {
  position: relative;
  max-width: 440px;
  margin-top: 10px;
}

.tp-agent-card {
  position: relative;
  z-index: 3;
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-card);
  padding: 22px 24px;
  box-shadow: var(--tp-shadow-float);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.tp-agent-card:hover {
  transform: translateY(-3px);
}

.tp-agent-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.tp-agent-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--tp-navy-900);
}
.tp-agent-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  position: relative;
}
.tp-agent-indicator::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid #10B981;
  animation: tpPulseRing 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}
@keyframes tpPulseRing {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.tp-agent-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--tp-text);
  margin-bottom: 14px;
}

.tp-agent-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tp-tag-chip {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--tp-bg-soft);
  color: var(--tp-navy-700);
  border: 1px solid var(--tp-border);
}

/* Ghost cards behind */
.tp-ghost-card-1 {
  position: absolute;
  top: 10px;
  left: 12px;
  right: -12px;
  bottom: -10px;
  z-index: 2;
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-card);
  opacity: 0.55;
  filter: blur(0.5px);
  pointer-events: none;
}
.tp-ghost-card-2 {
  position: absolute;
  top: 20px;
  left: 24px;
  right: -24px;
  bottom: -20px;
  z-index: 1;
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-card);
  opacity: 0.28;
  filter: blur(1.5px);
  pointer-events: none;
}

/* Drifting micro-code fragment */
.tp-drifting-code {
  position: absolute;
  bottom: -32px;
  right: -20px;
  font-family: monospace;
  font-size: 10px;
  color: var(--tp-text-muted);
  opacity: 0.6;
  pointer-events: none;
}

/* Right Column: Visual Orbit Stage & Centered Stats */
.tp-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
  width: 100%;
}

/* Vertical Stat Stack (Centered in Orbit) */
.tp-hero-stats {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  width: auto;
}
.tp-stat-item {
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-card);
  padding: 16px 24px;
  box-shadow: 0 10px 28px -6px rgba(43, 53, 87, 0.12);
  min-width: 195px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.tp-stat-item:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 36px -6px rgba(43, 53, 87, 0.20);
}
.tp-stat-number {
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  color: var(--tp-navy-900);
  margin-bottom: 4px;
}
.tp-stat-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tp-text-muted);
}

/* =========================================================
   3.2 SIGNATURE ORBIT ARC ANIMATION
   ========================================================= */
.tp-orbit-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(540px, 100%);
  height: min(540px, 100%);
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

.tp-orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(43, 53, 87, 0.14);
  box-shadow: inset 0 0 80px rgba(43, 53, 87, 0.05);
}

.tp-orbit-center-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 320px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 87, 46, 0.12) 0%, rgba(43, 53, 87, 0.06) 50%, transparent 70%);
  filter: blur(30px);
}

/* Orbit Node container */
.tp-orbit-nodes-track {
  position: absolute;
  inset: 0;
  animation: tpOrbitSpin 28s linear infinite;
}
@keyframes tpOrbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.tp-orbit-badge {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--tp-navy-900);
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px -4px rgba(43, 53, 87, 0.35);
  display: grid;
  place-items: center;
  color: #FFFFFF;
  margin-top: -28px;
  margin-left: -28px;
  animation: tpCounterSpin 28s linear infinite;
}
@keyframes tpCounterSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}
.tp-orbit-badge svg {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  flex-shrink: 0 !important;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* Comet tails */
.tp-orbit-badge::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(228, 87, 46, 0.45), transparent);
  transform-origin: left center;
  transform: translateY(-50%) rotate(180deg);
  pointer-events: none;
}

/* Positioning 6 integration nodes along 360 degrees */
.tp-node-1 { top: 50%; left: 95%; }  /* 0 deg */
.tp-node-2 { top: 89%; left: 72%; }  /* 60 deg */
.tp-node-3 { top: 89%; left: 28%; }  /* 120 deg */
.tp-node-4 { top: 50%; left: 5%; }   /* 180 deg */
.tp-node-5 { top: 11%; left: 28%; }  /* 240 deg */
.tp-node-6 { top: 11%; left: 72%; }  /* 300 deg */

/* =========================================================
   3.3 LOGO MARQUEE (Navy Band)
   ========================================================= */
.tp-marquee-section {
  background: var(--tp-navy-900);
  padding: 24px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tp-marquee-track {
  display: flex;
  gap: 50px;
  align-items: center;
  width: max-content;
  animation: tpMarquee 35s linear infinite;
}
.tp-marquee-section:hover .tp-marquee-track {
  animation-play-state: paused;
}
@keyframes tpMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.tp-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.tp-marquee-item svg {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  flex-shrink: 0 !important;
  opacity: 0.85;
}

.tp-marquee-fade-left,
.tp-marquee-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  pointer-events: none;
  z-index: 2;
}
.tp-marquee-fade-left {
  left: 0;
  background: linear-gradient(90deg, var(--tp-navy-900), transparent);
}
.tp-marquee-fade-right {
  right: 0;
  background: linear-gradient(-90deg, var(--tp-navy-900), transparent);
}

/* =========================================================
   3.4 DARK SECTION ("AI Team Gets The Job Done")
   ========================================================= */
.tp-dark-section {
  background: linear-gradient(180deg, var(--tp-navy-900) 0%, var(--tp-navy-700) 100%);
  color: #FFFFFF;
  border-radius: var(--tp-radius-container);
  padding: clamp(50px, 8vw, 84px) clamp(24px, 5vw, 60px);
  margin: 60px auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px -15px rgba(20, 25, 45, 0.5);
}

.tp-dark-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* Step list */
.tp-step-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}
.tp-step-item {
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.tp-step-item.active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(228, 87, 46, 0.45);
}
.tp-step-progress-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--tp-accent);
  opacity: 0;
  transition: opacity 0.2s;
}
.tp-step-item.active .tp-step-progress-bar {
  opacity: 1;
}

.tp-step-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: #F1F5F9;
}
.tp-step-desc {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.5;
  color: #CBD5E1;
  transition: max-height 0.35s ease, opacity 0.35s ease, margin-top 0.35s ease;
}
.tp-step-item.active .tp-step-desc {
  max-height: 80px;
  opacity: 1;
  margin-top: 8px;
}

/* Data Flow Card (Right Column) */
.tp-dataflow-card {
  background: var(--tp-navy-card);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--tp-radius-card);
  padding: 30px;
  box-shadow: 0 20px 48px -12px rgba(10, 15, 30, 0.5);
  position: relative;
}

.tp-source-chips {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.tp-source-chip {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #E2E8F0;
}

/* SVG circuit stage */
.tp-circuit-stage {
  width: 100%;
  height: 120px;
  display: block;
  margin: 0 auto;
}

/* Glowing Orb */
.tp-glowing-orb-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin: -10px 0 16px;
}
.tp-glowing-orb {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFA280 15%, var(--tp-accent) 70%);
  box-shadow: 0 0 24px var(--tp-accent), 0 0 48px rgba(228, 87, 46, 0.6);
  animation: tpOrbPulse 2.4s ease-in-out infinite;
}
@keyframes tpOrbPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 12px var(--tp-accent)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 24px #FFA280); }
}

.tp-orange-beam {
  width: 3px;
  height: 38px;
  background: linear-gradient(180deg, var(--tp-accent), #FFFFFF);
  box-shadow: 0 0 12px var(--tp-accent);
}

/* Result Card */
.tp-flow-result-card {
  background: #FFFFFF;
  color: var(--tp-text-strong);
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
.tp-result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.tp-result-header strong {
  font-size: 13px;
  color: var(--tp-navy-900);
}
.tp-result-badge {
  font-size: 9px;
  font-weight: 700;
  background: var(--tp-accent-tint);
  color: var(--tp-accent);
  padding: 3px 8px;
  border-radius: 4px;
}
.tp-result-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tp-result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  padding: 6px 10px;
  background: var(--tp-bg-soft);
  border-radius: 6px;
  border: 1px solid var(--tp-border);
}

/* =========================================================
   3.5 KEY FEATURES BENTO GRID (Light)
   ========================================================= */
.tp-bento-section {
  padding: 70px 0;
}
.tp-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.tp-bento-card {
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-card);
  padding: 28px 24px;
  box-shadow: var(--tp-shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
}
.tp-bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 46px -12px rgba(30, 40, 70, 0.22);
}

.tp-bento-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--tp-navy-900);
  margin-bottom: 8px;
}
.tp-bento-card p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--tp-text);
  margin-bottom: 20px;
}

.tp-bento-img-slot {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--tp-border);
  margin-top: auto;
}
.tp-mockup-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid var(--tp-border);
  font-size: 10px;
  font-family: monospace;
  color: var(--tp-text-muted);
}
[style*="background: var(--tp-navy-900)"] .tp-mockup-browser-bar {
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.55);
}
.tp-mock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.dot-r { background: #EF4444; }
.dot-y { background: #F59E0B; }
.dot-g { background: #10B981; }
.tp-mock-address {
  margin-left: 6px;
  letter-spacing: 0.02em;
}
.tp-bento-img-slot img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.tp-bento-card:hover .tp-bento-img-slot img {
  transform: scale(1.06);
}

.tp-stair-accent-bar {
  width: 32px;
  height: 3px;
  background: var(--tp-accent);
  border-radius: 2px;
  margin-bottom: 14px;
}

.tp-channels-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}
.tp-channel-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: var(--tp-accent-tint);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--tp-text-strong);
}

/* =========================================================
   3.9 STAIRCASE STATS ("Scaling Without Hiring")
   ========================================================= */
.tp-staircase-section {
  padding: 60px 0 80px;
}
.tp-staircase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: flex-start;
  margin-top: 40px;
}
.tp-stair-card {
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-card);
  padding: 28px 22px;
  box-shadow: var(--tp-shadow-card);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.tp-stair-card:hover {
  transform: translateY(-4px);
}
.tp-stair-1 { transform: translateY(0); }
.tp-stair-2 { transform: translateY(22px); }
.tp-stair-3 { transform: translateY(44px); }
.tp-stair-4 { transform: translateY(66px); }

.tp-stair-number {
  font-size: 34px;
  font-weight: 600;
  color: var(--tp-navy-900);
  line-height: 1.1;
  margin-bottom: 6px;
}
.tp-stair-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--tp-text-muted);
}

/* =========================================================
   3.9 USE CASES & SPLIT PROBLEM/SOLUTION PANELS
   ========================================================= */
.tp-usecase-section {
  padding: 80px 0;
}
.tp-usecase-container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: flex-start;
}

.tp-usecase-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tp-usecase-btn {
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: var(--tp-text);
  cursor: pointer;
  border-left: 4px solid transparent;
  transition: all 0.25s ease;
}
.tp-usecase-btn.active {
  border-left-color: var(--tp-accent);
  color: var(--tp-navy-900);
  background: var(--tp-bg-soft);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.tp-usecase-card {
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-card);
  padding: 34px;
  box-shadow: var(--tp-shadow-card);
}
.tp-stat-chips-row {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.tp-chip-impact {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--tp-radius-pill);
  background: var(--tp-accent-tint);
  color: var(--tp-accent);
}

.tp-split-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}
.tp-panel-problem {
  background: var(--tp-bg-soft);
  border: 1px solid var(--tp-border);
  border-radius: 12px;
  padding: 20px;
}
.tp-panel-solution {
  background: var(--tp-navy-900);
  color: #FFFFFF;
  border-radius: 12px;
  padding: 20px;
}
.tp-panel-problem h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tp-accent);
  margin-bottom: 8px;
}
.tp-panel-solution h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #93C5FD;
  margin-bottom: 8px;
}
.tp-panel-problem p {
  font-size: 12px;
  line-height: 1.5;
  color: var(--tp-text);
}
.tp-panel-solution p {
  font-size: 12px;
  line-height: 1.5;
  color: #E2E8F0;
}
.tp-pill-action {
  display: inline-block;
  margin-top: 12px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--tp-radius-pill);
  background: rgba(0, 0, 0, 0.08);
}
.tp-panel-solution .tp-pill-action {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

/* =========================================================
   3.9 STICKY SCROLLYTELLING (3 Chapters)
   ========================================================= */
.tp-scrolly-section {
  padding: 70px 0;
}
.tp-scrolly-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
  position: relative;
}

.tp-scrolly-chapters {
  display: flex;
  flex-direction: column;
  gap: 120px;
  padding-bottom: 80px;
}
.tp-chapter-block {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tp-sticky-panel-holder {
  position: sticky;
  top: calc(var(--header-h, 72px) + 24px);
  height: 520px;
  align-self: flex-start;
}

.tp-scrolly-mock {
  position: absolute;
  inset: 0;
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-card);
  box-shadow: var(--tp-shadow-float);
  padding: 26px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.tp-scrolly-mock.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Chapter 1: Agent Setup Form Mock */
.tp-mock-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tp-mock-input {
  background: var(--tp-bg-soft);
  border: 1px solid var(--tp-border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  font-family: inherit;
  color: var(--tp-text-strong);
}

/* Chapter 2: Node Graph Mock */
.tp-node-graph {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.tp-node-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--tp-bg-soft);
  border: 1px solid var(--tp-border);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
}
.tp-node-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--tp-accent-tint);
  color: var(--tp-accent);
}

/* Chapter 3: Waiting Approval Mock */
.tp-approval-card {
  border: 1px solid var(--tp-border);
  border-radius: 12px;
  padding: 20px;
  background: var(--tp-surface);
}
.tp-urgent-badge {
  background: #FEE2E2;
  color: #DC2626;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
}

/* =========================================================
   3.6 BOOK-A-DEMO & FAQ & FOOTER WATERMARK
   ========================================================= */
.tp-faq-section {
  padding: 70px 0;
}
.tp-faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  margin-top: 36px;
}
.tp-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tp-faq-item {
  border: 1px solid var(--tp-border);
  border-radius: 12px;
  background: var(--tp-surface);
  overflow: hidden;
  transition: all 0.25s ease;
}
.tp-faq-item.open {
  border-color: rgba(43, 53, 87, 0.25);
  box-shadow: 0 6px 20px rgba(43, 53, 87, 0.06);
}
button.tp-faq-header {
  width: 100%;
  border: none;
  background: transparent;
  text-align: left;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--tp-navy-900);
  font-family: inherit;
  transition: background-color 0.2s;
}
button.tp-faq-header:hover {
  background: rgba(43, 53, 87, 0.02);
}
.tp-faq-header span:last-child {
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.25s ease, color 0.25s ease;
}
.tp-faq-item.open .tp-faq-header span:last-child {
  transform: rotate(45deg);
  color: var(--tp-accent);
}
.tp-faq-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 22px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--tp-text);
  transition: max-height 0.3s ease, padding-bottom 0.3s ease;
}
.tp-faq-item.open .tp-faq-body {
  max-height: 160px;
  padding-bottom: 18px;
}

/* Toast Notification */
.tp-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  background: var(--tp-navy-900);
  color: #FFFFFF;
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
  pointer-events: none;
}
.tp-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Giant Watermark Wordmark */
.tp-watermark-wrap {
  width: 100%;
  overflow: hidden;
  padding: 40px 0 20px;
  background: var(--tp-navy-900);
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.tp-watermark-text {
  font-size: clamp(4rem, 16vw, 14rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.12);
  white-space: nowrap;
  animation: tpWatermarkScroll 45s linear infinite;
}
@keyframes tpWatermarkScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-35%); }
}

/* =========================================================
   RESPONSIVE OVERRIDES
   ========================================================= */
@media (max-width: 1080px) {
  .tp-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .tp-hero-visual { min-height: 440px; margin-top: 10px; }
  .tp-hero-stats { align-items: center; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 14px; }
  .tp-stat-item { min-width: 150px; padding: 12px 18px; }
  .tp-bento-grid { grid-template-columns: repeat(2, 1fr); }
  .tp-staircase-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .tp-stair-1, .tp-stair-2, .tp-stair-3, .tp-stair-4 { transform: none; }
  .tp-dark-grid { grid-template-columns: 1fr; }
  .tp-usecase-container { grid-template-columns: 1fr; }
  .tp-faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .tp-hero-visual { min-height: 380px; }
  .tp-orbit-stage {
    width: min(380px, 92vw);
    height: min(380px, 92vw);
    opacity: 0.45;
  }
  .tp-scrolly-wrapper { grid-template-columns: 1fr; }
  .tp-sticky-panel-holder { position: relative; top: 0; height: auto; min-height: 440px; margin-bottom: 30px; }
  .tp-bento-grid { grid-template-columns: 1fr; }
  .tp-staircase-grid { grid-template-columns: 1fr; }
  .tp-split-panels { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .tp-orbit-nodes-track,
  .tp-orbit-badge,
  .tp-marquee-track,
  .tp-watermark-text {
    animation: none !important;
  }
}
