/* =====================================================================
   ONESYNC — 홀덤 프랜차이즈 성장 플랫폼
   공용 디자인 시스템 (Design System)
   Brand: 딥 차콜 + 브랜드 레드 + 홀덤 골드 (프리미엄 / 신뢰)
   ===================================================================== */

/* ---------- 디자인 토큰 ---------- */
:root {
  --red:        #d81f2a;
  --red-2:      #a1040c;
  --red-deep:   #430505;
  --gold:       #e7b53c;
  --gold-2:     #f4cf6b;
  --gold-deep:  #a97b0a;

  --bg:         #0b0b0f;
  --bg-2:       #101016;
  --bg-3:       #16161f;
  --surface:    #17171f;
  --surface-2:  #1d1d27;
  --line:       rgba(255,255,255,.09);
  --line-2:     rgba(255,255,255,.16);

  --ink:        #f6f6f8;
  --ink-2:      #c7c6d1;
  --muted:      #8f8ea0;
  --faint:      #6a6979;

  --green:      #2fbd6b;

  --radius:     18px;
  --radius-sm:  12px;
  --shadow:     0 24px 60px -20px rgba(0,0,0,.7);
  --shadow-red: 0 20px 50px -18px rgba(216,31,42,.45);
  --maxw:       1180px;
  --font: "Pretendard Variable", Pretendard, "Apple SD Gothic Neo",
          "Noto Sans KR", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---------- 리셋 ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink-2);
  line-height: 1.65;
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; letter-spacing: -.025em; font-weight: 800; word-break: keep-all; }
strong { color: var(--ink); font-weight: 700; }

/* ---------- 배경 질감 (은은한 그리드 + 글로우) ---------- */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 500px at 80% -5%, rgba(216,31,42,.14), transparent 60%),
    radial-gradient(800px 500px at 0% 10%, rgba(231,181,60,.08), transparent 55%),
    var(--bg);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, #000, transparent 70%);
}

/* ---------- 레이아웃 유틸 ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section--tight { padding: 64px 0; }
.center { text-align: center; }
.grid { display: grid; gap: 20px; }
@media (min-width: 720px){
  .g2 { grid-template-columns: repeat(2,1fr); }
  .g3 { grid-template-columns: repeat(3,1fr); }
  .g4 { grid-template-columns: repeat(4,1fr); }
}
@media (max-width: 719px){ .g2,.g3,.g4 { grid-template-columns: 1fr; } }

/* ---------- 공통 타이포 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold-2);
  padding: 7px 14px; border: 1px solid rgba(231,181,60,.35);
  border-radius: 999px; background: rgba(231,181,60,.07);
}
.eyebrow::before { content: "♠"; color: var(--gold); font-size: 13px; }

.h-sec { font-size: clamp(28px, 4.2vw, 44px); margin: 20px 0 16px; }
.h-sec .accent { color: var(--red); }
.h-sec .gold { color: var(--gold-2); }
.lead { font-size: clamp(16px, 1.6vw, 18.5px); color: var(--muted); max-width: 720px; }
.center .lead { margin-left: auto; margin-right: auto; }
.kicker { color: var(--gold-2); font-weight: 700; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 15px; letter-spacing: -.01em;
  padding: 14px 26px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform .18s ease, box-shadow .2s ease, background .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-2) 100%);
  color: #fff; box-shadow: var(--shadow-red);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 26px 60px -16px rgba(216,31,42,.6); }
.btn--gold {
  background: linear-gradient(135deg, var(--gold-2) 0%, var(--gold-deep) 100%);
  color: #241a00; box-shadow: 0 18px 44px -16px rgba(231,181,60,.5);
}
.btn--gold:hover { transform: translateY(-2px); }
.btn--ghost { background: rgba(255,255,255,.04); color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: rgba(255,255,255,.09); }
.btn--lg { padding: 17px 34px; font-size: 16px; }

/* ---------- 헤더 / 네비 ---------- */
.hdr {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: saturate(140%) blur(14px);
  background: rgba(11,11,15,.72);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.hdr.scrolled { border-bottom-color: var(--line); background: rgba(9,9,13,.9); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; color: var(--ink); font-size: 19px; letter-spacing: -.03em; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  display: grid; place-items: center; font-size: 17px; color: #fff;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 6px 16px -6px rgba(216,31,42,.7);
}
.brand .mark::after { content: "♠"; }
.brand b { color: var(--red); }
.brand small { display:block; font-size: 10px; font-weight: 600; color: var(--muted); letter-spacing: .04em; margin-top: -3px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 14.5px; font-weight: 600; color: var(--ink-2);
  padding: 9px 14px; border-radius: 10px; transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--ink); background: rgba(255,255,255,.05); }
.nav-links a.active { color: var(--gold-2); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.burger { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-2);
  background: rgba(255,255,255,.03); cursor: pointer; padding: 11px; }
.burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; margin: 4px 0; transition: .25s; }
.burger.open span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2){ opacity: 0; }
.burger.open span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 940px){
  .nav-links { position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 2px; padding: 14px 20px 22px; background: rgba(9,9,13,.98); border-bottom: 1px solid var(--line);
    transform: translateY(-140%); transition: transform .3s ease; }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 12px; font-size: 16px; }
  .nav-cta .btn:not(.nav-cta__main){ display: none; }
  .burger { display: block; }
}

/* ---------- HERO ---------- */
.hero { padding: 88px 0 72px; position: relative; }
.hero-badge { margin-bottom: 24px; }
.hero h1 {
  font-size: clamp(29px, 4.7vw, 52px); line-height: 1.18; letter-spacing: -.02em;
  word-break: keep-all; text-wrap: balance;
  color: var(--ink); font-weight: 900;
}
.hero h1 .grad {
  background: linear-gradient(100deg, var(--red) 0%, var(--gold-2) 130%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero .sub { margin: 26px 0 34px; font-size: clamp(16px, 2vw, 20px); color: var(--ink-2); max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { margin-top: 24px; font-size: clamp(14px, 1.6vw, 16.5px); color: var(--ink-2); font-weight: 600;
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px;
  border: 1px solid rgba(231,181,60,.4); background: rgba(231,181,60,.09); border-radius: 999px; }
.hero-note b { color: var(--gold-2); font-weight: 800; }
.hero-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(47,189,107,.2); flex: none; }

.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
@media (max-width: 900px){ .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- 카드 ---------- */
.card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-3) 100%);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .22s ease, border-color .22s, box-shadow .22s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.card .ico {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  font-size: 22px; margin-bottom: 16px;
  background: rgba(216,31,42,.12); border: 1px solid rgba(216,31,42,.28); color: var(--gold-2);
}
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--muted); }
.card--gold .ico { background: rgba(231,181,60,.12); border-color: rgba(231,181,60,.3); }

/* value 리스트 (체크) */
.checks { display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink-2); }
.checks li::before {
  content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 7px; margin-top: 1px;
  display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-2) 100%);
}
.checks.gold li::before { background: linear-gradient(135deg, var(--gold-2), var(--gold-deep)); color:#241a00; }

/* 핵심가치 흰색 카드 */
.value-card { background: #fff; border: 1px solid #eceef2; border-radius: var(--radius);
  padding: 28px 30px; box-shadow: 0 22px 54px -26px rgba(0,0,0,.55); height: 100%; }
.value-card--gold { border-color: rgba(231,181,60,.4); box-shadow: 0 22px 54px -26px rgba(231,181,60,.32); }
.value-card .checks li { color: #3a3f47; }
.value-card .checks li strong { color: #14161a; }

/* 도입효과 히어로 성장 카드 (가맹점 10 → 150) */
.phero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
@media (max-width: 860px){ .phero-grid { grid-template-columns: 1fr; gap: 30px; } }
.growth-card { background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid var(--line-2); border-radius: 20px; padding: 24px 26px 20px;
  box-shadow: var(--shadow); backdrop-filter: blur(6px); }
.gc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.gc-head .lb { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.gc-tag { font-size: 10px; font-weight: 800; color: var(--gold-2); background: rgba(231,181,60,.12); border: 1px solid rgba(231,181,60,.34); padding: 3px 9px; border-radius: 6px; }
.gc-num { display: flex; align-items: baseline; gap: 8px; }
.gc-num .n { font-size: 54px; font-weight: 900; color: #fff; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.gc-num .un { font-size: 17px; font-weight: 800; color: var(--ink-2); }
.gc-num .ar { margin-left: auto; font-size: 15px; font-weight: 800; color: #52e08a;
  background: rgba(47,189,107,.16); border: 1px solid rgba(47,189,107,.4); padding: 5px 11px; border-radius: 999px; }
.gc-sub { font-size: 13px; color: var(--muted); margin-top: 8px; margin-bottom: 14px; }
.gc-chart { position: relative; }
.gc-chart svg { width: 100%; height: auto; display: block; }
.gc-line { stroke-dasharray: 640; stroke-dashoffset: 640; animation: gcDraw 1.7s cubic-bezier(.4,.1,.2,1) forwards .25s;
  filter: drop-shadow(0 3px 12px rgba(216,31,42,.55)); }
.gc-area { opacity: 0; animation: gcFade 1.1s ease forwards 1.1s; }
.gc-end { opacity: 0; animation: gcPop .4s ease forwards 1.7s; }
@keyframes gcDraw { to { stroke-dashoffset: 0; } }
@keyframes gcFade { to { opacity: 1; } }
@keyframes gcPop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce){ .gc-line,.gc-area,.gc-end { animation: none; stroke-dashoffset: 0; opacity: 1; } }

/* pill 태그 */
.pills { display: flex; flex-wrap: wrap; gap: 9px; }
.pill { font-size: 13.5px; font-weight: 600; color: var(--ink-2); padding: 8px 15px;
  border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.03); }
.pill.on { color: var(--gold-2); border-color: rgba(231,181,60,.4); background: rgba(231,181,60,.07); }

/* ---------- 통계 (신뢰 숫자) ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 719px){ .stats { grid-template-columns: repeat(2,1fr); } }
.stat { background: var(--bg-2); padding: 30px 22px; text-align: center; }
.stat .num { font-size: clamp(30px, 4vw, 44px); font-weight: 900; color: var(--ink);
  letter-spacing: -.03em; font-feature-settings: "tnum" 1; }
.stat .num .u { color: var(--gold-2); font-size: .55em; margin-left: 3px; }
.stat .lbl { font-size: 13.5px; color: var(--muted); margin-top: 6px; }

/* ---------- 섹션 헤더 블록 ---------- */
.sec-head { max-width: 760px; margin-bottom: 46px; }
.sec-head.center { margin-left: auto; margin-right: auto; }

/* ---------- 피처 (좌우 교차) ---------- */
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feat + .feat { margin-top: 84px; }
.feat.rev .feat-media { order: -1; }
@media (max-width: 860px){ .feat { grid-template-columns: 1fr; gap: 32px; } .feat.rev .feat-media{ order: 0; } }
.feat h3 { font-size: clamp(22px, 3vw, 30px); margin: 14px 0 14px; }
.feat p { color: var(--muted); font-size: 15.5px; margin-bottom: 18px; }

/* =====================================================================
   목업 (Mockups) — 순수 CSS/SVG
   ===================================================================== */
.mock {
  border-radius: var(--radius); border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #12121a, #0c0c12);
  box-shadow: var(--shadow); overflow: hidden; position: relative;
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 15px; border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.02); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #33333f; display: block; }
.mock-bar i:nth-child(1){ background:#ff5f57; } .mock-bar i:nth-child(2){ background:#febc2e; } .mock-bar i:nth-child(3){ background:#28c840; }
.mock-bar .u { margin-left: 10px; font-size: 12px; color: var(--faint); font-family: ui-monospace, monospace; }

/* TV 현황판 */
.tvboard { padding: 26px; background:
  radial-gradient(600px 300px at 50% -20%, rgba(216,31,42,.25), transparent 60%), #0a0a10; }
.tvboard .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.tvboard .tour { font-weight: 800; color: var(--gold-2); font-size: 15px; letter-spacing: .02em; }
.tvboard .live { font-size: 11px; font-weight: 800; color: #fff; background: var(--red); padding: 4px 10px; border-radius: 6px; letter-spacing:.1em; }
.tvboard .timer { text-align: center; }
.tvboard .timer .t { font-size: clamp(52px, 11vw, 92px); font-weight: 900; color: #fff; line-height: 1;
  font-feature-settings:"tnum" 1; letter-spacing: -.02em; text-shadow: 0 0 40px rgba(216,31,42,.5); }
.tvboard .timer .lv { color: var(--gold-2); font-weight: 700; margin-top: 4px; letter-spacing: .12em; font-size: 13px; }
.tvboard .blinds { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 22px; }
.tvboard .bl { background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 12px; padding: 14px 10px; text-align: center; }
.tvboard .bl .k { font-size: 11px; color: var(--muted); letter-spacing: .1em; }
.tvboard .bl .v { font-size: 20px; font-weight: 800; color: var(--ink); margin-top: 5px; }
.tvboard .bl.next { border-color: rgba(231,181,60,.4); }
.tvboard .bl.next .v { color: var(--gold-2); }

/* 통합 관제 대시보드 */
.dash { padding: 20px; }
.dash .row { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 14px; }
.dash .kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 15px; }
.dash .kpi .k { font-size: 11.5px; color: var(--muted); }
.dash .kpi .v { font-size: 23px; font-weight: 900; color: var(--ink); margin-top: 4px; }
.dash .kpi .v .u { font-size: 12px; color: var(--gold-2); margin-left: 2px; }
.dash .stores { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.dash .store { display: flex; align-items: center; gap: 11px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 11px; padding: 12px 14px; }
.dash .store .st { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(47,189,107,.16); flex: none; }
.dash .store .st.off { background: var(--faint); box-shadow: none; }
.dash .store .nm { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.dash .store .mt { font-size: 11.5px; color: var(--muted); }
.dash .store .rt { margin-left: auto; font-size: 12.5px; font-weight: 700; color: var(--gold-2); }

/* 라이트(흰색) 매장 대시보드 목업 — 히어로용 (실제 운영화면 느낌) */
.mock--light { border-color: rgba(255,255,255,.45); box-shadow: 0 34px 80px -22px rgba(0,0,0,.7); }
.mock-bar--light { background: #f4f5f7; border-bottom: 1px solid #e7e9ee; }
.mock-bar--light .u { color: #9aa0a6; }
.dashlite { padding: 15px; background: #ffffff; }
.dashlite .dl-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.dashlite .dl-title { font-size: 13px; font-weight: 800; color: #14161a; }
.dashlite .dl-title span { color: #a2a7ae; font-weight: 600; }
.dashlite .dl-live { font-size: 10px; font-weight: 800; color: #fff; background: var(--green); padding: 3px 9px; border-radius: 6px; letter-spacing: .06em; }
.dl-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 12px; }
.dl-kpi { background: #f7f8fa; border: 1px solid #eceef2; border-radius: 11px; padding: 11px 12px; }
.dl-kpi .k { font-size: 10.5px; color: #9aa0a6; font-weight: 600; }
.dl-kpi .v { font-size: 19px; font-weight: 900; color: #14161a; letter-spacing: -.02em; margin-top: 2px; font-variant-numeric: tabular-nums; }
.dl-kpi .v .u2 { font-size: 11px; color: var(--red); margin-left: 2px; font-weight: 800; }
.dl-feed { border: 1px solid #eceef2; border-radius: 11px; overflow: hidden; }
.dl-feed h4 { font-size: 11.5px; font-weight: 800; color: #14161a; padding: 9px 12px; background: #f7f8fa; border-bottom: 1px solid #eceef2; display: flex; justify-content: space-between; align-items: center; }
.dl-feed h4 span { color: #b0b4ba; font-weight: 600; }
.dl-feed h4 span .pulse { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin-right: 5px; box-shadow: 0 0 0 3px rgba(47,189,107,.18); }
.dl-row { display: flex; align-items: center; gap: 9px; padding: 8px 12px; border-bottom: 1px solid #f2f3f5; font-size: 12px; }
.dl-row:last-child { border-bottom: 0; }
.dl-row .t { color: #b7bbc1; font-variant-numeric: tabular-nums; font-size: 11px; width: 34px; flex: none; }
.dl-row .bd { font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 5px; flex: none; }
.dl-row .bd.game { background: #fdeaeb; color: #c0111a; }
.dl-row .bd.rank { background: #fdf3df; color: #a9750a; }
.dl-row .bd.bingo { background: #e9f2ff; color: #1f5fd6; }
.dl-row .nm { color: #2b2f36; font-weight: 700; }
.dl-row .amt { margin-left: auto; font-weight: 800; font-variant-numeric: tabular-nums; }
.dl-row .amt.up { color: #1a9c4b; }
.dl-row .amt.dn { color: #c0111a; }
.dl-row .amt.pt { color: #a9750a; }

/* ═══════════ 풀 앱 대시보드 목업 (히어로 하단 대형 화면) ═══════════ */
.hero-shot { margin-top: 46px; overflow-x: auto; padding-bottom: 6px; }
.hero-shot::-webkit-scrollbar { height: 7px; }
.hero-shot::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius: 4px; }
.mock--app { min-width: 900px; }
.appwin { display: flex; background: #fff; min-height: 512px; }

/* 사이드바 */
.appside { width: 184px; flex: none; background: #faf9fb; border-right: 1px solid #ececf0; padding: 14px 0 10px; display: flex; flex-direction: column; }
.appside .brand2 { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 2px 12px 13px; border-bottom: 1px solid #ececf0; margin-bottom: 9px; }
.appside .logo2 { font-weight: 900; font-size: 19px; color: #14161a; letter-spacing: -.04em; }
.appside .logo2 b { color: var(--red); }
.appside .br2 { font-size: 12px; color: #7c828b; font-weight: 700; }
.appside .loginbtn { margin: 0 12px 11px; font-size: 11.5px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-2)); text-align: center; padding: 8px; border-radius: 9px;
  box-shadow: 0 6px 14px -6px rgba(216,31,42,.5); }
.appside .menu { flex: 1; }
.appside .mlabel { font-size: 9.5px; font-weight: 800; color: #b3b7bd; letter-spacing: .08em; padding: 8px 16px 4px; }
.appside .mi { display: flex; align-items: center; gap: 9px; padding: 7px 16px; font-size: 12.5px; color: #4a4f57; font-weight: 600; }
.appside .mi .mic { width: 15px; text-align: center; font-size: 12.5px; }
.appside .mi.on { color: var(--red); background: #fdecec; box-shadow: inset 2px 0 0 var(--red); font-weight: 800; }
.appside .mifoot { border-top: 1px solid #ececf0; padding-top: 6px; margin-top: 4px; }

/* 메인 */
.appmain { flex: 1; padding: 15px 17px; background: #fff; min-width: 0; }
.appmain .amh { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 13px; }
.appmain .amh .t { font-size: 16px; font-weight: 900; color: #14161a; }
.appmain .amh .t .sub2 { display: block; font-size: 11.5px; color: #9aa0a6; font-weight: 600; margin-top: 3px; }
.appmain .amh .admin { font-size: 10px; font-weight: 800; color: #1a9c4b; background: #e7f6ee; border: 1px solid #bfe6cf;
  padding: 4px 9px; border-radius: 7px; white-space: nowrap; }
.am-kpis { display: grid; grid-template-columns: repeat(6,1fr); gap: 8px; margin-bottom: 13px; }
.am-kpi { background: #f7f8fa; border: 1px solid #eceef2; border-radius: 10px; padding: 10px 11px; }
.am-kpi .k { font-size: 10px; color: #9aa0a6; font-weight: 600; }
.am-kpi .v { font-size: 16px; font-weight: 900; color: #14161a; margin-top: 3px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.am-kpi .v .u2 { font-size: 10px; color: var(--red); margin-left: 1px; font-weight: 800; }
.am-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 11px; margin-bottom: 11px; }
.am-panel { border: 1px solid #eceef2; border-radius: 11px; overflow: hidden; }
.am-panel h5 { font-size: 11.5px; font-weight: 800; color: #14161a; padding: 9px 12px; background: #f7f8fa;
  border-bottom: 1px solid #eceef2; display: flex; justify-content: space-between; align-items: center; }
.am-panel h5 .mut { color: #9aa0a6; font-weight: 600; }
.am-tbl { width: 100%; border-collapse: collapse; }
.am-tbl th { font-size: 10px; color: #9aa0a6; font-weight: 700; text-align: right; padding: 7px 12px; border-bottom: 1px solid #f2f3f5; }
.am-tbl th:first-child { text-align: left; }
.am-tbl td { font-size: 11.5px; color: #374151; text-align: right; padding: 7px 12px; border-bottom: 1px solid #f5f6f7; font-variant-numeric: tabular-nums; }
.am-tbl td:first-child { text-align: left; font-weight: 700; color: #14161a; }
.am-tbl tr:last-child td { border-bottom: 0; }
.am-tbl .badge { font-size: 9.5px; font-weight: 800; padding: 2px 7px; border-radius: 5px; }
.am-tbl .badge.live { background: #fdecec; color: #c0111a; }
.am-tbl .badge.done { background: #eef0f2; color: #8b9098; }
.am-feed .fr { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-bottom: 1px solid #f5f6f7; font-size: 11.5px; }
.am-feed .fr:last-child { border-bottom: 0; }
.am-feed .fr .t { color: #b7bbc1; font-size: 10.5px; width: 32px; flex: none; font-variant-numeric: tabular-nums; }
.am-feed .fr .bd { font-size: 9.5px; font-weight: 800; padding: 2px 6px; border-radius: 5px; flex: none; }
.am-feed .fr .bd.g { background: #fdeaeb; color: #c0111a; } .am-feed .fr .bd.r { background: #fdf3df; color: #a9750a; }
.am-feed .fr .bd.b { background: #e9f2ff; color: #1f5fd6; } .am-feed .fr .bd.p { background: #eaf6ef; color: #1a9c4b; }
.am-feed .fr .nm { color: #2b2f36; font-weight: 700; }
.am-feed .fr .amt { margin-left: auto; font-weight: 800; font-variant-numeric: tabular-nums; }
.am-feed .fr .amt.up { color: #1a9c4b; } .am-feed .fr .amt.dn { color: #c0111a; } .am-feed .fr .amt.pt { color: #a9750a; }
.am-bottom { display: grid; grid-template-columns: repeat(3,1fr); gap: 11px; }
.am-card { border-radius: 11px; overflow: hidden; border: 1px solid #eceef2; }
.am-card .cap { background: linear-gradient(135deg, var(--red-2), var(--red-deep)); color: #fff; text-align: center; padding: 12px 8px; }
.am-card .cap .lb { font-size: 9px; letter-spacing: .18em; opacity: .8; }
.am-card .cap .bg { font-size: 14px; font-weight: 900; margin-top: 2px; }
.am-card .cap .gold { color: var(--gold-2); }
.am-card .cbody { padding: 8px 11px; }
.am-card .cbody .li { display: flex; justify-content: space-between; font-size: 11px; color: #4a4f57; padding: 4px 0; }
.am-card .cbody .li b { color: #14161a; }

.hero-top { max-width: 780px; margin: 0 auto; }
.hero-top .sub { margin-left: auto; margin-right: auto; }
.hero-top .hero-actions, .hero-top .hero-note { justify-content: center; }
@media (max-width: 719px){ .hero-shot { margin-top: 32px; } }

/* 폰 목업 */
.phones { display: flex; gap: 22px; justify-content: center; align-items: flex-end; perspective: 1200px; }
.phone { width: 240px; flex: none; border-radius: 34px; padding: 10px;
  background: linear-gradient(160deg, #26262f, #0c0c12); border: 1px solid var(--line-2);
  box-shadow: var(--shadow); }
.phone .scr { border-radius: 26px; overflow: hidden; background: var(--bg); position: relative; }
.phone .notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 90px; height: 20px;
  background: #000; border-radius: 12px; z-index: 3; }
.phone .app-top { padding: 30px 16px 14px; background: linear-gradient(135deg, var(--red-2), var(--red-deep)); }
.phone .app-top .hi { font-size: 12px; color: rgba(255,255,255,.75); }
.phone .app-top .nm { font-size: 17px; font-weight: 800; color: #fff; }
.phone .app-top .tier { display:inline-block; margin-top:8px; font-size: 11px; font-weight: 700; color: var(--gold-2);
  background: rgba(231,181,60,.15); border:1px solid rgba(231,181,60,.35); padding: 3px 9px; border-radius: 999px; }
.phone .qr { margin: 16px; aspect-ratio: 1; border-radius: 14px; background: #fff; display: grid; place-items: center; }
.phone .qr svg { width: 74%; height: 74%; }
.phone .app-body { padding: 4px 14px 18px; }
.phone .prow { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.phone .prow b { color: var(--gold-2); font-size: 15px; }
.phone .prow .lbl { color: var(--muted); }
@media (max-width: 620px){ .phone { width: 200px; } .phones { gap: 14px; } }

/* 차트 카드 (자동 리포트) */
.chart-card { padding: 22px; }
.chart-card h4 { font-size: 15px; margin-bottom: 4px; }
.chart-card .sub { font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 130px; }
.bars .b { flex: 1; border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, var(--red), var(--red-deep));
  position: relative; min-height: 10px; }
.bars .b.g { background: linear-gradient(180deg, var(--gold-2), var(--gold-deep)); }
.bars .b span { position: absolute; top: -20px; left: 0; right: 0; text-align: center; font-size: 11px; color: var(--muted); }
.bars-x { display: flex; gap: 10px; margin-top: 8px; }
.bars-x span { flex: 1; text-align: center; font-size: 11px; color: var(--faint); }

/* QR 심볼 (재사용) */
.qrsym { fill: #0b0b0f; }

/* ---------- 프로세스 스텝 ---------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; counter-reset: s; }
@media (max-width: 860px){ .steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px){ .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 12px; }
.step .n { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  font-weight: 900; font-size: 18px; color: var(--gold-2); margin-bottom: 16px;
  background: rgba(231,181,60,.1); border: 1px solid rgba(231,181,60,.3); }
.step h4 { font-size: 17px; margin-bottom: 7px; }
.step p { font-size: 14px; color: var(--muted); }

/* ---------- 비교 (기존 vs ONESYNC) ---------- */
.vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 26px; align-items: stretch; }
@media (max-width: 760px){ .vs { grid-template-columns: 1fr; } .vs .vs-arrow{ transform: rotate(90deg); } }
.vs-col { border-radius: var(--radius); padding: 28px; border: 1px solid #eceef2; background: #fff; }
.vs-col.old { background: #f5f6f8; }
.vs-col.new { background: #fff; border-color: rgba(216,31,42,.35); box-shadow: 0 22px 54px -24px rgba(216,31,42,.4); }
.vs-col h4 { font-size: 15px; letter-spacing: .04em; margin-bottom: 18px; text-transform: uppercase; }
.vs-col.old h4 { color: #8b9098; }
.vs-col.new h4 { color: var(--red); }
.vs-col li { padding: 11px 0; border-bottom: 1px dashed #e7e9ee; font-size: 15px; display: flex; gap: 10px; color: #23272e; font-weight: 500; }
.vs-col li:last-child { border-bottom: 0; }
.vs-col.old li { color: #6b7280; }
.vs-col.old li::before { content: "✕"; color: #b6bac0; font-weight: 800; }
.vs-col.new li { color: #23272e; font-weight: 600; }
.vs-col.new li::before { content: "✓"; color: var(--green); font-weight: 800; }
.vs-arrow { align-self: center; font-size: 30px; color: var(--red); }

/* ---------- FAQ ---------- */
.faq { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; list-style: none; padding: 22px 24px; font-weight: 700; color: var(--ink);
  font-size: 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold-2); font-size: 24px; font-weight: 400; transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 24px 22px; color: var(--muted); font-size: 15px; }

/* ---------- CTA 밴드 ---------- */
.cta {
  border-radius: 26px; padding: clamp(40px, 6vw, 72px); text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(216,31,42,.35), transparent 60%),
    radial-gradient(600px 300px at 90% 100%, rgba(231,181,60,.2), transparent 60%),
    linear-gradient(160deg, #1a0d10, #0c0c12);
  border: 1px solid var(--line-2);
}
.cta h2 { font-size: clamp(28px, 4.5vw, 46px); margin-bottom: 16px; }
.cta p { color: var(--ink-2); font-size: 17px; max-width: 560px; margin: 0 auto 30px; }
.cta .hero-actions { justify-content: center; }

/* ---------- 폼 ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15px; color: var(--ink); background: var(--bg-2);
  border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 15px; width: 100%; transition: border-color .15s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); }
.field textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px){ .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: 12.5px; color: var(--faint); }

/* 연락처 카드 */
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .ci { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center;
  font-size: 20px; background: rgba(231,181,60,.1); border: 1px solid rgba(231,181,60,.28); color: var(--gold-2); }
.contact-item .k { font-size: 12.5px; color: var(--muted); }
.contact-item .v { font-size: 16px; font-weight: 700; color: var(--ink); }

/* ---------- 로고 스트립 (레퍼런스) ---------- */
.logos { display: flex; flex-wrap: wrap; gap: 14px 34px; justify-content: center; align-items: center; opacity: .8; }
.logos .lg { font-weight: 800; font-size: 16px; color: var(--muted); letter-spacing: -.02em;
  padding: 10px 18px; border: 1px solid var(--line); border-radius: 12px; }

/* ---------- 인용 / 후기 ---------- */
.quote { position: relative; }
.quote::before { content: "“"; position: absolute; top: -18px; left: 16px; font-size: 80px; color: rgba(231,181,60,.2); font-family: Georgia, serif; }
.quote p { font-size: 17px; color: var(--ink-2); line-height: 1.7; }
.quote .by { margin-top: 16px; font-size: 14px; color: var(--muted); }
.quote .by b { color: var(--gold-2); }

/* ---------- 페이지 히어로 (서브페이지) ---------- */
.phero { padding: 64px 0 34px; }
.phero .eyebrow { margin-bottom: 18px; }
.phero h1 { font-size: clamp(30px, 5vw, 52px); }
.phero p { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 680px; }
.crumbs { font-size: 13px; color: var(--faint); margin-bottom: 8px; }
.crumbs a:hover { color: var(--gold-2); }

/* ---------- 푸터 ---------- */
.ftr { border-top: 1px solid var(--line); background: var(--bg-2); padding: 60px 0 34px; margin-top: 40px; }
.ftr-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
@media (max-width: 860px){ .ftr-top { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 480px){ .ftr-top { grid-template-columns: 1fr; } }
.ftr .brand { margin-bottom: 14px; }
.ftr-about { font-size: 14px; color: var(--muted); max-width: 320px; }
.ftr-col h5 { font-size: 13px; color: var(--faint); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.ftr-col a { display: block; font-size: 14.5px; color: var(--ink-2); padding: 6px 0; }
.ftr-col a:hover { color: var(--gold-2); }
.ftr-legal { padding-top: 26px; font-size: 12.5px; color: var(--faint); line-height: 1.9; }
.ftr-legal .row { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ftr-legal .cp { margin-top: 14px; }

/* ---------- 스크롤 리빌 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; transition: none; } html{ scroll-behavior:auto; } }

/* ---------- 기타 ---------- */
.divider { height: 1px; background: var(--line); margin: 0; border: 0; }
.note-box { border: 1px dashed var(--line-2); border-radius: var(--radius-sm); padding: 16px 18px;
  font-size: 13px; color: var(--faint); background: rgba(255,255,255,.02); }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { font-size: 12px; font-weight: 700; color: var(--gold-2); background: rgba(231,181,60,.1);
  border: 1px solid rgba(231,181,60,.3); padding: 5px 11px; border-radius: 7px; }
