/**
 * SwissFans — /creator-schweiz SEO landing (Phase 3 visual polish)
 * Dark/pink/purple premium look; mobile-first; no SEO-text-wall layout.
 */

.sf-cs {
  overflow-x: hidden;
}

.sf-cs__topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(21, 10, 22, 0.88);
  border-bottom: 1px solid rgba(46, 26, 50, 0.95);
}

.sf-cs__topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.sf-cs__nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.sf-cs__nav a {
  color: #f7eef8;
  text-decoration: none;
  font-size: 0.92rem;
  opacity: 0.9;
}

.sf-cs__nav a:hover {
  opacity: 1;
  color: #e91e8c;
}

/* —— Hero —— */
.sf-cs__hero {
  padding: 2.75rem 0 1.75rem;
}

.sf-cs__hero-inner {
  max-width: 38rem;
}

.sf-cs__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a7a8d;
}

.sf-cs__h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.75rem, 5vw, 2.65rem);
  line-height: 1.12;
  font-weight: 700;
  color: #f7eef8;
  letter-spacing: -0.02em;
}

.sf-cs__lead {
  margin: 0 0 1.35rem;
  font-size: 1.02rem;
  line-height: 1.6;
  color: #c9b8cc;
  max-width: 34rem;
}

.sf-cs__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* —— Sections —— */
.sf-cs__section {
  padding: 1.75rem 0;
}

.sf-cs__section--intro {
  padding-top: 0.35rem;
  padding-bottom: 1.1rem;
}

.sf-cs__section--cards {
  padding-top: 0.5rem;
  padding-bottom: 2rem;
}

.sf-cs__intro,
.sf-cs__community {
  max-width: 38rem;
}

.sf-cs__intro h2,
.sf-cs__community h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  color: #f7eef8;
  line-height: 1.25;
}

.sf-cs__intro p,
.sf-cs__community p {
  margin: 0 0 0.75rem;
  color: #c9b8cc;
  line-height: 1.65;
  font-size: 0.98rem;
}

.sf-cs__intro p:last-child,
.sf-cs__community p:last-child {
  margin-bottom: 0;
}

.sf-cs__community a {
  color: #e91e8c;
  font-weight: 600;
  text-decoration: none;
}

.sf-cs__community a:hover {
  text-decoration: underline;
}

.sf-cs__section-head {
  margin-bottom: 1.15rem;
}

.sf-cs__section-head--center {
  text-align: center;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.sf-cs__section-title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.3rem, 3vw, 1.55rem);
  color: #f7eef8;
  line-height: 1.25;
}

.sf-cs__section-sub {
  margin: 0;
  color: #8a7a8d;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* —— Creator grid —— */
.sf-cs__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.85rem;
}

@media (min-width: 400px) {
  .sf-cs__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

@media (min-width: 720px) {
  .sf-cs__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem;
  }
}

@media (min-width: 1024px) {
  .sf-cs__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
}

.sf-cs__card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  padding: 0.7rem;
  border-radius: 16px;
  border: 1px solid rgba(46, 26, 50, 0.95);
  background: linear-gradient(165deg, rgba(42, 22, 48, 0.92), rgba(28, 15, 31, 0.88));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 0;
}

.sf-cs__card:hover {
  border-color: rgba(233, 30, 140, 0.65);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.sf-cs__card:focus-visible {
  outline: 2px solid #e91e8c;
  outline-offset: 2px;
}

.sf-cs__card-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(145deg, #3a2144 0%, #2e1a32 45%, #1c0f1f 100%);
  flex-shrink: 0;
}

.sf-cs__card-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.35rem, 6vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #f7eef8;
  background:
    radial-gradient(circle at 30% 25%, rgba(233, 30, 140, 0.28), transparent 55%),
    linear-gradient(145deg, #3a2144 0%, #2e1a32 50%, #1c0f1f 100%);
  z-index: 0;
  user-select: none;
  pointer-events: none;
}

.sf-cs__card-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #2e1a32;
}

.sf-cs__card-img.is-broken {
  display: none !important;
}

.sf-cs__card-media--fallback .sf-cs__card-img {
  display: none !important;
}

.sf-cs__card-sr-alt {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sf-cs__card-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  padding: 0 0.15rem 0.15rem;
}

.sf-cs__card-name {
  display: block;
  font-weight: 650;
  color: #f7eef8;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sf-cs__card-user {
  display: block;
  font-size: 0.8rem;
  color: #8a7a8d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sf-cs__card-bio {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 0.3rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #c9b8cc;
}

.sf-cs__more {
  margin: 1.35rem 0 0;
  text-align: center;
}

.sf-cs__more a {
  color: #e91e8c;
  font-weight: 600;
  text-decoration: none;
}

.sf-cs__more a:hover {
  text-decoration: underline;
}

/* —— How it works —— */
.sf-cs__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .sf-cs__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

.sf-cs__step {
  margin: 0;
  padding: 1.15rem 1.1rem 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(46, 26, 50, 0.95);
  background: rgba(28, 15, 31, 0.72);
}

.sf-cs__step-num {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #e91e8c;
}

.sf-cs__step-title {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 650;
  color: #f7eef8;
}

.sf-cs__step p {
  margin: 0;
  color: #c9b8cc;
  font-size: 0.92rem;
  line-height: 1.55;
}

/* —— Fan / Creator panels —— */
.sf-cs__split-grid {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 768px) {
  .sf-cs__split-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
  }
}

.sf-cs__panel {
  margin: 0;
  padding: 1.35rem 1.25rem 1.4rem;
  border-radius: 16px;
  border: 1px solid rgba(46, 26, 50, 0.95);
  background: linear-gradient(160deg, rgba(46, 26, 50, 0.55), rgba(28, 15, 31, 0.85));
}

.sf-cs__panel h2 {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
  color: #f7eef8;
}

.sf-cs__panel p {
  margin: 0 0 0.85rem;
  color: #c9b8cc;
  line-height: 1.6;
  font-size: 0.95rem;
}

.sf-cs__panel-cta {
  margin: 0 !important;
}

/* —— FAQ —— */
.sf-cs__faq {
  max-width: 42rem;
  margin: 0 auto;
}

.sf-cs__faq-item {
  border: 1px solid rgba(46, 26, 50, 0.95);
  border-radius: 14px;
  padding: 0;
  margin-bottom: 0.55rem;
  background: rgba(28, 15, 31, 0.65);
  overflow: hidden;
}

.sf-cs__faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 650;
  color: #f7eef8;
  padding: 0.95rem 1.1rem;
  position: relative;
  padding-right: 2.4rem;
}

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

.sf-cs__faq-item summary::after {
  content: '+';
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #e91e8c;
  font-weight: 700;
  font-size: 1.1rem;
}

.sf-cs__faq-item[open] summary::after {
  content: '–';
}

.sf-cs__faq-item p {
  margin: 0;
  padding: 0 1.1rem 1rem;
  color: #c9b8cc;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* —— Final CTA —— */
.sf-cs__cta-band {
  padding-bottom: 2.75rem;
}

.sf-cs__cta-band-inner {
  text-align: center;
  padding: 1.85rem 1.15rem;
  border-radius: 18px;
  border: 1px solid rgba(46, 26, 50, 0.95);
  background: linear-gradient(160deg, rgba(233, 30, 140, 0.14), rgba(28, 15, 31, 0.92));
}

.sf-cs__cta-title {
  margin: 0 0 0.45rem;
  color: #f7eef8;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}

.sf-cs__cta-text {
  margin: 0 0 1.15rem;
  color: #c9b8cc;
  font-size: 0.98rem;
}

.sf-cs__cta-band-inner .sf-cs__ctas {
  justify-content: center;
}

/* —— Responsive polish —— */
@media (max-width: 430px) {
  .sf-cs__nav a:last-child {
    display: none;
  }

  .sf-cs__hero {
    padding: 2rem 0 1.2rem;
  }

  .sf-cs__h1 {
    font-size: clamp(1.55rem, 7.2vw, 1.95rem);
    line-height: 1.18;
  }

  .sf-cs__lead {
    font-size: 0.98rem;
  }

  .sf-cs__ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .sf-cs__ctas > * ,
  .sf-cs__ctas .sf-btn {
    width: 100%;
    min-height: 2.75rem;
  }

  .sf-cs__cta-band-inner .sf-cs__ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .sf-cs__card {
    padding: 0.7rem;
    border-radius: 14px;
  }

  .sf-cs__card-name {
    font-size: 0.95rem;
  }

  .sf-cs__card-user {
    font-size: 0.82rem;
  }

  .sf-cs__faq-item summary {
    min-height: 3rem;
    padding: 1rem 2.5rem 1rem 1rem;
    font-size: 0.98rem;
  }

  .sf-cs__panel {
    padding: 1.2rem 1.1rem 1.25rem;
  }

  .sf-cs__section {
    padding: 1.5rem 0;
  }
}

@media (min-width: 431px) and (max-width: 767px) {
  .sf-cs__ctas {
    flex-wrap: wrap;
  }

  .sf-cs__ctas > * {
    flex: 1 1 calc(50% - 0.35rem);
    min-height: 2.6rem;
  }
}

@media (min-width: 1024px) {
  .sf-cs__hero {
    padding: 3.25rem 0 2rem;
  }

  .sf-cs__section--intro {
    padding-bottom: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sf-cs__card {
    transition: none;
  }

  .sf-cs__card:hover {
    transform: none;
  }
}
