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

html {
  overflow-x: hidden;
  width: 100%;
}

:root {
  --primary: #2f40ff;
  --primary-light: #5c6cff;
  --primary-dark: #1e2eff;
  --accent: #8b5cf6;
  --success: #10b981;
  --dark-bg: #000000;
  --dark-surface: #080808;
  --dark-border: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --gradient: linear-gradient(135deg, #2f40ff 0%, #8b5cf6 100%);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto,
    sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  width: 100%;
  max-width: 100vw;
}

/* Cosmic Background with Grid Pattern */
.cosmic-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: #000000;
  overflow: hidden;
}

.cosmic-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}

.cosmic-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}

.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(59, 130, 246, 0.5);
  border-radius: 50%;
  animation: float 20s infinite;
}

@keyframes float {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(100px);
    opacity: 0;
  }
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  max-width: 100vw;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  z-index: 1000;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(218, 209, 238, 0.3);
  overflow-x: hidden;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  overflow-x: hidden;
}

.logo {
  font-size: 1.75rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #2f40ff;
  transition: width 0.3s;
}

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

.nav-cta {
  margin-left: 2rem;
}

.nav-cta .primary-button {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.signin-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

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

.cta-button {
  background: var(--gradient);
  color: white;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
  width: 300px;
  height: 300px;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.4);
}

/* Hero Section */
.hero {
  padding: 10rem 0 6rem;
  position: relative;
  text-align: center;
  width: 100%;
  max-width: 100vw;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      rgba(59, 130, 246, 0.4) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(59, 130, 246, 0.4) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: 0 0;
  opacity: 1;
  animation: heroGridMove 20s linear infinite;
  z-index: 3;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 90%;
  background-image: linear-gradient(rgb(77 77 77 / 20%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(126 129 131 / 20%) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: 0 0;
  opacity: 1;
  animation: heroGridMove 25s linear infinite reverse;
  z-index: 2;
}

@keyframes heroGridMove {
  0% {
    transform: translate(0, 0);
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translate(80px, 80px);
    opacity: 0.6;
  }
}

/* Animated Grid Squares */
.hero .section-content {
  position: relative;
  z-index: 5;
}

/* Additional Grid Overlay for Hero - REMOVED to prevent duplicate lines */
.hero .section-content::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  pointer-events: none;
  z-index: 1;
}

.hero .section-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle at 25% 25%,
      rgba(47, 64, 255, 0.4) 3px,
      transparent 4px
    ),
    radial-gradient(
      circle at 75% 25%,
      rgba(96, 165, 250, 0.35) 3px,
      transparent 4px
    ),
    radial-gradient(
      circle at 25% 75%,
      rgba(59, 130, 246, 0.3) 3px,
      transparent 4px
    ),
    radial-gradient(
      circle at 75% 75%,
      rgba(47, 64, 255, 0.25) 3px,
      transparent 4px
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(96, 165, 250, 0.5) 3px,
      transparent 4px
    );
  background-size: 200px 200px, 180px 180px, 160px 160px, 220px 220px,
    240px 240px;
  background-position: 0 0, 50px 0, 0 50px, 100px 100px, 120px 60px;
  opacity: 0.3;
  animation: dotsFlowLeftToRight 12s linear infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes dotsFlowLeftToRight {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  25% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
  75% {
    opacity: 0.6;
  }
  100% {
    transform: translateX(100px);
    opacity: 0;
  }
}

/* Interactive Grid Effects */
.hero:hover::before {
  animation-duration: 10s;
  opacity: 1;
}

.hero:hover .section-content::before {
  animation-duration: 6s;
  opacity: 0.8;
}

/* Grid Pattern Responsive Design */
@media (max-width: 768px) {
  .hero::before {
    background-size: 60px 60px;
    opacity: 0.8;
  }

  .hero .section-content::before {
    background-size: 120px 120px, 100px 100px, 90px 90px, 130px 130px,
      140px 140px;
    opacity: 0.4;
    animation-duration: 8s;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.875rem;
  margin-bottom: 2rem;
  animation: fadeIn 0.8s ease-out;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

h1 {
  font-size: 4.5rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  animation: slideUp 0.8s ease-out 0.2s both;
}

.gradient-text {
  background: linear-gradient(135deg, #2f40ff 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.375rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  animation: slideUp 0.8s ease-out 0.4s both;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: slideUp 0.8s ease-out 0.6s both;
}

.primary-button {
  background: linear-gradient(135deg, #2f40ff 0%, #5c6cff 50%, #3b82f6 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 1.25rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(47, 64, 255, 0.3);
  z-index: 1;
}

.primary-button:hover {
  background: linear-gradient(135deg, #3b4eff 0%, #6d7cff 50%, #4c8bff 100%);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(47, 64, 255, 0.4),
    0 4px 12px rgba(47, 64, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}

.primary-button * {
  position: relative;
  z-index: 2;
}

.secondary-button {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  padding: 1.25rem 0;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.125rem;
  border: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.secondary-button::after {
  content: "";
  position: absolute;
  bottom: 1rem;
  left: 0;
  width: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
  transition: width 0.3s;
}

.secondary-button:hover {
  color: white;
}

.secondary-button:hover::after {
  width: 100%;
}

/* Hero Layout with Centered Earth Globe */
.hero-content-centered {
  text-align: center;
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 4rem;
}

.hero-earth {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50vh;
  overflow: hidden;
  z-index: 1;
}

.earth-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  width: 100vh;
  height: 100vh;
  max-width: 1000px;
  max-height: 1000px;
  min-width: 700px;
  min-height: 600px;
}

.earth-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  animation: slow-rotate 60s linear infinite;
  filter: drop-shadow(0 0 60px rgba(59, 130, 246, 0.4));
}

.earth-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  height: 110%;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.3) 0%,
    rgba(6, 182, 212, 0.2) 30%,
    transparent 60%
  );
  border-radius: 50%;
  animation: pulse-glow 6s ease-in-out infinite;
}

.product-section .section-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2rem;
}

.modular-section .section-content .row {
  display: flex;
  max-width: 1000px;
  margin: 0 auto;
}

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

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

/* Responsive adjustments for hero */
@media (max-width: 1024px) {
  .earth-container {
    width: 80vh;
    height: 80vh;
    min-width: 500px;
    min-height: 500px;
  }

  .hero-earth {
    height: 40vh;
  }
}

@media (max-width: 768px) {
  .earth-container {
    width: 70vh;
    height: 70vh;
    min-width: 400px;
    min-height: 400px;
  }

  .hero-earth {
    height: 35vh;
  }

  .hero-content-centered {
    padding-bottom: 2rem;
  }
  .product-section .section-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
  }

  .modular-section .section-content .row {
    display: block;
    max-width: 1000px;
    margin: 0 auto;
  }
}

/* EHR Integration Slider */
.ehr-section {
  padding: 3rem 0;
  border-top: 1px solid rgba(59, 130, 246, 0.1);
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
  overflow: hidden;
}

.ehr-container {
  text-align: center;
  margin-bottom: 2rem;
}

.ehr-slider {
  display: flex;
  animation: slide 15s linear infinite;
}

.ehr-track {
  display: flex;
  gap: 4rem;
  align-items: center;
  padding: 0 2rem;
}

.ehr-logo {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: all 0.3s;
  letter-spacing: 0.025em;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI",
    sans-serif;
}

.ehr-logo:hover {
  color: var(--primary);
  transform: scale(1.1);
}

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

/* Product Features Section */
.product-section {
  padding: 6rem 2rem;
  max-width: 100%;
  margin: 0 auto;
}

.product-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 80% 20%,
    rgba(59, 130, 246, 0.1) 0%,
    transparent 50%
  );
  pointer-events: none;
}

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

.section-badge {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

/* Core Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.feature-card {
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: translateX(-100%);
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.08);
}

.mb-1-5 {
  margin-bottom: 1.5rem;
}

.feature-card:hover::before {
  transform: translateX(0);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.feature-description {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-list li::before {
  content: "✓";
  color: var(--success);
  font-weight: bold;
}

/* Modular Platform Section */
.modular-section {
  padding: 4rem 0;
}

.modular-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 48%,
    rgba(255, 255, 255, 0.01) 50%,
    transparent 52%
  );
  pointer-events: none;
}

.modular-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.module-card {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
}

.module-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.module-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.module-name {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.module-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Practice Types Slider */
.practice-types {
  padding: 6rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
  overflow: hidden;
}

.practice-slider-wrapper {
  position: relative;
  margin-top: 4rem;
  overflow: hidden;
}

.practice-slider {
  display: flex;
  gap: 2rem;
  animation: practiceSlide 15s linear infinite;
}

.practice-slider:hover {
  animation-play-state: paused;
}

.practice-card {
  flex: 0 0 300px;
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s;
}

.practice-card:hover {
  transform: scale(1.05);
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.1);
}

.practice-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.practice-icon i {
  color: var(--primary-light);
  transition: all 0.3s ease;
}

.practice-card:hover .practice-icon i {
  color: var(--primary);
  transform: scale(1.1);
}

.practice-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.practice-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Practice Slider Animation */
@keyframes practiceSlide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Ensure smooth infinite scrolling */
.practice-slider {
  will-change: transform;
}

.practice-slider:hover {
  animation-play-state: paused;
}

/* Fix text overflow in all practice cards */
.practice-card {
  text-overflow: ellipsis;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.practice-name,
.practice-desc {
  text-overflow: ellipsis;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

/* Testimonials Section */
.testimonials-section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  display: none;
}

.testimonials-container {
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.testimonials-header {
  margin-bottom: 4rem;
}

.testimonials-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

.testimonials-title {
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--text-primary);
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

.testimonials-subtitle {
  font-size: 1.75rem;
  color: var(--text-secondary);
  margin: 0 0 1rem 0;
  font-weight: 300;
}

.testimonials-description {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin: 0 auto;
  max-width: 600px;
}

.testimonials-slider-wrapper {
  position: relative;
  margin-top: 4rem;
  overflow: hidden;
}

.testimonials-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 2rem;
}

.testimonial-slide {
  flex: 0 0 400px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: left;
  backdrop-filter: blur(10px);
  position: relative;
  min-height: 300px;
}

.testimonial-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.1) 0%,
    rgba(59, 130, 246, 0.1) 100%
  );
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}

.testimonial-slide:hover::before {
  opacity: 1;
}

.testimonial-content {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
  font-weight: 500;
}

.testimonial-meta {
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-support {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.author-info {
  flex: 1;
}

.author-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.author-role {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Slider Animation */
@keyframes testimonialSlide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.testimonials-slider {
  animation: testimonialSlide 20s linear infinite;
}

.testimonials-slider:hover {
  animation-play-state: paused;
}

/* Stats Section */
.stats-section {
  padding: 4rem 0;
}

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

.stat-card {
  text-align: center;
  padding: 2rem;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.125rem;
  color: var(--text-secondary);
}

/* Trust/Security Section - Dark professional with geometric pattern */
.trust-section {
  padding: 6rem 0;
  border-top: 1px solid rgba(59, 130, 246, 0.1);
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
  position: relative;
  overflow: hidden;
}

.trust-container {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.trust-container h2 {
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: 1rem;
  line-height: 1.2;
  /* background: linear-gradient(135deg, #ffffff 0%, #8b5cf6 100%); */
  /* -webkit-background-clip: text; */
  /* -webkit-text-fill-color: transparent; */
}

.trust-container p {
  color: var(--text-secondary);
  font-size: 1.25rem;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.trust-badge {
  flex: 1;
  min-width: 280px;
  padding: 2rem 2rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  border-radius: 16px;
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.trust-badge:hover {
  background: rgba(59, 130, 246, 0.05);
}

.badge-icon {
  margin-bottom: 1.5rem;
  opacity: 0.9;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.badge-icon img {
  width: 120px !important;
  height: 60px !important;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* Make HIPAA logo white */
.trust-badge:first-child .badge-icon img {
  filter: brightness(0) invert(1);
}

/* Style SOC2 logo with slight enhancement */
.trust-badge:last-child .badge-icon img {
  filter: brightness(1.1) contrast(1.1) saturate(1.2);
}

.badge-icon i {
  transition: all 0.3s ease;
}

.trust-badge:hover .badge-icon {
  opacity: 1;
}

.trust-badge:hover .badge-icon i {
  transform: scale(1.1);
}

.trust-badge:hover .badge-icon img {
  transform: scale(1.05);
}

.trust-badge strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.trust-badge:hover strong {
  color: var(--primary-light);
}

.trust-badge span {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.trust-badge:hover span {
  color: rgba(255, 255, 255, 0.9);
}

/* CTA Section */
.cta-section {
  padding: 8rem 0;
  text-align: center;
  position: relative;
}

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

.cta-content h2 {
  font-size: 3.5rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

.cta-content p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

/* Footer */
.footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--dark-border);
}

.footer-minimal {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  margin-bottom: 2.5rem;
  padding: 0 2rem;
}

.footer-brand .logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;
}

.footer-nav {
  display: flex;
  gap: 2.5rem;
  flex: 1;
  justify-content: center;
}

.footer-nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.footer-nav a:hover {
  color: var(--primary-light);
}

.footer-legal {
  display: flex;
  gap: 2rem;
  flex-shrink: 0;
}

.footer-legal a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.footer-legal a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--dark-border);
  color: var(--text-primary);
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

@keyframes progress {
  0% {
    width: 0%;
  }
  50% {
    width: 100%;
  }
  100% {
    width: 0%;
  }
}

/* AI Demo Section - Dark with subtle pattern */

/* ===== ALTERNATING BACKGROUND SYSTEM ===== */

/* Background Type A - Pure Black */
.bg-type-a {
  background: #000000;
  position: relative;
}

.bg-type-a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  pointer-events: none;
}

/* Background Type B - Subtle Blue Gradients */
.bg-type-b {
  background: linear-gradient(
      135deg,
      rgba(59, 130, 246, 0.08) 0%,
      rgba(59, 130, 246, 0.05) 100%
    ),
    radial-gradient(
      circle at 30% 70%,
      rgba(59, 130, 246, 0.1) 0%,
      transparent 50%
    );
  position: relative;
}

.bg-type-b::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 80% 20%,
      rgba(96, 165, 250, 0.06) 0%,
      transparent 50%
    ),
    linear-gradient(
      120deg,
      transparent 48%,
      rgba(59, 130, 246, 0.03) 50%,
      transparent 52%
    );
  pointer-events: none;
}

/* Full-width sections */
.section-full-width {
  width: 100%;
  max-width: 100vw;
  padding-left: 0;
  padding-right: 0;
}

.section-full-width .section-content {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
  width: 100%;
}

.testimonials-section .section-content {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Centered sections (existing behavior) */
.section-centered {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
  width: 100%;
}

/* ===== SECTION SPECIFIC STYLES ===== */

/* Hero Section - Background A, Full Width */
.hero {
  padding: 10rem 0 6rem;
  text-align: center;
  position: relative;
}

/* EHR Integration Slider - Background B, Full Width */
.ehr-section {
  padding: 3rem 0;
  border-top: 1px solid rgba(59, 130, 246, 0.1);
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
  overflow: hidden;
}

/* Product Features Section - Background A, Centered */
.product-section {
  padding: 6rem 2rem;
  max-width: 100%;
  margin: 0 auto;
}

/* Stats Section - Background B, Full Width */
.stats-section {
  padding: 4rem 0;
}

/* Modular Platform Section - Background B, Full Width */
.modular-section {
  padding: 4rem 0;
}

/* Practice Types Slider - Background A, Centered */
.practice-types {
  padding: 6rem 2rem;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

/* Testimonials Section - Background B, Full Width */
.testimonials-section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  display: none;
}

/* Trust Section - Background A, Full Width */
.trust-section {
  padding: 6rem 0;
  border-top: 1px solid rgba(59, 130, 246, 0.1);
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
  position: relative;
  overflow: hidden;
}

/* CTA Section - Background B, Full Width */
.cta-section {
  padding: 8rem 0;
  text-align: center;
  position: relative;
}

/* Footer - Background A, Full Width */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--dark-border);
}

/* Remove all old individual section backgrounds and ::before elements */
.product-section::before,
.modular-section::after,
.testimonials-section::before,
.trust-section::before,
.cta-section::before {
  display: none;
}

/* ===== AUDIO MODAL STYLES ===== */

.audio-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: modalFadeIn 0.3s ease-out;
}

.audio-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.audio-modal-content {
  position: relative;
  background: rgba(26, 26, 26, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 3rem;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  animation: modalSlideUp 0.4s ease-out;
}

.audio-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.7);
}

.audio-modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
  color: white;
  transform: scale(1.05);
}

.audio-modal-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.audio-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  color: var(--primary-light);
}

.audio-modal-header h3 {
  font-size: 2rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.audio-modal-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}

.audio-modal-player {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.audio-player-container {
  margin-bottom: 2rem;
}

.audio-waveform-container {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.modal-soundwave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 80px;
  margin-bottom: 1.5rem;
  cursor: pointer;
}

.modal-play-button {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2f40ff 0%, #5c6cff 100%);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0 auto 1.5rem auto;
  position: relative;
  box-shadow: 0 8px 25px rgba(47, 64, 255, 0.4);
}

.modal-play-button:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(59, 130, 246, 0.5);
}

.play-icon {
  width: 0;
  height: 0;
  border-left: 20px solid white;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 4px;
}

.pause-icon {
  display: flex;
  gap: 4px;
}

.pause-bar {
  width: 6px;
  height: 22px;
  background: white;
  border-radius: 1px;
}

.audio-progress-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.audio-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.audio-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

/* Modal Animations */
@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* Mobile Modal Styles */
@media (max-width: 768px) {
  .audio-modal {
    padding: 1rem;
  }

  .audio-modal-content {
    padding: 2rem 1.5rem;
    border-radius: 20px;
    max-height: 95vh;
  }

  .audio-modal-header h3 {
    font-size: 1.5rem;
  }

  .audio-modal-header p {
    font-size: 1rem;
  }

  .audio-modal-player {
    padding: 1.5rem;
  }

  .audio-waveform-container {
    padding: 1.5rem;
  }

  .modal-soundwave {
    height: 60px;
  }

  .modal-play-button {
    width: 56px;
    height: 56px;
  }
}

/* ===== LEGAL PAGES STYLES ===== */

/* Legal Pages Layout */
.legal-page {
  padding-top: 8rem;
  padding-bottom: 4rem;
  background: var(--dark-bg);
  color: var(--text-primary);
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.legal-header h1 {
  font-size: 3.5rem;
  font-weight: 300;
  margin-bottom: 1rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.legal-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.legal-updated {
  font-size: 1rem;
  color: var(--text-secondary);
  font-style: italic;
}

.legal-content {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 3rem;
  backdrop-filter: blur(10px);
}

.legal-section {
  margin-bottom: 3rem;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.legal-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.legal-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.legal-section p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal-section ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.legal-section li {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-method {
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
}

.contact-method h4 {
  color: var(--primary-light);
  margin-bottom: 1rem;
}

.contact-method p {
  margin-bottom: 0;
  line-height: 1.6;
}

/* Legal Pages Mobile Responsiveness */
@media (max-width: 768px) {
  .legal-header h1 {
    font-size: 2.5rem;
  }

  .legal-subtitle {
    font-size: 1.1rem;
  }

  .legal-content {
    padding: 2rem 1.5rem;
  }

  .legal-section h2 {
    font-size: 1.5rem;
  }

  .legal-section h3 {
    font-size: 1.1rem;
  }

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

  .legal-container {
    padding: 0 1rem;
  }
}

/* ===== ADDITIONAL CSS CLASSES FOR INLINE STYLES ===== */

/* Hero Section Classes */
.hero-badge-container {
  display: none;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  padding: 0.5rem 1.5rem;
  margin-bottom: 2rem;
}

.hero-badge-text {
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
}

/* EHR Section Classes */
.ehr-description {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.015em;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI",
    sans-serif;
}

/* Product Section Classes */
.product-grid {
  max-width: 1000px;
  margin: 3rem auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.product-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  text-align: left;
  transition: all 0.3s ease;
}

.product-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.product-card-icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 1rem;
}

.product-icon {
  width: 32px;
  height: 32px;
  color: #2f40ff;
  stroke-width: 1.5;
}

.product-card-title {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: white;
  font-weight: 600;
}

.product-card-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.product-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-card-list-item {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.product-card-list-item:last-child {
  margin-bottom: 0;
}

/* Problems & Solutions Section Classes */
.problems-container {
  max-width: 1000px;
  margin: 0 auto;
}

.problem-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
}

.problem-icon-container {
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.problem-icon-red {
  background: rgba(239, 68, 68, 0.1);
}

.problem-icon-yellow {
  background: rgba(245, 158, 11, 0.1);
}

.problem-icon-blue {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.problem-icon-green {
  background: rgba(34, 197, 94, 0.1);
}

.problem-icon {
  width: 32px;
  height: 32px;
}

.problem-icon-red-color {
  color: #ef4444;
}

.problem-icon-yellow-color {
  color: #f59e0b;
}

.problem-icon-blue-color {
  color: #3b82f6;
}

.problem-icon-green-color {
  color: #22c55e;
}

.problem-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.problem-description {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.problem-solution {
  color: var(--primary);
  font-weight: 600;
}

/* Revolutionary Integration Section Classes */
.integration-badge-container {
  display: none;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  padding: 0.5rem 1.5rem;
  margin-bottom: 2rem;
}

.integration-title {
  font-size: 3.5rem;
  font-weight: 300;
  color: white;
  margin: 0 0 1.5rem 0;
  line-height: 1.2;
}

.integration-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin: 0 auto 4rem auto;
  max-width: 600px;
  line-height: 1.6;
}

.integration-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.integration-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 2rem;
  text-align: left;
  position: relative;
  transition: all 0.3s ease;
}

.integration-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.integration-step-number {
  width: 76px;
  height: 32px;
  background: linear-gradient(135deg, #2f40ff 0%, #5c6cff 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  /* margin-right: 1rem; */
}

.ehr-status-indicator {
  width: 8px;
  height: 8px;
  background: #2f40ff;
  border-radius: 50%;
  margin-right: 0.5rem;
}

.integration-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.integration-card-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
}

.integration-card-demo {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 1.5rem;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Connection Status Styles */
.connection-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.connection-status-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.connection-indicator {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
}

.connection-label {
  color: white;
  font-weight: 500;
  font-size: 0.875rem;
}

.connection-status-text {
  color: #22c55e;
  font-size: 0.8rem;
  font-weight: 500;
}

.ehr-connection-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
}

.ehr-connection-item:last-child {
  margin-bottom: 0;
}

.ehr-connection-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ehr-status-indicator {
  width: 8px;
  height: 8px;
  background: #2f40ff;
  border-radius: 50%;
  margin-right: 0.5rem;
}

.ehr-name {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
}

.ehr-check-icon {
  width: 14px;
  height: 14px;
  color: #22c55e;
}

/* AI Learning Styles */
.ai-learning-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.ai-learning-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ai-learning-indicator {
  width: 12px;
  height: 12px;
  background: #2f40ff;
  border-radius: 50%;
  margin-right: 0.75rem;
  animation: pulse 2s infinite;
}

.ai-learning-label {
  color: white;
  font-weight: 500;
  font-size: 0.875rem;
}

.ai-learning-status-text {
  color: #2f40ff;
  font-weight: 600;
}

.ai-progress-container {
  background: rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.ai-progress-bars {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 0.75rem;
}

.ai-progress-bar {
  border-radius: 1px;
  animation: pulse 1.5s infinite;
}

.ai-progress-bar-1 {
  width: 4px;
  height: 12px;
  background: #2f40ff;
  animation: progress-wave 2s ease-in-out infinite;
}

.ai-progress-bar-2 {
  width: 4px;
  height: 18px;
  background: #5c6cff;
  animation: progress-wave 2s ease-in-out infinite 0.2s;
}

.ai-progress-bar-3 {
  width: 4px;
  height: 15px;
  background: #2f40ff;
  animation: progress-wave 2s ease-in-out infinite 0.4s;
}

.ai-progress-bar-4 {
  width: 4px;
  height: 22px;
  background: #5c6cff;
  animation: progress-wave 2s ease-in-out infinite 0.6s;
}

.ai-progress-bar-5 {
  width: 4px;
  height: 16px;
  background: #2f40ff;
  animation: progress-wave 2s ease-in-out infinite 0.8s;
}

.ai-progress-title {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.ai-progress-subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
}

.ai-analysis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.ai-analysis-item {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  padding: 0.5rem;
  text-align: center;
}

.ai-analysis-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
}

/* Dashboard Styles */
.dashboard-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.dashboard-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dashboard-indicator {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
}

.dashboard-label {
  color: white;
  font-weight: 500;
  font-size: 0.875rem;
}

.dashboard-metric {
  color: #22c55e;
  font-size: 0.8rem;
  font-weight: 500;
}

.dashboard-metric-card {
  background: rgba(34, 197, 94, 0.1);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.dashboard-metric-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.dashboard-metric-label {
  color: white;
  font-weight: 500;
  font-size: 0.875rem;
}

.dashboard-metric-value {
  color: #22c55e;
  font-weight: 600;
  font-size: 1rem;
}

.dashboard-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.dashboard-progress-fill {
  width: 98%;
  height: 100%;
  background: linear-gradient(90deg, #22c55e, #10b981);
  border-radius: 3px;
  transition: width 2s ease;
}

.dashboard-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.dashboard-stat-item {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  padding: 0.5rem;
  text-align: center;
}

.dashboard-stat-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
}

/* Modular Platform Section Classes */
.modular-badge-container {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  padding: 0.5rem 1.5rem;
  margin-bottom: 2rem;
}

.modular-title {
  font-size: 3rem;
  font-weight: 400;
  color: white;
  margin: 0 0 1.5rem 0;
  line-height: 1.2;
}

.modular-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin: 0 auto 4rem auto;
  max-width: 600px;
  line-height: 1.6;
}

.modular-row {
  display: flex;
  max-width: 1000px;
  margin: 0 auto;
}

.modular-item {
  flex: 1;
  padding: 2.5rem 2rem;
  text-align: left;
}

.modular-separator {
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

.modular-icon {
  margin-bottom: 1.5rem;
}

.modular-icon-style {
  width: 40px;
  height: 40px;
  color: white;
}

.modular-item-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
}

.modular-item-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* AI Demo Section Classes */
.ai-demo-grid {
  margin: 3rem auto;
}

.ai-demo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.ai-demo-card {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(15px);
  border: 1px solid rgb(246 246 246 / 17%);
  border-radius: 20px;
  padding: 2rem;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.ai-demo-card-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  min-height: 180px;
  position: relative;
  background: #0f1829;
  border-radius: 10px;
}

.ai-demo-audio-container {
  position: relative;
  width: 100%;
  height: 80px;
}

.ai-demo-soundwave {
  width: 100%;
  display: flex;
  align-items: center;
  height: 80px;
  cursor: pointer;
  gap: 2px;
  padding-left: 100px;
}

.ai-demo-play-button {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2f40ff 0%, #5c70ff 100%);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 20;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.ai-demo-play-icon {
  width: 0;
  height: 0;
  border-left: 18px solid white;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
}

.ai-demo-pause-icon {
  display: none;
}

.ai-demo-pause-bar {
  width: 6px;
  height: 20px;
  background: white;
  margin-right: 4px;
  display: inline-block;
}

.ai-demo-pause-bar:last-child {
  margin-right: 0;
}

.ai-demo-audio-hidden {
  display: none;
}

.ai-demo-placeholder {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  min-height: 180px;
  position: relative;
}

.ai-demo-placeholder-content {
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
}

.ai-demo-placeholder-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.ai-demo-placeholder-text {
  font-size: 0.9rem;
}

.ai-demo-text-content {
  text-align: left;
}

.ai-demo-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: white;
  font-weight: 500;
}

.ai-demo-card-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.6;
}

.ai-demo-full-card {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(15px);
  border: 1px solid rgb(246 246 246 / 17%);
  border-radius: 20px;
  padding: 2.5rem;
  min-height: 300px;
  display: flex;
  align-items: center;
  gap: 3rem;
  position: relative;
  overflow: hidden;
}

.ai-demo-full-card.col {
  flex-direction: column;
  align-items: normal;
}

.ai-demo-full-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ai-demo-full-title {
  font-size: 1.75rem;
  color: white;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.ai-demo-full-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.7;
}

.ai-demo-full-placeholder {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  position: relative;
}

.ai-demo-full-placeholder-content {
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
}

.ai-demo-full-placeholder-icon {
  font-size: 4rem;
  margin-bottom: 0.5rem;
}

.ai-demo-full-placeholder-text {
  font-size: 1rem;
}

/* Trust Section Classes */
.trust-title {
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: 1rem;
  line-height: 1.2;
  /* background: linear-gradient(135deg, #ffffff 0%, #8b5cf6 100%); */
  /* -webkit-background-clip: text; */
  /* -webkit-text-fill-color: transparent; */
}

.trust-subtitle {
  color: var(--text-secondary);
  font-size: 1.25rem;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer Classes - handled by main footer styles above */

/* Center alignment utilities */
.text-center {
  text-align: center;
}

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

/* Mobile Overflow Prevention */
@media (max-width: 768px) {
  body {
    max-width: 100vw;
    overflow-x: hidden;
  }

  body {
    position: relative;
    overflow-x: hidden !important;
  }

  /* Prevent any animations from causing overflow */
  .cosmic-bg,
  .particles {
    overflow: hidden;
    max-width: 100vw;
  }
}

/* CTA Section specific classes */
.primary-button-large {
  font-size: 1.25rem;
  padding: 1.5rem 3rem;
}

.cta-disclaimer {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Testimonials avatar styles */
.testimonial-avatar-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

/* Trust badge icon and text styles */
.trust-badge-icon {
  width: 48px;
  height: 48px;
}

.trust-badge-icon-primary {
  color: var(--primary);
}

.trust-badge-icon-accent {
  color: var(--accent);
}

.trust-badge-icon-success {
  color: var(--success);
}

.trust-badge-icon-primary-light {
  color: var(--primary-light);
}

.trust-badge-title {
  font-size: 1.125rem;
}

.trust-badge-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Modal icon styles */
.modal-icon-24 {
  width: 24px;
  height: 24px;
}

.modal-icon-20 {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

/* Section padding utilities */
.section-padding-6rem {
  padding: 6rem 0;
}

.section-position-relative {
  position: relative;
}

.modal-hidden {
  display: none;
}

/* Agent Workflow Interface */
.agent-workflow-container {
  flex: 1;
  min-height: 400px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
}

.workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.step-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  margin: 0.25rem 0;
}

.step-arrow {
  width: 24px;
  height: 24px;
  color: rgba(47, 64, 255, 0.6);
  transition: color 0.3s ease;
}

.workflow-step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  opacity: 0.7;
  cursor: pointer;
}

.workflow-step.active {
  background: rgba(47, 64, 255, 0.12);
  border-color: rgba(47, 64, 255, 0.3);
  opacity: 1;
}

.workflow-step:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.workflow-step.active:hover {
  background: rgba(47, 64, 255, 0.15);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0;
}

.step-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(47, 64, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2f40ff;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.workflow-step.active .step-icon {
  background: rgba(47, 64, 255, 0.2);
  color: #5c70ff;
}

.step-info {
  flex: 1;
  min-width: 0;
}

.step-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.25rem;
  transition: all 0.3s ease;
}

.workflow-step.active .step-title {
  color: rgba(255, 255, 255, 0.95);
}

.step-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.workflow-step.active .step-status {
  color: rgba(255, 255, 255, 0.7);
}

.status-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.status-indicator.active {
  background: #10b981;
  animation: pulse 2s infinite;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
}

/* Chat Interface for Active Step */
.workflow-chat-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
  min-height: 300px;
}

.chat-unified-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
}

.chat-header {
  padding: 1.5rem 1.5rem 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.5rem;
}

.chat-subtitle {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.chat-messages {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 1rem 1.5rem 1.5rem 1.5rem;
  max-height: 300px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(47, 64, 255, 0.3) transparent;
  position: relative;
}

.chat-messages::-webkit-scrollbar {
  width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
  background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(47, 64, 255, 0.3);
  border-radius: 2px;
}

/* Timeline connecting line */
.chat-messages::before {
  content: "";
  position: absolute;
  left: 2.25rem;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 2px;
  border-radius: 1px;
}

.chat-message {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem 0;
  position: relative;
  animation: slideIn 0.5s ease-out;
}

.chat-message:last-child {
  padding-bottom: 0;
}

.chat-message-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  border: 2px solid rgba(34, 197, 94, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  color: rgba(34, 197, 94, 1);
}

.chat-message-content {
  flex: 1;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.5;
  padding-top: 0.25rem;
}

.chat-message-time {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.25rem;
}

/* Different states for workflow steps */
.chat-message.completed .chat-message-icon {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 1);
}

.chat-message.processing .chat-message-icon {
  background: rgba(47, 64, 255, 0.2);
  border-color: rgba(47, 64, 255, 1);
  color: rgba(47, 64, 255, 1);
  animation: pulse 2s infinite;
}

.chat-message.pending .chat-message-icon {
  background: rgba(156, 163, 175, 0.1);
  border-color: rgba(156, 163, 175, 0.5);
  color: rgba(156, 163, 175, 0.7);
}

/* Hover effects for timeline items */
.chat-message:hover {
  transform: translateX(2px);
  transition: transform 0.2s ease;
}

.chat-message:hover .chat-message-content {
  color: rgba(255, 255, 255, 1);
}

.chat-message:hover .chat-message-icon {
  transform: scale(1.05);
  transition: transform 0.2s ease;
}

/* Enhanced animation for processing items */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

/* Hide step activity from sidebar - will be shown in chat interface */
.step-activity {
  display: none;
}

.workflow-progress {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(47, 64, 255, 0.9) 0%,
    rgba(92, 112, 255, 0.9) 100%
  );
  border-radius: 3px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
  position: relative;
}

.progress-fill::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2));
  animation: shimmer 2s infinite;
}

.progress-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  font-weight: 500;
}

@keyframes shimmer {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Mobile responsiveness for workflow */
@media (max-width: 768px) {
  .ai-demo-full-card.col {
    padding: 2.5rem 0.5rem !important;
  }

  .ai-demo-full-card.col .ai-demo-full-text {
    padding: 0rem 2.5rem !important;
  }

  .agent-workflow-container {
    min-height: 400px;
    padding: 1.5rem;
    gap: 1.5rem;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .workflow-steps {
    flex-direction: row;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
  }

  .step-separator {
    height: auto;
    margin: 0;
    width: 20px;
    flex-shrink: 0;
  }

  .step-arrow {
    transform: rotate(90deg);
    width: 16px;
    height: 16px;
  }

  .workflow-step {
    flex: 0 0 200px;
    opacity: 1;
    padding: 0.75rem;
  }

  .step-header {
    gap: 0.5rem;
    margin-bottom: 0;
  }

  .step-icon {
    width: 28px;
    height: 28px;
  }

  .step-title {
    font-size: 0.8rem;
  }

  .step-status {
    font-size: 0.7rem;
  }

  .chat-header {
    padding: 1rem 1rem 0.75rem 1rem;
  }

  .chat-title {
    font-size: 1rem;
  }

  .chat-subtitle {
    font-size: 0.8rem;
  }

  .chat-messages {
    padding: 0.75rem 1rem 1rem 1rem;
    max-height: 250px;
  }

  .chat-messages::before {
    left: 1.875rem;
  }

  .chat-message {
    padding: 0.5rem 0;
    gap: 0.75rem;
  }

  .chat-message-icon {
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
  }

  .chat-message-content {
    font-size: 0.85rem;
  }

  .chat-message-time {
    font-size: 0.7rem;
  }

  .progress-label {
    font-size: 0.8rem;
  }
}

/* Value Proposition Section Styles */
.value-prop-section {
  padding: 6rem 0;
}

.value-prop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.value-prop-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.value-prop-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.08) 0%,
    rgba(59, 130, 246, 0.05) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 20px;
}

.value-prop-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: 0 25px 50px rgba(59, 130, 246, 0.1);
}

.value-prop-card:hover::before {
  opacity: 1;
}

.value-prop-visual {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.value-prop-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.value-icon {
  width: 32px;
  height: 32px;
  color: #2f40ff;
  stroke-width: 1.5;
}

.value-illustration {
  max-width: 120px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(59, 130, 246, 0.2));
}

.value-prop-content {
  position: relative;
  z-index: 1;
}

.value-prop-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.value-prop-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Responsive Styles for Value Proposition */
@media (max-width: 1024px) {
  .value-prop-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
  }

  .value-prop-card {
    padding: 1.5rem;
  }

  .value-illustration {
    max-width: 100px;
  }
}

@media (max-width: 768px) {
  .value-prop-section {
    padding: 4rem 0;
  }

  .value-prop-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem;
  }

  .value-prop-card {
    padding: 1.5rem;
  }

  .value-prop-title {
    font-size: 1.25rem;
  }

  .value-prop-description {
    font-size: 0.9rem;
  }

  .value-illustration {
    max-width: 90px;
  }
}

@media (max-width: 480px) {
  .value-prop-card {
    padding: 1.25rem;
  }

  .value-prop-title {
    font-size: 1.125rem;
  }

  .value-prop-description {
    font-size: 0.85rem;
  }

  .value-illustration {
    max-width: 80px;
  }

  .value-prop-visual {
    margin-bottom: 1rem;
  }
}

/* Tablet and Large Mobile - 2 Column Modular Layout */
@media (max-width: 1024px) and (min-width: 769px) {
  .modular-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 100%;
    margin: 0;
  }

  .modular-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
  }

  .modular-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
  }

  .modular-separator {
    display: none;
  }

  .modular-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
  }

  .modular-icon-style {
    width: 44px;
    height: 44px;
    color: var(--primary-light);
  }

  /* Practice Types for Tablet - Keep Slider */
  .practice-types {
    padding: 5rem 2rem;
    overflow: hidden;
  }

  .practice-slider {
    display: flex;
    gap: 2rem;
    animation: practiceSlide 15s linear infinite;
  }

  .practice-card {
    flex: 0 0 320px;
    width: 320px;
    min-width: 320px;
    max-width: 320px;
    padding: 2.5rem 2rem;
    white-space: normal;
    overflow: hidden;
  }

  .practice-name {
    font-size: 1.2rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .practice-desc {
    font-size: 0.95rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  /* Heading size reductions for mobile */
  h1 {
    font-size: 3.5rem;
  }
  .section-title {
    font-size: 2.25rem;
  }
  .integration-title {
    font-size: 2.75rem;
  }
  .modular-title {
    font-size: 1.875rem;
  }
  .testimonials-title {
    font-size: 2.75rem;
  }
  .cta-content h2 {
    font-size: 2.75rem;
  }
  .trust-title {
    font-size: 2.25rem;
  }
  .trust-container h2 {
    font-size: 2.25rem;
  }
  .ai-demo-full-title {
    font-size: 1.5rem;
  }
  .ai-demo-card-title {
    font-size: 1.125rem;
  }
  .product-card-title {
    font-size: 1.25rem;
  }
  .feature-title {
    font-size: 1.25rem;
  }
  .modular-item-title {
    font-size: 1.125rem;
  }
  .integration-card-title {
    font-size: 1rem;
  }
  .problem-title {
    font-size: 1.125rem;
  }

  /* Primary button size reductions for mobile */
  .primary-button {
    padding: 1rem 1.75rem;
    font-size: 1rem;
  }
  .primary-button-large {
    font-size: 1.125rem;
    padding: 1.25rem 2rem;
  }
  .cta-button {
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
  }
  .secondary-button {
    font-size: 1rem;
    padding: 1rem 0;
  }

  /* Navigation and layout adjustments */
  .nav-links {
    display: none;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .footer-minimal {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    padding: 0 1rem;
  }

  .footer-nav {
    flex-direction: column;
    gap: 1.5rem;
    order: 2;
    justify-content: center;
  }

  .footer-legal {
    flex-direction: column;
    gap: 1.5rem;
    order: 3;
  }

  .footer-brand {
    order: 1;
  }
  /* Practice Types Mobile Slider Fixes */
  .practice-types {
    padding: 4rem 0rem !important;
    overflow: hidden;
  }

  .practice-slider-wrapper {
    overflow: hidden;
    margin-top: 2rem;
  }

  .practice-slider {
    display: flex;
    gap: 1.5rem;
    animation: practiceSlide 30s linear infinite;
  }

  .practice-card {
    flex: 0 0 280px;
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    padding: 2rem 1.5rem;
    margin: 0;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
    white-space: normal;
    overflow: hidden;
  }

  .practice-card:hover {
    transform: scale(1.03);
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.12);
  }

  .practice-name {
    font-size: 1.125rem;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin-bottom: 0.75rem;
    font-weight: 600;
  }

  .practice-desc {
    font-size: 0.9rem;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    color: var(--text-secondary);
    margin: 0;
  }

  .practice-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
  }

  .practice-icon i {
    color: var(--primary-light);
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
  .integration-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  }
  .ai-demo-row {
    grid-template-columns: 1fr;
  }
  .ai-demo-full-card {
    flex-direction: column;
    gap: 2rem;
  }
  /* Modular section mobile improvements */
  .modular-row {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 100%;
    margin: 0;
  }

  .modular-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
  }

  .modular-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
  }

  .modular-separator {
    display: none;
  }

  .modular-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
  }

  .modular-icon-style {
    width: 48px;
    height: 48px;
    color: var(--primary-light);
  }

  .modular-item-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }

  .modular-item-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
  }
  .footer-minimal {
    flex-direction: column;
    gap: 2rem;
    padding: 0 1rem;
    text-align: center;
  }

  .footer-nav {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-legal {
    flex-direction: column;
    gap: 1.5rem;
  }

  /* Trust section mobile styles */
  .trust-section {
    padding: 4rem 1rem;
  }
  .trust-container p {
    font-size: 1.125rem;
    margin-bottom: 3rem;
  }
  .trust-badges {
    flex-direction: row;
    margin-top: 2rem;
    max-width: 100%;
    gap: 1rem;
    justify-content: center;
    align-items: stretch;
  }
  .trust-badge {
    padding: 1.5rem 1rem;
    min-width: auto;
    margin: 0;
    flex: 1;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .badge-icon {
    margin-bottom: 1rem;
  }
  .badge-icon img {
    width: 120px !important;
    height: 60px !important;
    object-fit: contain;
  }
  .trust-badge strong {
    font-size: 1rem;
  }

  /* Hero section mobile improvements */
  .hero-subtitle {
    font-size: 1.125rem;
  }
  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  /* Section subtitle adjustments */
  .section-subtitle {
    font-size: 1.125rem;
  }
  .integration-subtitle {
    font-size: 1rem;
  }
  .modular-subtitle {
    font-size: 1rem;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  /* Further reduce heading sizes for very small screens */
  h1 {
    font-size: 3.5rem;
  }
  .section-title {
    font-size: 2.25rem;
  }
  .integration-title {
    font-size: 2.25rem;
  }
  .modular-title {
    font-size: 2.5rem;
  }
  .testimonials-title {
    font-size: 2.25rem;
  }
  .cta-content h2 {
    font-size: 2.25rem;
  }
  .trust-title {
    font-size: 2.25rem;
  }
  .trust-container h2 {
    font-size: 2.25rem;
  }

  /* Make buttons even smaller and more thumb-friendly */
  .primary-button {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
    min-height: 44px; /* Minimum touch target size */
  }
  .primary-button-large {
    font-size: 1rem;
    padding: 1rem 1.75rem;
    min-height: 44px;
  }
  .cta-button {
    /* padding: 0.5rem 1rem;  */
    font-size: 0.85rem;
    min-height: 44px;
  }

  /* Improve spacing and padding for small screens */
  .nav-container {
    padding: 0 1rem;
  }
  .section-full-width .section-content {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .hero {
    padding: 8rem 0 4rem;
  }
  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
  }
  .section-subtitle {
    font-size: 1rem;
  }
  .integration-subtitle {
    font-size: 0.9rem;
  }
  .modular-subtitle {
    font-size: 0.9rem;
  }

  /* Further modular improvements for very small screens */
  .modular-item {
    padding: 1.5rem 1rem;
    margin-bottom: 1rem;
  }

  .modular-icon-style {
    width: 40px;
    height: 40px;
  }

  .modular-item-title {
    font-size: 1.125rem;
  }

  .modular-item-description {
    font-size: 0.9rem;
  }

  /* Practice Types for very small screens - Keep Slider */
  .practice-types {
    padding: 3rem 0.5rem;
    overflow: hidden;
  }

  .practice-slider {
    display: flex;
    gap: 1rem;
    animation: practiceSlide 20s linear infinite;
  }

  .practice-card {
    flex: 0 0 250px;
    width: 250px;
    min-width: 250px;
    max-width: 250px;
    padding: 1.5rem 1rem;
    white-space: normal;
    overflow: hidden;
  }

  .practice-name {
    font-size: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.2;
  }

  .practice-desc {
    font-size: 0.85rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
  }

  .practice-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
  }

  .px-2 {
    padding: 0rem 2rem;
  }

  .integration-card-header {
    flex-direction: column !important;
  }

  .integration-step-number {
    width: 32px;
    height: 32px;
  }

  .nav-cta .primary-button {
    font-size: 0.775rem;
  }
}

@media (max-width: 375px) {
  h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 0.8rem;
    line-height: 1.6;
  }
}

/* Legal pages: headings and links in blue */
.legal-page h1,
.legal-page h2,
.legal-page h3,
.legal-page h4,
.legal-page a,
.legal-page .legal-updated,
.legal-page .legal-subtitle,
.legal-page .footer-legal a,
.legal-page .footer-nav a {
  color: #2f40ff !important;
}
