/* =============================================================
   Overrides for Webflow JS-dependent components
   These styles replace behavior that Webflow's runtime JS handles
   ============================================================= */

/* --- PREVENT HORIZONTAL SCROLL ON MOBILE --- */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
.section, section, .main {
  overflow-x: hidden;
  max-width: 100%;
}

/* --- PRICING SECTION (homepage): stack title above cards --- */
.plan > .rd-container.center {
  flex-direction: column;
  align-items: center;
}
.plan > .rd-container.center > .plan-content {
  width: 100%;
}

/* --- FONT: next/font self-hosted DM Sans (zero CLS) --- */
:root {
  --text-font: var(--font-dm-sans), "DM Sans", sans-serif;
  --main-font: var(--font-dm-sans), "DM Sans", sans-serif;
  --font-family: var(--font-dm-sans), "DM Sans", sans-serif;
}

/* CJK font fallbacks for Japanese and Korean */
:lang(ja) {
  --text-font: var(--font-dm-sans), var(--font-noto-sans-jp), "Noto Sans JP", "DM Sans", sans-serif;
  --main-font: var(--font-dm-sans), var(--font-noto-sans-jp), "Noto Sans JP", "DM Sans", sans-serif;
  --font-family: var(--font-dm-sans), var(--font-noto-sans-jp), "Noto Sans JP", "DM Sans", sans-serif;
}
:lang(ko) {
  --text-font: var(--font-dm-sans), var(--font-noto-sans-kr), "Noto Sans KR", "DM Sans", sans-serif;
  --main-font: var(--font-dm-sans), var(--font-noto-sans-kr), "Noto Sans KR", "DM Sans", sans-serif;
  --font-family: var(--font-dm-sans), var(--font-noto-sans-kr), "Noto Sans KR", "DM Sans", sans-serif;
}

/* --- FAQ ACCORDION: smooth open/close transition --- */
.faq-answer-rd {
  transition: height 0.3s ease, opacity 0.3s ease;
}

/* --- FOOTER: prevent horizontal overflow --- */
.footer {
  overflow: hidden;
}

/* --- COMPARISON TABLE: tag badges for competitor pages --- */
.comparison-alternative-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 4px;
  background-color: #dbf8da;
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
}
.comparison-alternative-tag.tag-red {
  background-color: #ffd3d3;
}
.comparison-alternative-tag.tag-gray {
  background-color: #e5e5e5;
}
.comparison-alternative-table-item {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 24px;
  border-radius: 12px;
}
.comparison-alternative-table-item:nth-child(even) {
  background-color: #f9f9f9;
}
.comparison-alternative-table-line-item.table-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.comparison-alternative-table-item-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 24px;
  padding-left: calc(33.33% + 24px);
}

/* --- STICKY SIDEBAR: align-self:start required for sticky inside CSS grid --- */
.page-navigation.legal-navigation {
  align-self: start;
}

/* --- NAVIGATION --- */
/* Desktop: show nav menu, hide mobile controls */
@media screen and (min-width: 992px) {
  .navigation-menu.w-nav-menu {
    display: flex !important;
  }
  .mobile-nav-controls__wrapper {
    display: none !important;
  }
}

/* Mobile: hide nav menu by default, show mobile controls */
@media screen and (max-width: 991px) {
  .navigation-menu.w-nav-menu {
    display: none;
  }
  .navigation-menu.w-nav-menu.w--open {
    display: flex !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 16px 32px;
    border-bottom: 1px solid #e5e5e5;
    z-index: 100;
  }
  .mobile-nav-controls__wrapper {
    display: flex !important;
  }
}

/* --- TESTIMONIALS --- */
/* Horizontal auto-scrolling marquee with drag support */
.testimonials-slider-wrapper {
  overflow: hidden;
  position: relative;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}

.testimonials-slider-wrapper:active {
  cursor: grabbing;
}

/* The wrapper becomes a flex row containing two identical .testimonials-slider lists */
.testimonials-slider-wrapper {
  display: flex;
  gap: 24px;
  animation: testimonials-scroll 60s linear infinite;
  width: max-content;
}

.testimonials-slider-wrapper:hover,
.testimonials-slider-wrapper.is-dragging {
  animation-play-state: paused;
}

.testimonials-slider {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  flex-shrink: 0;
}

.testimonials-slider-item {
  flex-shrink: 0;
  width: 424px;
}

@media screen and (max-width: 479px) {
  .testimonials-slider-item {
    width: 320px;
  }
}

@keyframes testimonials-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 12px));
  }
}

/* --- LOGO STRIP — infinite horizontal scroll --- */
.testimonials-tabs__wrapper {
  overflow: hidden;
  position: relative;
}

.testimonials-tabs {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 0;
  animation: logo-scroll 25s linear infinite;
  width: max-content;
}

.testimonials-tabs:hover {
  animation-play-state: paused;
}

.logo-scroll-wrapper {
  flex-shrink: 0;
}

@keyframes logo-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* --- REVO-FOLLOW SECTION --- */
/* Hidden by default in Webflow (requires JS scroll trigger), force visible */
.revo-follow {
  display: block;
  padding-top: 80px;
  padding-bottom: 40px;
}

.revo-follow .rd-container {
  display: grid;
}

/* --- FAQ ACCORDION --- */
/* Show all FAQ answers by default (React component will handle toggle) */
.faq-answer-rd {
  display: block !important;
  opacity: 1 !important;
  height: auto !important;
  overflow: visible !important;
}

/* When FAQ is controlled by JS, hide closed answers */
.faq-answer-rd[data-state="closed"] {
  display: none !important;
  height: 0 !important;
  opacity: 0 !important;
}

/* FAQ icon rotation handled in revo-staging.css */

/* --- PROCESS/INTEGRATIONS TABS --- */
/* Show all tab content without JS */
.process-simple .process-tabs-card {
  display: flex;
}

/* --- RESPONSIVE GRID FIXES --- */
@media screen and (max-width: 991px) {
  .rd-container.rd-container-grid {
    grid-template-columns: 1fr !important;
  }
  .rd-container.rd-container-grid.reversed {
    grid-template-columns: 1fr !important;
  }
  .grid-animation.desktop {
    display: none;
  }
  .grid-animation.mobile {
    display: block;
  }
}

@media screen and (min-width: 992px) {
  .grid-animation.mobile {
    display: none;
  }
  .grid-animation.desktop {
    display: block;
  }
}

/* --- BODY WHITE THEME --- */
.body.white-theme {
  background-color: #ffffff;
}

/* Ensure all sections on white theme have white background */
.body.white-theme .main {
  background-color: #ffffff;
}

/* More top padding on main content for breathing room below sticky nav */
.main {
  padding-top: 40px;
}

/* --- CLS FIX: Reserve space for testimonials section --- */
.testimonials {
  min-height: 561px;
  contain: layout;
}

/* --- CLS FIX: Reserve space for hero animation --- */
.email-hero-animation.top {
  min-height: 687px;
}
@media screen and (max-width: 991px) {
  .email-hero-animation.top {
    min-height: 400px;
  }
}
@media screen and (max-width: 479px) {
  .email-hero-animation.top {
    min-height: 250px;
  }
}

/* --- CLS FIX: Reserve space for logo strip --- */
section.testimonials + section,
.testimonials-container {
  min-height: 185px;
}

/* --- ACCESSIBILITY: Fix color contrast --- */
/* Getting started step numbers: #999 on #f2f2f2 fails 4.5:1 */
.getting-started-card .body-m.n-400 {
  color: #595959 !important;
}

/* Fair usage text: #808080 on #f2f2f2 fails 4.5:1 */
.plan-card-section .bodys.n-500 {
  color: #595959 !important;
}

/* Align "fair usage applies" footer at the same height across all 3 plan cards */
.plan-list {
  align-items: stretch;
}
.plan-list .plan-card {
  height: auto;
  min-height: 100%;
}
.plan-list .plan-card-section.plan-card-flex {
  flex: 1 1 auto;
}

/* --- ANNOUNCEMENT BAR (yousign-style, single row) --- */
.announcement-bar {
  display: block !important;
  width: 100%;
  background-color: #ff6224;
  color: #fff;
}

.announcement-bar__inner {
  display: flex !important;
  flex-wrap: nowrap !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  max-width: 1856px;
  margin: 0 auto;
  padding: 0 32px;
  height: 32px;
  gap: 0;
}

.announcement-bar__left {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  min-width: 0;
  flex: 1;
}

.announcement-bar__link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
  white-space: nowrap;
  transition: opacity 0.2s;
}

a.announcement-bar__link:hover { opacity: 0.8; }
a.announcement-bar__link:hover .announcement-bar__arrow { transform: translateX(3px); }

.announcement-bar__badge {
  display: inline-flex !important;
  align-items: center;
  padding: 2px 8px;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.announcement-bar__text { white-space: nowrap; }
.announcement-bar__arrow { flex-shrink: 0; transition: transform 0.2s; }

.announcement-bar__right {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 0;
  flex-shrink: 0;
}

.announcement-bar__nav-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px;
  padding: 4px 12px;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.01em;
  white-space: nowrap;
  border-radius: 4px;
  transition: background-color 0.15s;
}

.announcement-bar__nav-link:hover {
  background-color: rgba(255,255,255,0.15);
}

@media screen and (max-width: 767px) {
  .announcement-bar__inner { justify-content: center !important; }
  .announcement-bar__right { display: none !important; }

  .email-buttons-wrapper {
    width: 100%;
    align-self: center;
  }
}

/* --- LANGUAGE SWITCHER (inside announcement bar) --- */

/* Nav language switcher: match menu-item color on dark theme */
.navigation-menu-right .language-switcher {
  color: var(--_redesign---neutral--300);
}

html[data-theme-light] .navigation-menu-right .language-switcher {
  color: var(--_redesign---neutral--1000);
}

.language-switcher {
  position: relative;
  display: inline-flex !important;
  align-items: center !important;
}

.language-switcher__current {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 4px;
  cursor: pointer;
  color: inherit;
  font-size: 12px;
  font-weight: 400;
  transition: background-color 0.15s;
}

.language-switcher:hover .language-switcher__current {
  background-color: rgba(255,255,255,0.15);
}

.language-switcher__globe { flex-shrink: 0; opacity: 0.8; }
.language-switcher__label { font-size: 12px; }
.language-switcher__chevron { flex-shrink: 0; opacity: 0.5; }

.language-switcher__select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  background: none;
  font-size: 16px;
}

/* --- EMAIL CTA BUTTONS: prevent text wrapping on translated labels --- */
.email-cta-button .button-m {
  white-space: nowrap;
  font-size: 14px !important;
}

.email-cta-button {
  min-width: 200px;
  overflow: hidden;
}

.email-button-icon {
  flex-shrink: 0;
  width: 24px;
}

/* --- MOBILE NAV --- */

@media screen and (max-width: 991px) {
  .mobile-nav-only {
    display: flex !important;
  }

  /* Nav-left: stack vertically with divider at bottom */
  .navigation-menu-left {
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
  }

  /* Nav-right: row layout below divider */
  .navigation-menu-right {
    flex-wrap: wrap;
    align-items: center;
  }

  /* Menu items: left-aligned, taller tap targets, full contrast */
  .menu-item.small.header {
    justify-content: flex-start !important;
    height: 48px;
    margin-left: 0;
    padding: 12px 0 !important;
    color: var(--_redesign---neutral--0) !important;
    font-size: 16px;
  }

  /* White-theme menu items: dark text */
  html[data-theme-light] .menu-item.small.header {
    color: var(--_redesign---neutral--1000) !important;
  }

}

/* --- HELP CENTER: Search component --- */
.help-search-wrapper {
  max-width: 560px;
  margin: 32px auto 0;
  position: relative;
}

.help-search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.help-search-icon {
  position: absolute;
  left: 16px;
  color: #999;
  pointer-events: none;
}

.help-search-input {
  width: 100%;
  padding: 14px 44px 14px 48px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  background: #fafafa;
  color: #1a1a1a;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}

.help-search-input:focus {
  border-color: #ff6224;
  box-shadow: 0 0 0 3px rgba(255, 98, 36, 0.1);
}

.help-search-input::placeholder { color: #999; }

.help-search-clear {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  color: #999;
  padding: 4px;
  display: flex;
}

.help-search-results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  max-height: 320px;
  overflow-y: auto;
  z-index: 50;
}

.help-search-result {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.1s;
}

.help-search-result:last-child { border-bottom: none; }
.help-search-result:hover { background: #fafafa; }

.help-search-empty {
  padding: 24px 16px;
  text-align: center;
}

/* --- LOGO CONTEXT MENU --- */
.logo-context-menu {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  padding: 8px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
}

.logo-context-menu__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  background: none;
  color: #1a1a1a;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.1s;
  white-space: nowrap;
}

.logo-context-menu__item:hover {
  background: #f5f5f5;
}

.logo-context-menu__divider {
  height: 1px;
  background: #e8e8e8;
  margin: 4px 8px;
}

/* --- HELP CENTER --- */

/* --- AI CHAT WIDGET --- */
.chat-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9998;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  border-radius: 48px;
  background: #ff6224;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 98, 36, 0.3);
  transition: transform 0.15s, box-shadow 0.15s;
}
.chat-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 98, 36, 0.4);
}

.chat-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.3);
}

.chat-panel {
  position: fixed;
  right: 0;
  top: 0;
  width: 400px;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  background: #111;
  color: #fff;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.2);
  font-size: 13px !important;
  line-height: 1.55 !important;
}
.chat-panel--light {
  background: #fff;
  color: #1a1a1a;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
}

.chat-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}
.chat-panel--light .chat-panel__header {
  border-bottom-color: #e5e5e5;
}

.chat-panel__header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-panel__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ff6224;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.chat-panel__title {
  font-size: 15px;
  font-weight: 600;
}

.chat-panel__header-actions {
  display: flex;
  align-items: center;
  gap: 2px;
}

.chat-panel__action-btn {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  opacity: 0.4;
  transition: opacity 0.15s, background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-panel__action-btn:hover { opacity: 1; background: rgba(255,255,255,0.08); }
.chat-panel--light .chat-panel__action-btn:hover { background: rgba(0,0,0,0.05); }
.chat-panel__action-btn:disabled { opacity: 0.15; cursor: default; background: none; }

.chat-panel__messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-panel__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  opacity: 0.5;
  font-size: 13px;
  padding: 40px 20px;
}

.chat-msg {
  display: flex !important;
  flex-direction: column !important;
}
.chat-msg--user { align-items: flex-end !important; }
.chat-msg--ai { align-items: flex-start !important; }

.chat-msg__bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

.chat-msg--user .chat-msg__bubble {
  background: #ff6224 !important;
  color: #fff !important;
  border-bottom-right-radius: 4px;
}

.chat-msg--ai .chat-msg__bubble {
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}
.chat-msg--ai .chat-msg__bubble * {
  font-size: 13px !important;
  line-height: 1.55 !important;
}
.chat-panel--light .chat-msg--ai .chat-msg__bubble {
  background: none !important;
}

/* Typing indicator */
.chat-msg__typing {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 14px 18px;
}
.chat-msg__typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  animation: chat-typing 1.4s infinite;
}
.chat-panel--light .chat-msg__typing span {
  background: rgba(0, 0, 0, 0.25);
}
.chat-msg__typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-msg__typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes chat-typing {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1); }
}

.chat-panel__error {
  text-align: center;
  color: #ff4444;
  font-size: 13px;
  padding: 8px;
}

.chat-panel__input-form {
  display: flex;
  gap: 8px;
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}
.chat-panel--light .chat-panel__input-form {
  border-top-color: #e5e5e5;
}

.chat-panel__input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
}
.chat-panel__input:focus {
  border-color: #ff6224;
}
.chat-panel--light .chat-panel__input {
  border-color: #e0e0e0;
  background: #fafafa;
}
.chat-panel--light .chat-panel__input:focus {
  border-color: #ff6224;
}
.chat-panel__input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.chat-panel--light .chat-panel__input::placeholder {
  color: #999;
}

.chat-panel__send {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 8px;
  background: #ff6224;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.15s;
}
.chat-panel__send:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Message action buttons (thumbs up/down, copy) */
.chat-msg__actions {
  display: flex;
  gap: 0;
  margin-top: 2px;
}

.chat-msg__action-btn {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  opacity: 0.3;
  transition: opacity 0.15s, background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-msg__action-btn:hover { opacity: 0.8; background: rgba(255,255,255,0.08); }
.chat-panel--light .chat-msg__action-btn:hover { background: rgba(0,0,0,0.05); }
.chat-msg__action-btn.active { opacity: 0.8; }

/* Tool components inside chat */
.chat-msg__tool {
  margin-top: 8px;
  max-width: 85%;
}

/* CTA Button */
.chat-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  background: #ff6224;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s;
  white-space: nowrap;
}
.chat-cta-btn:hover { opacity: 0.85; }
.chat-cta-btn--secondary {
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  font-weight: 500;
  width: 100%;
  justify-content: center;
  margin-top: 12px;
}
.chat-panel--light .chat-cta-btn--secondary {
  background: #f5f5f5;
}

/* Pricing card */
.chat-pricing-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.chat-panel--light .chat-pricing-card {
  border-color: #e5e5e5;
}

.chat-pricing-plan {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.chat-pricing-plan:last-of-type { border-bottom: none; }
.chat-panel--light .chat-pricing-plan {
  border-bottom-color: #f0f0f0;
}

.chat-pricing-plan__name {
  font-size: 13px;
  font-weight: 600;
  min-width: 90px;
}

.chat-pricing-plan__price {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.chat-pricing-plan__amount {
  font-size: 16px;
  font-weight: 700;
  color: #ff6224;
}

.chat-pricing-plan__period {
  font-size: 12px;
  opacity: 0.5;
}

.chat-pricing-plan__note {
  font-size: 11px;
  opacity: 0.4;
  text-align: right;
  min-width: 80px;
}

/* Contact form */
.chat-contact-form {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
}
.chat-panel--light .chat-contact-form {
  border-color: #e5e5e5;
}

.chat-contact-form__heading {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.chat-contact-form__fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-contact-form__input {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
}
.chat-contact-form__input:focus { border-color: #ff6224; }
.chat-panel--light .chat-contact-form__input {
  border-color: #e0e0e0;
  background: #fafafa;
}
.chat-contact-form__input::placeholder { color: rgba(255,255,255,0.35); }
.chat-panel--light .chat-contact-form__input::placeholder { color: #999; }

.chat-contact-form__success {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #22c55e;
  padding: 8px 0;
}

/* Integration link */
.chat-integration-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.chat-integration-link:hover { background: rgba(255,255,255,0.04); }
.chat-panel--light .chat-integration-link { border-color: #e5e5e5; }
.chat-panel--light .chat-integration-link:hover { background: #f9f9f9; }

.chat-integration-link__name {
  font-size: 14px;
  font-weight: 600;
}

.chat-integration-link__url {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #ff6224;
}

/* Markdown inside AI chat bubbles */
.chat-msg--ai .chat-msg__bubble p { margin: 0 0 6px !important; }
.chat-msg--ai .chat-msg__bubble p:last-child { margin-bottom: 0 !important; }
.chat-msg--ai .chat-msg__bubble strong { font-weight: 600; }
.chat-msg--ai .chat-msg__bubble ul,
.chat-msg--ai .chat-msg__bubble ol {
  margin: 2px 0 6px !important;
  padding-left: 18px !important;
}
.chat-msg--ai .chat-msg__bubble li { margin-bottom: 2px !important; padding: 0 !important; }
.chat-msg--ai .chat-msg__bubble li:last-child { margin-bottom: 0 !important; }
.chat-msg--ai .chat-msg__bubble code {
  background: rgba(255, 255, 255, 0.1);
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 13px;
}
.chat-panel--light .chat-msg--ai .chat-msg__bubble code {
  background: rgba(0, 0, 0, 0.06);
}
.chat-msg--ai .chat-msg__bubble a {
  color: #ff6224;
  text-decoration: underline;
}
.chat-msg--ai .chat-msg__bubble h1,
.chat-msg--ai .chat-msg__bubble h2,
.chat-msg--ai .chat-msg__bubble h3 {
  font-size: 13px !important;
  font-weight: 600;
  margin: 6px 0 2px !important;
}

/* Suggested prompts */
.chat-panel__suggestions {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 20px 12px;
  flex-shrink: 0;
}

.chat-suggestion {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border: none;
  background: none;
  color: inherit;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: opacity 0.15s;
}
.chat-suggestion:last-child { border-bottom: none; }
.chat-suggestion:hover { opacity: 0.7; }
.chat-panel--light .chat-suggestion {
  border-bottom-color: #f0f0f0;
}

.chat-suggestion__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
}

.chat-suggestion__label {
  font-weight: 400;
}

@media screen and (max-width: 479px) {
  .chat-panel { width: 100vw; }
  .chat-fab span { display: none; }
  .chat-fab { padding: 14px; border-radius: 50%; }
}

/* --- COOKIE CONSENT: compact banner (bottom-left card) --- */
.cc-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9990;
  background: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  max-width: 480px;
  animation: cc-slide-in 0.3s ease-out;
}

.body.white-theme .cc-banner {
  background: rgba(255, 255, 255, 0.95);
  border-color: #e0e0e0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.cc-banner__text {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 20px;
}

.body.white-theme .cc-banner__text {
  color: #333;
}

.cc-banner__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.cc-banner__actions-left {
  display: flex;
  gap: 8px;
}

/* Pill buttons — shared by banner and modal */
.cc-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}

.cc-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

.body.white-theme .cc-pill {
  border-color: #ccc;
  color: #1a1a1a;
}

.body.white-theme .cc-pill:hover {
  background: #f5f5f5;
  border-color: #999;
}

/* Filled pill (Consent Settings / Save) */
.cc-pill--filled {
  background: #fff;
  color: #111;
  border-color: #fff;
  font-weight: 600;
}

.cc-pill--filled:hover {
  background: #e8e8e8;
  border-color: #e8e8e8;
}

.body.white-theme .cc-pill--filled {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

.body.white-theme .cc-pill--filled:hover {
  background: #333;
  border-color: #333;
}

@keyframes cc-slide-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media screen and (max-width: 479px) {
  .cc-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
  .cc-banner__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cc-banner__actions-left {
    justify-content: stretch;
  }
  .cc-banner__actions-left .cc-pill {
    flex: 1;
  }
  .cc-pill--filled {
    width: 100%;
  }
}

/* --- COOKIE CONSENT: expanded modal (centered) --- */
.cc-overlay {
  position: fixed;
  inset: 0;
  z-index: 9990;
  background: rgba(0, 0, 0, 0.6);
}

.cc-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9991;
  background: rgba(17, 17, 17, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  width: 640px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  animation: cc-fade-in 0.2s ease-out;
}

.body.white-theme .cc-modal {
  background: rgba(255, 255, 255, 0.98);
  border-color: #e0e0e0;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.cc-modal__content {
  padding: 32px 32px 0;
}

.cc-modal__title {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
}

.body.white-theme .cc-modal__title {
  color: #1a1a1a;
}

.cc-modal__desc {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 24px;
}

.body.white-theme .cc-modal__desc {
  color: #555;
}

/* Category toggle rows — bordered container */
.cc-modal__categories {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0;
}

.body.white-theme .cc-modal__categories {
  border-color: #e0e0e0;
}

.cc-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cc-category:last-child {
  border-bottom: none;
}

.body.white-theme .cc-category {
  border-bottom-color: #f0f0f0;
}

.cc-category__label {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
}

.body.white-theme .cc-category__label {
  color: #1a1a1a;
}

/* Toggle switch */
.cc-switch {
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.cc-switch--disabled {
  cursor: default;
  opacity: 0.4;
}

.cc-switch__track {
  width: 48px;
  height: 28px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  transition: background 0.2s;
}

.body.white-theme .cc-switch__track {
  background: #d4d4d4;
}

.cc-switch__track--on {
  background: #fff;
}

.body.white-theme .cc-switch__track--on {
  background: #1a1a1a;
}

.cc-switch__thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #666;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform 0.2s, background 0.2s;
}

.cc-switch__thumb--on {
  transform: translateX(20px);
  background: #111;
}

.body.white-theme .cc-switch__thumb {
  background: #fff;
}

.body.white-theme .cc-switch__thumb--on {
  background: #fff;
}

/* Modal footer */
.cc-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.body.white-theme .cc-modal__footer {
  border-top-color: #f0f0f0;
}

.cc-modal__footer-left {
  display: flex;
  gap: 8px;
}

/* Privacy link */
.cc-modal__privacy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  padding: 0 32px 24px;
  margin: 0;
}

.body.white-theme .cc-modal__privacy {
  color: #888;
}

.cc-modal__privacy-link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.body.white-theme .cc-modal__privacy-link {
  color: #1a1a1a;
}

@keyframes cc-fade-in {
  from { opacity: 0; transform: translate(-50%, -48%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

@media screen and (max-width: 479px) {
  .cc-modal__content { padding: 24px 20px 0; }
  .cc-modal__footer { padding: 20px; flex-direction: column; gap: 12px; }
  .cc-modal__footer-left { width: 100%; }
  .cc-modal__footer-left .cc-pill { flex: 1; }
  .cc-modal__footer .cc-pill--filled { width: 100%; }
  .cc-modal__privacy { padding: 0 20px 20px; }
}

/* Footer cookie settings link */
.cookie-settings-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  text-align: left;
}

/* --- PERFORMANCE --- */
/* =============================================================
   Theme: light pages via html[data-theme-light] attribute
   Replaces per-element .white-theme classes that were set server-side.
   An inline <script> in <head> sets the attribute before first paint.
   These rules mirror the Webflow selectors in revo-staging.css.
   ============================================================= */

/* Body background */
html[data-theme-light] .body {
  background-color: var(--_redesign---neutral--0);
}

/* Logo invert */
html[data-theme-light] .logo {
  filter: invert();
}

/* Nav link text color */
html[data-theme-light] .menu-item.small.header {
  color: var(--_redesign---neutral--1000);
}
html[data-theme-light] .menu-item.small.header:hover {
  background-color: var(--_redesign---neutral--100);
  box-shadow: inset 0 6px 16px #ffffff52;
}

/* CTA buttons */
html[data-theme-light] .button-rd.white.medium {
  background-color: var(--_redesign---neutral--950);
  color: var(--_redesign---neutral--100);
}
html[data-theme-light] .button-rd.white.medium:hover {
  box-shadow: inset 0 6px 16px #ffffff52;
}

/* Responsive: mobile nav + burger */
@media screen and (max-width: 991px) {
  html[data-theme-light] .navigation-menu {
    background-color: var(--_redesign---neutral--0);
  }
  html[data-theme-light] .button-rd.square.medium {
    background-color: var(--_redesign---neutral--100);
  }
  html[data-theme-light] .burger-icon-line.upper,
  html[data-theme-light] .burger-icon-line.bottom {
    background-color: var(--_redesign---neutral--700);
  }
}

/* Fix aspect ratio for getting-started images stretched by width:100% */
.getting-started-image {
  height: auto !important;
}

/* =============================================================
   Phone Showcase — iPhone frame with embedded demo cards
   ============================================================= */

.phone-showcase-section {
  padding: 80px 0 100px;
  background-color: #000;
}

.phone-showcase-section .rd-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-showcase-section .section-text {
  text-align: center;
  margin-bottom: 48px;
}

.phone-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* --- Card selector tabs --- */
.phone-showcase__tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.phone-showcase__tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  color: rgba(255, 255, 255, 0.6);
}

.phone-showcase__tab:hover {
  background: rgba(255, 255, 255, 0.12);
}

.phone-showcase__tab.active {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.phone-showcase__tab-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.phone-showcase__tab-label {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

/* --- iPhone device frame --- */
.phone-showcase__device {
  position: relative;
  width: 380px;
  /* Aspect ratio matches iPhone 16 Pro Max frame */
}

.phone-showcase__frame {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.phone-showcase__screen {
  position: absolute;
  z-index: 1;
  top: 3.5%;
  left: 3.2%;
  right: 3.2%;
  bottom: 3.2%;
  border-radius: 40px;
  overflow: hidden;
  background: #fff;
}

.phone-showcase__iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #fff;
}

/* --- Responsive --- */
@media screen and (max-width: 479px) {
  .phone-showcase__device {
    width: 300px;
  }

  .phone-showcase__screen {
    border-radius: 28px;
  }

  .phone-showcase__tab-label {
    font-size: 12px;
  }
}

/* =============================================================
   Desktop Hero — headline + desktop simulation iframe
   ============================================================= */

.desktop-hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  padding: 48px 0 0;
}

.desktop-hero__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 0 32px;
  margin-bottom: 48px;
  max-width: 800px;
}

.desktop-hero__top .section-text {
  text-align: center;
}

.desktop-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 1856px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Persona tabs use .plan-options / .plan-info from revo-staging.css */

/* --- iframe container --- */
.desktop-hero__iframe-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1a2e;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.15);
}

.desktop-hero__iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Responsive --- */
@media screen and (max-width: 991px) {
  .desktop-hero-section {
    padding-top: 80px;
  }

  .desktop-hero__top {
    margin-bottom: 32px;
  }

  .desktop-hero__content {
    padding: 0 16px;
  }

  .desktop-hero__content .plan-options {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    max-width: 100%;
    padding-bottom: 4px;
    scrollbar-width: none;
    justify-content: flex-start;
  }

  .desktop-hero__content .plan-options::-webkit-scrollbar {
    display: none;
  }

  .desktop-hero__content .plan-info {
    flex-shrink: 0;
  }

  .desktop-hero__iframe-wrapper {
    border-radius: 8px;
  }
}


/* Reduce motion for users who prefer it */
/* =============================================================
   Persona Hero — 2-column layout with character carousel
   ============================================================= */

/* --- 2-column grid --- */
.persona-hero-grid {
  display: grid;
  grid-template-columns: minmax(auto, 540px) 1fr;
  gap: 32px;
  align-items: center;
  flex: 1;
  width: 100%;
  max-width: 1856px;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}

.persona-hero-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  max-width: 540px;
}

.persona-hero-left .section-text {
  text-align: left;
}

.persona-hero-left .section-text .heading-super {
  text-align: left;
}

.persona-hero-left .section-text .p-super {
  text-align: left;
}

.persona-hero-left .bottom-cta-buttons {
  align-items: flex-start;
}

.persona-hero-left .bottom-cta-buttons-title {
  align-items: flex-start;
}

.bottom-cta-buttons-title {
  grid-row-gap: 8px;
  row-gap: 8px;
}

.persona-hero-left .w-layout-hflex.flex-block {
  justify-content: flex-start;
}

/* --- Carousel container --- */
.persona-carousel {
  position: relative;
  border-radius: var(--border-radius--l, 16px);
  overflow: hidden;
  width: 100%;
  height: 100%;
  min-height: 480px;
  background: var(--_redesign---neutral--900, #1a1a1a);
}

@media screen and (min-width: 1200px) {
  .persona-hero-grid {
    gap: 64px;
  }
}

/* --- Video background --- */
.persona-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.persona-carousel__slide.active {
  opacity: 1;
  pointer-events: auto;
}

.persona-carousel__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark gradient overlay for readability */
.persona-carousel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0) 30%,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
  pointer-events: none;
}

/* --- Character info at bottom --- */
.persona-carousel__info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 3;
}

.persona-carousel__name {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}

.persona-carousel__title {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  margin: 2px 0 0;
  line-height: 1.4;
}

/* --- View demo button --- */
.persona-carousel__demo-btn {
  position: absolute;
  bottom: 52px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}

.persona-carousel__demo-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* --- Close button (same glass style) --- */
.persona-carousel__close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.persona-carousel__close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* --- Expanded state — fullscreen modal over navbar --- */
.persona-carousel--expanded {
  position: fixed !important;
  top: 24px;
  left: 24px;
  width: calc(100vw - 48px) !important;
  height: calc(100vh - 48px) !important;
  min-height: auto !important;
  max-height: none !important;
  z-index: 9999;
  border-radius: 20px !important;
}

.persona-carousel--expanded .persona-carousel__video {
  filter: blur(6px) brightness(0.5);
  transition: filter 0.4s ease;
}

.persona-carousel--expanded .persona-notifications,
.persona-carousel--expanded .persona-carousel__info,
.persona-carousel--expanded .persona-carousel__nav {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

/* --- Action Card in expanded view --- */
.persona-carousel__action-wrapper {
  position: absolute;
  inset: 0;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px 24px;
}

.persona-carousel__expanded-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 480px;
}

.persona-carousel__expanded-cta {
  animation: action-card-enter 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.persona-carousel__card-row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.persona-carousel__action-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  font-weight: 300;
  cursor: pointer;
  transition: background 0.2s;
}

.persona-carousel__action-arrow:hover {
  background: rgba(255, 255, 255, 0.25);
}

.action-card {
  width: 100%;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 24px;
  color: #fff;
  animation: action-card-enter 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  overflow-y: auto;
  max-height: 100%;
}

@keyframes action-card-enter {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.action-card__header {
  margin-bottom: 16px;
}

.action-card__title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}

.action-card__section {
  margin-bottom: 16px;
}

.action-card__label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 8px;
}

.action-card__label-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.action-card__count {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.action-card__text {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.action-card__sources {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.action-card__source {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  font-size: 12px;
}

.action-card__source-icon {
  font-size: 12px;
}

.action-card__source-name {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.action-card__source-date {
  color: rgba(255, 255, 255, 0.45);
}

.action-card__steps {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.action-card__step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.15s;
}

.action-card__step:hover {
  background: rgba(255, 255, 255, 0.06);
}

.action-card__step-check {
  flex-shrink: 0;
  display: flex;
}

.action-card__step-title {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.action-card__step.done .action-card__step-title {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: line-through;
}

.action-card__footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.action-card__btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.action-card__btn--skip {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
}

.action-card__btn--skip:hover {
  background: rgba(255, 255, 255, 0.08);
}

.action-card__btn--do {
  background: #fff;
  border: none;
  color: #000;
}

.action-card__btn--do:hover {
  background: rgba(255, 255, 255, 0.9);
}

.persona-carousel--expanded .persona-carousel__close-btn {
  top: 24px;
  right: 24px;
}


/* --- Arrow navigation --- */
.persona-carousel__nav {
  position: absolute;
  bottom: 24px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 4;
}

.persona-carousel__arrow {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 64px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 40px;
  padding: 4px 10px;
  cursor: pointer;
  transition: background 0.2s;
  color: #fff;
  justify-content: center;
}

.persona-carousel__arrow:hover {
  background: rgba(255, 255, 255, 0.2);
}

.persona-carousel__arrow-photo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.persona-carousel__arrow-icon {
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
  color: #fff;
}

/* --- Progress indicators inside carousel --- */
.persona-carousel .progress-timer-wrapper {
  padding: 0;
  gap: 6px;
}

.persona-carousel .progress-indicator-placer {
  cursor: pointer;
}

.persona-carousel .progress-timer {
  background-color: rgba(255, 255, 255, 0.35);
  width: 6px !important;
  height: 6px;
  padding: 0;
  border-radius: 3px;
  transition: width 0.3s;
}

.persona-carousel .progress-timer.active {
  width: 40px !important;
  height: 6px;
  border-radius: 3px;
  padding: 2px;
}

.persona-carousel .progress-indicator {
  background-color: #fff;
  opacity: 1 !important;
  height: 100% !important;
  width: 0;
  border-radius: 2px;
}

.persona-carousel .progress-indicator.active {
  background-color: #fff;
}

/* --- Glass-blur notifications --- */
.persona-notifications {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 5;
  pointer-events: auto;
  max-width: 360px;
}

.persona-notification {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;

  /* Entrance animation — Apple-style slide + bounce from right */
  opacity: 0;
  transform: translateX(40px) scale(0.92);
  animation: notification-enter 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.persona-notification:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.01);
}

/* --- Notification circular loader → checkmark --- */
.persona-notification__loader {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.persona-notification__circle {
  animation: notif-circle-fill 1.5s ease-in-out forwards;
}

.persona-notification__done-circle {
  animation: notif-done-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.persona-notification__check {
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  animation: notif-check-draw 0.35s ease-out 0.15s forwards;
}

@keyframes notif-circle-fill {
  from { stroke-dashoffset: 56.5; }
  to { stroke-dashoffset: 0; }
}

@keyframes notif-done-pop {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes notif-check-draw {
  from { stroke-dashoffset: 20; }
  to { stroke-dashoffset: 0; }
}

.persona-notification__body {
  flex: 1;
  min-width: 0;
}

.persona-notification__title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.persona-notification__subtitle {
  font-size: 13px;
  color: #fff;
  margin: 2px 0 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.persona-notification__time {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
  margin-top: 2px;
}

@keyframes notification-enter {
  0% {
    opacity: 0;
    transform: translateX(40px) scale(0.92);
  }
  50% {
    opacity: 1;
    transform: translateX(-4px) scale(1.02);
  }
  70% {
    transform: translateX(2px) scale(1);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* --- Responsive --- */
@media screen and (max-width: 991px) {
  .persona-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: auto;
    padding: 0 24px;
  }

  .persona-hero-left {
    max-width: none;
    align-items: center;
  }

  .persona-hero-left .w-layout-hflex.flex-block {
    justify-content: center;
  }

  .persona-hero-left .section-text {
    width: 100%;
    text-align: center;
    align-items: center;
  }
  .persona-hero-left .section-text .heading-super,
  .persona-hero-left .section-text .p-super {
    text-align: center;
    max-width: 100%;
  }

  .persona-hero-left .bottom-cta-buttons,
  .persona-hero-left .bottom-cta-buttons-title {
    align-items: center;
  }

  .persona-hero-left .caption-m {
    text-align: center;
  }

  .persona-hero-left .security-logo-grid {
    justify-content: center;
  }

  .persona-carousel {
    min-height: 360px;
    margin: 0 auto;
    max-width: 100%;
  }
}

@media screen and (max-width: 479px) {
  .persona-carousel {
    aspect-ratio: 3 / 4.5;
    max-height: none;
  }

  .persona-notifications {
    left: 12px;
    right: 12px;
    max-width: none;
  }

  .persona-notification {
    padding: 10px 12px;
  }

  .persona-notification__title {
    font-size: 12px;
  }

  .persona-notification__subtitle {
    font-size: 10px;
  }
}

/* --- Light theme overrides for persona hero --- */
/* Persona hero — own section, no Webflow hero overrides */
.persona-hero-section {
  display: flex;
  flex-direction: column;
  min-height: max(600px, 85vh);
  padding: 24px 0 0;
  background-color: #fff;
  position: relative;
  overflow: clip;
}

html[data-theme-light] .persona-hero-left .heading-super {
  color: var(--_redesign---neutral--950, #0d0d0d);
}

html[data-theme-light] .persona-hero-left .p-super {
  color: var(--_redesign---neutral--800, #333);
}

/* Competitor page hero background image — desktop fix.
   .comparison-hero-image uses position:absolute + z-index:-1 in the Webflow CSS.
   Without a stacking context on the parent, z-index:-1 renders the image behind
   the body background (black on dark theme), making it invisible on desktop.
   isolation:isolate creates a stacking context so z-index:-1 is scoped to the
   section, letting the image appear behind the content but over the page bg. */
.comparison-internal-hero {
  isolation: isolate;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  video {
    display: none;
  }
}
