/* ReVive Hormone Therapy - Medical Design System */

:root {
  /* Foundation Colors */
  --bg-page: #FFF9F2;
  --bg-card: #FFFFFF;
  --bg-section: rgba(255, 244, 232, 0.6);
  --bg-overlay: rgba(255, 255, 255, 0.95);
  
  /* Medical Teal Accent */
  --accent-teal-400: #14B8A6;
  --accent-teal-500: #0D9488;
  --accent-teal-600: #0F766E;
  --accent-teal-200: #99F6E4;
  --accent-teal-100: #CCFBF1;
  
  /* Text Colors */
  --text-primary: #232323;
  --text-secondary: #353535;
  --text-muted: #6B7280;
  
  /* Borders */
  --border-primary: #999999;
  --border-input: #999999;
  --border-input-focus: #4D4D4D;
  --border-light: rgba(153, 153, 153, 0.3);
  
  /* Glass Effect */
  --glass-bg: rgba(255, 255, 255, 0.2);
  --glass-border: rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.App {
  min-height: 100vh;
}

/* Typography System */
.heading-hero {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.heading-1 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.heading-2 {
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  line-height: 1.3;
  font-weight: 600;
  color: var(--text-primary);
}

.heading-3 {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  line-height: 1.4;
  font-weight: 500;
  color: var(--text-primary);
}

.body-large {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.6;
  font-weight: 400;
  color: var(--text-secondary);
}

.body-medium {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
  color: var(--text-secondary);
}

.body-small {
  font-size: 0.875rem;
  line-height: 1.4;
  font-weight: 400;
  color: var(--text-secondary);
}

/* Button Styles */
.btn-primary {
  background: var(--accent-teal-500);
  color: white;
  border: none;
  border-radius: 2rem;
  padding: 0.875rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  gap: 0.5rem;
}

.btn-primary:hover {
  background: var(--accent-teal-600);
  transform: scale(1.02);
  box-shadow: 0 8px 16px rgba(20, 184, 166, 0.25);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-teal-600);
  border: 2px solid var(--accent-teal-500);
  border-radius: 2rem;
  padding: 0.875rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--accent-teal-500);
  color: white;
  transform: scale(1.02);
}

/* Card Styles */
.medical-card {
  background: var(--bg-card);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.medical-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

/* Container System */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2.25rem;
  }
}

@media (min-width: 1280px) {
  .container {
    padding: 0 3rem;
  }
}

/* Spacing System */
.space-xs { margin: 0.5rem; }
.space-sm { margin: 1rem; }
.space-md { margin: 1.5rem; }
.space-lg { margin: 2.5rem; }
.space-xl { margin: 4rem; }
.space-2xl { margin: 6rem; }

.pad-xs { padding: 0.5rem; }
.pad-sm { padding: 1rem; }
.pad-md { padding: 1.5rem; }
.pad-lg { padding: 2.5rem; }
.pad-xl { padding: 4rem; }
.pad-2xl { padding: 6rem; }

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

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

.fade-in {
  animation: fadeIn 0.6s ease-in;
}

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

/* Responsive Grid */
.grid-responsive {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .grid-responsive {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-responsive {
    grid-template-columns: repeat(3, 1fr);
  }
}
