/* ============================================================
   ManageCare Website — Main Stylesheet
   Brand: Deep Teal (#1a5f6e) + Dark Navy (#1e2d45) + White
   ============================================================ */

:root {
  --teal:        #1a5f6e;
  --teal-dark:   #124552;
  --teal-light:  #2a8a9e;
  --navy:        #1e2d45;
  --navy-light:  #2c3e5c;
  --accent:      #f59e0b;
  --accent-light:#fbbf24;
  --green:       #10b981;
  --white:       #ffffff;
  --off-white:   #f8fafc;
  --grey-50:     #f9fafb;
  --grey-100:    #f3f4f6;
  --grey-200:    #e5e7eb;
  --grey-400:    #9ca3af;
  --grey-600:    #4b5563;
  --grey-800:    #1f2937;
  --text:        #111827;
  --text-muted:  #6b7280;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:   0 4px 16px rgba(0,0,0,.1), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg:   0 20px 48px rgba(0,0,0,.12), 0 8px 24px rgba(0,0,0,.06);
  --shadow-teal: 0 8px 32px rgba(26,95,110,.25);
  --transition:  all .25s cubic-bezier(.4,0,.2,1);
  --max-w:       1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text); background: var(--white);
  -webkit-font-smoothing: antialiased; line-height: 1.6; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; }
ul { list-style: none; }

/* ─── Typography ─────────────────────────────────────────── */
.display-1 { font-size: clamp(2.5rem, 5vw, 4rem);    font-weight: 800; line-height: 1.1;  letter-spacing: -.02em; }
.display-2 { font-size: clamp(2rem, 4vw, 3rem);      font-weight: 700; line-height: 1.15; letter-spacing: -.015em; }
.heading-1 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.2; }
.heading-2 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 600; line-height: 1.3; }
.body-lg   { font-size: 1.125rem; line-height: 1.7; }
.body      { font-size: 1rem;     line-height: 1.7; }
.small     { font-size: 0.875rem; line-height: 1.6; }
.label     { font-size: 0.75rem;  font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* ─── Layout ─────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem; border-radius: var(--radius);
  font-size: .9375rem; font-weight: 600;
  transition: var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--teal); color: var(--white); box-shadow: var(--shadow-teal); }
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); box-shadow: 0 12px 40px rgba(26,95,110,.35); }
.btn-secondary { background: var(--white); color: var(--teal); border: 2px solid var(--teal); }
.btn-secondary:hover { background: var(--teal); color: var(--white); transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: var(--navy); box-shadow: 0 8px 24px rgba(245,158,11,.3); }
.btn-accent:hover { background: var(--accent-light); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.4); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-sm { padding: .5rem 1.25rem; font-size: .875rem; }

/* ─── Badges ─────────────────────────────────────────────── */
.badge { display: inline-block; padding: .35rem .85rem; border-radius: 999px; font-size: .8125rem; font-weight: 600; }
.badge-teal  { background: rgba(26,95,110,.12); color: var(--teal-dark); }
.badge-white { background: rgba(255,255,255,.15); color: var(--white); backdrop-filter: blur(8px); }
.badge-green { background: rgba(16,185,129,.12); color: #059669; }
.badge-amber { background: rgba(245,158,11,.12);  color: #d97706; }

/* ─── Section Headers ────────────────────────────────────── */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 4rem; }
.section-header .eyebrow { color: var(--teal); font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; display: block; margin-bottom: .75rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p  { color: var(--text-muted); font-size: 1.0625rem; }
.eyebrow { color: var(--teal); font-size: .875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* ─── Cards ──────────────────────────────────────────────── */
.card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--grey-200); padding: 2rem; box-shadow: var(--shadow-sm); transition: var(--transition); }
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

/* ─── Navigation ─────────────────────────────────────────── */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: var(--transition); }
.site-header .nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.site-header.scrolled { background: rgba(255,255,255,.95); backdrop-filter: blur(20px); border-bottom: 1px solid var(--grey-200); box-shadow: var(--shadow-sm); }
.site-header.scrolled .nav-link { color: var(--navy); }
.site-header.scrolled .nav-link:hover { color: var(--teal); }
.site-header.dark-nav .nav-link { color: rgba(255,255,255,.85); }
.site-header.dark-nav .nav-link:hover { color: var(--white); }
.nav-logo img { height: 42px; width: auto; filter: brightness(0) invert(1); transition: var(--transition); }
.site-header.scrolled .nav-logo img { filter: none; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-link { font-size: .9375rem; font-weight: 500; transition: var(--transition); }
.nav-cta  { display: flex; align-items: center; gap: .75rem; }
.hamburger { display: none; background: none; padding: .5rem; color: inherit; }
.hamburger span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px 0; transition: var(--transition); }

/* ─── Mobile Menu ────────────────────────────────────────── */
.mobile-menu { display: none; position: fixed; inset: 0; z-index: 999; background: var(--navy); padding: 6rem 1.5rem 2rem; flex-direction: column; gap: 1.5rem; }
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { color: var(--white); font-size: 1.25rem; font-weight: 600; padding: .75rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.close-menu { position: absolute; top: 1.5rem; right: 1.5rem; background: none; color: var(--white); font-size: 1.5rem; border: none; cursor: pointer; }

/* ─── Footer ─────────────────────────────────────────────── */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand img { height: 38px; margin-bottom: 1rem; }
.footer-brand p { font-size: .9375rem; line-height: 1.7; max-width: 280px; color: rgba(255,255,255,.6); }
.footer-col h4 { color: var(--white); font-size: .875rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 1.25rem; }
.footer-col a  { display: block; font-size: .9375rem; color: rgba(255,255,255,.6); margin-bottom: .75rem; transition: var(--transition); }
.footer-col a:hover { color: var(--white); padding-left: .35rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 2rem; display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: .875rem; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; font-size: .875rem; transition: var(--transition); }
.footer-social a:hover { background: var(--teal); }

/* ─── Download Buttons ───────────────────────────────────── */
.download-btn {
  display: inline-flex; align-items: center; gap: .75rem;
  background: var(--navy); color: var(--white);
  padding: .875rem 1.5rem; border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.15);
  transition: var(--transition); min-width: 180px;
}
.download-btn:hover { background: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.download-btn .dl-icon { font-size: 1.75rem; }
.download-btn .dl-text { display: flex; flex-direction: column; }
.download-btn .dl-sub  { font-size: .7rem;  letter-spacing: .04em; opacity: .7; line-height: 1; margin-bottom: .15rem; }
.download-btn .dl-main { font-size: 1rem;   font-weight: 700; line-height: 1; }

/* ─── Stats Strip ────────────────────────────────────────── */
.stats-strip { background: var(--off-white); border-top: 1px solid var(--grey-200); border-bottom: 1px solid var(--grey-200); padding: 2.5rem 0; }
.stats-strip .container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 2rem; }
.stat-item  { text-align: center; }
.stat-num   { font-size: 2.5rem; font-weight: 800; color: var(--teal); line-height: 1; }
.stat-label { font-size: .875rem; color: var(--text-muted); margin-top: .35rem; font-weight: 500; }

/* ─── Testimonials ───────────────────────────────────────── */
.testimonial-card { background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); }
.testimonial-card .stars { color: var(--accent); font-size: 1rem; margin-bottom: 1rem; letter-spacing: .1em; }
.testimonial-card p { font-size: 1rem; line-height: 1.7; color: var(--grey-600); margin-bottom: 1.25rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.author-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--teal); display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.author-info strong { display: block; font-size: .9375rem; font-weight: 600; }
.author-info span   { font-size: .8125rem; color: var(--text-muted); }

/* ─── Industry Pills ─────────────────────────────────────── */
.industry-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .625rem 1.1rem; border-radius: 999px;
  background: var(--white); border: 1.5px solid var(--grey-200);
  font-size: .875rem; font-weight: 600; color: var(--navy);
  transition: var(--transition); white-space: nowrap; cursor: default;
}
.industry-pill:hover { border-color: var(--teal); color: var(--teal); box-shadow: var(--shadow-sm); transform: translateY(-2px); }

/* ─── Feature check list ─────────────────────────────────── */
.feature-check { display: flex; align-items: center; gap: .625rem; font-size: .9375rem; padding: .45rem 0; }
.feature-check::before { content: '✓'; font-weight: 700; color: var(--teal); flex-shrink: 0; }

/* ─── FAQ ────────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--grey-200); }
.faq-question { width: 100%; text-align: left; background: none; padding: 1.5rem 0; display: flex; justify-content: space-between; align-items: center; font-size: 1rem; font-weight: 600; color: var(--text); transition: var(--transition); }
.faq-question:hover { color: var(--teal); }
.faq-question .icon { transition: var(--transition); font-size: 1.25rem; color: var(--teal); }
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-answer p { padding-bottom: 1.5rem; color: var(--text-muted); line-height: 1.8; }

/* ─── Form ───────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .5rem; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: .875rem 1rem;
  border: 1.5px solid var(--grey-200); border-radius: var(--radius);
  font-size: .9375rem; font-family: inherit; color: var(--text);
  background: var(--white); transition: var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(26,95,110,.1); }
.form-textarea { resize: vertical; min-height: 140px; }

/* ─── Utilities ──────────────────────────────────────────── */
.text-center { text-align: center; }
.text-teal   { color: var(--teal); }
.text-white  { color: var(--white); }
.text-muted  { color: var(--text-muted); }
.text-navy   { color: var(--navy); }
.mt-1 { margin-top: .5rem; }  .mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }   .mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.flex { display: flex; } .flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: .5rem; } .gap-2 { gap: 1rem; } .gap-3 { gap: 1.5rem; }
.flex-wrap { flex-wrap: wrap; }
.hidden { display: none !important; }

/* ─── Animations ─────────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav-links, .nav-cta .btn:not(.btn-sm) { display: none; }
  .hamburger { display: block; color: var(--white); }
  .site-header.scrolled .hamburger { color: var(--navy); }
  .stats-strip .container { justify-content: center; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .display-1 { font-size: 2.25rem; }
  .display-2 { font-size: 1.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, .fade-up { transition: none !important; animation: none !important; }
}
