:root {
  --black: #231f20;
  --red: #ed1c24;
  --red-soft: rgba(237, 28, 36, 0.16);
  --white: #ffffff;
  --gray-100: #2c2928;
  --gray-200: #3a3633;
  --glass: rgba(0, 0, 0, 0.55);
  --border-soft: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.22);
  --field-bg: #1c1e21;
  --green: #4ade80;
  --radius-lg: 20px;
  --radius-xl: 24px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  background: radial-gradient(circle at top left, #303335 0, #181a1c 35%, #111214 65%, #101113 100%);
  color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---------- NAVBAR (shared) ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 0;
  display: flex;
  justify-content: center;
  background: transparent;
}

.navbar-inner {
  width: min(1200px, 100% - 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 32px;
  border-radius: 999px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), var(--glass));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.7),
    0 2px 0 rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(18px);
}

.nav-left,
.nav-center,
.nav-right {
  display: flex;
  align-items: center;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-line-1 {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.nav-center {
  gap: 28px;
}

.nav-link {
  position: relative;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.98rem;
  font-weight: 500;
  padding-bottom: 4px;
}

.nav-link-active {
  color: var(--white);
}

.nav-underline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  margin-inline: auto;
  height: 2px;
  width: 0;
  background: var(--white);
  opacity: 0.8;
  transition: width 0.25s ease;
}

.nav-link:hover .nav-underline,
.nav-link-active .nav-underline {
  width: 100%;
}

.video-count-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- FEEDBACK PAGE LAYOUT ---------- */
.feedback-main {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px;
  max-width: min(1200px, 100% - 40px);
  margin: 60px auto 80px;
  align-items: start;
}

@media (max-width: 900px) {
  .feedback-main {
    grid-template-columns: 1fr;
    gap: 28px;
    margin: 48px 16px 60px;
  }
}

/* Left: form panel */
.feedback-panel {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-soft);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.02),
    rgba(0, 0, 0, 0.88)
  );
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.85);
  padding: 32px 28px;
}

.feedback-panel h1 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.feedback-panel p {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 22px;
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 560px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.optional-tag {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
}

/* ---------- Higher-contrast inputs / textareas ---------- */
.field-group input,
.field-group select,
.field-group textarea {
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--field-bg);
  padding: 12px 14px;
  font-size: 0.96rem;
  color: var(--white);
  outline: none;
  font-family: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 1px 3px rgba(0, 0, 0, 0.4);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.field-group input:hover,
.field-group select:hover,
.field-group textarea:hover {
  border-color: rgba(255, 255, 255, 0.34);
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: var(--red);
  background: #212327;
  box-shadow: 0 0 0 3px var(--red-soft);
}

.field-group input::placeholder,
.field-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.required-tag {
  color: var(--red);
}

.form-divider {
  height: 1px;
  background: var(--border-soft);
  margin: 6px 0 4px;
}

/* ---------- Overall progress bar ---------- */
.overall-progress {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.03);
}

.overall-progress-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.overall-progress-count {
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.overall-progress-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.overall-progress-fill {
  height: 100%;
  border-radius: 999px;
  width: 0%;
  background: linear-gradient(90deg, var(--red), #ff6a70);
  transition: width 0.25s ease;
}

/* ---------- Rating sections ---------- */
.rating-sections {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rating-section {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.rating-section.is-complete {
  border-color: rgba(74, 222, 128, 0.35);
}

.rating-section-header {
  all: unset;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  width: 100%;
}

.rating-section-header:hover {
  background: rgba(255, 255, 255, 0.03);
}

.rating-section-heading {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.rating-section-index {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  white-space: nowrap;
}

.rating-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
}

.rating-section-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.rating-section-progress {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.7);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.rating-section.is-complete .rating-section-progress {
  background: rgba(74, 222, 128, 0.16);
  color: var(--green);
}

.rating-section-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  transition: transform 0.25s ease;
  color: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
}

.rating-section.is-open .rating-section-chevron {
  transform: rotate(180deg);
}

/* grid-rows accordion trick: no JS height math needed */
.rating-section-body-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.rating-section.is-open .rating-section-body-wrap {
  grid-template-rows: 1fr;
}

.rating-section-body {
  overflow: hidden;
  padding: 0 18px;
}

.rating-section.is-open .rating-section-body {
  padding: 2px 18px 18px;
}

.rating-questions {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.rating-question {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}

.rating-question-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  line-height: 1.5;
}

.rating-question.is-answered .rating-question-label {
  color: var(--white);
}

.answer-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: background 0.15s ease;
}

.rating-question.is-answered .answer-dot {
  background: var(--green);
}

.rating-scale {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rating-scale-edge {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  width: 92px;
  flex-shrink: 0;
}

.rating-scale-edge.is-right {
  text-align: right;
}

.rating-scale-options {
  display: flex;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

/* ---------- More prominent 1-5 scale ---------- */
.scale-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  background: var(--field-bg);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.scale-btn:hover {
  border-color: var(--red);
  color: var(--white);
  background: rgba(237, 28, 36, 0.1);
  transform: translateY(-1px);
}

.scale-btn:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.scale-btn.selected {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(237, 28, 36, 0.45);
  transform: translateY(-1px);
}

@media (max-width: 560px) {
  .rating-scale {
    flex-wrap: wrap;
  }

  .rating-scale-edge {
    width: auto;
  }

  .rating-scale-options {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .scale-btn {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }

  .rating-section-header {
    flex-wrap: wrap;
  }
}

/* ---------- Yes/No toggle (Section 0: Pre-Deployment Expectations) ---------- */
.yesno-options {
  display: flex;
  gap: 10px;
}

.yesno-btn {
  flex: 1;
  max-width: 80px;
  padding: 1.5px 8px;
  border-radius: 999px;
  border: 2px solid var(--border-strong);
  background: var(--field-bg);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.yesno-btn:hover {
  border-color: var(--red);
  color: var(--white);
  background: rgba(237, 28, 36, 0.1);
  transform: translateY(-1px);
}

.yesno-btn:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.yesno-btn.selected {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(237, 28, 36, 0.45);
  transform: translateY(-1px);
}

@media (max-width: 560px) {
  .yesno-btn {
    max-width: none;
  }
}

.primary-btn {
  border-radius: 999px;
  border: none;
  padding: 12px 22px;
  font-size: 0.96rem;
  font-weight: 700;
  background: var(--red);
  color: var(--white);
  cursor: pointer;
  align-self: flex-start;
  transition: opacity 0.15s ease;
  font-family: inherit;
}

.primary-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.feedback-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.feedback-note.is-error {
  color: #ff8a8a;
}

.feedback-note.is-success {
  color: #8aff9e;
}

/* ---------- RIGHT PANEL ---------- */
.feedback-side-panel {
  display: flex;
}

.feedback-side-card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-soft);
  background: linear-gradient(
    160deg,
    rgba(237, 28, 36, 0.12),
    rgba(0, 0, 0, 0.9)
  );
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.85);
  padding: 28px 26px;
  width: 100%;
  position: sticky;
  top: 100px;
}

.feedback-side-card h2 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.92);
}

.feedback-side-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feedback-side-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.side-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.side-item-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.side-item-copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.feedback-side-divider {
  height: 1px;
  background: var(--border-soft);
  margin: 24px 0 18px;
}

.side-contact-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
}

.contact-glass-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.contact-glass-link:hover {
  color: var(--red);
}

.contact-icon {
  font-size: 0.95rem;
  width: 18px;
  text-align: center;
}

/* ---------- FOOTER (shared) ---------- */
/* ---------- FOOTER ---------- */

.site-footer {
  background: linear-gradient(to bottom, var(--gray-100), #1a1817);
  border-top: 2px solid var(--red);
  box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.4);
  color: var(--white);
  padding: clamp(48px, 8vw, 80px) 20px 0;
  position: relative;
  overflow: hidden;
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: clamp(20px, 4vw, 36px);
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 300px;
}

.footer-logo {
  height: clamp(70px, 8vw, 100px);
  width: auto;
  display: block;
  flex: 0 0 auto;
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.footer-copy {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-top: 4px;
}

.footer-nav-columns {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(40px, 6vw, 100px);
}

.footer-col-title {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--white);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.footer-links a,
.footer-col ul li a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.18s ease;
}

.footer-links a:hover,
.footer-col ul li a:hover {
  color: var(--red);
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 2px;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.footer-social-btn:hover {
  background: var(--red);
  border-color: var(--red);
}

.footer-social-btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border-soft);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom-links {
  display: flex;
  gap: 0;
  align-items: center;
  margin-right: clamp(4px, 2vw, 28px);
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer-bottom-links a:hover { color: var(--red); }

.footer-bottom-links span {
  color: rgba(255, 255, 255, 0.25);
  margin: 0 12px;
}

@media (max-width: 900px) {
  .footer-nav-columns { gap: 40px; }
}

@media (max-width: 560px) {
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-brand { max-width: none; }
  .footer-nav-columns { gap: 28px; width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
}
/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .navbar-inner {
    padding-inline: 18px;
    gap: 10px;
  }

  .nav-center {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}

/* ---------- Video-proof link upload group ---------- */
.link-upload-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px dashed var(--border-strong);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.link-upload-group.has-value {
  border-style: solid;
  border-color: rgba(74, 222, 128, 0.4);
  background: rgba(74, 222, 128, 0.05);
}

.link-instructions {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.link-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.link-icon {
  font-size: 0.95rem;
  flex-shrink: 0;
}

.link-input {
  flex: 1;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--field-bg);
  padding: 10px 12px;
  font-size: 0.9rem;
  color: var(--white);
  outline: none;
  font-family: inherit;
}

.link-input:focus {
  border-color: var(--red);
  background: #212327;
  box-shadow: 0 0 0 3px var(--red-soft);
}

.link-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.link-hint {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.45);
}