/* ===== Dashboard landing page — layered on top of style.css ===== */

/* Hero */
.dash-hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 96px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.dash-hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59,130,246,0.25), transparent 70%);
  pointer-events: none;
}
.dash-hero::after {
  content: "";
  position: absolute;
  bottom: -200px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59,130,246,0.15), transparent 70%);
  pointer-events: none;
}
.dash-hero .container { position: relative; z-index: 1; }
.dash-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 16px;
}
.dash-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}
.dash-sub {
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  max-width: 720px;
  margin: 0 auto 36px;
}
.dash-hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.dash-hero-cta .btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.dash-hero-cta .btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}
.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

/* Section head shared */
.dash-section-head {
  text-align: center;
  margin-bottom: 56px;
}
.dash-section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}

/* Active nav state */
.nav-active {
  color: var(--blue) !important;
  font-weight: 600;
}

/* Sign-in link — subtle, sits between nav links and the CTA button */
.nav-signin {
  color: var(--slate) !important;
  font-weight: 600;
  border-left: 1px solid var(--gray-200);
  padding-left: 16px;
}
.nav-signin:hover { color: var(--navy) !important; }

/* ===== Feature grid ===== */
.dash-features {
  padding: 96px 0;
  background: var(--white);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--gray-300);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-icon svg {
  width: 24px;
  height: 24px;
}
.feature-icon-blue { background: var(--blue-pale); color: var(--blue); }
.feature-icon-green { background: var(--green-pale); color: var(--green); }
.feature-icon-gold { background: var(--gold-pale); color: var(--gold); }
.feature-icon-navy { background: rgba(26,39,68,0.08); color: var(--navy); }
.feature-icon-slate { background: var(--gray-100); color: var(--slate); }
.feature-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.feature-card > p {
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
.feature-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}
.feature-bullets li {
  font-size: 0.9rem;
  color: var(--navy);
  padding: 6px 0 6px 22px;
  position: relative;
  line-height: 1.45;
}
.feature-bullets li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}
.feature-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gold-pale);
  color: var(--gold);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ===== Workflow ===== */
.dash-workflow {
  padding: 96px 0;
  background: var(--gray-50);
}
.workflow-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 760px;
  counter-reset: workflow;
}
.workflow-list li {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-200);
}
.workflow-list li:last-child { border-bottom: none; }
.workflow-step {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
}
.workflow-body { flex: 1; }
.workflow-body h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.workflow-body p {
  color: var(--slate);
  line-height: 1.6;
}
.workflow-body strong {
  color: var(--navy);
  font-weight: 600;
}

/* ===== Privacy ===== */
.dash-privacy {
  padding: 96px 0;
  background: var(--white);
}
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}
.privacy-item {
  padding: 24px;
  border-left: 3px solid var(--blue);
  background: var(--blue-pale);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.privacy-item h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.privacy-item p {
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ===== Bottom CTA ===== */
.dash-cta {
  padding: 96px 0;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}
.dash-cta h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--white);
  margin-bottom: 12px;
}
.dash-cta .section-sub {
  color: rgba(255,255,255,0.8);
}
.dash-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}
.dash-cta-buttons .btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.dash-cta-buttons .btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
  .dash-hero { padding: 64px 0 56px; }
  .dash-features, .dash-workflow, .dash-privacy, .dash-cta { padding: 64px 0; }
  .workflow-list li { padding: 20px 0; gap: 16px; }
  .workflow-step { width: 40px; height: 40px; flex: 0 0 40px; font-size: 1.1rem; }
  .feature-card { padding: 24px; }
}
