/* LiveLingo 메인 페이지 스타일. 어두운 바탕에 로고 주황색을 강조색으로 쓰고, 모바일부터 설계해 PC로 넓힌다. */
:root {
  --bg: #0b0b0e; --bg2: #101015; --card: #15151b; --line: rgba(255, 255, 255, 0.09);
  --text: #f6f5f3; --muted: #a8a29e; --accent: #ea580c; --accent2: #fb923c; --accent-dark: #c2410c;
  --glow: rgba(234, 88, 12, 0.35); --radius: 18px; --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased;
  font: 16px/1.65 Inter, "Noto Sans KR", system-ui, sans-serif; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.wrap { width: min(var(--wrap), 100% - 40px); margin: 0 auto; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; color: var(--accent2); text-transform: uppercase; }
h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -0.02em; word-break: keep-all; }
h1 { font-size: clamp(32px, 6.4vw, 56px); font-weight: 800; }
h2 { font-size: clamp(26px, 4.4vw, 40px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0; word-break: keep-all; }
.lead { color: var(--muted); font-size: clamp(16px, 2.2vw, 19px); }
section { padding: clamp(56px, 9vw, 104px) 0; }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 26px; border-radius: 14px;
  font: inherit; font-weight: 700; font-size: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.04); color: var(--text); cursor: pointer;
  transition: transform 0.15s, background 0.15s, border-color 0.15s;
}
.btn:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-1px); }
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); border-color: transparent; color: #fff; box-shadow: 0 10px 30px -8px var(--glow); }
.btn.primary:hover { background: linear-gradient(135deg, #f97316, var(--accent-dark)); }
.btn.small { height: 40px; padding: 0 18px; font-size: 14px; border-radius: 11px; }
.btn:focus-visible, a:focus-visible, summary:focus-visible, select:focus-visible { outline: 2px solid var(--accent2); outline-offset: 3px; }

/* 상단 메뉴 */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(11, 11, 14, 0.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.logo em { font-style: normal; color: var(--accent); }
.links { display: none; gap: 26px; margin-left: 18px; font-size: 15px; color: var(--muted); }
.links a:hover { color: var(--text); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang-pick {
  height: 40px; padding: 0 10px; border-radius: 11px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: inherit; font-size: 14px;
}
.menu-btn { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line); background: var(--card); color: var(--text); font-size: 20px; cursor: pointer; }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: var(--bg2); }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 15px 20px; border-bottom: 1px solid var(--line); color: var(--muted); }
.hide-sm { display: none; }

/* 히어로 */
.hero { position: relative; padding-top: clamp(40px, 7vw, 84px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 80vw; height: 80vw; max-width: 900px; max-height: 900px; pointer-events: none;
  background: radial-gradient(circle at center, var(--glow), transparent 62%); opacity: 0.55;
}
.hero-grid { position: relative; display: grid; gap: 44px; align-items: center; }
.hero h1 { margin: 16px 0 18px; }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, #fdba74, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; color: var(--muted); font-size: 14px; }
.hero-notes span::before { content: "✓"; color: var(--accent2); margin-right: 6px; font-weight: 700; }

/* 방송 화면 견본 */
.stage {
  position: relative; border-radius: 24px; border: 1px solid var(--line); overflow: hidden; aspect-ratio: 4 / 3.3; display: flex; flex-direction: column; justify-content: flex-end;
  background: radial-gradient(120% 90% at 20% 10%, #3a1d10 0%, transparent 55%), radial-gradient(100% 80% at 90% 80%, #1d2340 0%, transparent 60%), #14141b;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(234, 88, 12, 0.08);
}
.stage-top { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; }
.live { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; background: rgba(220, 38, 38, 0.92); color: #fff; letter-spacing: 0.04em; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.4s infinite; }
.chip { padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: #e7e5e4; font-weight: 600; }
.mic { position: absolute; top: 52px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.mic svg { width: 54px; height: 54px; padding: 14px; border-radius: 50%; background: rgba(234, 88, 12, 0.18); border: 1px solid rgba(234, 88, 12, 0.5); color: var(--accent2); }
.wave { display: flex; align-items: center; gap: 3px; height: 34px; }
.wave i { width: 3px; height: 8px; border-radius: 3px; background: var(--accent2); animation: bar 1.1s ease-in-out infinite; animation-delay: var(--d); }
.caps { position: relative; display: grid; gap: 8px; justify-items: center; padding: 0 12px 20px; }
.cap { display: inline-flex; align-items: center; gap: 9px; max-width: 100%; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(10, 10, 14, 0.74); border: 1px solid rgba(255, 255, 255, 0.12); font-weight: 700; font-size: clamp(14px, 3.6vw, 18px); animation: capLoop 10s infinite both; animation-delay: calc(var(--i) * 0.55s); }
.cap b { display: grid; place-items: center; min-width: 30px; height: 26px; padding: 0 6px; border-radius: 999px; background: var(--c); color: #111; font-size: 11px; letter-spacing: 0.03em; }
.cap.orig { opacity: 0.85; font-size: clamp(12px, 3vw, 15px); }

@keyframes bar { 0%, 100% { height: 7px; } 50% { height: var(--h, 28px); } }
@keyframes blink { 50% { opacity: 0.25; } }
@keyframes capLoop {
  0% { opacity: 0; transform: translateY(10px) scale(0.96); }
  7%, 86% { opacity: 1; transform: none; }
  95%, 100% { opacity: 0; transform: translateY(-4px); }
}

/* 방송 툴 줄 */
.tools { padding: 38px 0; border-block: 1px solid var(--line); background: var(--bg2); }
.tools .wrap { display: grid; gap: 18px; text-align: center; }
.tool-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tool { padding: 10px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-weight: 700; font-size: 15px; }
.tool.soft { color: var(--muted); font-weight: 500; }

/* 두 칸 구성 */
.split { display: grid; gap: 40px; align-items: center; }
.rows { display: grid; gap: 14px; margin-top: 28px; }
.row-card { display: flex; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: rgba(234, 88, 12, 0.14); color: var(--accent2); }
.ico svg { width: 24px; height: 24px; }
.row-card h3 { font-size: 17px; margin-bottom: 4px; }
.row-card p { color: var(--muted); font-size: 14.5px; }

/* 콘솔 견본 */
.panel { border-radius: 22px; border: 1px solid var(--line); background: var(--card); padding: 18px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 13px; color: var(--muted); font-weight: 600; }
.lang-list { display: grid; gap: 8px; }
.lang { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 13px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); font-size: 15px; font-weight: 600; }
.lang.on { border-color: rgba(234, 88, 12, 0.6); background: rgba(234, 88, 12, 0.1); }
.lang b { display: grid; place-items: center; width: 34px; height: 28px; border-radius: 8px; background: var(--c); color: #111; font-size: 11px; }
.lang small { margin-left: auto; color: var(--muted); font-weight: 500; font-size: 12px; }
.lang .tick { margin-left: auto; color: var(--accent2); font-weight: 800; }

/* 카드 4칸 */
.head { max-width: 680px; margin-bottom: 40px; display: grid; gap: 14px; }
.cards { display: grid; gap: 16px; }
.card { padding: 26px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.card .ico { margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 14.5px; }

/* 스타일 갤러리 */
.gallery-sec { background: var(--bg2); border-block: 1px solid var(--line); }
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.sample { border-radius: 16px; border: 1px solid var(--line); background: #1c1c22; padding: 18px 10px 12px; display: grid; gap: 4px; justify-items: center; text-align: center; min-height: 170px; align-content: center; }
.sample span { font-size: 22px; line-height: 1.25; }
.sample em { margin-top: 10px; font-style: normal; font-size: 12px; color: var(--muted); font-family: Inter, "Noto Sans KR", sans-serif; }
.s-neon span { font-family: Montserrat, "Noto Sans KR", sans-serif; font-weight: 700; color: #fff; text-shadow: 0 0 6px #00e5ff, 0 0 14px #00e5ff, 0 0 26px #00e5ff; }
.s-neon span + span { color: #ff7ad9; text-shadow: 0 0 6px #ff7ad9, 0 0 14px #ff7ad9; }
.s-variety span { font-family: "Black Han Sans", "Noto Sans KR", sans-serif; color: #fff; -webkit-text-stroke: 6px #2563eb; paint-order: stroke fill; }
.s-variety span + span { -webkit-text-stroke-color: #ff2d75; }
.s-retro span { font-family: "Press Start 2P", "Noto Sans KR", monospace; font-size: 13px; line-height: 1.9; color: #ffe14d; text-shadow: 2px 2px 0 #000; }
.s-retro span + span { color: #7df9ff; }
.s-pastel span { font-family: Jua, "Noto Sans KR", sans-serif; color: #fff; -webkit-text-stroke: 6px #8ec5ff; paint-order: stroke fill; }
.s-pastel span + span { -webkit-text-stroke-color: #ff8fb8; }
.s-movie span { font-family: "Noto Sans KR", sans-serif; color: #f5f5f5; text-shadow: 0 0 3px #000, 0 0 3px #000, 0 0 3px #000; font-size: 20px; }
.s-movie span + span { color: #ffe14d; }
.s-bubble { gap: 10px; }
.s-bubble svg { width: 100%; max-width: 190px; height: auto; overflow: visible; }
.s-bubble text { font: 700 14px "Noto Sans KR", sans-serif; fill: #fff; }

/* 사용 순서 */
.steps { display: grid; gap: 16px; counter-reset: step; }
.step { position: relative; padding: 28px 24px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: grid; gap: 10px; }
.step::before {
  counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; font-weight: 800; margin-bottom: 6px;
}
.step p { color: var(--muted); font-size: 14.5px; }
.step code { padding: 2px 8px; border-radius: 7px; background: rgba(255, 255, 255, 0.08); font-size: 13px; color: #fed7aa; }

/* 수치 띠 */
.stats { display: grid; gap: 0; grid-template-columns: repeat(2, 1fr); border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); overflow: hidden; }
.stat { padding: 28px 18px; text-align: center; border: 1px solid var(--line); margin: -1px 0 0 -1px; }
.stat strong { display: block; font-size: clamp(30px, 6vw, 44px); font-weight: 800; color: var(--accent2); letter-spacing: -0.03em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: 14px; }

/* 자주 묻는 질문 */
.faq { display: grid; gap: 10px; max-width: 800px; }
details { border-radius: 14px; background: var(--card); border: 1px solid var(--line); padding: 0 20px; }
summary { cursor: pointer; padding: 18px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent2); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { padding: 0 0 18px; color: var(--muted); font-size: 15px; }

/* 마지막 안내 */
.final { position: relative; overflow: hidden; text-align: center; padding: clamp(40px, 7vw, 70px) 24px; border-radius: 26px; border: 1px solid rgba(234, 88, 12, 0.35); background: radial-gradient(90% 140% at 50% 0%, rgba(234, 88, 12, 0.28), transparent 70%), var(--card); }
.final h2 { margin-bottom: 14px; }
.final .cta-row { justify-content: center; }
footer { padding: 40px 0 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .wrap { display: grid; gap: 18px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a:hover { color: var(--text); }

@media (min-width: 640px) {
  .hide-sm { display: inline-flex; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) {
  .links { display: flex; }
  .menu-btn, .mobile-menu { display: none !important; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split.rev .panel { order: -1; }
  .cards { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .stage { aspect-ratio: 4 / 4.2; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cap, .wave i, .live i { animation: none; }
}
