/* ════════════════════════════════════════════════════════════════════
   DASHBOARD + PLACEHOLDER PAGES (15 May 2026)
   Visual language mirrors the Mitch/Max/Barnes/Jenny broker LPs:
   navy hero, gold accents, italic Playfair display headings.
   ════════════════════════════════════════════════════════════════════ */

/* ─── DASHBOARD HERO ─────────────────────────────────────────────── */
#pageDashboard {
  /* full bleed hero, no padding from main */
  padding: 0;
}
.dash-hero {
  position: relative;
  min-height: 280px;
  background: var(--navy, #12153D);
  color: var(--white, #ffffff);
  padding: 64px 0 56px;
  margin-bottom: 32px;
  overflow: hidden;
}
.dash-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    rgba(18, 21, 61, 1.0) 0%,
    rgba(18, 21, 61, 0.92) 50%,
    rgba(28, 35, 90, 0.88) 100%);
  pointer-events: none;
}
.dash-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 30%, rgba(201, 168, 76, 0.18), transparent 55%);
}
.dash-hero-inner {
  position: relative;
  z-index: 1;
}
.dash-hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold, #C9A84C);
  margin-bottom: 18px;
}
.dash-hero-title {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white, #ffffff);
  margin: 0 0 14px;
}
.dash-hero-title .dash-hero-comma { color: var(--gold, #C9A84C); }
.dash-hero-subhead {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-style: italic;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  max-width: 600px;
}

/* ─── TIER BANNER ────────────────────────────────────────────────── */
.dash-tier-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg, #fff8e6 0%, #fdf2d4 100%);
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.dash-tier-banner-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}
.dash-tier-banner-text {
  flex: 1;
  min-width: 240px;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--n-700, #2D3047);
}
.dash-tier-banner-text strong {
  color: var(--navy, #12153D);
}
.dash-tier-banner-cta {
  background: var(--navy, #12153D);
  color: var(--gold, #C9A84C);
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}
.dash-tier-banner-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(18, 21, 61, 0.2);
}

/* ─── DASH SECTIONS ──────────────────────────────────────────────── */
.dash-section {
  margin-bottom: 44px;
}
.dash-section-head {
  margin-bottom: 20px;
}
.dash-section-title {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--navy, #12153D);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.dash-section-sub {
  font-size: 0.95rem;
  color: var(--n-700, #4A4F6E);
  margin: 0;
  line-height: 1.55;
}

/* ─── FACT FIND CARD ─────────────────────────────────────────────── */
.dash-factfind-card {
  background: var(--white, #ffffff);
  border: 1px solid var(--n-200, #E5E7EE);
  border-radius: 14px;
  padding: 24px 26px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}
.dash-ff-bar-wrap {
  flex: 1;
  min-width: 240px;
}
.dash-ff-progress-info {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}
.dash-ff-pct {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy, #12153D);
  line-height: 1;
}
.dash-ff-status {
  font-size: 0.93rem;
  color: var(--n-700, #4A4F6E);
  font-weight: 500;
}
.dash-ff-bar {
  height: 8px;
  background: var(--n-200, #E5E7EE);
  border-radius: 50px;
  overflow: hidden;
  position: relative;
}
.dash-ff-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold, #C9A84C) 0%, #d9b75c 100%);
  border-radius: 50px;
  transition: width 0.6s ease-out;
}

/* ─── TOOLS GRID ────────────────────────────────────────────────── */
.dash-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.dash-tool-card {
  position: relative;
  background: var(--white, #ffffff);
  border: 1px solid var(--n-200, #E5E7EE);
  border-radius: 14px;
  padding: 22px 22px 20px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.dash-tool-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(18, 21, 61, 0.12);
  border-color: rgba(201, 168, 76, 0.4);
}
.dash-tool-icon {
  font-size: 1.7rem;
  margin-bottom: 14px;
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff8e6 0%, #fdf2d4 100%);
  border-radius: 12px;
}
.dash-tool-title {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy, #12153D);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.dash-tool-desc {
  font-size: 0.9rem;
  color: var(--n-700, #4A4F6E);
  line-height: 1.5;
  margin: 0 0 16px;
  flex: 1;
}
.dash-tool-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold, #C9A84C);
  letter-spacing: 0.03em;
}

/* ─── BROKER CARD ────────────────────────────────────────────────── */
.dash-broker-card {
  background: var(--cream, #F5F3EE);
  border: 1px solid var(--n-200, #E5E7EE);
  border-radius: 14px;
  padding: 28px 30px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.dash-broker-content {
  flex: 1;
  min-width: 280px;
}
.dash-broker-content .eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold, #C9A84C);
  display: block;
  margin-bottom: 8px;
}
.dash-broker-content h3 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy, #12153D);
  margin: 0 0 8px;
}
.dash-broker-content p {
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--n-700, #4A4F6E);
  margin: 0;
}
.dash-broker-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ─── PLACEHOLDER PAGES (Borrowing, Buying Power, Equity, Milestones) ─── */
.placeholder-card {
  background: var(--white, #ffffff);
  border: 1px solid var(--n-200, #E5E7EE);
  border-radius: 14px;
  padding: 48px 36px 40px;
  text-align: center;
  margin: 32px 0;
  position: relative;
  overflow: hidden;
}
.placeholder-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold, #C9A84C) 0%, #d9b75c 50%, var(--gold, #C9A84C) 100%);
}
.placeholder-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
  display: inline-flex;
  width: 90px; height: 90px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fff8e6 0%, #fdf2d4 100%);
  border-radius: 22px;
}
.placeholder-title {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy, #12153D);
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.placeholder-text {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--n-700, #4A4F6E);
  margin: 0 auto 16px;
  max-width: 560px;
}
.placeholder-text strong {
  color: var(--navy, #12153D);
  font-weight: 600;
}
.placeholder-text a {
  color: var(--gold, #C9A84C);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.placeholder-cta {
  margin-top: 24px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── COMPLIANCE FOOTER (used on every tool page) ────────────────── */
.compliance-footer {
  background: var(--n-100, #F8F9FB);
  border: 1px solid var(--n-200, #E5E7EE);
  border-left: 3px solid var(--gold, #C9A84C);
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 28px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--n-700, #4A4F6E);
}
.compliance-footer strong {
  color: var(--navy, #12153D);
  font-weight: 600;
}

/* ─── BUTTONS (in case base styles don't cover the brand variants) ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  font-family: inherit;
}
.btn-gold {
  background: var(--gold, #C9A84C);
  color: var(--navy, #12153D);
}
.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(201, 168, 76, 0.4);
}
.btn-ghost-dark {
  background: transparent;
  color: var(--navy, #12153D);
  border-color: var(--navy, #12153D);
}
.btn-ghost-dark:hover {
  background: var(--navy, #12153D);
  color: var(--white, #ffffff);
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .dash-hero { padding: 44px 0 38px; }
  .dash-factfind-card { padding: 20px 18px; gap: 16px; }
  .dash-ff-pct { font-size: 2rem; }
  .dash-tools-grid { grid-template-columns: 1fr; }
  .dash-broker-card { padding: 22px 20px; gap: 16px; }
  .placeholder-card { padding: 36px 22px 28px; }
  .placeholder-icon { width: 72px; height: 72px; font-size: 2.6rem; }
  .placeholder-title { font-size: 1.35rem; }
}
