/**
 * Business Transformations Page Styles - Apple-Inspired Light Theme 2025
 * Professional, executive-focused design following Apple's design principles
 * 
 * Design Philosophy:
 * - Clarity: Clear, purposeful communication without visual noise
 * - Simplicity: Reduce complexity while maintaining functionality  
 * - Deference: UI serves content, never overwhelms
 * - Depth: Thoughtful layering and hierarchy
 *
 * @package Zero_Qubit_Astra_Child
 * @since 2.0.0
 */

/* ===== BASE STYLES ===== */
.business-transformations-page {
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  font-family: var(--font-body);
}

/* ===== HERO SECTION - Apple-Inspired Clean Design ===== */
.partnership-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: var(--bg-primary);
  padding: var(--space-4xl) 0;
  overflow: hidden;
}

/* Subtle background pattern - Apple-inspired minimalism */
.partnership-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, var(--primary-subtle) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, var(--primary-light-bg) 0%, transparent 50%);
  pointer-events: none;
}

.partnership-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.partnership-text h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-align: left;
}

.partnership-text h1::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60%;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  animation: subtleGlow 3s ease-in-out infinite;
}

@keyframes subtleGlow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.125rem, 2.25vw, 1.25rem);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.partnership-tabs {
  display: flex;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

.tab-button {
  background: var(--bg-elevated);
  border: 1.5px solid var(--border-light);
  color: var(--text-secondary);
  padding: 0.875rem 2rem;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.tab-button.active {
  background: var(--primary);
  color: var(--text-inverse);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 122, 204, 0.25);
}

.tab-button:hover:not(.active) {
  background: var(--hover-bg);
  border-color: var(--border-medium);
  transform: translateY(-1px);
}

.tab-content {
  display: none;
  animation: fadeInUp 0.3s ease;
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.65;
  color: var(--text-primary);
}

.tab-content.active {
  display: block;
}

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

.partnership-visual {
  position: relative;
}

.quantum-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quantum-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-2px);
  box-shadow: 
    0 8px 25px var(--glass-shadow-medium),
    0 0 0 1px var(--glass-border);
}

.quantum-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 650;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.quantum-card p {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.65;
  color: var(--text-primary);
  margin: 0;
}

/* ===== QUALIFICATION MATRIX ===== */
.qualification-matrix {
  padding: var(--space-4xl) 0;
  background: var(--bg-secondary);
  position: relative;
}

.section-header {
  max-width: 1200px;
  margin: 0 auto var(--space-3xl);
  padding: 0 var(--space-xl);
  text-align: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-align: center;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.125rem, 2.25vw, 1.25rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 65ch;
  margin: 0 auto;
  text-align: center;
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.matrix-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.matrix-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: 
    0 12px 25px var(--glass-shadow-medium),
    0 0 0 1px var(--glass-border);
}

.matrix-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.matrix-card:hover::before {
  opacity: 1;
}

.matrix-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: var(--space-md);
  border: 1px solid var(--border-light);
}

.matrix-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 650;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.matrix-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.matrix-card li {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.65;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  padding-left: var(--space-lg);
  position: relative;
}

.matrix-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
  box-shadow: 0 1px 3px rgba(40, 167, 69, 0.2);
}

/* ===== VALUE EXPLORER - Interactive Dashboard ===== */
.value-explorer {
  padding: var(--space-4xl) 0;
  background: var(--bg-primary);
  position: relative;
}

.value-explorer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, var(--primary-subtle) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, var(--primary-light-bg) 0%, transparent 50%);
  pointer-events: none;
}

.value-tabs-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  position: relative;
  z-index: 1;
}

.value-tabs-nav {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-3xl);
  flex-wrap: wrap;
}

.value-tab-button {
  background: var(--bg-elevated);
  border: 1.5px solid var(--border-light);
  color: var(--text-secondary);
  padding: 0.875rem 1.5rem;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  text-align: center;
  min-width: 200px;
}

.value-tab-button.active {
  background: var(--primary-light-bg);
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(0, 122, 204, 0.15);
}

.value-tab-button:hover:not(.active) {
  background: var(--hover-bg);
  border-color: var(--border-medium);
  transform: translateY(-1px);
}

.value-tab-content {
  display: none;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: var(--space-3xl);
  position: relative;
  overflow: hidden;
}

.value-tab-content.active {
  display: block;
  animation: slideInScale 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInScale {
  from { 
    opacity: 0; 
    transform: translateY(20px) scale(0.98); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0) scale(1); 
  }
}

.value-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  margin-bottom: var(--space-lg);
}

.value-description h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 650;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.value-description p {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.65;
  color: var(--text-primary);
  margin: 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-lg);
}

.metric-card {
  background: var(--primary-subtle);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: var(--space-lg);
  text-align: center;
  position: relative;
  overflow: visible;
  transition: all 0.2s ease;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.metric-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--glass-shadow-light);
}

.metric-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  display: block;
  line-height: 1.1;
  margin-bottom: var(--space-xs);
  text-align: center;
  white-space: nowrap;
}

.metric-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  word-wrap: break-word;
  max-width: 100%;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-xl);
  align-items: center;
  margin-top: var(--space-xl);
}

.scenario {
  background: var(--bg-elevated);
  border-radius: 12px;
  padding: var(--space-lg);
  border: 1px solid var(--border-light);
  position: relative;
  transition: all 0.2s ease;
}

.scenario:hover {
  border-color: var(--border-medium);
  transform: translateY(-1px);
}

.scenario.before {
  border-left: 3px solid var(--warning);
}

.scenario.after {
  border-left: 3px solid var(--success);
}

.scenario h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.scenario p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.transform-arrow {
  font-size: 2rem;
  color: var(--primary);
  animation: subtlePulse 3s infinite;
}

@keyframes subtlePulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* ===== BALANCE VISUALIZATION ===== */
.balance-section {
  padding: var(--space-3xl) 0;
  background: var(--bg-section);
  position: relative;
  overflow: hidden;
}

.balance-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.balance-scale {
  display: grid;
  grid-template-columns: 1fr 120px 1fr;
  gap: var(--space-2xl);
  align-items: flex-start;
  margin: var(--space-2xl) 0 var(--space-xl);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.balance-side {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: var(--space-xl);
  border: 1px solid var(--glass-border);
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.05),
    0 4px 12px rgba(0, 0, 0, 0.03);
}

.balance-side:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.08),
    0 8px 25px rgba(0, 0, 0, 0.06),
    0 16px 35px rgba(0, 0, 0, 0.04);
}

.balance-side.keep {
  border-top: 3px solid var(--success);
}

.balance-side.change {
  border-top: 3px solid var(--primary);
}

.balance-side h3 {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.8vw, 1.75rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: center;
}

.balance-fulcrum {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  position: relative;
}

.balance-connector {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.connector-line {
  width: 2px;
  height: 80px;
  background: linear-gradient(180deg, 
    var(--primary) 0%, 
    var(--primary-light) 50%, 
    var(--primary) 100%);
  border-radius: 1px;
  position: relative;
  animation: subtleGlow 4s ease-in-out infinite;
}

.connector-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.center-dot {
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
  box-shadow: 0 2px 8px rgba(0, 122, 204, 0.2);
  animation: subtlePulse 3s ease-in-out infinite;
}

@keyframes subtleGlow {
  0%, 100% { 
    opacity: 0.8; 
    box-shadow: 0 0 4px rgba(0, 122, 204, 0.2);
  }
  50% { 
    opacity: 1; 
    box-shadow: 0 0 8px rgba(0, 122, 204, 0.4);
  }
}

@keyframes subtlePulse {
  0%, 100% { 
    transform: scale(1); 
    opacity: 0.9;
  }
  50% { 
    transform: scale(1.1); 
    opacity: 1;
  }
}

.balance-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.balance-items li {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.6;
  color: var(--text-primary);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  padding-left: var(--space-xl);
  transition: all 0.2s ease;
}

.balance-items li:last-child {
  border-bottom: none;
}

.balance-items li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
  box-shadow: 0 1px 3px rgba(40, 167, 69, 0.2);
}

.balance-items.changes li::before {
  background: var(--primary);
  box-shadow: 0 1px 3px rgba(0, 122, 204, 0.2);
}

/* ===== JOURNEY TIMELINE ===== */
.journey-timeline {
  padding: var(--space-4xl) 0;
  background: var(--bg-primary);
}

.timeline-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  position: relative;
}

.timeline-step {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: var(--space-2xl);
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.timeline-step:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 25px var(--glass-shadow-medium);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
  font-family: var(--font-display);
}

.timeline-step h3 {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2.25vw, 1.25rem);
  font-weight: 650;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.timeline-step p {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
}

.step-expanded {
  display: none;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-light);
  animation: expandDown 0.3s ease;
}

.step-expanded p {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin: 0;
}

@keyframes expandDown {
  from { opacity: 0; max-height: 0; }
  to { opacity: 1; max-height: 200px; }
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--bg-accent);
  padding: var(--space-4xl) 0;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .partnership-content {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }
  
  .partnership-tabs {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }
  
  .value-tabs-nav {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }
  
  .value-showcase {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .before-after {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .transform-arrow {
    transform: rotate(90deg);
    margin: var(--space-md) 0;
  }
  
  .balance-scale {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .balance-fulcrum {
    order: -1;
    transform: rotate(90deg);
  }
  
  .timeline-steps {
    grid-template-columns: 1fr;
  }
  
  .section-title,
  .section-subtitle {
    text-align: center;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

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

/* ===== FOCUS STATES ===== */
.tab-button:focus-visible,
.value-tab-button:focus-visible,
.timeline-step:focus-visible {
  outline: 3px solid var(--border-focus);
  outline-offset: 2px;
}

/* Click state for timeline expansion */
.timeline-step.expanded .step-expanded {
  display: block;
}

/* Hover states for metric cards */
.metric-card:hover .metric-number {
  text-shadow: 0 0 8px rgba(0, 122, 204, 0.3);
}

/* ===== INTERACTIVE BUSINESS ASSESSMENT TOOL ===== */
.assessment-tool {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: var(--space-3xl);
  margin: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}

.assessment-progress {
  height: 4px;
  background: var(--bg-secondary);
  border-radius: 2px;
  margin-bottom: var(--space-xl);
  overflow: hidden;
}

.assessment-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
}

.assessment-questions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.assessment-question {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--bg-elevated);
  border-radius: 12px;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  min-width: 280px;
  max-width: 320px;
}

.assessment-question:hover {
  border-color: var(--border-medium);
  transform: translateY(-1px);
}

.question-content h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.question-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
}

.assessment-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--bg-secondary) 0%, var(--primary-subtle) 100%);
  outline: none;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.assessment-slider:hover {
  background: linear-gradient(90deg, var(--primary-subtle) 0%, var(--primary-light-bg) 100%);
}

.assessment-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary) !important;
  cursor: pointer;
  border: 3px solid var(--bg-primary) !important;
  box-shadow: 
    0 2px 8px rgba(0, 122, 204, 0.3),
    0 1px 3px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.assessment-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 
    0 4px 16px rgba(0, 122, 204, 0.5),
    0 2px 6px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  background: var(--primary-light) !important;
}

.assessment-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary) !important;
  cursor: pointer;
  border: 3px solid var(--bg-primary) !important;
  box-shadow: 
    0 2px 8px rgba(0, 122, 204, 0.3),
    0 1px 3px rgba(0, 0, 0, 0.1);
}

.assessment-result {
  text-align: center;
  padding: var(--space-2xl);
  background: var(--primary-subtle);
  border-radius: 16px;
  margin-top: var(--space-xl);
  border: 1px solid var(--primary-light-bg);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.assessment-result.show {
  opacity: 1;
  transform: translateY(0);
}

.partnership-score {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: var(--space-sm);
  animation: countUp 2s ease-out;
}

.score-label {
  font-size: 1.125rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.score-recommendation {
  font-size: 1.125rem;
  color: var(--text-primary);
  line-height: 1.6;
  max-width: 60ch;
  margin: 0 auto;
}

/* Value Display and Range Labels */
.slider-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  width: 100%;
}

.slider-value-display {
  background: var(--primary-subtle);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  padding: var(--space-xs) var(--space-md);
  border-radius: 8px;
  border: 1px solid var(--primary-light-bg);
  min-width: 80px;
  text-align: center;
  transition: all 0.3s ease;
  align-self: center;
  margin-bottom: var(--space-xs);
}

.slider-range-labels {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-top: var(--space-xs);
}

.range-label {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.range-label.start {
  text-align: left;
}

.range-label.end {
  text-align: right;
}

.range-label.middle {
  text-align: center;
}

@keyframes countUp {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}


/* ===== ENHANCED VISUAL STORYTELLING ===== */
.process-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin: var(--space-2xl) 0;
}

.process-step {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: var(--space-xl);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-step:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--glass-border-hover);
  box-shadow: 0 20px 40px var(--glass-shadow-medium);
}


.step-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 650;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  line-height: 1.25;
}

.step-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.step-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.step-benefits li {
  font-size: 0.9rem;
  color: var(--text-primary);
  padding: var(--space-xs) 0;
  padding-left: var(--space-lg);
  position: relative;
}

.step-benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid var(--primary);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  transition: transform 0.2s ease;
}

.process-step:hover .step-benefits li::before {
  transform: translateX(4px);
}

/* ===== INTERACTIVE TIMELINE ENHANCEMENTS ===== */
.timeline-container {
  position: relative;
}

.timeline-progress-line {
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--bg-secondary);
  border-radius: 2px;
  z-index: 1;
}

.timeline-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
  width: 0%;
  transition: width 1s ease;
}

.timeline-step {
  position: relative;
  z-index: 2;
}

.step-number {
  transition: all 0.3s ease;
  position: relative;
}

.timeline-step:hover .step-number {
  transform: translateX(-50%) scale(1.2);
  box-shadow: 0 4px 15px rgba(0, 122, 204, 0.4);
}

.case-study-preview {
  background: var(--primary-subtle);
  border-radius: 8px;
  padding: var(--space-md);
  margin-top: var(--space-sm);
  border-left: 3px solid var(--primary);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.timeline-step:hover .case-study-preview {
  opacity: 1;
  transform: translateY(0);
}

.case-study-preview h5 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

.case-study-preview p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ===== SOPHISTICATED BALANCE VISUALIZATION ===== */
.balance-scale {
  position: relative;
  perspective: 1000px;
}

.balance-side {
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.balance-side:hover {
  transform: translateY(-8px) rotateX(5deg);
}

.balance-fulcrum {
  position: relative;
  transition: transform 1s ease;
}

.balance-fulcrum::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, var(--primary-light-bg) 0%, transparent 70%);
  border-radius: 50%;
  animation: balanceGlow 4s ease-in-out infinite;
}

@keyframes balanceGlow {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.2); }
}

.weight-indicator {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--text-inverse);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0;
  box-shadow: 0 4px 12px rgba(0, 122, 204, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.balance-side:hover .weight-indicator {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== APPLE-INSPIRED INTERACTION DESIGN ===== */
.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, var(--primary-subtle) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, var(--primary-light-bg) 0%, transparent 50%);
  pointer-events: none;
  transition: transform 0.1s ease-out;
}

.scroll-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.magnetic-hover {
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.magnetic-hover:hover {
  transform: translateY(-2px);
}

/* ===== RESPONSIVE ENHANCEMENTS ===== */
@media (max-width: 768px) {
  .assessment-questions {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .assessment-question {
    min-width: unset;
    max-width: unset;
  }
  
  .calculator-inputs {
    grid-template-columns: 1fr;
  }
  
  .process-flow {
    grid-template-columns: 1fr;
  }
  
  .partnership-score {
    font-size: 3rem;
  }
  
  .result-value {
    font-size: 2rem;
  }
  
  /* Balance Section Mobile Optimizations */
  .balance-scale {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
  }
  
  .balance-fulcrum {
    order: 2;
    height: 60px;
    margin: var(--space-lg) 0;
  }
  
  .balance-side.keep {
    order: 1;
  }
  
  .balance-side.change {
    order: 3;
  }
  
  .connector-line {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background: var(--primary);
  }
  
  .balance-side {
    padding: var(--space-lg);
  }
  
  .weight-indicator {
    position: static;
    transform: none;
    margin-bottom: var(--space-md);
    display: inline-block;
  }
}