/* ============================================================
   ManpowerCurve — Landing Page & Auth Modal Styles
   assets/landing.css
   ============================================================ */

/* ── Transitions ─────────────────────────────────────────── */
.fade-out { opacity: 0; transition: opacity 0.3s ease; }
.fade-in  { animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.hidden   { display: none !important; }

/* ── Landing Nav ─────────────────────────────────────────── */
.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  background: var(--panel, #f0ece4);
  border-bottom: 1px solid var(--line, #e0dbd0);
  position: sticky;
  top: 0;
  z-index: 100;
}
.landing-logo {
  font-family: Fraunces, Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink, #1a1a1a);
  letter-spacing: -0.02em;
}
.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.landing-link {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink-soft, #555);
  cursor: pointer;
  padding: 6px 10px;
}
.landing-link:hover { color: var(--ink, #1a1a1a); }
.landing-cta-small {
  background: var(--ink, #1a1a1a);
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
}
.landing-cta-small:hover { background: #333; }

/* ── Hero Section ────────────────────────────────────────── */
.landing-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 72px 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.landing-headline {
  font-family: Fraunces, Georgia, serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink, #1a1a1a);
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}
.landing-headline-accent {
  color: var(--accent, #c8553d);
}
.landing-subhead {
  font-size: 16px;
  color: var(--ink-soft, #555);
  line-height: 1.7;
  margin: 0 0 32px;
  max-width: 480px;
}
.landing-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.landing-cta {
  background: var(--ink, #1a1a1a);
  color: #fff;
  border: none;
  font-family: Fraunces, Georgia, serif;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.15s;
}
.landing-cta:hover { background: #333; }
.landing-secondary {
  background: transparent;
  color: var(--ink, #1a1a1a);
  border: 1.5px solid var(--line, #e0dbd0);
  font-family: inherit;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 7px;
  cursor: pointer;
}
.landing-secondary:hover { border-color: var(--ink, #1a1a1a); }
.landing-disclaimer {
  font-size: 11px;
  color: var(--ink-faint, #9a9a9a);
  margin: 0;
}

/* ── Preview Card ────────────────────────────────────────── */
.landing-preview-card {
  background: var(--panel, #f0ece4);
  border: 1px solid var(--line, #e0dbd0);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.landing-preview-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint, #9a9a9a);
  margin-bottom: 12px;
}
.landing-preview-graphic {
  background: #fff;
  border: 1px solid var(--line, #e0dbd0);
  border-radius: 8px;
  height: 200px;
  overflow: hidden;
}
.landing-preview-legend {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.lpill {
  font-size: 10px;
  padding: 3px 9px;
  border-radius: 10px;
  font-weight: 600;
}
.lpill.black  { background: #1a1a1a; color: #fff; }
.lpill.red    { background: #c8553d; color: #fff; }
.lpill.green  { background: #3d7c5c; color: #fff; }

/* ── Features ────────────────────────────────────────────── */
.landing-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 64px 40px;
  background: var(--panel, #f0ece4);
  border-top: 1px solid var(--line, #e0dbd0);
  border-bottom: 1px solid var(--line, #e0dbd0);
}
.landing-feature {
  padding: 8px;
}
.lf-icon {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--ink, #1a1a1a);
}
.landing-feature h3 {
  font-family: Fraunces, Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--ink, #1a1a1a);
}
.landing-feature p {
  font-size: 13px;
  color: var(--ink-soft, #555);
  line-height: 1.6;
  margin: 0;
}

/* ── Pricing ─────────────────────────────────────────────── */
.landing-pricing {
  padding: 72px 40px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.landing-pricing h2 {
  font-family: Fraunces, Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--ink, #1a1a1a);
}
.landing-pricing-sub {
  font-size: 15px;
  color: var(--ink-soft, #555);
  margin: 0 0 48px;
}
.landing-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}
.landing-plan {
  border: 1.5px solid var(--line, #e0dbd0);
  border-radius: 12px;
  padding: 28px;
  position: relative;
  background: var(--bg, #f7f5f0);
}
.landing-plan.featured {
  border-color: var(--ink, #1a1a1a);
  background: var(--panel, #f0ece4);
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink, #1a1a1a);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 12px;
  border-radius: 10px;
  white-space: nowrap;
}
.plan-name {
  font-family: Fraunces, Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink, #1a1a1a);
}
.plan-price {
  font-family: Fraunces, Georgia, serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--ink, #1a1a1a);
  line-height: 1;
}
.plan-period {
  font-size: 12px;
  color: var(--ink-faint, #9a9a9a);
  margin-bottom: 20px;
  margin-top: 4px;
}
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.plan-features li {
  font-size: 13px;
  color: var(--ink-soft, #555);
  padding: 5px 0;
  border-bottom: 1px solid var(--line-soft, #efeae0);
}
.plan-features li::before {
  content: '✓  ';
  color: var(--actual, #3d7c5c);
  font-weight: 700;
}
.landing-cta-outline {
  background: transparent;
  color: var(--ink, #1a1a1a);
  border: 1.5px solid var(--ink, #1a1a1a);
  font-family: Fraunces, Georgia, serif;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 7px;
  cursor: pointer;
  width: 100%;
}
.landing-cta-outline:hover { background: var(--ink, #1a1a1a); color: #fff; }
.landing-plan .landing-cta { width: 100%; text-align: center; }

/* ── Landing Footer ──────────────────────────────────────── */
.landing-footer {
  padding: 24px 40px;
  border-top: 1px solid var(--line, #e0dbd0);
  background: var(--panel, #f0ece4);
}
.landing-footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-faint, #9a9a9a);
  flex-wrap: wrap;
}
.landing-footer-inner a {
  color: var(--ink-soft, #555);
  text-decoration: none;
}
.landing-footer-inner a:hover { color: var(--ink, #1a1a1a); }

/* ── Auth Modal ──────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.auth-modal {
  background: var(--bg, #f7f5f0);
  border-radius: 12px;
  padding: 40px;
  width: 100%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.auth-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--ink-faint, #9a9a9a);
  line-height: 1;
  padding: 0;
}
.auth-close:hover { color: var(--ink, #1a1a1a); }
.auth-title {
  font-family: Fraunces, Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--ink, #1a1a1a);
}
.auth-sub {
  font-size: 13px;
  color: var(--ink-soft, #555);
  margin: 0 0 24px;
}
.auth-field {
  margin-bottom: 16px;
}
.auth-field label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft, #555);
  margin-bottom: 5px;
}
.auth-field input {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  padding: 10px 12px;
  background: var(--panel, #f0ece4);
  border: 1.5px solid var(--line, #e0dbd0);
  border-radius: 6px;
  color: var(--ink, #1a1a1a);
  outline: none;
  box-sizing: border-box;
}
.auth-field input:focus { border-color: var(--ink, #1a1a1a); }
.auth-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.auth-hint {
  font-weight: 400;
  color: var(--ink-faint, #9a9a9a);
  text-transform: none;
  letter-spacing: 0;
  font-size: 10px;
}
.auth-btn {
  width: 100%;
  background: var(--ink, #1a1a1a);
  color: #fff;
  border: none;
  font-family: Fraunces, Georgia, serif;
  font-size: 15px;
  font-weight: 600;
  padding: 13px;
  border-radius: 7px;
  cursor: pointer;
  margin-top: 8px;
  margin-bottom: 16px;
  transition: background 0.15s;
}
.auth-btn:hover:not(:disabled) { background: #333; }
.auth-btn:disabled { opacity: 0.6; cursor: default; }
.auth-links {
  font-size: 13px;
  color: var(--ink-soft, #555);
  text-align: center;
}
.auth-links a {
  color: var(--ink, #1a1a1a);
  text-decoration: underline;
  cursor: pointer;
}
.auth-sep { margin: 0 6px; color: var(--ink-faint, #9a9a9a); }
.auth-error {
  background: #fdf0ee;
  border: 1px solid #f5c6be;
  color: #c8553d;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.auth-success {
  background: #eef7f2;
  border: 1px solid #b8dfc9;
  color: #3d7c5c;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 6px;
  margin-bottom: 16px;
}

/* ── Dashboard ───────────────────────────────────────────── */
.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: var(--panel, #f0ece4);
  border-bottom: 1px solid var(--line, #e0dbd0);
  position: sticky;
  top: 0;
  z-index: 50;
}
.dash-logo {
  font-family: Fraunces, Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink, #1a1a1a);
}
.dash-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dash-icon-btn {
  background: none;
  border: 1.5px solid var(--line, #e0dbd0);
  border-radius: 6px;
  padding: 7px 9px;
  cursor: pointer;
  color: var(--ink-soft, #555);
  position: relative;
  display: flex;
  align-items: center;
}
.dash-icon-btn:hover { border-color: var(--ink, #1a1a1a); color: var(--ink, #1a1a1a); }
.notif-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--accent, #c8553d);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.dash-btn {
  background: var(--ink, #1a1a1a);
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
}
.dash-btn:hover { background: #333; }
.dash-btn-outline {
  background: none;
  color: var(--ink, #1a1a1a);
  border: 1.5px solid var(--line, #e0dbd0);
  font-family: inherit;
  font-size: 13px;
  padding: 7px 16px;
  border-radius: 6px;
  cursor: pointer;
}
.dash-btn-outline:hover { border-color: var(--ink, #1a1a1a); }
.plan-expired-banner {
  background: #fdf0ee;
  border-bottom: 1px solid #f5c6be;
  color: #c8553d;
  font-size: 13px;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.plan-expired-banner a {
  color: #c8553d;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}
.dash-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 28px 60px;
}
.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.dash-title {
  font-family: Fraunces, Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  margin: 0;
  color: var(--ink, #1a1a1a);
}
.dash-header-actions {
  display: flex;
  gap: 10px;
}

/* ── Notifications Panel ─────────────────────────────────── */
.notif-panel {
  position: fixed;
  top: 56px;
  right: 20px;
  width: 340px;
  background: var(--panel, #f0ece4);
  border: 1px solid var(--line, #e0dbd0);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  z-index: 200;
  max-height: 480px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.notif-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line, #e0dbd0);
  font-size: 13px;
  font-weight: 600;
}
.notif-panel-header button {
  background: none;
  border: none;
  font-size: 11px;
  color: var(--ink-soft, #555);
  cursor: pointer;
  text-decoration: underline;
}
#notifList {
  overflow-y: auto;
  flex: 1;
}

/* ── Toast ───────────────────────────────────────────────── */
.mc-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink, #1a1a1a);
  color: #fff;
  font-size: 13px;
  padding: 12px 22px;
  border-radius: 8px;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
  max-width: 360px;
  text-align: center;
  pointer-events: none;
}
.mc-toast-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.mc-toast-error { background: #c8553d; }
.mc-toast-success { background: #3d7c5c; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .landing-hero     { grid-template-columns: 1fr; padding: 40px 20px; }
  .landing-features { grid-template-columns: 1fr 1fr; padding: 40px 20px; }
  .landing-plans    { grid-template-columns: 1fr; padding: 0 20px; }
  .landing-pricing  { padding: 48px 20px; }
  .landing-nav      { padding: 14px 20px; }
  .auth-field-row   { grid-template-columns: 1fr; }
  .landing-hero-preview { display: none; }
}

/* ── ToS checkbox on signup ── */
.auth-terms{margin:6px 0 14px;}
.auth-checkbox{display:flex;align-items:flex-start;gap:8px;font-size:13px;color:#5a5a5a;line-height:1.45;cursor:pointer;}
.auth-checkbox input{margin-top:2px;flex-shrink:0;cursor:pointer;}
.auth-checkbox a{color:#c8553d;text-decoration:none;}
.auth-checkbox a:hover{text-decoration:underline;}

/* ── Contact modal ── */
#contactMessage{width:100%;box-sizing:border-box;font-family:inherit;font-size:14px;padding:10px 12px;border:1px solid #e6e2d8;border-radius:8px;resize:vertical;color:#1a1a1a;}
.contact-msg{font-size:13px;margin-top:12px;min-height:16px;line-height:1.5;}
.contact-msg.err{color:#c8553d;}
.contact-msg.ok{color:#3d7c5c;}

/* ── Open Beta pricing panel ── */
.landing-plans-beta{display:flex;justify-content:center;}
.beta-plan{max-width:380px;width:100%;}
.beta-note{margin-top:14px;font-size:12px;color:#8a8a8a;line-height:1.5;}
