/* ── Landing / unauthorized-home ──────────────────────────────────────────── */

.landing-page {
  background: #1a1b1e;
  color: #f2f3f5;
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ── Top nav (full-width: brand far-left, login far-right) ───────────────── */

.landing-nav {
  align-items: center;
  animation: fade-down 0.6s ease both;
  display: flex;
  justify-content: space-between;
  padding: 1.4rem 2rem;
  position: relative;
  z-index: 2;
}

.landing-brand {
  align-items: center;
  color: #ffffff;
  display: inline-flex;
  font-size: 1.18rem;
  font-weight: 800;
  gap: 0.6rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.landing-brand-mark {
  align-items: center;
  display: inline-flex;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.25));
  justify-content: center;
}

.landing-brand-mark svg {
  height: 1.7rem;
  width: 1.7rem;
}

.landing-brand-mark .shield-outline {
  fill: none;
  stroke: rgba(255, 255, 255, 0.85);
  stroke-linejoin: round;
  stroke-width: 2;
}

.landing-brand-mark .shield-fill {
  fill: #ffffff;
}

.landing-login-btn {
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 8px;
  color: #1a1b1e;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.6rem 1.4rem;
  text-decoration: none;
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.landing-login-btn:hover {
  box-shadow: 0 6px 22px rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.landing-login-btn:active {
  transform: translateY(0);
}

/* ── Main / hero ─────────────────────────────────────────────────────────── */

.landing-main {
  margin: 0 auto;
  max-width: 76rem;
  padding: 2rem 1.6rem 4rem;
  position: relative;
  z-index: 1;
}

.landing-hero {
  margin: 2.5rem auto 0;
  max-width: 46rem;
  text-align: center;
}

.landing-eyebrow {
  background: rgba(88, 101, 242, 0.16);
  border: 1px solid rgba(88, 101, 242, 0.4);
  border-radius: 999px;
  color: #b6bdff;
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  text-transform: uppercase;
}

.landing-title {
  background: linear-gradient(120deg, #ffffff 30%, #b6bdff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 1.1rem 0 0;
}

.landing-subtitle {
  color: #b5bac1;
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  line-height: 1.55;
  margin: 1.1rem auto 0;
  max-width: 34rem;
}

.landing-cta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 1.9rem;
}

.landing-cta-primary,
.landing-cta-ghost {
  border-radius: 10px;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 0.85rem 1.7rem;
  text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.landing-cta-primary {
  background: #5865f2;
  box-shadow: 0 10px 30px rgba(88, 101, 242, 0.35);
  color: #ffffff;
}

.landing-cta-primary:hover {
  background: #4752c4;
  box-shadow: 0 14px 38px rgba(88, 101, 242, 0.45);
  transform: translateY(-2px);
}

.landing-cta-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid #3a3c43;
  color: #f2f3f5;
}

.landing-cta-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

/* ── Feature placeholder cards ───────────────────────────────────────────── */

.landing-features {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  margin-top: 3.5rem;
}

.landing-card {
  background: rgba(35, 36, 40, 0.7);
  border: 1px solid #2e2f35;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.5rem;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.landing-card:hover {
  border-color: #4a4d56;
  transform: translateY(-3px);
}

.landing-security-card {
  justify-content: center;
  min-height: 10.7rem;
}

.landing-feature-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.74);
  display: inline-flex;
  height: 2.7rem;
  justify-content: center;
  width: 2.7rem;
}

.landing-feature-icon svg {
  fill: currentColor;
  height: 1.45rem;
  width: 1.45rem;
}

.landing-feature-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.25;
  margin: 0;
}

.landing-feature-copy {
  color: #b5bac1;
  font-size: 0.9rem;
  line-height: 1.45;
  margin: -0.15rem 0 0;
  max-width: 30rem;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */

.landing-footer {
  border-top: 1px solid #2e2f35;
  display: flex;
  justify-content: center;
  margin-top: 3rem;
  padding: 2rem 1.6rem;
  position: relative;
  z-index: 1;
}

.landing-footer-text {
  color: #949ba4;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ── Animated skeleton placeholders ──────────────────────────────────────── */

.skeleton {
  background: linear-gradient(90deg, #2b2d31 25%, #3a3c43 37%, #2b2d31 63%);
  background-size: 400% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: 6px;
  display: block;
}

.skeleton-line { height: 0.85rem; }
.skeleton-pill { border-radius: 999px; height: 1.5rem; }
.skeleton-icon { border-radius: 12px; height: 2.6rem; width: 2.6rem; }

.w-30 { width: 30%; }
.w-45 { width: 45%; }
.w-50 { width: 50%; }
.w-55 { width: 55%; }
.w-60 { width: 60%; }
.w-65 { width: 65%; }
.w-70 { width: 70%; }
.w-75 { width: 75%; }
.w-85 { width: 85%; }
.w-90 { width: 90%; }

@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}

/* ── Entrance animations ─────────────────────────────────────────────────── */

.reveal {
  animation: fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--d, 0ms);
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-down {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton,
  .reveal,
  .landing-nav {
    animation: none;
  }
}

/* "Unlike Discord, we…" section */
.landing-unlike {
  background: rgba(35, 36, 40, 0.7);
  border: 1px solid #2e2f35;
  border-radius: 16px;
  margin: 3.5rem auto 0;
  max-width: 40rem;
  padding: 2rem 2.2rem;
}

.landing-unlike-title {
  color: #ffffff;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 1.4rem;
  text-align: center;
}

.landing-unlike-list {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.landing-unlike-list li {
  align-items: center;
  color: #dbdee1;
  display: flex;
  font-size: 1.02rem;
  gap: 0.85rem;
  line-height: 1.4;
}

.landing-unlike-check {
  align-items: center;
  background: rgba(35, 165, 90, 0.16);
  border-radius: 50%;
  color: #23a55a;
  display: inline-flex;
  flex: 0 0 auto;
  height: 1.65rem;
  justify-content: center;
  width: 1.65rem;
}

.landing-unlike-check svg {
  fill: currentColor;
  height: 0.95rem;
  width: 0.95rem;
}
