/* ======================================================
   Jinproduction — Project Landing Pages (shared shell)
   Used by RealBible, King's Way, RealBook
   ====================================================== */

:root {
  --accent-light: #E8D399;
  --accent-main: #C5A059;
  --accent-dark: #8A6D3B;
  --glow-color: rgba(197, 160, 89, 0.04);
  --btn-border: rgba(197, 160, 89, 0.25);
  --btn-hover-bg: rgba(197, 160, 89, 0.08);
  --btn-hover-border: rgba(197, 160, 89, 0.8);
  --btn-shadow: rgba(197, 160, 89, 0.12);
  --cta-shadow: rgba(197, 160, 89, 0.22);
  --cta-shadow-hover: rgba(197, 160, 89, 0.3);
  --cta-text: #1a1200;
  --bg-dark: #121212;
  --bg-darker: #050505;
}

.theme-bible {
  --accent-light: #E8D399;
  --accent-main: #C5A059;
  --accent-dark: #8A6D3B;
  --glow-color: rgba(197, 160, 89, 0.04);
  --btn-border: rgba(197, 160, 89, 0.25);
  --btn-hover-bg: rgba(197, 160, 89, 0.08);
  --btn-hover-border: rgba(197, 160, 89, 0.8);
  --btn-shadow: rgba(197, 160, 89, 0.12);
  --cta-shadow: rgba(197, 160, 89, 0.22);
  --cta-shadow-hover: rgba(197, 160, 89, 0.3);
  --cta-text: #1a1200;
  --bg-dark: #121212;
  --bg-darker: #050505;
}

.theme-king {
  --accent-light: #8ecdb4;
  --accent-main: #3a6b56;
  --accent-dark: #2a4d3e;
  --glow-color: rgba(58, 107, 86, 0.07);
  --btn-border: rgba(58, 107, 86, 0.35);
  --btn-hover-bg: rgba(58, 107, 86, 0.12);
  --btn-hover-border: rgba(126, 205, 180, 0.7);
  --btn-shadow: rgba(58, 107, 86, 0.18);
  --cta-shadow: rgba(58, 107, 86, 0.28);
  --cta-shadow-hover: rgba(58, 107, 86, 0.38);
  --cta-text: #0a1812;
  --bg-dark: #0e1412;
  --bg-darker: #050807;
}

.theme-realbook {
  --accent-light: #e0d0b4;
  --accent-main: #b8a07a;
  --accent-dark: #8b7b6b;
  --glow-color: rgba(184, 160, 122, 0.06);
  --btn-border: rgba(184, 160, 122, 0.28);
  --btn-hover-bg: rgba(184, 160, 122, 0.1);
  --btn-hover-border: rgba(224, 208, 180, 0.65);
  --btn-shadow: rgba(139, 123, 107, 0.15);
  --cta-shadow: rgba(184, 160, 122, 0.24);
  --cta-shadow-hover: rgba(184, 160, 122, 0.34);
  --cta-text: #1a1208;
  --bg-dark: #16120e;
  --bg-darker: #0a0806;
}

* {
  box-sizing: border-box;
}

body.project-landing {
  margin: 0;
  padding: 0;
  font-family: 'Pretendard Variable', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background-color: var(--bg-darker);
  background-image: radial-gradient(circle at 50% -20%, var(--bg-dark) 0%, var(--bg-darker) 80%);
  color: #FFFFFF;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.project-landing::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

.project-landing .glow {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle, var(--glow-color) 0%, rgba(0, 0, 0, 0) 60%);
  pointer-events: none;
  z-index: 0;
}

.project-landing .back-home {
  position: fixed;
  top: 28px;
  left: 24px;
  z-index: 20;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  text-decoration: none;
  transition: color 0.3s ease;
}

.project-landing .back-home:hover {
  color: var(--accent-light);
}

.project-landing .container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 72px 24px 100px;
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .project-landing .container {
    animation: projectFadeUp 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
  }
}

@keyframes projectFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.project-landing .logo {
  max-width: 200px;
  width: min(200px, 55vw);
  height: auto;
  margin-bottom: 24px;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.4));
}

.project-landing .logo.logo-round {
  border-radius: 50%;
}

.project-landing .logo.logo-square {
  border-radius: 20px;
}

.project-landing .subtitle {
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin: 0 0 28px 0;
  letter-spacing: 0.02em;
  max-width: 360px;
}

.project-landing .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 0 40px 0;
  max-width: 340px;
}

.project-landing .tag {
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--btn-border);
  background: rgba(255, 255, 255, 0.02);
}

.project-landing .button-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 240px;
  margin-bottom: 40px;
}

@media (min-width: 500px) {
  .project-landing .button-group {
    flex-direction: row;
    max-width: none;
    gap: 20px;
  }
}

.project-landing .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--btn-border);
  color: var(--accent-light);
  backdrop-filter: blur(10px);
  text-transform: uppercase;
}

.project-landing .btn:hover {
  background: var(--btn-hover-bg);
  border-color: var(--btn-hover-border);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--btn-shadow);
}

.project-landing .btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.project-landing .trial-label {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 12px 0;
  letter-spacing: 0.04em;
}

.project-landing .btn-trial {
  width: 100%;
  max-width: 220px;
  background: linear-gradient(180deg, var(--accent-light) 0%, var(--accent-main) 100%);
  border: none;
  color: var(--cta-text);
  font-weight: 700;
  font-size: 15px;
  text-transform: none;
  letter-spacing: 0.06em;
  box-shadow: 0 10px 28px var(--cta-shadow);
}

.project-landing .btn-trial:hover {
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent-light) 85%, white) 0%, var(--accent-main) 100%);
  color: var(--cta-text);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px var(--cta-shadow-hover);
}

.project-landing .btn-trial svg {
  width: 18px;
  height: 18px;
}

.project-landing .trial-hint {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin: 12px 0 0 0;
  line-height: 1.5;
  letter-spacing: 0.02em;
  max-width: 320px;
}

.project-landing .footer {
  position: fixed;
  bottom: 40px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.08em;
  z-index: 10;
  text-transform: uppercase;
}

@media (max-width: 480px) {
  .project-landing .back-home {
    top: 20px;
    left: 16px;
  }

  .project-landing .container {
    padding: 64px 20px 88px;
  }

  .project-landing .logo {
    max-width: 160px;
    margin-bottom: 20px;
  }

  .project-landing .footer {
    bottom: 28px;
  }
}
