/* DeepMeds HTML Website Styles */
/* Converted from React/Tailwind to vanilla CSS */

/* CSS Variables for Design System */
:root {
  /* Medical-clinical color system */
  --background: hsl(0 0% 100%);
  --foreground: hsl(220 15% 12%);

  --card: hsl(0 0% 100%);
  --card-foreground: hsl(220 15% 12%);

  --popover: hsl(0 0% 100%);
  --popover-foreground: hsl(220 15% 12%);

  /* Medical blue primary */
  --primary: hsl(212 100% 50%);
  --primary-foreground: hsl(0 0% 100%);
  --primary-hover: hsl(212 100% 45%);

  /* Charcoal secondary */
  --secondary: hsl(220 15% 25%);
  --secondary-foreground: hsl(0 0% 100%);

  /* Teal accent */
  --accent: hsl(180 65% 45%);
  --accent-foreground: hsl(0 0% 100%);

  --muted: hsl(220 15% 96%);
  --muted-foreground: hsl(220 10% 45%);

  --destructive: hsl(0 84.2% 60.2%);
  --destructive-foreground: hsl(0 0% 100%);

  --border: hsl(220 15% 88%);
  --input: hsl(220 15% 88%);
  --ring: hsl(212 100% 50%);

  --radius: 0.5rem;

  /* Medical gradients */
  --gradient-medical: linear-gradient(135deg, hsl(212 100% 50%), hsl(180 65% 45%));
  --gradient-subtle: linear-gradient(180deg, hsl(0 0% 100%), hsl(220 15% 98%));
  --gradient-dark: linear-gradient(135deg, hsl(220 15% 12%), hsl(220 15% 18%));

  /* Professional shadows */
  --shadow-sm: 0 1px 2px 0 hsl(220 15% 12% / 0.05);
  --shadow-md: 0 4px 6px -1px hsl(220 15% 12% / 0.1), 0 2px 4px -1px hsl(220 15% 12% / 0.06);
  --shadow-lg: 0 10px 15px -3px hsl(220 15% 12% / 0.1), 0 4px 6px -2px hsl(220 15% 12% / 0.05);
  --shadow-xl: 0 20px 25px -5px hsl(220 15% 12% / 0.1), 0 10px 10px -5px hsl(220 15% 12% / 0.04);
  
  /* Medical accent glow */
  --glow-primary: 0 0 30px hsl(212 100% 50% / 0.3);
  --glow-accent: 0 0 30px hsl(180 65% 45% / 0.3);

  /* Smooth transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark mode variables */
.dark {
  --background: hsl(220 15% 12%);
  --foreground: hsl(0 0% 98%);

  --card: hsl(220 15% 15%);
  --card-foreground: hsl(0 0% 98%);

  --popover: hsl(220 15% 15%);
  --popover-foreground: hsl(0 0% 98%);

  --primary: hsl(212 100% 55%);
  --primary-foreground: hsl(0 0% 100%);
  --primary-hover: hsl(212 100% 60%);

  --secondary: hsl(220 15% 20%);
  --secondary-foreground: hsl(0 0% 98%);

  --accent: hsl(180 65% 50%);
  --accent-foreground: hsl(0 0% 100%);

  --muted: hsl(220 15% 18%);
  --muted-foreground: hsl(220 10% 65%);

  --destructive: hsl(0 62.8% 50.6%);
  --destructive-foreground: hsl(0 0% 98%);

  --border: hsl(220 15% 20%);
  --input: hsl(220 15% 20%);
  --ring: hsl(212 100% 55%);
}

/* Base styles */
* {
  box-sizing: border-box;
  border-color: var(--border);
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  font-weight: 400;
}

/* Enhanced typography hierarchy */
h1 {
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

h5 {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

h6 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

p {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  font-weight: 400;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 500;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 1.5;
  font-weight: 500;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 1.4;
  font-weight: 600;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 1.3;
  font-weight: 700;
}

.text-5xl {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 800;
}

/* Remove duplicate h2 - already defined above */

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

p {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

/* Improved spacing system */
.section-spacing {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .section-spacing {
    padding: 6rem 0;
  }
}

@media (min-width: 1024px) {
  .section-spacing {
    padding: 8rem 0;
  }
}

h1, h2, h3, h4, h5, h6, button {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  margin: 0;
}

/* Utility classes */
.gradient-medical {
  background: var(--gradient-medical);
}

.gradient-subtle {
  background: var(--gradient-subtle);
}

.gradient-dark {
  background: var(--gradient-dark);
}

.shadow-medical-sm {
  box-shadow: var(--shadow-sm);
}

.shadow-medical-md {
  box-shadow: var(--shadow-md);
}

.shadow-medical-lg {
  box-shadow: var(--shadow-lg);
}

.shadow-medical-xl {
  box-shadow: var(--shadow-xl);
}

.glow-primary {
  box-shadow: var(--glow-primary);
}

.glow-accent {
  box-shadow: var(--glow-accent);
}

.transition-smooth {
  transition: var(--transition-smooth);
}

/* Layout utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.min-h-screen {
  min-height: 100vh;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

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

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.top-0 {
  top: 0;
}

.left-0 {
  left: 0;
}

.right-0 {
  right: 0;
}

.bottom-0 {
  bottom: 0;
}

.z-50 {
  z-index: 50;
}

/* Spacing */
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-12 { padding: 3rem; }

.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }

.pt-16 { padding-top: 4rem; }
.pt-24 { padding-top: 6rem; }
.pb-16 { padding-bottom: 4rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-20 { margin-bottom: 5rem; }

.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-16 { margin-top: 4rem; }

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Grid */
.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* Responsive grid */
@media (min-width: 768px) {
  .md\\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .md\\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .md\\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .md\\:flex-row {
    flex-direction: row;
  }
  .md\\:mt-0 {
    margin-top: 0;
  }
}

@media (min-width: 1024px) {
  .lg\\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .lg\\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .lg\\:flex {
    display: flex;
  }
  .lg\\:hidden {
    display: none;
  }
  .lg\\:col-span-2 {
    grid-column: span 2 / span 2;
  }
}

/* Typography */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }

.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

/* Colors */
.text-primary { color: var(--primary); }
.text-primary-foreground { color: var(--primary-foreground); }
.text-secondary { color: var(--secondary); }
.text-secondary-foreground { color: var(--secondary-foreground); }
.text-accent { color: var(--accent); }
.text-accent-foreground { color: var(--accent-foreground); }
.text-muted-foreground { color: var(--muted-foreground); }
.text-foreground { color: var(--foreground); }

.bg-background { background-color: var(--background); }
.bg-card { background-color: var(--card); }
.bg-primary { background-color: var(--primary); }
.bg-primary-foreground { background-color: var(--primary-foreground); }
.bg-secondary { background-color: var(--secondary); }
.bg-secondary-foreground { background-color: var(--secondary-foreground); }
.bg-accent { background-color: var(--accent); }
.bg-accent-foreground { background-color: var(--accent-foreground); }
.bg-muted { background-color: var(--muted); }

.bg-primary\\/10 { background-color: hsl(212 100% 50% / 0.1); }
.bg-accent\\/10 { background-color: hsl(180 65% 45% / 0.1); }

/* Borders */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-t { border-top-width: 1px; }
.border-border { border-color: var(--border); }
.border-primary { border-color: var(--primary); }

.rounded-md { border-radius: calc(var(--radius) - 2px); }
.rounded-lg { border-radius: var(--radius); }
.rounded-full { border-radius: 9999px; }
.rounded-2xl { border-radius: 1rem; }

/* Sizing */
.w-full { width: 100%; }
.w-16 { width: 4rem; }
.w-24 { width: 6rem; }
.h-16 { height: 4rem; }
.h-24 { height: 6rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }

.aspect-square { aspect-ratio: 1 / 1; }

/* Display */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: var(--transition-smooth);
}

.nav-scrolled {
  background-color: hsl(0 0% 100% / 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.nav-transparent {
  background-color: transparent;
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 600;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.5rem 0.75rem !important;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.8rem !important;
  font-weight: 400 !important;
  text-decoration: none !important;
  transition: var(--transition-smooth);
  color: var(--muted-foreground) !important;
}

.nav-link:hover {
  color: var(--foreground) !important;
  background-color: var(--muted) !important;
}

.nav-link.active {
  color: var(--primary) !important;
  background-color: var(--muted) !important;
  font-weight: 500 !important;
}

.nav-cta {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.mobile-menu-btn {
  display: block;
  padding: 0.5rem;
  color: var(--foreground);
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu-link {
  padding: 0.5rem 0.75rem !important;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.8rem !important;
  font-weight: 400 !important;
  text-decoration: none !important;
  transition: var(--transition-smooth);
  color: var(--muted-foreground) !important;
}

.mobile-menu-link:hover {
  color: var(--foreground) !important;
  background-color: var(--muted) !important;
}

.mobile-menu-link.active {
  color: var(--primary) !important;
  background-color: var(--muted) !important;
  font-weight: 500 !important;
}

.mobile-menu-cta {
  padding-top: 0.5rem;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
  
  .nav-cta {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: none;
  }
  
  .mobile-menu {
    display: none !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition-smooth);
  cursor: pointer;
  text-decoration: none;
  border: none;
  outline: none;
}

.btn:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.btn-sm {
  height: 2rem;
  padding: 0 0.75rem;
  font-size: 0.75rem;
}

.btn-md {
  height: 2.5rem;
  padding: 0 1rem;
}

.btn-lg {
  height: 3rem;
  padding: 0 2rem;
  font-size: 1rem;
  font-weight: 500;
}

.btn-xl {
  height: 3rem;
  padding: 0 2rem;
  font-size: 1.125rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

.btn-outline {
  border: 1px solid var(--border);
  background-color: transparent;
  color: var(--foreground);
}

.btn-outline:hover {
  background-color: var(--muted);
}

.btn-medical {
  background: var(--gradient-medical);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-md);
}

.btn-medical:hover {
  box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
  border: 1px solid var(--primary);
  background-color: transparent;
  color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-outline-foreground {
  border: 1px solid var(--primary-foreground);
  background-color: transparent;
  color: var(--primary-foreground);
}

.btn-outline-foreground:hover {
  background-color: var(--primary-foreground);
  color: var(--primary);
}

/* Cards */
.card {
  background-color: var(--card);
  color: var(--card-foreground);
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.card-lg {
  box-shadow: var(--shadow-lg);
  border-radius: 1.25rem;
}

.card-xl {
  box-shadow: var(--shadow-xl);
  border-radius: 1.5rem;
}

/* Enhanced card variants */
.card-gradient {
  background: linear-gradient(135deg, var(--card) 0%, hsl(var(--card) / 0.8) 100%);
  border: 1px solid hsl(var(--primary) / 0.2);
}

.card-feature {
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.card-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-medical);
}

.card-testimonial {
  padding: 2rem;
  border-left: 4px solid var(--primary);
  background: var(--muted);
  position: relative;
}

.card-testimonial::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.3;
  font-family: serif;
}

.card-stat {
  text-align: center;
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
}

.card-stat:hover {
  transform: translateY(-2px);
}

.card-stat::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-medical);
  border-radius: 2px;
}

/* Enhanced section styling */
.section-hero {
  background: linear-gradient(135deg, var(--background) 0%, var(--muted) 100%);
  position: relative;
  overflow: hidden;
}

.section-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, hsl(var(--primary) / 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, hsl(var(--accent) / 0.1) 0%, transparent 50%);
  pointer-events: none;
}

/* Enhanced button styles */
.btn-enhanced {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

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

/* Improved form styling */
.form-input-enhanced {
  transition: all 0.3s ease;
  border: 2px solid var(--border);
}

.form-input-enhanced:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
  transform: translateY(-1px);
}

/* Enhanced spacing utilities */
.space-y-enhanced > * + * {
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .space-y-enhanced > * + * {
    margin-top: 3rem;
  }
}

/* Improved visual hierarchy */
.text-gradient {
  background: var(--gradient-medical);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Enhanced hover effects */
.hover-lift {
  transition: all 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Better focus states for accessibility */
.focus-visible:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Bootstrap customizations */
.border-dashed {
  border: 2px dashed var(--border) !important;
}

.border-dashed:hover {
  border-color: var(--primary) !important;
}

/* Ensure Bootstrap cards work well with our design */
.card {
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Custom spacing for Bootstrap grid */
.g-4 > * {
  padding: 0.75rem;
}

/* Ensure equal height cards */
.h-100 {
  height: 100% !important;
}

/* Custom width for circular icons */
.w-16 {
  width: 4rem !important;
}

.h-16 {
  height: 4rem !important;
}

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.form-input {
  width: 100%;
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px solid var(--input);
  border-radius: calc(var(--radius) - 2px);
  background-color: var(--background);
  color: var(--foreground);
  font-size: 0.875rem;
  transition: var(--transition-smooth);
}

.form-input:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
}

.form-textarea {
  width: 100%;
  min-height: 5rem;
  padding: 0.75rem;
  border: 1px solid var(--input);
  border-radius: calc(var(--radius) - 2px);
  background-color: var(--background);
  color: var(--foreground);
  font-size: 0.875rem;
  font-family: inherit;
  resize: vertical;
  transition: var(--transition-smooth);
}

.form-textarea:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
}

.form-select {
  width: 100%;
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px solid var(--input);
  border-radius: calc(var(--radius) - 2px);
  background-color: var(--background);
  color: var(--foreground);
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.form-select:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
}

/* Hero section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 4rem;
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
  color: var(--primary-foreground);
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 900;
  margin-bottom: 2rem;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero p {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  margin-bottom: 2.5rem;
  max-width: 60rem;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  line-height: 1.6;
  opacity: 0.95;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 4rem;
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 4.5rem;
  }
  
  .hero p {
    font-size: 1.5rem;
  }
}

/* Trust badge */
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
}

.trust-badge:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

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

.trust-badge-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-foreground);
  white-space: nowrap;
}

/* Stat tile */
.stat-tile {
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.stat-tile:hover {
  box-shadow: var(--shadow-lg);
}

.stat-tile-accent {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.stat-tile-icon {
  margin-bottom: 1rem;
  color: var(--primary);
}

.stat-tile-stat {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.stat-tile-accent .stat-tile-stat {
  color: var(--accent-foreground);
}

.stat-tile-label {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.stat-tile-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* MRI Comparison */
.mri-comparison {
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
}

.mri-comparison-image {
  position: relative;
  aspect-ratio: 1 / 1;
  background-color: var(--secondary);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.mri-comparison-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease;
}

.mri-comparison-image img.hidden {
  opacity: 0;
}

.mri-comparison-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, var(--secondary), transparent);
  padding: 1.5rem;
}

.mri-comparison-caption h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.mri-comparison-caption p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.mri-comparison-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.mri-comparison-btn {
  padding: 0.75rem 1.5rem;
  border-radius: calc(var(--radius) - 2px);
  font-weight: 500;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  background-color: var(--muted);
  color: var(--muted-foreground);
}

.mri-comparison-btn:hover {
  background-color: hsl(var(--muted) / 0.8);
}

.mri-comparison-btn.active {
  background-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-md);
}

/* Impact strip */
.impact-strip {
  padding: 5rem 0;
  background: var(--gradient-medical);
  color: var(--primary-foreground);
}

.impact-item {
  padding: 2rem 1rem;
  border-radius: var(--radius);
  transition: var(--transition-smooth);
  height: 100%;
}

.impact-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.impact-item-icon {
  margin-bottom: 1rem;
}

.impact-item h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.impact-item p {
  font-size: 1.125rem;
}

@media (min-width: 768px) {
  .impact-strip-content {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Footer */
.footer {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.footer-section h4 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--foreground);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-bottom p {
  margin: 0;
}

.footer-disclaimer {
  margin-top: 1rem;
  font-size: 0.75rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .footer-bottom {
    flex-direction: row;
  }
  
  .footer-disclaimer {
    margin-top: 0;
  }
}

/* Responsive utilities */
@media (min-width: 640px) {
  .sm\\:hidden {
    display: none;
  }
}

@media (min-width: 768px) {
  .md\\:hidden {
    display: none;
  }
}

@media (min-width: 1024px) {
  .lg\\:hidden {
    display: none;
  }
}

/* Animation classes - Disabled */
.fade-in {
  opacity: 1;
  transform: none;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

.slide-in-left {
  opacity: 1;
  transform: none;
}

.slide-in-left.visible {
  opacity: 1;
  transform: none;
}

.slide-in-right {
  opacity: 1;
  transform: none;
}

.slide-in-right.visible {
  opacity: 1;
  transform: none;
}

.scale-in {
  opacity: 1;
  transform: none;
}

.scale-in.visible {
  opacity: 1;
  transform: none;
}

/* Pulse animation for CTAs */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.pulse {
  animation: pulse 2s infinite;
}

/* Hover animations */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Loading states */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Loading screen animation */
#loading-screen {
  transition: opacity 0.5s ease;
}

/* Scroll to top button */
#scroll-to-top {
  transition: all 0.3s ease;
}

#scroll-to-top:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.animate-spin {
  animation: spin 1s linear infinite;
}

/* Improved button states */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* Focus states for accessibility */
.btn:focus-visible,
.form-input:focus-visible,
.form-textarea:focus-visible,
.form-select:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

/* Smooth page transitions */
.page-transition {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.page-transition.loaded {
  opacity: 1;
  transform: translateY(0);
}

/* Improved mobile experience */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.125rem;
  }
  
  .stat-tile-stat {
    font-size: 2rem;
  }
  
  .impact-item h3 {
    font-size: 1.25rem;
  }
  
  .impact-item p {
    font-size: 1rem;
  }
}

/* Print styles */
@media print {
  .nav,
  .footer,
  .btn {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
}
