/* 페이지랩 CRM — 랜딩 (index.html 전용) */
.cinema {
  --c-bg: #ffffff;
  --c-surface: #ffffff;
  --c-elev: #ffffff;
  --c-line: #e5e7eb;
  --c-text: #111827;
  --c-muted: #4b5563;
  --c-dim: #6b7280;
  --c-red: #e50914;
  --c-red-deep: #b20710;
  --c-font: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --c-display: "Outfit", "Pretendard", sans-serif;
  margin: 0;
  min-height: 100vh;
  background: #ffffff;
  color: var(--c-text);
  font-family: var(--c-font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.cinema a { color: inherit; text-decoration: none; }
.cinema a:hover { text-decoration: underline; text-underline-offset: 3px; }

.cinema-wrap {
  width: min(1100px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* —— Nav —— */
.cinema-nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.35rem 0;
  animation: cinema-fade-down 0.7s ease both;
}

.cinema-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none !important;
}

.cinema-logo-img {
  display: block;
  height: clamp(28px, 3.6vw, 36px);
  width: auto;
}

.cinema-logo-crm {
  font-family: var(--c-display);
  font-weight: 700;
  font-size: clamp(0.85rem, 1.8vw, 1rem);
  color: #121938;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.45rem;
  border: 1px solid #c5cad6;
  border-radius: 3px;
  line-height: 1;
}

.cinema-nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cinema-nav-links > a:not(.cinema-btn) {
  color: var(--c-muted);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
}
.cinema-nav-links > a:not(.cinema-btn):hover { color: var(--c-text); }

.cinema-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-decoration: none !important;
  border-radius: 4px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cinema-btn-login {
  background: var(--c-red);
  color: #fff;
  padding: 0.45rem 1rem;
  font-size: 0.92rem;
}
.cinema-btn-login:hover { background: var(--c-red-deep); }

.cinema-btn-cta {
  background: var(--c-red);
  color: #fff;
  padding: 0.85rem 1.25rem;
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  white-space: nowrap;
}
.cinema-btn-cta:hover { background: var(--c-red-deep); }
.cinema-btn-cta i { font-size: 1.35em; line-height: 1; }

/* —— Hero —— */
.cinema-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.cinema-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #ffffff;
}

.cinema-hero-mosaic {
  display: none;
}

.cinema-hero-veil {
  display: none;
}

.cinema-hero-inner {
  position: absolute;
  left: 50%;
  top: 34%;
  transform: translate(-50%, 0);
  width: min(780px, calc(100% - 2rem));
  padding: 0 0 4rem;
  z-index: 1;
  animation: cinema-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.cinema-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 6.2vw, 3.55rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.18;
}

.cinema-lead {
  margin: 1rem auto 0;
  max-width: 34em;
  color: var(--c-muted);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 500;
}

.cinema-cta {
  margin: 1.5rem auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  width: min(100%, 620px);
}

.cinema-cta input {
  flex: 1 1 220px;
  min-height: 3.35rem;
  padding: 0.9rem 1rem;
  border: 1px solid #c5cad6;
  border-radius: 4px;
  background: #ffffff;
  color: var(--c-text);
  font-size: 1rem;
}

.cinema-cta input::placeholder { color: #9ca3af; }
.cinema-cta input:focus {
  outline: 2px solid rgba(229, 9, 20, 0.35);
  outline-offset: 1px;
  border-color: var(--c-red);
}

/* —— Trending row —— */
.cinema-row {
  padding: 1.5rem 0 3rem;
  background: #ffffff;
  border-top: 1px solid var(--c-line);
}

.cinema-row h2,
.cinema-reasons h2,
.cinema-faq h2,
.cinema-features h2 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.cinema-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 180px);
  gap: 0.85rem;
  overflow-x: auto;
  padding: 0.35rem 0.15rem 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #d1d5db transparent;
}

.cinema-poster {
  position: relative;
  scroll-snap-align: start;
  aspect-ratio: 2 / 3;
  border-radius: 6px;
  padding: 1rem 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.25rem;
  text-decoration: none !important;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background:
    linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.88) 100%),
    linear-gradient(145deg, #2c3e50, #1a1a2e);
}

.cinema-poster::before {
  content: attr(data-rank);
  position: absolute;
  left: -0.05em;
  bottom: -0.12em;
  z-index: -1;
  font-family: var(--c-display);
  font-weight: 800;
  font-size: 5.5rem;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.55);
  opacity: 0.95;
  pointer-events: none;
}

.cinema-poster:nth-child(2) { background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.88)), linear-gradient(145deg, #2f6f5e, #10241c); }
.cinema-poster:nth-child(3) { background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.88)), linear-gradient(145deg, #3d5a80, #121a28); }
.cinema-poster:nth-child(4) { background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.88)), linear-gradient(145deg, #1d4e89, #0b1a30); }
.cinema-poster:nth-child(5) { background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.88)), linear-gradient(145deg, #9b4d6c, #2a1018); }
.cinema-poster:nth-child(6) { background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.88)), linear-gradient(145deg, #0b6e4f, #062418); }
.cinema-poster:nth-child(7) { background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.88)), linear-gradient(145deg, #4a5568, #1a1e26); }
.cinema-poster:nth-child(8) { background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.88)), linear-gradient(145deg, #c53030, #2a0c0c); }
.cinema-poster:nth-child(9) { background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.88)), linear-gradient(145deg, #b83280, #2a0c1c); }
.cinema-poster:nth-child(10) { background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.88)), linear-gradient(145deg, #1d6f8a, #0a1e28); }

.cinema-poster span {
  position: relative;
  z-index: 1;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  padding-left: 1.6rem;
}

.cinema-poster em {
  position: relative;
  z-index: 1;
  font-style: normal;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  padding-left: 1.6rem;
}

.cinema-poster:hover {
  transform: scale(1.06);
  z-index: 2;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.18);
  text-decoration: none !important;
}

/* —— Features (AI / Mobile / Notify) —— */
.cinema-features {
  padding: 2.75rem 0 1.5rem;
  background: #ffffff;
  border-top: 1px solid var(--c-line);
}

.cinema-features h2 {
  scroll-margin-top: 5rem;
}

.cinema-feature {
  padding: 1.5rem 0;
  border-top: 1px solid var(--c-line);
}

.cinema-feature:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.cinema-feature header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem 1.1rem;
  align-items: start;
  margin-bottom: 1rem;
}

.cinema-feature-num {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: var(--c-red);
  color: #fff;
  font-family: var(--c-display);
  font-weight: 800;
  font-size: 1rem;
}

.cinema-feature h3 {
  margin: 0 0 0.25rem;
  font-size: clamp(1.2rem, 2.6vw, 1.45rem);
  letter-spacing: -0.03em;
}

.cinema-feature header p {
  margin: 0;
  color: var(--c-muted);
  font-size: 0.98rem;
}

.cinema-feature-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cinema-feature-tags li {
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: #fff;
  color: var(--c-text);
  font-size: 0.92rem;
  font-weight: 600;
}

.cinema-feature-note {
  margin-top: 1.25rem;
  padding: 1.25rem 1.35rem;
  border-left: 4px solid var(--c-red);
  background: #fff8f8;
}

.cinema-feature-note strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.cinema-feature-note p {
  margin: 0;
  color: var(--c-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* —— Reasons —— */
.cinema-reasons {
  padding: 2.5rem 0 1rem;
  background: #ffffff;
  border-top: 1px solid var(--c-line);
}

.cinema-reason-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.cinema-reason-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.35rem 1.25rem;
  background: #ffffff;
  border: 1px solid var(--c-line);
  border-radius: 8px;
}

.cinema-reason-list h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.cinema-reason-list p {
  margin: 0;
  color: var(--c-muted);
  font-size: 0.98rem;
  max-width: 48ch;
}

.cinema-reason-list i {
  font-size: 3rem;
  color: var(--c-red);
  opacity: 0.92;
}

/* —— FAQ —— */
.cinema-faq {
  padding: 3rem 0 4rem;
  background: #ffffff;
  border-top: 1px solid var(--c-line);
}

.cinema-accordion {
  display: grid;
  gap: 0.5rem;
}

.cinema-accordion details {
  background: #f9fafb;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  overflow: hidden;
}

.cinema-accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.25rem;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  font-weight: 550;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background 0.2s ease;
}

.cinema-accordion summary::-webkit-details-marker { display: none; }
.cinema-accordion summary::after {
  content: "+";
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  color: var(--c-text);
  transition: transform 0.2s ease;
}
.cinema-accordion details[open] summary::after {
  content: "×";
  transform: none;
}
.cinema-accordion summary:hover { background: #f3f4f6; }

.cinema-accordion details p {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  color: var(--c-muted);
  border-top: 1px solid var(--c-line);
  padding-top: 1rem;
  font-size: 0.98rem;
  line-height: 1.65;
}

.cinema-accordion details a {
  color: var(--c-red);
  text-decoration: underline;
}

.cinema-faq-cta {
  margin-top: 2.75rem;
  text-align: center;
}

.cinema-faq-cta > p {
  margin: 0 0 1rem;
  color: var(--c-muted);
  font-size: 1.05rem;
}

/* —— Footer —— */
.cinema-foot {
  padding: 2.5rem 0 3rem;
  background: #ffffff;
  border-top: 1px solid var(--c-line);
  color: var(--c-dim);
  font-size: 0.9rem;
}

.cinema-foot-brand {
  margin: 0 0 0.75rem;
  color: var(--c-muted);
  font-family: var(--c-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.cinema-foot a { color: var(--c-muted); }
.cinema-foot-note { margin: 0.85rem 0 0; }

/* —— Motion —— */
@keyframes cinema-fade-down {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes cinema-rise {
  from { opacity: 0; transform: translate(-50%, 18px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes cinema-drift {
  from { transform: scale(1.08) rotate(-1.5deg) translateY(0); }
  to { transform: scale(1.12) rotate(-0.5deg) translateY(-1.5%); }
}

@media (max-width: 640px) {
  .cinema-nav { width: calc(100% - 1.5rem); padding-top: 1rem; }
  .cinema-hero-inner { top: 32%; }
  .cinema-cta { flex-direction: column; }
  .cinema-cta input,
  .cinema-btn-cta { width: 100%; min-height: 3.2rem; }
  .cinema-reason-list li {
    grid-template-columns: 1fr;
  }
  .cinema-reason-list i {
    order: -1;
    font-size: 2.4rem;
  }
  .cinema-poster { grid-auto-columns: minmax(132px, 150px); }
  .cinema-poster::before { font-size: 4.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .cinema-nav,
  .cinema-hero-inner,
  .cinema-hero-mosaic,
  .cinema-poster {
    animation: none !important;
    transition: none !important;
  }
}
