/* ═══════════════════════════════════════════════════════
   DEYLEO — FEEDBACK PAGE
   feedback-style.css
   Extends the design system of the landing page exactly.
═══════════════════════════════════════════════════════ */

:root {
  --bg: #010303;
  --bg-soft: #050908;
  --surface: rgba(255, 255, 255, 0.032);
  --surface-strong: rgba(255, 255, 255, 0.052);
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.075);
  --text: #f7fbfa;
  --muted: #8f9d9b;
  --muted-strong: #c5d0ce;
  --teal: #41e7cc;
  --teal-soft: rgba(65, 231, 204, 0.12);
  --shadow: rgba(0, 0, 0, 0.74);
  --max-width: 1180px;
  --header-height: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  background:
    linear-gradient(180deg, #020404 0%, #050807 36%, #010303 100%),
    var(--bg);
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 74%, transparent 100%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(65, 231, 204, 0.018) 0%, transparent 18%),
    linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.014) 48%, transparent 64%);
  opacity: 0.72;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1, h2, h3, p {
  overflow-wrap: break-word;
}

h1, h2, h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: 5.08rem;
  line-height: 0.94;
  font-weight: 800;
}

h1 span {
  display: block;
}

h2 {
  max-width: 780px;
  font-size: 3.35rem;
  line-height: 1.02;
  font-weight: 800;
}

h3 {
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.25;
  font-weight: 700;
}

/* ═══════════════════════════════════════
   SKIP LINK
═══════════════════════════════════════ */

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  background: #080d0d;
  color: var(--text);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ═══════════════════════════════════════
   HEADER
═══════════════════════════════════════ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  height: var(--header-height);
  transition: background 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  border-bottom: 1px solid var(--line-soft);
  background: rgba(1, 3, 3, 0.84);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(65, 231, 204, 0.28);
  border-radius: 8px;
  background: #050909;
  box-shadow: 0 0 16px rgba(65, 231, 204, 0.1);
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-icon img.is-missing {
  display: none;
}

.brand-icon.has-missing-image::before {
  content: "D";
  color: var(--teal);
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-cta {
  color: var(--teal) !important;
}

/* ═══════════════════════════════════════
   SECTION BASE
═══════════════════════════════════════ */

.section {
  position: relative;
  scroll-margin-top: calc(var(--header-height) + 24px);
  padding: 108px 0;
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}

/* ═══════════════════════════════════════
   EYEBROW / SECTION HEADING
═══════════════════════════════════════ */

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-heading {
  margin-bottom: 72px;
}

.section-sub {
  max-width: 580px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.72;
}

/* ═══════════════════════════════════════
   BUTTONS
═══════════════════════════════════════ */

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 22px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  border-color: rgba(65, 231, 204, 0.86);
  background: #4ef3d8;
  color: #021110;
  box-shadow:
    0 0 0 1px rgba(65, 231, 204, 0.16),
    0 0 28px rgba(65, 231, 204, 0.26);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow:
    0 0 0 1px rgba(65, 231, 204, 0.24),
    0 0 38px rgba(65, 231, 204, 0.34);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.024);
  color: var(--muted-strong);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.button-link {
  border: none;
  padding: 0 4px;
  background: transparent;
  color: var(--muted-strong);
  font-size: 0.95rem;
  font-weight: 600;
  min-height: auto;
}

.button-link:hover,
.button-link:focus-visible {
  color: var(--teal);
  transform: translateY(0);
}

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */

.hero {
  min-height: 82vh;
  display: flex;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 82px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  width: 720px;
  height: 720px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(65, 231, 204, 0.055) 0%, transparent 68%);
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.06); }
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;
  gap: 56px;
  width: 100%;
}

.hero-copy {
  max-width: 660px;
}

.hero-clarity {
  max-width: 575px;
  margin: 24px 0 0;
  color: var(--muted-strong);
  font-size: 1.22rem;
  line-height: 1.5;
  font-weight: 500;
}

.hero-text {
  max-width: 575px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 36px;
}

.proof-line {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Hero ornament */

.hero-ornament {
  display: flex;
  justify-content: center;
}

.ornament-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  padding: 40px 32px 36px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(12px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ornament-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.6;
  pointer-events: none;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, transparent 80%);
}

.ornament-pulse-wrap {
  position: relative;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ornament-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(65, 231, 204, 0.22);
  animation: ringPulse 3s ease-out infinite;
}

.ornament-ring.r2 {
  animation-delay: 1.4s;
  inset: -12px;
}

@keyframes ringPulse {
  0% { opacity: 0; transform: scale(0.8); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.3); }
}

.ornament-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 16px rgba(65, 231, 204, 0.6);
}

.ornament-label {
  margin: 0;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.ornament-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

/* ═══════════════════════════════════════
   TRUST SECTION
═══════════════════════════════════════ */

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.trust-card {
  position: relative;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 30px 28px 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028) 0%, rgba(255, 255, 255, 0.01) 100%);
  overflow: hidden;
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.trust-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.6;
  pointer-events: none;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, transparent 80%);
}

.trust-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.38);
}

.trust-card-icon {
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  color: var(--teal);
  background: var(--teal-soft);
  margin-bottom: 20px;
}

.trust-category {
  margin: 0 0 6px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.trust-title {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.trust-body {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.trust-tag {
  display: inline-block;
  border: 1px solid rgba(65, 231, 204, 0.2);
  border-radius: 6px;
  padding: 4px 10px;
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 700;
  background: var(--teal-soft);
}

/* ═══════════════════════════════════════
   FORM SECTION
═══════════════════════════════════════ */

.form-shell {
  max-width: 760px;
}

.form-card {
  position: relative;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.032) 0%, rgba(255, 255, 255, 0.012) 100%);
  overflow: hidden;
}

.form-card-accent {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(65, 231, 204, 0.48) 40%, rgba(65, 231, 204, 0.24) 70%, transparent 100%);
}

.form-body {
  padding: 40px 44px 44px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-row {
  display: flex;
  flex-direction: column;
}

.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.form-label {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--muted-strong);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0;
}

.form-optional {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
}

.form-input,
.form-textarea {
  width: 100%;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.024);
  color: var(--text);
  font-family: inherit;
  font-size: 0.96rem;
  line-height: 1.5;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
  outline: none;
  resize: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(143, 157, 155, 0.55);
}

.form-input:hover,
.form-textarea:hover {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.034);
}

.form-input:focus,
.form-textarea:focus {
  border-color: rgba(65, 231, 204, 0.36);
  background: rgba(65, 231, 204, 0.028);
  box-shadow: 0 0 0 3px rgba(65, 231, 204, 0.08);
}

.form-textarea {
  resize: vertical;
  min-height: 88px;
}

/* Rating */

.rating-strip {
  display: flex;
  gap: 8px;
}

.rating-btn {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.024);
  color: var(--muted);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.rating-btn:hover {
  border-color: rgba(65, 231, 204, 0.3);
  color: var(--text);
  transform: translateY(-2px);
}

.rating-btn.is-selected {
  border-color: rgba(65, 231, 204, 0.6);
  background: var(--teal-soft);
  color: var(--teal);
  box-shadow: 0 0 12px rgba(65, 231, 204, 0.16);
}

.rating-labels {
  display: flex;
  justify-content: space-between;
  padding: 0 4px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
}

/* Submit */

.form-submit-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 4px;
}

.form-submit-btn {
  align-self: flex-start;
  gap: 8px;
}

.submit-icon {
  transition: transform 200ms ease;
}

.form-submit-btn:hover .submit-icon {
  transform: translateX(3px);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

/* Success state */

.form-success {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: linear-gradient(180deg, rgba(4, 14, 12, 0.92) 0%, rgba(1, 3, 3, 0.96) 100%);
  backdrop-filter: blur(8px);
  z-index: 10;
  animation: fadeIn 400ms ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.form-success-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  max-width: 440px;
}

.success-icon-wrap {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(65, 231, 204, 0.28);
  border-radius: 50%;
  background: rgba(65, 231, 204, 0.06);
  box-shadow: 0 0 28px rgba(65, 231, 204, 0.14);
}

.success-title {
  margin: 0;
  color: var(--text);
  font-size: 1.4rem;
  font-weight: 800;
}

.success-body {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.68;
}

/* ═══════════════════════════════════════
   WHAT HAPPENS NEXT
═══════════════════════════════════════ */

.next-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 640px;
}

.next-step {
  display: grid;
  grid-template-columns: 48px 1px 1fr;
  gap: 0 20px;
  position: relative;
}

.next-step:last-child .next-step-connector {
  display: none;
}

.next-step-number {
  color: rgba(65, 231, 204, 0.36);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding-top: 2px;
  line-height: 1;
}

.next-step-connector {
  background: var(--line-soft);
  align-self: stretch;
  margin: 24px 0 0;
  width: 1px;
}

.next-step-body {
  padding-bottom: 40px;
}

.next-step-icon {
  display: flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  color: var(--teal);
  background: var(--teal-soft);
  margin-bottom: 14px;
}

.next-step-body h3 {
  margin: 0 0 8px;
  font-size: 1.04rem;
}

.next-step-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.68;
}

.next-cta {
  margin-top: 12px;
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */

.footer-outer {
  border-top: 1px solid var(--line-soft);
  margin-top: 24px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 34px;
  color: var(--muted);
}

.footer-brand {
  color: var(--text);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-links a {
  transition: color 180ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.footer-copy {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(143, 157, 155, 0.6);
}

/* ═══════════════════════════════════════
   REVEAL ANIMATION
═══════════════════════════════════════ */

.reveal {
  transform: translateY(24px);
  opacity: 0;
  transition: opacity 700ms ease, transform 700ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

/* ═══════════════════════════════════════
   RESPONSIVE — TABLET
═══════════════════════════════════════ */

@media (max-width: 900px) {

  h1 {
    font-size: 3.6rem;
  }

  h2 {
    font-size: 2.6rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-ornament {
    display: none;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-body {
    padding: 32px 28px 36px;
  }

  .form-row-split {
    grid-template-columns: 1fr;
  }

  .next-step {
    grid-template-columns: 36px 1px 1fr;
    gap: 0 14px;
  }

  .section-heading {
    margin-bottom: 52px;
  }
}

/* ═══════════════════════════════════════
   RESPONSIVE — MOBILE
═══════════════════════════════════════ */

@media (max-width: 600px) {

  :root {
    --header-height: 64px;
  }

  .section {
    padding: 80px 0;
  }

  h1 {
    font-size: 2.9rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .hero {
    min-height: auto;
    padding-top: 76px;
    padding-bottom: 64px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .form-body {
    padding: 24px 20px 28px;
    gap: 22px;
  }

  .nav-links {
    gap: 16px;
  }

  .rating-btn {
    width: 40px;
    height: 40px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-links {
    gap: 14px;
  }

  .next-step-number {
    font-size: 0.7rem;
  }

  .section-heading {
    margin-bottom: 40px;
  }
}

/* ═══════════════════════════════════════
   REDUCED MOTION
═══════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  .hero-glow,
  .ornament-ring {
    animation: none;
  }

  .reveal {
    transform: none;
    opacity: 1;
  }
}

.jotform-card {
  padding: 0;
  overflow: hidden;
}

.jotform-embed {
  width: 100%;
  min-height: 900px;
  background: transparent;
}

.jotform-embed iframe {
  width: 100% !important;
  max-width: 100% !important;
  border: 0 !important;
}


/* WHAT HAPPENS NEXT FIX */
.next-steps {
  max-width: 860px;
  width: 100%;
}

.next-step {
  display: grid !important;
  grid-template-columns: 56px minmax(0, 1fr) !important;
  column-gap: 28px !important;
  align-items: flex-start !important;
  position: relative;
  margin-bottom: 54px;
}

.next-step-number {
  grid-column: 1;
  grid-row: 1;
  width: 56px;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 800;
  padding-top: 6px;
}

.next-step-connector {
  display: none !important;
}

.next-step-body {
  grid-column: 2;
  grid-row: 1;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 760px;
}

.next-step-icon {
  margin-bottom: 16px;
}

.next-step-body h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  line-height: 1.25;
  white-space: normal !important;
  word-break: normal !important;
}

.next-step-body p {
  margin: 0;
  max-width: 720px;
  line-height: 1.7;
  white-space: normal !important;
  word-break: normal !important;
}