:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #60716d;
  --line: #d7dfdc;
  --panel: #ffffff;
  --soft: #f3f7f5;
  --soft-2: #e8f1ee;
  --accent: #c8102e;
  --accent-2: #0b6b5e;
  --danger: #b44438;
  --warn: #9f6b12;
  --ok: #087451;
  --shadow: 0 18px 50px rgba(21, 44, 39, 0.12);
}

/* Premium Canada audit skin */
:root {
  --ink: #f8faf9;
  --muted: #a9b6b2;
  --line: rgba(255, 255, 255, 0.1);
  --panel: rgba(12, 18, 17, 0.82);
  --soft: rgba(255, 255, 255, 0.035);
  --soft-2: rgba(237, 41, 57, 0.09);
  --accent: #ed2939;
  --accent-2: #d4af37;
  --danger: #ff6a5c;
  --warn: #d4af37;
  --ok: #49d18f;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.36);
}

body {
  background:
    linear-gradient(180deg, rgba(4, 7, 7, 0.8), rgba(4, 7, 7, 0.98)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=2000&q=80");
  background-attachment: fixed;
  background-size: cover;
  color: var(--ink);
  font-family: Outfit, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hero {
  border-color: rgba(237, 41, 57, 0.34);
  background:
    linear-gradient(135deg, rgba(5, 10, 9, 0.82), rgba(40, 6, 9, 0.82)),
    url("https://images.unsplash.com/photo-1517935706615-2717063c2225?auto=format&fit=crop&w=1800&q=80");
  background-position: center;
}

.hero h1 span,
.eyebrow {
  color: var(--accent-2);
}

.form-panel,
.output-panel,
.disclaimer,
.card,
.dual-card,
.table-wrap,
.snapshot-box,
.price-card,
.locked-panel,
.route-hero {
  background: var(--panel);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.form-panel {
  border: 1px solid rgba(237, 41, 57, 0.22);
}

.quick-intake,
.advanced-fields {
  background: rgba(255, 255, 255, 0.025);
  border-color: var(--line);
}

.advanced-fields summary,
label,
h2,
h3,
.score-tile strong,
td,
th {
  color: var(--ink);
}

input,
select,
textarea {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--ink);
}

select option {
  background: #08100f;
  color: #ffffff;
}

input::placeholder,
textarea::placeholder {
  color: #778580;
}

.primary-button {
  background: var(--accent);
  color: white;
  box-shadow: 0 0 22px rgba(237, 41, 57, 0.24);
}

.secondary-button {
  background: #ffffff;
  color: #111716;
}

.ghost-button,
.tab-button {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--ink);
}

.tab-button.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.score-tile,
.question-item,
.upload-note {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line);
}

.dual-card.acceleration-path,
.price-card.featured {
  border-color: rgba(212, 175, 55, 0.38);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.08), rgba(255, 255, 255, 0.025));
}

.notice {
  background: rgba(212, 175, 55, 0.09);
  color: #f5e7bd;
  border-left-color: var(--accent-2);
}

.badge {
  background: rgba(255, 255, 255, 0.08);
  color: #e9f0ee;
}

.badge.high {
  background: rgba(73, 209, 143, 0.13);
  color: var(--ok);
}

.badge.moderate {
  background: rgba(212, 175, 55, 0.14);
  color: var(--warn);
}

.badge.low {
  background: rgba(237, 41, 57, 0.16);
  color: #ff938b;
}

th {
  background: rgba(237, 41, 57, 0.1);
}

td,
th {
  border-bottom-color: var(--line);
}

.empty-state {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(212, 175, 55, 0.28);
}

.snapshot-box {
  background: #050807;
  border-color: rgba(212, 175, 55, 0.18);
}

.route-hero,
.locked-panel {
  padding: 18px;
  border-radius: 8px;
  margin: 14px 0;
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.link-list a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 6px;
  color: #f5d36b;
  padding: 6px 10px;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 800;
}

.route-steps {
  display: grid;
  gap: 12px;
  margin: 16px 0;
  counter-reset: route-step;
}

.route-step {
  position: relative;
  padding: 16px 16px 16px 58px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.route-step::before {
  counter-increment: route-step;
  content: counter(route-step);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}

.locked-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0;
}

.chance-bar {
  height: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  margin-top: 12px;
}

.chance-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

@media (max-width: 740px) {
  .locked-grid {
    grid-template-columns: 1fr;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f7faf9;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

button,
input,
select,
textarea {
  font: inherit;
}

.app-shell {
  width: min(1480px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 42px;
}

.hero {
  min-height: 320px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 24px;
  align-items: stretch;
  padding: 30px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(111, 12, 26, 0.92), rgba(20, 47, 54, 0.92)),
    url("https://images.unsplash.com/photo-1517935706615-2717063c2225?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  color: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 8px;
  color: inherit;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  opacity: 0.72;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.3rem, 6vw, 5.7rem);
}

h2 {
  font-size: 1.55rem;
}

h3 {
  font-size: 1.05rem;
}

.hero p {
  max-width: 720px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

.hero-panel {
  align-self: end;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(12px);
  border-radius: 8px;
}

.hero-panel div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-panel div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.metric-label {
  color: rgba(255, 255, 255, 0.68);
}

.workspace {
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1.22fr);
  gap: 22px;
  align-items: start;
  margin-top: 22px;
}

.form-panel,
.output-panel,
.disclaimer,
.card,
.dual-card,
.table-wrap,
.snapshot-box {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 8px;
  box-shadow: 0 10px 32px rgba(21, 44, 39, 0.08);
}

.form-panel {
  position: sticky;
  top: 16px;
  padding: 20px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 18px;
}

.quick-intake {
  display: grid;
  gap: 14px;
  padding: 14px;
  background: linear-gradient(180deg, #f4faf7, #ffffff);
  border: 1px solid #cfe0da;
  border-radius: 8px;
}

.upload-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.8fr);
  gap: 12px;
  align-items: end;
}

.upload-note {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid #d7e2df;
  background: #f8fbfa;
  color: var(--muted);
  border-radius: 6px;
  font-size: 0.82rem;
}

.advanced-fields {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.advanced-fields summary {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  cursor: pointer;
  color: #203632;
  font-weight: 850;
}

.advanced-fields .form-grid {
  padding: 0 14px 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.section-pill {
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 900;
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox-line input {
  width: 18px;
  min-height: 18px;
}

.nested-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: #31423f;
  font-size: 0.86rem;
  font-weight: 750;
}

.wide {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #cdd8d4;
  border-radius: 6px;
  background: #fbfdfc;
  color: var(--ink);
  padding: 10px 11px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13, 124, 102, 0.14);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

button {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 800;
}

.primary-button,
.secondary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.primary-button {
  background: var(--accent);
  color: white;
}

.secondary-button {
  background: #183b43;
  color: white;
}

.ghost-button {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}

.output-panel {
  min-height: 720px;
  padding: 20px;
}

.empty-state {
  display: grid;
  min-height: 650px;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: 38px;
  background: var(--soft);
  border: 1px dashed #b8c7c2;
  border-radius: 8px;
}

.empty-state p {
  max-width: 520px;
  color: var(--muted);
}

.report-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.score-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.score-tile {
  padding: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.score-tile span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.score-tile strong {
  display: block;
  margin-top: 5px;
  font-size: 1.25rem;
}

.dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 18px 0;
}

.report-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 0 4px;
}

.tab-button {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: #fff;
  color: #30423e;
}

.tab-button.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.report-page {
  display: none;
  padding-top: 12px;
}

.report-page.active {
  display: block;
}

.dual-card {
  padding: 16px;
}

.dual-card.primary-path {
  border-color: #c8d7d3;
}

.dual-card.acceleration-path {
  border-color: rgba(13, 124, 102, 0.4);
  background: linear-gradient(180deg, #ffffff, #f0f7f4);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #edf3f1;
  color: #324540;
  font-size: 0.78rem;
  font-weight: 850;
}

.badge.high {
  background: #e2f4ee;
  color: var(--ok);
}

.badge.moderate {
  background: #fff4d9;
  color: var(--warn);
}

.badge.low {
  background: #fbe8e5;
  color: var(--danger);
}

.badge.neutral {
  background: #e8eef2;
  color: #30424c;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.card {
  padding: 16px;
}

.card ul,
.dual-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.card li,
.dual-card li {
  margin: 6px 0;
}

.table-wrap {
  overflow-x: auto;
  margin: 18px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--soft);
  color: #344844;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.snapshot-box {
  margin-top: 18px;
  padding: 16px;
  background: #14201e;
  color: #eef7f4;
}

pre {
  margin: 12px 0 0;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
  color: #d9f4eb;
  font-size: 0.84rem;
}

.disclaimer {
  margin-top: 22px;
  padding: 14px 16px;
  color: var(--muted);
}

.notice {
  padding: 12px;
  border-left: 4px solid var(--accent);
  background: #fff9e8;
  border-radius: 6px;
  color: #5d4617;
}

.route-focus {
  display: grid;
  gap: 14px;
}

.route-hero {
  padding: 18px;
  border: 1px solid rgba(200, 16, 46, 0.25);
  background: linear-gradient(180deg, #fff7f8, #ffffff);
  border-radius: 8px;
}

.route-steps {
  counter-reset: routeStep;
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.route-step {
  counter-increment: routeStep;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.route-step::before {
  content: counter(routeStep);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-weight: 900;
}

.link-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.link-list a {
  color: var(--accent);
  font-weight: 850;
  text-decoration: none;
}

.link-list a:hover {
  text-decoration: underline;
}

.locked-panel {
  padding: 18px;
  border: 1px solid rgba(200, 16, 46, 0.24);
  background: linear-gradient(180deg, #fff7f8, #ffffff);
  border-radius: 8px;
}

.locked-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.chance-bar {
  height: 10px;
  overflow: hidden;
  background: #e7eeeb;
  border-radius: 999px;
}

.chance-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.lead-cta {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 16px;
  background: var(--soft-2);
  border: 1px solid #c9d8d4;
  border-radius: 8px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.price-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.price-card.featured {
  border-color: rgba(13, 124, 102, 0.5);
  background: linear-gradient(180deg, #f1faf6, #ffffff);
}

.price-card strong {
  display: block;
  margin: 8px 0;
  font-size: 1.5rem;
}

.question-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.question-item {
  padding: 12px;
  border: 1px solid #d8e3df;
  background: #f8fbfa;
  border-radius: 8px;
}

@media (max-width: 1120px) {
  .workspace,
  .hero {
    grid-template-columns: 1fr;
  }

  .form-panel {
    position: static;
  }

  .score-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 740px) {
  .app-shell {
    width: min(100% - 20px, 1480px);
    padding-top: 10px;
  }

  .hero,
  .form-panel,
  .output-panel {
    padding: 16px;
  }

  .form-grid,
  .dual-grid,
  .card-grid,
  .pricing-grid,
  .locked-grid,
  .upload-row,
  .score-strip,
  .report-header {
    grid-template-columns: 1fr;
  }

  .report-actions {
    justify-content: stretch;
  }

  .report-actions button,
  .button-row button {
    width: 100%;
  }

  h1 {
    font-size: 2.35rem;
  }
}

/* Final audit-skin overrides. Kept last so the premium report style wins. */
:root {
  color-scheme: dark;
  --ink: #f8faf9;
  --muted: #a9b6b2;
  --line: rgba(255, 255, 255, 0.1);
  --panel: rgba(12, 18, 17, 0.84);
  --soft: rgba(255, 255, 255, 0.04);
  --soft-2: rgba(237, 41, 57, 0.1);
  --accent: #ed2939;
  --accent-2: #d4af37;
  --danger: #ff6a5c;
  --warn: #d4af37;
  --ok: #49d18f;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.36);
}

body {
  background:
    linear-gradient(180deg, rgba(4, 7, 7, 0.8), rgba(4, 7, 7, 0.98)),
    url("https://images.unsplash.com/photo-1517935706615-2717063c2225?auto=format&fit=crop&w=2000&q=80");
  background-attachment: fixed;
  background-size: cover;
  color: var(--ink);
}

.hero {
  border-color: rgba(237, 41, 57, 0.34);
  background:
    linear-gradient(135deg, rgba(5, 10, 9, 0.84), rgba(42, 7, 10, 0.86)),
    url("https://images.unsplash.com/photo-1517935706615-2717063c2225?auto=format&fit=crop&w=1800&q=80");
  background-position: center;
}

.hero-panel,
.quick-intake,
.advanced-fields,
.score-tile,
.question-item,
.route-step,
.upload-note {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
}

.form-panel,
.output-panel,
.disclaimer,
.card,
.dual-card,
.table-wrap,
.snapshot-box,
.price-card,
.locked-panel,
.route-hero {
  background: var(--panel);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.form-panel {
  border-color: rgba(237, 41, 57, 0.26);
}

.advanced-fields summary,
label,
h2,
h3,
.score-tile strong,
td,
th {
  color: var(--ink);
}

input,
select,
textarea {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--ink);
}

select option {
  background: #08100f;
  color: #fff;
}

.primary-button {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 22px rgba(237, 41, 57, 0.24);
}

.secondary-button {
  background: #fff;
  color: #111716;
}

.ghost-button,
.tab-button {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--ink);
}

.tab-button.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.dual-card.acceleration-path,
.price-card.featured {
  border-color: rgba(212, 175, 55, 0.42);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.08), rgba(255, 255, 255, 0.025));
}

.notice {
  background: rgba(212, 175, 55, 0.09);
  color: #f5e7bd;
  border-left-color: var(--accent-2);
}

.badge {
  background: rgba(255, 255, 255, 0.08);
  color: #e9f0ee;
}

.badge.high {
  background: rgba(73, 209, 143, 0.13);
  color: var(--ok);
}

.badge.moderate {
  background: rgba(212, 175, 55, 0.14);
  color: var(--warn);
}

.badge.low {
  background: rgba(237, 41, 57, 0.16);
  color: #ff938b;
}

th {
  background: rgba(237, 41, 57, 0.1);
}

td,
th {
  border-bottom-color: var(--line);
}

.empty-state {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(212, 175, 55, 0.28);
}

.snapshot-box {
  background: #050807;
  border-color: rgba(212, 175, 55, 0.18);
}

/* ==========================================================================
   2-STEP WORKFLOW REDESIGN & PREMIUM STYLES
   ========================================================================== */

/* Active Screen States */
.app-screen {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.app-screen.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Glow Typography */
.text-glow {
  background: linear-gradient(135deg, #ff7b88 0%, var(--accent) 50%, #ffd066 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(237, 41, 57, 0.28);
}

/* Button & Layout Helpers */
.btn-lg {
  min-height: 48px !important;
  font-size: 0.95rem !important;
  padding: 12px 24px !important;
  border-radius: 8px !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(237, 41, 57, 0.35);
}

.landing-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.landing-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.feature-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 8px;
  backdrop-filter: blur(18px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.35);
}

.feature-card h3 {
  color: var(--accent-2);
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.45;
}

/* Wizard Headings & Stepper Styles */
.wizard-header {
  margin-bottom: 24px;
}

.wizard-header h2 {
  font-size: 1.85rem;
  margin-bottom: 20px;
  font-weight: 850;
  text-align: center;
}

.progress-bar-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-bottom: 10px;
}

.progress-line {
  position: absolute;
  top: 18px;
  left: 40px;
  right: 40px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  z-index: 1;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  width: 25%;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.progress-step .step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #111b19;
  border: 2px solid var(--line);
  color: var(--muted);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.progress-step .step-label {
  font-size: 0.76rem;
  font-weight: 850;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.progress-step.active .step-num {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 16px rgba(237, 41, 57, 0.4);
}

.progress-step.active .step-label {
  color: #fff;
}

.progress-step.completed .step-num {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: #fff;
}

.progress-step.completed .step-label {
  color: var(--accent-2);
}

/* Wizard Form Cards */
.wizard-form {
  max-width: 800px;
  margin: 0 auto;
}

.wizard-card {
  display: none;
}

.wizard-card.active {
  display: block;
  animation: slideFadeIn 0.3s ease forwards;
}

@keyframes slideFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-title {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.divider-line {
  grid-column: 1 / -1;
  height: 1px;
  background: var(--line);
  margin: 10px 0;
}

/* ECA and WES Alert Styles */
.notice-info {
  background: rgba(11, 107, 94, 0.12);
  border-left: 4px solid var(--accent-2);
  color: #c9ebd8;
}

.notice-warning {
  background: rgba(212, 175, 55, 0.08);
  border-left: 4px solid var(--accent-2);
  color: #f7e6bb;
}

.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px !important;
  font-size: 0.88rem;
  line-height: 1.45;
  border-radius: 6px;
}

.notice-icon {
  font-size: 1.1rem;
}

/* Occupation Autocomplete Dropdown */
.occupation-search-wrapper {
  position: relative;
}

.suggestions-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #08100f;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  max-height: 240px;
  overflow-y: auto;
  z-index: 100;
  display: none;
  margin-top: 4px;
}

.suggestion-item {
  padding: 11px 14px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 0.15s ease;
  font-size: 0.86rem;
  text-align: left;
}

.suggestion-item:last-child {
  border-bottom: 0;
}

.suggestion-item:hover,
.suggestion-item.selected {
  background: rgba(237, 41, 57, 0.12);
}

.suggestion-item strong {
  color: var(--accent-2);
  margin-right: 6px;
}

.suggestion-item span.noc-tag {
  float: right;
  font-size: 0.74rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--muted);
}

/* CLB Readout Display */
.clb-readout-tile {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.clb-readout-tile span {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 850;
  text-transform: uppercase;
}

.clb-readout-tile strong {
  font-size: 1.45rem;
  color: var(--ok);
}

/* Navigation Row */
.wizard-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.wizard-navigation button {
  min-width: 140px;
}

/* Funds Gap visualization */
.funds-gap-container {
  margin: 16px 0;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.funds-gap-bar {
  height: 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
  margin: 10px 0;
}

.funds-gap-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--danger), var(--ok));
  border-radius: 99px;
  transition: width 0.5s ease;
}

.funds-gap-text-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 750;
  color: var(--muted);
}

.funds-gap-target-glow {
  color: var(--ok);
  text-shadow: 0 0 10px rgba(73, 209, 143, 0.3);
}

/* PREMIUM UNLOCK PORTAL (SCREEN 4) */
.payment-confirmed-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 34px;
  padding: 20px 0;
}

.success-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--ok);
  color: #0c1211;
  font-size: 2rem;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  font-weight: 900;
  box-shadow: 0 0 24px rgba(73, 209, 143, 0.4);
}

.payment-confirmed-header h2 {
  font-size: 1.95rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.payment-confirmed-header p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.premium-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: 22px;
  align-items: start;
}

/* Spark glow highlights on cards */
.premium-notebook-card {
  position: relative;
  overflow: hidden;
}

.card-glow-edge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.notebook-button-row {
  display: flex;
  gap: 12px;
  margin: 18px 0;
  flex-wrap: wrap;
}

.snapshot-header-row {
  background: #141d1b;
  border-bottom: 1px solid var(--line);
  padding: 6px 12px;
  font-size: 0.74rem;
  color: var(--muted);
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

.snapshot-box pre {
  margin: 0;
  padding: 14px;
  max-height: 280px;
  overflow-y: auto;
  font-size: 0.8rem;
  background: #040807;
  color: #a4ebd2;
}

/* Prompt Packs style */
.prompt-group {
  display: grid;
  gap: 16px;
  margin-top: 14px;
}

.prompt-tile {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.prompt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}

.prompt-header h4 {
  margin: 0;
  font-size: 0.86rem;
  color: var(--accent-2);
}

.btn-copy-prompt {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.76rem;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 4px;
}

.btn-copy-prompt:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.prompt-text {
  margin: 0;
  padding: 12px;
  max-height: 180px;
  overflow-y: auto;
  background: #040606;
  font-size: 0.78rem;
  color: #d1dfdb;
}

/* Checklist simulation */
.checklist-container {
  display: grid;
  gap: 18px;
  margin: 14px 0;
}

.checklist-group {
  display: grid;
  gap: 10px;
}

.checklist-group h4 {
  margin: 0 0 4px;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--accent-2);
  letter-spacing: 0.5px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.checklist-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.checklist-item.locked {
  opacity: 0.45;
  cursor: not-allowed;
}

.checklist-item.locked:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* Custom Checkbox styles */
.checklist-item input[type="checkbox"] {
  display: none;
}

.checklist-custom-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s ease;
  position: relative;
}

.checklist-item input[type="checkbox"]:checked + .checklist-custom-checkbox {
  background: var(--ok);
  border-color: var(--ok);
}

.checklist-item input[type="checkbox"]:checked + .checklist-custom-checkbox::after {
  content: "✓";
  color: #0c1211;
  font-weight: 900;
  font-size: 0.8rem;
}

.checklist-item.locked .checklist-custom-checkbox {
  border-color: rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.checklist-content {
  display: grid;
  gap: 2px;
  text-align: left;
}

.checklist-content strong {
  font-size: 0.88rem;
  color: #fff;
  transition: color 0.2s ease;
}

.checklist-item input[type="checkbox"]:checked ~ .checklist-content strong {
  text-decoration: line-through;
  color: var(--muted);
}

.checklist-content .subtext {
  font-size: 0.76rem;
  color: var(--muted);
}

.status-pill {
  position: absolute;
  right: 12px;
  top: 12px;
  font-size: 0.68rem;
  font-weight: 850;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
}

.status-pill.open {
  background: rgba(212, 175, 55, 0.12);
  color: var(--warn);
}

.status-pill.complete {
  background: rgba(73, 209, 143, 0.12);
  color: var(--ok);
}

.status-pill.locked {
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.checklist-summary {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.summary-label {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 850;
}

.checklist-summary strong {
  font-size: 1.1rem;
  color: var(--ok);
  text-shadow: 0 0 10px rgba(73, 209, 143, 0.25);
}

/* Premium Review modal simulator */
.premium-checkout-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 7, 7, 0.88);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.25s ease;
}

.premium-checkout-modal {
  background: var(--panel);
  border: 1px solid rgba(237, 41, 57, 0.35);
  max-width: 500px;
  width: 90%;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  position: relative;
  overflow: hidden;
  animation: scaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  from { transform: scale(0.9) translateY(12px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.premium-checkout-modal .card-glow-edge {
  height: 4px;
}

.modal-content {
  padding: 24px;
  text-align: center;
}

.modal-content h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
  color: #fff;
}

.modal-content p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.price-glow-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: 8px;
  margin: 18px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price-glow-box span {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 850;
  letter-spacing: 0.5px;
}

.price-glow-box strong {
  font-size: 2.1rem;
  color: var(--accent-2);
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
  margin-top: 4px;
}

.modal-button-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.modal-button-row button {
  width: 100%;
}

/* ==========================================================================
   RESPONSIVE OVERRIDES
   ========================================================================== */
@media (max-width: 1024px) {
  .premium-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .progress-step .step-label {
    display: none;
  }
  
  .progress-line {
    left: 20px;
    right: 20px;
  }
  
  .landing-features {
    grid-template-columns: 1fr;
  }
  
  .modal-button-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PREMIUM SNAPSHOT SCREEN 3 UPGRADES
   ========================================================================== */
.readiness-scorecard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.scorecard-tile {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.01);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.scorecard-tile:hover {
  border-color: rgba(237, 41, 57, 0.22);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.035);
}

.scorecard-tile h4 {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px 0;
  letter-spacing: 0.05em;
}

.scorecard-tile strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 850;
  color: var(--ink);
  margin-bottom: 10px;
}

.scorecard-progress-bar {
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.scorecard-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 999px;
  width: 0;
  transition: width 1s ease-out;
}

.overall-readiness-container {
  background: linear-gradient(135deg, rgba(237, 41, 57, 0.04), rgba(212, 175, 55, 0.04));
  border: 1px solid rgba(237, 41, 57, 0.2);
  border-radius: 16px;
  padding: 20px;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.overall-readiness-container h3 {
  font-size: 0.9rem;
  font-weight: 850;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 0 0 10px 0;
  letter-spacing: 0.08em;
}

.overall-readiness-gauge {
  width: 100%;
  max-width: 480px;
  margin: 8px 0;
}

.overall-readiness-gauge-bar {
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
}

.overall-readiness-gauge-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 999px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px var(--accent);
}

.overall-readiness-value {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--ink);
  margin-top: 10px;
  font-family: Outfit, sans-serif;
  text-shadow: 0 0 20px rgba(237, 41, 57, 0.35);
}

/* FUNDS GUIDANCE AND STRATEGIES */
.funds-strategies-section {
  margin: 24px 0;
}

.funds-strategies-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--ink);
}

.funds-strategies-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 768px) {
  .funds-strategies-grid {
    grid-template-columns: 1fr;
  }
}

.funds-strategy-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  transition: all 0.3s ease;
}

.funds-strategy-card:hover {
  border-color: rgba(212, 175, 55, 0.22);
  background: rgba(255, 255, 255, 0.035);
}

.funds-strategy-card h4 {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent-2);
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.funds-strategy-card p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

/* ACTION PLAN TEASER SYSTEM */
.action-plan-teaser-container {
  margin: 28px 0;
  position: relative;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}

.action-plan-teaser-container h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--ink);
}

.teaser-timeline {
  display: grid;
  gap: 12px;
  position: relative;
}

.teaser-step-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  position: relative;
  transition: all 0.3s ease;
}

.teaser-step-num {
  width: 32px;
  height: 32px;
  background: var(--accent-2);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.teaser-step-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 4px 0;
}

.teaser-step-info p {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

.teaser-step-card.locked-blur {
  filter: blur(4px);
  opacity: 0.28;
  pointer-events: none;
  user-select: none;
}

.teaser-lock-overlay {
  position: absolute;
  top: 130px; /* Over Steps 3 and 4 */
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  padding: 20px;
  background: linear-gradient(180deg, transparent, rgba(5, 8, 8, 0.85) 30%, rgba(5, 8, 8, 0.98));
  border-radius: 12px;
}

.teaser-lock-box {
  background: rgba(12, 18, 17, 0.95);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  max-width: 360px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(212, 175, 55, 0.1);
  backdrop-filter: blur(12px);
}

.teaser-lock-icon {
  font-size: 2rem;
  margin-bottom: 8px;
  display: inline-block;
  animation: padlockPulse 2s infinite ease-in-out;
}

.teaser-lock-box h4 {
  font-size: 0.95rem;
  font-weight: 850;
  color: var(--accent-2);
  margin: 0 0 6px 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.teaser-lock-box p {
  font-size: 0.78rem;
  color: #c9d6d3;
  margin: 0;
  line-height: 1.4;
}

@keyframes padlockPulse {
  0% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.2)); }
  50% { transform: scale(1.06); filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4)); }
  100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.2)); }
}

/* ==========================================================================
   SECURE LOADING OVERLAY
   ========================================================================== */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 7, 7, 0.94);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.loader-box {
  background: var(--panel);
  border: 1px solid rgba(237, 41, 57, 0.25);
  padding: 32px 48px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 32px rgba(237, 41, 57, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.loader-box p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--accent-2);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.08);
  border-top-color: var(--accent-2);
  border-radius: 50%;
  animation: spin 1s infinite linear;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}


/* ============================================================
   PREMIUM PORTAL — PROFILE METRICS BAR
   ============================================================ */
.profile-metrics-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 0 4px;
  margin-bottom: 28px;
}

.metric-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 180px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 14px 18px;
  transition: border-color 0.3s, box-shadow 0.3s;
  backdrop-filter: blur(12px);
}

.metric-pill:hover {
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.07);
}

.metric-icon {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
}

.metric-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.metric-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.metric-info strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

/* ============================================================
   PREMIUM PORTAL — TOP PATHWAYS SECTION
   ============================================================ */
.top-pathways-section {
  margin-bottom: 36px;
}

.section-heading-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 18px;
}

.section-heading {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0;
}

.section-sub {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

.pathway-cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.pathway-card {
  background: var(--pc-bg, rgba(255,255,255,0.04));
  border: 1px solid var(--pc-border, rgba(255,255,255,0.1));
  border-radius: 18px;
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  backdrop-filter: blur(14px);
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
  position: relative;
  overflow: hidden;
}

.pathway-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--pc-color, var(--accent-2)), transparent 60%);
  opacity: 0.04;
  pointer-events: none;
}

.pathway-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 24px rgba(212,175,55,0.06);
  border-color: var(--pc-color, var(--accent-2));
}

.pathway-card--primary {
  border-color: var(--pc-border);
  box-shadow: 0 6px 32px rgba(0,0,0,0.25), 0 0 28px rgba(73,209,143,0.08);
}

.pathway-card--primary::after {
  content: "TOP MATCH";
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--pc-color, var(--ok));
  background: var(--pc-bg, rgba(73,209,143,0.1));
  border: 1px solid var(--pc-border, rgba(73,209,143,0.2));
  border-radius: 20px;
  padding: 3px 9px;
}

.pathway-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pathway-rank {
  font-size: 1.5rem;
  line-height: 1;
}

.pathway-score-badge {
  font-size: 1.65rem;
  font-weight: 900;
  line-height: 1;
  font-family: "Outfit", sans-serif;
}

.pathway-score-badge span {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.65;
  margin-left: 2px;
}

.pathway-name {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.pathway-status-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid;
  width: fit-content;
}

.pathway-reason {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.pathway-action-row {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-2);
  line-height: 1.45;
  padding-top: 4px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.pathway-blockers {
  margin: 0;
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pathway-blockers li {
  font-size: 0.76rem;
  color: var(--accent);
  line-height: 1.45;
}

/* Payment-confirmed header enhanced */
.payment-confirmed-header {
  text-align: center;
  padding: 36px 24px 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(73,209,143,0.07), rgba(212,175,55,0.05));
  border: 1px solid rgba(73,209,143,0.2);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.payment-confirmed-header::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(73,209,143,0.12), transparent 70%);
  pointer-events: none;
}

.payment-confirmed-header .success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ok), #2fb87a);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 0 24px rgba(73,209,143,0.4);
}

.payment-confirmed-header h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: -0.025em;
}

.payment-confirmed-header p {
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Premium Tab Switcher Styles */
.premium-tabs-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.premium-tabs-bar .tab-button {
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.premium-tabs-bar .tab-button.active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(237, 41, 57, 0.25);
}

.premium-tabs-bar .tab-button:hover:not(.active) {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Sequential Stepper Locked Walkthrough */
.sequential-stepper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

/* Vertical line connecting the steps */
.sequential-stepper::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 15px;
  bottom: 15px;
  width: 2px;
  background: rgba(255, 255, 255, 0.06);
  z-index: 1;
}

.checklist-stage {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  padding: 16px;
  transition: all 0.3s ease-in-out;
  z-index: 2;
}

.checklist-stage.active {
  border-color: rgba(212, 175, 55, 0.25);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.03), rgba(255, 255, 255, 0.01));
}

.checklist-stage.locked {
  opacity: 0.5;
  filter: blur(0.5px);
  pointer-events: none;
}

.stage-lock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 7, 0.55);
  backdrop-filter: blur(2px);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: opacity 0.3s ease-in-out;
}

.stage-lock-icon {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--accent-2);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.stage-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.stage-num-badge {
  width: 12px;
  height: 12px;
  min-width: 12px;
  min-height: 12px;
  padding: 6px;
  border-radius: 50%;
  background: var(--ink);
  color: #040707;
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.checklist-stage.active .stage-num-badge {
  background: var(--accent-2);
  color: #040707;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.stage-header h4 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  flex: 1;
}

.stage-status-badge {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stage-status-badge.badge-active {
  background: rgba(212, 175, 55, 0.1);
  color: var(--accent-2);
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.stage-status-badge.badge-locked {
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stage-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Email Card Styling */
.email-delivery-card {
  border: 1px solid rgba(73, 209, 143, 0.15) !important;
  background: linear-gradient(180deg, rgba(73, 209, 143, 0.04), rgba(255, 255, 255, 0.015));
}

.email-input-row input {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.email-input-row button {
  padding: 10px 18px;
  border-radius: 8px;
}

/* Guide list styles */
.guide-steps li strong {
  color: var(--ink);
}

/* ═══════════════════════════════════════════
   FREE VS PREMIUM COMPARISON TABLE
═══════════════════════════════════════════ */
.comparison-section {
  margin: 32px 0;
  padding: 24px;
  background: linear-gradient(135deg, rgba(212,175,55,0.05), rgba(0,0,0,0.4));
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 12px;
}

.comparison-section h3 {
  text-align: center;
  color: var(--accent-2);
  margin-bottom: 24px;
  font-size: 1.4rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.table-responsive-wrap {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
}

.comparison-table th, .comparison-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.comparison-table th {
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td:nth-child(1) {
  font-weight: 700;
  color: #fff;
  width: 25%;
}

.comparison-table td:nth-child(2) {
  color: var(--muted);
  width: 35%;
}

.comparison-table td:nth-child(3) {
  color: #49d18f;
  font-weight: 600;
  width: 40%;
  background: rgba(73, 209, 143, 0.04);
}

.comparison-table th:nth-child(3) {
  background: rgba(73, 209, 143, 0.1);
  color: #49d18f;
}

/* Enhanced Blur for Teaser */
.locked-blur {
  filter: blur(5px);
  opacity: 0.6;
  user-select: none;
  pointer-events: none;
}

.teaser-lock-overlay {
  background: linear-gradient(180deg, transparent, rgba(4, 7, 7, 0.95) 40%, rgba(4, 7, 7, 1) 100%);
  padding-top: 100px;
}

@media (max-width: 600px) {
  .pathway-teaser-row {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 12px;
  }
}

/* ============================================================
   CONVERSION AND MOBILE HARDENING
   ============================================================ */
.free-snapshot-band {
  display: grid;
  gap: 18px;
  margin: 22px 0;
  padding: 22px;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(255, 255, 255, 0.025));
}

.free-snapshot-band p {
  max-width: 760px;
  color: var(--muted);
  margin: 8px 0 0;
}

.free-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.free-snapshot-grid article {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.free-snapshot-grid span,
.phase-progress-row span {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.free-snapshot-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--ink);
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}

.roadmap-toggle-button {
  width: fit-content;
  margin-bottom: 16px;
}

.phase-one-roadmap-details {
  display: grid;
  gap: 14px;
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.phase-progress-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.phase-progress-row strong {
  color: var(--accent-2);
}

.phase-progress-bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.phase-progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.phase-stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.phase-step {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.phase-step span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-2);
  color: #08100f;
  font-weight: 900;
}

.phase-step p {
  margin: 0;
  color: var(--ink);
  font-size: 0.84rem;
}

button,
.primary-button,
.secondary-button,
.ghost-button,
.tab-button,
input,
select {
  min-height: 44px;
}

.checkbox-line,
.checklist-item {
  min-height: 44px;
}

@media (max-width: 768px) {
  .app-shell {
    width: min(100% - 20px, 1480px);
  }

  .hero,
  .report-header,
  .premium-layout,
  .free-snapshot-grid,
  .funds-strategies-grid,
  .phase-stepper {
    grid-template-columns: 1fr;
  }

  .landing-cta-row,
  .wizard-navigation,
  .premium-tabs-bar,
  .notebook-button-row,
  .email-input-row {
    flex-direction: column;
    align-items: stretch;
  }

  .landing-cta-row button,
  .wizard-navigation button,
  .report-actions button,
  .snapshot-preview-section button,
  .roadmap-toggle-button,
  .premium-tabs-bar button,
  .notebook-button-row button,
  .email-input-row button {
    width: 100%;
  }

  .comparison-section {
    padding: 16px;
  }

  .comparison-table {
    min-width: 0;
  }

  .comparison-table thead {
    display: none;
  }

  .comparison-table,
  .comparison-table tbody,
  .comparison-table tr,
  .comparison-table td {
    display: block;
    width: 100% !important;
  }

  .comparison-table tr {
    padding: 12px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.025);
  }

  .comparison-table td {
    border-bottom: 0;
    padding: 7px 0;
  }

  .comparison-table td:nth-child(1)::before {
    content: "Feature: ";
    color: var(--muted);
  }

  .comparison-table td:nth-child(2)::before {
    content: "Free: ";
    color: var(--muted);
    font-weight: 850;
  }

  .comparison-table td:nth-child(3)::before {
    content: "Premium: ";
    color: var(--accent-2);
    font-weight: 850;
  }
}

@media (max-width: 480px) {
  .app-shell {
    width: min(100% - 16px, 1480px);
    padding-top: 8px;
  }

  .hero,
  .form-panel,
  .output-panel,
  .free-snapshot-band,
  .action-plan-teaser-container,
  .comparison-section {
    padding: 14px;
  }

  h1 {
    font-size: 2.1rem;
  }

  .hero p,
  .free-snapshot-band p {
    font-size: 0.94rem;
  }

  .teaser-step-card,
  .phase-step {
    grid-template-columns: 1fr;
  }

  .teaser-lock-overlay {
    position: static;
    padding: 14px 0 0;
    background: transparent;
  }

  .teaser-lock-box {
    max-width: none;
    padding: 16px;
  }
}

/* Freemium Paywall Locks & Teasers */
.premium-locked-section {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
}

.premium-blur-content {
  filter: blur(4px);
  opacity: 0.35;
  pointer-events: none;
  user-select: none;
  transition: all 0.3s ease;
}

.premium-unlock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(8, 16, 15, 0.72);
  backdrop-filter: blur(2px);
  padding: 20px;
  text-align: center;
  z-index: 10;
}

.free-crs-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.premium-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

@media (max-width: 768px) {
  .free-crs-breakdown-grid {
    grid-template-columns: 1fr 1fr;
  }
  .premium-services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .free-crs-breakdown-grid {
    grid-template-columns: 1fr;
  }
}
