/* ── Personas section — clean, minimal, Chatbooks-inspired ── */
.clarity-personas-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 0 2rem;
  background: #ffffff;
}

.clarity-personas-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Editorial intro text — no card, no border, just clean prose */
.clarity-content {
  max-width: 640px;
  margin: 0 auto 1.75rem;
  text-align: center;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.clarity-content h2 {
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  line-height: 1.35;
}

.clarity-content p {
  display: none; /* Body is too long for the intro role — headline only */
}

.journey-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 2rem 1.5rem;
  background:
    radial-gradient(circle at 18% -20%, rgba(141, 92, 240, 0.22) 0%, rgba(141, 92, 240, 0) 45%),
    radial-gradient(circle at 88% 120%, rgba(31, 182, 233, 0.24) 0%, rgba(31, 182, 233, 0) 40%),
    linear-gradient(180deg, #eaf1ff 0%, #f0f5ff 100%);
}

.journey-container,
.faq-container {
  max-width: 1200px;
  margin: 0 auto;
}

.journey-header,
.personas-header,
.faq-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 1rem;
}

.journey-header h2,
.personas-header h2,
.faq-header h2 {
  color: var(--text-primary);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 0.6rem;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 240px);
  gap: 2rem;
  justify-content: center;
}

.journey-card {
  border-radius: 16px;
  padding: 0.8rem 1rem 0.9rem;
  position: relative;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 10px 20px rgba(53, 93, 230, 0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.journey-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.journey-step-col:nth-child(1) .journey-card {
  background: linear-gradient(140deg, #4f7ff0 0%, #355de6 100%);
}

.journey-step-col:nth-child(2) .journey-card {
  background: linear-gradient(140deg, var(--app-green) 0%, var(--app-green-deep) 100%);
}

.journey-step-col:nth-child(3) .journey-card {
  background: linear-gradient(140deg, #1fb6e9 0%, #0ea6c9 100%);
}

.journey-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 34px rgba(30, 61, 170, 0.28);
}

.journey-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin: 0 auto 0.5rem;
}

.journey-card h3 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.journey-card p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.45;
  font-size: 0.88rem;
}

/* Journey step columns: card + phone image — both same width */
.journey-step-col {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
}

.journey-phone-wrap {
  width: 100%;
  overflow: hidden;
}

.journey-phone-wrap img {
  width: 100%;
  display: block;
  border-radius: 14px;
}

.personas-header .section-label,
.personas-header .gradient-text {
  color: #2b74e8;
}

.personas-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 1.5rem;
}

.personas-header h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 0;
}

/* Slider wrapper — full section width */
.personas-slider {
  overflow: hidden;
  width: 100%;
}

.personas-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.75rem 4rem 1rem;
}

.personas-track::-webkit-scrollbar {
  display: none;
}

/* ── Clean minimal persona card ── */
.persona-card {
  flex: 0 0 auto;
  width: 255px;
  scroll-snap-align: start;
  background: #f8f9ff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 1.5rem 1.25rem 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  text-align: left;
  position: relative;
  overflow: hidden;
}

/* Subtle top accent bar */
.persona-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--app-cyan) 0%, var(--app-blue) 100%);
}

.persona-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.09);
}

.persona-card h3 {
  color: var(--color-slate-800);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.persona-card .persona-body {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.persona-north-star {
  display: block;
  font-size: 0.84rem;
  color: var(--app-blue);
  font-weight: 600;
  font-style: italic;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(79, 127, 240, 0.14);
  line-height: 1.45;
}

/* Dots — hidden but JS still runs for auto-scroll */
.personas-dots {
  display: none;
}

.faq-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 2rem;
  background:
    radial-gradient(circle at 84% 6%, rgba(141, 92, 240, 0.16) 0%, transparent 30%),
    linear-gradient(180deg, #f7f9ff 0%, #eff3ff 100%);
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  border: 1px solid rgba(79, 127, 240, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(8px);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(30, 61, 170, 0.08);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.1rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-q-icon {
  width: 20px;
  height: 20px;
  color: var(--app-blue);
  display: inline-flex;
  flex: 0 0 auto;
}

.faq-q-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.faq-q-text {
  flex: 1;
}

.faq-toggle {
  width: 20px;
  height: 20px;
  position: relative;
  flex: 0 0 auto;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-slate-700);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item p {
  color: var(--text-secondary);
  line-height: 1.6;
  padding: 0 1.1rem 1rem;
}

.coming-tag {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.18rem 0.42rem;
  border-radius: 999px;
  background: #ffedd5;
  color: #9a3412;
  font-size: 0.72rem;
  font-weight: 700;
  vertical-align: middle;
}

.cta-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 2rem;
  background:
    radial-gradient(circle at 16% 10%, rgba(31, 182, 233, 0.3) 0%, rgba(31, 182, 233, 0) 32%),
    radial-gradient(circle at 86% 88%, rgba(217, 78, 213, 0.28) 0%, rgba(217, 78, 213, 0) 35%),
    linear-gradient(135deg, #3257df 0%, #4b70ef 45%, #5a74f5 100%);
}

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

.cta-panel {
  max-width: 960px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(14px);
  border-radius: 24px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  align-items: center;
  padding: 1.45rem;
  box-shadow: 0 18px 36px rgba(16, 27, 89, 0.35);
}

.cta-phone-wrap {
  width: 200px;
  margin: 0 auto;
}

.cta-phone-image {
  width: 100%;
  display: block;
}

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

.cta-text h2 {
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.cta-subtitle {
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Reassurance Strip */
.reassurance-section {
  padding: 4.5rem 2rem;
  background: #ffffff;
}

.reassurance-container {
  max-width: 1000px;
  margin: 0 auto;
}

.reassurance-heading {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 2.25rem;
}

.reassurance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.reassurance-item {
  background: #ffffff;
  border: 1px solid rgba(79, 127, 240, 0.12);
  border-radius: 18px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(30, 61, 170, 0.06);
}

.reassurance-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  background: rgba(79, 127, 240, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--app-blue);
}

.reassurance-icon svg {
  width: 24px;
  height: 24px;
}

.reassurance-item h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.reassurance-item p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

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

/* Journey nav arrows — desktop hidden */
.journey-nav-arrow {
  display: none;
}

@media (max-width: 768px) {
  .journey-grid {
    display: block;
  }

  /* One step at a time, full width */
  .journey-step-col {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  /* Active step → same card wrapper as carousel-container */
  .journey-step-col.journey-step-active {
    display: flex;
    background: rgba(255, 255, 255, 0.88);
    border-radius: 24px;
    box-shadow: 0 20px 36px rgba(24, 52, 155, 0.15);
    border: 1px solid rgba(79, 127, 240, 0.2);
    overflow: hidden;
    backdrop-filter: blur(12px);
  }

  /* Step card → plain description panel (like feature-description).
     Use !important to beat the nth-child gradient selectors above. */
  .journey-card {
    background: rgba(255, 255, 255, 0.82) !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 1.2rem 1.5rem;
    text-align: center;
    min-height: unset;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  /* Hide decorative orb pseudo-element inside white panel */
  .journey-card::before {
    display: none;
  }

  .journey-card h3 {
    color: var(--text-primary) !important;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
  }

  .journey-card p {
    color: var(--text-secondary) !important;
    line-height: 1.5;
    font-size: 0.95rem;
    margin-bottom: 0;
  }

  .journey-step {
    color: var(--app-blue) !important;
    background: rgba(79, 127, 240, 0.1) !important;
    border-color: rgba(79, 127, 240, 0.2) !important;
    margin-bottom: 0.5rem;
  }

  /* Phone wrap → gradient container matching each step's desktop card color */
  .journey-phone-wrap {
    position: relative;
    background:
      radial-gradient(circle at 86% 14%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 34%),
      linear-gradient(140deg, #4f7ff0 0%, #355de6 100%);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    overflow: hidden;
  }

  .journey-phone-wrap {
    max-height: 52vh;
  }

  .journey-step-col:nth-child(1) .journey-phone-wrap {
    background:
      radial-gradient(circle at 86% 14%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 34%),
      linear-gradient(140deg, #4f7ff0 0%, #355de6 100%);
  }

  .journey-step-col:nth-child(2) .journey-phone-wrap {
    background:
      radial-gradient(circle at 86% 14%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 34%),
      linear-gradient(140deg, var(--app-green) 0%, var(--app-green-deep) 100%);
  }

  .journey-step-col:nth-child(3) .journey-phone-wrap {
    background:
      radial-gradient(circle at 86% 14%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 34%),
      linear-gradient(140deg, #1fb6e9 0%, #0ea6c9 100%);
  }

  .journey-phone-wrap img {
    width: auto;
    max-width: min(210px, 100%);
    max-height: 42vh;
    height: auto;
    display: block;
    border-radius: 18px;
  }

  /* Arrows — identical to carousel arrows */
  .journey-nav-arrow {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffffff;
    transition: background 0.2s ease;
    z-index: 2;
  }

  .journey-nav-arrow:hover {
    background: rgba(255, 255, 255, 0.35);
  }

  .journey-nav-arrow svg {
    width: 18px;
    height: 18px;
  }

  .journey-nav-arrow--prev { left: 0.6rem; }
  .journey-nav-arrow--next { right: 0.6rem; }
}

@media (max-width: 600px) {
  .persona-card {
    width: 230px;
  }

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

@media (max-width: 768px) {
  .clarity-personas-section,
  .journey-section,
  .faq-section,
  .cta-section {
    padding: 2rem 1rem;
  }

  .clarity-personas-container {
    padding: 0 1rem;
  }

  .personas-track {
    padding: 0.5rem 0;
  }

  .personas-track--mobile {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .personas-row-slider {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .personas-row-slider::-webkit-scrollbar {
    display: none;
  }

  .personas-row-track {
    display: flex;
    gap: 0.85rem;
    width: max-content;
  }

  .personas-row-slider--top .personas-row-track {
    padding-left: 0.75rem;
    padding-right: 2.75rem;
  }

  .personas-row-slider--bottom .personas-row-track {
    padding-left: 3.25rem;
    padding-right: 0.75rem;
  }

  .personas-row-track .persona-card {
    width: 255px;
    min-width: 0;
    scroll-snap-align: none;
  }

  .personas-row-track .persona-card:hover {
    transform: none;
  }

  .clarity-content h2 {
    font-size: 1.1rem;
  }

  .journey-header h2,
  .personas-header h2,
  .faq-header h2 {
    font-size: 1.65rem;
  }

  .journey-card {
    text-align: center;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.15rem;
  }

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

  .cta-phone-wrap {
    width: 160px;
  }
}
