/* ================================================================
   Corvanta Home Page - Optimized for Performance, SEO & Accessibility
   100/100 Score Optimization
   ================================================================ */

/* ===== CSS VARIABLES FOR PERFORMANCE ===== */
:root {
  --primary-blue: #2563eb;
  --dark-blue: #1e40af;
  --light-blue: #3b82f6;
  --sky-blue: #0ea5e9;
  --purple: #7c3aed;
  --green: #22c55e;
  --green-dark: #16a34a;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --white: #ffffff;
  --indigo-50: #eef2ff;
  --indigo-100: #e0e7ff;
  --indigo-200: #c7d2fe;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px rgba(37, 99, 235, 0.06);
  --shadow-lg: 0 10px 40px rgba(37, 99, 235, 0.08);
  --shadow-xl: 0 20px 60px rgba(37, 99, 235, 0.15);
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== GLOBAL OPTIMIZATIONS ===== */
* {
  box-sizing: border-box;
}

body {
  background: var(--gray-50);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Override base.css main element constraints for index page */
main#main-content {
  max-width: 100%;
  padding: 2rem 1.5rem 3rem;
}

@media (min-width: 1400px) {
  main#main-content {
    padding: 2rem 3rem 3rem;
  }
}

@media (min-width: 1920px) {
  main#main-content {
    padding: 2rem 4rem 3rem;
  }
}

/* ===== MODERN HERO SECTION ===== */
.hero {
  position: relative;
  padding: 6rem 2rem 5rem;
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 25%, #2563eb 50%, #3b82f6 100%);
  color: var(--white);
  border-radius: 24px;
  margin: 0 0 5rem;
  overflow: hidden;
  min-height: 650px;
}

/* Animated Background Particles */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  animation: float 20s infinite ease-in-out;
}

.particle-1 {
  width: 80px;
  height: 80px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 25s;
}

.particle-2 {
  width: 60px;
  height: 60px;
  top: 60%;
  left: 80%;
  animation-delay: 3s;
  animation-duration: 22s;
}

.particle-3 {
  width: 100px;
  height: 100px;
  top: 70%;
  left: 15%;
  animation-delay: 6s;
  animation-duration: 28s;
}

.particle-4 {
  width: 50px;
  height: 50px;
  top: 20%;
  left: 85%;
  animation-delay: 2s;
  animation-duration: 20s;
}

.particle-5 {
  width: 70px;
  height: 70px;
  top: 40%;
  left: 50%;
  animation-delay: 4s;
  animation-duration: 24s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  25% {
    transform: translate(30px, -30px) scale(1.1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-20px, 40px) scale(0.9);
    opacity: 0.3;
  }
  75% {
    transform: translate(40px, 20px) scale(1.05);
    opacity: 0.4;
  }
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-content {
  max-width: 600px;
}

/* Badge Pill */
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.5rem;
  animation: slideDown 0.6s ease-out;
}

.badge-icon {
  color: #fbbf24;
  /* animation: sparkle 2s infinite; */
}

@keyframes sparkle {
  0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
  50% { opacity: 0.7; transform: scale(1.1) rotate(90deg); }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin: 0 0 1.5rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--white);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title-gradient {
  display: block;
  background: linear-gradient(135deg, #ffffff 0%, #a5f3fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 400;
  margin: 0 0 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: all var(--transition-base);
  cursor: pointer;
  border: 2px solid transparent;
}

.hero .cta-primary {
  background: var(--white);
  color: var(--primary-blue);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero .cta-primary:hover,
.hero .cta-primary:focus {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  background: #f0f9ff;
}

.hero .cta-primary .cta-icon {
  transition: transform var(--transition-base);
}

.hero .cta-primary:hover .cta-icon {
  transform: translateX(4px);
}

.hero .cta-secondary {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero .cta-secondary:hover,
.hero .cta-secondary:focus {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero .cta-btn:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.5);
  outline-offset: 3px;
}

.cta-icon,
.cta-icon-play {
  flex-shrink: 0;
}

/* Legacy Support */
.cta-final-section .cta-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--white);
  color: var(--primary-blue);
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all var(--transition-base);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}

.cta-final-section .cta-btn:hover,
.cta-final-section .cta-btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  background: var(--indigo-50);
  outline: none;
}

.cta-final-section .cta-btn:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 2px;
}

.cta-final-section .cta-btn.secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.cta-final-section .cta-btn.secondary:hover,
.cta-final-section .cta-btn.secondary:focus {
  background: rgba(255, 255, 255, 0.15);
}

.cta-final-section .cta-btn.large {
  padding: 1.25rem 3rem;
  font-size: 1.25rem;
}

/* Trust Indicators */
.hero-trust {
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.trust-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 1rem;
  font-weight: 500;
}

.trust-badges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition-base);
}

.trust-badge svg {
  color: rgba(255, 255, 255, 0.9);
  transition: transform var(--transition-base);
}

.trust-badge:hover {
  color: var(--white);
}

.trust-badge:hover svg {
  transform: scale(1.1);
}

/* Hero Visual Section */
.hero-visual {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-illustration {
  position: relative;
  z-index: 1;
}

/* Floating Stats Cards */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 2;
  animation: floatCard 6s ease-in-out infinite;
}

.card-1 {
  top: 10%;
  left: -10%;
  animation-delay: 0s;
}

.card-2 {
  top: 28%;
  right: 5%;
  animation-delay: 2s;
}

.card-3 {
  bottom: 30%;
  left: -5%;
  animation-delay: 4s;
}

@keyframes floatCard {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-content {
  display: flex;
  flex-direction: column;
}

.card-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.card-label {
  font-size: 0.875rem;
  color: var(--gray-600);
  font-weight: 600;
}

/* SVG Animations */
.floating-badge {
  animation: floatBadge 4s ease-in-out infinite;
}

.badge-1 {
  animation-delay: 0s;
}

.badge-2 {
  animation-delay: 1.3s;
}

.badge-3 {
  animation-delay: 2.6s;
}

@keyframes floatBadge {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

.hero-img {
  flex: 1 1 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.hero-img svg {
  width: 100%;
  max-width: 380px;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

/* ===== SECTION STYLES ===== */
.section {
  max-width: 1200px;
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--dark-blue);
  margin: 0 0 1rem;
  text-align: center;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--gray-500);
  text-align: center;
  margin: 0 auto 3rem;
  max-width: 700px;
}

/* ===== SOLUTIONS SECTION ===== */
.solutions-section {
  margin-bottom: 5rem;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.solution-card {
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--indigo-100);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-blue), var(--light-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-blue);
}

.solution-card:hover::before {
  transform: scaleX(1);
}

.solution-icon {
  margin-bottom: 1.5rem;
}

.solution-icon svg {
  width: 64px;
  height: 64px;
}

.solution-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin: 0 0 1rem;
}

.solution-desc {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0 0 1.5rem;
}

.solution-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.solution-features li {
  padding: 0.6rem 0 0.6rem 2rem;
  position: relative;
  color: var(--gray-700);
  font-size: 1rem;
}

.solution-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 1.2rem;
}

/* ===== FEATURES SECTION ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.12);
  border-color: var(--indigo-200);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gray-800);
  margin: 0 0 0.8rem;
}

.feature-desc {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0;
}

/* ===== WORKFLOW SECTION ===== */
.workflow-section {
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
  border-radius: 20px;
  padding: 4rem 2.5rem;
  margin: 0 auto 4rem;
  max-width: 1200px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--indigo-100);
}

.workflow-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--primary-blue);
  text-align: center;
  margin: 0 0 0.5rem;
}

.workflow-subtitle {
  font-size: 1.15rem;
  color: var(--gray-500);
  text-align: center;
  margin: 0 0 3rem;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.workflow-step {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--indigo-100);
  transition: all var(--transition-base);
  position: relative;
}

.workflow-step:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.12);
  border-color: var(--primary-blue);
}

.workflow-step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.workflow-step-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.workflow-step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-800);
  margin: 0 0 0.8rem;
}

.workflow-step-desc {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0;
}

/* ===== USE CASES SECTION ===== */
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.usecase-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
  text-align: center;
}

.usecase-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.12);
  border-color: var(--indigo-200);
}

.usecase-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.usecase-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gray-800);
  margin: 0 0 1rem;
}

.usecase-desc {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0;
}

/* ===== STATISTICS SECTION ===== */
.stats-section {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
  padding: 4rem 2rem;
  margin: 4rem 0;
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}

.stat-item {
  text-align: center;
  color: var(--white);
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--indigo-100);
  font-weight: 500;
}

/* ===== BENEFITS SECTION ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.benefit-card {
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  border-left: 5px solid var(--primary-blue);
  transition: all var(--transition-base);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--green);
}

.benefit-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-800);
  margin: 0 0 1rem;
}

.benefit-desc {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
  background: var(--gray-50);
  padding: 4rem 2rem;
  margin: 4rem 0;
  border-radius: 16px;
}

.testimonials-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--primary-blue);
  text-align: center;
  margin: 0 0 0.5rem;
}

.testimonials-subtitle {
  font-size: 1.15rem;
  color: var(--gray-500);
  text-align: center;
  margin: 0 0 3rem;
}

.testimonials-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--indigo-200);
}

.testimonial-rating {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #fbbf24;
}

.testimonial-quote {
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 1.7;
  font-style: italic;
  margin: 0 0 1.5rem;
  border-left: 3px solid var(--primary-blue);
  padding-left: 1rem;
}

.testimonial-author {
  margin-top: 1.5rem;
}

.testimonial-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.25rem;
}

.testimonial-role {
  font-size: 0.95rem;
  color: var(--gray-500);
}

/* ===== COMPLIANCE SECTION ===== */
.compliance-section {
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
  border-radius: 20px;
  padding: 4rem 2.5rem;
  margin: 0 auto 4rem;
  max-width: 1200px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--indigo-100);
}

.compliance-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--primary-blue);
  text-align: center;
  margin: 0 0 0.5rem;
}

.compliance-subtitle {
  font-size: 1.15rem;
  color: var(--gray-500);
  text-align: center;
  margin: 0 0 3rem;
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.compliance-badge {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.compliance-badge:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-blue);
}

.badge-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.badge-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-800);
  margin: 0 0 0.5rem;
}

.badge-desc {
  font-size: 0.95rem;
  color: var(--gray-500);
  margin: 0;
}

/* ===== FINAL CTA SECTION ===== */
.cta-final-section {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
  padding: 5rem 2rem;
  margin: 4rem 0 0;
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
}

.cta-final-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  color: var(--white);
}

.cta-final-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  color: var(--white);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.cta-final-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--indigo-100);
  margin: 0 0 2.5rem;
  line-height: 1.6;
}

.cta-final-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.cta-final-note {
  font-size: 1rem;
  color: var(--indigo-100);
  margin: 2rem 0 0;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Extra Large Desktop (1400px+) */
@media (min-width: 1400px) {
  .hero {
    padding: 6rem 4rem 5rem;
    min-height: 580px;
    margin: 0 0 5rem;
  }

  .hero-container {
    max-width: 1600px;
  }

  .hero-content {
    max-width: 700px;
  }

  .section {
    max-width: 1600px;
    margin: 0 auto 5rem;
  }

  .workflow-section,
  .compliance-section {
    max-width: 1600px;
    padding: 5rem 4rem;
  }

  .stats-container {
    max-width: 1600px;
  }

  .testimonials-grid {
    max-width: 1600px;
  }

  .solutions-grid {
    gap: 3rem;
  }

  .solution-card {
    padding: 3.5rem 3rem;
  }

  .cta-final-section {
    padding: 6rem 3rem;
  }
}

/* Extra Wide Screens (1920px+) */
@media (min-width: 1920px) {
  .hero-container {
    max-width: 1800px;
  }

  .section {
    max-width: 1800px;
  }

  .workflow-section,
  .compliance-section {
    max-width: 1800px;
  }

  .stats-container {
    max-width: 1800px;
  }

  .testimonials-grid {
    max-width: 1800px;
  }
}

/* Large Desktop (1200px - 1399px) */
@media (max-width: 1399px) {
  .hero {
    padding: 5rem 2.5rem 4rem;
  }

  .section {
    max-width: 1140px;
  }

  .workflow-section,
  .compliance-section {
    max-width: 1140px;
  }
}

/* Desktop (992px - 1199px) */
@media (max-width: 1199px) {
  .hero {
    padding: 4rem 2rem 3.5rem;
    min-height: 480px;
  }

  .hero-content {
    max-width: 550px;
  }

  .hero-title {
    font-size: clamp(1.875rem, 4vw, 2.75rem);

  }

  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .hero-badges {
    margin-top: 2rem;
    gap: 0.75rem;
  }

  .hero-badge {
    padding: 0.5rem 1.2rem;
    font-size: 0.875rem;
  }

  .hero-img svg {
    max-width: 320px;
  }

  .section {
    max-width: 960px;
    margin: 0 auto 3.5rem;
  }

  .solutions-grid {
    gap: 2rem;
  }

  .solution-card {
    padding: 2.5rem 2rem;
  }

  .solution-title {
    font-size: 1.5rem;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .workflow-section,
  .compliance-section {
    max-width: 960px;
    padding: 3.5rem 2rem;
  }
}

/* Tablets Landscape (768px - 991px) */
@media (max-width: 991px) {
  .hero {
    padding: 4rem 2rem;
    min-height: auto;
    margin: 0 0 3rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-badge-pill {
    margin: 0 auto 1.5rem;
  }

  .hero-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
  }

  .hero-subtitle {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 2rem;
  }

  .hero-cta {
    justify-content: center;
  }

  .trust-badges {
    justify-content: center;
  }

  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }

  .floating-card {
    display: none; /* Hide floating cards on tablets */
  }

  .section {
    max-width: 100%;
    padding: 0 2rem;
    margin: 0 auto 3rem;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 600px;
    margin: 3rem auto 0;
  }

  .solution-card {
    padding: 2.5rem 2rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .feature-card {
    padding: 2rem 1.5rem;
  }

  .workflow-section {
    padding: 3rem 2rem;
    margin: 0 1.5rem 3rem;
    border-radius: 16px;
  }

  .workflow-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .usecases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stats-section {
    padding: 3rem 1.5rem;
    margin: 3rem 1.5rem;
    border-radius: 12px;
  }

  .stats-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .compliance-section {
    padding: 3rem 2rem;
    margin: 0 1.5rem 3rem;
    border-radius: 16px;
  }

  .compliance-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .cta-final-section {
    padding: 4rem 2rem;
    margin: 3rem 1.5rem 0;
    border-radius: 12px;
  }
}

/* Tablets Portrait (576px - 767px) */
@media (max-width: 767px) {
  .hero {
    padding: 3rem 1.5rem;
    border-radius: 16px;
    margin: 0 0 2.5rem;
    min-height: auto;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .particle {
    display: none; /* Hide particles on mobile for performance */
  }

  .hero-badge-pill {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
  }

  .badge-icon {
    width: 14px;
    height: 14px;
  }

  .hero-title {
    font-size: clamp(1.75rem, 6vw, 2.25rem);
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-cta {
    flex-direction: column;
    gap: 0.875rem;
    width: 100%;
  }

  .hero .cta-btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .trust-label {
    font-size: 0.8rem;
  }

  .trust-badges {
    gap: 1rem;
    justify-content: center;
  }

  .trust-badge {
    font-size: 0.8rem;
  }

  .trust-badge svg {
    width: 14px;
    height: 14px;
  }

  .hero-illustration svg {
    width: 100%;
    height: auto;
    max-width: 380px;
  }

  .floating-card {
    display: none;
  }

  .section {
    padding: 0 1.25rem;
    margin: 0 auto 2.5rem;
  }

  .section-title {
    font-size: 1.625rem;
    margin-bottom: 0.75rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .solutions-grid {
    max-width: 100%;
    margin-top: 2rem;
    gap: 1.5rem;
  }

  .solution-card {
    padding: 2rem 1.5rem;
  }

  .solution-title {
    font-size: 1.35rem;
  }

  .solution-desc {
    font-size: 0.95rem;
  }

  .solution-features li {
    font-size: 0.9rem;
    padding: 0.5rem 0 0.5rem 1.75rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
  }

  .feature-card {
    padding: 1.5rem 1.25rem;
  }

  .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
  }

  .feature-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .feature-desc {
    font-size: 0.9rem;
  }

  .workflow-section {
    padding: 2.5rem 1.5rem;
    margin: 0 1rem 2.5rem;
  }

  .workflow-title {
    font-size: 1.5rem;
  }

  .workflow-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .workflow-steps {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
  }

  .workflow-step {
    padding: 2rem 1.25rem;
  }

  .workflow-step-number {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    top: -12px;
  }

  .workflow-step-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
  }

  .workflow-step-title {
    font-size: 1.1rem;
  }

  .workflow-step-desc {
    font-size: 0.9rem;
  }

  .usecases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
  }

  .usecase-card {
    padding: 1.75rem 1.25rem;
  }

  .usecase-icon {
    font-size: 2.75rem;
    margin-bottom: 1rem;
  }

  .usecase-title {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
  }

  .usecase-desc {
    font-size: 0.9rem;
  }

  .stats-section {
    padding: 2.5rem 1.25rem;
    margin: 2.5rem 1rem;
  }

  .stats-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .stat-number {
    font-size: 1.875rem;
    margin-bottom: 0.25rem;
  }

  .stat-label {
    font-size: 0.9rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
  }

  .benefit-card {
    padding: 1.75rem 1.25rem;
    border-left-width: 4px;
  }

  .benefit-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
  }

  .benefit-desc {
    font-size: 0.9rem;
  }

  .compliance-section {
    padding: 2.5rem 1.5rem;
    margin: 0 1rem 2.5rem;
  }

  .compliance-title {
    font-size: 1.5rem;
  }

  .compliance-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .compliance-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .compliance-badge {
    padding: 1.5rem 1rem;
  }

  .badge-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }

  .badge-title {
    font-size: 1rem;
  }

  .badge-desc {
    font-size: 0.85rem;
  }

  .cta-final-section {
    padding: 3rem 1.5rem;
    margin: 2.5rem 1rem 0;
  }

  .cta-final-title {
    font-size: 1.625rem;
  }

  .cta-final-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .cta-final-buttons {
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .hero .cta-btn.large,
  .cta-final-section .cta-btn.large {
    padding: 1rem 2rem;
    font-size: 1.05rem;
  }

  .cta-final-note {
    font-size: 0.9rem;
  }
}

/* Mobile (max-width: 575px) */
@media (max-width: 575px) {
  .hero {
    padding: 2.5rem 1rem;
    border-radius: 12px;
    margin: 0 0 2rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .particle {
    display: none;
  }

  .hero-badge-pill {
    font-size: 0.75rem;
    padding: 0.375rem 0.875rem;
    gap: 0.375rem;
  }

  .badge-icon {
    width: 12px;
    height: 12px;
  }

  .hero-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
    letter-spacing: -0.02em;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 0.9375rem;
    line-height: 1.6;
  }

  .hero-cta {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  .hero .cta-btn {
    width: 100%;
    padding: 0.875rem 1.25rem;
    font-size: 0.9375rem;
  }

  .cta-icon,
  .cta-icon-play {
    width: 16px;
    height: 16px;
  }

  .trust-label {
    font-size: 0.75rem;
  }

  .trust-badges {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .trust-badge {
    font-size: 0.75rem;
  }

  .trust-badge svg {
    width: 12px;
    height: 12px;
  }

  .hero-visual {
    margin-top: 1rem;
  }

  .hero-illustration svg {
    max-width: 280px;
  }

  .floating-card {
    display: none;
  }

  /* Legacy Support */
  .cta-final-section .cta-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }

  .section {
    padding: 0 1rem;
    margin: 0 auto 2rem;
  }

  .section-title {
    font-size: 1.375rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .solutions-grid {
    gap: 1.25rem;
    margin-top: 1.5rem;
  }

  .solution-card {
    padding: 1.75rem 1.25rem;
    border-radius: 14px;
  }

  .solution-icon svg {
    width: 52px;
    height: 52px;
  }

  .solution-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }

  .solution-desc {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .solution-features {
    margin-top: 1rem;
  }

  .solution-features li {
    font-size: 0.85rem;
    padding: 0.4rem 0 0.4rem 1.5rem;
  }

  .solution-features li::before {
    font-size: 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .feature-card {
    padding: 1.5rem 1.25rem;
    border-radius: 12px;
  }

  .feature-icon {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
  }

  .feature-title {
    font-size: 1.05rem;
  }

  .feature-desc {
    font-size: 0.875rem;
  }

  .workflow-section {
    padding: 2rem 1.25rem;
    margin: 0 0 2rem;
    border-radius: 0;
  }

  .workflow-title {
    font-size: 1.375rem;
  }

  .workflow-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .workflow-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 0.5rem;
  }

  .workflow-step {
    padding: 1.75rem 1.25rem;
    border-radius: 12px;
  }

  .workflow-step-number {
    width: 32px;
    height: 32px;
    font-size: 1rem;
    top: -10px;
  }

  .workflow-step-icon {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
  }

  .workflow-step-title {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
  }

  .workflow-step-desc {
    font-size: 0.85rem;
  }

  .usecases-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .usecase-card {
    padding: 1.5rem 1.25rem;
    border-radius: 12px;
  }

  .usecase-icon {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
  }

  .usecase-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }

  .usecase-desc {
    font-size: 0.875rem;
  }

  .stats-section {
    padding: 2rem 1rem;
    margin: 2rem 0;
    border-radius: 0;
  }

  .stats-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 2.25rem;
  }

  .stat-label {
    font-size: 0.95rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .benefit-card {
    padding: 1.5rem 1.25rem;
    border-radius: 12px;
    border-left-width: 4px;
  }

  .benefit-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
  }

  .benefit-desc {
    font-size: 0.875rem;
  }

  .compliance-section {
    padding: 2rem 1.25rem;
    margin: 0 0 2rem;
    border-radius: 0;
  }

  .compliance-title {
    font-size: 1.375rem;
  }

  .compliance-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .compliance-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
    margin-top: 1rem;
  }

  .compliance-badge {
    padding: 1.25rem 0.875rem;
    border-radius: 10px;
  }

  .badge-icon {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
  }

  .badge-title {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
  }

  .badge-desc {
    font-size: 0.75rem;
  }

  .cta-final-section {
    padding: 2.5rem 1.25rem;
    margin: 2rem 0 0;
    border-radius: 0;
  }

  .cta-final-title {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
  }

  .cta-final-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
  }

  .cta-final-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero .cta-btn.large,
  .cta-final-section .cta-btn.large {
    width: 100%;
    padding: 0.95rem 1.5rem;
    font-size: 1rem;
  }

  .cta-final-note {
    font-size: 0.825rem;
    margin-top: 1.5rem;
  }
}

/* Extra small mobile (max-width: 374px) */
@media (max-width: 374px) {
  .hero {
    padding: 1.5rem 1rem;
  }

  .hero-slogan {
    font-size: 0.825rem;
  }

  .hero-title {
    font-size: 1.35rem;
  }

  .hero-subtitle {
    font-size: 0.875rem;
  }

  .hero .cta-btn,
  .cta-final-section .cta-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.875rem;
  }

  .hero-img svg {
    max-width: 180px;
  }

  .section-title {
    font-size: 1.25rem;
  }

  .section-subtitle {
    font-size: 0.875rem;
  }

  .solution-card,
  .feature-card,
  .usecase-card,
  .benefit-card {
    padding: 1.25rem 1rem;
  }

  .solution-title {
    font-size: 1.15rem;
  }

  .feature-title,
  .usecase-title,
  .benefit-title {
    font-size: 1rem;
  }

  .compliance-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .compliance-badge {
    padding: 1rem 0.875rem;
  }

  .badge-title {
    font-size: 0.95rem;
  }

  .badge-desc {
    font-size: 0.8rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.875rem;
  }
}

/* Landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 1.5rem;
    flex-direction: row;
  }

  .hero-content {
    margin-bottom: 0;
    text-align: left;
  }

  .hero-cta {
    justify-content: flex-start;
  }

  .hero-badges {
    justify-content: flex-start;
    flex-direction: row;
  }

  .hero-img {
    max-width: 200px;
  }

  .workflow-steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .stats-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== ACCESSIBILITY ENHANCEMENTS ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--primary-blue);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .hero {
    border: 2px solid var(--white);
  }
  
  .solution-card,
  .feature-card,
  .benefit-card {
    border-width: 2px;
  }
}

/* Print styles */
@media print {
  .hero-img,
  .hero .cta-btn,
  .cta-final-section .cta-btn,
  .hero-badges {
    display: none;
  }
  
  .hero {
    background: var(--white);
    color: var(--gray-900);
  }
  
  * {
    box-shadow: none !important;
  }
}

