/* ════════════════════════════════════════════════════════════════
   THEME 3 — SHOWCASE
   All rules scoped to body.sf-theme-3 — zero risk to T1/T2.
   Dark background, floating pill header, big bold hero, browser-mockup demo.
════════════════════════════════════════════════════════════════ */

body.sf-theme-3 {
  background: #05070d;
  color: #e6edf3;
}

/* ─── Floating pill header ─── */
body.sf-theme-3 .sf-header {
  position: fixed;
  top: 14px;
  left: 14px;
  right: 14px;
  width: auto;
  max-width: none;
  height: auto;
  background: rgba(15, 18, 26, 0.85);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  z-index: 200;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
  transition: all 0.25s ease;
}
body.sf-theme-3.sf-has-promo .sf-header {
  top: calc(var(--sf-promo-h, 56px) + 18px) !important;
}

body.sf-theme-3 .sf-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 8px 20px;
  max-width: 100%;
  height: 56px;
  gap: 12px;
}

body.sf-theme-3 .sf-header-left {
  flex-shrink: 0;
}
body.sf-theme-3 .sf-header-logo {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}
body.sf-theme-3 .sf-header-logo img {
  max-height: 30px;
}

/* Nav centered */
body.sf-theme-3 .sf-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
body.sf-theme-3 .sf-nav a {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(230, 237, 243, 0.72);
  border-radius: 8px;
  transition: all 0.15s;
}
body.sf-theme-3 .sf-nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}
body.sf-theme-3 .sf-nav a.sf-nav-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

/* Right side: sign-in + CTA */
body.sf-theme-3 .sf-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
body.sf-theme-3 .sf-header-signin {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(230, 237, 243, 0.78);
  background: transparent;
  border-radius: 8px;
}
body.sf-theme-3 .sf-header-signin:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}
/* sf-header-cta now styled in unified gradient block below */

/* Push main below pill header */
body.sf-theme-3 .sf-main {
  padding-top: 110px !important;
}

/* ─── Hero ─── */
.sf-t3-hero {
  padding: 60px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sf-t3-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 400px at 50% 0%, rgba(99, 102, 241, 0.18), transparent 70%),
    radial-gradient(ellipse 600px 300px at 70% 30%, rgba(167, 139, 250, 0.12), transparent 60%);
  pointer-events: none;
}
.sf-t3-hero-inner {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}

/* Badge (reuses Theme 2 hero_badge text) */
.sf-t3-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #c4b5fd;
  text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.sf-t3-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c4b5fd;
  box-shadow: 0 0 10px #c4b5fd;
  animation: sf-t3-pulse 2s ease-in-out infinite;
}
@keyframes sf-t3-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.45; transform: scale(1.4); }
}

/* Trust line under CTAs */
.sf-t3-trust {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(230, 237, 243, 0.35);
  margin: 0 0 44px;
}

/* Massive headline */
.sf-t3-h1 {
  font-size: clamp(38px, 5.4vw, 72px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0 0 22px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.sf-t3-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
  color: rgba(230, 237, 243, 0.65);
  max-width: 640px;
  margin: 0 auto 34px;
}

/* CTAs */
.sf-t3-ctas {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 16px;
}
/* Theme 3 uses Theme 2's purple buttons — no custom .sf-t3-btn-* needed.
   Only adjustments below to keep them sized consistently inside hero. */
.sf-t3-ctas .sf-btn {
  padding: 14px 28px !important;
  border-radius: 999px !important;
  font-size: 15px !important;
}

@media (max-width: 768px) {
  body.sf-theme-3 .sf-header {
    left: 10px;
    right: 10px;
    top: 10px;
  }
  body.sf-theme-3 .sf-header-inner {
    padding: 6px 8px 6px 16px;
    height: 50px;
  }
  body.sf-theme-3 .sf-nav { display: none !important; }
  body.sf-theme-3 .sf-header-signin { display: none; }
  body.sf-theme-3 .sf-header-cta {
    padding: 7px 14px;
    font-size: 12px;
  }
  body.sf-theme-3 .sf-main {
    padding-top: 90px !important;
  }
  .sf-t3-hero {
    padding: 24px 16px 48px;
  }
  .sf-t3-h1 {
    font-size: clamp(32px, 8vw, 48px);
  }
  .sf-t3-ctas { width: 100%; }
  .sf-t3-btn { flex: 1; justify-content: center; }
  .sf-t3-demo-body { min-height: 280px; }
  .sf-t3-demo-url { display: none; }
}

/* Theme 3 — widen all standard SF containers (Why DotTheta, Featured Tools, Features, etc) */
body.sf-theme-3 .sf-container {
  max-width: 1400px;
}

/* FIX 3: Style LFS user button (My Account dropdown) for Theme 3 dark header */
body.sf-theme-3 .lfs-user-button {
  background: linear-gradient(135deg, #8b5cf6, #a78bfa) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 9px 20px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  border-radius: 999px !important;
  cursor: pointer !important;
  transition: all 0.18s !important;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.35) !important;
}
body.sf-theme-3 .lfs-user-button:hover {
  background: linear-gradient(135deg, #7c3aed, #8b5cf6) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5) !important;
}

/* LFS dropdown menu — dark theme */
body.sf-theme-3 .lfs-user-dropdown {
  background: rgba(15, 18, 26, 0.95) !important;
  backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5) !important;
}
body.sf-theme-3 .lfs-user-dropdown a {
  color: #ffffff !important;
  font-weight: 600 !important;
  padding: 10px 16px !important;
}
body.sf-theme-3 .lfs-user-dropdown a:hover {
  background: rgba(255, 255, 255, 0.06) !important;
}

/* Also: LFS logged-out CTA (Sign Up button) for Theme 3 */
body.sf-theme-3 #lfs-auth-logged-out .lfs-auth-cta,
body.sf-theme-3 #lfs-auth-logged-out a.lfs-auth-cta,
body.sf-theme-3 .sf-header-cta {
  background: linear-gradient(135deg, #8b5cf6, #a78bfa) !important;
  color: #ffffff !important;
  padding: 9px 20px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  border-radius: 999px !important;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.35) !important;
  transition: all 0.18s !important;
}
body.sf-theme-3 #lfs-auth-logged-out .lfs-auth-cta:hover,
body.sf-theme-3 .sf-header-cta:hover {
  background: linear-gradient(135deg, #7c3aed, #8b5cf6) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5) !important;
}

/* ─── Tool icons row (replaces Theme 2's right-side tool grid) ─── */
.sf-t3-tools-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto 60px;
}
.sf-t3-tool-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 12px;
  width: 96px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  text-decoration: none;
  color: rgba(230, 237, 243, 0.75);
  transition: all 0.18s ease;
}
.sf-t3-tool-icon:hover {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.3);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.15);
}
.sf-t3-tool-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}
.sf-t3-tool-icon > span:first-child {
  font-size: 30px;
  line-height: 1;
}
.sf-t3-tool-label {
  font-size: 11px !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.3;
}

/* ─── Prism preview card wrap — centered, max 520px ─── */
.sf-t3-prism-wrap {
  max-width: 520px;
  margin: 0 auto;
}
/* Theme 2's .sf-hero-counter (the Prism card) inherits its own styles — we just center it. */
body.sf-theme-3 .sf-t3-prism-wrap .sf-hero-counter {
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}
