/* =========================================================
   SO SMOOTH FLOW — SUPREME ENTERPRISE MASTER STYLESHEET v3.0
   Production-ready global CSS for:
   index.html
   dashboard.html
   auth.html
   help.html
   contact.html
   policy.html
   terms.html
   delete.html

   Brand:
   Create Once. Flow Everywhere.
   Premium Social Command Center.
========================================================= */

/* =========================================================
   1. DESIGN TOKENS
========================================================= */

:root {
  --bg-0: #030611;
  --bg-1: #06101f;
  --bg-2: #08142a;
  --bg-3: #0b1734;

  --panel: rgba(9, 17, 38, 0.78);
  --panel-strong: rgba(10, 19, 44, 0.92);
  --panel-solid: #0a132c;
  --panel-soft: rgba(255, 255, 255, 0.045);
  --panel-softer: rgba(255, 255, 255, 0.026);

  --text: #eef8ff;
  --text-strong: #ffffff;
  --muted: #9ebfd0;
  --muted-2: #7194a8;

  --cyan: #4dfcff;
  --cyan-soft: #8fffff;
  --blue: #78a7ff;
  --violet: #b982ff;
  --pink: #ff7bc7;
  --green: #74ffbf;
  --orange: #ffbd73;
  --danger: #ff7f99;

  --line: rgba(77, 252, 255, 0.16);
  --line-strong: rgba(77, 252, 255, 0.32);
  --line-white: rgba(255, 255, 255, 0.08);
  --line-white-strong: rgba(255, 255, 255, 0.14);

  --shadow-soft: 0 0 18px rgba(77, 252, 255, 0.16);
  --shadow-med: 0 0 32px rgba(77, 252, 255, 0.22);
  --shadow-strong: 0 0 54px rgba(77, 252, 255, 0.34);
  --shadow-panel: 0 24px 70px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 16px 42px rgba(0, 0, 0, 0.34);

  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius-md: 18px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-2xl: 34px;

  --container: 1440px;
  --container-content: 1180px;
  --container-narrow: 960px;
  --nav-height: 92px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --fast: 0.2s ease;
  --med: 0.35s var(--ease);

  /*
    Background image path:
    - Use url("background.png") if background.png is beside styles.css.
    - Use url("assets/background.png") if it is inside /assets/.
  */
  --site-background-image: url("assets/background.png");

  --glass-bg:
    linear-gradient(180deg, rgba(11, 21, 47, 0.88), rgba(6, 12, 28, 0.76));

  --glass-fx:
    radial-gradient(circle at 12% 0%, rgba(77, 252, 255, 0.12), transparent 28%),
    radial-gradient(circle at 100% 10%, rgba(185, 130, 255, 0.12), transparent 30%),
    radial-gradient(circle at 50% 100%, rgba(120, 167, 255, 0.08), transparent 32%);
}

/* =========================================================
   2. RESET / BASE
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /*
    Supreme background system:
    1. Premium readability overlay
    2. Neon glow accents
    3. Actual background.png image
    4. Fallback dark gradient
  */
  background:
    linear-gradient(
      180deg,
      rgba(3, 6, 17, 0.54) 0%,
      rgba(3, 6, 17, 0.66) 42%,
      rgba(3, 6, 17, 0.84) 100%
    ),
    radial-gradient(circle at 12% 14%, rgba(77, 252, 255, 0.18), transparent 25%),
    radial-gradient(circle at 86% 10%, rgba(185, 130, 255, 0.16), transparent 25%),
    radial-gradient(circle at 50% 88%, rgba(120, 167, 255, 0.12), transparent 32%),
    var(--site-background-image),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 42%, var(--bg-0) 100%);

  background-size:
    cover,
    auto,
    auto,
    auto,
    cover,
    cover;

  background-position:
    center,
    center,
    center,
    center,
    center,
    center;

  background-repeat:
    no-repeat,
    no-repeat,
    no-repeat,
    no-repeat,
    no-repeat,
    no-repeat;

  background-attachment:
    fixed,
    fixed,
    fixed,
    fixed,
    fixed,
    fixed;
}

/* Premium glass readability layer + subtle digital grid */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(3, 6, 17, 0.76) 0%,
      rgba(3, 6, 17, 0.28) 42%,
      rgba(3, 6, 17, 0.68) 100%
    ),
    linear-gradient(
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px
    );

  background-size:
    cover,
    42px 42px,
    42px 42px;

  background-position:
    center,
    center,
    center;

  mask-image: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.92),
    rgba(255, 255, 255, 0.18)
  );
}

/* Soft animated neon aura over the background */
body::after {
  content: "";
  position: fixed;
  inset: -25%;
  z-index: -3;
  pointer-events: none;
  opacity: 0.62;
  filter: blur(82px);
  background:
    conic-gradient(
      from 180deg at 50% 50%,
      rgba(77, 252, 255, 0.08),
      transparent 18%,
      rgba(185, 130, 255, 0.10),
      transparent 38%,
      rgba(120, 167, 255, 0.08),
      transparent 60%,
      rgba(77, 252, 255, 0.06),
      transparent 84%
    );
  animation: ssfAuroraSpin 22s linear infinite;
}

@keyframes ssfAuroraSpin {
  from {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(1.04);
  }

  to {
    transform: rotate(360deg) scale(1);
  }
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video,
canvas,
svg {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  color: #04111f;
  background: var(--cyan);
}

.hidden,
.ssf-hidden {
  display: none !important;
}

/* Mobile performance fix: fixed background can lag on phones/tablets */
@media (max-width: 760px) {
  body {
    background-attachment:
      scroll,
      scroll,
      scroll,
      scroll,
      scroll,
      scroll;

    background-position:
      center top,
      center,
      center,
      center,
      center top,
      center;
  }

  body::before,
  body::after {
    position: fixed;
  }
}
/* =========================================================
   3. FORM SYSTEM
========================================================= */

input,
textarea,
select,
.ssf-input,
.ssf-select,
.ssf-textarea,
.input {
  width: 100%;
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(77, 252, 255, 0.15);
  outline: none;
  color: var(--text-strong);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(255, 255, 255, 0.025));
  padding: 14px 15px;
  transition:
    border-color var(--fast),
    box-shadow var(--fast),
    transform var(--fast),
    background var(--fast);
}

textarea,
.ssf-textarea {
  min-height: 165px;
  resize: vertical;
  line-height: 1.72;
}

select {
  cursor: pointer;
}

input::placeholder,
textarea::placeholder,
.input::placeholder,
.ssf-input::placeholder,
.ssf-textarea::placeholder {
  color: #8dadbf;
}

input:focus,
textarea:focus,
select:focus,
.ssf-input:focus,
.ssf-select:focus,
.ssf-textarea:focus,
.input:focus {
  border-color: rgba(77, 252, 255, 0.42);
  box-shadow:
    0 0 0 4px rgba(77, 252, 255, 0.08),
    0 0 22px rgba(77, 252, 255, 0.10);
  transform: translateY(-1px);
}

.field-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  color: var(--cyan-soft);
  font-size: 0.92rem;
  font-weight: 800;
}

.field-label i {
  color: var(--cyan);
}

.field-grid,
.schedule-grid,
.two-column-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.three-column-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* =========================================================
   4. BACKGROUND FX
========================================================= */

.electric-background,
.dashboard-aurora {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  overflow: hidden;
}

.bolt,
.dashboard-aurora .beam {
  position: absolute;
  top: -20vh;
  width: 1px;
  height: 130vh;
  opacity: 0;
  background: linear-gradient(to bottom, transparent, rgba(77, 252, 255, 0.72), transparent);
  filter: drop-shadow(0 0 12px rgba(77, 252, 255, 0.55));
  animation: ssfBoltMove 12s linear infinite;
}

.bolt1,
.dashboard-aurora .beam:nth-child(1) { left: 12%; animation-delay: 0s; }

.bolt2,
.dashboard-aurora .beam:nth-child(2) { left: 36%; animation-delay: 2.4s; }

.bolt3,
.dashboard-aurora .beam:nth-child(3) { left: 62%; animation-delay: 4.8s; }

.dashboard-aurora .beam:nth-child(4) { left: 86%; animation-delay: 7.2s; }

@keyframes ssfBoltMove {
  0% { transform: translateY(-100%) scaleY(0.8); opacity: 0; }
  12% { opacity: 0.26; }
  42% { opacity: 0.38; }
  100% { transform: translateY(125%) scaleY(1.08); opacity: 0; }
}

/* =========================================================
   5. GLOBAL LAYOUT
========================================================= */

.page-wrap,
.landing-wrap,
.contact-wrap,
.help-wrap,
.policy-wrap,
.terms-wrap,
.delete-wrap,
.dashboard-main-shell {
  width: min(calc(100% - 28px), var(--container));
  margin-inline: auto;
}

.page-wrap {
  max-width: var(--container-narrow);
  padding: 34px 0 46px;
}

.landing-wrap,
.contact-wrap,
.help-wrap,
.policy-wrap,
.terms-wrap,
.delete-wrap {
  padding: 28px 0 52px;
}

.dashboard-main-shell {
  padding: 22px 0 38px;
}

.page-wrap-narrow {
  width: min(calc(100% - 28px), var(--container-content));
  margin-inline: auto;
}

.section-shell,
.plan-shell,
.cta-shell,
.hero-shell,
.contact-hero,
.contact-card,
.contact-cta,
.help-hero,
.help-card,
.help-cta,
.policy-hero,
.policy-card,
.policy-cta,
.terms-hero,
.terms-card,
.terms-cta,
.delete-shell,
.delete-card,
.delete-cta,
.action-shell,
.dashboard-card,
.account-banner,
.dashboard-footer,
.preview-card,
.queue-card,
.connect-card,
.auth-card,
.metric-card,
.glow-card,
.glass-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(77, 252, 255, 0.15);
  background: var(--glass-bg);
  box-shadow: var(--shadow-panel);
}

.section-shell::before,
.plan-shell::before,
.cta-shell::before,
.hero-shell::before,
.contact-hero::before,
.contact-card::before,
.contact-cta::before,
.help-hero::before,
.help-card::before,
.help-cta::before,
.policy-hero::before,
.policy-card::before,
.policy-cta::before,
.terms-hero::before,
.terms-card::before,
.terms-cta::before,
.delete-shell::before,
.delete-card::before,
.delete-cta::before,
.action-shell::before,
.dashboard-card::before,
.account-banner::before,
.dashboard-footer::before,
.preview-card::before,
.queue-card::before,
.connect-card::before,
.auth-card::before,
.metric-card::before,
.glow-card::before,
.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--glass-fx);
  pointer-events: none;
}

.section-inner,
.plan-inner,
.cta-inner,
.hero-inner,
.contact-hero-inner,
.contact-card-inner,
.contact-cta-inner,
.help-hero-inner,
.help-card-inner,
.help-cta-inner,
.policy-hero-inner,
.policy-card-inner,
.policy-cta-inner,
.terms-hero-inner,
.terms-card-inner,
.terms-cta-inner,
.delete-shell-inner,
.delete-card-inner,
.delete-cta-inner,
.action-shell,
.dashboard-card-inner,
.account-banner-inner,
.dashboard-footer-inner {
  position: relative;
  z-index: 1;
  padding: clamp(20px, 3vw, 32px);
}

.section-head,
.section-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.section-head h2,
.section-head h3,
.section-title-wrap h2 {
  margin: 0 0 8px;
  color: var(--text-strong);
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.18;
}

.section-head p,
.section-title-wrap p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.75;
}

.button-row,
.form-actions,
.hero-chip-row,
.hero-actions,
.hero-secondary,
.hero-meta,
.footer-socials,
.dashboard-footer-links,
.footer-links,
.chip-row,
.account-state-actions,
.preview-platforms,
.composer-tools,
.post-actions,
.queue-actions,
.connect-actions,
.auth-card-actions,
.pricing-card-actions,
.section-actions,
.top-actions,
.upgrade-popup-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}


/* =========================================================
   6. TYPOGRAPHY / BADGES
========================================================= */

.glow {
  color: var(--cyan);
  text-shadow:
    0 0 12px rgba(77, 252, 255, 0.88),
    0 0 36px rgba(77, 252, 255, 0.55);
}

.glow-link {
  color: var(--cyan);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.glow-link:hover {
  color: #fff;
  text-shadow: 0 0 14px rgba(77, 252, 255, 0.75);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 0 0 16px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(77, 252, 255, 0.18);
  background: rgba(77, 252, 255, 0.08);
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title,
.contact-title,
.help-title,
.policy-title,
.terms-title,
.delete-title,
.title {
  margin: 0 0 14px;
  color: var(--text-strong);
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2.05rem, 4vw, 4.2rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.hero-title span,
.contact-title span,
.help-title span,
.policy-title span,
.terms-title span,
.delete-title span,
.title span {
  color: transparent;
  background: linear-gradient(135deg, #ffffff 0%, var(--cyan) 36%, #d5ecff 62%, #edd9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-subtitle,
.contact-subtitle,
.help-subtitle,
.policy-subtitle,
.terms-subtitle,
.delete-subtitle,
.muted-copy,
.mini-note,
.metric-copy,
.preview-schedule-line,
.connect-card p,
.auth-card p,
.workflow-card p,
.benefit-card p,
.pricing-card-pro p,
.checkout-status-card span,
.contact-side-box p,
.help-side-box p,
.resource-card p,
.support-lane p,
.expect-card p,
.info-card p,
.lane-card p,
.status-body,
.small-note,
.inline-note {
  color: var(--muted);
  line-height: 1.75;
}

.ssf-pill,
.hero-meta-pill,
.chip,
.connect-pill,
.status-badge,
.plan-badge,
.plan-pill,
.plan-pill-live,
.platform-lock-badge,
.popup-badge,
.policy-meta,
.terms-meta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 800;
  border: 1px solid rgba(77, 252, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.ssf-pill i,
.hero-meta-pill i,
.chip i,
.connect-pill i,
.status-badge i,
.plan-badge i,
.plan-pill i,
.plan-pill-live i,
.platform-lock-badge i,
.popup-badge i,
.policy-meta i,
.terms-meta i {
  color: var(--cyan);
}

.ssf-live-dot {
  width: 9px;
  height: 9px;
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green), 0 0 22px rgba(116, 255, 191, 0.5);
  animation: ssfPulseDot 1.7s ease-in-out infinite;
}

@keyframes ssfPulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.72; transform: scale(1.35); }
}

.status-live {
  color: #dcfff1;
  border-color: rgba(116, 255, 191, 0.24);
  background: rgba(116, 255, 191, 0.10);
}

.status-warning {
  color: #ffe7bf;
  border-color: rgba(255, 189, 115, 0.24);
  background: rgba(255, 189, 115, 0.10);
}

.status-danger {
  color: #ffd8df;
  border-color: rgba(255, 127, 153, 0.24);
  background: rgba(255, 127, 153, 0.10);
}

.status-muted {
  color: #d8e4ff;
  border-color: rgba(120, 167, 255, 0.22);
  background: rgba(120, 167, 255, 0.08);
}

/* =========================================================
   7. BUTTON SYSTEM
========================================================= */

.ssf-btn,
.btn,
.cta-button,
.nav-btn,
.mobile-nav-btn,
.sidebar-link,
.tool-btn,
.template-btn,
.connect-btn,
.auth-card-action,
.queue-action-btn,
.logout-btn,
.queue-item-btn {
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 13px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-strong);
  font-size: 0.95rem;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
  transition:
    transform var(--fast),
    border-color var(--fast),
    box-shadow var(--fast),
    background var(--fast),
    opacity var(--fast);
}

.ssf-btn:disabled,
.btn:disabled,
.connect-btn:disabled,
.tool-btn:disabled,
.template-btn:disabled,
.queue-action-btn:disabled,
.queue-item-btn:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none !important;
  box-shadow: none !important;
}

.ssf-btn-primary,
.btn-primary,
.cta-button.neon {
  color: #03111f;
  background: linear-gradient(135deg, var(--cyan), #9dffff 48%, #dffeff 100%);
  box-shadow:
    0 12px 30px rgba(77, 252, 255, 0.30),
    inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.ssf-btn-primary:hover,
.btn-primary:hover,
.cta-button.neon:hover {
  transform: translateY(-2px) scale(1.018);
  box-shadow:
    0 18px 44px rgba(77, 252, 255, 0.38),
    0 0 30px rgba(77, 252, 255, 0.22);
}

.ssf-btn-secondary,
.btn-secondary,
.cta-button.neon-alt,
.nav-btn,
.mobile-nav-btn,
.sidebar-link,
.tool-btn,
.template-btn,
.connect-btn,
.auth-card-action,
.queue-action-btn,
.logout-btn,
.queue-item-btn {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(255, 255, 255, 0.095);
}

.ssf-btn-secondary:hover,
.btn-secondary:hover,
.cta-button.neon-alt:hover,
.nav-btn:hover,
.mobile-nav-btn:hover,
.sidebar-link:hover,
.tool-btn:hover,
.template-btn:hover,
.connect-btn:hover,
.auth-card-action:hover,
.queue-action-btn:hover,
.logout-btn:hover,
.queue-item-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(77, 252, 255, 0.26);
  box-shadow: 0 0 24px rgba(77, 252, 255, 0.14);
}

.ssf-btn-danger,
.queue-item-btn.danger {
  color: #fff;
  border: 1px solid rgba(255, 127, 153, 0.26);
  background: linear-gradient(135deg, rgba(255, 127, 153, 0.28), rgba(255, 123, 199, 0.10));
}

.ssf-btn-danger:hover,
.queue-item-btn.danger:hover {
  box-shadow: 0 0 24px rgba(255, 127, 153, 0.18);
}

/* =========================================================
   8. NAVIGATION
========================================================= */

.ssf-topbar,
.ssf-header,
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(77, 252, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(2, 7, 18, 0.95), rgba(5, 10, 24, 0.86));
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
}

.ssf-topbar-inner,
.ssf-header-inner,
.topbar-inner {
  width: min(calc(100% - 28px), var(--container));
  min-height: var(--nav-height);
  margin-inline: auto;
  padding: 16px 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.ssf-brand,
.ssf-logo,
.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
  color: #fff;
}

.ssf-brand-mark,
.brand-mark {
  position: relative;
  overflow: hidden;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 19px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 28% 28%, rgba(255, 255, 255, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(77, 252, 255, 0.22), rgba(120, 167, 255, 0.15), rgba(185, 130, 255, 0.22));
  box-shadow:
    0 0 0 1px rgba(77, 252, 255, 0.10),
    0 0 30px rgba(77, 252, 255, 0.22);
}

.ssf-brand-mark::before,
.brand-mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.20), transparent);
  transform: translateX(-140%);
  animation: ssfShine 5s ease-in-out infinite;
}

@keyframes ssfShine {
  0%, 76%, 100% { transform: translateX(-140%); }
  88% { transform: translateX(140%); }
}

.ssf-brand-mark i,
.ssf-logo i,
.brand-mark i {
  color: var(--cyan);
  font-size: 1.35rem;
  text-shadow: 0 0 16px rgba(77, 252, 255, 0.86);
  z-index: 1;
}

.ssf-brand-copy,
.brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.ssf-brand-copy strong,
.ssf-logo span,
.brand-copy strong {
  color: #fff;
  font-family: "Orbitron", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ssf-brand-copy span,
.brand-copy span {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ssf-topnav,
.ssf-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ssf-topnav a,
.ssf-nav a {
  padding: 11px 15px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.02);
  transition: var(--fast);
}

.ssf-topnav a:hover,
.ssf-topnav a.active,
.ssf-nav a:hover,
.ssf-nav a.active,
.nav-btn.active,
.mobile-nav-btn.active {
  color: #fff;
  border-color: rgba(77, 252, 255, 0.26);
  background: linear-gradient(180deg, rgba(77, 252, 255, 0.10), rgba(185, 130, 255, 0.075));
  box-shadow: 0 0 18px rgba(77, 252, 255, 0.14);
  transform: translateY(-1px);
}

.ssf-userbar,
.ssf-header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ssf-hamburger {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  cursor: pointer;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.045);
}

.ssf-hamburger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: var(--fast);
}

.ssf-hamburger span:nth-child(1) { top: 15px; }
.ssf-hamburger span:nth-child(2) { top: 23px; }
.ssf-hamburger span:nth-child(3) { top: 31px; }

.ssf-hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.ssf-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.ssf-hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.ssf-mobile-menu {
  display: none;
  width: min(calc(100% - 28px), var(--container));
  margin-inline: auto;
  padding: 0 0 16px;
}

.ssf-mobile-menu.open {
  display: grid;
  gap: 10px;
}

/* =========================================================
   9. LANDING PAGE
========================================================= */

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: clamp(22px, 4vw, 44px);
}

.hero-visual {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 24px;
  border-radius: 30px;
  border: 1px solid rgba(77, 252, 255, 0.14);
  background:
    radial-gradient(circle at center, rgba(77, 252, 255, 0.10), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 0 32px rgba(77, 252, 255, 0.05);
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  border: 1px dashed rgba(77, 252, 255, 0.15);
}

.hero-visual::before {
  width: 265px;
  height: 265px;
  animation: ssfOrbit 20s linear infinite;
}

.hero-visual::after {
  width: 178px;
  height: 178px;
  border-color: rgba(185, 130, 255, 0.18);
  animation: ssfOrbitReverse 16s linear infinite;
}

@keyframes ssfOrbit {
  to { transform: rotate(360deg); }
}

@keyframes ssfOrbitReverse {
  to { transform: rotate(-360deg); }
}

.visual-core {
  position: relative;
  width: min(100%, 315px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(77, 252, 255, 0.26);
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.20), transparent 18%),
    radial-gradient(circle at center, rgba(77, 252, 255, 0.20), rgba(8, 14, 32, 0.92) 60%);
  box-shadow:
    0 0 30px rgba(77, 252, 255, 0.22),
    inset 0 0 34px rgba(77, 252, 255, 0.12);
}

.visual-core-content {
  display: grid;
  gap: 8px;
  text-align: center;
  padding: 20px;
  z-index: 1;
}

.visual-core-content h2 {
  margin: 0;
  color: #fff;
  font-family: "Orbitron", sans-serif;
  font-size: 1.28rem;
}

.visual-core-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.9rem;
}

.visual-node {
  position: absolute;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.32);
  animation: ssfFloatNode 4.2s ease-in-out infinite;
}

.visual-node.facebook { top: 8%; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, #1b64ff, #65b6ff); }
.visual-node.instagram { top: 28%; right: 4%; background: linear-gradient(135deg, #ff4ca8, #ff9b5e); animation-delay: 0.4s; }
.visual-node.x { bottom: 20%; right: 12%; background: linear-gradient(135deg, #0d1117, #414141); animation-delay: 0.8s; }
.visual-node.linkedin { bottom: 5%; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, #006bff, #00b7ff); animation-delay: 1.2s; }
.visual-node.tiktok { top: 28%; left: 4%; background: linear-gradient(135deg, #00f0ff, #ff3b8d); animation-delay: 1.6s; }

@keyframes ssfFloatNode {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.visual-node.facebook,
.visual-node.linkedin {
  animation-name: ssfFloatNodeCenter;
}

@keyframes ssfFloatNodeCenter {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

.workflow-grid,
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.workflow-card,
.benefit-card,
.pricing-card-pro,
.enterprise-card,
.faq-item,
.compare-row,
.lane-card,
.expect-card,
.info-card,
.resource-card,
.support-lane,
.contact-side-box,
.help-side-box,
.help-nav-box,
.status-card,
.reset-shell,
.empty-state,
.upload-drop,
.preview-post,
.mini-stat {
  position: relative;
  border-radius: 22px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.023));
  box-shadow: var(--shadow-card);
  transition:
    transform var(--fast),
    border-color var(--fast),
    box-shadow var(--fast);
}

.workflow-card:hover,
.benefit-card:hover,
.pricing-card-pro:hover,
.enterprise-card:hover,
.lane-card:hover,
.expect-card:hover,
.info-card:hover,
.resource-card:hover,
.support-lane:hover,
.contact-side-box:hover,
.help-side-box:hover,
.connect-card:hover,
.auth-card:hover {
  transform: translateY(-2px);
  border-color: rgba(77, 252, 255, 0.24);
  box-shadow:
    0 0 22px rgba(77, 252, 255, 0.10),
    var(--shadow-card);
}

.workflow-step,
.benefit-icon,
.lane-icon,
.resource-icon,
.expect-icon,
.info-icon,
.status-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--cyan);
  background: linear-gradient(135deg, rgba(77, 252, 255, 0.18), rgba(185, 130, 255, 0.15));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 18px rgba(77, 252, 255, 0.12);
}

.workflow-step {
  color: #04111f;
  font-weight: 950;
  background: linear-gradient(135deg, var(--cyan), #dffeff);
}

.workflow-card h3,
.benefit-card h3,
.pricing-card-pro h3,
.enterprise-card h3,
.lane-card h3,
.expect-card h3,
.info-card h3,
.resource-card h3,
.support-lane h3,
.contact-side-box h3,
.help-side-box h3,
.help-nav-box h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.08rem;
}

.pricing-grid-main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pricing-bottom-grid,
.pro-checkout-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: 18px;
}

.pricing-card-pro {
  display: grid;
  gap: 14px;
}

.pricing-card-pro.featured {
  border-color: rgba(77, 252, 255, 0.26);
  box-shadow:
    0 0 32px rgba(77, 252, 255, 0.15),
    var(--shadow-panel);
}

.pricing-badge,
.plan-pill-pro {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--cyan);
  border: 1px solid rgba(77, 252, 255, 0.18);
  background: rgba(77, 252, 255, 0.08);
  font-size: 0.79rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-price {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.pricing-price strong {
  color: #fff;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1;
}

.pricing-price span {
  color: var(--muted);
  padding-bottom: 4px;
}

.pricing-list,
.help-side-list,
.contact-side-list,
.lane-list,
.resource-list,
.policy-card ul,
.terms-card ul,
.upgrade-popup-points {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 10px;
}

.pricing-list li,
.help-side-list li,
.contact-side-list li,
.lane-list li,
.resource-list li,
.policy-card li,
.terms-card li,
.upgrade-popup-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  line-height: 1.65;
}

.pricing-list i,
.help-side-list i,
.contact-side-list i,
.lane-list i,
.resource-list i,
.policy-card li i,
.terms-card li i,
.upgrade-popup-points i {
  color: var(--green);
  margin-top: 3px;
  flex: 0 0 auto;
}

.compare-grid {
  display: grid;
  gap: 12px;
}

.compare-row {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(90px, 0.6fr) minmax(90px, 0.6fr);
  align-items: center;
  gap: 16px;
}

.compare-row strong {
  color: #fff;
  display: block;
  margin-bottom: 4px;
}

.compare-row span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.compare-col {
  text-align: center;
  font-weight: 900;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.035);
}

.compare-col.ok {
  color: #d8fff0;
  border-color: rgba(116, 255, 191, 0.18);
  background: rgba(116, 255, 191, 0.08);
}

.compare-col.no {
  color: #ffe2ba;
  border-color: rgba(255, 189, 115, 0.18);
  background: rgba(255, 189, 115, 0.08);
}

/* =========================================================
   10. HELP / CONTACT / LEGAL / DELETE
========================================================= */

.contact-hero-grid,
.contact-grid,
.help-hero-grid,
.help-grid,
.delete-grid {
  display: grid;
  gap: 22px;
}

.contact-hero-grid,
.contact-grid,
.help-hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.help-grid {
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
}

.delete-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.contact-side,
.help-side,
.expect-stack,
.lane-stack,
.info-stack,
.policy-stack,
.terms-stack {
  display: grid;
  gap: 16px;
}

.lane-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.contact-cta-inner,
.help-cta-inner,
.policy-cta-inner,
.terms-cta-inner,
.delete-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.quick-links {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.quick-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--text);
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.035);
  font-weight: 800;
  transition: var(--fast);
}

.quick-links a:hover {
  transform: translateX(3px);
  border-color: rgba(77, 252, 255, 0.24);
  box-shadow: 0 0 18px rgba(77, 252, 255, 0.09);
}

.email-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  color: var(--cyan);
  border: 1px solid rgba(77, 252, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 900;
  word-break: break-word;
}

.email-box:hover {
  color: #fff;
  border-color: rgba(77, 252, 255, 0.30);
  box-shadow: 0 0 20px rgba(77, 252, 255, 0.14);
}

/* =========================================================
   11. FAQ
========================================================= */

.faq-shell,
.pricing-faq {
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  padding: 18px;
  text-align: left;
  font-size: 0.98rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-question span {
  color: var(--cyan);
  font-size: 0.92rem;
  flex: 0 0 auto;
  transition: transform var(--fast);
}

.faq-answer {
  display: none;
  padding: 0 18px 18px;
  color: var(--muted);
  line-height: 1.78;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.faq-item.active .faq-answer {
  display: block;
  animation: ssfFadeInAnswer 0.25s ease;
}

.faq-item.active .faq-question span {
  transform: rotate(45deg);
}

@keyframes ssfFadeInAnswer {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   12. AUTH PAGE
========================================================= */

.action-shell {
  padding: clamp(22px, 3vw, 32px);
}

.status-card {
  margin-top: 18px;
}

.status-card.success .status-icon {
  color: var(--green);
}

.status-card.info .status-icon {
  color: var(--cyan);
}

.status-card.warning .status-icon {
  color: var(--orange);
}

.status-card.error .status-icon {
  color: var(--danger);
  background: linear-gradient(135deg, rgba(255, 127, 153, 0.16), rgba(185, 130, 255, 0.14));
}

.status-copy h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 1.25rem;
}

.status-body strong {
  color: #fff;
}

.reset-shell {
  display: none;
  margin-top: 22px;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

/* =========================================================
   13. DASHBOARD LAYOUT
========================================================= */

.dashboard-body {
  min-height: 100vh;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 22px;
}

.dashboard-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 18px);
  align-self: start;
  display: grid;
  gap: 16px;
}

.dashboard-content {
  min-width: 0;
}

.dashboard-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(360px, 0.84fr);
  gap: 18px;
  margin-bottom: 24px;
}

.sidebar-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 14px;
}

.sidebar-title i {
  color: var(--cyan);
}

.sidebar-stack,
.overview-mini-grid,
.queue-list,
.analytics-grid,
.connected-grid,
.auth-card-actions {
  display: grid;
  gap: 14px;
}

.analytics-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.connected-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.overview-mini-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.composer-grid {
  display: grid;
  gap: 18px;
}

.composer-block {
  display: grid;
  gap: 10px;
}

.helper-row,
.queue-top,
.preview-top,
.connect-brand,
.queue-meta,
.preview-header,
.auth-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.char-meter {
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
}

.char-meter span {
  color: #fff;
  font-weight: 900;
}

.preview-avatar,
.queue-icon,
.connect-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #04111f;
  background: linear-gradient(135deg, var(--cyan), #d8fdff);
  font-weight: 900;
  flex: 0 0 auto;
}

.preview-copy,
.queue-copy,
.queue-item-copy {
  color: var(--text);
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
}

.preview-media {
  min-height: 230px;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 18px;
  color: var(--muted);
  border: 1px dashed rgba(77, 252, 255, 0.17);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.016));
}

.preview-media img,
.preview-media video {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 16px;
}

.upload-drop {
  position: relative;
  min-height: 210px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
  color: var(--muted);
  border-style: dashed;
  border-color: rgba(77, 252, 255, 0.18);
}

.upload-drop input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-chip {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.055);
}

.metric-label,
.mini-stat span,
.tiny-label {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 850;
}

.metric-value,
.mini-stat strong {
  display: block;
  color: #fff;
  margin: 7px 0 4px;
}

.metric-value {
  font-size: 1.55rem;
  font-weight: 950;
}

.metric-progress {
  height: 8px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.065);
}

.metric-progress > span,
.metric-progress span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), #d9fdff);
  transition: width var(--med);
}

.empty-state,
.queue-empty {
  padding: 18px;
  text-align: center;
  color: var(--muted);
  line-height: 1.7;
  border-style: dashed;
  border-color: rgba(77, 252, 255, 0.18);
}

.empty-state i {
  display: block;
  color: var(--cyan);
  font-size: 1.85rem;
  margin-bottom: 10px;
}

/* =========================================================
   14. DASHBOARD QUEUE ITEMS
========================================================= */

.queue-item-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(255, 255, 255, 0.04);
}

.queue-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.queue-item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.queue-item-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.queue-item-btn {
  padding: 8px 12px;
  font-size: 0.8rem;
}

/* =========================================================
   15. PLATFORM LOCK / CONNECTED UI
========================================================= */

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.platform-card {
  position: relative;
  min-width: 0;
}

.platform-card input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.platform-card-label {
  width: 100%;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 11px;
  padding: 15px;
  border-radius: 18px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.085);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025));
  transition: var(--fast);
}

.platform-main {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
}

.platform-main i {
  flex: 0 0 auto;
  font-size: 1.15rem;
}

.platform-name {
  min-width: 0;
  display: inline-block;
  color: #fff;
  font-size: 0.96rem;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.platform-card.facebook .platform-main i,
.platform-card.facebook .platform-name { color: #62a8ff; }

.platform-card.instagram .platform-main i,
.platform-card.instagram .platform-name { color: #ff7bb0; }

.platform-card.x .platform-main i,
.platform-card.x .platform-name { color: #d6deea; }

.platform-card.tiktok .platform-main i,
.platform-card.tiktok .platform-name { color: #6ef2ff; }

.platform-card.linkedin .platform-main i,
.platform-card.linkedin .platform-name { color: #5ba8ff; }

.platform-card input[type="checkbox"]:checked + .platform-card-label {
  border-color: rgba(77, 252, 255, 0.36);
  box-shadow:
    0 0 0 4px rgba(77, 252, 255, 0.08),
    0 0 24px rgba(77, 252, 255, 0.12);
  transform: translateY(-1px);
}

.platform-card.locked .platform-card-label,
.platform-card.is-locked .platform-card-label {
  opacity: 0.74;
  border-color: rgba(255, 189, 115, 0.20);
  background: linear-gradient(180deg, rgba(255, 189, 115, 0.055), rgba(255, 255, 255, 0.025));
}

.platform-card.is-connected .platform-card-label,
.platform-access-mini-row.is-connected {
  border-color: rgba(116, 255, 191, 0.25) !important;
  box-shadow: 0 0 20px rgba(116, 255, 191, 0.10) !important;
  background: rgba(116, 255, 191, 0.048) !important;
}

.platform-card.is-connected .platform-name::after {
  content: " • Connected";
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
  margin-left: 6px;
}

.platform-lock-badge {
  margin-left: auto;
  padding: 6px 9px;
  min-height: 30px;
  color: #ffe6bd;
  border-color: rgba(255, 189, 115, 0.22);
  background: rgba(255, 189, 115, 0.12);
  font-size: 0.72rem;
}

/* =========================================================
   16. MODALS / POPUPS
========================================================= */

.popup-overlay,
.login-glow-overlay,
#upgradePopup {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(3, 6, 16, 0.74);
  backdrop-filter: blur(14px);
}

.popup-card,
.login-popup,
.upgrade-popup-card {
  position: relative;
  overflow: hidden;
  width: min(560px, 100%);
  border-radius: 28px;
  padding: 24px;
  border: 1px solid rgba(77, 252, 255, 0.19);
  background: linear-gradient(180deg, rgba(13, 24, 54, 0.96), rgba(8, 14, 32, 0.94));
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.48);
}

.popup-card::before,
.login-popup::before,
.upgrade-popup-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(77, 252, 255, 0.13), transparent 29%),
    radial-gradient(circle at bottom left, rgba(185, 130, 255, 0.13), transparent 34%);
  pointer-events: none;
}

.popup-card > *,
.login-popup > *,
.upgrade-popup-card > * {
  position: relative;
  z-index: 1;
}

.popup-card h2,
.login-popup h2,
.upgrade-popup-card h2 {
  margin: 0 0 10px;
  color: #fff;
  font-family: "Orbitron", sans-serif;
  font-size: 1.22rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.popup-card p,
.login-popup p,
.upgrade-popup-card p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.65;
}

.close-modal,
.popup-close,
#popupCloseBtn,
#closePopupTopBtn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #fff;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.05);
  transition: var(--fast);
}

.close-modal:hover,
.popup-close:hover,
#popupCloseBtn:hover,
#closePopupTopBtn:hover {
  border-color: rgba(77, 252, 255, 0.25);
  box-shadow: 0 0 18px rgba(77, 252, 255, 0.13);
}

.login-popup .ssf-input {
  margin-bottom: 12px;
}

.login-status {
  min-height: 22px;
  margin: 2px 0 10px;
  color: #ffd7e7;
  font-size: 0.92rem;
}

.popup-countdown {
  margin-top: 14px;
  color: var(--cyan);
  font-size: 0.88rem;
  font-weight: 850;
}

.upgrade-popup-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* =========================================================
   17. TOASTS
========================================================= */

.toast-stack {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1500;
  width: min(380px, calc(100vw - 36px));
  display: grid;
  gap: 12px;
}

.toast {
  border-radius: 18px;
  padding: 14px 16px;
  color: #fff;
  border: 1px solid rgba(77, 252, 255, 0.18);
  background: linear-gradient(180deg, rgba(11, 22, 50, 0.95), rgba(8, 14, 32, 0.92));
  box-shadow: var(--shadow-panel);
}

.toast strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.96rem;
}

.toast p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.9rem;
}

/* =========================================================
   18. FOOTER
========================================================= */

footer,
.dashboard-footer,
.footer {
  width: min(calc(100% - 28px), var(--container));
  margin: 24px auto 0;
  padding: 18px 24px;
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.dashboard-footer-inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.dashboard-footer-links,
.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.dashboard-footer-links a,
.footer-links a {
  color: var(--muted);
  transition: var(--fast);
}

.dashboard-footer-links a:hover,
.footer-links a:hover {
  color: #fff;
}

.footer-socials a,
.social-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 1.28rem;
  border-radius: 50%;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 0 14px rgba(77, 252, 255, 0.20);
  transition: var(--fast);
}

.footer-socials a:hover,
.social-icon:hover {
  transform: scale(1.1) rotate(4deg);
  color: #fff;
  border-color: var(--cyan);
  box-shadow: 0 0 22px rgba(77, 252, 255, 0.55);
}

/* =========================================================
   19. JS RUNTIME COMPATIBILITY
========================================================= */

.ssf-reveal-init {
  opacity: 0 !important;
  transform: translateY(26px) !important;
}

.ssf-reveal-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.ssf-hover-glow {
  transform: translateY(-2px) scale(1.015) !important;
  box-shadow:
    0 0 25px rgba(77, 252, 255, 0.22),
    0 0 50px rgba(77, 252, 255, 0.10) !important;
}

.ssf-konami-glow {
  animation: ssfKonamiPulse 1.4s infinite alternate;
}

@keyframes ssfKonamiPulse {
  from { filter: saturate(1) brightness(1); }
  to { filter: saturate(1.15) brightness(1.07); }
}

.ssf-section-highlight {
  animation: ssfSectionPulse 1.25s ease;
}

@keyframes ssfSectionPulse {
  0% {
    box-shadow: 0 0 0 rgba(77, 252, 255, 0);
    transform: translateY(0);
  }
  30% {
    box-shadow:
      0 0 0 3px rgba(77, 252, 255, 0.22),
      0 16px 42px rgba(77, 252, 255, 0.14);
    transform: translateY(-2px);
  }
  100% {
    box-shadow: 0 0 0 rgba(77, 252, 255, 0);
    transform: translateY(0);
  }
}

/* =========================================================
   20. RESPONSIVE SYSTEM
========================================================= */

@media (max-width: 1260px) {
  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: static;
    order: 2;
  }

  .dashboard-content {
    order: 1;
  }
}

@media (max-width: 1180px) {
  .hero-inner,
  .pricing-bottom-grid,
  .pro-checkout-shell,
  .contact-hero-grid,
  .contact-grid,
  .help-hero-grid,
  .help-grid,
  .delete-grid,
  .contact-cta-inner,
  .help-cta-inner,
  .policy-cta-inner,
  .terms-cta-inner,
  .delete-cta-inner,
  .dashboard-workspace {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 390px;
  }
}

@media (max-width: 1100px) {
  .workflow-grid,
  .benefit-grid,
  .pricing-grid-main,
  .three-column-grid,
  .lane-grid,
  .resource-grid,
  .field-grid,
  .schedule-grid,
  .two-column-grid,
  .connected-grid,
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .analytics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compare-row {
    grid-template-columns: 1fr;
  }

  .overview-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  :root {
    --nav-height: auto;
  }

  .ssf-topbar-inner,
  .ssf-header-inner {
    grid-template-columns: 1fr auto;
    min-height: 78px;
  }

  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .ssf-nav,
  .ssf-topnav {
    display: none;
  }

  .ssf-userbar,
  .ssf-header-actions {
    justify-content: flex-end;
  }

  .ssf-hamburger {
    display: inline-block;
  }

  .ssf-mobile-menu.open {
    display: grid;
  }
}

@media (max-width: 860px) {
  .analytics-grid,
  .overview-mini-grid,
  .upgrade-popup-actions {
    grid-template-columns: 1fr;
  }

  .section-head,
  .section-title-row,
  .helper-row,
  .queue-top,
  .preview-top,
  .connect-brand,
  .queue-meta,
  .preview-header,
  .auth-card-top,
  .dashboard-footer-inner,
  footer,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-visual {
    min-height: 340px;
  }

  .visual-core {
    width: min(100%, 260px);
  }

  .visual-node {
    width: 52px;
    height: 52px;
    font-size: 1rem;
  }
}

@media (max-width: 760px) {
  .landing-wrap,
  .page-wrap,
  .dashboard-main-shell,
  .contact-wrap,
  .help-wrap,
  .policy-wrap,
  .terms-wrap,
  .delete-wrap {
    width: min(calc(100% - 20px), var(--container));
    padding-top: 18px;
  }

  .section-inner,
  .plan-inner,
  .cta-inner,
  .hero-inner,
  .contact-hero-inner,
  .contact-card-inner,
  .contact-cta-inner,
  .help-hero-inner,
  .help-card-inner,
  .help-cta-inner,
  .policy-hero-inner,
  .policy-card-inner,
  .policy-cta-inner,
  .terms-hero-inner,
  .terms-card-inner,
  .terms-cta-inner,
  .delete-shell-inner,
  .delete-card-inner,
  .delete-cta-inner,
  .dashboard-card-inner,
  .account-banner-inner,
  .dashboard-footer-inner {
    padding: 20px;
  }

  .hero-title,
  .contact-title,
  .help-title,
  .policy-title,
  .terms-title,
  .delete-title,
  .title {
    font-size: clamp(1.85rem, 9vw, 2.75rem);
  }

  .ssf-brand-mark,
  .brand-mark {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .ssf-brand-copy strong,
  .brand-copy strong,
  .ssf-logo span {
    font-size: 0.88rem;
  }

  .ssf-brand-copy span,
  .brand-copy span {
    font-size: 0.68rem;
  }

  .hero-actions,
  .button-row,
  .form-actions,
  .post-actions,
  .queue-actions,
  .connect-actions {
    width: 100%;
  }

  .hero-actions .ssf-btn,
  .button-row .ssf-btn,
  .form-actions .ssf-btn,
  .post-actions .ssf-btn,
  .queue-actions .ssf-btn,
  .connect-actions .ssf-btn,
  .hero-actions .btn,
  .button-row .btn,
  .form-actions .btn {
    width: 100%;
  }

  .popup-card,
  .login-popup,
  .upgrade-popup-card {
    padding: 22px;
    border-radius: 24px;
  }

  .toast-stack {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
  }
}

@media (max-width: 560px) {
  .ssf-topbar-inner,
  .ssf-header-inner {
    width: min(calc(100% - 20px), var(--container));
    gap: 10px;
  }

  .ssf-userbar,
  .ssf-header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .ssf-userbar .ssf-btn,
  .ssf-header-actions .ssf-btn,
  .ssf-userbar .btn,
  .ssf-header-actions .btn {
    flex: 1 1 auto;
  }

  .hero-visual {
    min-height: 300px;
    padding: 18px;
  }

  .visual-core {
    width: min(100%, 220px);
  }

  .visual-node {
    width: 46px;
    height: 46px;
  }

  .preview-media {
    min-height: 190px;
  }

  .footer-socials a,
  .social-icon {
    width: 48px;
    height: 48px;
  }

  .queue-item-actions,
  .queue-item-actions .queue-item-btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .ssf-brand-copy span,
  .brand-copy span {
    display: none;
  }

  .ssf-pill,
  .hero-meta-pill,
  .chip,
  .connect-pill,
  .status-badge,
  .plan-badge,
  .plan-pill,
  .plan-pill-live {
    width: fit-content;
    max-width: 100%;
  }

  .pricing-price {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* =========================================================
   SO SMOOTH FLOW — GLOBAL MEMBER PROFILE / VIP DROPDOWN
========================================================= */

.ssf-hidden,
.hidden {
  display: none !important;
}

.member-profile-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.member-profile-btn {
  border: 1px solid rgba(77, 252, 255, 0.2);
  background:
    radial-gradient(circle at 25% 20%, rgba(77, 252, 255, 0.18), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03));
  color: #fff;
  min-height: 46px;
  padding: 6px 8px 6px 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(77, 252, 255, 0.12);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.member-profile-btn:hover,
.member-profile-btn[aria-expanded="true"] {
  transform: translateY(-1px);
  border-color: rgba(77, 252, 255, 0.42);
  box-shadow:
    0 0 18px rgba(77, 252, 255, 0.18),
    0 0 38px rgba(185, 130, 255, 0.10);
}

.member-profile-btn.is-pro {
  border-color: rgba(255, 214, 122, 0.34);
  box-shadow:
    0 0 18px rgba(255, 214, 122, 0.14),
    0 0 34px rgba(77, 252, 255, 0.10);
}

.member-profile-btn.is-founder {
  border-color: rgba(255, 123, 199, 0.42);
  box-shadow:
    0 0 18px rgba(255, 123, 199, 0.20),
    0 0 42px rgba(77, 252, 255, 0.12);
}

.member-avatar,
.member-dropdown-avatar {
  display: grid;
  place-items: center;
  color: #03101c;
  font-weight: 900;
  letter-spacing: 0.04em;
  background:
    radial-gradient(circle at 30% 20%, #ffffff, #8fffff 35%, #4dfcff 70%, #b982ff 100%);
  box-shadow:
    inset 0 0 8px rgba(255, 255, 255, 0.48),
    0 0 18px rgba(77, 252, 255, 0.28);
  flex: 0 0 auto;
}

.member-avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  font-size: 0.82rem;
}

.member-dropdown-avatar {
  width: 44px;
  height: 44px;
  border-radius: 17px;
}

.member-mini-copy {
  display: grid;
  gap: 1px;
  text-align: left;
  min-width: 0;
}

.member-mini-copy strong,
.member-mini-copy span {
  max-width: 118px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.member-mini-copy strong {
  font-size: 0.78rem;
  line-height: 1.05;
}

.member-mini-copy span {
  color: var(--muted, #9bc3d6);
  font-size: 0.68rem;
  line-height: 1;
}

.member-chevron {
  color: var(--cyan, #4dfcff);
  font-size: 0.72rem;
  opacity: 0.85;
  padding-right: 2px;
}

.member-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: min(92vw, 380px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(0.985);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.member-dropdown.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.member-dropdown-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 18px;
  background:
    radial-gradient(circle at 18% 0%, rgba(77, 252, 255, 0.17), transparent 34%),
    radial-gradient(circle at 100% 12%, rgba(255, 123, 199, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(9, 17, 38, 0.98), rgba(5, 10, 24, 0.96));
  border: 1px solid rgba(77, 252, 255, 0.18);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.54),
    0 0 34px rgba(77, 252, 255, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.member-dropdown-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.10), transparent 22%),
    linear-gradient(90deg, rgba(77, 252, 255, 0.04), transparent 55%);
  opacity: 0.9;
}

.member-dropdown-head,
.member-dropdown-row,
.member-vip-box,
.member-dropdown-actions {
  position: relative;
  z-index: 1;
}

.member-dropdown-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.member-dropdown-title-wrap {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.member-dropdown-title-wrap h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.2;
  color: #fff;
  font-family: "Orbitron", sans-serif;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.member-dropdown-title-wrap p {
  margin: 4px 0 0;
  color: var(--muted, #9bc3d6);
  font-size: 0.78rem;
  line-height: 1.4;
  max-width: 240px;
  word-break: break-word;
}

.member-dropdown-close {
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 0 0 auto;
}

.member-dropdown-close:hover {
  border-color: rgba(255, 123, 199, 0.35);
  color: #ff9bd5;
  box-shadow: 0 0 16px rgba(255, 123, 199, 0.14);
}

.member-dropdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.member-plan-badge {
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #04111f;
  background: var(--cyan, #4dfcff);
  box-shadow: 0 0 16px rgba(77, 252, 255, 0.22);
}

.member-plan-badge[data-plan="pro"] {
  background: linear-gradient(90deg, #ffd879, #4dfcff);
}

.member-plan-badge[data-plan="founder"] {
  background: linear-gradient(90deg, #ff7bc7, #ffd879, #4dfcff);
}

.member-vip-box {
  margin-top: 16px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(77, 252, 255, 0.13);
  display: grid;
  gap: 10px;
}

.member-vip-box label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.member-vip-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.member-vip-line input {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(2, 8, 20, 0.72);
  color: #fff;
  border-radius: 15px;
  padding: 11px 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.member-vip-line input:focus {
  border-color: rgba(77, 252, 255, 0.38);
  box-shadow: 0 0 0 3px rgba(77, 252, 255, 0.10);
}

.member-vip-line button {
  border: 0;
  color: #03101c;
  font-weight: 900;
  border-radius: 15px;
  padding: 10px 13px;
  cursor: pointer;
  background: linear-gradient(90deg, var(--cyan, #4dfcff), var(--violet, #b982ff));
  box-shadow: 0 0 18px rgba(77, 252, 255, 0.18);
  transition: transform 0.2s ease, filter 0.2s ease;
  white-space: nowrap;
}

.member-vip-line button:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.member-vip-line button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.vip-redeem-status {
  min-height: 18px;
  color: var(--muted, #9bc3d6);
  font-size: 0.78rem;
  line-height: 1.45;
}

.vip-redeem-status.is-success {
  color: var(--green, #73ffbf);
}

.vip-redeem-status.is-error {
  color: #ff9aa8;
}

.vip-redeem-status.is-info {
  color: var(--cyan, #4dfcff);
}

.member-dropdown-actions {
  margin-top: 14px;
  display: grid;
  gap: 9px;
}

.member-dropdown-action {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
  border-radius: 16px;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 850;
  transition: all 0.2s ease;
}

.member-dropdown-action:hover {
  border-color: rgba(77, 252, 255, 0.22);
  box-shadow: 0 0 18px rgba(77, 252, 255, 0.10);
  transform: translateY(-1px);
}

.member-dropdown-action.danger:hover {
  border-color: rgba(255, 123, 123, 0.26);
  color: #ffb0b0;
  box-shadow: 0 0 18px rgba(255, 123, 123, 0.10);
}

@media (max-width: 720px) {
  .member-mini-copy {
    display: none;
  }

  .member-profile-btn {
    padding-right: 8px;
  }

  .member-dropdown {
    right: -8px;
    width: min(94vw, 370px);
  }

  .member-vip-line {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   21. ACCESSIBILITY / MOTION
========================================================= */

:focus-visible {
  outline: 3px solid rgba(77, 252, 255, 0.72);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

.member-profile-wrap
.member-profile-btn
.member-avatar
.member-dropdown
.member-dropdown.open
.member-dropdown-head
.member-plan-badge
.vip-code-box
.vip-code-input
.vip-redeem-status
.member-dropdown-actions

/* =========================================================
   SO SMOOTH FLOW — DASHBOARD ALIGNMENT REBUILD
   Performance • Connected Platforms • Account Center
========================================================= */

.dashboard-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.dashboard-section-header h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.2;
}

.dashboard-section-header .muted-copy {
  margin: 0;
  color: var(--muted, #9bc3d6);
  line-height: 1.7;
}

.dashboard-section-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.dashboard-stack-card {
  overflow: hidden;
}

/* Performance metrics */

.ssf-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.ssf-metric-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 178px;
  padding: 18px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(77, 252, 255, 0.11), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(77, 252, 255, 0.13);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.ssf-metric-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.ssf-metric-icon {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  color: var(--cyan, #4dfcff);
  background: rgba(77, 252, 255, 0.1);
  border: 1px solid rgba(77, 252, 255, 0.18);
  box-shadow: 0 0 18px rgba(77, 252, 255, 0.12);
}

.ssf-metric-card .metric-label {
  color: var(--muted, #9bc3d6);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ssf-metric-card .metric-value {
  display: block;
  margin: 0 0 8px;
  color: #ffffff;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.ssf-metric-card .metric-copy {
  margin: 0 0 14px;
  color: var(--muted, #9bc3d6);
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
}

.ssf-metric-card .metric-progress {
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.ssf-metric-card .metric-progress span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan, #4dfcff), #b980ff);
  box-shadow: 0 0 14px rgba(77, 252, 255, 0.35);
}

/* Connected platforms */

.ssf-platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.ssf-platform-card {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 14px;
  min-height: 205px;
  padding: 18px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(77, 252, 255, 0.10), transparent 30%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.075);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.20);
}

.ssf-platform-card.is-coming-soon {
  opacity: 0.92;
}

.ssf-platform-head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: flex-start;
}

.ssf-platform-icon {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 18px;
  color: #ffffff;
  background: rgba(77, 252, 255, 0.10);
  border: 1px solid rgba(77, 252, 255, 0.16);
  box-shadow: 0 0 18px rgba(77, 252, 255, 0.12);
  font-size: 1.15rem;
}

.ssf-platform-icon.facebook {
  color: #8dc7ff;
}

.ssf-platform-icon.instagram {
  color: #ffc0ff;
}

.ssf-platform-icon.linkedin {
  color: #9ed8ff;
}

.ssf-platform-icon.x {
  color: #ffffff;
}

.ssf-platform-icon.tiktok {
  color: #ff9fd6;
}

.ssf-platform-copy strong {
  display: block;
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 1rem;
}

.ssf-platform-copy span {
  display: block;
  color: var(--muted, #9bc3d6);
  font-size: 0.9rem;
  line-height: 1.55;
}

.ssf-platform-status {
  min-height: 34px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.connect-pill,
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--muted, #9bc3d6);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.status-warning {
  color: #ffd28a;
  background: rgba(255, 178, 90, 0.10);
  border-color: rgba(255, 178, 90, 0.18);
}

.ssf-platform-actions {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}

.ssf-platform-actions .connect-btn {
  min-height: 42px;
  justify-content: center;
}

/* Account Center */

.ssf-account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 16px;
  align-items: stretch;
}

.ssf-account-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 245px;
  padding: 20px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(185, 128, 255, 0.10), transparent 30%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.075);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.20);
}

.ssf-account-card-head {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: flex-start;
}

.ssf-account-card-icon {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 18px;
  color: var(--cyan, #4dfcff);
  background: rgba(77, 252, 255, 0.10);
  border: 1px solid rgba(77, 252, 255, 0.16);
  box-shadow: 0 0 18px rgba(77, 252, 255, 0.12);
}

.ssf-account-card h3 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 1.05rem;
}

.ssf-account-card p {
  margin: 0;
  color: var(--muted, #9bc3d6);
  line-height: 1.65;
  font-size: 0.9rem;
}

.ssf-account-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: auto;
}

.ssf-account-stats .mini-stat {
  min-width: 0;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.ssf-account-stats .mini-stat span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted, #9bc3d6);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ssf-account-stats .mini-stat strong {
  display: block;
  color: #ffffff;
  font-size: 0.94rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.ssf-account-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: auto;
}

.ssf-account-actions .auth-card-action {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-align: center;
  border-radius: 15px;
}

/* Upgrade banner polish */

#account-center .upgrade-banner {
  margin-top: 18px;
}

#account-center .upgrade-banner-inner {
  align-items: center;
}

/* Empty queue polish */

.queue-list .empty-state {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 145px;
  padding: 24px;
  text-align: center;
  border-radius: 22px;
  color: var(--muted, #9bc3d6);
  background: rgba(255, 255, 255, 0.035);
  border: 1px dashed rgba(77, 252, 255, 0.16);
}

.queue-list .empty-state i {
  color: var(--cyan, #4dfcff);
  font-size: 1.55rem;
}

.queue-list .empty-state strong {
  color: #ffffff;
  font-size: 1rem;
}

.queue-list .empty-state span {
  max-width: 560px;
  line-height: 1.65;
}

/* Responsive */

@media (max-width: 1200px) {
  .ssf-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ssf-platform-grid,
  .ssf-account-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .dashboard-section-header {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dashboard-section-actions {
    justify-content: flex-start;
  }

  .ssf-metrics-grid,
  .ssf-account-stats,
  .ssf-account-actions {
    grid-template-columns: 1fr;
  }

  .ssf-platform-head,
  .ssf-account-card-head {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .ssf-platform-icon,
  .ssf-account-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 16px;
  }

  .ssf-platform-card,
  .ssf-account-card,
  .ssf-metric-card {
    padding: 16px;
  }

  .ssf-platform-actions .connect-btn,
  .ssf-account-actions .auth-card-action {
    width: 100%;
  }
}
/* =========================================================
   SO SMOOTH FLOW — POPUP CLOSE BUTTON FIX
   Fixes "Close" text overflowing the round button
========================================================= */

.popup-card #popupCloseBtn,
#popupCloseBtn {
  min-width: 74px !important;
  height: 46px !important;
  padding: 0 18px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 999px !important;
  box-sizing: border-box !important;

  font-size: 0.92rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-align: center !important;

  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;

  box-shadow:
    0 0 18px rgba(77, 252, 255, 0.10),
    inset 0 0 12px rgba(255, 255, 255, 0.04) !important;
}

.popup-card #popupCloseBtn:hover,
#popupCloseBtn:hover {
  transform: translateY(-1px);
  border-color: rgba(77, 252, 255, 0.35) !important;
  background: rgba(77, 252, 255, 0.12) !important;
  box-shadow:
    0 0 24px rgba(77, 252, 255, 0.22),
    inset 0 0 14px rgba(255, 255, 255, 0.06) !important;
}

/* Keeps Got It + Close aligned nicely inside popup */
.popup-card .button-row {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
}
/* =========================================================
   SO SMOOTH FLOW — PRO MEMBER DROPDOWN CLEANUP
   Hide VIP redeem + upgrade once Pro/VIP/Founder is active
========================================================= */

body.ssf-pro-active #memberVipBox,
body.ssf-pro-active #memberUpgradeBtn {
  display: none !important;
}
/* =========================================================
   SO SMOOTH FLOW — MEMBER DROPDOWN PRO CLEANUP
   Hides Starter-only items when account is Pro/VIP/Founder
========================================================= */

.member-dropdown-card:has(#memberPlanBadge[data-plan="pro"]) .starter-only-member-item,
.member-dropdown-card:has(#memberPlanBadge[data-plan="pro"]) #memberVipBox,
.member-dropdown-card:has(#memberPlanBadge[data-plan="pro"]) #memberUpgradeBtn,
body.ssf-pro-active #memberVipBox,
body.ssf-pro-active #memberUpgradeBtn {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Cleaner Pro dropdown spacing after Starter-only items are hidden */
.member-dropdown-card:has(#memberPlanBadge[data-plan="pro"]) .member-dropdown-actions {
  margin-top: 12px;
}

/* Optional: make Pro badge feel premium */
#memberPlanBadge[data-plan="pro"] {
  color: #061018 !important;
  background: linear-gradient(135deg, #ffd36a, #4dfcff, #b980ff) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  box-shadow:
    0 0 20px rgba(77, 252, 255, 0.22),
    0 0 28px rgba(255, 211, 106, 0.20) !important;
}