/* Pagina /story — campanie Instagram, aliniată la tema FAIMOS (hero-pop / brand). */

.page-story-body main {
  background: transparent;
}

.page-story {
  --story-accent: #ff9100;
  --story-accent-deep: #e85b2a;
}

.container--narrow-story {
  max-width: 52rem;
}

/* —— Hero —— */
.story-hero {
  background: linear-gradient(145deg, var(--hero-dark, #1a0f2e) 0%, var(--hero-mid, #2d1b4e) 52%, #352652 100%);
  position: relative;
  overflow: hidden;
}

.story-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse min(36rem, 92vw) 52% at 18% 20%, rgba(255, 145, 0, 0.14), transparent 62%),
    radial-gradient(ellipse min(32rem, 88vw) 48% at 88% 78%, rgba(179, 136, 255, 0.12), transparent 58%),
    radial-gradient(ellipse min(44rem, 100vw) 40% at 50% -8%, rgba(255, 255, 255, 0.06), transparent 55%);
  pointer-events: none;
}

.story-hero__inner {
  position: relative;
  z-index: 1;
}

.story-hero__kicker {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.88;
  color: rgba(255, 220, 170, 0.95);
}

.story-hero__title {
  font-size: clamp(1.35rem, 1rem + 2.2vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.3);
}

.story-hero__lead {
  font-size: clamp(0.92rem, 0.86rem + 0.35vw, 1.08rem);
  line-height: 1.55;
  opacity: 0.93;
  max-width: 40rem;
}

.story-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 145, 0, 0.35);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.story-hero__badge i {
  font-size: 1.25rem;
  color: var(--story-accent);
}

/* —— Corp: overlap peste hero —— */
.story-body {
  margin-top: -1.75rem;
  position: relative;
  z-index: 2;
  padding-bottom: 3rem;
}

@media (min-width: 992px) {
  .story-body {
    margin-top: -2.25rem;
  }
}

.story-card-lift {
  border-radius: 1rem;
  box-shadow: 0 12px 40px rgba(45, 38, 64, 0.1);
}

.story-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text, #2d2640);
  letter-spacing: -0.01em;
}

.story-section-title .mdi {
  vertical-align: -0.08em;
}

/* Pași numerotați */
.story-steps {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .story-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.story-step {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, rgba(248, 245, 255, 0.95), #fff);
  border: 1px solid rgba(124, 77, 255, 0.12);
  height: 100%;
}

.story-step__num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-orange, #ff9100), var(--brand-orange-deep, #ff6d00));
  box-shadow: 0 3px 12px rgba(255, 109, 0, 0.35);
}

.story-step__text {
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0;
  color: var(--text, #2d2640);
}

.story-step__text strong {
  color: var(--brand-purple-deep, #7c4dff);
}

/* Recompensă */
.story-reward {
  border: none;
  border-radius: 1rem;
  background: linear-gradient(135deg, #fff 0%, #fff8f3 50%, #fff5eb 100%);
  box-shadow: 0 10px 36px rgba(232, 91, 42, 0.12);
  border-left: 4px solid var(--story-accent-deep) !important;
  overflow: hidden;
}

.story-reward__amt {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--story-accent-deep), var(--brand-orange-deep, #ff6d00));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.15;
}

/* Condiții */
.story-cond-list {
  margin: 0;
  padding: 0;
}

.story-cond-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(45, 38, 64, 0.07);
}

.story-cond-list li:last-child {
  border-bottom: none;
}

.story-cond-list__icon {
  flex-shrink: 0;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: rgba(40, 167, 69, 0.12);
  color: #1e8e3e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* Bloc copiere text */
.story-copy-wrap {
  position: relative;
  border-radius: 1rem;
  padding: 1rem 1.15rem;
  background: var(--hero-dark, #1a0f2e);
  border: 1px solid rgba(255, 145, 0, 0.28);
  box-shadow: 0 12px 32px rgba(26, 15, 46, 0.25);
}

.story-copy-wrap p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.84rem;
  line-height: 1.55;
}

.story-copy-text {
  padding-right: 5.75rem;
}

@media (max-width: 575.98px) {
  .story-copy-text {
    padding-right: 0;
    padding-bottom: 3rem;
  }

  .story-copy-wrap .btn {
    top: auto !important;
    bottom: 0.5rem;
    right: 0.5rem !important;
  }
}

.story-copy-wrap .btn {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.story-copy-wrap .btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

/* Chat CTA */
.story-chat-cta {
  border-radius: 1rem;
  border: 1px dashed rgba(124, 77, 255, 0.35);
  background: linear-gradient(180deg, rgba(248, 245, 255, 0.9), #fff);
}

.story-chat-cta__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, var(--brand-purple, #b388ff), var(--brand-purple-deep, #7c4dff));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 20px rgba(124, 77, 255, 0.3);
}

/* Acordion FAQ */
.story-faq .accordion-item {
  border: none;
  margin-bottom: 0.5rem;
  border-radius: 0.85rem !important;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(45, 38, 64, 0.06);
}

.story-faq .accordion-button {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 1rem 1.15rem;
  box-shadow: none !important;
}

.story-faq .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, rgba(248, 245, 255, 1), #fff);
  color: var(--brand-purple-deep, #7c4dff);
}

.story-faq .accordion-body {
  padding: 1rem 1.15rem 1.15rem;
  font-size: 0.9rem;
  line-height: 1.55;
  background: #faf9fc;
}

/* Notă legală */
.story-footnote {
  font-size: 0.8125rem;
  line-height: 1.55;
  border-radius: 0.85rem;
}
