/* Variables CSS */
:root {
  --navy: #0f1419;
  --navy-light: #1a1f2e;
  --navy-lighter: #2a2f3e;
  --purple: #6366f1;
  --purple-light: #8b5cf6;
  --cyan: #06b6d4;
  --cyan-light: #22d3ee;
  --pink: #ec4899;
  --text: #ffffff;
  --text-dim: #cbd5e1;
  --text-muted: #94a3b8;
  --accent: #00ff88;
  --orange: #f59e0b;
  --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --glow: 0 0 30px rgba(99, 102, 241, 0.3);
}

/* Animated Wave Background */
.wave-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: 
    radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
  animation: waveFloat 20s ease-in-out infinite;
}

.wave-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(135deg, transparent 0%, rgba(99, 102, 241, 0.05) 25%, transparent 50%, rgba(139, 92, 246, 0.05) 75%, transparent 100%);
  animation: waveMove 15s ease-in-out infinite reverse;
}

@keyframes waveFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  33% { transform: translateY(-20px) scale(1.02); }
  66% { transform: translateY(10px) scale(0.98); }
}

@keyframes waveMove {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  50% { transform: translateX(20px) rotate(1deg); }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background: rgba(15, 20, 25, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
  padding: 1rem 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  position: relative;
}

.logo::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 20px;
  background: var(--purple);
  animation: blink 1.2s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.nav {
  display: flex;
  gap: 2.5rem;
}

.nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav a:hover {
  color: var(--text);
  background: rgba(99, 102, 241, 0.1);
  transform: translateY(-1px);
}

.contact-btn {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
  color: var(--text) !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 2rem !important;
  font-weight: 600;
  box-shadow: var(--glow);
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.4);
}

/* Hero Section */
.hero {
  padding: 8rem 0;
  position: relative;
  text-align: center;
}

.hero-tag {
  display: inline-block;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: var(--purple);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text) 0%, var(--text-dim) 40%, var(--purple) 70%, var(--cyan) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero .highlight {
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  font-weight: 700;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  color: var(--text-dim);
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease 0.8s both;
}

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

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
  animation: fadeInUp 0.8s ease 1s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 3rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
  color: var(--text);
  box-shadow: var(--glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--purple);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  animation: fadeInUp 0.8s ease 1.2s both;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--purple) 0%, var(--cyan) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Section Styles */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--purple);
  background: rgba(99, 102, 241, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Services Grid */
.services {
  background: var(--navy-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1.5rem;
  padding: 2.5rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple), var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.2);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--purple) 0%, var(--cyan) 100%);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  color: var(--text);
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.service-card p {
  color: var(--text-dim);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.service-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  background: rgba(99, 102, 241, 0.1);
  color: var(--purple);
  padding: 0.3rem 0.8rem;
  border-radius: 1rem;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

/* Work Section */
.work-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.work-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1.5rem;
  overflow: hidden;
  transition: all 0.4s ease;
}

.work-item:hover {
  transform: translateY(-5px);
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: var(--shadow);
}

.work-image-container {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-radius: 0.75rem 0.75rem 0 0;
  cursor: pointer;
}

.work-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: brightness(0.9);
  background: var(--navy-light);
  padding: 0.5rem;
}

.work-item {
  background: var(--card-bg);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: var(--shadow);
  position: relative;
  cursor: pointer;
  transform: translateY(0);
}

.work-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.03), rgba(14, 165, 233, 0.03));
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 0.75rem;
  z-index: 1;
}

.work-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 
              0 0 0 1px rgba(99, 102, 241, 0.2);
}

.work-item:hover::before {
  opacity: 1;
}

.work-item:hover .work-image {
  transform: scale(1.1);
  filter: brightness(1.1) contrast(1.1);
}

.work-item:hover .work-overlay {
  transform: scale(1.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.work-item:hover .work-content {
  transform: translateY(-2px);
}

.work-link-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(8px);
}

.work-item:hover .work-link-overlay {
  opacity: 1;
}

.work-link-button {
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: white;
  padding: 1rem 2rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.work-item:hover .work-link-button {
  transform: translateY(0);
}

.work-link-button:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.4);
}

.work-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.4rem 0.8rem;
  border-radius: 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  transition: all 0.3s ease;
  z-index: 5;
  backdrop-filter: blur(10px);
}

.status-before {
  background: rgba(245, 158, 11, 0.9);
  color: white;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.status-after {
  background: rgba(0, 255, 136, 0.9);
  color: var(--navy-dark);
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.work-content {
  padding: 1.5rem;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.work-item h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--text);
}

.work-item p {
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.work-external-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--purple);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 1px solid var(--purple);
  padding: 0.5rem 1rem;
  border-radius: 1.5rem;
  background: rgba(99, 102, 241, 0.05);
}

.work-external-link:hover {
  background: var(--purple);
  color: white;
  transform: translateX(4px);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

/* Process Section */
.process {
  background: var(--navy-light);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
  position: relative;
}

.step {
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  background: linear-gradient(135deg, var(--purple) 0%, var(--cyan) 100%);
  border-radius: 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--text);
  margin: 0 auto 1.5rem;
  position: relative;
  transition: all 0.4s ease;
  box-shadow: var(--glow);
}

.step:hover .step-number {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 50px rgba(99, 102, 241, 0.5);
}

.step h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

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

/* Flowing connection line */
.process-steps::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--purple) 20%,
    var(--cyan) 40%,
    var(--purple-light) 60%,
    var(--cyan-light) 80%,
    transparent 100%
  );
  z-index: 1;
  animation: flowLine 4s ease-in-out infinite;
}

@keyframes flowLine {
  0%, 100% { opacity: 0.3; transform: translateX(0); }
  50% { opacity: 0.8; transform: translateX(15px); }
}

/* Curved arrows */
.step::after {
  content: '→';
  position: absolute;
  top: 2.5rem;
  right: -1.5rem;
  color: var(--purple);
  font-size: 1.8rem;
  opacity: 0.6;
  animation: arrowPulse 3s ease-in-out infinite;
  z-index: 3;
}

.step:last-child::after {
  display: none;
}

@keyframes arrowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1) translateX(0); }
  50% { opacity: 1; transform: scale(1.2) translateX(5px); }
}

/* Contact Section */
.contact {
  background: var(--navy);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--purple) 0%, var(--cyan) 50%, var(--purple-light) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-info p {
  margin-bottom: 2.5rem;
  color: var(--text-dim);
  font-size: 1.1rem;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.contact-item:hover {
  border-color: rgba(99, 102, 241, 0.3);
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(5px);
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--purple) 0%, var(--cyan) 100%);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.contact-form {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  border-radius: 1.5rem;
  backdrop-filter: blur(20px);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 500;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group select option {
  background: var(--navy-light);
  color: var(--text);
  padding: 0.5rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.submit-btn {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
  color: var(--text);
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 3rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  width: 100%;
  box-shadow: var(--glow);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.4);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.error-message {
  color: var(--orange);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  display: block;
  min-height: 1.2em;
}

/* Footer */
.footer {
  background: var(--navy-light);
  color: var(--text-muted);
  padding: 2.5rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Mock image fallbacks */
.mock-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 1rem;
  font-family: 'JetBrains Mono', monospace;
}

.mock-old {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.2));
  color: var(--orange);
}

.mock-new {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 255, 136, 0.2));
  color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 2rem;
  }

  .nav {
    display: none;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .work-comparison {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .process-steps::before {
    display: none;
  }

  .step::after {
    display: none;
  }

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

@media (max-width: 480px) {
  .hero-stats {
    gap: 1rem;
  }

  .stat {
    text-align: center;
  }
}

/* ROI Section Styles */
.roi-section {
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 50%, var(--navy-lighter) 100%);
  position: relative;
  overflow: hidden;
}

.roi-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 60%, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 2rem;
  align-items: stretch;
  margin: 3rem 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.comparison-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.comparison-card.problems {
  border-left: 4px solid #ef4444;
  background: rgba(239, 68, 68, 0.08);
}

.comparison-card.solutions {
  border-left: 4px solid var(--accent);
  background: rgba(255, 255, 255, 0.95);
  color: #1a1f37;
  backdrop-filter: blur(15px);
}

.comparison-card.solutions h3 {
  color: #1a1f37;
}

.comparison-card.solutions .comparison-item {
  color: #2d3748;
}

.comparison-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.comparison-card.solutions:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.98);
}

.comparison-card h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 600;
}

.comparison-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  flex: 1;
}

.comparison-item {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-dim);
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

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

.comparison-item:hover {
  color: var(--text);
  padding-left: 0.5rem;
}

.comparison-arrow {
  width: 80px;
  height: 80px;
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(6, 182, 212, 0.1) 100%);
  border-radius: 50%;
  border: 2px solid var(--cyan);
  align-self: center;
  animation: pulse 2s infinite;
}

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

.cta-section {
  text-align: center;
  margin-top: 4rem;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
  border-radius: 20px;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.cta-section h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text);
  font-weight: 600;
}

/* Numbers Section Styles */
.numbers-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-lighter) 50%, var(--navy-light) 100%);
}

.savings-showcase {
  display: grid;
  gap: 4rem;
  margin: 3rem 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

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

.stat-card {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
  border-radius: 20px;
  padding: 3rem;
  color: white;
  box-shadow: var(--glow);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.stat-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin: 1.5rem 0;
  position: relative;
  z-index: 1;
}

.stat-subtitle {
  font-size: 1.3rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.savings-examples {
  display: grid;
  gap: 3rem;
}

.example-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 3rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.example-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.example-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.example-card h4 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--cyan);
  font-weight: 600;
}

.example-stats {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-line.cost {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  font-weight: 600;
}

.stat-line.savings {
  background: rgba(0, 255, 136, 0.1);
  border-color: rgba(0, 255, 136, 0.3);
  color: var(--accent);
  font-weight: 600;
  font-size: 1.2rem;
}

.stat-label {
  color: var(--text-dim);
}

.stat-value {
  font-weight: 600;
  color: var(--text);
}

.reduction-note {
  text-align: center;
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(6, 182, 212, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.breakdown-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.breakdown-card {
  background: rgba(99, 102, 241, 0.1);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(99, 102, 241, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.breakdown-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(99, 102, 241, 0.1) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.breakdown-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.3);
}

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

.breakdown-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.breakdown-card h5 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text-dim);
  position: relative;
  z-index: 1;
}

.breakdown-savings {
  font-weight: 600;
  color: var(--accent);
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

/* Case Study Section Styles */
.case-study {
  background: linear-gradient(135deg, var(--navy-lighter) 0%, var(--navy) 50%, var(--navy-light) 100%);
}

.case-results {
  display: grid;
  gap: 4rem;
  margin: 3rem 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

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

.summary-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 3rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.summary-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.summary-card h3 {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  color: var(--cyan);
  position: relative;
  z-index: 1;
}

.summary-stats {
  display: grid;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

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

.summary-item.highlight {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.15) 0%, rgba(0, 255, 136, 0.05) 100%);
  border: 2px solid rgba(0, 255, 136, 0.3);
  color: var(--accent);
  font-weight: 600;
  font-size: 1.1rem;
}

.summary-label {
  color: var(--text-dim);
  font-weight: 500;
}

.summary-value {
  font-weight: 600;
  color: var(--text);
  font-size: 1.1rem;
}

.automation-breakdown {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.automation-breakdown h3 {
  font-size: 2rem;
  margin-bottom: 3rem;
  text-align: center;
  color: var(--purple-light);
  font-weight: 600;
}

.automation-list {
  display: grid;
  gap: 1.5rem;
}

.automation-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.automation-item:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
}

.automation-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
  border-radius: 15px;
  margin-top: 2rem;
  color: white;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
  position: relative;
  overflow: hidden;
}

.automation-total::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  animation: shine 3s infinite;
}

.automation-solution {
  flex: 1;
  color: var(--text-dim);
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.automation-total .automation-solution {
  color: white;
  font-weight: 600;
}

.automation-savings {
  font-weight: 600;
  color: var(--accent);
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.automation-total .automation-savings {
  color: white;
  font-size: 1.3rem;
}

.roi-guarantee {
  text-align: center;
  margin-top: 4rem;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.15) 0%, rgba(0, 255, 136, 0.05) 100%);
  border-radius: 20px;
  border: 2px solid rgba(0, 255, 136, 0.3);
  position: relative;
  overflow: hidden;
}

.roi-guarantee::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.roi-guarantee h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--accent);
  position: relative;
  z-index: 1;
}

.roi-guarantee p {
  margin-bottom: 2.5rem;
  color: var(--text-dim);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.2rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .comparison-arrow {
    transform: rotate(90deg);
    margin: 1rem auto;
    width: 60px;
    height: 60px;
  }
  
  .comparison-card {
    padding: 2rem 1.5rem;
  }
  
  .breakdown-cards {
    grid-template-columns: 1fr;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .example-card {
    padding: 2rem 1.5rem;
  }
  
  .example-card h4 {
    font-size: 1.5rem;
  }
  
  .automation-item {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .automation-total {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .summary-card {
    padding: 2rem 1.5rem;
  }
  
  .automation-breakdown {
    padding: 2rem 1.5rem;
  }
  
  .cta-section {
    padding: 2rem 1.5rem;
  }
  
  .cta-section h3 {
    font-size: 1.5rem;
  }
  
  .roi-guarantee {
    padding: 2rem 1.5rem;
  }
  
  .roi-guarantee h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .comparison-card h3 {
    font-size: 1.3rem;
  }
  
  .comparison-item {
    font-size: 1rem;
  }
  
  .stat-card {
    padding: 2rem 1.5rem;
  }
  
  .stat-card h3 {
    font-size: 1.5rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .example-icon {
    font-size: 2rem;
  }
  
  .example-card h4 {
    font-size: 1.3rem;
  }
  
  .summary-card h3 {
    font-size: 1.5rem;
  }
  
  .automation-breakdown h3 {
    font-size: 1.5rem;
  }
}
