/* CSS Variables */
:root {
  /* Colors */
  --primary-color: #667eea;
  --primary-dark: #5a6fd8;
  --secondary-color: #764ba2;
  --accent-color: #f093fb;
  --text-dark: #2d3748;
  --text-light: #718096;
  --text-muted: #a0aec0;
  --bg-light: #f7fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Typography */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-base: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
  
  /* Container */
  --container-max-width: 1200px;
  --container-padding: var(--space-sm);
}

@media (min-width: 768px) {
  :root {
    --container-padding: var(--space-lg);
  }
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Section Styles */
.section {
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3), transparent);
  transition: left 0.8s ease;
}

.section:hover::before {
  left: 100%;
}

.bg-light {
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  position: relative;
}

.bg-light::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(118, 75, 162, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  position: relative;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.6s ease;
}

.section-header:hover::after {
  width: 80px;
}

.section-title {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-md);
  line-height: 1.2;
  position: relative;
  display: inline-block;
  transition: all var(--transition-base);
}

.section-title::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
  border-radius: var(--radius-md);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: -1;
}

.section-title:hover::before {
  opacity: 1;
}

.section-title:hover {
  transform: translateY(-2px);
  text-shadow: 0 4px 8px rgba(102, 126, 234, 0.2);
}

.section-subtitle {
  font-size: var(--font-size-xl);
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  transition: color var(--transition-base);
}

.section-subtitle:hover {
  color: var(--text-dark);
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-lg);
  border: none;
  border-radius: var(--radius-lg);
  font-size: var(--font-size-base);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 
    var(--shadow-lg),
    0 0 0 0 rgba(102, 126, 234, 0.4);
  position: relative;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask-composite: xor;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 15px 35px rgba(102, 126, 234, 0.4),
    0 5px 15px rgba(0, 0, 0, 0.1);
  animation: buttonPulse 2s infinite;
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(-1px);
  transition-duration: 0.1s;
}

.btn-large {
  padding: var(--space-md) var(--space-xl);
  font-size: var(--font-size-lg);
  border-radius: var(--radius-xl);
  min-width: 200px;
}

.btn-full {
  width: 100%;
}

@keyframes buttonPulse {
  0%, 100% {
    box-shadow: 
      0 15px 35px rgba(102, 126, 234, 0.4),
      0 5px 15px rgba(0, 0, 0, 0.1);
  }
  50% {
    box-shadow: 
      0 20px 40px rgba(102, 126, 234, 0.6),
      0 8px 25px rgba(0, 0, 0, 0.15);
  }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(102, 126, 234, 0.1);
  z-index: 1000;
  transition: all var(--transition-base);
  box-shadow: 0 2px 20px rgba(102, 126, 234, 0.05);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(25px);
  box-shadow: 0 2px 30px rgba(102, 126, 234, 0.15);
  border-bottom-color: rgba(102, 126, 234, 0.2);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  transition: padding var(--transition-base);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  transition: all var(--transition-base);
}

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

.logo svg {
  color: var(--primary-color);
  transition: all var(--transition-base);
}

.logo:hover svg {
  transform: rotate(5deg);
  filter: drop-shadow(0 2px 8px rgba(102, 126, 234, 0.3));
}

.nav-menu {
  display: flex;
  gap: var(--space-lg);
}

.nav-link {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-base);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: all var(--transition-base);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  color: white;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  z-index: 2;
  position: relative;
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-size: var(--font-size-5xl);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  line-height: 1.6;
  margin-bottom: var(--space-xl);
  opacity: 0.9;
}

.hero-visual {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: heroGlow 4s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.5;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.8;
  }
}

.tech-grid {
  position: absolute;
  inset: 0;
  opacity: 0.1;
}

.tech-line {
  position: absolute;
  background: white;
  border-radius: 2px;
  animation: float 6s ease-in-out infinite;
}

.tech-line:nth-child(1) {
  width: 200px;
  height: 2px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.tech-line:nth-child(2) {
  width: 150px;
  height: 2px;
  top: 50%;
  right: 20%;
  animation-delay: 2s;
}

.tech-line:nth-child(3) {
  width: 180px;
  height: 2px;
  bottom: 30%;
  left: 20%;
  animation-delay: 4s;
}

.floating-element {
  position: absolute;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  opacity: 0.2;
  animation: float-element 8s ease-in-out infinite;
}

.floating-element:nth-child(4) {
  top: 10%;
  left: 30%;
  animation-delay: 1s;
}

.floating-element:nth-child(5) {
  top: 60%;
  right: 10%;
  animation-delay: 3s;
}

.floating-element:nth-child(6) {
  bottom: 20%;
  left: 50%;
  animation-delay: 5s;
}

.phone-mockup {
  width: 300px;
  height: 600px;
  background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 100%);
  border-radius: 3rem;
  padding: 0.5rem;
  position: relative;
  box-shadow: 
    0 0 0 2px #2a2a2a,
    0 0 0 4px #1a1a1a,
    0 30px 60px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: perspective(1200px) rotateY(-8deg) rotateX(2deg);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.phone-mockup:hover {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg) scale(1.03);
  box-shadow: 
    0 0 0 2px #3a3a3a,
    0 0 0 4px #2a2a2a,
    0 40px 80px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.phone-particles {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  pointer-events: none;
  z-index: -1;
}

.phone-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(102, 126, 234, 0.4);
  box-shadow: 0 0 8px rgba(102, 126, 234, 0.3);
  opacity: 0;
  transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.phone-particle.small {
  width: 4px;
  height: 4px;
}

.phone-particle.medium {
  width: 7px;
  height: 7px;
}

.phone-particle.large {
  width: 10px;
  height: 10px;
}

.phone-particle:nth-child(1) {
  top: 8%;
  left: -12px;
  animation: phoneParticleFloat1 4s ease-in-out infinite;
}

.phone-particle:nth-child(2) {
  top: 25%;
  right: -8px;
  animation: phoneParticleFloat2 5s ease-in-out infinite;
  animation-delay: 0.8s;
}

.phone-particle:nth-child(3) {
  top: 45%;
  left: -15px;
  animation: phoneParticleFloat3 3.5s ease-in-out infinite;
  animation-delay: 1.5s;
}

.phone-particle:nth-child(4) {
  bottom: 35%;
  right: -12px;
  animation: phoneParticleFloat1 4.2s ease-in-out infinite;
  animation-delay: 0.3s;
}

.phone-particle:nth-child(5) {
  bottom: 15%;
  left: -8px;
  animation: phoneParticleFloat2 3.8s ease-in-out infinite;
  animation-delay: 2s;
}

.phone-particle:nth-child(6) {
  top: 65%;
  right: -18px;
  animation: phoneParticleFloat3 4.8s ease-in-out infinite;
  animation-delay: 1.2s;
}

.phone-particle:nth-child(7) {
  top: 15%;
  left: -5px;
  animation: phoneParticleFloat1 3.2s ease-in-out infinite;
  animation-delay: 2.5s;
}

.phone-particle:nth-child(8) {
  bottom: 55%;
  right: -6px;
  animation: phoneParticleFloat2 4.5s ease-in-out infinite;
  animation-delay: 0.7s;
}

.phone-particle:nth-child(9) {
  top: 5%;
  right: -20px;
  animation: phoneParticleFloat3 3.8s ease-in-out infinite;
  animation-delay: 1.8s;
}

.phone-particle:nth-child(10) {
  bottom: 8%;
  right: -10px;
  animation: phoneParticleFloat1 5.2s ease-in-out infinite;
  animation-delay: 2.3s;
}

.phone-particle:nth-child(11) {
  top: 55%;
  left: -20px;
  animation: phoneParticleFloat2 3.6s ease-in-out infinite;
  animation-delay: 0.9s;
}

.phone-particle:nth-child(12) {
  top: 35%;
  left: -8px;
  animation: phoneParticleFloat3 4.8s ease-in-out infinite;
  animation-delay: 1.6s;
}

.phone-particle:nth-child(13) {
  bottom: 25%;
  right: -25px;
  animation: phoneParticleFloat1 3.4s ease-in-out infinite;
  animation-delay: 2.8s;
}

.phone-particle:nth-child(14) {
  top: 75%;
  right: -12px;
  animation: phoneParticleFloat2 4.6s ease-in-out infinite;
  animation-delay: 0.4s;
}

.phone-particle:nth-child(15) {
  bottom: 65%;
  left: -16px;
  animation: phoneParticleFloat3 3.9s ease-in-out infinite;
  animation-delay: 2.1s;
}

.phone-particles.active .phone-particle {
  opacity: 1;
  background: rgba(240, 147, 251, 0.9);
  box-shadow: 0 0 20px rgba(240, 147, 251, 0.8), 0 0 40px rgba(102, 126, 234, 0.4);
  animation-duration: 1.8s;
}

.phone-particles.active .phone-particle.small {
  transform: scale(1.5);
}

.phone-particles.active .phone-particle.medium {
  transform: scale(1.8);
}

.phone-particles.active .phone-particle.large {
  transform: scale(2.2);
}

@keyframes phoneParticleFloat1 {
  0%, 100% {
    transform: translate(0, 0) scale(0.8);
  }
  25% {
    transform: translate(8px, -12px) scale(1.2);
  }
  50% {
    transform: translate(-6px, -20px) scale(1);
  }
  75% {
    transform: translate(10px, -8px) scale(1.1);
  }
}

@keyframes phoneParticleFloat2 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-10px, -15px) scale(1.3);
  }
  66% {
    transform: translate(6px, -25px) scale(0.9);
  }
}

@keyframes phoneParticleFloat3 {
  0%, 100% {
    transform: translate(0, 0) scale(0.9);
  }
  20% {
    transform: translate(4px, -8px) scale(1.2);
  }
  40% {
    transform: translate(-8px, -15px) scale(1);
  }
  60% {
    transform: translate(6px, -22px) scale(0.8);
  }
  80% {
    transform: translate(-4px, -10px) scale(1.1);
  }
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 35px;
  background: #000;
  border-radius: 25px;
  z-index: 10;
  box-shadow: 
    inset 0 2px 4px rgba(255, 255, 255, 0.1),
    0 2px 8px rgba(0, 0, 0, 0.3);
  animation: islandPulse 3s ease-in-out infinite;
}

.phone-mockup::after {
  content: '';
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background: linear-gradient(90deg, #333 0%, #555 50%, #333 100%);
  border-radius: 3px;
  z-index: 11;
}

@keyframes islandPulse {
  0%, 100% {
    box-shadow: 
      inset 0 2px 4px rgba(255, 255, 255, 0.1),
      0 2px 8px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow: 
      inset 0 2px 4px rgba(255, 255, 255, 0.15),
      0 4px 12px rgba(102, 126, 234, 0.2);
  }
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 2.5rem;
  padding: 0;
  color: var(--text-dark);
  position: relative;
  overflow: hidden;
}

.app-interface {
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.app-header {
  padding: 1rem 1.5rem;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 10;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.signal-bars {
  display: flex;
  gap: 2px;
  align-items: flex-end;
}

.signal-bars .bar {
  width: 3px;
  background: white;
  border-radius: 1px;
}

.signal-bars .bar:nth-child(1) { 
  height: 4px;
  animation: signalBounce 2s ease-in-out infinite;
  animation-delay: 0s;
}
.signal-bars .bar:nth-child(2) { 
  height: 6px;
  animation: signalBounce 2s ease-in-out infinite;
  animation-delay: 0.2s;
}
.signal-bars .bar:nth-child(3) { 
  height: 8px;
  animation: signalBounce 2s ease-in-out infinite;
  animation-delay: 0.4s;
}

@keyframes signalBounce {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.battery {
  font-size: 0.8rem;
}

.app-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  font-size: 1rem;
  font-weight: 700;
}

.back-arrow, .menu-dots {
  font-size: 1.2rem;
  opacity: 0.8;
}

.chat-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: rgba(255, 255, 255, 0.03);
}

.chat-container::-webkit-scrollbar {
  display: none;
}

.chat-input {
  padding: 1rem 1.25rem;
  background: rgba(0, 0, 0, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.input-field {
  flex: 1;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1.5rem;
  padding: 0.75rem 1rem;
  color: #333;
  font-size: 0.9rem;
  border: none;
}

.send-button {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
}

.chat-bubble {
  padding: 0.75rem 1rem;
  border-radius: 1.25rem;
  max-width: 85%;
  font-size: 0.875rem;
  line-height: 1.4;
  position: relative;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  animation: messageAppear 0.6s ease-out forwards;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.chat-bubble.ai {
  background: rgba(255, 255, 255, 0.95);
  color: #2a2a2a;
  align-self: flex-start;
  border-bottom-left-radius: 0.5rem;
  animation-delay: 1s;
}

.chat-bubble.ai::before {
  content: '🤖';
  position: absolute;
  left: -1.5rem;
  bottom: 0;
  font-size: 1rem;
}

.chat-bubble.user {
  background: rgba(0, 0, 0, 0.3);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 0.5rem;
  animation-delay: 3s;
}

.chat-bubble.trainer {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  align-self: flex-start;
  border-bottom-left-radius: 0.5rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  font-weight: 500;
}

.chat-bubble.trainer::before {
  content: '👨‍💼';
  position: absolute;
  left: -1.8rem;
  bottom: 0;
  font-size: 1.1rem;
}

.chat-bubble:nth-child(2) {
  animation-delay: 5s;
}

.chat-bubble:nth-child(3) {
  animation-delay: 7s;
}

.chat-bubble:nth-child(4) {
  animation-delay: 9s;
}

.chat-bubble:nth-child(5) {
  animation-delay: 11s;
}

.typing-indicator {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1.25rem;
  border-bottom-left-radius: 0.5rem;
  max-width: 85%;
  align-self: flex-start;
  opacity: 0;
  animation: messageAppear 0.6s ease-out 13s forwards;
}

.typing-dots {
  display: flex;
  gap: 0.25rem;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background: #667eea;
  border-radius: 50%;
  animation: typingAnimation 1.5s infinite;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

/* Workout and Meal Plan Cards */
.plan-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1rem;
  padding: 1rem;
  margin: 0.5rem 0;
  color: #2a2a2a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 85%;
  align-self: flex-start;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  animation: messageAppear 0.6s ease-out forwards;
}

.plan-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.plan-icon {
  font-size: 1.2rem;
}

.plan-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #2a2a2a;
}

.workout-exercise {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.workout-exercise:last-child {
  border-bottom: none;
}

.exercise-name {
  font-weight: 600;
  font-size: 0.85rem;
  color: #333;
}

.exercise-details {
  font-size: 0.75rem;
  color: #666;
  text-align: right;
}

.meal-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.meal-item:last-child {
  border-bottom: none;
}

.meal-name {
  font-weight: 600;
  font-size: 0.85rem;
  color: #333;
}

.meal-calories {
  font-size: 0.75rem;
  color: #667eea;
  font-weight: 600;
}

.plan-summary {
  background: rgba(102, 126, 234, 0.1);
  border-radius: 0.5rem;
  padding: 0.5rem;
  margin-top: 0.5rem;
  text-align: center;
}

.summary-text {
  font-size: 0.75rem;
  color: #667eea;
  font-weight: 600;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 20%, rgba(240, 147, 251, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 40%);
  z-index: 1;
  animation: gradientShift 8s ease-in-out infinite;
}

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

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.about-card {
  background: var(--bg-white);
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  box-shadow: 
    var(--shadow-lg),
    0 0 0 1px rgba(102, 126, 234, 0.1);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
  position: relative;
  overflow: visible;
  margin-top: 2rem;
}

.about-card:hover {
  box-shadow: 
    0 25px 50px rgba(102, 126, 234, 0.25),
    0 15px 30px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(102, 126, 234, 0.2);
}

.about-card h3 {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-md);
}

.about-card p {
  color: var(--text-light);
  line-height: 1.7;
}

.card-avatar {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border: 3px solid white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  z-index: 10;
  animation: cardAvatarFloat 3s ease-in-out infinite;
}

.card-avatar-problem {
  background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
  animation-delay: 0s;
}

.card-avatar-solution {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  animation-delay: 1.5s;
}

@keyframes cardAvatarFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  }
  50% {
    transform: translateY(-8px) rotate(5deg);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  }
}

/* AI Training Visual */
.ai-training-visual {
  margin-top: var(--space-3xl);
  padding: var(--space-3xl);
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.trainer-client-scene {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.scene-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: var(--space-xl);
}

.trainer-avatar, .client-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.avatar-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  animation: avatarFloat 4s ease-in-out infinite;
  cursor: pointer;
  transition: all 0.3s ease;
}

.avatar-circle:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.avatar-circle.trainer {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  animation-delay: 0s;
}

.avatar-circle.client {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  animation-delay: 2s;
}

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

.ai-connection {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  margin: 0 var(--space-xl);
}

.connection-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
  position: relative;
  animation: pulseGlow 2s ease-in-out infinite;
  transition: all 0.3s ease;
}

.ai-brain:hover ~ .connection-line,
.ai-brain:hover + .connection-line {
  width: 4px;
  background: linear-gradient(180deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  animation-duration: 1s;
}

.ai-brain {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-lg);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  border-radius: var(--radius-xl);
  color: white;
  box-shadow: 
    0 12px 40px rgba(102, 126, 234, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation: aiPulse 3s ease-in-out infinite;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ai-brain:hover {
  transform: scale(1.08);
  animation-duration: 1.2s;
  box-shadow: 
    0 25px 70px rgba(102, 126, 234, 0.7),
    0 0 0 4px rgba(255, 255, 255, 0.5),
    0 0 30px rgba(240, 147, 251, 0.4),
    inset 0 2px 0 rgba(255, 255, 255, 0.6);
}

.ai-brain:hover::before {
  animation-duration: 1.5s;
  background: conic-gradient(
    from 0deg, 
    transparent, 
    rgba(255, 255, 255, 0.4),
    transparent,
    rgba(240, 147, 251, 0.5),
    transparent,
    rgba(102, 126, 234, 0.4),
    transparent
  );
}

.ai-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%);
  animation: rippleExpand 1s ease-out;
  pointer-events: none;
}

@keyframes rippleExpand {
  0% {
    width: 0;
    height: 0;
    opacity: 0.8;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    width: 200px;
    height: 200px;
    opacity: 0;
  }
}

.ai-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
}

.particle:nth-child(1) {
  top: 20%;
  left: 15%;
  animation: particleFloat1 4s ease-in-out infinite;
}

.particle:nth-child(2) {
  top: 30%;
  right: 20%;
  animation: particleFloat2 5s ease-in-out infinite;
  animation-delay: 1s;
}

.particle:nth-child(3) {
  bottom: 25%;
  left: 25%;
  animation: particleFloat3 3.5s ease-in-out infinite;
  animation-delay: 2s;
}

.particle:nth-child(4) {
  bottom: 35%;
  right: 15%;
  animation: particleFloat1 4.5s ease-in-out infinite;
  animation-delay: 0.5s;
}

.particle:nth-child(5) {
  top: 45%;
  left: 10%;
  animation: particleFloat2 3s ease-in-out infinite;
  animation-delay: 1.5s;
}

.particle:nth-child(6) {
  top: 15%;
  right: 10%;
  animation: particleFloat3 5.5s ease-in-out infinite;
  animation-delay: 2.5s;
}

@keyframes particleFloat1 {
  0%, 100% {
    transform: translate(0, 0) scale(0.8);
    opacity: 0.6;
  }
  25% {
    transform: translate(10px, -15px) scale(1.2);
    opacity: 1;
  }
  50% {
    transform: translate(-8px, -25px) scale(0.9);
    opacity: 0.8;
  }
  75% {
    transform: translate(15px, -10px) scale(1.1);
    opacity: 0.9;
  }
}

@keyframes particleFloat2 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.7;
  }
  33% {
    transform: translate(-12px, -20px) scale(1.3);
    opacity: 1;
  }
  66% {
    transform: translate(8px, -30px) scale(0.8);
    opacity: 0.6;
  }
}

@keyframes particleFloat3 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg) scale(0.9);
    opacity: 0.8;
  }
  20% {
    transform: translate(5px, -10px) rotate(90deg) scale(1.2);
    opacity: 1;
  }
  40% {
    transform: translate(-10px, -18px) rotate(180deg) scale(1);
    opacity: 0.9;
  }
  60% {
    transform: translate(8px, -25px) rotate(270deg) scale(0.7);
    opacity: 0.7;
  }
  80% {
    transform: translate(-5px, -12px) rotate(360deg) scale(1.1);
    opacity: 0.8;
  }
}

.burst-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(240, 147, 251, 1);
  box-shadow: 0 0 12px rgba(240, 147, 251, 0.8);
  animation: burstExpand 1s ease-out forwards;
  pointer-events: none;
}

@keyframes burstExpand {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) translateX(40px) scale(1.5);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) translateX(80px) scale(0.5);
    opacity: 0;
  }
}

.ai-brain::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg, 
    transparent, 
    rgba(255, 255, 255, 0.2),
    transparent,
    rgba(240, 147, 251, 0.3),
    transparent,
    rgba(102, 126, 234, 0.2),
    transparent
  );
  animation: aiRotate 6s linear infinite;
}

.ai-brain::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  z-index: -1;
}

.ai-label {
  font-size: var(--font-size-sm);
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}

.collaboration-text {
  text-align: left;
}

.collaboration-text h3 {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-md);
}

.collaboration-text p {
  color: var(--text-light);
  line-height: 1.7;
}

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

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.7;
    box-shadow: 0 0 5px rgba(102, 126, 234, 0.3);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.6);
  }
}

@keyframes aiPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 
      0 12px 40px rgba(102, 126, 234, 0.4),
      0 0 0 1px rgba(255, 255, 255, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 
      0 16px 48px rgba(102, 126, 234, 0.5),
      0 0 0 2px rgba(255, 255, 255, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.4);
  }
}

@keyframes aiRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Team Section */
.team {
  padding: var(--space-4xl) 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.team-member {
  text-align: center;
  padding: var(--space-xl);
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
  position: relative;
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

.member-avatar {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto var(--space-lg);
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  overflow: hidden;
}

.avatar-decoration {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%) rotate(45deg);
  transition: transform 0.8s ease;
}

.team-member:hover .avatar-decoration {
  transform: translateX(100%) rotate(45deg);
}

.team-member h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-xs);
}

.role {
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: var(--space-md);
}

.bio {
  color: var(--text-light);
  line-height: 1.6;
  font-size: var(--font-size-sm);
}

.team-message {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
  padding: var(--space-3xl);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(102, 126, 234, 0.1);
  text-align: center;
}

.message-content h3 {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-md);
}

.message-content p {
  color: var(--text-light);
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .trainer-client-scene {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .scene-illustration {
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  .ai-connection {
    flex-direction: row;
    margin: 0;
  }
  
  .connection-line {
    width: 40px;
    height: 2px;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .team-message {
    padding: var(--space-xl);
  }
  
  .phone-mockup {
    margin-top: calc(var(--space-3xl) + var(--space-xl));
  }
  
  .hero-content {
    margin-top: var(--space-2xl);
  }
}

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

.stat-card {
  text-align: center;
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 8px 32px rgba(102, 126, 234, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg, transparent, rgba(102, 126, 234, 0.1), transparent);
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition-base);
  animation: rotate 4s linear infinite;
}

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

.stat-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 
    0 16px 48px rgba(102, 126, 234, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

.stat-number {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: var(--space-xs);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: var(--font-size-base);
  color: var(--text-light);
  font-weight: 500;
}

/* Showcase Section */
.showcase-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-3xl);
}

@media (max-width: 1024px) {
  .showcase-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .showcase-features {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: var(--space-sm);
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  aspect-ratio: auto;
  min-height: 180px;
  box-shadow: 
    var(--shadow-md),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.feature-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.feature-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--gradient-primary);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s ease;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease 0.2s;
}

.feature-card:hover::before {
  transform: scaleY(1);
}

.feature-card:hover::after {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-4px) translateX(4px);
  box-shadow: 
    0 12px 32px rgba(102, 126, 234, 0.15),
    -4px 0 16px rgba(102, 126, 234, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border-color: rgba(102, 126, 234, 0.2);
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: 
    0 4px 12px rgba(102, 126, 234, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.feature-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%) translateY(-100%) rotate(45deg);
  transition: transform 0.6s ease;
}

.feature-card:hover .feature-icon::before {
  transform: translateX(100%) translateY(100%) rotate(45deg);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 
    0 8px 24px rgba(102, 126, 234, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.feature-card h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-xs);
}

.feature-card p {
  color: var(--text-light);
  font-size: var(--font-size-sm);
  line-height: 1.6;
}

.tech-stack {
  margin-top: var(--space-3xl);
  text-align: center;
}

.tech-stack h3 {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-lg);
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

.tech-badge {
  padding: var(--space-xs) var(--space-md);
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: 500;
}

/* Solutions Section */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-xl);
}

.solution-card {
  background: var(--bg-white);
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  box-shadow: 
    var(--shadow-md),
    0 0 0 1px rgba(102, 126, 234, 0.08);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.solution-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), 
    rgba(102, 126, 234, 0.05) 0%, 
    transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.solution-card:hover::before {
  transform: scaleX(1);
}

.solution-card:hover::after {
  opacity: 1;
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 25px 50px rgba(102, 126, 234, 0.15),
    0 10px 20px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(102, 126, 234, 0.15);
  border-color: rgba(102, 126, 234, 0.2);
}

.solution-icon {
  margin-bottom: var(--space-lg);
}

.solution-card h3 {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-md);
}

.solution-card > p {
  color: var(--text-light);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.solution-features {
  list-style: none;
  margin-bottom: var(--space-lg);
}

.solution-features li {
  padding: var(--space-xs) 0;
  color: var(--text-light);
  position: relative;
  padding-left: var(--space-lg);
}

.solution-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.solution-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.solution-link:hover {
  color: var(--primary-dark);
}

/* Process Section */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
}

.process-step {
  text-align: center;
  position: relative;
  padding: var(--space-lg);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  cursor: pointer;
}

.process-step::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(102, 126, 234, 0.05);
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.process-step:hover::before {
  opacity: 1;
}

.process-step:hover {
  transform: translateY(-5px);
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin: 0 auto var(--space-lg);
  position: relative;
  z-index: 2;
  transition: all var(--transition-base);
  box-shadow: 
    0 8px 24px rgba(102, 126, 234, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.step-number::before {
  content: '';
  position: absolute;
  inset: -4px;
  background: conic-gradient(from 0deg, transparent, rgba(102, 126, 234, 0.2), transparent);
  border-radius: 50%;
  opacity: 0;
  transition: opacity var(--transition-base);
  animation: rotate 3s linear infinite;
}

.process-step:hover .step-number::before {
  opacity: 1;
}

.process-step:hover .step-number {
  transform: scale(1.1);
  box-shadow: 
    0 12px 32px rgba(102, 126, 234, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.step-content h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}

.step-content p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
}

.benefit-card {
  text-align: center;
  padding: var(--space-xl);
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  box-shadow: 
    var(--shadow-md),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.08), transparent);
  transition: left 0.6s ease;
}

.benefit-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.benefit-card:hover::before {
  left: 100%;
}

.benefit-card:hover::after {
  width: 80%;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 20px 40px rgba(102, 126, 234, 0.12),
    0 8px 16px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border-color: rgba(102, 126, 234, 0.2);
}

.benefit-icon {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-md);
  display: block;
  transition: all var(--transition-base);
  filter: drop-shadow(0 2px 4px rgba(102, 126, 234, 0.2));
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.2) rotate(10deg);
  filter: drop-shadow(0 4px 12px rgba(102, 126, 234, 0.4));
}

.benefit-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}

.benefit-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Contact Section */
.contact-section {
  background: var(--gradient-primary);
  color: white;
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(240, 147, 251, 0.1) 0%, transparent 50%);
  animation: contactGlow 12s ease-in-out infinite;
  pointer-events: none;
}

@keyframes contactGlow {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
}

.contact-wrapper {
  position: relative;
  z-index: 2;
}

.contact-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.contact-title {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.contact-subtitle {
  font-size: var(--font-size-xl);
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: var(--space-3xl);
}

.contact-info {
  display: grid;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: rgba(255, 255, 255, 0.1);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  max-width: 500px;
  margin: 0 auto;
}

.contact-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.8s ease;
}

.contact-item:hover::before {
  left: 100%;
}

.contact-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.contact-item:hover .contact-icon {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.contact-details h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.contact-details p {
  opacity: 0.8;
  margin-bottom: var(--space-sm);
  font-size: var(--font-size-sm);
}

.contact-email {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: white;
  text-decoration: none;
  padding: var(--space-sm) var(--space-lg);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all var(--transition-base);
  display: inline-block;
}

.contact-email:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.contact-feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-base);
}

.contact-feature:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.contact-feature .feature-icon {
  font-size: var(--font-size-xl);
}

.contact-feature span:last-child {
  font-weight: 500;
}

/* Responsive Contact Section */

/* Footer */
.footer {
  background: var(--text-dark);
  color: white;
  padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-xl);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.footer-tagline {
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.footer-contact {
  margin-top: var(--space-sm);
}

.footer-contact a {
  color: #9ca3af;
  text-decoration: none;
  font-size: var(--font-size-base);
  transition: color var(--transition-base);
}

.footer-contact a:hover {
  color: #d1d5db;
}

.social-links {
  display: flex;
  gap: var(--space-md);
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all var(--transition-base);
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.footer-column h4 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: var(--space-xs);
}

.footer-column a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal {
  display: flex;
  gap: var(--space-lg);
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: var(--font-size-sm);
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: white;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

@keyframes float-element {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-30px) scale(1.1);
  }
}

@keyframes messageAppear {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
  }
  50% {
    transform: translateY(-2px) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes typingAnimation {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-8px);
    opacity: 1;
  }
}

.animate-fade-up {
  animation: fadeInUp 0.8s ease-out;
}

.animate-fade-up-delay {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.animate-fade-up-delay-2 {
  animation: fadeInUp 0.8s ease-out 0.4s both;
  opacity: 1 !important;
  transform: translateY(0) !important;
  animation-fill-mode: forwards;
}

/* Responsive Design */
@media (max-width: 1024px) {
  :root {
    --font-size-5xl: 2.5rem;
    --font-size-4xl: 2rem;
    --font-size-3xl: 1.5rem;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
  }
  
  .contact-features {
    grid-template-columns: 1fr;
  }
  
  .hero-visual {
    order: -1;
    height: 400px;
  }
  
  .phone-mockup {
    width: 280px;
    height: 500px;
    transform: perspective(1000px) rotateY(-3deg) rotateX(1deg);
  }
  
  .phone-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
  }
  
  .device-mockup {
    width: 280px;
    height: 500px;
  }
}

@media (max-width: 768px) {
  :root {
    --space-3xl: 4rem;
    --space-2xl: 3rem;
  }
  
  .trainer-client-scene {
    display: none;
  }
  
  .nav-menu {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .hero-title {
    font-size: var(--font-size-3xl);
  }
  
  .section-title {
    font-size: var(--font-size-3xl);
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
  
  .process-timeline {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  :root {
    --font-size-3xl: 1.5rem;
    --font-size-2xl: 1.25rem;
    --container-padding: var(--space-md);
  }
  
  .hero {
    min-height: auto;
    padding: calc(var(--space-3xl) + 60px) 0 var(--space-3xl);
  }
  
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .phone-mockup {
    margin-top: calc(var(--space-3xl) + var(--space-2xl));
  }
  
  .hero-content {
    margin-top: var(--space-3xl);
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

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

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

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }

/* Performance Optimizations */
* {
  will-change: auto;
}

.hero-visual,
.floating-element,
.tech-line {
  will-change: transform;
}

img {
  max-width: 100%;
  height: auto;
  loading: lazy;
}

/* Print Styles */
@media print {
  .navbar,
  .nav-toggle,
  .hero-visual,
  .floating-element,
  .tech-grid {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  .section {
    padding: 1rem 0;
  }
  
  .btn {
    border: 1px solid #000;
    background: none !important;
    color: #000 !important;
  }
}