/* ==========================================================================
   LUNIUS LABS — Dedicated Project Page Stylesheet (project.css)
   ========================================================================== */

.project-hero {
  padding: 142px 0 64px;
  text-align: center;
}

.project-app-icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  margin: 0 auto 24px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.55);
}

.project-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sirius-cyan);
  margin-bottom: 14px;
}

.project-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6.5vw, 4.75rem);
  font-weight: 500;
  color: var(--text-pure);
  letter-spacing: -0.015em;
  line-height: 1.06;
  margin-bottom: 14px;
}

.project-hero-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.38rem, 2.8vw, 1.95rem);
  color: var(--luna-silver);
  margin-bottom: 16px;
}

.project-hero-lead {
  font-size: 1.04rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.75;
}

.project-store-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.project-hero .container > * {
  animation: celestialEmerge 1s var(--ease-celestial) both;
}
.project-hero .container > *:nth-child(1) { animation-delay: 0.05s; }
.project-hero .container > *:nth-child(2) { animation-delay: 0.13s; }
.project-hero .container > *:nth-child(3) { animation-delay: 0.21s; }
.project-hero .container > *:nth-child(4) { animation-delay: 0.29s; }
.project-hero .container > *:nth-child(5) { animation-delay: 0.37s; }
.project-hero .container > *:nth-child(6) { animation-delay: 0.45s; }

.store-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(244, 247, 252, 0.96), rgba(213, 222, 236, 0.92));
  color: #050811;
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition);
  box-shadow: 0 8px 28px rgba(213, 222, 236, 0.16);
}

.store-badge-btn.secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-pure);
  border: 1px solid var(--border-light);
  box-shadow: none;
}

.store-badge-btn svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.store-badge-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(92, 232, 255, 0.25);
}

.store-badge-btn.secondary:hover {
  background: rgba(92, 232, 255, 0.09);
  border-color: var(--border-cyan);
}

/* 3 Live Story Moments */
.moments-section {
  padding: 56px 0 88px;
}

.moments-grid {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.moment-card {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 48px;
  align-items: center;
  padding: 38px;
  border-radius: var(--radius-lg);
  background: rgba(9, 14, 27, 0.55);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.moment-card.reverse {
  grid-template-columns: 0.88fr 1.12fr;
}

.moment-card.reverse .moment-stage {
  order: 2;
}

.moment-card.reverse .moment-content {
  order: 1;
}

.moment-index {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sirius-cyan);
  margin-bottom: 10px;
  display: block;
}

.moment-caption {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  font-weight: 500;
  color: var(--text-pure);
  line-height: 1.2;
  margin-bottom: 14px;
}

.moment-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ==========================================================================
   Origin Story & Design Decisions Constellation (#story)
   ========================================================================== */
.story-section {
  padding: 28px 0 96px;
  position: relative;
}

.origin-card {
  position: relative;
  max-width: 860px;
  margin: 0 auto 84px;
  padding: 52px 48px;
  text-align: center;
  background:
    radial-gradient(ellipse 72% 58% at 50% 0%, rgba(92, 232, 255, 0.07), transparent 72%),
    linear-gradient(180deg, rgba(11, 18, 35, 0.66) 0%, rgba(6, 10, 20, 0.38) 100%);
  border: 1px solid var(--border-subtle);
}

.origin-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(213, 222, 236, 0.22),
    rgba(92, 232, 255, 0.5),
    rgba(213, 222, 236, 0.22),
    transparent
  );
  pointer-events: none;
}

.origin-ornament {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--sirius-cyan);
  margin-bottom: 14px;
  opacity: 0.88;
}

.origin-ornament::before,
.origin-ornament::after {
  content: '';
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(213, 222, 236, 0.24), transparent);
}

.origin-ornament svg {
  width: 16px;
  height: 16px;
}

.origin-eyebrow {
  display: block;
  margin-bottom: 14px;
}

.origin-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.92rem, 3.6vw, 2.72rem);
  font-weight: 500;
  color: var(--text-pure);
  line-height: 1.22;
  letter-spacing: -0.01em;
  max-width: 680px;
  margin: 0 auto 22px;
}

.origin-lead {
  font-size: clamp(1rem, 1.45vw, 1.09rem);
  color: var(--luna-silver);
  line-height: 1.85;
  max-width: 670px;
  margin: 0 auto;
  opacity: 0.92;
}

/* Decisions Subheader & 2-Column Star Chart Grid */
.decisions-header {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.decisions-header .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.decisions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.decision-card {
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: linear-gradient(180deg, rgba(11, 18, 34, 0.54) 0%, rgba(6, 10, 20, 0.32) 100%);
}

@media (min-width: 901px) {
  .decisions-grid .decision-card:nth-child(even) {
    transition:
      opacity 0.95s var(--ease-celestial) 0.09s,
      filter 0.95s var(--ease-celestial) 0.09s,
      transform 0.55s var(--ease-celestial),
      border-color 0.55s var(--ease-celestial),
      box-shadow 0.55s var(--ease-celestial);
  }
}

@media (hover: hover) {
  .decision-card:hover {
    transform: translateY(-3px);
    border-color: rgba(92, 232, 255, 0.25);
  }

  .decision-card:hover .decision-glyph {
    color: var(--sirius-cyan);
    border-color: var(--border-cyan);
    background: rgba(92, 232, 255, 0.08);
    box-shadow: 0 0 18px rgba(92, 232, 255, 0.14);
  }
}

.decision-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.decision-index {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--sirius-cyan);
  opacity: 0.9;
}

.decision-index::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sirius-cyan);
  box-shadow: 0 0 8px var(--sirius-cyan);
  flex-shrink: 0;
}

.decision-glyph {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(213, 222, 236, 0.12);
  background: rgba(255, 255, 255, 0.025);
  color: var(--luna-silver);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.45s var(--ease-celestial), border-color 0.45s var(--ease-celestial), background 0.45s var(--ease-celestial), box-shadow 0.45s var(--ease-celestial);
}

.decision-glyph svg {
  width: 16px;
  height: 16px;
}

.decision-title {
  font-family: var(--font-serif);
  font-size: clamp(1.42rem, 2.2vw, 1.68rem);
  font-weight: 500;
  color: var(--text-pure);
  line-height: 1.25;
  position: relative;
  z-index: 2;
}

.decision-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.78;
  position: relative;
  z-index: 2;
}

/* Privacy Promise Section */
.pledge-section {
  padding: 24px 0 96px;
}

.pledge-card {
  padding: 54px 40px;
  text-align: center;
}

.pledge-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: rgba(92, 232, 255, 0.08);
  border: 1px solid var(--border-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sirius-cyan);
}

.pledge-icon svg {
  width: 24px;
  height: 24px;
}

.pledge-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.4vw, 2.5rem);
  font-weight: 500;
  color: var(--text-pure);
  margin-bottom: 12px;
  line-height: 1.25;
}

.pledge-support {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 30px;
  line-height: 1.72;
}

.project-footer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* 404 Page Styling */
.notfound-section {
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 132px 0 72px;
}

@media (max-width: 900px) {
  .moment-card,
  .moment-card.reverse {
    grid-template-columns: 1fr;
    padding: 26px 20px;
    gap: 28px;
  }
  .moment-card.reverse .moment-stage {
    order: 1;
  }
  .moment-card.reverse .moment-content {
    order: 2;
  }
  .origin-card {
    padding: 38px 26px;
    margin-bottom: 64px;
  }
  .decisions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .decision-card {
    padding: 28px 22px;
  }
  .pledge-card {
    padding: 38px 22px;
  }
}

@media (max-width: 480px) {
  .project-hero {
    padding: 118px 0 44px;
  }
  .project-app-icon {
    width: 76px;
    height: 76px;
    border-radius: 18px;
  }
  .project-hero-tagline {
    font-size: 1.25rem;
  }
  .store-badge-btn {
    padding: 11px 20px;
    font-size: 0.86rem;
  }
  .moment-card,
  .moment-card.reverse {
    padding: 18px 12px;
    gap: 20px;
  }
  .moment-caption {
    font-size: 1.6rem;
  }
  .story-section {
    padding: 16px 0 72px;
  }
  .origin-card {
    padding: 28px 18px;
    margin-bottom: 52px;
  }
  .origin-title {
    font-size: 1.62rem;
  }
  .origin-lead {
    font-size: 0.96rem;
    line-height: 1.76;
  }
  .decisions-header {
    margin-bottom: 34px;
  }
  .decision-card {
    padding: 22px 16px;
    gap: 12px;
  }
  .decision-title {
    font-size: 1.35rem;
  }
  .decision-body {
    font-size: 0.92rem;
    line-height: 1.72;
  }
  .pledge-card {
    padding: 28px 14px;
  }
}
