/* MEDTRAC Health Advisor Landing Page */
/* Slick, conversion-focused design for US audience */

.health-check-page {
  background: #0a0f14;
  color: #e8ecf0;
  min-height: 100vh;
}

.health-check-page * {
  box-sizing: border-box;
}

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

.hc-nav {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hc-logo {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.35rem;
  color: #fff;
  text-decoration: none;
}

.hc-back {
  font-size: 0.9rem;
  color: #8b9aad;
  text-decoration: none;
  transition: color 0.2s;
}

.hc-back:hover {
  color: #fff;
}

/* Hero */
.hc-hero {
  text-align: center;
  padding: 4rem 1.5rem 5rem;
  max-width: 720px;
  margin: 0 auto;
}

.hc-hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  margin-bottom: 2rem;
}

.hc-hero h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 1.25rem;
}

.hc-hero-tagline {
  font-size: 1.2rem;
  color: #b8c4d4;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.hc-hero-sub {
  font-size: 1rem;
  color: #8b9aad;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.hc-cta-primary {
  display: inline-block;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #0a0f14;
  background: #4ade80;
  padding: 1rem 2.25rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
}

.hc-cta-primary:hover {
  background: #22c55e;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(74, 222, 128, 0.25);
}

.hc-hero-note {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #8b9aad;
}

.hc-hero-note a {
  color: #4ade80;
  text-decoration: none;
}

.hc-hero-note a:hover {
  text-decoration: underline;
}

/* Register interest */
.hc-register {
  padding: 4rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hc-register-inner {
  max-width: 820px;
  margin: 0 auto;
}

.hc-register-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 920px) {
  .hc-register-inner { max-width: 1100px; }
  .hc-register-layout { grid-template-columns: 0.95fr 1.05fr; gap: 1.5rem; }
}

.hc-register-copy {
  padding: 0.25rem 0;
}

.hc-register-points {
  margin: 1.25rem 0 0;
  padding-left: 1.15rem;
  color: #b8c4d4;
  line-height: 1.55;
  display: grid;
  gap: 0.55rem;
  max-width: 62ch;
}

.hc-register-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.12);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hc-register h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  color: #fff;
  margin: 0 0 0.75rem;
}

.hc-register-sub {
  color: #b8c4d4;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 60ch;
}

.hc-form {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.75rem;
  position: relative;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

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

@media (min-width: 720px) {
  .hc-form-grid { grid-template-columns: 1fr 1fr; }
}

.hc-field {
  display: grid;
  gap: 0.4rem;
}

.hc-field span {
  font-size: 0.9rem;
  color: #b8c4d4;
}

.hc-field input,
.hc-field select,
.hc-field textarea {
  width: 100%;
  padding: 0.85rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 15, 20, 0.6);
  color: #e8ecf0;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.hc-field select {
  height: 3.1rem;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(232, 236, 240, 0.8) 50%),
    linear-gradient(135deg, rgba(232, 236, 240, 0.8) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(1.35rem),
    calc(100% - 12px) calc(1.35rem);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.25rem;
}

.hc-field textarea {
  resize: vertical;
  min-height: 96px;
}

.hc-field input:focus,
.hc-field select:focus,
.hc-field textarea:focus {
  border-color: rgba(74, 222, 128, 0.6);
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.08);
}

.hc-field-wide {
  margin-bottom: 1rem;
}

.hc-consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 1rem 0 1.25rem;
  color: #b8c4d4;
  line-height: 1.4;
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  background: rgba(10, 15, 20, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hc-consent input {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
}

.hc-honeypot {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.hc-form-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  align-items: stretch;
}

.hc-form-actions .hc-cta-primary {
  border: 0;
  cursor: pointer;
  width: 100%;
  text-align: center;
}

.hc-form-actions .hc-cta-secondary {
  width: 100%;
  text-align: center;
  display: none; /* shown after submit by health-check-interest.js */
}

@media (min-width: 720px) {
  .hc-form-actions {
    grid-template-columns: 1fr 1fr;
  }
  .hc-form-actions .hc-cta-secondary {
    padding: 1rem 1.75rem;
  }
}

.hc-form-actions .hc-cta-secondary {
  border-radius: 8px;
  padding: 1rem 1.75rem;
}

.hc-form-status {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #b8c4d4;
}

.hc-form-status[data-state="error"] {
  color: #fca5a5;
}

.hc-register-alt {
  margin-top: 0.75rem;
  color: #8b9aad;
  font-size: 0.95rem;
}

.hc-register-alt a {
  color: #4ade80;
  text-decoration: none;
}

.hc-register-alt a:hover {
  text-decoration: underline;
}

/* Benefits */
.hc-benefits {
  padding: 4rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
}

.hc-benefits h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: #fff;
  text-align: center;
  margin-bottom: 2.5rem;
}

.hc-benefits-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.hc-benefit {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hc-benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hc-benefit h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.hc-benefit p {
  font-size: 0.95rem;
  color: #8b9aad;
  line-height: 1.5;
}

/* Social proof */
.hc-social-proof {
  padding: 3rem 1.5rem;
  text-align: center;
}

.hc-social-lead {
  font-size: 1.1rem;
  color: #b8c4d4;
  margin-bottom: 0.5rem;
}

.hc-social-sub {
  font-size: 0.95rem;
  color: #8b9aad;
  max-width: 540px;
  margin: 0 auto;
}

/* CTA strip */
.hc-cta-strip {
  padding: 4rem 1.5rem;
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.08) 0%, rgba(74, 222, 128, 0.02) 100%);
  border-top: 1px solid rgba(74, 222, 128, 0.15);
  border-bottom: 1px solid rgba(74, 222, 128, 0.15);
}

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

.hc-cta-strip h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 0.75rem;
}

.hc-cta-strip p {
  color: #b8c4d4;
  margin-bottom: 1.5rem;
}

.hc-cta-secondary {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  color: #4ade80;
  background: transparent;
  border: 2px solid #4ade80;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
}

.hc-cta-secondary:hover {
  background: #4ade80;
  color: #0a0f14;
}

/* Offer box */
.hc-offer {
  padding: 4rem 1.5rem;
}

.hc-offer-box {
  max-width: 520px;
  margin: 0 auto;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid rgba(74, 222, 128, 0.3);
  border-radius: 16px;
  text-align: center;
  position: relative;
}

.hc-offer-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0a0f14;
  background: #4ade80;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.hc-offer-box h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  color: #4ade80;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.hc-offer-box p {
  color: #b8c4d4;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.hc-offer-box .hc-cta-primary {
  display: block;
  width: 100%;
}

/* Footer CTA */
.hc-footer-cta {
  padding: 4rem 1.5rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
}

.hc-footer-cta p {
  font-size: 1rem;
  color: #8b9aad;
  margin-bottom: 1rem;
}

.hc-footer-cta strong {
  color: #b8c4d4;
}

.hc-cta-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: #4ade80;
  text-decoration: none;
  transition: color 0.2s;
}

.hc-cta-link:hover {
  color: #6ee7a0;
}

/* Footer */
.hc-footer {
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hc-footer p {
  font-size: 0.9rem;
  color: #6b7a8f;
}

.hc-footer a {
  color: #8b9aad;
  text-decoration: none;
}

.hc-footer a:hover {
  color: #fff;
}

@media (max-width: 640px) {
  .hc-hero {
    padding: 3rem 1rem 4rem;
  }

  .hc-benefits-grid {
    grid-template-columns: 1fr;
  }

  .hc-form-grid {
    grid-template-columns: 1fr;
  }
}
