/* ============================================
   CT AI Transformation Program - Main Styles
   EY Branded with AI Theme
   ============================================ */

/* CSS Variables - EY Brand Colors */
:root {
  --ey-yellow: #FFE600;
  --ey-yellow-dark: #E6CF00;
  --ey-black: #2E2E38;
  --ey-dark-gray: #1A1A24;
  --ey-gray: #747480;
  --ey-light-gray: #C4C4C4;
  --ey-white: #FFFFFF;
  --ey-bg: #F5F5F5;
  --ey-surface: #FFFFFF;
  
  --gradient-primary: linear-gradient(135deg, #FFE600 0%, #FFC700 100%);
  --gradient-dark: linear-gradient(135deg, #2E2E38 0%, #1A1A24 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
  --shadow-glow: 0 0 40px rgba(255,230,0,0.3);
  
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'EYInterstate', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--ey-dark-gray);
  color: var(--ey-white);
  overflow-x: hidden;
  min-height: 100vh;
}

/* App Container */
.app-container {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ============================================
   AI Background Animation
   ============================================ */
.ai-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.neural-network {
  position: absolute;
  width: 100%;
  height: 100%;
}

.node {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--ey-yellow);
  border-radius: 50%;
  opacity: 0.6;
  animation: pulse-node 3s ease-in-out infinite;
}

.node-1 { top: 15%; left: 10%; animation-delay: 0s; }
.node-2 { top: 25%; left: 85%; animation-delay: 0.5s; }
.node-3 { top: 45%; left: 20%; animation-delay: 1s; }
.node-4 { top: 65%; left: 75%; animation-delay: 1.5s; }
.node-5 { top: 80%; left: 30%; animation-delay: 2s; }
.node-6 { top: 35%; left: 60%; animation-delay: 2.5s; }
.node-7 { top: 55%; left: 45%; animation-delay: 0.3s; }
.node-8 { top: 75%; left: 90%; animation-delay: 1.8s; }

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

.connection {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ey-yellow), transparent);
  opacity: 0.3;
  animation: flow-connection 4s linear infinite;
}

.connection-1 { top: 20%; left: 10%; width: 300px; transform: rotate(15deg); animation-delay: 0s; }
.connection-2 { top: 40%; left: 30%; width: 400px; transform: rotate(-10deg); animation-delay: 1s; }
.connection-3 { top: 60%; left: 20%; width: 350px; transform: rotate(25deg); animation-delay: 2s; }
.connection-4 { top: 30%; left: 50%; width: 280px; transform: rotate(-20deg); animation-delay: 0.5s; }
.connection-5 { top: 70%; left: 40%; width: 320px; transform: rotate(10deg); animation-delay: 1.5s; }
.connection-6 { top: 50%; left: 60%; width: 250px; transform: rotate(-5deg); animation-delay: 2.5s; }

@keyframes flow-connection {
  0% { opacity: 0.1; }
  50% { opacity: 0.4; }
  100% { opacity: 0.1; }
}

.floating-particles {
  position: absolute;
  width: 100%;
  height: 100%;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--ey-yellow);
  border-radius: 50%;
  opacity: 0.3;
  animation: float-particle 15s linear infinite;
}

.particle-1 { left: 5%; animation-delay: 0s; }
.particle-2 { left: 15%; animation-delay: 2s; }
.particle-3 { left: 25%; animation-delay: 4s; }
.particle-4 { left: 35%; animation-delay: 6s; }
.particle-5 { left: 45%; animation-delay: 8s; }
.particle-6 { left: 55%; animation-delay: 1s; }
.particle-7 { left: 65%; animation-delay: 3s; }
.particle-8 { left: 75%; animation-delay: 5s; }
.particle-9 { left: 85%; animation-delay: 7s; }
.particle-10 { left: 95%; animation-delay: 9s; }

@keyframes float-particle {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.5; }
  90% { opacity: 0.5; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

.gradient-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 30% 20%, rgba(255,230,0,0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(255,230,0,0.05) 0%, transparent 50%),
              linear-gradient(180deg, rgba(26,26,36,0.9) 0%, rgba(46,46,56,0.95) 100%);
}

/* ============================================
   Glass Effect
   ============================================ */
.glass-effect {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ============================================
   Main Content
   ============================================ */
.main-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ============================================
   Header
   ============================================ */
.top-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: slideDown 0.5s ease;
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo {
  background-color: var(--ey-dark-gray);
  display: flex;
  height: 44px;
  width: 44px;
  border-radius: var(--radius-sm);
  transition: transform var(--transition-medium);
}

.header-logo:hover {
  transform: scale(1.05);
}

.header-logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 6px;
}

.app-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--ey-white);
  letter-spacing: 0.5px;
}

.header-nav {
  display: flex;
  gap: 32px;
}

.nav-link {
  color: var(--ey-light-gray);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-medium);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--ey-white);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--ey-yellow);
  border-radius: 1px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition-medium);
}

.user-avatar:hover {
  transform: scale(1.05);
}

.pulse-border {
  position: relative;
}

.pulse-border::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border-radius: 50%;
  border: 2px solid var(--ey-yellow);
  animation: pulse-border 2s ease-in-out infinite;
}

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

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 48px 100px;
  min-height: 70vh;
  gap: 60px;
}

.hero-content {
  flex: 1;
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 230, 0, 0.15);
  border: 1px solid rgba(255, 230, 0, 0.3);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  color: var(--ey-yellow);
  margin-bottom: 24px;
  animation: glow-badge 3s ease-in-out infinite;
}

@keyframes glow-badge {
  0%, 100% { box-shadow: 0 0 20px rgba(255,230,0,0.1); }
  50% { box-shadow: 0 0 30px rgba(255,230,0,0.2); }
}

.badge-icon {
  font-size: 16px;
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--ey-white);
}

.hero-title .highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ey-light-gray);
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 24px 32px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--ey-yellow);
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--ey-light-gray);
  margin-top: 8px;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
}

/* Hero Visual - 3D Cube */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.ai-cube {
  width: 200px;
  height: 200px;
  position: relative;
  transform-style: preserve-3d;
  animation: rotate-cube 20s linear infinite;
}

@keyframes rotate-cube {
  from { transform: rotateX(0deg) rotateY(0deg); }
  to { transform: rotateX(360deg) rotateY(360deg); }
}

.cube-face {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 2px solid var(--ey-yellow);
  background: rgba(255, 230, 0, 0.05);
  backdrop-filter: blur(5px);
}

.cube-face.front { transform: translateZ(100px); }
.cube-face.back { transform: rotateY(180deg) translateZ(100px); }
.cube-face.right { transform: rotateY(90deg) translateZ(100px); }
.cube-face.left { transform: rotateY(-90deg) translateZ(100px); }
.cube-face.top { transform: rotateX(90deg) translateZ(100px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(100px); }

/* ============================================
   Page Section (Inner Pages)
   ============================================ */
.page-section {
  padding: 40px 48px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  font-size: 14px;
}

.breadcrumb a {
  color: var(--ey-light-gray);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--ey-yellow);
}

.breadcrumb-separator {
  color: var(--ey-gray);
}

.breadcrumb-current {
  color: var(--ey-white);
}

/* Page Header */
.page-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 60px;
}

.page-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 230, 0, 0.15);
  border: 2px solid var(--ey-yellow);
  border-radius: var(--radius-lg);
  color: var(--ey-yellow);
}

.page-icon svg {
  width: 40px;
  height: 40px;
}

.page-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--ey-white);
  margin-bottom: 8px;
}

.page-subtitle {
  font-size: 18px;
  color: var(--ey-light-gray);
}

/* Objectives Grid */
.objectives-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 60px;
}

.objective-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px;
  border-radius: var(--radius-lg);
  transition: all var(--transition-medium);
}

.objective-card:hover {
  transform: translateX(8px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 230, 0, 0.3);
}

.objective-card:hover .objective-number {
  background: var(--ey-yellow);
  color: var(--ey-dark-gray);
}

.objective-card:hover .objective-icon {
  color: var(--ey-yellow);
}

.objective-number {
  width: 56px;
  height: 56px;
  min-width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 230, 0, 0.15);
  border: 2px solid var(--ey-yellow);
  border-radius: 50%;
  font-size: 24px;
  font-weight: 700;
  color: var(--ey-yellow);
  transition: all var(--transition-medium);
}

.objective-content {
  flex: 1;
}

.objective-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--ey-white);
  margin-bottom: 8px;
}

.objective-description {
  font-size: 15px;
  color: var(--ey-light-gray);
  line-height: 1.6;
}

.objective-icon {
  color: var(--ey-gray);
  transition: all var(--transition-medium);
}

.objective-icon svg {
  width: 36px;
  height: 36px;
}

/* Back Link */
.back-link {
  text-align: center;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--ey-light-gray);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all var(--transition-medium);
}

.btn-back:hover {
  background: rgba(255, 230, 0, 0.15);
  border-color: var(--ey-yellow);
  color: var(--ey-yellow);
}

.btn-back svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   Products Table
   ============================================ */
.table-container {
  padding: 24px;
  border-radius: var(--radius-lg);
  margin-bottom: 60px;
  overflow-x: auto;
}

.products-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.products-table th,
.products-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.products-table th {
  font-weight: 600;
  color: var(--ey-yellow);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(255, 230, 0, 0.05);
}

.products-table th:first-child {
  border-radius: var(--radius-sm) 0 0 0;
}

.products-table th:last-child {
  border-radius: 0 var(--radius-sm) 0 0;
}

.products-table tbody tr {
  transition: all var(--transition-fast);
}

.products-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
}

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

.products-table td {
  color: var(--ey-light-gray);
}

.products-table td[rowspan] {
  vertical-align: middle;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.sl-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.sl-badge.assurance {
  background: rgba(76, 175, 80, 0.15);
  color: #81c784;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.sl-badge.consulting {
  background: rgba(33, 150, 243, 0.15);
  color: #64b5f6;
  border: 1px solid rgba(33, 150, 243, 0.3);
}

.sl-badge.parthenon {
  background: rgba(156, 39, 176, 0.15);
  color: #ba68c8;
  border: 1px solid rgba(156, 39, 176, 0.3);
}

.sl-badge.fabric {
  background: rgba(255, 152, 0, 0.15);
  color: #ffb74d;
  border: 1px solid rgba(255, 152, 0, 0.3);
}

.sl-badge.tax {
  background: rgba(244, 67, 54, 0.15);
  color: #e57373;
  border: 1px solid rgba(244, 67, 54, 0.3);
}

/* ============================================
   Dashboard Grid
   ============================================ */
.dashboard-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 60px;
}

.dashboard-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all var(--transition-medium);
}

.dashboard-card:hover {
  transform: translateX(8px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 230, 0, 0.3);
}

.dashboard-card:hover .dashboard-icon {
  background: var(--ey-yellow);
  color: var(--ey-dark-gray);
}

.dashboard-card:hover .dashboard-arrow {
  color: var(--ey-yellow);
  transform: translateX(4px);
}

.dashboard-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 230, 0, 0.15);
  border-radius: var(--radius-md);
  color: var(--ey-yellow);
  transition: all var(--transition-medium);
}

.dashboard-icon svg {
  width: 26px;
  height: 26px;
}

.dashboard-content {
  flex: 1;
}

.dashboard-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--ey-white);
}

.dashboard-date {
  font-size: 13px;
  color: var(--ey-gray);
  margin-top: 4px;
  display: block;
}

.dashboard-arrow {
  color: var(--ey-gray);
  transition: all var(--transition-medium);
}

.dashboard-arrow svg {
  width: 22px;
  height: 22px;
}

/* ============================================
   Org Chart
   ============================================ */
.org-chart {
  margin-bottom: 60px;
}

.org-leader {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}

.org-connector {
  width: 2px;
  height: 40px;
  background: var(--ey-yellow);
  position: relative;
}

.org-connector::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 900px;
  min-width: 300px;
  height: 2px;
  background: var(--ey-yellow);
}

.leader-card {
  background: rgba(255, 230, 0, 0.1) !important;
  border-color: var(--ey-yellow) !important;
}

.org-team {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.org-card {
  padding: 20px 16px;
  border-radius: var(--radius-md);
  text-align: center;
  flex: 1;
  max-width: 200px;
  transition: all var(--transition-medium);
}

.org-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 230, 0, 0.3);
}

.org-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--ey-white);
  margin-bottom: 8px;
  line-height: 1.4;
}

.org-role {
  font-size: 13px;
  color: var(--ey-yellow);
  font-weight: 500;
}

.org-section {
  margin-top: 60px;
  margin-bottom: 60px;
}

.org-section-title {
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  color: var(--ey-white);
  margin-bottom: 32px;
}

.org-section-small .org-section-title {
  font-size: 18px;
  margin-bottom: 24px;
}

.org-section-small .org-card {
  padding: 16px 12px;
}

.org-section-small .org-name {
  font-size: 14px;
}

.org-section-small .org-role {
  font-size: 11px;
}

.org-link {
  color: var(--ey-white);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.org-link:hover {
  color: var(--ey-yellow);
}

/* ============================================
   Phases Section
   ============================================ */
.phases-section {
  padding: 80px 48px 100px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.2) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  color: var(--ey-white);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--ey-light-gray);
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-medium);
  cursor: pointer;
}

.nav-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 230, 0, 0.3);
}

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

.nav-card:hover .card-arrow {
  transform: translateX(4px);
  color: var(--ey-yellow);
}

.nav-card:hover .card-icon {
  background: var(--ey-yellow);
  color: var(--ey-dark-gray);
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(255,230,0,0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-medium);
  pointer-events: none;
}

.card-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 230, 0, 0.15);
  border-radius: var(--radius-md);
  color: var(--ey-yellow);
  transition: all var(--transition-medium);
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.card-content {
  flex: 1;
}

.card-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--ey-white);
  margin-bottom: 8px;
}

.card-description {
  font-size: 14px;
  color: var(--ey-light-gray);
  line-height: 1.6;
}

.card-arrow {
  color: var(--ey-light-gray);
  transition: all var(--transition-medium);
}

.card-arrow svg {
  width: 24px;
  height: 24px;
}

/* ============================================
   Animations
   ============================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

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

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.stagger-1, .stagger-2, .stagger-3, .stagger-4, .stagger-5 {
  opacity: 0;
  transform: translateY(20px);
}

.stagger-1.visible { animation: stagger-fade 0.6s ease forwards; animation-delay: 0.1s; }
.stagger-2.visible { animation: stagger-fade 0.6s ease forwards; animation-delay: 0.2s; }
.stagger-3.visible { animation: stagger-fade 0.6s ease forwards; animation-delay: 0.3s; }
.stagger-4.visible { animation: stagger-fade 0.6s ease forwards; animation-delay: 0.4s; }
.stagger-5.visible { animation: stagger-fade 0.6s ease forwards; animation-delay: 0.5s; }

@keyframes stagger-fade {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   Footer
   ============================================ */
footer {
  padding: 24px 48px;
  margin-top: auto;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo img {
  width: 70px;
  height: auto;
  opacity: 0.8;
  transition: opacity var(--transition-medium);
}

.footer-logo img:hover {
  opacity: 1;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-link {
  color: var(--ey-light-gray);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--ey-white);
}

.footer-divider {
  color: var(--ey-gray);
}

.footer-text {
  text-align: right;
}

.footer-text p {
  font-size: 13px;
  color: var(--ey-light-gray);
}

.footer-confidential {
  font-size: 12px;
  color: var(--ey-gray);
  margin-top: 4px;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1200px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
    padding: 60px 24px 80px;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-title {
    font-size: 42px;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-visual {
    margin-top: 40px;
  }
  
  .ai-cube {
    width: 150px;
    height: 150px;
  }
  
  .cube-face {
    width: 150px;
    height: 150px;
  }
  
  .cube-face.front { transform: translateZ(75px); }
  .cube-face.back { transform: rotateY(180deg) translateZ(75px); }
  .cube-face.right { transform: rotateY(90deg) translateZ(75px); }
  .cube-face.left { transform: rotateY(-90deg) translateZ(75px); }
  .cube-face.top { transform: rotateX(90deg) translateZ(75px); }
  .cube-face.bottom { transform: rotateX(-90deg) translateZ(75px); }
}

@media (max-width: 768px) {
  .top-header {
    padding: 16px 24px;
  }
  
  .header-nav {
    display: none;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }
  
  .stat-divider {
    width: 50px;
    height: 1px;
  }
  
  .phases-section {
    padding: 60px 24px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .nav-card {
    padding: 24px;
  }
  
  .card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
  }
  
  .card-icon svg {
    width: 24px;
    height: 24px;
  }
  
  .card-title {
    font-size: 18px;
  }
  
  footer {
    padding: 24px;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-text {
    text-align: center;
  }
  
  /* Page Section responsive */
  .page-section {
    padding: 24px 24px 60px;
  }
  
  .page-header {
    flex-direction: column;
    text-align: center;
  }
  
  .page-title {
    font-size: 28px;
  }
  
  .objective-card {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
  
  .objective-card:hover {
    transform: translateY(-4px);
  }
  
  .objective-icon {
    order: -1;
  }
  
  /* Table responsive */
  .table-container {
    padding: 16px;
  }
  
  .products-table {
    font-size: 13px;
  }
  
  .products-table th,
  .products-table td {
    padding: 10px 12px;
  }
  
  .products-table th:nth-child(2),
  .products-table td:nth-child(2) {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-badge {
    font-size: 12px;
    padding: 6px 12px;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .stat-number {
    font-size: 28px;
  }
  
  .app-title {
    font-size: 16px;
  }
  
  }
