/* =============================================================================
   SDLust — Landing Page Styles
   Standalone page, does not extend main.css (has own header/footer)
   ============================================================================= */

/* Reuse design tokens from main.css — landing.css is loaded after */

/* -----------------------------------------------------------------------------
   LANDING HEADER
   ----------------------------------------------------------------------------- */
.landing-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(26,10,30,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(82,40,95,0.4);
}
.landing-header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  height: 64px;
}
.landing-header nav {
  display: flex;
  gap: var(--space-xs);
  flex: 1;
}
.landing-header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-left: auto;
}

/* -----------------------------------------------------------------------------
   HERO
   ----------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}
.hero-orb-1 {
  width: 600px; height: 600px;
  top: -100px; left: -100px;
  background: radial-gradient(ellipse, rgba(232,66,122,0.12) 0%, transparent 70%);
}
.hero-orb-2 {
  width: 500px; height: 500px;
  bottom: 0; right: -80px;
  background: radial-gradient(ellipse, rgba(212,160,23,0.08) 0%, transparent 70%);
}
.hero-orb-3 {
  width: 400px; height: 400px;
  top: 40%; left: 40%;
  background: radial-gradient(ellipse, rgba(232,66,122,0.06) 0%, transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 740px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: rgba(232,66,122,0.1);
  border: 1px solid rgba(232,66,122,0.3);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-rose-light);
  margin-bottom: var(--space-lg);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-text-primary);
  margin-bottom: var(--space-lg);
}
.hero-title-accent {
  color: var(--color-rose);
  font-style: italic;
}

.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--color-text-secondary);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: var(--space-xl);
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}
.hero-btn-primary {
  font-size: 17px;
  padding: 15px 32px;
  box-shadow: 0 0 40px rgba(232,66,122,0.25);
}
.hero-btn-primary:hover {
  box-shadow: 0 0 60px rgba(232,66,122,0.4);
}

.hero-disclaimer {
  font-size: 12px;
  color: var(--color-text-muted);
}

/* -----------------------------------------------------------------------------
   HOW IT WORKS
   ----------------------------------------------------------------------------- */
.section-how {
  padding: var(--space-2xl) 0;
  background: var(--color-plum-mid);
  border-top: 1px solid var(--color-plum-border);
  border-bottom: 1px solid var(--color-plum-border);
}

.section-title-center {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  text-align: center;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}
.section-subtitle-center {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 16px;
  margin-bottom: var(--space-2xl);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.how-card {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  background: var(--color-plum);
  border: 1px solid var(--color-plum-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.how-card:hover {
  border-color: var(--color-rose);
  box-shadow: 0 0 24px rgba(232,66,122,0.1);
}
.how-icon {
  font-size: 28px;
  color: var(--color-rose);
  margin-bottom: var(--space-md);
  display: block;
}
.how-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}
.how-card p {
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

/* -----------------------------------------------------------------------------
   FEATURES STRIP
   ----------------------------------------------------------------------------- */
.section-features {
  padding: var(--space-2xl) 0;
}

.features-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.feature-item { display: flex; flex-direction: column; gap: var(--space-sm); }
.feature-icon { font-size: 20px; }
.feature-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-primary);
}
.feature-desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* -----------------------------------------------------------------------------
   MANIFESTO
   ----------------------------------------------------------------------------- */
.section-manifesto {
  padding: var(--space-2xl) 0;
  background: var(--color-plum-mid);
  border-top: 1px solid var(--color-plum-border);
  border-bottom: 1px solid var(--color-plum-border);
}

.manifesto {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  border: none;
  padding: 0;
}
.manifesto p {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 400;
  font-style: italic;
  color: var(--color-text-primary);
  line-height: 1.4;
  margin-bottom: var(--space-md);
}
.manifesto em { color: var(--color-rose); font-style: normal; }
.manifesto footer {
  font-size: 13px;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
}

/* -----------------------------------------------------------------------------
   CLIQUE DEMO
   ----------------------------------------------------------------------------- */
.section-clique-demo {
  padding: var(--space-2xl) 0;
}

.clique-demo-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.clique-demo-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text-primary);
  margin-bottom: var(--space-lg);
}
.clique-demo-copy p {
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: var(--space-md);
}

/* Vote demo widget */
.vote-demo {
  background: var(--color-plum-mid);
  border: 1px solid var(--color-plum-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.vote-demo-request {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-plum-border);
  margin-bottom: var(--space-lg);
}
.vote-demo-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
  flex-shrink: 0;
}
.vote-demo-text { font-size: 14px; color: var(--color-text-secondary); line-height: 1.4; }
.vote-demo-text strong { color: var(--color-text-primary); display: block; }
.vote-demo-text em { color: var(--color-rose-light); font-style: normal; }

.vote-demo-members { display: flex; flex-direction: column; gap: var(--space-sm); margin-bottom: var(--space-md); }
.vote-demo-member {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-plum-light);
  border-radius: var(--radius-md);
}
.vd-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}

/* Avatar colors */
.vd-a1 { background: rgba(232,66,122,0.2); color: var(--color-rose); }
.vd-a2 { background: rgba(91,156,246,0.2); color: var(--color-info); }
.vd-a3 { background: rgba(46,194,126,0.2); color: var(--color-success); }
.vd-a4 { background: rgba(212,160,23,0.2); color: var(--color-gold-light); }
.vd-a5 { background: rgba(175,109,235,0.2); color: #c47af0; }

.vote-pill {
  display: inline-flex; align-items: center;
  padding: 2px 10px; border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 700;
}
.vote-approve { background: rgba(46,194,126,0.15); color: var(--color-success); }
.vote-pending { background: rgba(136,135,128,0.2); color: var(--color-text-muted); }

.vote-demo-rule {
  font-size: 11px;
  color: var(--color-text-muted);
  text-align: center;
  font-style: italic;
}

/* -----------------------------------------------------------------------------
   FINAL CTA
   ----------------------------------------------------------------------------- */
.section-final-cta {
  padding: var(--space-2xl) 0;
  background: var(--color-plum-mid);
  border-top: 1px solid var(--color-plum-border);
}

.final-cta-card {
  position: relative;
  text-align: center;
  padding: var(--space-2xl);
  border: 1px solid var(--color-plum-border);
  border-radius: var(--radius-lg);
  background: var(--color-plum);
  overflow: hidden;
  max-width: 640px;
  margin: 0 auto;
}
.final-cta-orb {
  position: absolute;
  width: 400px; height: 400px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(232,66,122,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.final-cta-title {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 400;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}
.final-cta-sub {
  position: relative;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
  font-size: 15px;
}
.section-final-cta .btn-primary {
  position: relative;
  font-size: 17px;
  padding: 15px 40px;
  box-shadow: 0 0 40px rgba(232,66,122,0.25);
}
.final-cta-legal {
  position: relative;
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: var(--space-md);
}
.final-cta-legal a { color: var(--color-text-muted); text-decoration: underline; }

/* -----------------------------------------------------------------------------
   STATIC / LEGAL PAGES
   ----------------------------------------------------------------------------- */
.static-page {
  max-width: 740px;
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}
.static-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  margin-bottom: var(--space-xl);
  color: var(--color-text-primary);
}
.static-effective {
  color: var(--color-text-muted);
  font-size: 13px;
  margin-top: calc(-1 * var(--space-lg));
  margin-bottom: var(--space-xl);
}
.static-lead {
  font-size: 18px;
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-xl);
  border-left: 3px solid var(--color-rose);
  padding-left: var(--space-lg);
}
.static-body h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--color-text-primary);
  margin: var(--space-xl) 0 var(--space-sm);
}
.static-body p, .static-body li {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}
.static-body ul { padding-left: var(--space-lg); }
.static-body li { list-style: disc; }
.static-body a { color: var(--color-rose-light); }
.static-footer-note { color: var(--color-text-muted); font-size: 13px; margin-top: var(--space-xl); }

.legal-body h2 { font-size: 18px; }

/* Rules page */
.rule-card {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--color-plum-mid);
  border: 1px solid var(--color-plum-border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  transition: border-color var(--transition);
}
.rule-card--primary { border-color: rgba(232,66,122,0.4); }
.rule-card:hover { border-color: var(--color-rose); }
.rule-number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-rose);
  opacity: 0.4;
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
  text-align: right;
}
.rule-card h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 var(--space-sm);
}
.rule-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* -----------------------------------------------------------------------------
   FEED PAGE
   ----------------------------------------------------------------------------- */
.feed-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-xl);
  padding-top: var(--space-xl);
  padding-bottom: var(--space-2xl);
  align-items: start;
}
.feed-greeting {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: var(--space-xl);
}
.feed-section { margin-bottom: var(--space-xl); }
.feed-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}
.feed-cards { display: flex; flex-direction: column; gap: var(--space-sm); }

.feed-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--color-plum-mid);
  border: 1px solid var(--color-plum-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--color-text-primary);
  transition: border-color var(--transition);
}
.feed-card:hover { border-color: var(--color-rose); text-decoration: none; }
.feed-card--connection { flex-wrap: wrap; }
.feed-card--event { gap: var(--space-md); }
.feed-card-who { display: flex; align-items: center; gap: var(--space-sm); flex: 1; color: var(--color-text-primary); text-decoration: none; }
.feed-card-who:hover { text-decoration: none; }
.feed-card-actions { display: flex; gap: var(--space-sm); margin-left: auto; }

.feed-avatar {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
  background: var(--color-plum-light); border: 1px solid var(--color-plum-border);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.feed-avatar--ph { font-weight: 700; color: var(--color-rose); }
.feed-avatar--sm { width: 36px; height: 36px; font-size: 14px; }
.feed-meta { font-size: 12px; color: var(--color-text-muted); display: block; margin-top: 1px; }
.feed-meta a { color: var(--color-rose-light); }

.feed-event-date {
  display: flex; flex-direction: column; align-items: center;
  width: 44px; flex-shrink: 0;
  background: var(--color-plum-light); border-radius: var(--radius-sm);
  padding: 4px;
}
.feed-event-month { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-rose); font-weight: 700; }
.feed-event-day   { font-size: 20px; font-weight: 700; color: var(--color-text-primary); line-height: 1; }

.feed-see-more { display: inline-block; font-size: 13px; color: var(--color-rose-light); margin-top: var(--space-sm); }

.feed-activity { display: flex; flex-direction: column; gap: var(--space-md); }
.activity-item { display: flex; align-items: flex-start; gap: var(--space-sm); }
.activity-avatar-link { flex-shrink: 0; }
.activity-body { flex: 1; min-width: 0; }
.activity-text { font-size: 13px; color: var(--color-text-secondary); margin-bottom: 2px; }
.activity-text a { color: var(--color-text-primary); font-weight: 600; }
.activity-preview { font-size: 13px; color: var(--color-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.activity-preview--nsfw { font-style: italic; }
.activity-time { font-size: 11px; color: var(--color-text-muted); white-space: nowrap; flex-shrink: 0; margin-top: 2px; }

.feed-empty { text-align: center; padding: var(--space-2xl) 0; }
.feed-empty-headline { font-family: var(--font-display); font-size: 24px; font-weight: 400; margin-bottom: var(--space-sm); }
.feed-empty p { color: var(--color-text-muted); margin-bottom: var(--space-xl); }
.feed-empty-cta { display: flex; gap: var(--space-md); justify-content: center; }

/* Sidebar */
.feed-sidebar { position: sticky; top: 80px; }
.feed-profile-card {
  background: var(--color-plum-mid); border: 1px solid var(--color-plum-border);
  border-radius: var(--radius-lg); padding: var(--space-lg); margin-bottom: var(--space-md);
}
.feed-profile-link {
  display: flex; align-items: center; gap: var(--space-md);
  text-decoration: none; color: var(--color-text-primary); margin-bottom: 4px;
}
.feed-profile-link:hover { text-decoration: none; }
.feed-profile-avatar { border-radius: 50%; object-fit: cover; border: 2px solid var(--color-plum-border); }
.feed-profile-name { font-size: 15px; font-weight: 600; display: block; }

.feed-quick-links {
  background: var(--color-plum-mid); border: 1px solid var(--color-plum-border);
  border-radius: var(--radius-lg); padding: var(--space-lg);
}
.quick-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-sm) 0; font-size: 14px; color: var(--color-text-secondary);
  text-decoration: none; border-bottom: 1px solid rgba(82,40,95,0.3);
  transition: color var(--transition);
}
.quick-link:last-child { border-bottom: none; }
.quick-link:hover { color: var(--color-rose-light); text-decoration: none; }

.nsfw-blur-text { filter: blur(4px); user-select: none; }

/* -----------------------------------------------------------------------------
   RESPONSIVE
   ----------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .how-grid, .features-strip { grid-template-columns: 1fr 1fr; }
  .clique-demo-layout { grid-template-columns: 1fr; }
  .feed-layout { grid-template-columns: 1fr; }
  .feed-sidebar { position: static; }
}
@media (max-width: 640px) {
  .how-grid, .features-strip { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-btn-primary { width: 100%; text-align: center; }
  .rule-card { flex-direction: column; gap: var(--space-sm); }
  .rule-number { width: auto; text-align: left; }
  .landing-header nav { display: none; }
}
