/* Speaking Form Styles */

/* Scroll Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(var(--rotate, 0deg));
  }

  50% {
    transform: translateY(-12px) rotate(var(--rotate, 0deg));
  }
}

/* Testimonial Image Grid - Dynamic Masonry Layout */
.uui-testimonial08_image-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 0.75rem;
  justify-items: center;
  align-items: center;
  max-width: 500px;
}

@media (max-width: 767px) {
  .uui-testimonial08_image-wrapper {
    transform: scale(0.55);
    transform-origin: center top;
    margin-bottom: -120px;
  }
}

.uui-testimonial08_image {
  width: 100%;
  max-width: 160px;
  height: 120px;
  object-fit: cover;
  animation: float 6s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Staggered sizes for visual interest */
.uui-testimonial08_image:nth-child(1) {
  max-width: 140px;
  height: 100px;
  transform: translateY(10px) rotate(-2deg);
}

.uui-testimonial08_image:nth-child(2) {
  max-width: 170px;
  height: 130px;
  transform: rotate(1deg);
}

.uui-testimonial08_image:nth-child(3) {
  max-width: 150px;
  height: 110px;
  transform: translateY(15px) rotate(-1deg);
}

.uui-testimonial08_image:nth-child(4) {
  max-width: 160px;
  height: 120px;
  transform: translateY(-5px) rotate(2deg);
}

.uui-testimonial08_image:nth-child(5) {
  max-width: 145px;
  height: 105px;
  grid-column: span 1;
  transform: rotate(-2deg);
}

/* Hero check icons */
.hero-check-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.uui-testimonial08_image.photo2 {
  --rotate: -3deg;
  animation-delay: 0s;
}

.uui-testimonial08_image.photo3 {
  --rotate: 2deg;
  animation-delay: 1s;
}

.uui-testimonial08_image.photo4 {
  --rotate: -2deg;
  animation-delay: 2s;
}

.uui-testimonial08_image:hover {
  transform: translateY(-8px) scale(1.05) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

/* Scroll-triggered animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* New Hero Grid Layout */
.speaking-hero-new {
  background: #fff;
  position: relative;
  overflow: hidden;
}

/* Interactive mouse gradient effect - contained in hero */
.mouse-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
  overflow: hidden;
}

.mouse-gradient-blob {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147, 112, 219, 0.3) 0%, rgba(147, 112, 219, 0.12) 40%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Ensure content is above the gradient */
.speaking-hero-new>* {
  position: relative;
  z-index: 1;
}

/* Fix testimonials visibility on speaking page */
.speaking-hero-new~.testimonials {
  opacity: 1;
  transform: none;
}

/* Reduce top padding on speaking hero */
.speaking-hero-new .uui-padding-vertical-xhuge-2 {
  padding-top: 3rem;
}

/* Hero highlight items (checkmarks) */
.hero-highlights {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.hero-highlight-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #667085;
}

.hero-highlight-item svg {
  color: #6941c6;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .hero-highlights {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }
}

.speaking-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1200px) {
  .speaking-hero-grid {
    grid-template-columns: 280px 1fr 280px;
    gap: 3rem;
  }
}

.speaking-hero-image-left,
.speaking-hero-image-right {
  display: none;
}

@media (min-width: 1200px) {

  .speaking-hero-image-left,
  .speaking-hero-image-right {
    display: block;
  }
}

.speaking-hero-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.speaking-hero-image-left .speaking-hero-img {
  transform: rotate(-2deg);
}

.speaking-hero-image-right .speaking-hero-img {
  transform: rotate(2deg);
}

.speaking-hero-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.speaking-hero-center .hero-subtitle {
  color: #475467;
  text-transform: none;
  letter-spacing: normal;
  font-size: 1.125rem;
  line-height: 1.5;
  margin-top: 1rem;
  margin-bottom: 0;
  max-width: 500px;
}

.speaking-hero-center .uui-max-width-medium-2 {
  text-align: center;
}

.hero-highlights-centered {
  justify-content: center;
  flex-wrap: wrap;
}

.hero-buttons-centered {
  justify-content: center;
}

/* Mission Section */
.mission-section {
  background: #fff;
  color: #101828;
  padding: 4rem 0;
}

.mission-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.mission-badge {
  display: inline-block;
  background: #f3f4f6;
  color: #6941c6;
  padding: 0.32rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.mission-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  line-height: 1.2;
  color: #101828;
}

.mission-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #475467;
  margin: 0 0 1.75rem 0;
}

.mission-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 767px) {
  .mission-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .mission-title {
    font-size: 1.8rem;
  }
}

.mission-stat {
  text-align: center;
}

.mission-stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #6941c6;
}

.mission-stat-label {
  font-size: 0.9rem;
  color: #667085;
  margin-top: 0.25rem;
}

.mission-since {
  font-size: 0.95rem;
  color: #667085;
  margin: 0;
  font-style: italic;
}

/* Who Section */
.who-section {
  background: #fff;
  padding: 4rem 0;
}

.who-content {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #101828;
  text-align: center;
  margin: 0;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #667085;
  text-align: center;
  margin: 0 0 2.5rem 0;
}

/* Charts Grid - 3-Column Layout */
.charts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 991px) {
  .charts-grid {
    grid-template-columns: 1fr;
  }
}

.chart-card {
  background: transparent;
  border-radius: 0;
  padding: 1.5rem 0;
  border: none;
}

.chart-title {
  font-size: 1rem;
  font-weight: 600;
  color: #101828;
  margin: 0 0 1rem 0;
  text-align: center;
}

/* Pie Charts */
.pie-chart-container {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.25rem;
}

.pie-chart {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.pie-segment {
  transition: opacity 0.2s, transform 0.3s;
  cursor: pointer;
}

.pie-segment:hover {
  opacity: 0.85;
}

/* Chart Legend */
.chart-legend {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #667085;
}

.legend-color {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}

.legend-item strong {
  margin-left: auto;
  color: #101828;
  font-weight: 600;
}

/* Knowledge Bars */
.knowledge-card {
  display: flex;
  flex-direction: column;
}

.knowledge-bars {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
  justify-content: center;
}

.knowledge-bar {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.knowledge-label {
  font-size: 0.85rem;
  color: #101828;
  font-weight: 500;
}

.knowledge-track {
  height: 6px;
  background: #f2f4f7;
  border-radius: 3px;
  overflow: hidden;
}

.knowledge-fill {
  height: 100%;
  background: linear-gradient(90deg, #4DB6AC, #1E3A5F);
  border-radius: 3px;
  transition: width 1s ease-out;
}

.knowledge-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6941c6;
}

/* Companies */
.companies-section {
  text-align: center;
}

.companies-intro {
  font-size: 1rem;
  color: #667085;
  margin: 0 0 1rem 0;
}

.companies-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.company-tag {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: #f3f4f6;
  border-radius: 6px;
  font-size: 0.85rem;
  color: #344054;
  font-weight: 500;
}

/* Stories Section */
.stories-section {
  background: #fff;
  padding: 4rem 0;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 767px) {
  .stories-grid {
    grid-template-columns: 1fr;
  }
}

.story-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #e4e7ec;
  display: flex;
  flex-direction: column;
}

.story-quote {
  font-size: 1.1rem;
  font-style: italic;
  color: #344054;
  line-height: 1.5;
  flex: 1;
  margin-bottom: 1rem;
}

.story-quote::before {
  content: '"';
  color: #6941c6;
  font-size: 2rem;
  line-height: 0;
  vertical-align: -0.4rem;
  margin-right: 0.25rem;
}

.story-author {
  border-top: 1px solid #e4e7ec;
  padding-top: 1rem;
}

.story-name {
  font-weight: 600;
  color: #101828;
  font-size: 0.95rem;
}

.story-role {
  font-size: 0.85rem;
  color: #667085;
}

/* Form Section */
.speaking-form-section {
  background-color: #fff;
}

/* Hero badge styling to match homepage pitch */
.speaking-hero .hero-badge {
  display: inline-block;
  background: #f3f4f6;
  color: #6941c6;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.benefit-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #6941c6;
  margin-bottom: 0.5rem;
}

.benefit-text {
  font-size: 0.9rem;
  color: #667085;
}

/* Form with Image Layout */
.form-with-image {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
}

.form-image-side {
  flex: 0 0 320px;
  display: none;
}

@media (min-width: 992px) {
  .form-image-side {
    display: block;
  }
}

.form-side-image {
  width: 100%;
  max-width: 280px;
  border-radius: 0 6rem 0 0;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-content-side {
  flex: 1;
  min-width: 0;
}

.form-header {
  margin-bottom: 1.5rem;
}

.form-title {
  font-size: 2rem;
  font-weight: 700;
  color: #101828;
  margin: 0 0 0.5rem 0;
}

.form-subtitle {
  font-size: 0.9rem;
  color: #667085;
  margin: 0.25rem 0 0.75rem 0;
}

.form-hint {
  font-size: 0.85rem;
  color: #98a2b3;
  margin: 0.25rem 0 0.5rem 0;
  font-style: italic;
}

.speaking-form {
  background-color: transparent;
  padding: 1rem 0;
  max-width: 600px;
  color: #344054;
}

/* SVG Icon Styles */
.label-icon-svg {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 0.4rem;
  color: #6941c6;
  flex-shrink: 0;
}

.input-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #98a2b3;
  pointer-events: none;
}

.input-with-icon {
  padding-left: 2.25rem !important;
}

/* Contact Inputs Row - Inline Email & Phone */
.contact-inputs-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.contact-input-wrapper {
  position: relative;
  flex: 1;
  min-width: 140px;
}

.contact-or {
  color: #98a2b3;
  font-size: 0.85rem;
  font-weight: 500;
}

.phone-wrapper .input-icon.phone-icon {
  display: block;
}

.phone-wrapper .detected-country {
  position: absolute;
  top: 11.5px;
  left: 15px;
  font-size: 1rem;
  line-height: 1;
  z-index: 2;
  display: none;
}

.phone-wrapper .detected-country:not(:empty) {
  display: block;
}

.phone-wrapper .detected-country:not(:empty)+.phone-icon {
  display: none;
}

.phone-wrapper .input-with-icon {
  padding-left: 2.25rem !important;
}

.phone-wrapper .detected-country:not(:empty)~.input-with-icon {
  padding-left: 2.5rem !important;
}

.label-note {
  font-weight: 400;
  color: #98a2b3;
  font-size: 0.85rem;
}

/* Goals Checkboxes (Step 2) */
.goals-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.goal-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.5rem 0.6rem;
  border-radius: 6px;
  border: 1px solid #e4e7ec;
  background: #fff;
  transition: all 0.15s;
}

.goal-checkbox-label:hover {
  border-color: #d0d5dd;
  background: #f9fafb;
}

.goal-checkbox-label:has(input:checked) {
  border-color: #6941c6;
  background: #f9f5ff;
}

.goal-checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: #6941c6;
  flex-shrink: 0;
}

.goal-icon {
  font-size: 1.25rem;
  line-height: 1;
  margin-top: -2px;
  flex-shrink: 0;
}

.goal-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.goal-text strong {
  font-size: 0.875rem;
  font-weight: 500;
  color: #344054;
}

.goal-text small {
  font-size: 0.75rem;
  color: #667085;
  line-height: 1.3;
}

/* Form Steps - Show one at a time */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

/* Step Navigation */
.step-nav {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
}

.step-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.step-btn-next,
.step-btn-submit {
  background-color: #6941c6;
  color: #fff;
  margin-left: auto;
}

.step-btn-next:hover,
.step-btn-submit:hover {
  background-color: #5a35b3;
}

.step-btn-back {
  background-color: transparent;
  color: #667085;
}

.step-btn-back:hover {
  color: #344054;
}

.step-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 767px) {
  .step-btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
  }
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (max-width: 767px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .form-group {
    margin-bottom: 1rem;
  }
}

.form-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: #344054;
  font-size: 1rem;
}

.form-label .label-icon {
  font-size: 1rem;
  opacity: 0.7;
}

.form-label-small {
  font-size: 0.8rem;
  color: #667085;
  margin-bottom: 0.25rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #e4e7ec;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  background-color: #fff;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #98a2b3;
  font-weight: 400;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #6941c6;
  box-shadow: 0 0 0 2px rgba(105, 65, 198, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

.input-with-counter {
  position: relative;
}

.char-counter {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  font-size: 0.7rem;
  color: #9ca3af;
  pointer-events: none;
}

@media (max-width: 767px) {

  .form-input,
  .form-textarea {
    padding: 0.5rem 0.65rem;
    font-size: 0.875rem;
  }
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

.topic-toggle {
  flex-direction: column;
  gap: 0.75rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: #344054;
}

.radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* Smart Phone Input */
.smart-phone-wrapper {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
}

.detected-country {
  font-size: 1.1rem;
  min-width: 28px;
  text-align: center;
  transition: transform 0.15s ease;
}

.detected-country.detected {
  transform: scale(1.1);
}

.smart-phone-input {
  flex: 1;
  font-family: inherit;
}

.contact-note {
  font-size: 0.7rem;
  color: #98a2b3;
  margin-top: 0.35rem;
}

/* Referral section */
.referral-section {
  margin-top: 1rem;
}

.referral-suggestions {
  margin-bottom: 0.5rem;
}

.referral-suggestion {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: #f3f0ff;
  color: #6941c6;
  padding: 0.35rem 0.75rem;
  border-radius: 16px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.15s;
}

.referral-suggestion:hover {
  background-color: #e9d5ff;
}

.referral-suggestion.selected {
  background-color: #6941c6;
  color: #fff;
}

.referral-name {
  font-weight: 500;
}

.cities-note {
  font-size: 0.875rem;
  color: #667085;
  margin-bottom: 1rem;
}

.cities-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  background-color: transparent;
  border-radius: 0;
  max-height: none;
  overflow-y: visible;
  align-items: stretch;
}

.city-checkbox-wrapper {
  margin-bottom: 0.5rem;
}

.city-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.city-checkbox-label:hover {
  background-color: #f2f4f7;
}

.city-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.loading-cities {
  text-align: center;
  color: #667085;
  padding: 2rem;
}

.form-message {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
}

.form-message-success {
  background-color: #d1fadf;
  color: #027a48;
  border: 1px solid #a6f4c5;
}

.form-message-error {
  background-color: #fee4e2;
  color: #b42318;
  border: 1px solid #fecdca;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .speaking-form {
    padding: 1.5rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .radio-group {
    flex-direction: column;
    gap: 1rem;
  }

  .step-header {
    margin-bottom: 1rem;
  }

  .step-title {
    font-size: 1.1rem;
  }

  .form-label {
    flex-wrap: wrap;
  }

  .label-note {
    width: 100%;
    margin-top: 0.125rem;
  }
}

/* Very small phones - make form wider */
@media (max-width: 380px) {
  .speaking-form {
    padding: 1rem 0.5rem;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }

  .form-step {
    padding: 0 0.25rem;
  }

  .form-label {
    font-size: 0.9rem;
  }

  .form-input,
  .form-textarea {
    font-size: 0.9rem;
    padding: 0.6rem 0.75rem;
  }

  .step-btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
  }

  .referral-dropdown-wrapper {
    margin-left: -0.25rem;
    margin-right: -0.25rem;
  }
}

/* Luma Events in Speaking Form */
.city-events-section {
  margin-bottom: 1rem;
  padding: 1rem;
  background-color: #fff;
  border-radius: 8px;
  border: 1px solid #e4e7ec;
}

.city-events-header {
  font-weight: 600;
  font-size: 1rem;
  color: #344054;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e4e7ec;
}

.city-events-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.city-event-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.75rem;
  border-radius: 6px;
  transition: background-color 0.2s;
  position: relative;
}

.city-event-checkbox:hover {
  background-color: #f9fafb;
}

.city-event-checkbox.has-tooltip {
  padding-right: 2rem;
}

.city-event-checkbox input[type="checkbox"] {
  width: 14px;
  height: 14px;
  cursor: pointer;
  margin-top: 0;
  flex-shrink: 0;
}

.city-event-checkbox .event-label {
  font-size: 0.875rem;
  color: #344054;
  line-height: 1.5;
}

.city-event-checkbox .tooltip-icon {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  cursor: help;
  font-size: 1rem;
}

/* Tooltip styles */
.city-event-checkbox[title]:hover::after {
  content: attr(title);
  position: absolute;
  left: 100%;
  top: 0;
  margin-left: 0.5rem;
  padding: 0.75rem;
  background-color: #1d2939;
  color: #fff;
  font-size: 0.75rem;
  border-radius: 6px;
  width: 250px;
  z-index: 1000;
  line-height: 1.4;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767px) {
  .city-event-checkbox[title]:hover::after {
    left: 0;
    right: 0;
    top: 100%;
    margin-left: 0;
    margin-top: 0.5rem;
    width: auto;
  }
}

.no-events-message {
  text-align: center;
  color: #667085;
  padding: 2rem;
  font-style: italic;
}

/* Other City Input Styles */
.other-city-section {
  border: none;
  background-color: transparent;
  margin: 0;
  padding: 0;
}

.other-city-input-wrapper {
  margin: 0 0 0 1.25rem;
  padding: 0;
}

.other-city-input {
  max-width: 280px;
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
}

/* City Checkboxes Grid (Step 1) */
.city-checkboxes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.25rem 0.75rem;
  margin-top: 0.4rem;
}

@media (max-width: 380px) {
  .city-checkboxes-grid {
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    gap: 0.25rem 0.5rem;
  }

  .city-checkbox-label {
    font-size: 0.8rem;
    white-space: nowrap;
  }
}

@media (min-width: 480px) {
  .city-checkboxes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.city-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: #344054;
  padding: 0.25rem 0.4rem;
  border-radius: 4px;
  transition: background-color 0.15s;
}

.city-checkbox-label:hover {
  background-color: #f3f4f6;
}

.city-checkbox-label input[type="checkbox"] {
  width: 14px;
  height: 14px;
  cursor: pointer;
  accent-color: #6941c6;
}

.other-city-label {
  flex-wrap: wrap;
}

.other-city-label:hover {
  background-color: transparent;
}

.other-city-inline-input {
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.3rem 0.5rem;
  font-size: 0.8rem;
  border: 1px solid #d0d5dd;
  border-radius: 4px;
  margin-left: 1.1rem;
}


/* Engagement Cards (Step 2) */
.engagement-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}

@media (max-width: 600px) {
  .engagement-cards {
    grid-template-columns: 1fr;
  }
}

.engagement-card {
  display: block;
  cursor: pointer;
  position: relative;
}

.engagement-card input[type="radio"],
.engagement-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.card-content {
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  padding: 1rem;
  height: 100%;
  transition: all 0.2s;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.engagement-card:hover .card-content {
  border-color: #d0d5dd;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.engagement-card input:checked+.card-content {
  border-color: #6941c6;
  background-color: #f9f5ff;
  box-shadow: 0 0 0 2px #6941c6;
}

.card-rect {
  width: 100%;
  height: 120px;
  object-fit: cover;
  background-color: #f2f4f7;
  border-radius: 8px;
  margin-bottom: 0.25rem;
}

.engagement-card input:checked+.card-content .card-rect {
  background-color: #e9d5ff;
}

.card-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.card-title {
  font-weight: 600;
  color: #101828;
  font-size: 0.95rem;
}

.card-desc {
  font-size: 0.8rem;
  color: #667085;
  line-height: 1.4;
}

/* Add to Calendar Link Styles */
.add-to-calendar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.65rem;
  color: #344054;
  text-decoration: none;
  padding: 0.15rem 0.4rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #d0d5dd;
  transition: all 0.15s;
  margin-left: 0.4rem;
  flex-shrink: 0;
}

.add-to-calendar-link:hover {
  background: #f9fafb;
  border-color: #98a2b3;
  color: #101828;
}

.add-to-calendar-link:visited,
.add-to-calendar-link:active {
  color: #344054;
}

.add-to-calendar-link .gcal-icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.add-to-calendar-link .gcal-text {
  white-space: nowrap;
  color: #344054;
}

/* City Events Accordion (Step 4) */
.city-events-details {
  margin-bottom: 0.75rem;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  background-color: #fff;
  overflow: hidden;
}

.city-events-details[open] {
  border-color: #d0d5dd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.city-events-summary {
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-weight: 600;
  color: #344054;
  background-color: #f9fafb;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* City Events Section (flat, no borders, compact) */
.city-events-section {
  margin: 0 0 0.5rem 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background-color: transparent;
  overflow: visible;
  width: 100%;
}

.city-events-header {
  padding: 0.2rem 0;
  margin: 0;
  background-color: transparent;
  border-bottom: none;
  line-height: 1.5;
}

.city-events-header .city-name {
  font-weight: 500;
  font-size: 0.85rem;
  color: #344054;
  line-height: 1.4;
}

.city-events-summary::-webkit-details-marker {
  display: none;
}

.city-events-summary::after {
  content: '+';
  font-size: 1.2rem;
  color: #98a2b3;
  font-weight: 400;
}

.city-events-details[open] .city-events-summary::after {
  content: '-';
}

.city-events-details[open] .city-events-summary {
  border-bottom: 1px solid #e4e7ec;
}

.city-events-list {
  padding: 0.15rem 0 0.2rem 1.25rem;
  margin: 0;
  max-height: none;
  overflow: visible;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.city-event-checkbox {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0;
  margin: 0;
  border-radius: 0;
  cursor: pointer;
  width: 100%;
  line-height: 1.6;
  min-height: 24px;
}

.city-event-checkbox:hover {
  background-color: transparent;
}

.event-label {
  font-size: 0.8rem;
  color: #344054;
  line-height: 1.4;
}

.no-events-msg,
.no-cities-msg {
  font-size: 0.85rem;
  color: #667085;
  padding: 0.5rem;
  font-style: italic;
}

.no-events-inline {
  font-size: 0.8rem;
  color: #98a2b3;
  font-weight: 400;
  font-style: italic;
}

.cities-coming-soon-msg {
  font-size: 0.8rem;
  color: #667085;
  font-style: italic;
  margin: 0.5rem 0 0 0;
  padding: 0;
}

/* Referral Dropdown (Step 1) */
.referral-dropdown-wrapper {
  position: relative;
  margin-top: 0.5rem;
}

.referral-dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #e4e7ec;
  border-radius: 6px;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.2s;
}

.referral-dropdown-trigger:hover {
  border-color: #d0d5dd;
  background-color: #f9fafb;
}

.referral-selected {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #344054;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  background: #fff;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
  width: fit-content;
}

.referral-selected:hover {
  border-color: #98a2b3;
  background-color: #f9fafb;
}

.referral-selected:active {
  background-color: #f3f4f6;
}

.referral-selected.placeholder {
  color: #98a2b3;
}

.referral-dropdown-arrow,
.dropdown-arrow {
  width: 14px;
  height: 14px;
  color: #667085;
  transition: transform 0.2s, color 0.2s;
  flex-shrink: 0;
}

.referral-selected:hover .dropdown-arrow {
  color: #344054;
}

.referral-hint {
  font-size: 0.75rem;
  color: #667085;
  margin: 0.35rem 0 0 0;
  font-style: italic;
}

.referral-dropdown-wrapper.active .referral-dropdown-arrow,
.referral-dropdown-wrapper.active .dropdown-arrow {
  transform: rotate(180deg);
}

/* ⚠️ IMPORTANT: DO NOT CHANGE the 2-column grid layout below.
   All referral options must display in 2 columns with Online/Other at the bottom. */
.referral-dropdown-menu,
.referral-options {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.25rem;
  background-color: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 100;
  max-height: 400px;
  overflow-y: auto;
  display: none;
  width: max-content;
  min-width: 500px; /* ⚠️ DO NOT CHANGE - ensures 2 columns fit */
  grid-template-columns: repeat(2, 1fr); /* ⚠️ DO NOT CHANGE - must be 2 columns */
  gap: 0;
}

/* Open upward when near bottom of screen */
.referral-dropdown-wrapper.open-upward .referral-dropdown-menu,
.referral-dropdown-wrapper.open-upward .referral-options {
  top: auto;
  bottom: 100%;
  margin-top: 0;
  margin-bottom: 0.25rem;
}

@media (max-width: 767px) {

  .referral-dropdown-menu,
  .referral-options {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    right: auto;
    bottom: auto;
    width: 95vw;
    min-width: unset;
    max-width: 500px;
    max-height: 80vh;
    grid-template-columns: repeat(2, 1fr); /* ⚠️ DO NOT CHANGE - must be 2 columns */
    border-radius: 12px;
    z-index: 1000;
  }

  /* Override upward on mobile - always centered */
  .referral-dropdown-wrapper.open-upward .referral-dropdown-menu,
  .referral-dropdown-wrapper.open-upward .referral-options {
    top: 50%;
    bottom: auto;
    margin-bottom: 0;
  }
}

.referral-dropdown-wrapper.active .referral-dropdown-menu,
.referral-dropdown-wrapper.active .referral-options {
  display: grid;
}

.referral-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  transition: background-color 0.15s;
  border-bottom: 1px solid #f2f4f7;
}

.referral-option:last-child {
  border-bottom: none;
}

.referral-option:hover {
  background-color: #f9fafb;
}

.referral-loading {
  padding: 1rem;
  text-align: center;
  color: #667085;
  font-size: 0.875rem;
  grid-column: 1 / -1;
  /* Span all columns when visible */
}

.referral-loading[style*="display: none"] {
  display: none !important;
}

.referral-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #f2f4f7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  overflow: hidden;
  flex-shrink: 0;
}

.referral-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Avatar as direct image element */
img.referral-avatar-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.referral-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.referral-name {
  font-weight: 500;
  color: #344054;
  font-size: 0.9rem;
}

.referral-role,
.referral-city {
  font-size: 0.75rem;
  color: #667085;
}

/* ========================================================================
   Online and Other - ALWAYS SIDE-BY-SIDE (left and right)
   ======================================================================== */
.referral-top-row {
  display: flex !important;
  flex-direction: row !important;
  grid-column: 1 / -1;
  border-bottom: 1px solid #e4e7ec;
}

.referral-top-row .referral-option {
  flex: 1;
  border-bottom: none;
}

.referral-top-row .referral-option:first-child {
  border-right: 1px solid #e4e7ec;
}

.referral-option[data-value="Nobody"] .referral-avatar,
.referral-option[data-value="Other"] .referral-avatar {
  background-color: #f2f4f7;
  font-size: 1rem;
}

/* Success Message (Step 3) */
.success-message-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background-color: #ecfdf3;
  border: 1px solid #a6f4c5;
  border-radius: 8px;
  margin-bottom: 1.25rem;
}

.success-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.success-text {
  font-size: 0.9rem;
  color: #027a48;
  line-height: 1.5;
}

.success-text strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #039855;
}

.success-text p {
  margin: 0;
}

/* Demo URL Field (Step 2) */
#demo-url-field {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f2f4f7;
}

/* Benefits Beyond Section */
.benefits-beyond-section {
  background: #fff;
  padding: 4rem 0;
}

.benefits-beyond-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .benefits-beyond-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.benefits-beyond-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #101828;
  margin: 0 0 2rem 0;
  line-height: 1.2;
}

@media (max-width: 767px) {
  .benefits-beyond-title {
    font-size: 2rem;
  }
}

.benefits-beyond-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.benefit-beyond-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.benefit-check {
  font-size: 1.1rem;
  line-height: 1.4;
  flex-shrink: 0;
}

.benefit-text-block strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #101828;
  margin-bottom: 0.15rem;
}

.benefit-text-block p {
  margin: 0;
  font-size: 0.95rem;
  color: #667085;
  line-height: 1.5;
}

.pro-tip-box {
  margin-top: 2rem;
  padding-top: 1.5rem;
}

.pro-tip-label {
  font-weight: 700;
  color: #101828;
  font-size: 1rem;
}

.pro-tip-text {
  font-family: 'Caveat', cursive, sans-serif;
  font-size: 1.5rem;
  color: #d946ef;
  margin: 0.5rem 0 0 0;
  line-height: 1.3;
}

.benefits-beyond-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefits-image-wrapper {
  position: relative;
}

.benefits-beyond-image {
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.quality-slides-cta {
  text-align: left;
}

.quality-slides-title {
  font-family: 'Caveat', cursive, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5rem 0;
  background: linear-gradient(135deg, #22c55e 0%, #d946ef 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.quality-slides-subtitle {
  font-size: 1rem;
  color: #667085;
  margin: 0;
}

@media (max-width: 767px) {
  .quality-slides-title {
    font-size: 1.6rem;
  }

  .benefits-beyond-right {
    align-items: center;
    text-align: center;
  }

  .quality-slides-cta {
    text-align: center;
  }
}

/* ========================================
   STEP 2: Talk Format Selection
   ======================================== */

.talk-format-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 4px;
  margin: -4px;
}

.talk-format-option {
  cursor: pointer;
}

.talk-format-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.talk-format-card {
  background: rgba(255, 255, 255, 0.6);
  border: 2px solid rgba(105, 65, 198, 0.15);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  transition: all 0.2s ease;
}

.talk-format-card:hover {
  border-color: rgba(105, 65, 198, 0.4);
  background: rgba(255, 255, 255, 0.8);
}

.talk-format-option input[type="radio"]:checked + .talk-format-card {
  border-color: #6941c6;
  background: rgba(105, 65, 198, 0.08);
  box-shadow: 0 0 0 3px rgba(105, 65, 198, 0.15);
}

.talk-format-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}

.talk-format-emoji {
  font-size: 1.5rem;
}

.talk-format-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #101828;
  flex: 1;
}

.talk-format-duration {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6941c6;
  background: rgba(105, 65, 198, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

.talk-format-details {
  padding-left: 2.1rem;
}

.talk-format-details p {
  margin: 0 0 0.2rem 0;
  font-size: 0.9rem;
  color: #344054;
}

.talk-format-benefit {
  font-size: 0.82rem;
  color: #667085;
  line-height: 1.35;
}

/* Donation Disclaimer */
.donation-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-top: 1rem;
}

.disclaimer-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #06b6d4;
  margin-top: 2px;
}

.donation-disclaimer span {
  font-size: 0.9rem;
  color: #0e7490;
  line-height: 1.5;
}

/* Mobile responsive */
@media (max-width: 767px) {
  .talk-format-header {
    flex-wrap: wrap;
  }

  .talk-format-duration {
    order: -1;
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .talk-format-details {
    padding-left: 0;
  }
}