/**
 * FlowBridge Landing — marketing story & pro visual layer
 */

/* --------------------------------------------------------------------------
   Section eyebrows
   -------------------------------------------------------------------------- */
.landing-section-eyebrow {
  display: block;
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4229ff;
}

.theme-dark-active .landing-section-eyebrow {
  color: #b8afff;
}

/* --------------------------------------------------------------------------
   Hero (two-column + preview)
   -------------------------------------------------------------------------- */
.flow-landing .landing-hero {
  padding: clamp(72px, 10vw, 112px) 0 clamp(64px, 8vw, 96px);
}

.flow-landing .landing-hero__grid {
  position: relative;
  z-index: 1;
}

.flow-landing .hero__title {
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

@media (min-width: 992px) {
  .flow-landing .hero__subtitle {
    margin-left: 0;
    margin-right: 0;
    max-width: 34rem;
  }

  .flow-landing .hero__ideal-for {
    max-width: 34rem;
  }
}

.landing-hero-preview {
  position: relative;
  border-radius: 20px;
  background: linear-gradient(145deg, #ffffff 0%, #f4f2ff 100%);
  border: 1px solid rgba(66, 41, 255, 0.14);
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.04),
    0 24px 48px rgba(66, 41, 255, 0.12);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.landing-hero-preview:hover {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
  box-shadow:
    0 8px 16px rgba(15, 23, 42, 0.06),
    0 32px 64px rgba(66, 41, 255, 0.16);
}

.theme-dark-active .landing-hero-preview {
  background: linear-gradient(145deg, #2a2a32 0%, #1f1f28 100%);
  border-color: rgba(255, 255, 255, 0.1);
}

.landing-hero-preview__chrome {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  background: rgba(66, 41, 255, 0.06);
  border-bottom: 1px solid rgba(66, 41, 255, 0.08);
}

.landing-hero-preview__chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(66, 41, 255, 0.25);
}

.landing-hero-preview__chrome span:first-child {
  background: #ff6b6b;
  opacity: 0.85;
}

.landing-hero-preview__chrome span:nth-child(2) {
  background: #ffc107;
  opacity: 0.85;
}

.landing-hero-preview__chrome span:nth-child(3) {
  background: #28a745;
  opacity: 0.85;
}

.landing-hero-preview__chrome small {
  margin-left: auto;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(4, 18, 38, 0.45);
}

.theme-dark-active .landing-hero-preview__chrome small {
  color: rgba(255, 255, 255, 0.5);
}

.landing-hero-preview__body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.landing-hero-preview__heading {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #041226;
  margin-bottom: 1rem;
}

.theme-dark-active .landing-hero-preview__heading {
  color: #fff;
}

.landing-hero-preview__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.15rem;
}

.landing-hero-preview__metric {
  padding: 0.65rem 0.5rem;
  text-align: center;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(66, 41, 255, 0.08);
}

.landing-hero-preview__metric strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: #4229ff;
  line-height: 1.1;
}

.landing-hero-preview__metric span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #63666c;
}

.landing-hero-preview__metric--danger strong {
  color: #c0392b;
}

.theme-dark-active .landing-hero-preview__metric {
  background: rgba(255, 255, 255, 0.04);
}

.landing-hero-preview__list-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #63666c;
  margin-bottom: 0.5rem;
}

.landing-hero-preview__list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.65rem;
  margin-bottom: 0.4rem;
  border-radius: 10px;
  background: rgba(66, 41, 255, 0.04);
  font-size: 0.8125rem;
  font-weight: 500;
  color: #041226;
}

.landing-hero-preview__list-item time {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: #4229ff;
}

.theme-dark-active .landing-hero-preview__list-item {
  color: #e8e8f0;
}

.hero__badge-trial {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #4229ff;
  background: rgba(66, 41, 255, 0.08);
  border: 1px solid rgba(66, 41, 255, 0.15);
  border-radius: 999px;
}

.theme-dark-active .hero__badge-trial {
  color: #b8afff;
  background: rgba(66, 41, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.12);
}

/* --------------------------------------------------------------------------
   Pain section
   -------------------------------------------------------------------------- */
.landing-pain__section {
  padding: clamp(64px, 8vw, 88px) 0;
  background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%);
}

.theme-dark-active .landing-pain__section {
  background: #1f1f1f !important;
}

.landing-pain__title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 0.75rem;
  color: #041226;
}

.theme-dark-active .landing-pain__title {
  color: #fff;
}

.landing-pain__lead {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  color: #63666c;
  font-size: 1.05rem;
  line-height: 1.65;
}

.landing-pain__card {
  height: 100%;
  padding: 1.35rem 1.25rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.landing-pain__card:hover {
  transform: translateY(-3px);
  border-color: rgba(66, 41, 255, 0.12);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.theme-dark-active .landing-pain__card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.landing-pain__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.landing-pain__card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #041226;
}

.theme-dark-active .landing-pain__card-title {
  color: #fff;
}

.landing-pain__card-text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #63666c;
}

.theme-dark-active .landing-pain__card-text {
  color: rgba(255, 255, 255, 0.75);
}

/* --------------------------------------------------------------------------
   Transform (before / after)
   -------------------------------------------------------------------------- */
.landing-transform__section {
  padding: clamp(64px, 8vw, 88px) 0;
  background: #fff;
}

.theme-dark-active .landing-transform__section {
  background: #1a1a1a !important;
}

.landing-transform__panel {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 24px;
  background: #fafbff;
  border: 1px solid rgba(66, 41, 255, 0.1);
  box-shadow: 0 20px 50px rgba(66, 41, 255, 0.06);
}

.theme-dark-active .landing-transform__panel {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.landing-transform__row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .landing-transform__row {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.25rem;
  }
}

.landing-transform__before,
.landing-transform__after {
  padding: 1.15rem 1.25rem;
  border-radius: 14px;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.landing-transform__before {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #63666c;
}

.landing-transform__after {
  background: linear-gradient(135deg, rgba(66, 41, 255, 0.1) 0%, rgba(70, 66, 252, 0.05) 100%);
  border: 1px solid rgba(66, 41, 255, 0.18);
  color: #041226;
  font-weight: 500;
}

.theme-dark-active .landing-transform__before {
  background: rgba(0, 0, 0, 0.2);
}

.theme-dark-active .landing-transform__after {
  color: #e8e8f0;
}

.landing-transform__arrow {
  text-align: center;
  color: #4229ff;
  font-size: 1.5rem;
  display: none;
}

@media (min-width: 768px) {
  .landing-transform__arrow {
    display: block;
  }
}

.landing-transform__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
  opacity: 0.75;
}

.landing-solution__strip {
  padding: 1rem 1.35rem;
  margin: 0 auto 1.25rem;
  max-width: 720px;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: #041226;
  background: transparent;
  border-radius: 0;
  border: none;
}

.theme-dark-active .landing-solution__strip {
  color: #e8e8f0;
}

/* --------------------------------------------------------------------------
   Features — spotlight + collapsible rest
   -------------------------------------------------------------------------- */
.flow-landing .landing-features-spotlight .feature__card {
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.flow-landing .landing-features-spotlight .feature__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(66, 41, 255, 0.08);
}

.landing-features-more {
  margin-top: 2rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding-top: 1.25rem;
}

.landing-features-more summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #4229ff;
  padding: 0.5rem 0;
  user-select: none;
}

.landing-features-more summary::-webkit-details-marker {
  display: none;
}

.landing-features-more summary::after {
  content: '';
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-top: -0.15rem;
}

.landing-features-more[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 0.2rem;
}

.landing-features-more summary:hover {
  color: #2f1fd4;
}

.theme-dark-active .landing-features-more {
  border-color: rgba(255, 255, 255, 0.1);
}

.theme-dark-active .landing-features-more summary {
  color: #b8afff;
}

/* --------------------------------------------------------------------------
   Language switch
   -------------------------------------------------------------------------- */
.landing-header-auth {
  gap: 0.5rem;
  margin-right: 0.65rem;
}

.landing-header-login.btn-pill-v1 {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.landing-header-register.btn-pill-v1 {
  padding: 0.5rem 1.15rem;
  font-size: 0.875rem;
}

.header-lang-dropdown.landing-header-lang {
  position: relative;
  margin-right: 0.15rem;
}

.header-lang-dropdown.landing-header-lang button {
  min-width: 4.25rem;
  padding: 0.45rem 2rem 0.45rem 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  background: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #041226;
  text-align: left;
  position: relative;
  cursor: pointer;
}

.header-lang-dropdown.landing-header-lang button::before {
  position: absolute;
  font-family: bootstrap-icons !important;
  content: '\f282';
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  color: #64748b;
  pointer-events: none;
}

.header-lang-dropdown.landing-header-lang .languege__list {
  position: absolute;
  right: 0;
  top: calc(100% + 0.35rem);
  min-width: 10.5rem;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  transform: translateY(-6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 60;
}

.header-lang-dropdown.landing-header-lang:hover .languege__list,
.header-lang-dropdown.landing-header-lang:focus-within .languege__list {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.header-lang-dropdown.landing-header-lang .languege__list a {
  display: block;
  padding: 0.45rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #041226;
  text-decoration: none;
}

.header-lang-dropdown.landing-header-lang .languege__list a:hover,
.header-lang-dropdown.landing-header-lang .languege__list a[aria-current='true'] {
  background: rgba(66, 41, 255, 0.08);
  color: #4229ff;
}

.theme-dark-active .header-lang-dropdown.landing-header-lang button {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.theme-dark-active .header-lang-dropdown.landing-header-lang .languege__list {
  background: #2a2a32;
  border-color: rgba(255, 255, 255, 0.1);
}

.theme-dark-active .header-lang-dropdown.landing-header-lang .languege__list a {
  color: rgba(255, 255, 255, 0.9);
}

.landing-mobile-menu-extra .header-lang-dropdown.landing-header-lang {
  max-width: 12rem;
}

@media (max-width: 991px) {
  .landing-hero-preview {
    transform: none;
    max-width: 420px;
    margin: 0 auto;
  }
}

/* Scroll to top (marketing pages) ---------------------------------------- */
.flow-scroll-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1050;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #4229ff;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(66, 41, 255, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.5rem);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}

.flow-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.flow-scroll-top:hover {
  color: #fff;
  background: #2f1fd4;
}

.flow-scroll-top i {
  font-size: 1.15rem;
}

@media (max-width: 576px) {
  .flow-scroll-top {
    right: 1rem;
    bottom: 1rem;
    width: 2.5rem;
    height: 2.5rem;
  }
}

/* --------------------------------------------------------------------------
   Sticky glass header
   -------------------------------------------------------------------------- */
.flow-landing {
  --landing-header-height: 76px;
  padding-top: var(--landing-header-height);
}

.landing-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1040;
}

.landing-header__bar {
  background: rgba(248, 250, 252, 0.72) !important;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.landing-header.is-scrolled .landing-header__bar {
  background: rgba(255, 255, 255, 0.88) !important;
  border-bottom-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}

/* Dark theme class is on <html>, .flow-landing on <body> — do not combine on one element */
.theme-dark-active .landing-header .landing-header__bar {
  background: rgba(26, 26, 26, 0.78) !important;
  border-bottom-color: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.theme-dark-active .landing-header.is-scrolled .landing-header__bar {
  background: rgba(18, 18, 18, 0.94) !important;
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.flow-landing .landing-header .header-area {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.flow-landing .landing-header .main-nav ul li a {
  font-weight: 600;
  font-size: 0.9375rem;
}

.theme-dark-active .landing-header .main-nav ul li a {
  color: rgba(255, 255, 255, 0.92) !important;
}

.theme-dark-active .landing-header .main-nav ul li a:hover {
  color: #ffffff !important;
}

.theme-dark-active .landing-header-login.btn-pill-v1.btn-outline {
  color: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
}

.theme-dark-active .landing-header-login.btn-pill-v1.btn-outline:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
}

.theme-dark-active .header-lang-dropdown.landing-header-lang button::before {
  color: rgba(255, 255, 255, 0.65);
}

/* --------------------------------------------------------------------------
   Audience („Für wen?“)
   -------------------------------------------------------------------------- */
.landing-audience__section {
  padding: clamp(64px, 8vw, 88px) 0;
  background: #f8fafc;
}

.theme-dark-active .landing-audience__section {
  background: #1a1a1a !important;
}

.landing-audience__lead {
  max-width: 36rem;
  margin: 0 auto 2.25rem;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #63666c;
}

.theme-dark-active .landing-audience__lead {
  color: rgba(255, 255, 255, 0.75);
}

.landing-audience__card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  height: 100%;
  padding: 1.25rem 1.2rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.landing-audience__card:hover {
  transform: translateY(-2px);
  border-color: rgba(66, 41, 255, 0.14);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.theme-dark-active .landing-audience__card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.landing-audience__icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(66, 41, 255, 0.08);
  color: #4229ff;
  font-size: 1.15rem;
}

.landing-audience__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: #041226;
}

.theme-dark-active .landing-audience__title {
  color: #fff;
}

.landing-audience__text {
  margin: 0 0 0.65rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #63666c;
}

.theme-dark-active .landing-audience__text {
  color: rgba(255, 255, 255, 0.75);
}

.landing-audience__link {
  font-size: 0.875rem;
  font-weight: 700;
  color: #4229ff;
  text-decoration: none;
}

.landing-audience__link:hover {
  color: #2f1fd4;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Pricing cards (landing polish)
   -------------------------------------------------------------------------- */
.flow-landing .landing-pricing .pricing__card--featured {
  transform: none;
}

@media (min-width: 992px) {
  .flow-landing .landing-pricing__col--featured {
    order: 0;
  }

  .flow-landing .landing-pricing__card.pricing__card--featured {
    border-width: 2px;
    box-shadow: 0 16px 40px rgba(66, 41, 255, 0.14);
  }
}

.flow-landing .landing-pricing__card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
}

.flow-landing .landing-pricing__head {
  margin-bottom: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.theme-dark-active .flow-landing .landing-pricing__head {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.flow-landing .landing-pricing__amount {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
}

.flow-landing .landing-pricing__amount .pricing__price {
  margin-bottom: 0;
  font-size: 2.35rem;
  letter-spacing: -0.02em;
}

.flow-landing .landing-pricing__amount .pricing__period {
  font-weight: 600;
  opacity: 0.75;
}

.flow-landing .landing-pricing .pricing__features {
  flex: 1 1 auto;
}

.flow-landing .landing-pricing .pricing__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed rgba(15, 23, 42, 0.06);
}

.flow-landing .landing-pricing .pricing__features li:last-child {
  border-bottom: none;
}

.flow-landing .landing-pricing .pricing__features li::before {
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.flow-landing .landing-pricing .pricing__button {
  margin-top: auto;
  border-radius: 999px;
}

.flow-landing .landing-pricing .pricing__card--featured .pricing__button {
  box-shadow: 0 6px 20px rgba(66, 41, 255, 0.25);
}

