/* ===== RecoveryFit Visual Enhancements ===== */

/* Layout width + breathing room */
.page-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}

/* Top navigation */
.top-nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

/* Brand */
.brand a {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-family: var(--font-primary);
  letter-spacing: -0.3px;
}

/* Nav links */
.nav-links a {
  margin-left: 16px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-family: var(--font-secondary);
}

.nav-links a:hover {
  text-decoration: none;
  opacity: 0.9;
}

.nav-links a.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 4px;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary), #FF8C5A);
  padding: 48px 16px;
}

.hero-inner {
  max-width: 960px;
  margin: 0 auto;
  color: white;
}

.hero h1 {
  margin: 0;
  font-size: 38px;
  font-weight: 700;
  font-family: var(--font-primary);
}

.hero p {
  margin-top: 10px;
  font-size: 16px;
  opacity: 0.95;
  font-family: var(--font-secondary);
}

/* Section rhythm (keeps markdown pages from feeling cramped) */
section {
  margin-bottom: 3rem;
}

/* ===== CTA Button ===== */
.cta-container {
  margin: 32px 0 40px;
  text-align: center;
}

.cta-button {
  display: inline-block;
  padding: 14px 24px;
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;

  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), #FF8C5A);

  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(13, 27, 42, 0.25);

  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(13, 27, 42, 0.3);
}

.cta-button:active {
  transform: scale(0.98);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 22px 16px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

.footer-muted {
  color: var(--text-muted);
  font-family: var(--font-secondary);
  font-size: 14px;
  margin-top: 4px;
}

.footer-links a {
  margin-left: 14px;
  font-family: var(--font-secondary);
  font-weight: 600;
}
