/* =====================================================================
   TechPaathshala – AI Relevance Checker + Task Time Analyzer
   style.css  |  Extends course-chooser design tokens & patterns
   ===================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  background-color: #fff;
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #f5f5f5;
}
::-webkit-scrollbar-thumb {
  background: #f3bd00;
  border-radius: 3px;
  transition: all 0.3s ease;
}
::-webkit-scrollbar-thumb:hover {
  background: #f3bd00;
}

:root {
  --color-primary0: #fffbf0;
  --color-primary10: #fff4d1;
  --color-primary40: #f5c400;
  --color-primary50: #f3bd00;
  --color-secondary40: #f4c017;
  --color-black0: #ffffff;
  --color-black5: #f5f5f5;
  --color-black10: #e8e8e8;
  --color-black60: #5c5c5c;
  --color-black70: #424242;
  --color-black80: #292929;
  --color-purple: #5b5ea6;
  --color-purple-light: #ede9fe;
}

/* ── Loading overlay ──────────────────────────────────────────────── */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.loading.active {
  display: flex;
}
.loader {
  width: 50px;
  height: 50px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--color-primary50);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── Toast ────────────────────────────────────────────────────────── */
.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 9998;
}
.toast {
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  background: var(--color-black80);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  animation: slideIn 0.3s ease;
  max-width: 320px;
}
.toast.success {
  background: #166534;
}
.toast.error {
  background: #991b1b;
}
@keyframes slideIn {
  from {
    transform: translateX(120%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
/* ═══════════════════════════════════════════════════════════════════
   FORM SECTION
   ═══════════════════════════════════════════════════════════════════ */

.form-header-section {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--color-black10);
}

body.report-active .form-header-section {
  display: none;
}
.form-header-content {
  max-width: 532px;
  margin: 0 auto;
  padding: 0 16px;
}
.form-nav-header {
  width: 100%;
  position: relative;
}
.form-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

/* Progress dots (4 dots: Q1 / Q2 / Q3 / Result) */
.progress-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 0 12px;
}
.progress-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-black10);
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.progress-dot.active {
  background: #f3bd00;
  width: 24px;
  border-radius: 5px;
}
.progress-dot.done {
  background: #16a34a;
}

/* Progress bar */
.progress-bar {
  background-color: var(--color-black10);
  border-radius: 10px;
  position: relative;
  height: 5px;
  overflow: hidden;
  width: 100%;
  display: block;
}
.progress-bar::after {
  background-color: var(--color-secondary40);
  content: "";
  left: 0;
  height: 100%;
  position: absolute;
  top: 0;
  width: var(--progress-width, 16.67%);
  transition: width 0.4s ease;
  border-radius: 10px;
}

.back-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 6px;
  color: var(--color-black80);
  border-radius: 8px;
  transition: background 0.2s ease;
}
.back-button:hover {
  background: var(--color-black5);
}

.step-counter {
  color: var(--color-black60);
  font-size: 14px;
  line-height: 20px;
}
.step-text {
  font-size: 14px;
  font-weight: 400;
}
.current-step {
  color: var(--color-primary50);
  font-weight: 600;
}

.app-form-container {
  margin: 0 auto;
}
.scroll-wrapper {
  position: relative;
}
.step {
  display: none;
}
.step.active {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 68px);
  padding-bottom: 90px;
}

.app-content-wrapper {
  max-width: 532px;
  margin: 0 auto;
  padding: 24px 16px;
  width: 100%;
  flex: 1;
}
.section-spacing {
  margin-bottom: 20px;
}
.page-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.1px;
  line-height: 30px;
  color: var(--color-black80);
}
.title-spacing {
  margin-bottom: 8px;
}
.body-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}
.description-text {
  color: var(--color-black60);
}

/* ── Form elements ────────────────────────────────────────────────── */
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-black70);
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--color-black10);
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: var(--color-black80);
  transition: border-color 0.2s ease;
  outline: none;
}
.form-input:focus {
  border-color: var(--color-primary50);
}
.form-input.error {
  border-color: #ef4444;
}
.form-error {
  font-size: 12px;
  color: #ef4444;
  margin-top: 4px;
  display: none;
}
.form-error.visible {
  display: block;
}

.phone-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--color-black10);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.phone-wrap:focus-within {
  border-color: var(--color-primary50);
}
.phone-wrap.error {
  border-color: #ef4444;
}
.phone-prefix {
  padding: 12px 12px;
  font-size: 14px;
  color: var(--color-black60);
  background: var(--color-black5);
  border-right: 1.5px solid var(--color-black10);
  white-space: nowrap;
}
.phone-wrap .form-input {
  border: none;
  border-radius: 0;
  flex: 1;
}
.phone-wrap .form-input:focus {
  border-color: transparent;
}

/* ── Option cards ─────────────────────────────────────────────────── */
.options-fieldset {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  border: none;
  padding: 0;
  margin: 0;
}
.option-label {
  width: 100%;
  display: block;
  margin-bottom: 0;
}
.option-default {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--color-black5);
  border: 2px solid var(--color-black5);
  padding: 14px 16px;
  border-radius: 10px;
  transition: all 0.2s ease;
  position: relative;
}
.option-clickable {
  cursor: pointer;
}
.option-clickable:hover {
  background-color: var(--color-primary0);
  border-color: var(--color-primary40);
}
.option-selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--color-primary0);
  border: 2px solid var(--color-primary50);
  position: relative;
}
.option-content-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}
.option-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-black60);
}
.option-icon svg {
  width: 20px;
  height: 20px;
}
.option-selected .option-icon {
  color: var(--color-primary50);
}
.option-title-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-black80);
  line-height: 1.3;
}
.option-desc-text {
  font-size: 12px;
  color: var(--color-black60);
  margin-top: 2px;
  line-height: 1.4;
}
.option-check {
  width: 22px;
  height: 22px;
  background: var(--color-primary50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

/* ── Multi-select skill cards (Step 4) ──────────────────────────────────── */
.option-card {
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--color-black5);
  border: 2px solid var(--color-black5);
  padding: 14px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s;
  user-select: none;
}
.option-card:hover {
  background-color: var(--color-primary0);
  border-color: var(--color-primary40);
}
.option-card.selected {
  background: var(--color-primary0);
  border-color: var(--color-primary50);
}

/* Checkbox indicator — visible on every card */
.skill-checkbox {
  flex-shrink: 0;
  margin-left: 12px;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 2px solid #c8c5be;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, background 0.15s;
}
.skill-checkbox--checked {
  background: var(--color-primary50);
  border-color: var(--color-primary50);
}

.option-skill-icon {
  font-size: 20px;
  margin-right: 12px;
  flex-shrink: 0;
}

/* ── OTP ──────────────────────────────────────────────────────────── */
.otp-wrap {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 20px 0 8px;
}
.otp-input {
  width: 56px;
  height: 60px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  border: 1.5px solid var(--color-black10);
  border-radius: 10px;
  outline: none;
  color: var(--color-black80);
  transition: border-color 0.2s;
  font-family: "Poppins", sans-serif;
}
.otp-input:focus {
  border-color: var(--color-primary50);
}
.otp-input.filled {
  border-color: var(--color-primary50);
  background: var(--color-primary0);
}
.otp-resend {
  text-align: center;
  font-size: 13px;
  color: var(--color-black60);
  margin-top: 12px;
}
.otp-resend-btn {
  color: var(--color-primary50);
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  font-family: "Poppins", sans-serif;
}
.otp-resend-btn:disabled {
  color: var(--color-black60);
  text-decoration: none;
  cursor: not-allowed;
}

/* ── Navigation buttons ───────────────────────────────────────────── */
.navigation {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--color-black10);
  padding: 12px 0;
  z-index: 50;
  box-shadow: rgba(46, 46, 46, 0.1) 0px -4px 20px;
}
.navigation-wrapper {
  display: flex;
  gap: 10px;
  max-width: 532px;
  margin: 0 auto;
  padding: 0 16px;
}
.nav-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 16px;
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  outline: none;
  text-decoration: none;
}
.nav-btn-primary {
  background: var(--color-primary50);
  color: var(--color-black80);
}
.nav-btn-primary:hover:not(:disabled) {
  background: var(--color-primary40);
  transform: translateY(-1px);
}
.nav-btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}
.nav-btn-secondary {
  background: var(--color-black5);
  color: var(--color-black70);
  border: 1.5px solid var(--color-black10);
}
.nav-btn-secondary:hover {
  background: var(--color-black10);
}
.btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ── Start over ───────────────────────────────────────────────────── */
.btn-start-over {
  background: none;
  border: none;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  color: var(--color-black60);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 4px 0;
  margin-top: 4px;
  transition: color 0.15s ease;
}
.btn-start-over:hover {
  color: var(--color-black80);
}

/* ═══════════════════════════════════════════════════════════════════
   ROLE SEARCH DROPDOWN
   ═══════════════════════════════════════════════════════════════════ */

.role-search-wrapper {
  position: relative;
}
.role-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.role-search-input-wrap .search-icon {
  position: absolute;
  left: 14px;
  color: var(--color-black60);
  pointer-events: none;
  width: 18px;
  height: 18px;
}
.role-search-input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border: 1.5px solid var(--color-black10);
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: var(--color-black80);
  transition: border-color 0.2s ease;
  outline: none;
  background: #fff;
}
.role-search-input:focus {
  border-color: var(--color-purple);
}
.role-search-input.has-value {
  border-color: var(--color-purple);
  font-weight: 500;
}

.role-dropdown-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1.5px solid var(--color-black10);
  border-radius: 10px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  display: none;
}
.role-dropdown-list.open {
  display: block;
}
.role-group-header {
  padding: 8px 14px;
  font-size: 10px;
  font-weight: 700;
  color: var(--color-black60);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--color-black5);
  position: sticky;
  top: 0;
}
.role-option {
  padding: 11px 14px;
  cursor: pointer;
  font-size: 14px;
  color: var(--color-black80);
  border-bottom: 1px solid var(--color-black5);
  transition: background 0.15s ease;
}
.role-option:last-child {
  border-bottom: none;
}
.role-option:hover {
  background: var(--color-primary0);
}
.role-option.selected {
  background: var(--color-primary0);
  font-weight: 600;
  color: #5b5ea6;
}
.role-selected-display {
  margin-top: 10px;
  padding: 10px 14px;
  background: var(--color-primary0);
  border: 1.5px solid var(--color-primary50);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-black80);
  display: none;
  align-items: center;
  gap: 8px;
}
.role-selected-display.visible {
  display: flex;
}
.role-selected-display .change-role-btn {
  margin-left: auto;
  font-size: 12px;
  color: var(--color-black60);
  background: none;
  border: none;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.no-roles-found {
  padding: 14px;
  text-align: center;
  font-size: 13px;
  color: var(--color-black60);
}

/* ═══════════════════════════════════════════════════════════════════
   PHASE 1 RESULT
   ═══════════════════════════════════════════════════════════════════ */

/* Risk score dial */
.risk-dial-wrapper {
  text-align: center;
  margin: 8px 0 20px;
}
.risk-dial-svg {
  display: block;
  margin: 0 auto;
}
.risk-dial-label {
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
  display: block;
  text-align: center;
}
.risk-label-green {
  color: #16a34a;
}
.risk-label-amber {
  color: #d97706;
}
.risk-label-orange {
  color: #ea580c;
}
.risk-label-red {
  color: #dc2626;
}

/* Breakdown grid */
.breakdown-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0;
}
.breakdown-col {
  background: var(--color-black5);
  border-radius: 10px;
  padding: 14px;
  transition: all 0.2s ease;
}
.breakdown-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  cursor: default;
}
.breakdown-col-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.breakdown-col-title.automate {
  color: #dc2626;
}
.breakdown-col-title.augment {
  color: #16a34a;
}
.breakdown-col-title.demand {
  color: var(--color-purple);
}
.breakdown-col-icon {
  font-size: 14px;
}
.breakdown-items-wrap {
}
.breakdown-item {
  font-size: 12px;
  color: var(--color-black70);
  padding: 5px 0;
  border-bottom: 1px solid var(--color-black10);
  line-height: 1.5;
}
.breakdown-item:last-child {
  border-bottom: none;
}

/* 12-month comparison */
.comparison-section {
  margin: 20px 0;
}
.comparison-section-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-black60);
  margin-bottom: 10px;
}
.comparison-table {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--color-black10);
}
.comparison-header-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.comparison-header {
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}
.comparison-header.bad {
  background: #fee2e2;
  color: #991b1b;
}
.comparison-header.good {
  background: #dcfce7;
  color: #166534;
}
.comparison-body {
}
.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.comparison-row + .comparison-row {
  border-top: 1px solid var(--color-black10);
}
.comparison-cell {
  padding: 9px 14px;
  font-size: 12px;
  color: var(--color-black70);
  line-height: 1.5;
}
.comparison-cell.bad {
  background: #fff5f5;
}
.comparison-cell.good {
  background: #f0fdf4;
}

/* Extra bottom padding on result step so content clears the fixed bar */
#stepPhase1Result .app-content-wrapper {
  padding-bottom: 90px;
}
.phase2-text-wrap {
  flex: 1;
  min-width: 0;
}

/* Phase 2 prompt — fixed bottom bar (compact single row) */
.phase2-prompt-section {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: #1a1a18;
  border-radius: 0;
  padding: 14px 20px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 -6px 32px rgba(0, 0, 0, 0.22);
}
.phase2-prompt-title {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 2px;
  line-height: 1.3;
  white-space: nowrap;
}
.phase2-prompt-desc {
  font-size: 12px;
  color: #b0afa8;
  line-height: 1.4;
  margin: 0;
  flex: 1;
}
.phase2-cta-btn {
  flex-shrink: 0;
  padding: 11px 22px;
  background: #f3bd00;
  color: #1a1a18;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  white-space: nowrap;
}
.phase2-cta-btn:hover {
  background: #e0ad00;
  transform: translateY(-1px);
}

/* Mobile: hide description, single row title + button */
@media (max-width: 600px) {
  .phase2-prompt-section {
    padding: 12px 14px;
    gap: 10px;
  }
  .phase2-prompt-desc {
    display: none;
  }
  .phase2-prompt-title {
    font-size: 13px;
    margin: 0;
    white-space: normal;
  }
  .phase2-cta-btn {
    padding: 10px 16px;
    font-size: 12px;
  }
  #stepPhase1Result .app-content-wrapper {
    padding-bottom: 64px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   PHASE 2 – TASK TIME ANALYZER
   ═══════════════════════════════════════════════════════════════════ */

.task-section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-black80);
  margin-bottom: 4px;
}
.task-section-sub {
  font-size: 13px;
  color: var(--color-black60);
  margin-bottom: 20px;
}

/* Task input row */
.task-input-row {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.task-select-wrap {
  flex: 1;
  min-width: 160px;
}
.hours-input-wrap {
  width: 90px;
  flex-shrink: 0;
}
.add-task-btn {
  padding: 12px 18px;
  background: var(--color-purple);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.add-task-btn:hover {
  background: #4a4d8f;
  transform: translateY(-1px);
}
.add-task-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.form-select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--color-black10);
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: var(--color-black80);
  background: #fff;
  transition: border-color 0.2s ease;
  outline: none;
  cursor: pointer;
}
.form-select:focus {
  border-color: var(--color-purple);
}

/* Task min hint */
.task-min-hint {
  font-size: 13px;
  color: #856404;
  background-color: var(--color-primary10);
  border: 1px solid var(--color-primary40);
  border-radius: 8px;
  padding: 12px 14px;
  text-align: center;
  margin: 12px 0 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.task-min-hint::before {
  content: "⚠️";
  font-size: 15px;
}

/* Task list */
.task-list-wrap {
  margin-bottom: 12px;
}
.task-list-empty {
  padding: 20px;
  text-align: center;
  font-size: 13px;
  color: var(--color-black60);
  background: var(--color-black5);
  border-radius: 10px;
  border: 1.5px dashed var(--color-black10);
}
.task-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--color-black5);
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
  border: 1px solid var(--color-black10);
  transition: all 0.2s ease;
}
.task-row-main {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
}
.task-row-name {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-black80);
}
.task-row-stats {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}
.task-stat {
  font-size: 12px;
  color: var(--color-black60);
  white-space: nowrap;
}
.task-stat-saved {
  font-size: 12px;
  font-weight: 700;
  color: #16a34a;
  white-space: nowrap;
}
.task-remove-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  color: var(--color-black60);
  border-radius: 6px;
  transition: all 0.15s ease;
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}
.task-remove-btn:hover {
  background: #fee2e2;
  color: #dc2626;
}
.task-row-ai-note {
  padding: 6px 12px 10px;
  font-size: 11px;
  color: var(--color-black60);
  border-top: 1px solid var(--color-black10);
  line-height: 1.4;
}

/* Running total bar */
.running-total-bar {
  background: linear-gradient(135deg, #f5f0e6, var(--color-primary0));
  border: 1px solid var(--color-primary40);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
  text-align: center;
}
.running-total-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-black80);
  line-height: 1.6;
}
.running-total-arrow {
  color: var(--color-black60);
  margin: 0 4px;
}
.running-total-highlight {
  font-weight: 700;
  color: #16a34a;
  font-size: 15px;
}
.running-total-sub {
  font-size: 12px;
  color: var(--color-black60);
  margin-top: 4px;
  display: block;
}


/* Unlock CTA — fixed bottom bar (shown after 2+ tasks) */
.unlock-cta-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: #fff;
  border-top: 1px solid var(--color-black10);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.10);
  padding: 8px 16px;
  animation: slideUpCTA 0.25s ease;
}
@keyframes slideUpCTA {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.unlock-cta-inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.unlock-cta-text {
  width: 100%;
  font-size: 13px;
  color: var(--color-black70);
  line-height: 1.4;
  margin: 0;
  text-align: center;
}
.unlock-cta-btn {
  width: 100%;
  padding: 10px 16px;
  background: var(--color-purple);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.unlock-cta-btn:hover {
  background: #4a4d8f;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(91, 94, 166, 0.3);
}
/* Add bottom padding to the tasks step so content doesn't hide behind fixed bar */
#stepTasks .app-content-wrapper {
  padding-bottom: 90px;
}


/* ── Lead Gate ────────────────────────────────────────────────────── */
.lead-gate-header {
  text-align: center;
  margin-bottom: 24px;
}
.lead-gate-icon {
  width: 56px;
  height: 56px;
  background: var(--color-purple-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
}
.lead-gate-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-black80);
  margin-bottom: 6px;
}
.lead-gate-desc {
  font-size: 13px;
  color: var(--color-black60);
  line-height: 1.5;
}

.lead-submit-btn {
  width: 100%;
  padding: 15px;
  background: var(--color-purple);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 20px;
}
.lead-submit-btn:hover {
  background: #4a4d8f;
  transform: translateY(-1px);
}
.lead-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.lead-privacy {
  text-align: center;
  font-size: 11px;
  color: var(--color-black60);
  margin-top: 10px;
}

/* ── OTP Gate ─────────────────────────────────────────────────────── */
.otp-header {
  text-align: center;
  margin-bottom: 8px;
}
.otp-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-black80);
  margin-bottom: 6px;
}
.otp-desc {
  font-size: 13px;
  color: var(--color-black60);
  line-height: 1.5;
}
.otp-phone-display {
  font-weight: 600;
  color: var(--color-black80);
  background: var(--color-black5);
  padding: 2px 8px;
  border-radius: 6px;
}

/* ═══════════════════════════════════════════════════════════════════
   FULL REPORT
   ═══════════════════════════════════════════════════════════════════ */

.report-header {
  text-align: center;
  margin-bottom: 24px;
  padding-top: 8px;
}
.report-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dcfce7;
  color: #166534;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.report-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-black80);
  margin-bottom: 6px;
}
.report-subtitle {
  font-size: 13px;
  color: var(--color-black60);
  line-height: 1.5;
}

/* Savings table */
.savings-table-wrap {
  margin-bottom: 20px;
  overflow-x: auto;
}
.savings-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--color-black10);
}
.savings-table th {
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--color-black80);
  color: #fff;
  text-align: left;
}
.savings-table td {
  padding: 10px 12px;
  font-size: 13px;
  color: var(--color-black70);
  border-bottom: 1px solid var(--color-black10);
}
.savings-table tr:last-child td {
  border-bottom: none;
}
.savings-table tr:nth-child(even) td {
  background: var(--color-black5);
}
.savings-table td.saved-cell {
  font-weight: 700;
  color: #16a34a;
}

/* Chart container */
.chart-section {
  margin: 20px 0;
}
.chart-section-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-black70);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.chart-container {
  position: relative;
  min-height: 200px;
}

/* Totals grid */
.report-totals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 20px 0;
}
.report-total-card {
  background: var(--color-black5);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}
.report-total-value {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--color-purple);
  line-height: 1;
  margin-bottom: 4px;
}
.report-total-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-black60);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.report-total-card.highlight {
  background: linear-gradient(135deg, #ede9fe, #f0f0fa);
  border: 1px solid #c5cae9;
}

/* Recommendation card */
.recommendation-card {
  background: var(--color-primary0);
  border: 1px solid var(--color-primary40);
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
}
.rec-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #92680a;
  margin-bottom: 6px;
}
.rec-program-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-black80);
  margin-bottom: 6px;
}
.rec-message {
  font-size: 13px;
  color: var(--color-black70);
  line-height: 1.5;
  margin-bottom: 16px;
}
.rec-details-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-primary40);
  border: 1px solid var(--color-primary40);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 14px;
}
.rec-detail-item {
  background: #fff;
  padding: 10px 8px;
  text-align: center;
}
.rec-detail-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--color-black60);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}
.rec-detail-value {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-black80);
}
.btn-enroll-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 14px;
  background: var(--color-black80);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}
.btn-enroll-cta:hover {
  background: #111;
  transform: translateY(-1px);
}

/* Share section */
.share-section {
  margin: 20px 0;
}
.share-section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-black80);
  margin-bottom: 12px;
}
.share-btn-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.share-btn {
  flex: 1;
  min-width: 90px;
  padding: 12px 14px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}
.share-btn.whatsapp {
  background: #25d366;
  color: #fff;
}
.share-btn.whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
}
.share-btn.linkedin {
  background: #0077b5;
  color: #fff;
}
.share-btn.linkedin:hover {
  background: #005f91;
  transform: translateY(-1px);
}
.share-btn.copy-btn {
  background: var(--color-black5);
  color: var(--color-black80);
  border: 1.5px solid var(--color-black10);
}
.share-btn.copy-btn:hover {
  background: var(--color-black10);
}

/* B2B section */
.b2b-section {
  background: var(--color-black5);
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
}
.b2b-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-black80);
  margin-bottom: 4px;
}
.b2b-desc {
  font-size: 13px;
  color: var(--color-black60);
  margin-bottom: 16px;
  line-height: 1.5;
}
.b2b-input-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}
.b2b-team-input {
  width: 100px;
  padding: 10px 12px;
  border: 1.5px solid var(--color-black10);
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  color: var(--color-black80);
  outline: none;
  transition: border-color 0.2s ease;
  text-align: center;
}
.b2b-team-input:focus {
  border-color: var(--color-purple);
}
.b2b-calc-btn {
  padding: 10px 18px;
  background: var(--color-black80);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.b2b-calc-btn:hover {
  background: #111;
}
.b2b-result {
  margin-top: 16px;
  padding: 14px 16px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--color-black10);
  display: none;
}
.b2b-result.visible {
  display: block;
}
.b2b-result-stat {
  font-size: 14px;
  color: var(--color-black80);
  line-height: 1.6;
  margin-bottom: 6px;
}
.b2b-result-highlight {
  font-weight: 700;
  color: var(--color-purple);
}
.btn-b2b-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 13px;
  background: var(--color-purple);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 14px;
  text-decoration: none;
}
.btn-b2b-cta:hover {
  background: #4a4d8f;
  transform: translateY(-1px);
}

/* Mobile sticky prompt bar */
.mobile-task-prompt {
  display: none;
  position: fixed;
  bottom: 65px;
  left: 0;
  right: 0;
  background: var(--color-purple);
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  z-index: 40;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.mobile-task-prompt:hover {
  background: #4a4d8f;
}

/* ═══════════════════════════════════════════════════════════════════
   RESULT CARD (Phase 1 badge)
   ═══════════════════════════════════════════════════════════════════ */

.result-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.result-badge--green {
  background: #dcfce7;
  color: #166534;
}
.result-badge--amber {
  background: var(--color-primary10);
  color: #92400e;
}
.result-badge--orange {
  background: #ffedd5;
  color: #c2410c;
}
.result-badge--red {
  background: #fee2e2;
  color: #b91c1c;
}

/* ── Verified badge (Phase 1 result + Final report headers) ───────── */
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dcfce7;
  color: #166534;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

/* ── Section sub-title ────────────────────────────────────────────── */
.section-sub-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-black80);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

/* ── Result / report header ───────────────────────────────────────── */
.result-header {
  text-align: center;
  margin-bottom: 8px;
}

/* ── Breakdown section title ──────────────────────────────────────── */
.breakdown-section {
  margin: 20px 0;
}
.breakdown-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-black70);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

/* ── Unlock CTA card ──────────────────────────────────────────────── */
.unlock-cta-card {
  background: var(--color-purple-light);
  border: 1px solid #c5cae9;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin-top: 8px;
}
.unlock-cta-text {
  font-size: 14px;
  color: var(--color-black70);
  line-height: 1.5;
  margin-bottom: 16px;
}

/* ── Task select (native select uses form-input class) ────────────── */
.task-select {
  cursor: pointer;
}

/* ── Role clear button ────────────────────────────────────────────── */
.role-clear-btn {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-black60);
  font-size: 14px;
  padding: 2px 6px;
  border-radius: 6px;
  transition: background 0.15s;
}
.role-clear-btn:hover {
  background: var(--color-black10);
}

/* ── Savings table section wrapper ───────────────────────────────── */
.savings-table-section {
  margin-bottom: 20px;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */

@media (min-width: 768px) {
  .hero-desc {
    font-size: 1rem;
  }
  .page-title {
    font-size: 26px;
    line-height: 34px;
  }
  .report-totals-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  #stepFinalReport .app-content-wrapper {
    max-width: min(66.666vw, 1024px);
  }
}

@media (min-width: 1024px) {
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-line {
    white-space: normal;
  }
  .mobile-break {
    display: inline;
  }
}

@media (max-width: 640px) {
  .hero-header-bar {
    padding: 16px 20px;
  }
  .hero-btn-wrap {
    margin-bottom: 44px;
  }
  .hero-button {
    padding: 16px 36px;
  }
  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .hero-stat-item::before {
    display: none;
  }
  .hero-stat-item {
    max-width: 100%;
  }
  .hero-steps {
    gap: 8px;
  }
  .hero-step-divider {
    display: none;
  }
  .hero-step {
    flex-direction: row;
    min-width: 100%;
    max-width: 100%;
    text-align: left;
    gap: 14px;
    padding: 0;
  }
  .hero-step-text {
    text-align: left;
    font-size: 13px;
  }
  .nav-btn {
    font-size: 13px;
    padding: 12px 12px;
  }
  .otp-input {
    width: 52px;
    height: 56px;
    font-size: 22px;
  }
  .mobile-task-prompt {
    display: block;
  }
}

@media (max-width: 480px) {
  /* Breakdown grid collapses to accordion on small screens */
  .breakdown-grid {
    grid-template-columns: 1fr;
  }
  .breakdown-col-header {
    cursor: pointer;
  }
  .breakdown-col.collapsed .breakdown-items-wrap {
    display: none;
  }
  .breakdown-col-icon {
    transition: transform 0.2s ease;
  }
  .breakdown-col.collapsed .breakdown-col-icon {
    transform: rotate(-90deg);
  }
  .task-input-row {
    flex-direction: column;
  }
  .task-select-wrap {
    width: 100%;
    min-width: 0;
  }
  .hours-input-wrap {
    width: 100%;
  }
  .add-task-btn {
    width: 100%;
  }
  .otp-input {
    width: 48px;
    height: 52px;
    font-size: 20px;
  }
  .savings-table th,
  .savings-table td {
    padding: 8px 8px;
    font-size: 11px;
  }
  .report-totals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 360px) {
  .otp-input {
    width: 44px;
    height: 48px;
    font-size: 18px;
  }
  .otp-wrap {
    gap: 6px;
  }
  .share-btn-group {
    flex-direction: column;
  }
}

:root {
  --bg: #f8f9fa;
  --bg-alt: #ffffff;
  --card: #ffffff;
  --border: #e9ecef;
  --text: #1c1c1e;
  --muted: #6c757d;
  --heading: #0d0f14;
  --nav-bg: rgba(255, 255, 255, 0.92);
  --shine: rgba(255, 255, 255, 0.6);
  --accent: #f3bd00;
  --green: #f3bd00;
  --green-glow: rgba(243, 189, 0, 0.25);
  --shine-color: rgba(255, 255, 255, 0.35);
  --shine-soft: rgba(255, 255, 255, 0.08);
  --danger: #e8602f;
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #0d0f14;
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
}
::selection {
  background: var(--accent);
  color: #000;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  z-index: 1200;
  transition: transform 0.3s ease-in-out;
}
nav.nav-hidden {
  transform: translateY(-100%);
}
.nav-logo{
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo img {
  width: 180px;
}
.btn-primary {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1c1c1e;
  background: var(--accent);
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(243, 189, 0, 0.3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: left 0.5s ease;
  pointer-events: none;
}
.btn-primary:hover::after {
  left: 130%;
}
.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(243, 189, 0, 0.45);
}

/* ── SECTION BASE ── */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 3rem;
}
@media (max-width: 640px) {
  .section-inner {
    padding: 3.5rem 1.5rem;
  }
}
.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--accent);
}
.section-heading {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--heading);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: 3rem;
}
.text-highlight {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

/* ── HERO ── */
.hero-section {
  background: #0d1117;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 15% 50%,
      rgba(243, 189, 0, 0.07) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse at 85% 20%,
      rgba(243, 189, 0, 0.04) 0%,
      transparent 50%
    );
  pointer-events: none;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 3rem;
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
@media (max-width: 640px) {
  .hero-inner {
    padding: 4rem 1.5rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(243, 189, 0, 0.35);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
  background: rgba(243, 189, 0, 0.06);
  position: relative;
  overflow: hidden;
}
.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulseDot 1.6s ease-in-out infinite;
}
@keyframes pulseDot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.6);
  }
}

.hero-title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 1.8rem;
}
.hero-title span {
  color: var(--accent);
  font-weight: 600;
}

.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  max-width: 700px;
  margin-bottom: 2.8rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-cta-primary {
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: 12px;
  font-weight: 700;
}
.hero-cta-ghost {
  font-size: 0.9rem;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 28px;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-cta-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}
.hero-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
}
.hero-stat-num span {
  color: var(--accent);
}
.hero-stat-label {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}
.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.35;
}
.scroll-hint span {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-hint svg {
  animation: scrollBounce 1.8s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

/* fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── SECTION 2: THE PROBLEM ── */
.problem-section {
  background: var(--bg);
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 0;
}
@media (max-width: 800px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }
}
.problem-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.problem-card:hover {
  border-color: rgba(243, 189, 0, 0.25);
  transform: translateY(-4px);
}
.problem-num {
  font-size: 2.5rem;
  color: rgb(243, 189, 0);
  line-height: 1;
}
.problem-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading);
}
.problem-card p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ── SECTION 3: WHAT YOU'LL GET ── */
.outputs-section {
  background: var(--bg-alt);
}
.outputs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 720px) {
  .outputs-grid {
    grid-template-columns: 1fr;
  }
}
.output-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.3s;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.output-card:hover {
  border-color: rgba(243, 189, 0, 0.4);
  box-shadow: 0 12px 36px rgba(243, 189, 0, 0.08);
}
.output-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(243, 189, 0, 0.1);
  border: 1px solid rgba(243, 189, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.output-icon svg {
  color: var(--accent);
}
.output-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading);
}
.output-card p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.75;
}
.output-tag {
  margin-top: auto;
  display: inline-block;
  background: rgba(243, 189, 0, 0.08);
  border: 1px solid rgba(243, 189, 0, 0.2);
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
  width: fit-content;
}

/* ── SECTION 4: HOW IT WORKS ── */
.how-section {
  background: var(--bg);
}
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  margin-top: 1rem;
}
@media (max-width: 720px) {
  .steps-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.step-connector {
  position: absolute;
  top: 36px;
  left: calc(33.33% - 110px);
  right: calc(33.33% - 110px);
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(243, 189, 0, 0.2));
  z-index: 0;
}
@media (max-width: 720px) {
  .step-connector {
    display: none;
  }
}
.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 2rem 0;
  position: relative;
  z-index: 1;
}
.step-num-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  transition: all 0.3s;
}

.step-num {
  font-size: 1.8rem;
  color: var(--accent);
  line-height: 1;
}
.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.6rem;
}
.step-desc {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── SECTION 5: TRUST STRIP ── */
.trust-section {
  background: var(--bg);
}
.trust-bar {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  flex: 1;
  min-width: 120px;
}
.trust-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
}
.trust-stat-num span {
  color: var(--accent);
}
.trust-stat-label {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}
.trust-divider {
  width: 1px;
  height: 52px;
  background: var(--border);
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .trust-bar {
    padding: 2rem 1.5rem;
  }
  .trust-divider {
    display: none;
  }
  .trust-stat {
    min-width: calc(50% - 1rem);
  }
}

/* ── SECTION 6: SAMPLE REPORT ── */
.sample-section {
  background: var(--bg-alt);
}
.sample-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  max-width: 780px;
  margin: 0 auto;
}
.sample-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(22, 25, 32, 0.95) 0%,
    rgba(22, 25, 32, 0.4) 50%,
    transparent 80%
  );
  pointer-events: none;
}
.sample-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.8rem;
}
.sample-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(243, 189, 0, 0.3),
    rgba(243, 189, 0, 0.1)
  );
  border: 1px solid rgba(243, 189, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.sample-meta h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--heading);
}
.sample-meta p {
  font-size: 0.75rem;
  color: var(--muted);
}
.risk-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.risk-score-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid var(--accent);
  background: rgba(243, 189, 0, 0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.risk-score-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.risk-score-label {
  font-size: 0.55rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.risk-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.risk-bar-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.risk-bar-label {
  font-size: 0.72rem;
  color: var(--muted);
  width: 110px;
  flex-shrink: 0;
}
.risk-bar-track {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}
.risk-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--accent);
}
.risk-bar-pct {
  font-size: 0.68rem;
  color: var(--muted);
  width: 30px;
  text-align: right;
  flex-shrink: 0;
}
.sample-blur-cta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 4rem 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  z-index: 2;
}
.sample-blur-cta p {
  font-size: 0.88rem;
  color: #f5f5f5;
  text-align: center;
}

/* ── SECTION 7: WHO IT'S FOR ── */
.who-section {
  background: var(--bg);
}
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
@media (max-width: 800px) {
  .who-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 500px) {
  .who-grid {
    grid-template-columns: 1fr;
  }
}
.who-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: all 0.3s;
}
.who-card:hover {
  border-color: rgba(243, 189, 0, 0.3);
  transform: translateY(-4px);
}
.who-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(243, 189, 0, 0.08);
  border: 1px solid rgba(243, 189, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.who-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--heading);
}
.who-card p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.7;
}
.who-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.who-chip {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 0.2rem 0.55rem;
  border-radius: 5px;
}

/* ── SECTION 8: FAQ ── */
.faq-section {
  background: var(--bg-alt);
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border: 1px solid var(--border);
  overflow: hidden;
}
.faq-item:first-child {
  border-radius: 16px 16px 0 0;
}
.faq-item:last-child {
  border-radius: 0 0 16px 16px;
}
.faq-item + .faq-item {
  border-top: none;
}
.faq-item.open {
  border-color: rgba(243, 189, 0, 0.4);
  z-index: 1;
  position: relative;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 1.5rem;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--heading);
  background: var(--card);
  user-select: none;
  transition: background 0.2s;
}
.faq-q:hover {
  background: rgba(243, 189, 0, 0.03);
}
.faq-item.open .faq-q {
  color: var(--accent);
  background: rgba(243, 189, 0, 0.05);
}
.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(243, 189, 0, 0.08);
  border: 1px solid rgba(243, 189, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.35s,
    background 0.2s;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: var(--accent);
}
.faq-chevron svg {
  width: 11px;
  height: 11px;
  stroke: var(--accent);
  stroke-width: 2.5;
  fill: none;
  transition: stroke 0.2s;
}
.faq-item.open .faq-chevron svg {
  stroke: #000;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--card);
}
.faq-item.open .faq-a {
  max-height: 300px;
}
.faq-a p {
  padding: 1rem 1.6rem 1.4rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ── SECTION 9: FINAL CTA ── */
.final-cta {
  background: #0d0f14;
  padding: 6rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(243, 189, 0, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.final-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.final-cta-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.final-cta-heading {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}
.final-cta-heading span {
  color: var(--accent);
}
.final-cta-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.45);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}
.final-cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-large {
  font-size: 1rem;
  padding: 16px 40px;
  border-radius: 14px;
  font-weight: 700;
}
.btn-ghost {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 15px 32px;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
@media (max-width: 640px) {
  footer {
    padding: 2rem 1.5rem;
    flex-direction: column;
    text-align: center;
  }
}
.footer-logo{
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}
.footer-logo img{
    width: 150px;
}
.footer-copy {
  font-size: 0.75rem;
  color: var(--muted);
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-size: 0.75rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--accent);
}

/* ── BOTTOM BANNER ── */
.fixed-bottom-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: rgba(13, 15, 20, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 0.85rem 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
@media (max-width: 640px) {
  .fixed-bottom-banner {
    padding: 0.85rem 1.5rem;
    gap: 0.75rem;
    flex-wrap: wrap;
  }
}
.banner-text {
  font-size: 0.88rem;
  color: var(--muted);
}
.banner-text strong {
  color: var(--heading);
}
.banner-or {
  font-size: 0.72rem;
  color: var(--border);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════
   SCORE BREAKDOWN CARD
   ═══════════════════════════════════════════════════════════════ */
.score-breakdown-card {
  background: #fafaf8;
  border: 1.5px solid #e8e4de;
  border-radius: 12px;
  padding: 18px 20px;
  margin: 16px 0 20px;
}

.sbc-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7a7a6e;
  margin-bottom: 12px;
}

.bd-row,
.bd-total-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid #f0ede8;
  font-size: 13px;
}

.bd-total-row {
  border-bottom: none;
  border-top: 2px solid #e0ddd7;
  margin-top: 4px;
  padding-top: 10px;
  font-weight: 700;
}

.bd-label {
  color: #292929;
  font-weight: 500;
}

.bd-total-row .bd-label {
  font-weight: 700;
}

.bd-mod {
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  padding: 2px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.bd-base   { color: #292929; background: #f0ede8; }
.bd-neutral{ color: #7a7a6e; background: #f4f2ee; }
.bd-risk   { color: #c0392b; background: #fdecea; }
.bd-safe   { color: #16a34a; background: #dcfce7; }
.bd-total  { color: #292929; background: #f0ede8; font-size: 15px; }

.bd-reason {
  font-size: 12px;
  color: #7a7a6e;
}

/* ═══════════════════════════════════════════════════════════════
   AI TOOLS SECTION
   ═══════════════════════════════════════════════════════════════ */
.ai-tools-section {
  margin: 4px 0 20px;
}

.ai-tools-title {
  font-size: 14px;
  font-weight: 700;
  color: #292929;
  margin-bottom: 10px;
}

.ai-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (max-width: 480px) {
  .ai-tools-grid {
    grid-template-columns: 1fr;
  }
}

.ai-tool-card {
  background: #fff;
  border: 1.5px solid #e8e4de;
  border-radius: 10px;
  padding: 11px 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.ai-tool-card:hover {
  border-color: #f3bd00;
  box-shadow: 0 2px 8px rgba(243,189,0,0.15);
}

.ai-tool-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.ai-tool-logo {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  object-fit: contain;
  flex-shrink: 0;
  background: #f5f5f5;
  padding: 2px;
}

.ai-tool-name {
  font-size: 13px;
  font-weight: 700;
  color: #292929;
}

.ai-tool-use {
  font-size: 12px;
  color: #5c5c5c;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════
   REPETITIVENESS RATING SCALE
   ═══════════════════════════════════════════════════════════════ */
.rating-scale-wrap {
  margin: 24px 0;
}

.rating-scale {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 10px;
}

.rating-btn {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 2px solid var(--color-black20);
  background: var(--color-black5);
  font-size: 18px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
  color: var(--color-black80);
}

.rating-btn:hover {
  border-color: var(--color-primary40);
  background: var(--color-primary0);
  transform: translateY(-2px);
}

.rating-btn--selected {
  background: var(--color-primary50);
  border-color: var(--color-primary50);
  color: #1a1a18;
}

.rating-scale-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--color-black60);
  padding: 0 4px;
}

/* ═══════════════════════════════════════════════════════════════
   NARRATIVE BANNER  (final report)
   ═══════════════════════════════════════════════════════════════ */
.narrative-banner {
  background: linear-gradient(135deg, #fffbeb 0%, #fef9e0 100%);
  border: 1.5px solid #f3e08a;
  border-radius: 12px;
  padding: 18px 20px 16px;
  margin-bottom: 20px;
  position: relative;
}

.narrative-quote-mark {
  font-size: 48px;
  line-height: 1;
  color: #f3bd00;
  font-family: Georgia, serif;
  position: absolute;
  top: 6px;
  left: 16px;
  opacity: 0.6;
}

.narrative-text {
  font-size: 14px;
  font-weight: 500;
  color: #292929;
  line-height: 1.7;
  margin: 0;
  padding-left: 28px;
}

/* ═══════════════════════════════════════════════════════════════
   DOWNLOAD REPORT BUTTON
   ═══════════════════════════════════════════════════════════════ */
.download-report-section {
  margin: 20px 0 8px;
  display: flex;
  justify-content: center;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  color: #292929;
  background: #fff;
  border: 2px solid #292929;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.btn-download:hover {
  background: #292929;
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════════
   PRINT / DOWNLOAD STYLES
   ═══════════════════════════════════════════════════════════════ */
@media print {
  /* Hide everything except the final report */
  #heroSection,
  #mainNav,
  nav,
  .navigation,
  .download-report-section,
  .share-section,
  .b2b-section,
  .btn-start-over,
  .fixed-bottom-banner,
  .loading,
  .toast-container,
  #step1, #step2, #step3, #step4,
  #stepPhase1Result, #stepTasks, #stepGate, #stepOTP {
    display: none !important;
  }

  #stepFinalReport {
    display: block !important;
  }

  .step {
    display: none !important;
  }

  #stepFinalReport.step {
    display: block !important;
  }

  body {
    background: #fff;
    font-size: 12px;
  }

  .app-content-wrapper {
    max-width: 100%;
    padding: 0;
    margin: 0;
  }

  .container {
    max-width: 100%;
    padding: 16px;
  }

  /* Print header */
  #stepFinalReport::before {
    content: "TechPaathshala — AI Relevance Report";
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 8px;
    margin-bottom: 16px;
  }

  .narrative-banner {
    background: #fffbeb !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .savings-table table {
    width: 100%;
    border-collapse: collapse;
  }

  .savings-table td,
  .savings-table th {
    border: 1px solid #e0e0e0;
    padding: 6px 10px;
  }

  .chart-container {
    page-break-inside: avoid;
  }

    .recommendation-card {
    page-break-inside: avoid;
  }
}

/* ── SAMPLE REPORT PREVIEW (Landing Page) ── */
.sample-report-preview {
  max-width: 760px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  position: relative;
}

/* Quote block */
.srp-quote {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1.5rem 2rem;
  background: rgba(243, 189, 0, 0.05);
  border: 1px solid rgba(243, 189, 0, 0.25);
  border-radius: 12px;
  margin: 1.8rem 1.8rem 1.2rem;
}
.srp-quote-mark {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--accent);
  font-family: Georgia, serif;
  flex-shrink: 0;
  margin-top: -4px;
}
.srp-quote p {
  font-size: 0.875rem;
  color: var(--heading);
  line-height: 1.75;
  margin: 0;
}

/* Risk badge */
.srp-risk-badge {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.1rem 1.6rem;
  background: rgba(232, 65, 65, 0.08);
  border: 1px solid rgba(232, 65, 65, 0.22);
  border-radius: 12px;
  margin: 0 1.8rem 1.5rem;
}
.srp-risk-score {
  font-size: 2.2rem;
  font-weight: 800;
  color: #e84141;
  line-height: 1;
  flex-shrink: 0;
  letter-spacing: -0.03em;
}
.srp-risk-score span {
  font-size: 1.1rem;
  font-weight: 700;
  color: #e84141;
}
.srp-risk-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--heading);
}
.srp-risk-sub {
  font-size: 0.78rem;
  color: rgba(232, 65, 65, 0.8);
  margin-top: 2px;
}

/* Savings section */
.srp-savings {
  padding: 0 1.8rem 1.4rem;
}
.srp-savings-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

/* Table */
.srp-table {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 1.4rem;
}
.srp-table-head {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  background: #1a1d24;
  padding: 0.65rem 1rem;
  gap: 0.5rem;
}
.srp-table-head span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ccc;
}
.srp-table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  padding: 0.75rem 1rem;
  gap: 0.5rem;
  border-top: 1px solid var(--border);
  background: var(--card);
  align-items: center;
}
.srp-table-row span {
  font-size: 0.82rem;
  color: var(--heading);
}
.srp-saved {
  font-weight: 700;
  color: #22c55e !important;
}

/* Chart */
.srp-chart {
  margin-top: 0.5rem;
}
.srp-chart-legend {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}
.srp-legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--muted);
}
.srp-legend-dot {
  width: 28px;
  height: 10px;
  border-radius: 3px;
  flex-shrink: 0;
}
.srp-legend-gray { background: #9ca3af; }
.srp-legend-blue { background: #5b5fc7; }

.srp-bars {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.srp-bar-group {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.srp-bar-task-label {
  font-size: 0.72rem;
  color: var(--muted);
  width: 150px;
  flex-shrink: 0;
  text-align: right;
}
.srp-bar-pair {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.srp-bar-track-h {
  height: 14px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
}
.srp-bar-fill-gray {
  height: 100%;
  background: #9ca3af;
  border-radius: 3px;
}
.srp-bar-fill-blue {
  height: 100%;
  background: #5b5fc7;
  border-radius: 3px;
}

/* Stats row */
.srp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
}
.srp-stat {
  padding: 1.4rem 1rem;
  text-align: center;
  border-right: 1px solid var(--border);
}
.srp-stat:last-child {
  border-right: none;
}
.srp-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}
.srp-stat-label {
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* CTA overlay */
.srp-cta-overlay {
  position: relative;
  padding: 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  background: linear-gradient(to top, rgba(22, 25, 32, 0.98) 0%, rgba(22, 25, 32, 0.6) 60%, transparent 100%);
  margin-top: -60px;
  padding-top: 60px;
}
.srp-cta-overlay p {
  font-size: 0.88rem;
  color: #f0f0f0;
  max-width: 420px;
}

/* Mobile responsive */
@media (max-width: 600px) {
  .srp-quote,
  .srp-risk-badge,
  .srp-savings {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  .srp-table-head,
  .srp-table-row {
    grid-template-columns: 2fr 0.7fr 0.7fr 0.7fr;
    padding: 0.55rem 0.75rem;
  }
  .srp-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .srp-stat:nth-child(2) {
    border-right: none;
  }
  .srp-stat:nth-child(3) {
    border-top: 1px solid var(--border);
  }
  .srp-stat:nth-child(4) {
    border-top: 1px solid var(--border);
    border-right: none;
  }
  .srp-bar-task-label {
    width: 100px;
    font-size: 0.65rem;
  }
}

