/* ============================================================
   Landing Page Styles — LiveSticky
   Extends the shared style.css base
   ============================================================ */

/* Landing container */
.landing-container {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 48px 24px 64px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  padding-top: 28px;
}

.hero .logo-glow {
  width: 144px;
  height: 144px;
  border-radius: 32px;
  box-shadow: 0 10px 32px rgba(145, 70, 255, 0.5);
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: -12px;
  line-height: 1.1;
}

.hero .subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.6;
}

.logo-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: -16px;
}

.logo-version {
  font-size: 0.8rem;
  padding: 4px 12px;
  letter-spacing: 0.05em;
}

.creator-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  margin-top: -12px;
  margin-bottom: -16px;
}

.creator-link svg {
  fill: currentColor;
  opacity: 0.75;
  transition: var(--transition-smooth);
}

.creator-link:hover {
  color: #ff4500;
}

.creator-link:hover svg {
  fill: #ff4500;
  opacity: 1;
  transform: rotate(8deg) scale(1.15);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* Install CTA Button */
.install-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 16px 44px;
  border-radius: 100px;
  background: var(--gradient-glow);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 24px rgba(145, 70, 255, 0.35);
}

.install-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(145, 70, 255, 0.5);
  filter: brightness(1.1);
}

.install-btn svg {
  flex-shrink: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.badge-purple {
  background: rgba(145, 70, 255, 0.15);
  color: #b88fff;
  border-color: rgba(145, 70, 255, 0.3);
}

.badge-orange {
  background: rgba(255, 69, 0, 0.15);
  color: #ff7a45;
  border-color: rgba(255, 69, 0, 0.3);
}

.badge-neutral {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-muted);
  border-color: var(--card-border);
}

.badge-green {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.3);
}

.badge-pulsate {
  animation: badge-pulse 2s infinite ease-in-out;
}

@keyframes badge-pulse {
  0%, 100% {
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.2);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.5);
    transform: scale(1.05);
  }
}


.badge:hover {
  transform: translateY(-2px);
  filter: brightness(1.2);
}

/* ── Section titles ─────────────────────────────────────── */
.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  text-align: center;
}

/* ── Live Post Preview ──────────────────────────────────── */
.preview-card {
  padding: 32px 36px;
  position: relative;
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff4500;
  box-shadow: 0 0 10px rgba(255, 69, 0, 0.8);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.3); }
}

.preview-flair {
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 69, 0, 0.15);
  color: #ff7a45;
  border: 1px solid rgba(255, 69, 0, 0.3);
  border-radius: 6px;
  padding: 2px 10px;
  letter-spacing: 0.04em;
}

.preview-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  line-height: 1.4;
}

.preview-body {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.preview-body p {
  color: var(--text-muted);
  font-size: 0.97rem;
  margin: 0;
}

.preview-body p strong {
  color: var(--text-main);
}

.preview-body a {
  color: var(--accent-purple);
  text-decoration: none;
}

.preview-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  opacity: 0.7;
  font-style: italic;
  margin: 0;
}

/* ── Features Grid ──────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: rgba(20, 24, 38, 0.65);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: var(--transition-smooth);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 0;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(145, 70, 255, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(145, 70, 255, 0.08);
}

.feature-card:hover::before {
  opacity: 0.04;
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.feature-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 1;
}

.feature-card p em {
  color: #b88fff;
  font-style: normal;
}

/* ── How It Works (steps) ───────────────────────────────── */
.steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0;
  margin: 28px 0 0 0;
}

.steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  padding-left: 0;
}

.steps-list li::before {
  display: none; /* override shared content li::before */
}

.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-top: 2px;
}

.steps-list li strong {
  color: #fff;
}

.steps-list li em {
  color: #b88fff;
  font-style: normal;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .landing-container {
    padding: 32px 16px 48px;
    gap: 36px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .preview-card {
    padding: 24px 20px;
  }

  .portal-grid {
    grid-template-columns: 1fr;
  }
}
