/* ===========================================================
   SoulfulSync — Social Hub PREMIUM FULL CANVAS 3.6.3
=========================================================== */

.ss-social--full,
.ss-social {
  --ss-social-max: var(--ss-canvas-max, 1280px);
  --ss-social-pad: var(--ss-canvas-pad, clamp(18px, 3.2vw, 40px));
  position: relative;
  width: 100%;
  min-height: calc(100svh - 72px);
  overflow-x: clip;
  color: var(--ss-ink);
  background: var(--ss-bg);
  padding: 0 0 clamp(48px, 7vw, 88px);
}

.ss-social__ambient {
  position: absolute;
  inset: 0 0 auto 0;
  height: min(720px, 80svh);
  pointer-events: none;
  background:
    radial-gradient(1100px 520px at 10% 0%, rgba(110, 92, 230, 0.18), transparent 58%),
    radial-gradient(900px 420px at 92% 18%, rgba(232, 120, 154, 0.1), transparent 52%);
}

html[data-theme="dark"] .ss-social__ambient {
  background:
    radial-gradient(1100px 520px at 10% 0%, rgba(110, 92, 230, 0.3), transparent 58%),
    radial-gradient(900px 420px at 92% 18%, rgba(232, 120, 154, 0.14), transparent 52%);
}

.ss-social__inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--ss-social-max));
  margin-inline: auto;
  padding: clamp(28px, 4vw, 48px) var(--ss-social-pad) 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3.5vw, 36px);
}

.ss-social__eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ss-violet, #6e5ce6);
}

/* —— Hero panel —— */
.ss-social__hero-panel {
  border-radius: 28px;
  padding: clamp(40px, 7vw, 72px) clamp(22px, 4vw, 48px);
  text-align: center;
  min-height: min(48svh, 420px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(145deg, rgba(110, 92, 230, 0.16), rgba(232, 120, 154, 0.08)),
    var(--ss-card);
  border: 1px solid var(--ss-border);
  box-shadow: var(--ss-shadow, 0 18px 44px rgba(40, 28, 80, 0.08));
}

.ss-social__hero-panel h1 {
  margin: 0 0 14px;
  max-width: 18ch;
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ss-ink);
}

.ss-social__lead {
  margin: 0 auto;
  max-width: 46ch;
  font-size: 1.06rem;
  line-height: 1.6;
  color: var(--ss-muted);
}

.ss-social__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.ss-social__cta--start { justify-content: flex-start; }
.ss-social__cta--end { justify-content: flex-end; margin-top: 0; }

.ss-social__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid var(--ss-border);
  background: var(--ss-card);
  color: var(--ss-ink);
  transition: transform 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease;
}

.ss-social__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.ss-social__btn--primary {
  background: linear-gradient(90deg, var(--ss-brand, #6e5ce6), #7e3af2);
  color: #fff;
  border-color: transparent;
}

.ss-social__btn--light {
  background: #fff;
  color: #0b1020;
  border-color: transparent;
}

.ss-social__btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

/* —— User —— */
.ss-social__user {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: clamp(18px, 2.5vw, 24px);
  border-radius: 24px;
  background: var(--ss-card);
  border: 1px solid var(--ss-border);
  box-shadow: var(--ss-shadow, 0 12px 32px rgba(15, 23, 42, 0.06));
}

.ss-social__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ss-border);
  flex: 0 0 auto;
}

.ss-social__user-copy {
  flex: 1 1 240px;
  min-width: 0;
}

.ss-social__user-copy h2 {
  margin: 0 0 4px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ss-ink);
}

.ss-social__user-copy p {
  margin: 0;
  color: var(--ss-muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.ss-social__user > .ss-social__btn {
  margin-left: auto;
}

/* —— Feature cards —— */
.ss-social__feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 1023px) {
  .ss-social__feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ss-social__card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px 22px;
  border-radius: 22px;
  background: var(--ss-card);
  border: 1px solid var(--ss-border);
  box-shadow: var(--ss-shadow, 0 10px 28px rgba(15, 23, 42, 0.06));
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ss-social__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
  border-color: rgba(110, 92, 230, 0.35);
}

.ss-social__card-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: #fff;
  background: linear-gradient(145deg, #7e3af2, #5b8def);
  box-shadow: 0 10px 22px rgba(126, 58, 242, 0.28);
}

.ss-social__card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ss-ink);
}

.ss-social__card p {
  margin: 0 0 16px;
  color: var(--ss-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  flex: 1;
}

.ss-social__card-go {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ss-violet, #6e5ce6);
}

/* —— App split —— */
.ss-social__app {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
  padding: clamp(24px, 3.5vw, 36px);
  border-radius: 28px;
  background: var(--ss-card);
  border: 1px solid var(--ss-border);
  box-shadow: var(--ss-shadow, 0 12px 32px rgba(15, 23, 42, 0.06));
}

.ss-social__app-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ss-ink);
}

.ss-social__app-copy > p {
  margin: 0;
  color: var(--ss-muted);
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 42ch;
}

.ss-social__app-visual {
  display: grid;
  place-items: center;
}

.ss-social__phone {
  width: 160px;
  height: 280px;
  border-radius: 28px;
  padding: 18px 14px;
  box-sizing: border-box;
  background: linear-gradient(180deg, #1c1929, #151222);
  border: 2px solid rgba(184, 168, 255, 0.28);
  box-shadow: 0 22px 44px rgba(40, 28, 80, 0.28);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ss-social__phone-notch {
  width: 56px;
  height: 8px;
  border-radius: 999px;
  margin: 0 auto 8px;
  background: rgba(255, 255, 255, 0.12);
}

.ss-social__phone-line {
  height: 12px;
  border-radius: 999px;
  background: rgba(155, 140, 255, 0.35);
}

.ss-social__phone-line--short { width: 62%; }

.ss-social__phone-dot {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  margin-top: auto;
  background: linear-gradient(145deg, #7e3af2, #e8789a);
}

/* —— Band CTA —— */
.ss-social__band {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  min-height: 220px;
  display: flex;
  align-items: center;
  color: #fff;
  background: linear-gradient(145deg, #7e3af2 0%, #5b8def 100%);
  box-shadow: 0 18px 42px rgba(67, 56, 202, 0.28);
}

.ss-social__band-bg {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 140%;
  background:
    radial-gradient(600px 220px at 20% 10%, rgba(255, 255, 255, 0.18), transparent 60%),
    radial-gradient(600px 220px at 80% 90%, rgba(255, 255, 255, 0.12), transparent 60%);
  pointer-events: none;
}

.ss-social__band-copy {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 4vw, 44px);
  max-width: 42rem;
}

.ss-social__band-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  letter-spacing: -0.02em;
}

.ss-social__band-copy > p {
  margin: 0;
  opacity: 0.94;
  font-size: 1.02rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .ss-social__feature-grid {
    grid-template-columns: 1fr;
  }

  .ss-social__app {
    grid-template-columns: 1fr;
  }

  .ss-social__user > .ss-social__btn,
  .ss-social__cta--end {
    width: 100%;
  }

  .ss-social__cta--end .ss-social__btn {
    flex: 1 1 auto;
  }

  .ss-social__user > .ss-social__btn {
    margin-left: 0;
  }

  .ss-social__hero-panel {
    min-height: 0;
  }
}
