/* 프로젝트 몽연 시안 공통 스타일. 색·글꼴은 기존 몽연 사이트(G:\홈페이지)의 값을 그대로 따른다. */
:root {
  --bg: #14132b;
  --bg-deep: #0e0d22;
  --panel: rgba(38, 34, 78, 0.55);
  --panel-solid: #1d1b3d;
  --line: rgba(196, 178, 255, 0.28);
  --text: #eeeaf8;
  --muted: #b9b2d3;
  --lavender: #c7b3ff;
  --neon: #f1b9ff;
  --font-sans: "Noto Sans KR", system-ui, sans-serif;
  --font-hand: "Nanum Pen Script", cursive;
  --font-brush: "Nanum Brush Script", cursive;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-sans); font-size: 15px; line-height: 1.7;
  word-break: keep-all; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; }

.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }
section { position: relative; padding: 110px 0; }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.3; font-weight: 700; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.35; font-weight: 600; }
.kicker { font-size: 12px; letter-spacing: 0.35em; color: var(--lavender); margin-bottom: 14px; }
.lead { color: var(--muted); max-width: 560px; margin-top: 16px; }
.hand { font-family: var(--font-hand); font-size: 1.5rem; line-height: 1.3; color: #e4dcf7; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.center .btn-row { justify-content: center; }
.draft-note {
  display: inline-block; margin-top: 10px; padding: 2px 10px; border-radius: 999px;
  font-size: 11px; color: #ffd28a; border: 1px dashed rgba(255, 210, 138, 0.6);
}

/* 머리글 */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(14, 13, 34, 0.82); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(196, 178, 255, 0.12);
}
.header-row { display: flex; align-items: center; gap: 40px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { font-family: var(--font-brush); font-size: 2.4rem; line-height: 1; }
.brand-sub { font-size: 9px; letter-spacing: 0.35em; line-height: 1.5; color: var(--muted); }
.site-nav { display: flex; gap: 36px; font-size: 13px; letter-spacing: 0.06em; color: var(--muted); }
.site-nav a:hover { color: #fff; }
.header-cta { margin-left: auto; }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: 999px; font-size: 14px; font-weight: 500;
  border: 1.5px solid var(--neon); color: #fff;
  transition: background 0.2s;
}
.btn:hover { background: rgba(241, 185, 255, 0.12); }
.btn.solid { background: var(--lavender); color: #1b1640; border-color: transparent; font-weight: 700; }
.btn.solid:hover { background: #d6c8ff; }
.btn.small { padding: 9px 18px; font-size: 13px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* 카드 공통 */
.card {
  background: var(--panel-solid); border: 1px solid var(--line); border-radius: 18px;
  padding: 28px;
}

/* ===== 브랜드 대문 ===== */
.hero {
  min-height: min(calc(100vh - 72px), 820px); padding: 0; display: flex; align-items: center;
  background:
    linear-gradient(90deg, rgba(14, 13, 34, 0.94) 0%, rgba(14, 13, 34, 0.7) 42%, rgba(14, 13, 34, 0.05) 75%),
    url("../assets/hero.webp") center right / cover no-repeat;
}
.hero-logo { font-family: var(--font-brush); font-size: clamp(4.5rem, 8vw, 6.5rem); line-height: 1; }
.hero-logo + .brand-sub { margin: 6px 0 28px; }
.hero .lead { color: #d6cff0; }
.hero .hand { margin-top: 36px; transform: rotate(-4deg); display: inline-block; }

.about { background: var(--bg-deep); }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.about-art { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.about-points { display: grid; gap: 14px; margin-top: 28px; }
.about-points li { display: flex; gap: 14px; align-items: baseline; color: var(--muted); }
.about-points b { color: var(--text); font-weight: 600; min-width: 92px; }

.projects-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.project-feature {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 0; overflow: hidden; padding: 0;
  border-color: rgba(241, 185, 255, 0.55); box-shadow: 0 0 40px rgba(184, 155, 255, 0.18);
  transition: transform 0.2s;
}
.project-feature:hover { transform: translateY(-3px); }
.project-feature-body { padding: 44px; display: flex; flex-direction: column; gap: 14px; }
.project-feature-body h3 { font-size: 1.9rem; }
.project-feature-body p { color: var(--muted); }
.project-feature-body .btn { align-self: flex-start; margin-top: 10px; }
.project-feature-shot { background: radial-gradient(circle at 30% 30%, #3a2f7a, #17153a 70%); display: grid; place-items: center; padding: 36px; }
.badge { align-self: flex-start; font-size: 11px; letter-spacing: 0.12em; padding: 4px 12px; border-radius: 999px; background: rgba(241, 185, 255, 0.16); color: var(--neon); border: 1px solid rgba(241, 185, 255, 0.4); }
.badge.dim { background: rgba(255, 255, 255, 0.06); color: var(--muted); border-color: var(--line); }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.project-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.project-card img { aspect-ratio: 16 / 9; object-fit: cover; filter: saturate(0.7) brightness(0.7); }
.project-card div { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.project-card h3 { font-size: 1.15rem; }
.project-card p { color: var(--muted); font-size: 14px; }

.news { background: var(--bg-deep); }
.news-list { margin-top: 36px; border-top: 1px solid var(--line); }
.news-list li { display: grid; grid-template-columns: 120px 90px 1fr; gap: 20px; padding: 20px 4px; border-bottom: 1px solid var(--line); align-items: center; }
.news-list time { color: var(--muted); font-size: 13px; }
.news-tag { font-size: 11px; color: var(--lavender); border: 1px solid var(--line); border-radius: 999px; text-align: center; padding: 2px 0; }

.closing {
  padding: 140px 0;
  background: linear-gradient(180deg, rgba(14, 13, 34, 0.55), rgba(14, 13, 34, 0.85)), url("../assets/closing.webp") center / cover no-repeat;
}

/* 바닥글 */
.site-footer { background: #0b0a1c; padding: 48px 0 40px; font-size: 13px; color: var(--muted); border-top: 1px solid rgba(196, 178, 255, 0.12); }
.footer-row { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a:hover { color: #fff; }
.biz { margin-top: 24px; line-height: 1.9; font-size: 12px; color: #8d86ad; }

/* ===== 방송 매니저 페이지 ===== */
.pm-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; line-height: 1.25; }
.pm-icon { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, #9d8cff, #c9a8ff); display: grid; place-items: center; }
.pm-icon::before { content: ""; border-left: 12px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.pm-brand small { font-weight: 400; font-size: 11px; color: var(--muted); letter-spacing: 0.05em; }

.pm-hero { padding: 90px 0 100px; background: var(--bg); }
.pm-hero-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.users-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--lavender); padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 22px; }
.users-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #7ee2a8; }
.req { margin-top: 18px; font-size: 12px; color: #8d86ad; }

/* 프로그램 화면 모형 (실제 방송 매니저 화면을 단순화해 HTML로 그림) */
.app {
  background: #1c1c22; border-radius: 16px; padding: 18px; color: #e9e9ef; font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  width: 100%; max-width: 620px; justify-self: end;
}
.app-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.app-top .pm-icon { width: 26px; height: 26px; border-radius: 8px; }
.app-top .pm-icon::before { border-left-width: 9px; border-top-width: 5px; border-bottom-width: 5px; }
.app-top b { font-size: 14px; }
.app-status { margin-left: auto; font-size: 11px; color: #c6c6d2; padding: 4px 10px; border: 1px solid #34343e; border-radius: 999px; }
.app-status::before { content: "● "; color: #7ee2a8; }
.app-tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.app-tabs span { padding: 6px 14px; border-radius: 999px; background: #26262e; color: #a6a6b4; }
.app-tabs span:first-child { background: #2b2a3a; color: #fff; outline: 1.5px solid #9d8cff; }
.app-prep { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #24242c; border: 1px solid #30303a; border-radius: 14px; padding: 14px 16px; margin-bottom: 10px; }
.app-prep p { color: #a6a6b4; font-size: 11px; }
.app-prep strong { font-size: 14px; }
.app-go { background: #9d8cff; color: #fff; font-weight: 700; padding: 10px 22px; border-radius: 12px; white-space: nowrap; }
.app-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.app-row { background: #24242c; border: 1px solid #30303a; border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; }
.app-row b { display: block; font-size: 12px; }
.app-row span { color: #9a9aa8; font-size: 10.5px; }
.app-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 5px; height: 112px; margin-top: 10px; }
.app-layout i { border-radius: 6px; font-style: normal; font-size: 10px; padding: 6px 8px; color: #fff; }
.app-layout i:first-child { grid-row: span 2; background: #8d8ca6; }
.app-layout i:nth-child(2) { background: #d9655f; }
.app-layout i:nth-child(3) { background: #79a9d6; }

.flow { background: var(--bg-deep); }
.flow-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.flow-steps .card { position: relative; }
.flow-steps .when { font-size: 12px; color: var(--neon); letter-spacing: 0.12em; }
.flow-steps h3 { font-size: 1.25rem; margin: 6px 0 14px; }
.flow-steps ol { display: grid; gap: 8px; counter-reset: s; }
.flow-steps ol li { counter-increment: s; color: var(--muted); font-size: 14px; display: flex; gap: 10px; }
.flow-steps ol li::before { content: counter(s); flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; font-size: 11px; display: grid; place-items: center; background: rgba(199, 179, 255, 0.16); color: var(--lavender); margin-top: 2px; }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.feature .ico { font-size: 22px; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(157, 140, 255, 0.16); margin-bottom: 18px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14px; }

.setup { background: var(--bg-deep); }
.setup-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; counter-reset: st; }
.setup-steps li { counter-increment: st; padding: 26px 22px; }
.setup-steps li::before { content: "STEP " counter(st); display: block; font-size: 11px; letter-spacing: 0.2em; color: var(--neon); margin-bottom: 10px; }
.setup-steps h3 { font-size: 1.05rem; margin-bottom: 6px; }
.setup-steps p { color: var(--muted); font-size: 13.5px; }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 340px)); justify-content: center; gap: 24px; margin-top: 48px; }
.plan { display: flex; flex-direction: column; gap: 14px; padding: 36px 32px; }
.plan.best { border: 2px solid var(--lavender); }
.plan h3 { font-size: 1.15rem; }
.price { font-size: 2.2rem; font-weight: 700; }
.price small { font-size: 14px; font-weight: 400; color: var(--muted); white-space: nowrap; }
.plan ul { display: grid; gap: 8px; align-content: start; color: var(--muted); font-size: 14px; flex: 1; }
.plan li::before { content: "✓  "; color: var(--lavender); }
.plan .btn { margin-top: 10px; }

.who { background: var(--bg-deep); }
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.who-grid .hand { font-size: 1.35rem; color: var(--neon); margin-bottom: 10px; }
.who-grid p { color: var(--muted); font-size: 14px; }

.faq-list { max-width: 820px; margin: 44px auto 0; display: grid; gap: 12px; }
.faq-list details { padding: 0; }
.faq-list summary { cursor: pointer; padding: 20px 26px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--lavender); font-size: 18px; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 26px 22px; color: var(--muted); font-size: 14px; }

.cta-band { text-align: center; padding: 100px 0; background: #2a2558; }

/* 반응형 */
@media (max-width: 960px) {
  .about-grid, .pm-hero-grid, .project-feature { grid-template-columns: 1fr; }
  .app { justify-self: stretch; }
  .project-grid, .features-grid, .flow-steps, .who-grid { grid-template-columns: 1fr 1fr; }
  .setup-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  section { padding: 76px 0; }
  .header-row { gap: 16px; height: auto; padding: 12px 0; flex-wrap: wrap; }
  .site-nav { order: 3; width: 100%; gap: 22px; overflow-x: auto; padding-bottom: 2px; }
  .hero { min-height: 640px; background-position: 70% center; background-image: linear-gradient(180deg, rgba(14, 13, 34, 0.55), rgba(14, 13, 34, 0.92) 70%), url("../assets/hero.webp"); align-items: flex-end; padding-bottom: 56px; }
  .project-grid, .features-grid, .flow-steps, .who-grid, .setup-steps, .plans { grid-template-columns: 1fr; }
  .project-feature-body { padding: 30px 24px; }
  .project-feature-shot { padding: 20px; }
  .news-list li { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .news-list li span:last-child { grid-column: 1 / -1; }
  .app { padding: 12px; font-size: 11px; }
  .app-prep { flex-direction: column; align-items: stretch; text-align: left; }
  .app-go { text-align: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.unavailable{cursor:default;opacity:.7}
