/* AI Solutions Advisor & Readiness Assessment */

:root {
  --edge-blue: #0B3EE3;
  --edge-navy: #211D67;
  --edge-grad: linear-gradient(135deg, var(--edge-blue), var(--edge-navy));
}

.edge-tab-wrapper {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 1040;
  pointer-events: auto;
}

.edge-tab-wrapper .tab,
.ai-readiness-bookmark.edge-tab {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(0, -50%);
  width: 32px;
  height: 114px;
  background: var(--edge-grad);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 12px 0 0 12px;
  box-shadow: -3px 4px 16px rgba(11, 62, 227, 0.3);
  text-decoration: none !important;
  cursor: pointer;
  overflow: hidden;
  box-sizing: border-box;
  padding: 8px 4px;
  transition: transform .4s cubic-bezier(.22, 1, .36, 1),
              width .4s cubic-bezier(.22, 1, .36, 1),
              height .4s cubic-bezier(.22, 1, .36, 1),
              box-shadow .4s cubic-bezier(.22, 1, .36, 1),
              border-radius .4s cubic-bezier(.22, 1, .36, 1);
}

.edge-tab-wrapper:hover .tab,
.edge-tab-wrapper .tab:hover,
.ai-readiness-bookmark.edge-tab:hover {
  transform: translate(0, -50%);
  width: 116px;
  height: 80px;
  border-radius: 14px 0 0 14px;
  box-shadow: -4px 6px 24px rgba(11, 62, 227, 0.42);
  padding: 10px;
}

.edge-tab-wrapper .tab:active,
.ai-readiness-bookmark.edge-tab:active {
  transform: translate(0, -50%) scale(0.98);
}

/* Navdots inside tab — hidden in both states */
.edge-tab-wrapper .navdots,
.edge-tab .navdots {
  display: none;
}

/* SVG Mark */
.edge-tab-wrapper svg.mark,
.edge-tab svg.mark {
  width: 22px;
  overflow: visible;
  position: relative;
  background: transparent;
  display: block;
  margin: 0 auto 6px;
  transition: width .4s cubic-bezier(.22, 1, .36, 1), transform .4s cubic-bezier(.22, 1, .36, 1), margin .4s cubic-bezier(.22, 1, .36, 1);
}

.edge-tab-wrapper:hover svg.mark,
.edge-tab-wrapper .tab:hover svg.mark,
.ai-readiness-bookmark.edge-tab:hover svg.mark {
  width: 36px;
  margin: 0 auto 4px;
  transform: translateY(-2px);
}

/* Variant A: trace + fill + cube drop (Exact rules from edge-tab-logo-reveal.html) */
.A .ring-o,
.tab.A .ring-o,
.edge-tab.A .ring-o {
  fill: none;
  stroke: #ffffff;
  stroke-width: 9;
  stroke-linejoin: round;
  stroke-dasharray: 100 100;
  stroke-dashoffset: 100;
  opacity: .9;
}

.A .ring-f,
.tab.A .ring-f,
.edge-tab.A .ring-f {
  fill: #ffffff;
  opacity: 0;
}

.A .tail, .A .cl, .A .cr, .A .ct,
.tab.A .tail, .tab.A .cl, .tab.A .cr, .tab.A .ct,
.edge-tab.A .tail, .edge-tab.A .cl, .edge-tab.A .cr, .edge-tab.A .ct {
  opacity: 0;
  transform: translateY(-10px);
  transform-box: fill-box;
  transform-origin: center;
  fill: #ffffff;
}

.edge-tab-wrapper:hover .A .ring-o,
.edge-tab-wrapper:hover .tab.A .ring-o,
.edge-tab-wrapper .tab:hover.A .ring-o,
.ai-readiness-bookmark.edge-tab:hover .ring-o {
  transition: stroke-dashoffset .55s cubic-bezier(.65, 0, .35, 1) .05s, opacity .2s .5s;
  stroke-dashoffset: 0;
  opacity: 0;
}

.edge-tab-wrapper:hover .A .ring-f,
.edge-tab-wrapper:hover .tab.A .ring-f,
.edge-tab-wrapper .tab:hover.A .ring-f,
.ai-readiness-bookmark.edge-tab:hover .ring-f {
  transition: opacity .25s .55s;
  opacity: 1;
}

.edge-tab-wrapper:hover .A .tail,
.edge-tab-wrapper:hover .tab.A .tail,
.edge-tab-wrapper .tab:hover.A .tail,
.ai-readiness-bookmark.edge-tab:hover .tail {
  transition: all .3s cubic-bezier(.34, 1.56, .64, 1) .65s;
  opacity: 1;
  transform: translateY(0);
}

.edge-tab-wrapper:hover .A .cl,
.edge-tab-wrapper:hover .tab.A .cl,
.edge-tab-wrapper .tab:hover.A .cl,
.ai-readiness-bookmark.edge-tab:hover .cl {
  transition: all .3s cubic-bezier(.34, 1.56, .64, 1) .72s;
  opacity: 1;
  transform: translateY(0);
}

.edge-tab-wrapper:hover .A .cr,
.edge-tab-wrapper:hover .tab.A .cr,
.edge-tab-wrapper .tab:hover.A .cr,
.ai-readiness-bookmark.edge-tab:hover .cr {
  transition: all .3s cubic-bezier(.34, 1.56, .64, 1) .78s;
  opacity: 1;
  transform: translateY(0);
}

.edge-tab-wrapper:hover .A .ct,
.edge-tab-wrapper:hover .tab.A .ct,
.edge-tab-wrapper .tab:hover.A .ct,
.ai-readiness-bookmark.edge-tab:hover .ct {
  transition: all .3s cubic-bezier(.34, 1.56, .64, 1) .84s;
  opacity: 1;
  transform: translateY(0);
}

/* Edge Tab Label: "AI Advisor" */
/* Closed state: slim, vertically oriented, perfectly aligned under logo */
.edge-tab-label {
  font-family: "Proxima Nova", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #ffffff;
  white-space: nowrap;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  display: block;
  line-height: 1;
  margin: 0;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.25s ease, font-size 0.25s ease;
}

/* Open (hover) state: snap back to horizontal, compact & sleek */
.edge-tab-wrapper:hover .edge-tab-label,
.edge-tab-wrapper .tab:hover .edge-tab-label,
.ai-readiness-bookmark.edge-tab:hover .edge-tab-label {
  writing-mode: horizontal-tb;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0;
  opacity: 1;
}

/* Navbar item matching standard nav items */
.nav-cta-assessment {
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  border-top: 3px solid transparent !important;
  font-weight: 600 !important;
}

/* Strict Navbar Protection for Assessment & Results Page (Zero Glitch / Solid White) */
body:has(.ai-advisor-page) #navbar,
.remelda:has(.ai-advisor-page) #navbar,
body.ai-assessment-page #navbar,
body.ai-white-navbar #navbar,
#navbar.navbar-force-white {
  background-color: #ffffff !important;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08) !important;
  top: 0 !important;
  display: flex !important;
  visibility: visible !important;
}

body:has(.ai-advisor-page) #navbar .nav-link:not(.contact-us-nav),
.remelda:has(.ai-advisor-page) #navbar .nav-link:not(.contact-us-nav),
body.ai-assessment-page #navbar .nav-link:not(.contact-us-nav),
body.ai-white-navbar #navbar .nav-link:not(.contact-us-nav),
#navbar.navbar-force-white .nav-link:not(.contact-us-nav) {
  color: #1e1d28 !important;
}

body:has(.ai-advisor-page) #navbar .nav-cta-assessment,
.remelda:has(.ai-advisor-page) #navbar .nav-cta-assessment,
body.ai-assessment-page #navbar .nav-cta-assessment,
body.ai-white-navbar #navbar .nav-cta-assessment,
#navbar.navbar-force-white .nav-cta-assessment {
  color: #0045e6 !important;
  /* No permanent border-top: underline appears only on :hover via header.css */
}

body:has(.ai-advisor-page) #navbar .lang-pill,
.remelda:has(.ai-advisor-page) #navbar .lang-pill,
body.ai-assessment-page #navbar .lang-pill,
body.ai-white-navbar #navbar .lang-pill,
#navbar.navbar-force-white .lang-pill {
  color: #1e1d28 !important;
}

body:has(.ai-advisor-page) #navbar .lang-divider,
.remelda:has(.ai-advisor-page) #navbar .lang-divider,
body:has(.ai-advisor-page) .navbar.sticky-nav .lang-divider,
.remelda:has(.ai-advisor-page) .navbar.sticky-nav .lang-divider,
body.ai-assessment-page #navbar .lang-divider,
body.ai-assessment-page .navbar.sticky-nav .lang-divider,
body.ai-white-navbar #navbar .lang-divider,
body.ai-white-navbar .navbar.sticky-nav .lang-divider,
#navbar.navbar-force-white .lang-divider {
  color: #64748b !important;
  opacity: 1 !important;
}

body:has(.ai-advisor-page) #navbar .contact-us-btn .btn,
.remelda:has(.ai-advisor-page) #navbar .contact-us-btn .btn,
body.ai-assessment-page #navbar .contact-us-btn .btn,
body.ai-white-navbar #navbar .contact-us-btn .btn,
#navbar.navbar-force-white .contact-us-btn .btn {
  background-color: var(--bg-color-black1) !important;
  color: #ffffff !important;
}

body:has(.ai-advisor-page) #navbar .navbar-toggler-icon-custom,
.remelda:has(.ai-advisor-page) #navbar .navbar-toggler-icon-custom,
body.ai-assessment-page #navbar .navbar-toggler-icon-custom,
body.ai-white-navbar #navbar .navbar-toggler-icon-custom,
#navbar.navbar-force-white .navbar-toggler-icon-custom {
  border-color: #1e1d28 !important;
  filter: none !important;
}

body:has(.ai-advisor-page) #navbar .navbar-toggler-icon-custom::before,
body:has(.ai-advisor-page) #navbar .navbar-toggler-icon-custom::after,
.remelda:has(.ai-advisor-page) #navbar .navbar-toggler-icon-custom::before,
.remelda:has(.ai-advisor-page) #navbar .navbar-toggler-icon-custom::after,
body.ai-assessment-page #navbar .navbar-toggler-icon-custom::before,
body.ai-assessment-page #navbar .navbar-toggler-icon-custom::after,
body.ai-white-navbar #navbar .navbar-toggler-icon-custom::before,
body.ai-white-navbar #navbar .navbar-toggler-icon-custom::after,
#navbar.navbar-force-white .navbar-toggler-icon-custom::before,
#navbar.navbar-force-white .navbar-toggler-icon-custom::after {
  background: #1e1d28 !important;
}


/* Hero Landing */


.ai-advisor-page {
  font-family: "Proxima Nova", Arial, sans-serif;
  background-color: #f8fafc;
  color: #1e1d28;
  min-height: 100vh;
  padding-top: 84px;
  /* Space for fixed navbar */
  box-sizing: border-box;
}

@media only screen and (max-width: 991px) {
  .ai-advisor-page {
    padding-top: 72px;
  }
}

.ai-advisor-hero {
  position: relative;
  width: 100%;
  max-width: 1320px;
  margin: 24px auto 32px;
  min-height: calc(100vh - 128px);
  border-radius: 20px;
  background: #212F48;
  background-image: linear-gradient(180deg, #22314A 0%, #1F355E 100%);
  color: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 44px 48px 36px;
  box-shadow: 0 20px 48px rgba(10, 20, 60, 0.22);
}

.ai-advisor-hero--compact {
  min-height: auto;
  padding: 44px 40px;
  margin: 24px auto 32px;
}

.ai-advisor-hero-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.ai-advisor-hero__wave-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  opacity: 0.65;
  z-index: 1;
}

.ai-advisor-hero__svg {
  width: 100%;
  height: 100%;
}

.ai-advisor-hero__content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  position: relative;
  z-index: 2;
}

.ai-advisor-hero__content {
  max-width: 820px;
  margin-top: auto;
  margin-bottom: auto;
  padding: 40px 0 20px;
}

.ai-advisor-hero__title {
  font-family: Georgia, "Proxima Nova", serif;
  font-size: 56px;
  font-weight: 400;
  line-height: 1.12;
  color: #ffffff;
  margin-bottom: 22px;
}

.ai-advisor-hero__desc {
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 680px;
}

.ai-advisor-hero__cta-wrapper {
  margin-bottom: 40px;
}

/* White Pill Button */
.ai-btn-white-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #1b212f !important;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 36px;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.ai-btn-white-pill:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.ai-btn-ghost-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 36px;
  text-decoration: none !important;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.ai-btn-ghost-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

.ai-btn-arrow {
  font-size: 16px;
  font-weight: 400;
  transition: transform 0.15s ease;
}

.ai-btn-white-pill:hover .ai-btn-arrow,
.ai-btn-dark-pill:hover .ai-btn-arrow,
.ai-btn-continue:not(:disabled):hover .ai-btn-arrow {
  transform: translate(2px, -2px);
}

/* Deliverables Grid */
.ai-advisor-hero__deliverables {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  z-index: 2;
}

.ai-advisor-hero__deliv-title {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px;
}

.ai-advisor-hero__deliv-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.ai-advisor-hero__deliv-col {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}


/* Wizard Section */


.ai-wizard-section {
  padding: 0;
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-wizard-frame {
  width: 100%;
  max-width: 1320px;
  margin: 24px auto 32px;
  min-height: calc(100vh - 128px);
  border-radius: 20px;
  background: #212B3C;
  background-image: linear-gradient(180deg, #222C3E 0%, #20293A 100%);
  padding: 36px 40px;
  display: flex;
  gap: 36px;
  box-shadow: 0 24px 56px rgba(10, 20, 60, 0.22);
}

/* Left Sidebar */
.ai-wizard-sidebar {
  width: 280px;
  flex-shrink: 0;
  padding: 12px 0 12px 6px;
  display: flex;
  flex-direction: column;
}

.ai-wizard-sidebar__title {
  font-size: 24px;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 44px;
  letter-spacing: -0.2px;
}

/* Timeline */
.ai-timeline-nav {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.ai-timeline-line {
  position: absolute;
  left: 10px;
  top: 14px;
  bottom: 24px;
  width: 2px;
  background: rgba(255, 255, 255, 0.18);
  z-index: 1;
}

.ai-timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  z-index: 2;
  cursor: default;
}

.ai-timeline-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: #1c273a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.ai-timeline-dot__inner {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.25s ease;
}

/* Active Step: Outer ring with white center dot */
.ai-timeline-step.active .ai-timeline-dot {
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 10px rgba(0, 69, 230, 0.4);
}

.ai-timeline-step.active .ai-timeline-dot__inner {
  background: #ffffff;
}

/* Completed Step */
.ai-timeline-step.completed .ai-timeline-dot {
  background: #0045e6;
  border-color: #0045e6;
}

.ai-timeline-step.completed .ai-timeline-dot__inner {
  background: #ffffff;
}

.ai-timeline-info {
  display: flex;
  flex-direction: column;
}

.ai-timeline-step-num {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.52);
  margin-bottom: 2px;
}

.ai-timeline-step.active .ai-timeline-step-num {
  color: rgba(255, 255, 255, 0.75);
}

.ai-timeline-step-name {
  font-size: 15.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
}

.ai-timeline-step.active .ai-timeline-step-name {
  color: #ffffff;
  font-weight: 600;
}


/* Wizard Card */


.ai-wizard-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 48px 56px;
  flex: 1;
  min-height: calc(100vh - 172px);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.ai-card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.ai-card-back-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ai-card-back-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #1e293b;
}

.ai-card-step-badge {
  background: #f1f5f9;
  color: #475569;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.ai-step-panel {
  display: none;
  animation: aiFadeIn 0.25s ease forwards;
}

.ai-step-panel.active {
  display: block;
}

@keyframes aiFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ai-step-title {
  font-family: Georgia, "Proxima Nova", serif;
  font-size: 32px;
  font-weight: 400;
  color: #1e1d28;
  line-height: 1.25;
  margin-bottom: 28px;
}

/* Step 1 Custom Selectric-style Industry Dropdown */
.ai-custom-select-container {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.ai-custom-select-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #8a94a6;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.ai-custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 0 12px;
  border-bottom: 1.5px solid #cbd5e1;
  background: transparent;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s ease;
}

.ai-custom-select-trigger:focus,
.ai-custom-select-container.open .ai-custom-select-trigger {
  outline: none;
  border-bottom-color: #0045e6;
}

.ai-custom-select-value {
  font-size: 16px;
  color: #8a94a6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}

.ai-custom-select-container.has-value .ai-custom-select-value {
  color: #1e1d28;
  font-weight: 500;
}

.ai-custom-select-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: transform 0.2s ease, color 0.2s ease;
  margin-left: 12px;
}

.ai-custom-select-container.open .ai-custom-select-btn {
  transform: rotate(180deg);
  color: #0045e6;
}

.ai-custom-select-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 290px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 12px 30px -4px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
  z-index: 100;
  list-style: none;
  padding: 6px 0;
  margin: 0;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.ai-custom-select-dropdown::-webkit-scrollbar {
  width: 6px;
}

.ai-custom-select-dropdown::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 3px;
}

.ai-custom-select-option {
  padding: 11px 18px;
  font-size: 14.5px;
  color: #1e1d28;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
  line-height: 1.35;
}

.ai-custom-select-option:hover {
  background-color: #f1f5f9;
  color: #0045e6;
}

.ai-custom-select-option.selected {
  background-color: #eef3ff;
  color: #0045e6;
  font-weight: 600;
}

/* Step 2 Pill Options (Process Radio Buttons - 2 Columns) */
.ai-pill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

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

.gfield_radio {
  position: relative;
  width: 100%;
  display: flex;
}

.gfield_radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gfield_radio label {
  background-color: #f8f8f9;
  border: 1.5px solid transparent;
  border-radius: 8px;
  padding: 14px 18px;
  color: #1e1d28;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  cursor: pointer;
  margin: 0;
  width: 100%;
  min-height: 52px;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  user-select: none;
  font-weight: 400;
}

.gfield_radio label:hover {
  background-color: #f1f5f9;
}

.ai-radio-circle {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid #1e1d28;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ai-radio-circle-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: transparent;
  transition: background-color 0.2s ease;
}

.ai-option-text {
  flex: 1;
  font-size: 14.5px;
  line-height: 1.45;
  color: #1e1d28;
}

.gfield_radio input:checked ~ label {
  background-color: #eef3ff;
  border-color: #0045e6;
  color: #1e1d28;
}

.gfield_radio input:checked ~ label .ai-radio-circle {
  border-color: #0045e6;
}

.gfield_radio input:checked ~ label .ai-radio-circle-dot {
  background-color: #0045e6;
}

.gfield_radio input:focus-visible ~ label {
  outline: 2px solid #0045e6;
  outline-offset: 2px;
}

/* Steps 3 & 4: Business Outcomes & Challenges (Flex Wrap Checklist) */
.ai-checkbox-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  margin-bottom: 24px;
}

.gfield_checkbox {
  position: relative;
  width: auto;
  display: inline-flex;
}

.gfield_checkbox input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gfield_checkbox label {
  background-color: #f8f8f9;
  border: 1.5px solid transparent;
  border-radius: 8px;
  padding: 11px 18px;
  color: #1e1d28;
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  cursor: pointer;
  margin: 0;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  user-select: none;
  font-weight: 400;
}

.gfield_checkbox label:hover {
  background-color: #f1f5f9;
}

.ai-checkbox-square {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid #1e1d28;
  background-color: #ffffff;
  position: relative;
  margin-top: 1px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ai-checkbox-square:after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 9px;
  border-bottom: 2px solid transparent;
  border-right: 2px solid transparent;
  transform: rotate(45deg);
  transition: border-color 0.2s ease;
}

.gfield_checkbox input:checked ~ label {
  background-color: #eef3ff;
  border-color: #0045e6;
  color: #1e1d28;
}

.gfield_checkbox input:checked ~ label .ai-checkbox-square {
  border-color: #0045e6;
  background-color: #0045e6;
}

.gfield_checkbox input:checked ~ label .ai-checkbox-square:after {
  border-bottom-color: #ffffff;
  border-right-color: #ffffff;
}

.gfield_checkbox input:focus-visible ~ label {
  outline: 2px solid #0045e6;
  outline-offset: 2px;
}

/* Textarea for Steps 3 and 4 */
.ai-wizard-textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  height: 52px;
  resize: vertical;
  padding: 14px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #f8f8f9;
  color: #1e1d28;
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  margin-top: 18px;
  margin-bottom: 8px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}

.ai-wizard-textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: #0045e6;
  box-shadow: 0 0 0 3px rgba(0, 69, 230, .12);
}

.ai-step-subtitle {
  margin: 16px 0 10px;
  color: #1e1d28;
  font-size: 14px;
  font-weight: 400;
}

.ai-card-footer {
  align-items: center;
  gap: 20px;
}

.ai-wizard-error {
  margin: 0;
  color: #b42318;
  font-size: 13px;
  max-width: 380px;
}

.ai-wizard-error[hidden] {
  display: none;
}

.ai-card-footer {
  margin-top: auto;
  padding-top: 36px;
  display: flex;
  justify-content: flex-start;
}

.ai-btn-continue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 36px;
  padding: 13px 30px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  transition: all 0.18s ease;
}

.ai-btn-continue:disabled {
  background: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
}

.ai-btn-continue:not(:disabled) {
  background: #0045e6;
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 69, 230, 0.28);
}

.ai-btn-continue:not(:disabled):hover {
  background: #0037b8;
  transform: translateY(-1px);
}


/* Loading Screen */


.ai-loading-screen {
  position: fixed;
  top: 84px;
  left: 0;
  width: 100vw;
  height: calc(100vh - 84px);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: aiFadeIn 0.25s ease forwards;
}

.ai-loading-menda-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 460px;
  padding: 32px 24px;
}

.ai-loading-menda-svg-wrap {
  width: 135px;
  height: 152px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-menda-loading-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.menda-mark {
  animation: mendaFadeGroup 5s linear infinite, mendaMarkPulse 5s ease-in-out infinite;
  transform-origin: 195px 205px;
}

.menda-outline {
  fill: none;
  stroke: url(#mendaRingGrad);
  stroke-width: 5;
  stroke-linejoin: round;
  stroke-dasharray: 100 100;
  stroke-dashoffset: 100;
  opacity: 1;
  animation: mendaDrawOn 5s cubic-bezier(.65, 0, .35, 1) infinite,
             mendaOutlineFade 5s linear infinite;
}

.menda-ring-fill {
  fill: url(#mendaRingGrad);
  opacity: 0;
  animation: mendaRingFill 5s linear infinite;
}

.menda-tail {
  fill: #101FCC;
  transform-origin: 190px 327px;
  opacity: 0;
  animation: mendaPop 5s cubic-bezier(.34, 1.56, .64, 1) infinite;
}

.menda-cube-l {
  fill: #1B34B0;
  transform-origin: 195px 223px;
  opacity: 0;
  animation: mendaFaceDrop 5s cubic-bezier(.22, 1, .36, 1) infinite;
}

.menda-cube-r {
  fill: #1B1798;
  transform-origin: 195px 223px;
  opacity: 0;
  animation: mendaFaceDrop 5s cubic-bezier(.22, 1, .36, 1) infinite .07s;
}

.menda-cube-t {
  fill: #6FCCF4;
  transform-origin: 195px 197px;
  opacity: 0;
  animation: mendaFaceDrop 5s cubic-bezier(.22, 1, .36, 1) infinite .14s;
}

@keyframes mendaDrawOn {
  0%   { stroke-dashoffset: 100; }
  40%  { stroke-dashoffset: 0;   }
  100% { stroke-dashoffset: 0;   }
}

@keyframes mendaOutlineFade {
  0%, 40% { opacity: 1; }
  48%     { opacity: 0; }
  100%    { opacity: 0; }
}

@keyframes mendaRingFill {
  0%, 42% { opacity: 0; }
  50%     { opacity: 1; }
  100%    { opacity: 1; }
}

@keyframes mendaPop {
  0%, 48% { opacity: 0; transform: scale(.5); }
  56%     { opacity: 1; transform: scale(1);  }
  100%    { opacity: 1; transform: scale(1);  }
}

@keyframes mendaFaceDrop {
  0%, 54% { opacity: 0; transform: translateY(-14px); }
  64%     { opacity: 1; transform: translateY(0);      }
  100%    { opacity: 1; transform: translateY(0);       }
}

@keyframes mendaFadeGroup {
  0%   { opacity: 0; }
  2%   { opacity: 1; }
  86%  { opacity: 1; }
  96%  { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes mendaMarkPulse {
  0%, 68%  { transform: scale(1); }
  78%      { transform: scale(1.035); }
  88%,100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .menda-outline { display: none; }
  .menda-ring-fill, .menda-tail, .menda-cube-l, .menda-cube-r, .menda-cube-t { animation: none; opacity: 1; transform: none; }
  .menda-mark { animation: none; opacity: 1; transform: none; }
}

.ai-loading-phrase-container {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-loading-phrase {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  color: #64748b;
  letter-spacing: 0.015em;
  transition: opacity 0.3s ease, transform 0.3s ease;
  line-height: 1.5;
}

.ai-loading-phrase.fade-out {
  opacity: 0;
  transform: translateY(4px);
}


/* Results View */


.ai-results-section {
  padding: 24px 0 80px;
  background: #f1f4f8;
  animation: aiFadeIn 0.3s ease forwards;
  min-height: calc(100vh - 84px);
}

.ai-results-container {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

/* Two-column layout: left sidebar column + flexible right content */
.ai-results-layout {
  display: flex;
  gap: 32px;
  align-items: stretch;
  width: 100%;
  min-height: auto;
  margin-bottom: 32px;
}

/* Left sidebar column — holds two stacked dark cards, stretched to full height */
.ai-results-sidebar-col {
  flex: 0 0 320px;
  width: 320px;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: auto;
}

/* Each card inside the sidebar column: equal height, ending matches right column */
.ai-results-sidebar-card {
  flex: 1 1 0;
  min-height: 0;
  background: #212F48;
  background-image: linear-gradient(180deg, #22314A 0%, #1F355E 100%);
  padding: 34px 28px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 18px;
  margin: 0;
  box-shadow: 0 12px 36px rgba(10, 20, 60, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-sizing: border-box;
}

.ai-results-sidebar-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 24px;
  letter-spacing: 0.3px;
}

.ai-results-dot-ring {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  display: inline-block;
  flex-shrink: 0;
}

.ai-results-sidebar-title {
  font-family: Georgia, "Proxima Nova", serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.32;
  color: #ffffff;
  margin-bottom: 16px;
}

.ai-results-sidebar-desc {
  font-size: 14px;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 24px;
}

.ai-card-content-top {
  display: flex;
  flex-direction: column;
}

/* Sidebar action buttons wrapper (pinned at bottom of Card 1) */
.ai-sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
}

/* Bottom actions wrapper for Card 2 */
.ai-sidebar-bottom-actions {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  padding-top: 16px;
}

/* PDF Audit Card badge */
.ai-pdf-sidebar-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
}

/* PDF sidebar title */
.ai-pdf-sidebar-title {
  font-family: Georgia, "Proxima Nova", serif;
  font-size: 20px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 10px;
}

/* PDF sidebar description */
.ai-pdf-sidebar-desc {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 20px;
}

/* Email input group inside the sidebar */
.ai-sidebar-email-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ai-sidebar-input-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ai-sidebar-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.ai-sidebar-input-icon {
  position: absolute;
  left: 12px;
  color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
  flex-shrink: 0;
}

.ai-sidebar-email-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 11px 14px 11px 38px;
  font-size: 14px;
  color: #ffffff;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.ai-sidebar-email-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.ai-sidebar-email-input:focus {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
}

/* Primary pill button (used for email submit inside sidebar) */
.ai-btn-primary-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #0045e6;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 36px;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.ai-btn-primary-pill:hover {
  background: #0036c0;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Retake quiz — ghost/outline secondary button */
.ai-sidebar-retake-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 36px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 10px 20px;
  text-align: center;
  transition: color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
  text-decoration: none;
  width: 100%;
}

.ai-sidebar-retake-btn svg {
  transition: transform 0.18s ease;
}

.ai-sidebar-retake-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.ai-sidebar-retake-btn:hover svg {
  transform: rotate(-15deg);
}

/* Results Main Content */
.ai-results-main {
  flex: 1;
  min-width: 0;
  background: #ffffff;
  padding: 44px 48px;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}

/* Below section for PDF form + discuss banner — exactly matching the full container width */
.ai-results-below {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Solution Block */
.ai-results-eyebrow {
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.ai-results-solution-title {
  font-family: Georgia, "Proxima Nova", serif;
  font-size: 42px;
  font-weight: 400;
  color: #1e1d28;
  line-height: 1.12;
  margin-bottom: 20px;
}

.ai-results-body {
  font-size: 16px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 0;
  max-width: 820px;
}

/* Spacing between floating result section cards */
.ai-results-section-block {
  margin-bottom: 24px;
}

.ai-results-section-title {
  font-size: 18px;
  font-weight: 700;
  color: #1e1d28;
  margin-bottom: 20px;
}

/* Floating card — applies to each result section block */
.ai-results-card {
  background: #ffffff;
  border: 1px solid #e8edf4;
  border-radius: 16px;
  padding: 32px 36px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.07), 0 1px 4px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ai-results-card:hover {
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.11), 0 2px 6px rgba(15, 23, 42, 0.06);
  transform: translateY(-2px);
}

.ai-results-card--hero {
  background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 100%);
  border-color: #dde5f9;
}

.ai-results-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.ai-results-card-icon {
  font-size: 20px;
  line-height: 1;
}

/* ROI List */
.ai-results-roi-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  padding: 0;
}

.ai-roi-item {
  display: block;
  padding-left: 24px;
  position: relative;
  font-size: 15.5px;
  line-height: 1.6;
}

.ai-roi-item::before {
  content: "•";
  position: absolute;
  left: 0;
  top: -1px;
  color: #0045e6;
  font-size: 24px;
  line-height: 1;
}

.ai-roi-badge {
  font-weight: 700;
  color: #1e1d28;
  margin-right: 8px;
  font-size: 15.5px;
  white-space: nowrap;
  display: inline;
}

.ai-roi-text {
  color: #475569;
  display: inline;
}

/* Challenges List */
.ai-challenges-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  padding: 0;
}

.ai-challenge-item {
  display: block;
  padding-left: 24px;
  position: relative;
  font-size: 15.5px;
  line-height: 1.6;
}

.ai-challenge-item::before {
  content: "•";
  position: absolute;
  left: 0;
  top: -1px;
  color: #0045e6;
  font-size: 24px;
  line-height: 1;
}

.ai-challenge-tag {
  font-weight: 700;
  color: #1e1d28;
  margin-right: 6px;
  font-size: 15.5px;
  display: inline;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
}

/* Reset all chip variants to plain bold inline text */
.ai-tag--amber,
.ai-tag--purple,
.ai-tag--blue,
.ai-tag--green {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  color: #1e1d28;
  font-weight: 700;
  display: inline;
}

.ai-challenge-text {
  color: #475569;
  display: inline;
}

/* Roadmap List */
.ai-roadmap-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  list-style: none;
  padding: 0;
}

.ai-report-scoreline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 20px;
}

.ai-report-score {
  color: #0045e6;
  font: 700 32px/1 "Proxima Nova", Arial, sans-serif;
}

.ai-report-score small {
  color: #64748b;
  font-size: 16px;
  font-weight: 500;
}

.ai-report-band {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  color: #1e3a8a;
  background: #e9f0ff;
  font-size: 12px;
  font-weight: 700;
}

.ai-report-band--low {
  color: #9a3412;
  background: #fff2e9;
}

.ai-report-band--high {
  color: #166534;
  background: #eaf7ed;
}

.ai-report-notice {
  margin: 16px 0 22px;
  padding: 12px 16px;
  border-left: 3px solid #0045e6;
  background: #f2f6ff;
  color: #334155;
  font-size: 14px;
}

.ai-report-pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 22px;
}

.ai-report-pillar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  color: #334155;
  font-size: 13px;
}

.ai-report-pillar strong {
  color: #1e1d28;
}

.ai-report-pillar-bar {
  grid-column: 1 / -1;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7edf7;
}

.ai-report-pillar-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #0045e6;
}

.ai-roadmap-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
}

/* Vertical connector line between roadmap circles */
.ai-roadmap-item:not(:last-child) .ai-roadmap-num::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 36px;
  width: 2px;
  height: calc(100% - 0px);
  background: #e2e8f0;
  z-index: 1;
}

.ai-roadmap-item {
  padding-bottom: 24px;
}

.ai-roadmap-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  flex-shrink: 0;
  background: #ffffff;
  position: relative;
  z-index: 2;
}

.ai-roadmap-text {
  font-size: 15px;
  color: #334155;
  line-height: 1.55;
  padding-top: 7px;
}

/* Result Actions row */
.ai-results-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 44px 0 32px;
  flex-wrap: wrap;
}

.ai-btn-dark-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1b212f;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 36px;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.18s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.ai-btn-dark-pill:hover {
  background: #0f172a;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.ai-btn-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: #1e293b;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none !important;
  transition: color 0.15s ease;
}

.ai-btn-text-link:hover {
  color: #0045e6;
}

/* PDF Lead Form Card — full container width matching upper results */
.ai-lead-gate-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 44px 48px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
  text-align: left;
  width: 100%;
}

.ai-lead-gate-card .row {
  text-align: left;
}

.ai-lead-gate-card .ai-results-card-header {
  justify-content: flex-start;
}

.ai-lead-gate-card .ai-lead-gate-desc {
  max-width: 760px;
  margin-left: 0;
  margin-right: auto;
}

.ai-lead-gate-card button[type="submit"] {
  margin-left: auto;
  margin-right: auto;
}

.ai-lead-gate-card .ai-lead-privacy {
  text-align: center;
}

.ai-lead-gate-title {
  font-family: Georgia, "Proxima Nova", serif;
  font-size: 26px;
  font-weight: 400;
  color: #1e1d28;
  margin-bottom: 8px;
}

.ai-lead-gate-desc {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 28px;
  line-height: 1.6;
}

.ai-form-control {
  width: 100%;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 11px 16px;
  font-size: 15px;
  color: #1e293b;
  outline: none;
  background: #ffffff;
  transition: border-color 0.15s ease;
}

.ai-form-control:focus {
  border-color: #0045e6;
  box-shadow: 0 0 0 3px rgba(0, 69, 230, 0.1);
}

/* Discussion Banner */
.ai-discuss-banner {
  background: #212F48;
  background-image: linear-gradient(180deg, #22314A 0%, #1F355E 100%);
  border-radius: 18px;
  padding: 40px 48px;
  color: #ffffff;
  box-shadow: 0 12px 36px rgba(10, 20, 60, 0.18);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
  width: 100%;
}

.ai-discuss-banner__content {
  flex: 1;
  min-width: 0;
}

.ai-discuss-title {
  font-family: Georgia, "Proxima Nova", serif;
  font-size: 28px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 10px;
}

.ai-discuss-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
  max-width: 720px;
  line-height: 1.6;
}

.ai-discuss-banner__cta {
  flex-shrink: 0;
}


/* Consultation Section */


.ai-consultation-section.contact-us,
.ai-advisor-page .contact-us {
  background-color: var(--bg-color-black1) !important;
  padding: 80px 0;
  animation: aiFadeIn 0.3s ease forwards;
}

.ai-consultation-section .subtitle--white,
.ai-advisor-page .contact-us .subtitle--white {
  font-family: Georgia, "Proxima Nova", serif;
  font-size: 38px;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 14px;
}

/* Form input layout parity with Contact Us */
.ai-consultation-section .placeholder-label,
.ai-consultation-section label.placeholder-label,
.ai-advisor-page .placeholder-label {
  font-size: .875rem;
  font-weight: 400 !important;
  line-height: 1.63 !important;
  max-width: 100%;
  opacity: .75;
  overflow: hidden;
  position: absolute;
  text-overflow: ellipsis;
  /* Up already like Contact Us form */
  transform: translateY(0px) !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              color 0.3s ease,
              opacity 0.3s ease;
  white-space: nowrap;
  pointer-events: none;
  color: var(--fg-color-white2, #ffffff);
  z-index: 1;
}

/* User clicked and left not filled: comes down glowing red */
.ai-consultation-section .placeholder-label.field-error,
.ai-consultation-section label.placeholder-label.field-error {
  transform: translateY(20px) !important;
  color: #ff4925 !important;
  opacity: 1 !important;
}

.ai-consultation-section .form .form-control.field-error {
  border-bottom-color: #ff4925 !important;
}

.ai-consultation-section .form .form-control,
.ai-advisor-page .contact-us .form .form-control {
  border: none;
  color: var(--fg-color-white2, #ffffff);
  border-radius: 0;
  padding: 25px 0 5px;
  background-color: transparent !important;
  border-bottom: 1px solid var(--border-color-silver1, rgba(255, 255, 255, 0.35));
  font-size: 15px;
  line-height: 1.63;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.25s ease;
}

.ai-consultation-section .form .form-control:focus,
.ai-advisor-page .contact-us .form .form-control:focus {
  outline: none;
  box-shadow: none;
  border-bottom-color: #ffffff;
}

.ai-consultation-section .form textarea.form-control,
.ai-advisor-page .contact-us .form textarea.form-control {
  resize: vertical;
  padding: 25px 0 5px;
}

/* Success & Confirmation States */
.ai-advisor-success-badge-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.ai-success-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ai-advisor-success-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 60px 40px;
  text-align: center;
  max-width: 760px;
  margin: 40px auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  color: #1e1d28;
}

.ai-advisor-success-card h1,
.ai-advisor-success-card h2,
.ai-advisor-success-card .ai-advisor-hero__title {
  color: #1e1d28 !important;
}

.ai-advisor-success-card p,
.ai-advisor-success-card .ai-advisor-hero__desc {
  color: #4b5563 !important;
}

.ai-advisor-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

/* Responsive adjustments matching website containers */
@media (max-width: 1399.98px) {

  .ai-advisor-hero,
  .ai-wizard-frame,
  .ai-results-container {
    max-width: 1140px;
  }
}

@media (max-width: 1199.98px) {

  .ai-advisor-hero,
  .ai-wizard-frame,
  .ai-results-container {
    max-width: 960px;
  }

  .ai-results-sidebar-col {
    flex: 0 0 270px;
    width: 270px;
    min-width: 270px;
  }

  .ai-results-sidebar-card {
    padding: 28px 22px;
  }

  .ai-results-main {
    padding: 36px 36px;
  }
}

@media (max-width: 991.98px) {

  .ai-advisor-hero,
  .ai-wizard-frame,
  .ai-results-container {
    max-width: 720px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .ai-advisor-hero__deliv-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ai-wizard-section {
    min-height: auto;
    padding: 8px 0 24px;
  }

  .ai-wizard-frame {
    width: calc(100% - 20px);
    max-width: 600px;
    margin: 6px auto 16px;
    padding: 14px 12px 16px;
    border-radius: 16px;
    gap: 12px;
    min-height: auto;
    flex-direction: column;
  }

  /* Sleek, structured Upper Banner */
  .ai-wizard-sidebar {
    width: 100%;
    margin-bottom: 0;
    padding: 2px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .ai-wizard-sidebar__title {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    text-align: center;
  }

  /* 5 connected progress steps that ALWAYS fit 100% of mobile screen without clipping */
  .ai-timeline-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    position: relative;
    padding: 0 12px 4px;
    overflow: visible;
  }

  /* Connecting track between steps */
  .ai-timeline-line {
    display: block !important;
    position: absolute;
    top: 10px;
    left: 24px;
    right: 24px;
    bottom: auto;
    width: auto;
    height: 2px;
    background: rgba(255, 255, 255, 0.18);
    z-index: 1;
  }

  .ai-timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    position: relative;
    z-index: 2;
    cursor: default;
    background: transparent;
  }

  .ai-timeline-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.35);
    background: #212b3c;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
  }

  .ai-timeline-dot__inner {
    width: 6px;
    height: 6px;
    border-radius: 50%;
  }

  .ai-timeline-step.active .ai-timeline-dot {
    border-color: #ffffff;
    background: #0045e6;
    box-shadow: 0 0 10px rgba(0, 69, 230, 0.6);
  }

  .ai-timeline-step.active .ai-timeline-dot__inner {
    background: #ffffff;
  }

  .ai-timeline-step.completed .ai-timeline-dot {
    background: #0045e6;
    border-color: #0045e6;
  }

  .ai-timeline-step.completed .ai-timeline-dot__inner {
    background: #ffffff;
  }

  .ai-timeline-info {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .ai-timeline-step-num {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
  }

  .ai-timeline-step.active .ai-timeline-step-num {
    color: #ffffff;
    font-weight: 700;
  }

  .ai-timeline-step-name {
    display: none !important;
  }

  /* Compact, beautifully proportioned Wizard Card */
  .ai-wizard-card {
    padding: 18px 14px 16px;
    border-radius: 14px;
    min-height: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  }

  .ai-card-topbar {
    margin-bottom: 10px;
  }

  .ai-card-back-btn {
    width: 32px;
    height: 32px;
  }

  .ai-card-step-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
  }

  /* Question Title: Compact, balanced, readable */
  .ai-step-title {
    font-size: 17.5px;
    line-height: 1.32;
    margin-bottom: 10px;
    font-weight: 600;
    color: #1e1d28;
  }

  /* Industry dropdown */
  .ai-custom-select-container {
    max-width: 100%;
  }

  .ai-custom-select-trigger {
    padding: 8px 0 10px;
  }

  .ai-custom-select-value {
    font-size: 14.5px;
  }

  .ai-custom-select-dropdown {
    max-height: 220px;
    border-radius: 10px;
  }

  .ai-custom-select-option {
    padding: 10px 12px;
    font-size: 13.5px;
  }

  /* Textarea & Subtitle */
  .ai-wizard-textarea {
    font-size: 13px;
    padding: 8px 12px;
    min-height: 40px;
    height: 40px;
    border-radius: 8px;
    margin-top: 6px;
    margin-bottom: 4px;
  }

  .ai-step-subtitle {
    font-size: 12px;
    margin: 8px 0 6px;
    color: #64748b;
    font-weight: 500;
  }

  /* Checkboxes: Compact, snug cards to eliminate wasted screen space */
  .ai-checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 6px;
    margin-bottom: 10px;
  }

  .gfield_checkbox {
    width: 100%;
    display: flex;
  }

  .gfield_checkbox label {
    width: 100%;
    padding: 7px 11px;
    min-height: 33px;
    border-radius: 7px;
    gap: 9px;
    font-size: 12.5px;
    line-height: 1.3;
    align-items: center;
  }

  .ai-checkbox-square {
    width: 15px;
    height: 15px;
    border-radius: 3px;
    margin-top: 0;
    flex-shrink: 0;
  }

  .ai-checkbox-square:after {
    left: 4px;
    top: 1px;
    width: 4px;
    height: 7px;
  }

  .ai-option-text {
    font-size: 12.5px;
    line-height: 1.3;
  }

  /* Radios (Step 2 Processes) */
  .ai-pill-grid {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 8px;
  }

  .gfield_radio {
    width: 100%;
    display: flex;
  }

  .gfield_radio label {
    width: 100%;
    padding: 7px 11px;
    min-height: 33px;
    border-radius: 7px;
    gap: 9px;
    font-size: 12.5px;
    line-height: 1.3;
    align-items: center;
  }

  .ai-radio-circle {
    width: 15px;
    height: 15px;
    margin-top: 0;
    flex-shrink: 0;
  }

  .ai-radio-circle-dot {
    width: 5px;
    height: 5px;
  }

  /* Footer & Action button */
  .ai-card-footer {
    padding-top: 10px;
    margin-top: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .ai-wizard-error {
    max-width: 100%;
    text-align: center;
    font-size: 12.5px;
  }

  .ai-btn-continue {
    width: 100%;
    justify-content: center;
    padding: 10px 18px;
    font-size: 14px;
    border-radius: 24px;
  }

  .ai-results-layout {
    flex-direction: column;
    gap: 20px;
  }

  .ai-results-sidebar-col {
    width: 100% !important;
    min-width: auto !important;
    flex: none !important;
    position: static;
    gap: 16px;
    height: auto !important;
  }

  .ai-results-sidebar-card {
    border-radius: 16px;
    margin: 0;
    padding: 28px 24px;
    flex: 0 0 auto !important;
    min-height: auto !important;
  }

  .ai-results-main {
    padding: 28px 20px;
    border-radius: 16px;
  }

  .ai-lead-gate-card {
    padding: 28px 20px;
    border-radius: 16px;
  }

  .ai-discuss-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    gap: 20px;
    border-radius: 16px;
  }

  .ai-checkbox-grid,
  .ai-report-pillars {
    grid-template-columns: 1fr;
  }

  .ai-contact-form-grid {
    grid-template-columns: 1fr;
  }

  .ai-form-field.full-width {
    grid-column: span 1;
  }

  .ai-consultation-box {
    padding: 28px;
  }
}

@media (max-width: 420px) {
  .ai-wizard-frame {
    width: calc(100% - 14px);
    padding: 12px 10px 14px;
  }

  .ai-step-title {
    font-size: 16.5px;
  }

  .ai-wizard-card {
    padding: 16px 12px 14px;
  }

  .gfield_radio label,
  .gfield_checkbox label {
    padding: 6px 9px;
    font-size: 12px;
    min-height: 31px;
    gap: 8px;
  }

  .ai-option-text {
    font-size: 12px;
  }
}

/* Entrance Animations */


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

/* Apply to sidebar columns and main results blocks */
#assessment-results .ai-results-sidebar-col {
  animation: fadeInUp 0.55s ease both;
  animation-delay: 0.05s;
}

#assessment-results .ai-results-main > *:nth-child(1) {
  animation: fadeInUp 0.55s ease both;
  animation-delay: 0.1s;
}

#assessment-results .ai-results-main > *:nth-child(2) {
  animation: fadeInUp 0.55s ease both;
  animation-delay: 0.2s;
}

#assessment-results .ai-results-main > *:nth-child(3) {
  animation: fadeInUp 0.55s ease both;
  animation-delay: 0.3s;
}

#assessment-results .ai-results-main > *:nth-child(4) {
  animation: fadeInUp 0.55s ease both;
  animation-delay: 0.4s;
}

#assessment-results .ai-results-main > *:nth-child(n+5) {
  animation: fadeInUp 0.55s ease both;
  animation-delay: 0.5s;
}

#assessment-results .ai-results-below {
  animation: fadeInUp 0.55s ease both;
  animation-delay: 0.55s;
}

@media (prefers-reduced-motion: reduce) {
  .ai-readiness-bookmark {
    transition: none;
  }
  #assessment-results .ai-results-sidebar-col,
  #assessment-results .ai-results-main > *,
  #assessment-results .ai-results-below {
    animation: none;
  }
}
