/* ═══════════════════════════════════════════
   module1.css  –  Aroha AI Maturity Assessment
   Module 1: Strategy & Business Alignment
   ═══════════════════════════════════════════ */
* { font-family: 'Inter', sans-serif; box-sizing: border-box; }
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

body { background: #f8fafc; margin: 0; }
 
/* ── Base ── */
* {
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
}

body {
  background: #f8fafc;
  margin: 0;
}

/* ═══════════════════════════════════════════
   REGISTRATION MODAL
   ═══════════════════════════════════════════ */

#reg-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

#reg-modal.hidden {
  display: none;
}

#reg-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 32px;
  width: 60%;
  /* max-width: 480px; */
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Modal header */
.reg-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.reg-icon {
  width: 52px;
  height: 52px;
  border-radius: 100%;
  background: #fdf4ec;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reg-title {
  font-size: 18px;
  font-weight: 800;
  color: #111827;
  margin: 0;
}

.reg-subtitle {
  font-size: 13px;
  color: #6b7280;
  margin: 4px 0 0;
}

/* Form grid */
.reg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.reg-field {
  display: flex;
  flex-direction: column;
}

.reg-label {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
  display: block;
}

.req {
  color: #e06533;
}

.reg-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: 9px;
  font-size: 14px;
  color: #111827;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  background: #fff;
  font-family: 'Inter', sans-serif;
}

.reg-input:focus {
  border-color: #e06533;
  box-shadow: 0 0 0 3px rgba(224, 101, 51, 0.1);
}

.reg-input.error {
  border-color: #ef4444;
}

.reg-input::placeholder {
  color: #9ca3af;
}

.reg-error {
  font-size: 11px;
  color: #ef4444;
  margin-top: 4px;
  display: none;
}

.reg-error.show {
  display: block;
}

/* Start button */
.btn-start {
  width: 100%;
  padding: 13px;
  background: #e06533;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  /* font-weight: 700; */
  cursor: pointer;
  transition: background 0.15s;
  font-family: 'Inter', sans-serif;
}

.btn-start:hover {
  background: #c8542a;
}

.reg-note {
  font-size: 11px;
  color: #9ca3af;
  text-align: center;
  margin-top: 8px;
  margin-bottom: 0;
}


/* ═══════════════════════════════════════════
   FIXED HEADER
   ═══════════════════════════════════════════ */

#top-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
  height: 72px;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #e9eaec;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.02);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}

.header-logo {
  height: 42px;
  object-fit: contain;
}

.logo-fallback {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-fallback span {
  font-size: 22px;
  font-weight: 900;
  color: #111;
  letter-spacing: -0.5px;
}

.header-phone {
  font-size: 14px;
  color: #4b5563;
  font-weight: 500;
}


/* ═══════════════════════════════════════════
   STEPPER
   ═══════════════════════════════════════════ */

.stepper-wrap {
  margin-top: 72px;
  background: #f8fafc;
  border-bottom: 1px solid #e9eaec;
}

.stepper-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 18px 32px;
}

.stepper-circles {
  display: flex;
  align-items: center;
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid #e2e8f0;
  color: #94a3b8;
  background: #fff;
  flex-shrink: 0;
}

.step-circle.active {
  background: #e06533;
  border-color: #e06533;
  color: #fff;
  box-shadow: 0 0 0 3px rgba(224, 101, 51, 0.08);
}

.step-circle.done {
  background: #10b981;
  border-color: #10b981;
  color: #fff;
}

.step-line {
  flex: 1;
  height: 2px;
  background: #e2e8f0;
}

.stepper-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.step-label {
  font-size: 12px;
  color: #94a3b8;
}

.step-label.active {
  color: #e06533;
  font-weight: 600;
}

.step-label.done {
  color: #10b981;
  font-weight: 500;
}


/* ═══════════════════════════════════════════
   MAIN LAYOUT
   ═══════════════════════════════════════════ */

.main-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px;
}

.content-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

/* ── Questions Panel ── */
.questions-panel {
  flex: 1;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e9eaec;
  padding: 36px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

/* Section title row */
.section-title-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f1f3f5;
  margin-bottom: 28px;
}

.section-icon {
  width: 24px;
  height: 24px;
  color: #1f2937;
  flex-shrink: 0;
  margin-top: 2px;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.section-desc {
  font-size: 14px;
  color: #6b7280;
  margin: 4px 0 0;
}

/* Question blocks */
.question-block {
  margin-bottom: 4px;
}

.q-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.q-badge {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.q-title {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.q-desc {
  font-size: 13px;
  color: #6b7280;
  margin: 4px 0 0;
  padding: auto;
}

.q-divider {
  border: none;
  border-top: 1px solid #f3f4f6;
  margin: 28px 0;
}


/* ── Scale Buttons ── */
.scale-row {
  display: flex;
  gap: 8px;
}

.scale-btn {
  flex: 1;
  padding: 14px 6px;
  border: 1px solid #f9fbfd;
  border-radius: 8px;
  background: #f9fbfd;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
  color: #374151;
}

.scale-btn:hover {
  border-color: #e5693b;
  color: #e5693b;
}

.scale-btn.selected {
  border-color: #e5693b;
  background: #fdf4ec;
  color: #e5693b;
  font-weight: 700;
}

.scale-btn .num {
  font-size: 18px;
  font-weight: 600;
  display: block;
  line-height: 1.3;
}

.scale-btn .lbl {
  font-size: 11px;
  color: #9ca3af;
  display: block;
  margin-top: 2px;
}

.scale-btn.selected .lbl {
  color: #e5693b;
}


/* ── Radio Options ── */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid #f9fbfd;
  border-radius: 8px;
  cursor: pointer;
  background: #f9fbfd;
  transition: all 0.15s;
  user-select: none;
  -webkit-user-select: none;
}

.radio-option:hover {
  border-color: #e5693b;
  color: #e5693b;
}

.radio-option.selected {
  border-color: #e06533;
  background: #fdf4ec;
}

.radio-option input[type="radio"] {
  accent-color: #e06533;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.radio-option .opt-text {
  font-size: 14px;
  color: #374151;
}

.radio-option.selected .opt-text {
  color: #e06533;
  font-weight: 500;
}


/* ── Checkbox Options ── */
.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.check-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid #f9fbfd;
  border-radius: 8px;
  cursor: pointer;
  background: #f9fbfd;
  transition: all 0.15s;
}

.check-option:hover {
  border: 1px solid #e5693b;
}

.check-option.selected {
  border-color: #e06533;
  background: #fdf4ec;
}

.check-option input[type="checkbox"] {
  accent-color: #e06533;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.check-option .opt-text {
  font-size: 14px;
  color: #374151;
}

.check-option.selected .opt-text {
  color: #e06533;
  font-weight: 500;
}



/* ── Textarea ── */
textarea {
  width: 100%; border: 1px solid #e5e7eb; border-radius: 10px;
  padding: 30px; font-size: 14px; color: #6b7280;
  resize: vertical; outline: none;
  font-family: 'Inter', sans-serif; background: #fff;
}

textarea:focus { border-color: #e06533; }


/* ── Next Button ── */
.next-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 36px;
}

.btn-next {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e06533;
  color: #fff;
  border: none;
  padding: 13px 30px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.15s;
  font-family: 'Inter', sans-serif;
}

.btn-next:hover {
  background: #c8542a;
}

.btn-next svg {
  width: 16px;
  height: 16px;
}


/* ═══════════════════════════════════════════
   SCORE CARD (sticky right column)
   ═══════════════════════════════════════════ */

#score-card {
  width: 252px;
  flex-shrink: 0;
  position: sticky;
  top: 88px;
  align-self: flex-start;
}

.score-card-inner {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e9eaec;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.score-card-title {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 18px;
}

.score-circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #e06533;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.score-circle span {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
}

.score-out-of {
  text-align: center;
  font-size: 12px;
  color: #9ca3af;
  margin: 8px 0 18px;
}

/* User info card */
.user-info-card {
  background: #fdf4ec;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 14px;
}

.user-info-card.hidden {
  display: none;
}

.user-name {
  font-size: 13px;
  font-weight: 700;
  color: #e06533;
  margin: 0 0 2px;
}

.user-company {
  font-size: 11px;
  color: #6b7280;
  margin: 0;
}

/* Progress */
.score-progress-wrap {
  border-top: 1px solid #f1f3f5;
  padding-top: 16px;
}

.score-progress-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.score-progress-label {
  font-size: 12px;
  color: #6b7280;
}

.score-progress-count {
  font-size: 12px;
  font-weight: 700;
  color: #111827;
}

.progress-track {
  height: 5px;
  background: #e5e7eb;
  border-radius: 999px;
}

.progress-fill {
  height: 5px;
  background: #e06533;
  border-radius: 999px;
  width: 0%;
  transition: width 0.4s ease;
}


/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */

/* .site-footer {
  background: #111827;
  color: #d1d5db;
  padding: 48px 32px;
} */

.site-footer {
  background: #0f172a;   /* changed color */
  color: #d1d5db;
  padding: 48px 32px;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  height: 34px;
  object-fit: contain;
  margin-bottom: 14px;
  display: block;
}

.footer-logo-text {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  display: block;
  margin-bottom: 14px;
}

.footer-desc {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
}

.footer-contact-title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 10px;
}

.footer-contact-text {
  font-size: 12px;
  color: #99a5bf;
  line-height: 1.7;
  margin: 0;
}

.footer-bottom {
  max-width: 960px;
  margin: 32px auto 0;
  border-top: 1px solid #374151;
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: #99a5bf;
  margin: 0;
}