/**
 * Aliff Process - Design System
 * Complete CSS for the world's first interactive AI Business Development showcase
 * Version: 2.0 - Aliff Capital Brand Colors
 */

/* ============================================
   1. CSS VARIABLES & DESIGN TOKENS
   ============================================ */

:root {
  /* === Aliff Capital Brand Colors === */

  /* Brand Colors */
  --gold-primary: hsl(43, 62%, 60%);
  --gold-dark: hsl(43, 62%, 48%);
  --gold-light: hsl(45, 75%, 70%);
  --victory-green: hsl(142, 76%, 46%);
  --victory-dark: hsl(142, 84%, 40%);
  --urgency-red: hsl(0, 72%, 59%);
  --navy: hsl(215, 28%, 17%);
  --navy-dark: hsl(215, 28%, 12%);
  --navy-light: hsl(215, 28%, 25%);
  --charcoal: hsl(215, 19%, 27%);

  /* Backgrounds */
  --bg-primary: hsl(210, 40%, 98%);
  --bg-secondary: hsl(0, 0%, 100%);
  --bg-navy: var(--navy);
  --bg-navy-gradient: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-card-hover: rgba(255, 255, 255, 1);
  --bg-glass: rgba(255, 255, 255, 0.1);

  /* Borders */
  --border: hsl(210, 6%, 88%);
  --border-gold: rgba(200, 157, 92, 0.3);
  --border-light: rgba(255, 255, 255, 0.2);

  /* Accents (mapped to brand) */
  --accent-ai: var(--gold-primary);
  --accent-ai-dark: var(--gold-dark);
  --accent-success: var(--victory-green);
  --accent-warning: hsl(45, 93%, 47%);
  --accent-error: var(--urgency-red);

  /* Gradients */
  --gradient-ai: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-light) 100%);
  --gradient-neural: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  --gradient-success: linear-gradient(135deg, var(--victory-green) 0%, var(--victory-dark) 100%);
  --gradient-hero: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);

  /* Text Colors */
  --text-primary: var(--navy);
  --text-secondary: hsl(215, 16%, 47%);
  --text-muted: hsl(215, 15%, 35%);
  --text-white: hsl(0, 0%, 100%);
  --text-on-navy: hsl(0, 0%, 100%);
  --text-on-dark: hsl(0, 0%, 95%);
  --text-console: hsl(0, 0%, 85%);

  /* Typography */
  --font-display: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-code: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

  /* Font Sizes */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.5rem;      /* 24px */
  --text-3xl: 1.875rem;    /* 30px */
  --text-4xl: 2.25rem;     /* 36px */
  --text-5xl: 3rem;        /* 48px */
  --text-6xl: 3.75rem;     /* 60px */
  --text-7xl: 4.5rem;      /* 72px */

  /* Spacing */
  --space-1: 0.25rem;      /* 4px */
  --space-2: 0.5rem;       /* 8px */
  --space-3: 0.75rem;      /* 12px */
  --space-4: 1rem;         /* 16px */
  --space-5: 1.25rem;      /* 20px */
  --space-6: 1.5rem;       /* 24px */
  --space-8: 2rem;         /* 32px */
  --space-10: 2.5rem;      /* 40px */
  --space-12: 3rem;        /* 48px */
  --space-16: 4rem;        /* 64px */
  --space-20: 5rem;        /* 80px */
  --space-24: 6rem;        /* 96px */

  /* Border Radius */
  --radius-sm: 0.375rem;   /* 6px */
  --radius-md: 0.5rem;     /* 8px */
  --radius-lg: 0.75rem;    /* 12px */
  --radius-xl: 1rem;       /* 16px */
  --radius-2xl: 1.5rem;    /* 24px */
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.2);
  --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);
  --shadow-ai: 0 10px 40px rgba(200, 157, 92, 0.3);
  --shadow-neural: 0 10px 40px rgba(44, 54, 72, 0.3);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-Index Scale */
  --z-base: 1;
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* ============================================
   2. BASE STYLES & RESETS
   ============================================ */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--bg-primary);
  overflow-x: hidden;
}

/* Accessibility: Respect reduced motion preference */
@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;
  }
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(var(--text-4xl), 5vw, var(--text-7xl));
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
}

h4 {
  font-size: clamp(var(--text-xl), 2vw, var(--text-2xl));
}

p {
  margin-bottom: var(--space-4);
  color: var(--text-secondary);
  line-height: 1.7;
}

a {
  color: var(--accent-ai);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-ai-dark);
}

code, pre {
  font-family: var(--font-code);
  font-size: 0.9em;
}

/* Text Utilities */
.text-gradient {
  background: var(--gradient-ai);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-muted {
  color: var(--text-muted);
}

/* ============================================
   4. LAYOUT UTILITIES
   ============================================ */

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}

.section {
  padding-top: var(--space-20);
  padding-bottom: var(--space-20);
}

@media (min-width: 768px) {
  .section {
    padding-top: var(--space-24);
    padding-bottom: var(--space-24);
  }
}

/* ============================================
   5. HERO SECTION
   ============================================ */

.aliff-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg-navy-gradient);
  overflow: hidden;
}

.aliff-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(200, 157, 92, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-12) 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: var(--space-6);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--space-6);
  letter-spacing: -0.03em;
  color: var(--text-white);
}

.title-highlight {
  background: var(--gradient-ai);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--text-on-navy);
  max-width: 48rem;
  margin: 0 auto var(--space-12);
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-8);
}

/* ============================================
   6. AI ORCHESTRATION CANVAS
   ============================================ */

.ai-orchestration-canvas {
  position: relative;
  width: 100%;
  height: 600px;
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  margin: var(--space-12) 0;
  border: 1px solid var(--border-gold);
}

.neural-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  z-index: 0;
}

#dataFlowCanvas {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
}

.agent-node {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 2;
  cursor: pointer;
  transition: all var(--transition-base);
}

.agent-node:hover {
  transform: translate(-50%, -50%) scale(1.1);
  z-index: 10;
}

.node-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 157, 92, 0.3) 0%, transparent 70%);
  animation: pulse 2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.5;
  }
}

.node-icon {
  position: relative;
  width: 60px;
  height: 60px;
  background: var(--gradient-ai);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  box-shadow: var(--shadow-ai);
  z-index: 2;
}

.node-label {
  margin-top: var(--space-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: white;
  text-align: center;
  white-space: nowrap;
}

.node-status {
  margin-top: var(--space-1);
  padding: var(--space-2) var(--space-3);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(200, 157, 92, 0.4);
  border-radius: var(--radius-lg);
  font-family: var(--font-code);
  font-size: var(--text-xs);
  color: hsl(43, 80%, 75%);
  text-align: center;
  white-space: nowrap;
  transition: opacity var(--transition-base);
}

.knowledge-graph-node {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.graph-core {
  position: relative;
  width: 80px;
  height: 80px;
  background: var(--gradient-neural);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  box-shadow: var(--shadow-neural);
}

.graph-pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border: 2px solid rgba(102, 126, 234, 0.5);
  border-radius: 50%;
  animation: pulseRing 3s ease-out infinite;
  pointer-events: none;
}

.graph-pulse-ring.delay-1 {
  animation-delay: 1s;
}

.graph-pulse-ring.delay-2 {
  animation-delay: 2s;
}

@keyframes pulseRing {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
}

.graph-label {
  margin-top: var(--space-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: white;
  text-align: center;
}

.graph-stats {
  margin-top: var(--space-1);
  display: flex;
  gap: var(--space-3);
  justify-content: center;
}

.graph-stats .stat {
  padding: var(--space-1) var(--space-2);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(102, 126, 234, 0.5);
  border-radius: var(--radius-md);
  font-family: var(--font-code);
  font-size: var(--text-xs);
  color: hsl(235, 77%, 75%);
  font-weight: 600;
}

/* ============================================
   7. HERO METRICS
   ============================================ */

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.metric-card {
  padding: var(--space-6);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: all var(--transition-base);
}

.metric-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.metric-value {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--accent-ai);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.metric-suffix {
  display: inline;
  font-size: var(--text-3xl);
  color: var(--accent-ai);
  margin-left: var(--space-1);
}

.metric-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ============================================
   8. BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn-hero-primary {
  padding: var(--space-4) var(--space-8);
  background: var(--gradient-ai);
  color: white;
  font-size: var(--text-lg);
  box-shadow: var(--shadow-ai);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 50px rgba(200, 157, 92, 0.4);
}

.btn-hero-secondary {
  padding: var(--space-4) var(--space-8);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  font-size: var(--text-lg);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--text-white);
}

/* ============================================
   9. COMPARISON SECTION
   ============================================ */

.comparison-section {
  background: var(--bg-secondary);
  position: relative;
  color: var(--text-primary);
}

.comparison-interactive {
  max-width: 1200px;
  margin: 0 auto;
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table thead {
  background: rgba(200, 157, 92, 0.1);
}

.comparison-table th {
  padding: var(--space-4);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
  border-bottom: 2px solid rgba(200, 157, 92, 0.3);
}

.comparison-table td {
  padding: var(--space-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr {
  transition: background var(--transition-fast);
}

.comparison-table tbody tr:hover {
  background: rgba(200, 157, 92, 0.05);
}

.progress-bar {
  position: relative;
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar .fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--gradient-ai);
  transition: width var(--transition-slow);
}

.comparison-table .old {
  color: var(--text-muted);
  font-weight: 500;
}

.comparison-table .new {
  color: var(--gold-dark);
  font-weight: 700;
}

.delta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  background: rgba(0, 255, 136, 0.2);
  color: hsl(142, 76%, 35%);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: var(--text-sm);
}

.comparison-insight {
  margin-top: var(--space-8);
}

.insight-card {
  padding: var(--space-6);
  background: rgba(200, 157, 92, 0.08);
  border-left: 4px solid var(--gold-dark);
  border-radius: var(--radius-lg);
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.insight-card p {
  color: var(--text-primary);
  font-weight: 500;
}

.insight-card svg, .insight-card i {
  flex-shrink: 0;
  color: var(--gold-dark);
  width: 24px;
  height: 24px;
}

/* ============================================
   10. 7 PHASES INTERACTIVE EXPLORER
   ============================================ */

.phases-section {
  background: var(--bg-primary);
  position: relative;
  color: var(--text-primary);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

.section-description {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 48rem;
  margin: 0 auto;
}

.phases-timeline {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

/* Timeline vertical line */
.phases-timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(200, 157, 92, 0.3) 0%, rgba(44, 54, 72, 0.3) 100%);
}

.phase-card {
  position: relative;
  margin-bottom: var(--space-8);
}

.phase-header {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-6);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all var(--transition-base);
}

.phase-header:hover {
  background: var(--bg-card-hover);
  transform: translateX(8px);
  box-shadow: var(--shadow-xl);
}

.phase-marker {
  position: relative;
  flex-shrink: 0;
}

.phase-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-ai);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: white;
  box-shadow: var(--shadow-ai);
  position: relative;
  z-index: 2;
}

.phase-info {
  flex: 1;
}

.phase-title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.phase-subtitle {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin: 0;
}

.phase-stats {
  display: flex;
  gap: var(--space-4);
}

.phase-stats .stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
}

.stat-value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--accent-ai);
}

.stat-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.phase-stats .stat.highlight .stat-value {
  color: var(--accent-success);
}

.phase-toggle {
  background: none;
  border: none;
  color: var(--accent-ai);
  cursor: pointer;
  padding: var(--space-2);
  transition: transform var(--transition-base);
}

.phase-toggle svg {
  width: 24px;
  height: 24px;
}

.phase-content {
  overflow: hidden;
  transition: height var(--transition-base);
}

.automation-breakdown {
  padding: var(--space-8);
  background: rgba(0, 0, 0, 0.4);
  border-left: 3px solid var(--accent-ai);
  margin-top: var(--space-4);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.automation-breakdown h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-6);
  color: hsl(43, 80%, 70%);
  font-weight: 700;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.step-item {
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.step-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(4px);
}

.step-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-2);
}

.step-num {
  font-family: var(--font-code);
  font-size: var(--text-sm);
  font-weight: 600;
  color: hsl(43, 80%, 70%);
  background: rgba(200, 157, 92, 0.2);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
}

.step-name {
  flex: 1;
  font-weight: 600;
  color: var(--text-on-dark);
}

.step-badge {
  font-size: var(--text-xs);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.step-badge.ai {
  background: rgba(200, 157, 92, 0.25);
  color: hsl(43, 80%, 70%);
  border: 1px solid rgba(200, 157, 92, 0.4);
}

.step-badge.ai-full {
  background: rgba(0, 255, 136, 0.25);
  color: hsl(142, 76%, 60%);
  border: 1px solid rgba(0, 255, 136, 0.4);
}

.step-badge.human {
  background: rgba(255, 107, 157, 0.25);
  color: hsl(340, 76%, 60%);
  border: 1px solid rgba(255, 107, 157, 0.4);
}

.step-ai-details {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.ai-capability {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  background: rgba(200, 157, 92, 0.15);
  border: 1px solid rgba(200, 157, 92, 0.3);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--text-on-dark);
}

.ai-capability svg {
  width: 16px;
  height: 16px;
  color: hsl(43, 80%, 70%);
}

.phase-demo-cta {
  margin-top: var(--space-6);
  text-align: center;
}

.btn-phase-demo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  background: var(--gradient-neural);
  color: white;
  font-family: var(--font-display);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-neural);
}

.btn-phase-demo:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 50px rgba(102, 126, 234, 0.4);
}

/* ============================================
   11. ROI CALCULATOR
   ============================================ */

.roi-calculator-section {
  background: var(--bg-secondary);
  position: relative;
  color: var(--text-primary);
}

.calculator-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.calculator-inputs {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.input-group {
  margin-bottom: var(--space-6);
}

.input-group label {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.input-group input[type="range"] {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  outline: none;
  -webkit-appearance: none;
}

.input-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  background: var(--gradient-ai);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-ai);
  transition: all var(--transition-fast);
}

.input-group input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.input-group input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: var(--gradient-ai);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-ai);
  border: none;
  transition: all var(--transition-fast);
}

.input-group input[type="range"]::-moz-range-thumb:hover {
  transform: scale(1.2);
}

.input-value {
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--accent-ai);
  margin-top: var(--space-2);
}

.calculator-results {
  position: sticky;
  top: 100px;
}

.results-comparison {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  margin-bottom: var(--space-6);
}

.result-column {
  margin-bottom: var(--space-6);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.result-column h4 {
  font-size: var(--text-xl);
  font-weight: 800;
  margin-bottom: var(--space-4);
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: var(--text-sm);
}

.result-column.highlight {
  background: linear-gradient(135deg, rgba(200, 157, 92, 0.08) 0%, rgba(200, 157, 92, 0.03) 100%);
  border: 2px solid rgba(200, 157, 92, 0.2);
}

.result-column.highlight h4 {
  color: var(--accent-ai);
  font-size: var(--text-base);
}

.result-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.result-metric:last-child {
  border-bottom: none;
}

.metric-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
}

.result-metric .metric-value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--text-primary);
}

.result-metric .metric-delta {
  display: inline-block;
  margin-left: var(--space-2);
  padding: var(--space-1) var(--space-2);
  background: rgba(0, 255, 136, 0.2);
  color: hsl(142, 76%, 35%);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 700;
}

.delta.positive {
  background: rgba(0, 255, 136, 0.2);
  color: hsl(142, 76%, 35%);
  font-weight: 700;
}

.delta.negative {
  background: rgba(239, 68, 68, 0.2);
  color: hsl(0, 72%, 45%);
  font-weight: 700;
}

.roi-summary {
  background: var(--gradient-neural);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  box-shadow: var(--shadow-neural);
}

.roi-highlight {
  margin-bottom: var(--space-4);
}

.roi-label {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-white);
  margin-bottom: var(--space-2);
  font-weight: 600;
}

.roi-value {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
  margin-bottom: var(--space-2);
  transition: transform var(--transition-base);
}

.roi-multiplier {
  font-size: var(--text-xl);
  color: var(--text-white);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.roi-percentage {
  font-size: var(--text-2xl);
  color: var(--text-white);
  font-weight: 700;
}

.roi-detail {
  display: flex;
  justify-content: space-around;
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  font-size: var(--text-sm);
  color: var(--text-white);
}

.roi-pulse {
  animation: roiPulse 0.6s ease;
}

.pulse-value {
  animation: roiPulse 0.6s ease;
}

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

.calculator-cta {
  text-align: center;
  margin-top: var(--space-8);
}

.btn-get-custom-analysis {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  background: var(--gradient-ai);
  color: white;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-ai);
  text-decoration: none;
}

.btn-get-custom-analysis:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 50px rgba(200, 157, 92, 0.4);
}

/* ============================================
   12. TECHNOLOGY SHOWCASE
   ============================================ */

.technology-showcase-section {
  background: var(--bg-primary);
  position: relative;
  color: var(--text-primary);
}

.showcase-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Technology Tabs */
.tech-tabs {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  overflow-x: auto;
  padding-bottom: var(--space-3);
}

.tech-tab {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.tech-tab:hover {
  color: var(--text-primary);
  border-bottom-color: rgba(200, 157, 92, 0.3);
}

.tech-tab.active {
  color: var(--accent-ai);
  border-bottom-color: var(--accent-ai);
}

.tech-tab svg, .tech-tab i {
  width: 20px;
  height: 20px;
}

/* Tech Content Panels */
.tech-content-panels {
  position: relative;
}

.tech-panel {
  display: none;
}

.tech-panel.active {
  display: block;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

/* Console Styles */
.demo-console {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.console-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4);
  background: rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.console-title {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-on-dark);
  font-size: var(--text-sm);
}

.console-title svg, .console-title i {
  width: 16px;
  height: 16px;
  color: var(--accent-ai);
}

.console-status {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--text-on-dark);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-success);
}

.status-dot.pulsing {
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.console-output {
  padding: var(--space-6);
  background: rgba(0, 0, 0, 0.7);
  font-family: var(--font-code);
  font-size: var(--text-sm);
  line-height: 1.8;
  min-height: 280px;
  max-height: 400px;
  overflow-y: auto;
}

.console-line {
  margin-bottom: var(--space-2);
  color: var(--text-console);
}

.console-line .timestamp {
  color: hsl(215, 15%, 60%);
}

.console-line .agent-label {
  color: hsl(43, 80%, 70%);
  font-weight: 600;
}

.console-line .text {
  color: var(--text-console);
}

.console-line.success .text {
  color: var(--accent-success);
}

.console-line.warning .text {
  color: var(--accent-warning);
}

.console-line.highlight {
  padding: var(--space-2);
  background: rgba(200, 157, 92, 0.05);
  border-left: 3px solid var(--accent-ai);
  border-radius: var(--radius-sm);
}

.console-line .highlight {
  color: var(--accent-ai);
  font-weight: 700;
}

/* Code Block Styles */
.demo-code {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4);
  background: rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--text-on-dark);
}

.code-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  background: rgba(200, 157, 92, 0.1);
  border: 1px solid rgba(200, 157, 92, 0.3);
  border-radius: var(--radius-md);
  color: var(--accent-ai);
  font-size: var(--text-xs);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.code-copy-btn:hover {
  background: rgba(200, 157, 92, 0.2);
}

.code-copy-btn svg, .code-copy-btn i {
  width: 14px;
  height: 14px;
}

.demo-code pre {
  margin: 0;
  padding: var(--space-6);
  background: rgba(0, 0, 0, 0.7);
  overflow-x: auto;
}

.demo-code code {
  font-family: var(--font-code);
  font-size: var(--text-sm);
  line-height: 1.8;
  color: var(--text-console);
  white-space: pre;
}

/* Tech Stats */
.tech-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.stat-item:hover {
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.stat-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--gradient-ai);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.stat-icon svg, .stat-icon i {
  width: 24px;
  height: 24px;
}

.stat-content {
  flex: 1;
}

.stat-item .stat-value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--accent-ai);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.stat-item .stat-label {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   13. RESPONSIVE DESIGN
   ============================================ */

/* Tablet Landscape (max-width: 1024px) */
@media (max-width: 1024px) {
  .calculator-container {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .calculator-results {
    position: static;
  }

  .demo-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

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

  .phase-header {
    gap: var(--space-4);
  }

  .phase-stats {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  /* Container */
  .container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  /* Sections */
  .section {
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
  }

  /* Hero */
  .hero-content {
    padding: var(--space-8) 0;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  /* AI Orchestration Canvas */
  .ai-orchestration-canvas {
    height: 400px;
  }

  .agent-node {
    transform: translate(-50%, -50%) scale(0.7);
  }

  .agent-node:hover {
    transform: translate(-50%, -50%) scale(0.75);
  }

  .node-status {
    font-size: 10px;
    padding: var(--space-1) var(--space-2);
  }

  .knowledge-graph-node {
    transform: translate(-50%, -50%) scale(0.8);
  }

  .graph-stats {
    flex-direction: column;
    gap: var(--space-1);
  }

  /* Comparison Table */
  .comparison-table {
    font-size: var(--text-sm);
    display: block;
    overflow-x: auto;
  }

  .comparison-table thead,
  .comparison-table tbody,
  .comparison-table tr {
    display: block;
  }

  .comparison-table th,
  .comparison-table td {
    padding: var(--space-2) var(--space-3);
  }

  /* Phases Timeline */
  .phases-timeline::before {
    left: 15px;
  }

  .phase-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-4);
  }

  .phase-header:hover {
    transform: translateX(0);
  }

  .phase-stats {
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
  }

  .phase-toggle {
    align-self: flex-end;
  }

  .automation-breakdown {
    padding: var(--space-4);
  }

  /* ROI Calculator */
  .calculator-container {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .calculator-results {
    position: static;
  }

  .input-value {
    font-size: var(--text-xl);
  }

  .roi-value {
    font-size: var(--text-5xl);
  }

  /* Technology Showcase */
  .tech-tabs {
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .tech-tab {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
  }

  .demo-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .console-output {
    font-size: 11px;
    min-height: 200px;
    max-height: 300px;
    padding: var(--space-4);
  }

  .demo-code code {
    font-size: 11px;
  }

  .demo-code pre {
    padding: var(--space-4);
  }

  .tech-stats {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .stat-item {
    padding: var(--space-3);
  }

  .stat-icon {
    width: 40px;
    height: 40px;
  }

  .stat-icon svg, .stat-icon i {
    width: 20px;
    height: 20px;
  }

  /* Buttons */
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  /* Further reduce spacing */
  .section {
    padding-top: var(--space-8);
    padding-bottom: var(--space-8);
  }

  /* Hero */
  .hero-badge {
    font-size: 11px;
    padding: var(--space-1) var(--space-3);
  }

  .ai-orchestration-canvas {
    height: 300px;
  }

  .agent-node {
    transform: translate(-50%, -50%) scale(0.5);
  }

  .node-label {
    font-size: 10px;
  }

  .node-status {
    display: none; /* Hide status on very small screens */
  }

  /* Metrics */
  .metric-value {
    font-size: var(--text-4xl);
  }

  .metric-suffix {
    font-size: var(--text-2xl);
  }

  /* Phase Cards */
  .phase-number {
    width: 48px;
    height: 48px;
    font-size: var(--text-xl);
  }

  .phase-title {
    font-size: var(--text-xl);
  }

  .phase-subtitle {
    font-size: var(--text-sm);
  }

  .phase-stats .stat {
    padding: var(--space-1) var(--space-2);
  }

  /* ROI Calculator */
  .input-value {
    font-size: var(--text-lg);
  }

  .roi-value {
    font-size: var(--text-4xl);
  }

  .roi-percentage {
    font-size: var(--text-xl);
  }

  .roi-detail {
    flex-direction: column;
    gap: var(--space-2);
    text-align: center;
  }

  /* Technology Showcase */
  .console-output {
    font-size: 10px;
    padding: var(--space-3);
  }

  .demo-code code {
    font-size: 10px;
  }

  .stat-item .stat-value {
    font-size: var(--text-xl);
  }
}

/* Hide scrollbar for tech tabs on webkit browsers */
.tech-tabs::-webkit-scrollbar {
  height: 4px;
}

.tech-tabs::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.tech-tabs::-webkit-scrollbar-thumb {
  background: var(--accent-ai);
  border-radius: 2px;
}

/* Landscape Phone Optimization */
@media (max-width: 768px) and (orientation: landscape) {
  .ai-orchestration-canvas {
    height: 300px;
  }

  .aliff-hero {
    min-height: auto;
    padding: var(--space-8) 0;
  }
}

/* ============================================
   11. UTILITY CLASSES
   ============================================ */

.hidden {
  display: 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-width: 0;
}

.text-center {
  text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }

/* ============================================
   12. SEVEN PHASES INTERACTIVE CARDS
   ============================================ */

.seven-phases-section {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

/* Flow Connector SVG */
.phase-flow-connector {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.4;
  z-index: 0;
}

/* Phase Cards Grid */
.phase-cards-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-8);
  max-width: 1400px;
  margin: 0 auto;
}

/* Individual Phase Card */
.phase-card {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.6s ease forwards;
  transition: all var(--transition-base);
}

.phase-card[data-scroll-animate] {
  opacity: 0;
  transform: translateY(40px);
  animation-play-state: paused;
}

.phase-card[data-scroll-animate].animated {
  animation-play-state: running;
}

/* Staggered animation delays */
.phase-card:nth-child(1) { animation-delay: 0ms; }
.phase-card:nth-child(2) { animation-delay: 100ms; }
.phase-card:nth-child(3) { animation-delay: 200ms; }
.phase-card:nth-child(4) { animation-delay: 300ms; }
.phase-card:nth-child(5) { animation-delay: 400ms; }
.phase-card:nth-child(6) { animation-delay: 500ms; }
.phase-card:nth-child(7) { animation-delay: 600ms; }

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

/* Card Glow Effect */
.phase-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(200, 157, 92, 0.15), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
  border-radius: var(--radius-2xl);
}

.phase-card:hover .phase-card-glow {
  opacity: 1;
}

/* Card Content Container */
.phase-card-content {
  position: relative;
  padding: var(--space-8);
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(200, 157, 92, 0.2);
  border-radius: var(--radius-2xl);
  transition: all var(--transition-base);
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.phase-card:hover .phase-card-content {
  background: var(--bg-card-hover);
  border-color: rgba(200, 157, 92, 0.4);
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), 0 0 40px rgba(200, 157, 92, 0.2);
}

/* Phase Number Badge */
.phase-number-badge {
  position: absolute;
  top: -20px;
  right: var(--space-6);
  width: 60px;
  height: 60px;
  background: var(--gradient-ai);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-ai);
  transition: all var(--transition-base);
}

.phase-card:hover .phase-number-badge {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 10px 40px rgba(200, 157, 92, 0.5);
}

.phase-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: white;
}

/* Phase Icon */
.phase-icon {
  width: 80px;
  height: 80px;
  background: rgba(200, 157, 92, 0.1);
  border: 2px solid rgba(200, 157, 92, 0.3);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  transition: all var(--transition-base);
}

.phase-card:hover .phase-icon {
  background: rgba(200, 157, 92, 0.2);
  border-color: rgba(200, 157, 92, 0.5);
  transform: scale(1.05);
}

.phase-icon svg, .phase-icon i {
  width: 40px;
  height: 40px;
  color: var(--gold-dark);
}

/* Phase Title & Description */
.phase-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.phase-description {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
  line-height: 1.6;
}

/* Phase Activities */
.phase-activities {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  flex: 1;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  background: rgba(200, 157, 92, 0.05);
  border: 1px solid rgba(200, 157, 92, 0.1);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  font-size: var(--text-sm);
  color: var(--text-primary);
  font-weight: 500;
}

.phase-card:hover .activity-item {
  background: rgba(200, 157, 92, 0.1);
  border-color: rgba(200, 157, 92, 0.2);
  transform: translateX(4px);
}

.activity-item svg, .activity-item i {
  width: 18px;
  height: 18px;
  color: var(--gold-dark);
  flex-shrink: 0;
}

/* Phase Metrics */
.phase-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(200, 157, 92, 0.2);
  margin-bottom: var(--space-6);
}

.phase-metrics .metric {
  text-align: center;
}

.phase-metrics .metric-value {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--gold-dark);
  line-height: 1;
  margin-bottom: var(--space-1);
  display: block;
}

.phase-metrics .metric-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Phase Link */
.phase-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  background: var(--gradient-ai);
  color: white;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
  width: 100%;
}

.phase-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.phase-link svg, .phase-link i {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.phase-link:hover svg,
.phase-link:hover i {
  transform: translateX(4px);
}

/* CTA Buttons */
.phase-cta-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive Design for Phase Cards */
@media (max-width: 1024px) {
  .phase-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
  }
}

@media (max-width: 768px) {
  .phase-cards-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .phase-card-content {
    padding: var(--space-6);
  }

  .phase-number-badge {
    width: 50px;
    height: 50px;
    top: -15px;
    right: var(--space-4);
  }

  .phase-num {
    font-size: var(--text-xl);
  }

  .phase-icon {
    width: 60px;
    height: 60px;
  }

  .phase-icon svg, .phase-icon i {
    width: 30px;
    height: 30px;
  }

  .phase-title {
    font-size: var(--text-xl);
  }

  .phase-description {
    font-size: var(--text-sm);
  }

  .phase-metrics .metric-value {
    font-size: var(--text-2xl);
  }

  .activity-item {
    font-size: var(--text-xs);
    padding: var(--space-2);
  }
}

@media (max-width: 480px) {
  .phase-card-content {
    padding: var(--space-4);
  }

  .phase-number-badge {
    width: 40px;
    height: 40px;
    top: -12px;
    right: var(--space-3);
  }

  .phase-num {
    font-size: var(--text-lg);
  }

  .phase-metrics {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .phase-cta-buttons {
    flex-direction: column;
  }

  .phase-cta-buttons .btn {
    width: 100%;
  }
}
