/* ==========================================================================
   ASFIT SOLUTIONS — HOMEPAGE REDESIGN PROTOTYPE STYLES
   Phase H2 High-Fidelity Prototype
   Inherits Approved Portfolio Design Authority & Multi-Tier Motion System
   100% Pure CSS + Inline SVG | Fully Accessible | Zero Horizontal Overflow
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & SYSTEM VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Surfaces - Dark Technical */
  --hp-navy-950: #060919;
  --hp-navy-900: #0a0f24;
  --hp-navy-850: #0f1738;
  --hp-navy-800: #141f48;
  --hp-navy-700: #1e2c66;

  /* Surfaces - Light Commercial */
  --hp-white: #ffffff;
  --hp-slate-50: #f8fafc;
  --hp-slate-100: #f1f5f9;
  --hp-slate-200: #e2e8f0;
  --hp-slate-300: #cbd5e1;
  --hp-slate-400: #94a3b8;
  --hp-slate-600: #475569;
  --hp-slate-700: #334155;
  --hp-slate-800: #1e293b;
  --hp-slate-900: #0f172a;

  /* Accent & Kinetic Colors */
  --hp-cyan-400: #22d3ee;
  --hp-cyan-500: #06b6d4;
  --hp-royal-500: #3b82f6;
  --hp-royal-600: #2563eb;
  --hp-royal-700: #1d4ed8;
  --hp-violet-500: #8b5cf6;
  --hp-emerald-500: #10b981;
  --hp-amber-500: #f59e0b;

  /* Typography Authority */
  --hp-font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --hp-font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Layout & Spacing */
  --hp-container-max: 1240px;
  --hp-radius-sm: 6px;
  --hp-radius-md: 10px;
  --hp-radius-lg: 16px;
  --hp-radius-xl: 20px;
  --hp-transition-fast: 150ms ease;
  --hp-transition-normal: 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. GLOBAL LAYOUT & RESETS
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body.asfit-home-page {
  margin: 0;
  padding: 0;
  font-family: var(--hp-font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--hp-slate-700);
  background-color: var(--hp-navy-950);
  overflow-x: hidden;
}

.hp-container {
  width: 100%;
  max-width: var(--hp-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 640px) {
  .hp-container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* Section Shells */
.hp-section {
  position: relative;
  width: 100%;
  padding-top: clamp(4.5rem, 7vw, 6.5rem);
  padding-bottom: clamp(4.5rem, 7vw, 6.5rem);
  overflow: hidden;
}

.hp-section--dark {
  background-color: var(--hp-navy-950);
  color: var(--hp-slate-300);
}

.hp-section--light {
  background-color: var(--hp-slate-50);
  color: var(--hp-slate-700);
}

.hp-section--light-cool {
  background-color: var(--hp-slate-100);
  color: var(--hp-slate-700);
}

.hp-section--light-white {
  background-color: var(--hp-white);
  color: var(--hp-slate-700);
}

/* Section Header Typography */
.hp-section-header {
  max-width: 760px;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.hp-section-header.text-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--hp-font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hp-section--dark .hp-kicker {
  color: var(--hp-cyan-400);
}

.hp-section--light .hp-kicker,
.hp-section--light-cool .hp-kicker,
.hp-section--light-white .hp-kicker {
  color: var(--hp-royal-600);
}

.hp-section-title {
  font-family: var(--hp-font-heading);
  font-weight: 700;
  font-size: clamp(1.85rem, 2.8vw, 2.5rem);
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 0.875rem;
  letter-spacing: -0.015em;
  word-break: break-word;
}

.hp-section--dark .hp-section-title {
  color: var(--hp-white);
}

.hp-section--light .hp-section-title,
.hp-section--light-cool .hp-section-title,
.hp-section--light-white .hp-section-title {
  color: var(--hp-slate-900);
}

.hp-section-desc {
  font-size: 1.0625rem;
  line-height: 1.68;
  margin-top: 0;
  margin-bottom: 0;
}

.hp-section--dark .hp-section-desc {
  color: var(--hp-slate-300);
}

.hp-section--light .hp-section-desc,
.hp-section--light-cool .hp-section-desc,
.hp-section--light-white .hp-section-desc {
  color: var(--hp-slate-600);
}

/* Button & Action Components */
.hp-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.625rem;
  font-family: var(--hp-font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--hp-cyan-500) 0%, var(--hp-royal-600) 100%);
  border: 1px solid rgba(34, 211, 238, 0.4);
  border-radius: var(--hp-radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--hp-transition-fast), border-color var(--hp-transition-fast), box-shadow var(--hp-transition-fast), transform var(--hp-transition-fast);
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.25);
}

.hp-btn-primary:focus-visible {
  background: linear-gradient(135deg, #0891b2 0%, var(--hp-royal-700) 100%);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
  transform: translateY(-1px);
  outline: 3px solid rgba(34, 211, 238, 0.62);
  outline-offset: 3px;
}

.hp-btn-primary:active {
  background: linear-gradient(135deg, #087f9d 0%, #1e40af 100%);
  box-shadow: 0 3px 10px rgba(6, 182, 212, 0.24);
  transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .hp-btn-primary:hover {
    background: linear-gradient(135deg, #0891b2 0%, var(--hp-royal-700) 100%);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
    transform: translateY(-1px);
  }
}

.hp-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.5rem;
  font-family: var(--hp-font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--hp-radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--hp-transition-fast);
}

.hp-btn-secondary:hover, .hp-btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.hp-btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.375rem;
  font-family: var(--hp-font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #10b981 !important;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--hp-radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--hp-transition-fast);
}

.hp-btn-whatsapp:hover, .hp-btn-whatsapp:focus-visible {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.45);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   3. SECTION 01 — TECHNOLOGY HERO (LEVEL A MOTION)
   -------------------------------------------------------------------------- */
.hp-hero-section {
  position: relative;
  background: radial-gradient(circle at 75% 35%, rgba(6, 182, 212, 0.1) 0%, rgba(10, 15, 36, 0) 55%),
              linear-gradient(180deg, #050814 0%, var(--hp-navy-950) 100%);
  padding-top: clamp(6.5rem, 9vw, 8rem);
  padding-bottom: clamp(4.5rem, 7vw, 6.5rem);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hp-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  grid-template-areas:
    "content visual"
    "conversion visual";
  grid-template-rows: auto auto;
  column-gap: clamp(2rem, 4vw, 3.5rem);
  row-gap: 0;
  align-content: center;
  align-items: center;
  min-height: min(680px, calc(100vh - 120px));
}

.hp-hero-content {
  grid-area: content;
  position: relative;
  z-index: 2;
  align-self: end;
}

.hp-hero-conversion {
  grid-area: conversion;
  position: relative;
  z-index: 2;
  align-self: start;
}

.hp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 9999px;
  padding: 0.35rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hp-cyan-400);
  margin-bottom: 1.25rem;
}

.hp-hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background-color: var(--hp-cyan-400);
  box-shadow: 0 0 8px var(--hp-cyan-400);
}

.hp-hero-title {
  font-family: var(--hp-font-heading);
  font-weight: 700;
  font-size: clamp(2.35rem, 3.4vw, 3.15rem);
  line-height: 1.14;
  color: var(--hp-white);
  margin-top: 0;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hp-hero-title span {
  background: linear-gradient(135deg, #ffffff 30%, var(--hp-cyan-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hp-hero-lead {
  font-size: clamp(1.05rem, 1.3vw, 1.15rem);
  line-height: 1.68;
  color: var(--hp-slate-300);
  margin-top: 0;
  margin-bottom: 1.75rem;
  max-width: 580px;
}

/* Qualitative Authenticity Proofs */
.hp-hero-proofs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-bottom: 2rem;
}

.hp-hero-proof-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--hp-slate-200);
}

.hp-hero-proof-item span {
  color: var(--hp-cyan-400);
  font-weight: 700;
}

/* Action Group */
.hp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.hp-hero-reassurance {
  font-size: 0.8125rem;
  color: var(--hp-slate-400);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

/* Hero Technology Visualization (Connected Business Technology Ecosystem) */
.hp-hero-visual-stage {
  grid-area: visual;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 0.92;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hp-hero-visual-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hp-motion-bloom {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, rgba(59, 130, 246, 0.08) 50%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

/* Orbital Rings */
.hp-motion-orbit {
  transform-origin: 270px 240px;
  animation: hp-orbit-spin 36s linear infinite;
  will-change: transform;
}

.hp-motion-orbit-rev {
  transform-origin: 270px 240px;
  animation: hp-orbit-spin-rev 42s linear infinite;
  will-change: transform;
}

@keyframes hp-orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes hp-orbit-spin-rev {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* Pulsing Nodes & Traveling Signal */
.hp-motion-node-pulse {
  animation: hp-node-glow 3.5s ease-in-out infinite;
}

@keyframes hp-node-glow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.25); filter: drop-shadow(0 0 6px currentColor); }
}

/* Ecosystem UI Nodes Layer (HTML Layer over SVG) */
.hp-ecosystem-nodes {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* Center Hub */
.hp-eco-core-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 9999px;
  background: radial-gradient(circle, #0e1738 0%, #080d24 100%);
  border: 1.5px solid rgba(6, 182, 212, 0.45);
  box-shadow: 0 0 24px rgba(6, 182, 212, 0.25), inset 0 0 12px rgba(6, 182, 212, 0.15);
  text-align: center;
  z-index: 4;
}

.hp-eco-core-title {
  font-family: var(--hp-font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-transform: uppercase;
}

.hp-eco-core-sub {
  font-size: 0.625rem;
  color: var(--hp-cyan-400);
  font-weight: 600;
}

.hp-eco-core-ring {
  position: absolute;
  inset: -8px;
  border-radius: 9999px;
  border: 1px dashed rgba(6, 182, 212, 0.3);
  animation: hp-orbit-spin 20s linear infinite;
}

/* Satellite Nodes */
.hp-eco-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(15, 23, 56, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  z-index: 3;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.hp-eco-node:hover {
  transform: translateY(-2px);
  border-color: rgba(6, 182, 212, 0.4);
}

.hp-eco-node-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hp-eco-node-text strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.hp-eco-node-text small {
  display: block;
  font-size: 0.65rem;
  color: var(--hp-slate-300);
  line-height: 1.1;
}

/* Node Positioning around 270x240 center */
.hp-eco-node--web {
  top: 8%;
  left: 8%;
  border-color: rgba(6, 182, 212, 0.35);
}
.hp-eco-node--web .hp-eco-node-icon {
  background: rgba(6, 182, 212, 0.15);
  color: var(--hp-cyan-400);
}

.hp-eco-node--crm {
  top: 8%;
  right: 6%;
  border-color: rgba(59, 130, 246, 0.35);
}
.hp-eco-node--crm .hp-eco-node-icon {
  background: rgba(59, 130, 246, 0.15);
  color: var(--hp-royal-500);
}

.hp-eco-node--chat {
  top: 48%;
  right: -2%;
  border-color: rgba(34, 211, 238, 0.35);
}
.hp-eco-node--chat .hp-eco-node-icon {
  background: rgba(34, 211, 238, 0.15);
  color: var(--hp-cyan-400);
}

.hp-eco-node--ai {
  bottom: 8%;
  right: 10%;
  border-color: rgba(139, 92, 246, 0.35);
}
.hp-eco-node--ai .hp-eco-node-icon {
  background: rgba(139, 92, 246, 0.15);
  color: var(--hp-violet-500);
}

.hp-eco-node--action {
  bottom: 8%;
  left: 10%;
  border-color: rgba(16, 185, 129, 0.35);
}
.hp-eco-node--action .hp-eco-node-icon {
  background: rgba(16, 185, 129, 0.15);
  color: var(--hp-emerald-500);
}

.hp-eco-node--customer {
  top: 48%;
  left: -2%;
  border-color: rgba(245, 158, 11, 0.35);
}
.hp-eco-node--customer .hp-eco-node-icon {
  background: rgba(245, 158, 11, 0.15);
  color: var(--hp-amber-500);
}

/* Traveling Signal Packets (Level A Motion) */
.hp-motion-trace {
  stroke-dasharray: 8 16;
  animation: hp-trace-travel 18s linear infinite;
}

@keyframes hp-trace-travel {
  from { stroke-dashoffset: 240; }
  to { stroke-dashoffset: 0; }
}

/* --------------------------------------------------------------------------
   4. SECTION 02 — BUSINESS PROBLEMS & SOLUTION PATHS (LIGHT, 0% MOTION)
   -------------------------------------------------------------------------- */
.hp-contrast-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.hp-contrast-card {
  background: var(--hp-white);
  border: 1px solid var(--hp-slate-200);
  border-radius: var(--hp-radius-lg);
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform var(--hp-transition-fast), box-shadow var(--hp-transition-fast);
}

.hp-contrast-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.hp-contrast-num {
  font-family: var(--hp-font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--hp-slate-400);
  margin-bottom: 0.875rem;
}

.hp-contrast-block {
  margin-bottom: 1rem;
}

.hp-contrast-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 4px;
  padding: 0.15rem 0.5rem;
  margin-bottom: 0.4rem;
}

.hp-contrast-tag--problem {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.hp-contrast-tag--solution {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.hp-contrast-heading {
  font-family: var(--hp-font-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.hp-contrast-heading--problem {
  color: var(--hp-slate-800);
}

.hp-contrast-heading--solution {
  color: var(--hp-slate-900);
}

.hp-contrast-divider {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem 0 1rem;
  color: var(--hp-royal-600);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hp-contrast-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--hp-slate-200);
}

.hp-contrast-desc {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--hp-slate-600);
  margin-top: 0.35rem;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   5. SECTION 03 — CORE COMMERCIAL SERVICES (LIGHT-COOL, 0% MOTION)
   -------------------------------------------------------------------------- */
.hp-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.hp-service-card {
  background: var(--hp-white);
  border: 1px solid var(--hp-slate-200);
  border-radius: var(--hp-radius-lg);
  padding: clamp(1.35rem, 2.5vw, 1.75rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform var(--hp-transition-fast), box-shadow var(--hp-transition-fast), border-color var(--hp-transition-fast);
  position: relative;
}

.hp-service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.08);
}

.hp-service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.hp-service-icon-box {
  width: 68px;
  height: 68px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(6, 182, 212, 0.08) 100%);
  border: 1px solid rgba(37, 99, 235, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: transform var(--hp-transition-fast), border-color var(--hp-transition-fast), background var(--hp-transition-fast);
}

.hp-service-card:hover .hp-service-icon-box {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.3);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(6, 182, 212, 0.12) 100%);
}

.hp-service-icon-box svg {
  width: 42px;
  height: 42px;
  display: block;
}

.hp-service-num {
  font-family: var(--hp-font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--hp-slate-400);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 0.25rem;
  transition: color var(--hp-transition-fast);
}

.hp-service-card:hover .hp-service-num {
  color: var(--hp-royal-600);
}

.hp-service-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.hp-service-title {
  font-family: var(--hp-font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--hp-slate-900);
  margin: 0 0 0.625rem;
  line-height: 1.3;
}

.hp-service-title-link {
  color: inherit;
  text-decoration: none;
  transition: color var(--hp-transition-fast);
}

.hp-service-title-link:hover {
  color: var(--hp-royal-600);
}

.hp-service-title-link:focus-visible {
  outline: 2px solid var(--hp-royal-600);
  outline-offset: 3px;
  border-radius: 2px;
}

.hp-service-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--hp-slate-600);
  margin: 0 0 1.25rem;
  min-height: 4.5em;
}

.hp-service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}

.hp-service-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--hp-slate-700);
  background: var(--hp-slate-100);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  border: 1px solid var(--hp-slate-200);
}

.hp-service-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--hp-slate-100);
}

.hp-btn-service-start {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.15rem;
  background: var(--hp-royal-600);
  color: #ffffff !important;
  font-family: var(--hp-font-body);
  font-size: 0.84375rem;
  font-weight: 700;
  border-radius: var(--hp-radius-sm);
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.18);
  transition: background var(--hp-transition-fast), transform var(--hp-transition-fast), box-shadow var(--hp-transition-fast);
}

.hp-btn-service-start:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
}

.hp-btn-service-start:focus-visible {
  outline: 2px solid var(--hp-cyan-500);
  outline-offset: 2px;
}

.hp-service-link-explore {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--hp-slate-600);
  text-decoration: none;
  transition: color var(--hp-transition-fast), gap var(--hp-transition-fast);
}

.hp-service-link-explore:hover {
  color: var(--hp-royal-600);
  gap: 0.45rem;
}

.hp-service-link-explore:focus-visible {
  outline: 2px solid var(--hp-royal-600);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Backward-compatible alias */
.hp-service-action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--hp-royal-600);
}

/* --------------------------------------------------------------------------
   6. SECTION 04 — ADVANCED TECHNOLOGY & BUSINESS SYSTEMS (DARK, LEVEL B)
   -------------------------------------------------------------------------- */
/* Connected Business Systems Architecture Flow */
.hp-arch-flow-box {
  background: rgba(15, 23, 56, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--hp-radius-xl);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  margin-bottom: 2.5rem;
  position: relative;
}

.hp-arch-flow-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hp-arch-flow-title {
  font-family: var(--hp-font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--hp-cyan-400);
  text-transform: uppercase;
}

.hp-arch-flow-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--hp-cyan-400);
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 4px;
  padding: 0.2rem 0.6rem;
}

.hp-arch-flow-stages {
  display: grid;
  grid-template-columns: 1fr auto 1.15fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.hp-arch-flow-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.hp-arch-flow-col--core {
  background: rgba(6, 182, 212, 0.04);
  border: 1px dashed rgba(6, 182, 212, 0.3);
  border-radius: var(--hp-radius-md);
  padding: 0.75rem;
}

.hp-arch-flow-col-label {
  font-family: var(--hp-font-heading);
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--hp-slate-400);
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
  text-align: center;
}

.hp-arch-flow-col--core .hp-arch-flow-col-label {
  color: var(--hp-cyan-400);
}

.hp-arch-node-chip {
  background: rgba(10, 15, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--hp-radius-sm);
  padding: 0.6rem 0.875rem;
  font-size: 0.8125rem;
  color: var(--hp-slate-300);
  text-align: center;
  transition: border-color var(--hp-transition-fast), color var(--hp-transition-fast);
}

.hp-arch-node-chip.active {
  border-color: rgba(6, 182, 212, 0.45);
  background: rgba(6, 182, 212, 0.1);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.15);
}

.hp-arch-flow-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--hp-cyan-400);
  width: 32px;
}

.hp-arch-signal-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hp-cyan-400);
  box-shadow: 0 0 8px var(--hp-cyan-400);
  margin-bottom: 0.25rem;
  animation: hp-arch-dot-pulse 3s infinite ease-in-out;
}

@keyframes hp-arch-dot-pulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.4); opacity: 1; }
}

.hp-arch-arrow {
  font-size: 1.25rem;
  opacity: 0.7;
}

.hp-advanced-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.hp-advanced-grid--three {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.hp-advanced-card {
  background: rgba(15, 23, 56, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--hp-radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform var(--hp-transition-fast), border-color var(--hp-transition-fast), box-shadow var(--hp-transition-fast);
  position: relative;
  overflow: hidden;
}

.hp-advanced-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.4), transparent);
  opacity: 0;
  transition: opacity var(--hp-transition-fast);
}

.hp-advanced-card:hover {
  transform: translateY(-3px);
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

.hp-advanced-card:hover::before {
  opacity: 1;
}

.hp-advanced-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.hp-advanced-num {
  font-family: var(--hp-font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--hp-cyan-400);
  text-transform: uppercase;
}

.hp-advanced-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(6, 182, 212, 0.12);
  color: var(--hp-cyan-400);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hp-advanced-title {
  font-family: var(--hp-font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--hp-white);
  margin-top: 0;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.hp-advanced-desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--hp-slate-300);
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.hp-advanced-capabilities {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.hp-advanced-capabilities li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--hp-slate-200);
  margin-bottom: 0.5rem;
}

.hp-advanced-capabilities li::before {
  content: '▪';
  color: var(--hp-cyan-400);
  font-size: 1.1rem;
  line-height: 0;
}

.hp-advanced-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--hp-cyan-400);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 4px;
  padding: 0.25rem 0.625rem;
  align-self: flex-start;
}

/* Level B Subtle Background Elements (Shared) */
.hp-tech-bg-subtle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.75;
}

.hp-subtle-trace-drift {
  animation: hp-subtle-drift 28s linear infinite;
  will-change: stroke-dashoffset;
}

@keyframes hp-subtle-drift {
  from { stroke-dashoffset: 120; }
  to { stroke-dashoffset: 0; }
}

.hp-subtle-node {
  animation: hp-subtle-node-pulse 6s ease-in-out infinite;
}

@keyframes hp-subtle-node-pulse {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

/* --------------------------------------------------------------------------
   7. SECTION 05 — FEATURED WORK (LIGHT, 0% CONTINUOUS MOTION)
   -------------------------------------------------------------------------- */
.hp-work-rows {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.hp-work-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.hp-work-row.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.hp-work-row.reverse .hp-work-browser-wrap {
  order: 2;
}

.hp-work-row.reverse .hp-work-content-wrap {
  order: 1;
}

/* Browser Bezel Component */
.hp-browser-bezel {
  background: #ffffff;
  border: 1px solid var(--hp-slate-200);
  border-radius: var(--hp-radius-lg);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.09), 0 2px 6px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  transition: transform var(--hp-transition-fast), box-shadow var(--hp-transition-fast);
}

.hp-browser-bezel:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.14);
}

.hp-browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 1rem;
  background: var(--hp-slate-100);
  border-bottom: 1px solid var(--hp-slate-200);
}

.hp-browser-dots {
  display: flex;
  gap: 5px;
}

.hp-browser-dot {
  width: 9px;
  height: 9px;
  border-radius: 9999px;
}

.hp-browser-dot.red { background: #ef4444; }
.hp-browser-dot.yellow { background: #f59e0b; }
.hp-browser-dot.green { background: #10b981; }

.hp-browser-url {
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--hp-slate-600);
  background: #ffffff;
  padding: 0.2rem 0.75rem;
  border-radius: 4px;
  border: 1px solid var(--hp-slate-200);
  max-width: 240px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hp-browser-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #059669;
  background: rgba(16, 185, 129, 0.12);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.hp-browser-body {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--hp-slate-200);
  overflow: hidden;
  display: block;
}

.hp-browser-body img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Featured Work Content Wrap */
.hp-work-meta {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.75rem;
}

.hp-work-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 4px;
  padding: 0.2rem 0.55rem;
}

.hp-work-badge.cyan {
  background: rgba(6, 182, 212, 0.12);
  color: #0891b2;
}

.hp-work-badge.blue {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

.hp-work-category {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--hp-slate-600);
}

.hp-work-title {
  font-family: var(--hp-font-heading);
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  font-weight: 700;
  color: var(--hp-slate-900);
  line-height: 1.25;
  margin-top: 0;
  margin-bottom: 0.875rem;
}

.hp-work-desc {
  font-size: 1rem;
  line-height: 1.68;
  color: var(--hp-slate-600);
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.hp-work-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
}

.hp-work-pill {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--hp-slate-700);
  background: var(--hp-slate-100);
  border: 1px solid var(--hp-slate-200);
  border-radius: 4px;
  padding: 0.25rem 0.625rem;
}

.hp-work-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  align-items: center;
}

.hp-work-actions .hp-btn-secondary {
  color: var(--hp-slate-800) !important;
  background: var(--hp-slate-100);
  border-color: var(--hp-slate-300);
}

.hp-work-actions .hp-btn-secondary:hover {
  background: var(--hp-slate-200);
}

/* --------------------------------------------------------------------------
   8. SECTION 06 — AI & BUSINESS AUTOMATION (DARK, LEVEL B MOTION)
   -------------------------------------------------------------------------- */
.hp-ai-workflow-box {
  background: rgba(15, 23, 56, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--hp-radius-xl);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  margin-bottom: 3rem;
  position: relative;
}

.hp-ai-workflow-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hp-ai-workflow-label {
  font-family: var(--hp-font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--hp-cyan-400);
  text-transform: uppercase;
}

.hp-ai-workflow-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--hp-emerald-500);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 4px;
  padding: 0.2rem 0.6rem;
}

/* 4-Stage Operational Pipeline */
.hp-ai-pipeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1.15fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

.hp-ai-step {
  background: rgba(10, 15, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--hp-radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  position: relative;
  transition: border-color var(--hp-transition-fast);
}

.hp-ai-step:hover {
  border-color: rgba(6, 182, 212, 0.4);
}

.hp-ai-step-num {
  font-family: var(--hp-font-heading);
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--hp-cyan-400);
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.hp-ai-step-title {
  font-family: var(--hp-font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.25rem;
}

.hp-ai-step-desc {
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--hp-slate-300);
  margin: 0;
}

/* Human Gate Step (Distinct Visual Styling) */
.hp-ai-step--gate {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.06);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.1);
}

.hp-ai-gate-tag {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hp-emerald-500);
  background: rgba(16, 185, 129, 0.18);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  margin-top: 0.4rem;
}

/* Connectors */
.hp-ai-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hp-cyan-400);
  font-size: 1.1rem;
  opacity: 0.7;
  position: relative;
}

/* Traveling Signal Animation through AI Pipeline */
.hp-ai-signal-pulse {
  position: absolute;
  top: 50%;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 9999px;
  background-color: var(--hp-cyan-400);
  box-shadow: 0 0 10px 2px rgba(6, 182, 212, 0.85);
  transform: translateY(-50%);
  pointer-events: none;
  animation: hp-ai-pulse-run 10s ease-in-out infinite;
}

@keyframes hp-ai-pulse-run {
  0% { left: 5%; opacity: 0; }
  5% { opacity: 1; }
  30% { left: 32%; }
  50% { left: 58%; transform: translateY(-50%) scale(1.3); } /* Pause/glow at control gate */
  65% { left: 58%; transform: translateY(-50%) scale(1); }
  95% { left: 95%; opacity: 1; }
  100% { left: 98%; opacity: 0; }
}

/* 5 AI & Automation Capabilities Grid */
.hp-ai-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (min-width: 1025px) {
  .hp-ai-capabilities-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .hp-ai-cap-card:nth-child(1) { grid-column: 1 / span 2; }
  .hp-ai-cap-card:nth-child(2) { grid-column: 3 / span 2; }
  .hp-ai-cap-card:nth-child(3) { grid-column: 5 / span 2; }
  .hp-ai-cap-card:nth-child(4) { grid-column: 2 / span 2; }
  .hp-ai-cap-card:nth-child(5) { grid-column: 4 / span 2; }
}

.hp-ai-cap-card {
  background: rgba(15, 23, 56, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--hp-radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--hp-transition-fast), border-color var(--hp-transition-fast), box-shadow var(--hp-transition-fast);
}

.hp-ai-cap-card:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.hp-ai-cap-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.hp-ai-cap-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(139, 92, 246, 0.15);
  color: var(--hp-violet-500);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hp-ai-cap-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--hp-cyan-400);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 4px;
  padding: 0.15rem 0.5rem;
}

.hp-ai-cap-title {
  font-family: var(--hp-font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.hp-ai-cap-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--hp-slate-300);
  margin: 0;
  flex-grow: 1;
}

/* Backward-compatible aliases */
.hp-ai-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.hp-ai-card {
  background: rgba(15, 23, 56, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--hp-radius-lg);
  padding: 1.5rem;
}

/* --------------------------------------------------------------------------
   9. SECTION 07 — STRUCTURED DELIVERY PROCESS (SERPENTINE WAVE & LEVEL C PULSE)
   -------------------------------------------------------------------------- */
.hp-timeline-serpentine-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 1.5rem auto 2.5rem;
  min-height: 700px;
}

.hp-serpentine-track-svg {
  position: absolute;
  top: 50px;
  left: 0;
  width: 100%;
  height: 530px;
  pointer-events: none;
  z-index: 1;
}

/* Stage List Container */
.hp-timeline-stages-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 2;
  width: 100%;
  height: 700px;
}

/* Base Stage Item */
.hp-timeline-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: transform var(--hp-transition-fast);
}

/* Milestone Dual-Ring Circular Node */
.hp-timeline-node {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--hp-white);
  border: 3px solid var(--node-color, var(--hp-royal-600));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08), 0 0 0 4px rgba(255, 255, 255, 0.95);
  transition: transform var(--hp-transition-fast), box-shadow var(--hp-transition-fast);
  cursor: default;
  position: relative;
  z-index: 3;
  flex-shrink: 0;
}

.hp-timeline-stage:hover .hp-timeline-node {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12), 0 0 18px var(--node-glow, rgba(37, 99, 235, 0.35));
}

.hp-timeline-node-core {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--node-bg, linear-gradient(135deg, #1e293b 0%, #0f172a 100%));
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.2), inset 0 -2px 4px rgba(0, 0, 0, 0.25);
}

.hp-timeline-node-icon {
  width: 22px;
  height: 22px;
  display: block;
}

.hp-timeline-node-num {
  font-family: var(--hp-font-heading);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.92);
}

/* Vertical Connector Pin & Anchor Ring */
.hp-timeline-pin-line {
  width: 2px;
  height: 26px;
  background: var(--pin-color, var(--hp-royal-600));
  margin: 0 auto;
  flex-shrink: 0;
  transition: background var(--hp-transition-fast);
}

.hp-timeline-pin-anchor {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid var(--pin-color, var(--hp-royal-600));
  background: var(--hp-white);
  margin: 0 auto 0.45rem;
  flex-shrink: 0;
}

/* Milestone Content Card */
.hp-timeline-card {
  background: var(--hp-white);
  border: 1px solid var(--hp-slate-200);
  border-radius: var(--hp-radius-md);
  padding: 0.85rem 0.85rem 0.75rem;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  transition: transform var(--hp-transition-fast), border-color var(--hp-transition-fast), box-shadow var(--hp-transition-fast);
  width: 100%;
}

.hp-timeline-stage:hover .hp-timeline-card {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.hp-timeline-card-title {
  font-family: var(--hp-font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--hp-slate-900);
  margin: 0 0 0.35rem;
  line-height: 1.25;
}

.hp-timeline-card-desc {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--hp-slate-600);
  margin: 0;
}

/* Distinct Brand Accents for Each of the 6 Delivery Stages */
.hp-stage--01 {
  --node-color: #2563EB;
  --node-bg: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  --node-glow: rgba(37, 99, 235, 0.35);
  --pin-color: #2563EB;
}

.hp-stage--02 {
  --node-color: #06B6D4;
  --node-bg: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
  --node-glow: rgba(6, 182, 212, 0.35);
  --pin-color: #06B6D4;
}

.hp-stage--03 {
  --node-color: #8B5CF6;
  --node-bg: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
  --node-glow: rgba(139, 92, 246, 0.35);
  --pin-color: #8B5CF6;
}

.hp-stage--04 {
  --node-color: #0284C7;
  --node-bg: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  --node-glow: rgba(2, 132, 199, 0.35);
  --pin-color: #0284C7;
}

.hp-stage--05 {
  --node-color: #F59E0B;
  --node-bg: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  --node-glow: rgba(245, 158, 11, 0.35);
  --pin-color: #F59E0B;
}

.hp-stage--06 {
  --node-color: #10B981;
  --node-bg: linear-gradient(135deg, #10B981 0%, #059669 100%);
  --node-glow: rgba(16, 185, 129, 0.35);
  --pin-color: #10B981;
}

/* Desktop Absolute S-Curve Alignment (> 1024px) */
@media (min-width: 1025px) {
  .hp-timeline-stage {
    position: absolute;
    top: 0;
    width: 175px;
    height: 700px;
    transform: translateX(-50%);
  }

  /* Keep node centers fixed to the shifted wave, independent of card height. */
  .hp-stage--01 { left: 6.25%; }
  .hp-stage--02 { left: 23.75%; }
  .hp-stage--03 { left: 41.25%; }
  .hp-stage--04 { left: 58.75%; }
  .hp-stage--05 { left: 76.25%; }
  .hp-stage--06 { left: 93.75%; }

  .hp-timeline-stage--top .hp-timeline-node {
    position: absolute;
    top: 277px;
  }

  .hp-timeline-stage--top .hp-timeline-pin-line {
    position: absolute;
    top: 216px;
    height: 61px;
  }

  .hp-timeline-stage--top .hp-timeline-card {
    position: absolute;
    top: 52px;
    right: 0;
    left: 0;
    min-height: 164px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .hp-timeline-stage--bottom .hp-timeline-node {
    position: absolute;
    top: 387px;
  }

  .hp-timeline-stage--bottom .hp-timeline-pin-line {
    position: absolute;
    top: 463px;
  }

  .hp-timeline-stage--bottom .hp-timeline-card {
    position: absolute;
    top: 489px;
    right: 0;
    left: 0;
    min-height: 142px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   10. SECTION 08 — COMMERCIAL & TECHNICAL FAQ (LIGHT, 0% MOTION)
   -------------------------------------------------------------------------- */
.hp-faq-list {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.hp-faq-item {
  background: var(--hp-white);
  border: 1px solid var(--hp-slate-200);
  border-radius: var(--hp-radius-md);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  overflow: hidden;
  transition: border-color var(--hp-transition-fast), box-shadow var(--hp-transition-fast);
}

.hp-faq-item.is-open {
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.08);
}

.hp-faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--hp-font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--hp-slate-900);
  cursor: pointer;
  transition: color var(--hp-transition-fast);
}

.hp-faq-trigger:hover {
  color: var(--hp-royal-600);
}

.hp-faq-icon {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--hp-slate-400);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), color 0.24s;
  flex-shrink: 0;
  margin-left: 1rem;
}

.hp-faq-item.is-open .hp-faq-icon {
  transform: rotate(45deg);
  color: var(--hp-cyan-500);
}

.hp-faq-content {
  display: none;
  padding: 0 1.5rem 1.35rem 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.68;
  color: var(--hp-slate-600);
}

.hp-faq-item.is-open .hp-faq-content {
  display: block;
}

/* --------------------------------------------------------------------------
   11. SECTION 09 — FINAL CONVERSION CTA (DARK, STATIC)
   -------------------------------------------------------------------------- */
.hp-final-cta-box {
  background: radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.25) 0%, transparent 60%),
              linear-gradient(135deg, #0b132b 0%, var(--hp-navy-950) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--hp-radius-xl);
  padding: clamp(2.5rem, 5vw, 4rem);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hp-cta-content {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hp-cta-kicker {
  color: var(--hp-cyan-400);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.hp-cta-title {
  font-family: var(--hp-font-heading);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 1rem;
}

.hp-cta-desc {
  font-size: 1.0625rem;
  line-height: 1.68;
  color: var(--hp-slate-300);
  margin-top: 0;
  margin-bottom: 2rem;
}

.hp-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.hp-cta-reassurance {
  font-size: 0.8125rem;
  color: var(--hp-slate-400);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
}

/* --------------------------------------------------------------------------
   12. ESTABLISHED GLOBAL CHAT DOCK INTEGRATION
   -------------------------------------------------------------------------- */
.hp-global-chat-dock {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  align-items: center;
}

.hp-chat-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, var(--hp-navy-900) 0%, #1e2c66 100%);
  border: 1px solid rgba(6, 182, 212, 0.4);
  border-radius: 9999px;
  color: #ffffff;
  font-family: var(--hp-font-body);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 12px rgba(6, 182, 212, 0.3);
  cursor: pointer;
  transition: transform var(--hp-transition-fast), box-shadow var(--hp-transition-fast);
}

.hp-chat-trigger-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 18px rgba(6, 182, 212, 0.5);
}

.hp-chat-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: var(--hp-emerald-500);
  box-shadow: 0 0 8px var(--hp-emerald-500);
}

/* --------------------------------------------------------------------------
   13. RESPONSIVE BREAKPOINT AUDITS & ADAPTATIONS
   -------------------------------------------------------------------------- */
/* Laptop (1280px down) */
@media (max-width: 1280px) {
  .hp-hero-title {
    font-size: 2.6rem;
  }
}

/* Tablet Landscape (1024px down) */
@media (max-width: 1024px) {
  .hp-hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "visual"
      "conversion";
    grid-template-rows: auto auto auto;
    gap: 0;
  }

  .hp-hero-lead {
    margin-bottom: 0;
  }

  .hp-hero-visual-stage {
    max-width: 480px;
    margin-top: clamp(1.5rem, 4vw, 2.25rem);
    margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
  }

  .hp-contrast-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hp-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hp-work-row,
  .hp-work-row.reverse {
    grid-template-columns: 1fr;
  }

  .hp-work-row.reverse .hp-work-browser-wrap {
    order: 1;
  }

  .hp-work-row.reverse .hp-work-content-wrap {
    order: 2;
  }

  /* Section 04 Architecture Flow on Tablet */
  .hp-arch-flow-stages {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hp-arch-flow-connector {
    transform: rotate(90deg);
    margin: 0.25rem auto;
  }

  .hp-advanced-grid--three {
    grid-template-columns: 1fr;
  }

  /* Section 06 Capabilities on Tablet */
  .hp-ai-capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Decouple Level B Motion on Tablet/Mobile */
  .hp-tech-bg-subtle {
    display: none !important;
  }

  /* Section 07 Delivery Process on Tablet (769px to 1024px) */
  .hp-timeline-serpentine-wrapper {
    min-height: auto;
  }

  .hp-serpentine-track-svg {
    display: none !important;
  }

  .hp-timeline-stages-list {
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1.5rem;
    position: relative;
    padding-top: 0.5rem;
  }

  .hp-timeline-stage {
    position: static;
    transform: none;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 1rem;
    background: var(--hp-white);
    border: 1px solid var(--hp-slate-200);
    border-radius: var(--hp-radius-md);
    padding: 1.15rem;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  }

  .hp-timeline-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    min-height: auto;
    order: 2;
  }

  .hp-timeline-pin-line,
  .hp-timeline-pin-anchor {
    display: none !important;
  }

  .hp-timeline-node {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    order: 1;
  }

  .hp-timeline-node-core {
    width: 50px;
    height: 50px;
  }

  /* Simplify AI Pipeline */
  .hp-ai-pipeline {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hp-ai-connector {
    transform: rotate(90deg);
    margin: 0.25rem 0;
  }

  .hp-ai-signal-pulse {
    display: none !important;
  }
}

/* Tablet Portrait & Mobile (768px down) */
@media (max-width: 768px) {
  .hp-contrast-grid {
    grid-template-columns: 1fr;
  }

  .hp-services-grid {
    grid-template-columns: 1fr;
  }

  .hp-advanced-grid,
  .hp-advanced-grid--three {
    grid-template-columns: 1fr;
  }

  .hp-ai-capabilities-grid,
  .hp-ai-cards-grid {
    grid-template-columns: 1fr;
  }

  .hp-hero-title {
    font-size: 2.15rem;
  }

  .hp-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hp-hero-actions a {
    width: 100%;
    text-align: center;
  }

  .hp-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hp-cta-actions a {
    width: 100%;
    text-align: center;
  }

  .hp-global-chat-dock {
    bottom: 1rem;
    right: 1rem;
  }

  .hp-chat-trigger-btn {
    padding: 0.55rem 0.95rem;
    font-size: 0.8125rem;
    gap: 0.4rem;
  }

  /* Section 07 Connected Vertical Timeline on Mobile (768px down) */
  .hp-timeline-stages-list {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 520px;
    margin: 0 auto;
    padding-left: 0;
  }

  /* Connected Vertical Rail (Centered exactly on the 60px nodes) */
  .hp-timeline-stages-list::before {
    content: '';
    position: absolute;
    top: 30px;
    bottom: 30px;
    left: 30px;
    width: 2px;
    background: var(--hp-slate-200);
    z-index: 1;
  }

  .hp-timeline-stage {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    gap: 1.15rem;
    position: relative;
    z-index: 2;
  }

  .hp-timeline-node {
    width: 60px;
    height: 60px;
    order: 1;
    flex-shrink: 0;
  }

  .hp-timeline-node-core {
    width: 46px;
    height: 46px;
  }

  .hp-timeline-card {
    background: var(--hp-white);
    border: 1px solid var(--hp-slate-200);
    border-radius: var(--hp-radius-md);
    padding: 1rem 1.15rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    flex: 1;
    order: 2;
    min-height: auto;
  }
}

/* Narrow Mobile (430px down to 320px) */
@media (max-width: 440px) {
  .hp-hero-title {
    font-size: 1.85rem;
  }

  .hp-section-title {
    font-size: 1.65rem;
  }

  .hp-browser-url {
    max-width: 140px;
  }

  .hp-hero-visual-stage {
    max-width: 360px;
    aspect-ratio: 1 / 0.92;
  }

  .hp-eco-node {
    box-sizing: border-box;
    width: clamp(86px, 27vw, 108px);
    min-height: 44px;
    gap: 0.3rem;
    padding: 0.3rem 0.375rem;
    border-radius: 8px;
  }

  .hp-eco-node-icon {
    width: 22px;
    height: 22px;
    border-radius: 5px;
  }

  .hp-eco-node-text strong {
    font-size: 0.65625rem;
    line-height: 1.15;
  }

  .hp-eco-node-text small {
    display: none;
  }

  .hp-eco-core-hub {
    width: clamp(76px, 22vw, 88px);
    height: clamp(76px, 22vw, 88px);
  }

  .hp-eco-core-title {
    font-size: 0.65625rem;
    letter-spacing: 0.05em;
  }

  .hp-eco-core-sub {
    font-size: 0.5625rem;
  }

  .hp-motion-bloom {
    width: 240px;
    height: 240px;
  }

  .hp-eco-node--web,
  .hp-eco-node--crm {
    top: 3%;
  }

  .hp-eco-node--web,
  .hp-eco-node--customer,
  .hp-eco-node--action {
    left: 0;
  }

  .hp-eco-node--crm,
  .hp-eco-node--chat,
  .hp-eco-node--ai {
    right: 0;
  }

  .hp-eco-node--customer,
  .hp-eco-node--chat {
    top: 50%;
    transform: translateY(-50%);
  }

  .hp-eco-node--action,
  .hp-eco-node--ai {
    bottom: 3%;
  }

  .hp-service-desc {
    min-height: auto;
  }

  .hp-service-actions {
    flex-direction: column;
    gap: 0.625rem;
  }

  .hp-btn-service-start {
    width: 100%;
    justify-content: center;
  }

  .hp-service-link-explore {
    justify-content: center;
  }

  /* Section 07 Narrow Mobile Refinement */
  .hp-timeline-stages-list {
    padding-left: 0;
  }

  .hp-timeline-stages-list::before {
    left: 26px;
  }

  .hp-timeline-stage {
    gap: 0.75rem;
  }

  .hp-timeline-node {
    width: 52px;
    height: 52px;
  }

  .hp-timeline-node-core {
    width: 40px;
    height: 40px;
  }

  .hp-timeline-node-icon {
    width: 18px;
    height: 18px;
  }

  .hp-timeline-card {
    padding: 0.85rem 0.95rem;
  }

  .hp-timeline-card-title {
    font-size: 0.9375rem;
  }

  .hp-timeline-card-desc {
    font-size: 0.8125rem;
  }

  .hp-global-chat-dock {
    bottom: 0.85rem;
    right: 0.85rem;
  }

  .hp-chat-trigger-btn {
    padding: 0.45rem 0.8rem;
    font-size: 0.75rem;
    gap: 0.35rem;
  }
}

/* Motion Freezing when Suspended or Offscreen */
.hp-motion-suspended *,
.hp-has-motion:not(.is-in-view) * {
  animation-play-state: paused !important;
}

/* --------------------------------------------------------------------------
   14. ACCESSIBILITY & PREFERS-REDUCED-MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hp-motion-orbit,
  .hp-motion-orbit-rev,
  .hp-subtle-trace-drift,
  .hp-motion-trace,
  .hp-motion-node-pulse,
  .hp-delivery-pulse,
  .hp-serpentine-pulse-group,
  .hp-ai-signal-pulse {
    animation: none !important;
  }

  .hp-delivery-pulse,
  .hp-serpentine-pulse-group,
  .hp-ai-signal-pulse,
  .hp-tech-bg-subtle {
    display: none !important;
  }
}
