/* Jedi Clip 홈페이지 — 흰 바탕 + 라임 한 가지 (VEED 스타일 참고), 50대 이상도 읽기 쉽게 큰 글자 */
@font-face {
  font-family: "Pretendard";
  src: url("../fonts/PretendardVariable.woff2") format("woff2-variations");
  font-weight: 45 920;
  font-display: swap;
}

:root {
  --lime: #a8eb12;          /* 브랜드 라임 (로고 그라데이션 끝) — 버튼 배경으로만 */
  --lime-hover: #b9f53a;
  --lime-wash: #f1fcd9;     /* 옅은 강조 바탕 */
  --teal: #25e2cc;
  --forest: #1f3a00;        /* 라임 위 글자 · 진한 강조 */
  --ink: #0c0a09;           /* 제목 · 본문 */
  --text: #2b2b2e;
  --muted: #5e5e66;         /* 흰 바탕 위 4.5:1 이상 */
  --line: #e6e6e3;
  --soft: #f6f6f3;          /* 카드 바탕 */
  --bg: #ffffff;
  --night: #111211;         /* 어두운 띠 (앱 화면과 이어지게) */
  --night-2: #1b1d1b;
  --night-line: #2c2f2c;
  --night-text: #e9ece8;
  --night-muted: #a6aca5;
  --grad: linear-gradient(135deg, #25e2cc 0%, #a8eb12 100%);
  --r: 20px;
  --r-lg: 28px;
  --max: 1200px;
  --serif: "Noto Serif KR", "Batang", serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard", -apple-system, "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.25; letter-spacing: -0.035em; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.serif { font-family: var(--serif); font-weight: 600; letter-spacing: -0.04em; }
.nw { white-space: nowrap; }
br.m { display: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 8px; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: inherit; font-size: 16px; font-weight: 700; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; transition: background .15s, transform .15s, border-color .15s;
}
.btn:active { transform: translateY(1px); }
.btn-lime { background: var(--lime); color: var(--forest); }
.btn-lime:hover { background: var(--lime-hover); }
.btn-line { background: #fff; color: var(--ink); border-color: #cfcfca; }
.btn-line:hover { border-color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2a2a; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }

/* ---------- 머리글 ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink); text-decoration: none; letter-spacing: -0.03em; }
.logo img { width: 32px; height: 32px; border-radius: 9px; }
.nav { display: flex; gap: 6px; margin-left: 12px; }
.nav a { padding: 10px 14px; border-radius: 12px; text-decoration: none; font-size: 15px; font-weight: 600; color: var(--text); }
.nav a:hover { background: var(--soft); color: var(--ink); }
.top .cta { margin-left: auto; }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: none; border-radius: 12px; cursor: pointer; }
.menu-btn svg { width: 28px; height: 28px; }

/* ---------- 첫 화면 ---------- */
.hero { padding: 72px 0 0; text-align: center; overflow: hidden; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  background: var(--lime-wash); color: var(--forest); font-size: 14px; font-weight: 700;
}
.badge i { width: 8px; height: 8px; border-radius: 50%; background: #6fb800; }
.hero h1 { margin: 24px auto 0; font-size: clamp(36px, 5.8vw, 70px); font-weight: 800; letter-spacing: -0.05em; line-height: 1.12; max-width: 15em; }
.hero h1 .serif { font-weight: 600; }
.hl { background: linear-gradient(transparent 62%, var(--lime) 62%, var(--lime) 92%, transparent 92%); padding: 0 .06em; }
.hero .lead { margin: 24px auto 0; max-width: 36em; font-size: clamp(16px, 1.6vw, 18px); color: var(--muted); }
.hero .actions { margin-top: 36px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .note { margin-top: 14px; font-size: 13px; color: var(--muted); }

.screen {
  position: relative; border-radius: var(--r-lg); overflow: hidden; background: #fff;
  border: 1px solid #dcdcd8; box-shadow: 0 40px 80px -36px rgba(12, 10, 9, .35), 0 8px 24px -12px rgba(12, 10, 9, .12);
}
.screen .bar { display: flex; gap: 7px; padding: 12px 16px; background: #f1f1ee; border-bottom: 1px solid #e4e4e0; }
.screen .bar i { width: 11px; height: 11px; border-radius: 50%; background: #d4d4cf; }
/* 첫 화면 그림: 긴 영상 하나 → 세로 숏폼 세 개 */
.stage { position: relative; margin: 64px auto 0; max-width: 1180px; padding: 0 24px 96px; }
.stage::before {
  content: ""; position: absolute; inset: 8% 4% 0; z-index: -1; border-radius: 48px;
  background: radial-gradient(60% 70% at 25% 40%, #e6fbf7 0%, transparent 70%), radial-gradient(55% 70% at 80% 60%, #f1fcd9 0%, transparent 70%);
}
.hero-flow { display: grid; grid-template-columns: minmax(0, 1.25fr) auto minmax(0, 1fr); align-items: center; gap: 28px; }
.src { margin: 0; background: #fff; border: 1px solid #dcdcd8; border-radius: var(--r-lg); padding: 10px; text-align: left;
  box-shadow: 0 40px 80px -40px rgba(12, 10, 9, .4), 0 8px 24px -12px rgba(12, 10, 9, .12); transform: rotate(-1.5deg); }
.src-img { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; background: #ddd; }
.src-img img { width: 100%; height: 100%; object-fit: cover; }
.src-img .play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(12, 10, 9, .45); backdrop-filter: blur(6px); }
.src-img .play svg { width: 24px; height: 24px; margin-left: 3px; }
.src-img .dur { position: absolute; right: 12px; bottom: 12px; padding: 3px 8px; border-radius: 6px; background: rgba(12, 10, 9, .75);
  color: #fff; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.src-bar { display: flex; align-items: center; gap: 14px; padding: 14px 8px 6px; }
.src-bar .lbl { flex: none; font-size: 14px; color: var(--muted); }
.src-bar .lbl b { color: var(--ink); margin-right: 4px; }
.track { position: relative; flex: 1; height: 30px; border-radius: 8px; background: var(--soft); overflow: hidden; }
.track .wave { position: absolute; inset: 7px 6px; background: repeating-linear-gradient(90deg, #cfd2cc 0 2px, transparent 2px 5px); opacity: .9; }
.track i { position: absolute; top: 0; bottom: 0; z-index: 1; border-radius: 6px; background: rgba(168, 235, 18, .55); border: 2px solid #6fb800; }

.arrow { display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--ink); }
.arrow svg { width: 64px; height: 24px; }
.arrow .pill { padding: 8px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 800; white-space: nowrap; }
.arrow .pill b { color: var(--lime); margin-right: 4px; }

.outs { display: flex; justify-content: center; align-items: center; }
.outs .phone { width: 168px; }
.outs .phone:nth-child(1) { transform: rotate(-6deg) translate(18px, 14px); z-index: 1; }
.outs .phone:nth-child(2) { transform: translateY(-22px); z-index: 2; width: 184px; }
.outs .phone:nth-child(3) { transform: rotate(6deg) translate(-18px, 14px); z-index: 1; }
.outs .phone:nth-child(3) .len { left: auto; right: 8px; }

.chips { list-style: none; margin: 0; padding: 0; }
.chips li { position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 30px -14px rgba(12, 10, 9, .35);
  font-size: 14px; font-weight: 800; color: var(--ink); white-space: nowrap; }
.chips svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--lime); color: var(--forest); }
.chips .c1 { left: 2%; bottom: 40px; }
.chips .c2 { right: 3%; top: -18px; }
.chips .c3 { right: 7%; bottom: 36px; }

/* 앱 화면 둘러보기 (기능 구역) */
.tour { margin-bottom: 40px; }
.tour-tabs { display: inline-flex; gap: 4px; padding: 5px; margin-bottom: 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.tour-tabs button { border: 0; background: none; padding: 10px 20px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 700;
  color: var(--muted); cursor: pointer; }
.tour-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.tour-tabs button:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.tour .screen img { display: block; width: 100%; height: auto; }

/* 세로 숏폼 미리보기 (템플릿 배경 + 제목 + 자막) */
.phone {
  position: relative; width: 168px; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden;
  background: #000 center / cover no-repeat; border: 4px solid #0c0c0c;
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .55); flex: none;
}
.phone .t {
  position: absolute; left: 8%; right: 8%; top: 9%; text-align: center;
  font-weight: 900; font-size: 17px; line-height: 1.25; letter-spacing: -0.04em; color: #fff;
  text-shadow: 0 2px 0 var(--edge, rgba(0, 0, 0, .35)), 0 0 6px var(--edge, transparent);
}
.phone .t em { font-style: normal; color: var(--y, #ffe14a); }
.phone .v {
  position: absolute; left: 0; right: 0; top: 30%; height: 40%;
  background: linear-gradient(160deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06));
  display: grid; place-items: center;
}
.phone .v svg { width: 34px; height: 34px; opacity: .85; }
.phone .s {
  position: absolute; left: 10%; right: 10%; bottom: 17%; text-align: center; font-weight: 800; font-size: 13px; line-height: 1.35;
  color: #fff; background: rgba(0, 0, 0, .55); border-radius: 6px; padding: 4px 6px;
}
.phone.dark-text .t { color: #1d1d1d; text-shadow: none; }
.phone.full .t { top: 12%; text-shadow: 0 0 4px #000, 0 2px 10px rgba(0, 0, 0, .8); }
.phone.full .s { bottom: 22%; background: none; font-size: 14px; text-shadow: 0 0 3px #000, 0 2px 6px rgba(0, 0, 0, .8); }
.phone.sticker .t { text-shadow: 2px 2px 0 #111, -1px -1px 0 #111, 1px -1px 0 #111, -1px 1px 0 #111; }
.phone .len { position: absolute; left: 8px; bottom: 8px; padding: 2px 7px; border-radius: 6px; background: rgba(12, 10, 9, .7);
  color: #fff; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- 공통 구역 ---------- */
section { padding: 104px 0; }
.eyebrow, .sec-head .eyebrow { font-size: 13px; font-weight: 800; color: #4d7f00; letter-spacing: .06em; text-transform: uppercase; margin: 0; }
.sec-head { max-width: 760px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head h2 { margin-top: 12px; font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; }
.sec-head p { margin-top: 16px; font-size: 17px; color: var(--muted); }

/* 누구를 위한 */
.who { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.who-c { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 30px 34px; background: #fff; }
.who-k { display: inline-block; font-size: 13px; font-weight: 800; color: var(--forest); background: var(--lime-wash); padding: 4px 12px; border-radius: 999px; }
.who-c h3 { margin-top: 16px; font-size: 19px; font-weight: 800; }
.who-c ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.who-c li { position: relative; padding-left: 20px; color: var(--muted); font-size: 15px; }
.who-c li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: #6fb800; }
@media (max-width: 960px) { .who { grid-template-columns: 1fr; } }

/* 3단계 */
.steps { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--soft); border-radius: var(--r-lg); padding: 36px 32px 40px; }
.step .n {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--lime); color: var(--forest); font-size: 18px; font-weight: 900;
}
.step h3 { margin-top: 22px; font-size: 20px; font-weight: 800; }
.step p { margin-top: 10px; color: var(--muted); }

/* 기능: 옅은 바탕 + 흰 카드 */
.tint { background: var(--soft); }
.feats { margin-top: 64px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; }
.feat .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--lime-wash); color: #3f6b00; }
.feat .ic svg { width: 24px; height: 24px; }
.feat h3 { margin-top: 20px; font-size: 20px; font-weight: 800; }
.feat p { margin-top: 10px; color: var(--muted); }
.feat ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.feat li { display: flex; gap: 10px; color: var(--text); font-size: 15px; }
.feat li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%231f3a00' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px; }
.feat .tag { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 800; vertical-align: 4px; }
.tag.free { background: var(--lime); color: var(--forest); }
.tag.ai { background: #ece7ff; color: #4b3a99; }
.shot2 { margin-top: 20px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px -36px rgba(12, 10, 9, .35); }

/* 템플릿 줄: 천천히 흘러가고, 마우스를 올리면 멈춤 */
.gallery-wrap {
  margin-top: 40px; overflow: hidden; padding: 24px 0 56px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.gallery { display: flex; gap: 20px; width: max-content; animation: flow 48s linear infinite; }
.gallery-wrap:hover .gallery { animation-play-state: paused; }
.gallery .phone { width: 200px; box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .35); }
.gallery .phone .t { font-size: 20px; }
@keyframes flow { to { transform: translateX(calc(-50% - 10px)); } }
@media (prefers-reduced-motion: reduce) {
  .gallery { animation: none; }
  .gallery-wrap { overflow-x: auto; }
}

/* 왜 Jedi Clip */
.why { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why div { border-top: 3px solid var(--ink); padding-top: 24px; }
.why h3 { font-size: 19px; font-weight: 800; }
.why p { margin-top: 10px; color: var(--muted); }

/* 자주 묻는 질문 */
.faq { margin-top: 48px; max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-size: 17px; font-weight: 700; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -10px;
  border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .a { padding: 0 0 28px; color: var(--muted); max-width: 46em; }
.faq .more { margin-top: 32px; }

/* 마지막 권유: 브랜드 그라데이션 */
.final { padding: 0 0 120px; }
.final .box { border-radius: 36px; padding: 88px 40px; text-align: center; background: var(--grad); color: var(--forest); }
.final h2 { color: var(--ink); font-size: clamp(28px, 4vw, 46px); font-weight: 800; }
.final p { margin-top: 14px; color: #1f3324; font-size: 17px; }
.final .actions { margin-top: 36px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.final .btn-line { background: rgba(255, 255, 255, .75); border-color: transparent; }
.final .btn-line:hover { background: #fff; border-color: transparent; }

/* 바닥글 */
footer { border-top: 1px solid var(--line); padding: 44px 0 56px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-start; }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); text-decoration: underline; }
footer .copy { width: 100%; font-size: 13px; }

/* ---------- 좁은 화면 ---------- */
@media (max-width: 960px) {
  .nav, .top .cta { display: none; }
  .menu-btn { display: block; }
  .top.open .nav {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 68px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 16px 20px; margin: 0;
  }
  .top.open .nav a { font-size: 17px; padding: 12px 12px; }
  .hero-flow { grid-template-columns: 1fr; gap: 18px; max-width: 620px; margin: 0 auto; }
  .src { transform: none; }
  .arrow { flex-direction: row; }
  .arrow svg { display: none; }
  .outs .phone { width: 150px; }
  .outs .phone:nth-child(2) { width: 160px; }
  .chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
  .chips li { position: static; }
  .steps, .why { grid-template-columns: 1fr; }
  .feats { grid-template-columns: 1fr; }
  section { padding: 80px 0; }
}
@media (max-width: 560px) {
  .wrap, .stage { padding: 0 16px; }
  body { font-size: 15px; }
  br.m { display: inline; }
  .hero { padding-top: 48px; }
  .hero .actions .btn, .final .actions .btn { width: 100%; }
  .stage { padding-bottom: 64px; }
  .src-bar .lbl { font-size: 13px; }
  .outs .phone { width: 112px; border-width: 3px; border-radius: 16px; }
  .outs .phone:nth-child(2) { width: 120px; }
  .outs .phone .t { font-size: 12px; }
  .outs .phone .s { font-size: 9px; }
  .outs .phone .len { display: none; }
  .tour-tabs button { padding: 9px 16px; }
  .feat { padding: 28px 22px; }
  .step { padding: 28px 24px 32px; }
  .final .box { padding: 64px 22px; border-radius: 28px; }
  .gallery .phone { width: 160px; }
  .faq summary { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
