/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /* Updated font stack to match One Medical's modern typography */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #374151;
  background-color: #ffffff;
  font-size: 16px;
}

/* Enhanced heading typography hierarchy inspired by both sites */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: #111827;
  margin-bottom: 1rem;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Updated header with cleaner styling inspired by One Medical */
.header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 24px;
}

/* Updated logo styling to be more prominent like One Medical */
.logo h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #0f766e;
  letter-spacing: 0.02em;
}

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

/* Refined navigation styling for better hierarchy */
.nav-link {
  text-decoration: none;
  color: #6b7280;
  font-weight: 500;
  transition: all 0.2s ease;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
  color: #0f766e;
  background-color: #f0fdfa;
}

/* Main Content */
.main {
  min-height: calc(100vh - 160px);
}

/* Enhanced hero section with modern gradient and spacing like Calm Health */
.hero {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f0fdfa 0%, #ecfdf5 50%, #f0f9ff 100%);
  position: relative;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #0f766e;
  margin-bottom: 1.5rem;
  text-align: center;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #059669;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 500;
}

.hero-description {
  font-size: 1.125rem;
  color: #6b7280;
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Updated buttons with modern styling inspired by both sites */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
  text-align: center;
  font-size: 1rem;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: #0f766e;
  color: white;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.3);
}

.btn-primary:hover {
  background-color: #0d9488;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 118, 110, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: #0f766e;
  border: 2px solid #0f766e;
}

.btn-secondary:hover {
  background-color: #0f766e;
  color: white;
  transform: translateY(-2px);
}

/* Enhanced page sections with better spacing */
.page-section {
  padding: 5rem 0;
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  color: #0f766e;
  margin-bottom: 1.5rem;
  text-align: center;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.page-subtitle {
  font-size: 1.25rem;
  color: #6b7280;
  margin-bottom: 4rem;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
  line-height: 1.6;
}

/* Modern card-based content grid inspired by One Medical */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.content-block {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.content-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.content-block h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #0f766e;
  margin-bottom: 1rem;
}

.content-block p {
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.content-block ul {
  list-style: none;
  padding-left: 0;
}

.content-block li {
  color: #6b7280;
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
}

.content-block li::before {
  content: "✓";
  color: #059669;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0.75rem;
}

/* Enhanced services grid with modern card styling */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.service-card {
  background: white;
  padding: 2.5rem;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #0f766e;
  margin-bottom: 1rem;
}

.service-card p {
  color: #6b7280;
  line-height: 1.7;
}

/* Contact Content */
.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.contact-info h3,
.contact-form-section h3 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #0f766e;
  margin-bottom: 2rem;
}

.contact-item {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 0.75rem;
  border-left: 4px solid #0f766e;
}

.contact-item h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: #6b7280;
  line-height: 1.6;
}

.contact-link {
  color: #0f766e;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: #059669;
  text-decoration: underline;
}

.contact-note {
  background: #ecfdf5;
  padding: 2rem;
  border-radius: 0.75rem;
  border: 1px solid #a7f3d0;
  margin-top: 2rem;
}

.contact-note p {
  color: #065f46;
  margin: 0;
  font-weight: 500;
}

/* Enhanced compliance content styling */
.compliance-content {
  max-width: 900px;
  margin: 0 auto;
}

.compliance-notice,
.compliance-section {
  background: white;
  padding: 2.5rem;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.compliance-notice h3,
.compliance-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #0f766e;
  margin-bottom: 1.5rem;
}

.compliance-notice p,
.compliance-section p {
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.compliance-note {
  background: #fef3c7;
  padding: 2rem;
  border-radius: 0.75rem;
  border: 1px solid #fbbf24;
  text-align: center;
}

.compliance-note p {
  color: #92400e;
  font-style: italic;
  margin: 0;
  font-weight: 500;
}

/* Modern footer styling inspired by both sites */
.footer {
  background: linear-gradient(135deg, #0f766e 0%, #059669 100%);
  color: white;
  padding: 4rem 0 2rem;
  margin-top: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 2rem;
  align-items: start;
}

.footer-info h3 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.footer-info p {
  color: #a7f3d0;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

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

.footer-section h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: #a7f3d0;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s ease;
  font-size: 0.95rem;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #059669;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: #a7f3d0;
  font-size: 0.9rem;
}

/* Enhanced responsive design for better mobile experience */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .header .container {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 20px;
  }

  .nav {
    gap: 1rem;
  }

  .hero {
    padding: 4rem 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .page-section {
    padding: 4rem 0;
  }

  .page-title {
    font-size: 2.25rem;
  }

  .content-grid,
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .founder-content {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
  }

  .founder-image {
    flex: none;
    align-self: center;
  }

  .founder-image img {
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .page-title {
    font-size: 1.875rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* Added founder section styles to properly separate image and text */
.founder-content {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  margin: 4rem 0;
  padding: 3rem;
  background: white;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.founder-image {
  flex: 0 0 300px;
}

.founder-image img {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.founder-text {
  flex: 1;
}

.founder-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #0f766e;
  margin-bottom: 1rem;
}

.founder-text h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
}

.founder-text h4 {
  font-size: 1.125rem;
  font-weight: 500;
  color: #059669;
  margin-bottom: 1.5rem;
}

.founder-text p {
  color: #6b7280;
  line-height: 1.7;
  font-size: 1rem;
}
