/* Roadmap page — visual parity with app.authoritynova.com/app/roadmap */

.an-rm-page {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.an-rm-page.page-hero-offset {
  padding-top: calc(72px + clamp(1.5rem, 4vw, 3rem));
}

.an-rm-hero {
  position: relative;
  padding: 1rem 0 3rem;
}

.an-rm-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .an-rm-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
  }
}

.an-rm-hero__copy {
  min-width: 0;
}

.an-rm-hero__graphic {
  width: 100%;
  max-width: 34rem;
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .an-rm-hero__graphic {
    margin-inline: 0 0;
    margin-left: auto;
    max-width: none;
  }
}

.an-rm-hero__graphic img,
.an-rm-hero__graphic picture,
.an-rm-hero__graphic svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.25rem;
  box-shadow: 0 18px 48px rgba(21, 46, 61, 0.1);
}

.an-rm-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
}

.an-rm-hero__pill-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--success);
}

.an-rm-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 1rem;
}

.an-rm-hero__title span {
  background: var(--an-text-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.an-rm-hero__desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 42rem;
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.an-rm-hero__note {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.an-rm-divider {
  height: 1px;
  margin: 0 0 3.5rem;
  background: linear-gradient(90deg, transparent, var(--border-soft) 20%, var(--border-soft) 80%, transparent);
}

.an-rm-section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-accent);
  margin-bottom: 0.5rem;
}

.an-rm-section-label--success { color: var(--success); }
.an-rm-section-label--gold { color: #B45309; }

.an-rm-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.an-rm-section-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  max-width: 36rem;
  line-height: 1.6;
}

.an-rm-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Journey flywheel */
.an-rm-journey {
  margin-bottom: 3.5rem;
}

.an-rm-flywheel {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.an-rm-flywheel__mesh {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 8% 0%, rgba(212, 160, 23, 0.09) 0%, transparent 55%),
    radial-gradient(ellipse 50% 65% at 92% 100%, rgba(37, 99, 235, 0.08) 0%, transparent 55%);
}

.an-rm-flywheel__inner {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
}

.an-rm-flywheel__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
}

.an-rm-step {
  padding: 1rem 0.85rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 2px 12px -6px rgba(25, 53, 70, 0.12);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.an-rm-step:hover {
  transform: translateY(-2px);
  border-color: var(--border-soft);
  box-shadow: var(--shadow-md);
}

.an-rm-step__index {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.an-rm-step__icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.5rem 0;
  background: var(--bg-alt);
  color: var(--blue-primary);
}

.an-rm-step--gold .an-rm-step__icon { color: #B45309; background: #FEF3C7; }
.an-rm-step--violet .an-rm-step__icon { color: #7C3AED; background: #EDE9FE; }
.an-rm-step--blue .an-rm-step__icon { color: var(--blue-primary); background: #DBEAFE; }

.an-rm-step__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.an-rm-step__body {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.65rem;
}

.an-rm-step__chip {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--text-muted);
}

.an-rm-flywheel__loop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Live feature grid */
.an-rm-live-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.an-rm-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.an-rm-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-soft);
  box-shadow: var(--shadow-md);
}

.an-rm-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.an-rm-card__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  color: var(--blue-primary);
}

.an-rm-card__icon--gold { color: #B45309; background: #FEF3C7; }
.an-rm-card__icon--violet { color: #7C3AED; background: #EDE9FE; }

.an-rm-card__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.an-rm-card:hover .an-rm-card__name { color: var(--blue-primary); }

.an-rm-card__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}

.an-rm-card__link {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.an-rm-card:hover .an-rm-card__link { color: var(--cyan-accent); }

/* Pipeline timeline */
.an-rm-pipeline {
  position: relative;
}

.an-rm-pipeline__line {
  position: absolute;
  left: 1.4rem;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, #D4A017 0%, var(--cyan-accent) 45%, transparent 100%);
}

.an-rm-pipeline__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.an-rm-pipeline-item {
  position: relative;
  padding-left: 3.5rem;
}

.an-rm-pipeline-item__dot {
  position: absolute;
  left: 0.9rem;
  top: 1.75rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.an-rm-pipeline-item__dot::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #D4A017;
}

.an-rm-pipeline-card {
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.an-rm-pipeline-card__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.an-rm-pipeline-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.an-rm-pipeline-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.an-rm-pipeline-card .plan-note {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--cyan-accent);
  margin-top: 0.5rem;
}

.an-rm-quarter {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* Status pills */
.an-rm-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.an-rm-status::before {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
}

.an-rm-status--live { background: #D1FAE5; color: #047857; border-color: #A7F3D0; }
.an-rm-status--live::before { background: #059669; }
.an-rm-status--shipping { background: #FEF3C7; color: #B45309; border-color: #FDE68A; }
.an-rm-status--shipping::before { background: #D97706; animation: an-rm-pulse 2s infinite; }
.an-rm-status--planned { background: #DBEAFE; color: #1D4ED8; border-color: #BFDBFE; }
.an-rm-status--planned::before { background: #2563EB; }
.an-rm-status--exploring { background: var(--bg-alt); color: var(--text-muted); border-color: var(--border); }
.an-rm-status--exploring::before { background: var(--text-muted); }

@keyframes an-rm-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* Vision */
.an-rm-vision {
  padding: 2rem 2.25rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.an-rm-vision__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.an-rm-vision__lead {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 1rem 0;
}

.an-rm-vision__support {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.an-rm-pillars {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.an-rm-pillar {
  padding: 1rem;
  border-radius: 0.85rem;
  border: 1px solid var(--border);
  background: var(--bg-alt);
}

.an-rm-pillar h3 {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.an-rm-pillar p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Feedback */
.an-rm-feedback {
  margin-top: 3.5rem;
  padding: 2rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.04), rgba(16, 153, 201, 0.06));
  box-shadow: var(--shadow-md);
}

.an-rm-feedback__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.an-rm-feedback textarea {
  width: 100%;
  min-height: 7rem;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.875rem;
  resize: vertical;
}

.an-rm-founder {
  margin-top: 3.5rem;
  padding: 3rem 0;
}

.an-rm-founder__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.an-rm-founder__points {
  list-style: none;
  margin-top: 1.25rem;
}

.an-rm-founder__points li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.35rem 0 0.35rem 1.25rem;
  position: relative;
}

.an-rm-founder__points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.an-rm-founder__card {
  padding: 1.75rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.an-rm-founder__stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
}

.an-rm-founder__stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .an-rm-flywheel__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .an-rm-live-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .an-rm-vision__grid,
  .an-rm-feedback__grid,
  .an-rm-founder__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .an-rm-flywheel__steps,
  .an-rm-live-grid { grid-template-columns: 1fr; }
  .an-rm-pipeline__line,
  .an-rm-pipeline-item__dot { display: none; }
  .an-rm-pipeline-item { padding-left: 0; }
  .an-rm-page { padding-top: calc(72px + 1rem); }
}
