/* ==========================================================
   SUNSHINE SOLUTION — B2B iGaming
   색상·폰트·간격은 :root 변수에서 한 번에 바꿀 수 있습니다.
   ========================================================== */
:root {
  --bg: #06080d;
  --bg-alt: #090c13;
  --surface: #0f1420;
  --surface-2: #141b2a;
  --surface-3: #1c2436;
  --border: rgba(255, 255, 255, .07);
  --border-2: rgba(255, 255, 255, .12);

  --text: #eef1f7;
  --text-2: #b4bccc;
  --muted: #7d879b;

  --accent: #ffb438;
  --accent-2: #ff7a3d;
  --grad: linear-gradient(135deg, #ffd166 0%, #ffa62b 50%, #ff6b3d 100%);
  --grad-btn: linear-gradient(135deg, #ffc54d 0%, #ff8a3d 100%);
  --on-accent: #1d1204;

  --success: #34d399;
  --danger: #f87171;

  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);

  --container: 1200px;
  --header-h: 72px;

  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  --font-display: 'Space Grotesk', var(--font);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
strong { color: var(--text); font-weight: 600; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  padding: 10px 16px; border-radius: 10px; background: var(--accent); color: var(--on-accent); text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px; border: 1px solid transparent;
  font: 600 15px/1.2 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background-color .2s, border-color .2s;
}
.btn--primary { background: var(--grad-btn); color: var(--on-accent); box-shadow: 0 10px 28px -10px rgba(255, 176, 56, .7); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(255, 176, 56, .85); }
.btn--ghost { background: rgba(255, 255, 255, .04); color: var(--text); border-color: var(--border-2); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); }
.btn--sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.btn--lg { padding: 15px 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s;
}
.header.is-scrolled, body.nav-open .header {
  background: rgba(6, 8, 13, .78);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--border);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }

.logo {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text);
  font: 700 19px/1 var(--font-display); letter-spacing: .03em;
}
.logo__mark { width: 34px; height: 34px; flex: none; filter: drop-shadow(0 6px 14px rgba(255, 140, 50, .35)); }
.logo__text { display: flex; flex-direction: column; gap: 5px; }
.logo__text b { font-weight: 700; color: var(--text); letter-spacing: .06em; }
.logo__text small { font: 600 9.5px/1 var(--font-display); letter-spacing: .44em; color: var(--accent); }

.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a {
  padding: 8px 14px; border-radius: 8px; text-decoration: none;
  color: var(--text-2); font-size: 15px; font-weight: 500;
  transition: color .2s, background-color .2s;
}
.nav a:hover, .nav a.is-active { color: var(--text); background: rgba(255, 255, 255, .05); }

.header__cta { display: flex; align-items: center; gap: 10px; }

.burger {
  display: none; width: 40px; height: 40px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--border-2); background: rgba(255, 255, 255, .04);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span { width: 18px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .25s; }
body.nav-open .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
body.nav-open .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + 80px) 0 88px; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); }
.glow--1 { width: 560px; height: 560px; top: -200px; left: -160px; background: #ff9f1c; opacity: .2; }
.glow--2 { width: 480px; height: 480px; top: 60px; right: -160px; background: #ff5e3a; opacity: .14; }
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}

.hero__inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  border: 1px solid var(--border-2); background: rgba(255, 255, 255, .03);
  font: 500 13px/1.3 var(--font-display); letter-spacing: .02em; color: var(--text-2);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); animation: pulse 2s infinite; }

h1 {
  margin: 24px 0 22px;
  font-size: clamp(36px, 4.9vw, 58px); line-height: 1.16; letter-spacing: -.035em; font-weight: 800;
}
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { max-width: 540px; color: var(--text-2); font-size: clamp(16px, 1.5vw, 18.5px); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 32px; color: var(--muted); font-size: 14px; }
.hero__trust li::before { content: '✓'; margin-right: 8px; color: var(--accent-2); font-weight: 700; }

/* hero dashboard card */
.hero__visual { position: relative; }
.dash-card {
  position: relative; padding: 26px; border-radius: var(--radius-lg);
  border: 1px solid var(--border-2);
  background: linear-gradient(180deg, rgba(24, 31, 48, .92), rgba(13, 18, 29, .92));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.dash-card__head { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 13px; }
.live {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 6px;
  background: rgba(248, 113, 113, .12); color: #fca5a5;
  font: 700 11px/1 var(--font-display); letter-spacing: .1em;
}
.live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #f87171; animation: blink 1.4s infinite; }
.dash-card__value {
  margin: 10px 0 4px; font: 700 34px/1.1 var(--font-display); letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.delta { color: var(--success); font-size: 13px; font-weight: 600; }

.spark { width: 100%; height: auto; margin: 18px 0 22px; overflow: visible; }
.spark__grid line { stroke: rgba(255, 255, 255, .05); stroke-width: 1; }
.spark__line { stroke-dasharray: 1; stroke-dashoffset: 0; animation: draw 2.2s .3s cubic-bezier(.4, 0, .2, 1) both; }
.spark__area { animation: fadeIn 1.2s 1s both; }

.mix { display: grid; gap: 12px; }
.mix__row { display: grid; grid-template-columns: 92px 1fr 40px; align-items: center; gap: 12px; font-size: 13px; color: var(--text-2); }
.mix__bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.mix__bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--c); }
.mix__row b { text-align: right; font: 600 13px var(--font-display); color: var(--text); }

.chip {
  position: absolute; padding: 10px 14px; border-radius: 12px; white-space: nowrap;
  border: 1px solid var(--border-2); background: rgba(15, 20, 32, .94);
  box-shadow: var(--shadow); font-size: 13px; color: var(--text-2);
  animation: float 6s ease-in-out infinite;
}
.chip b { margin-left: 4px; font-family: var(--font-display); color: var(--text); }
.chip--a { top: -20px; right: 28px; }
.chip--b { bottom: -22px; left: -22px; animation-delay: -3s; }

/* ---------- Stats ---------- */
.stats { padding-bottom: 40px; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01));
}
.stat { padding: 30px 28px; border-left: 1px solid var(--border); }
.stat:first-child { border-left: 0; }
.stat__num { font: 700 clamp(32px, 3.6vw, 44px)/1 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat__num small { margin-left: 4px; font-size: .48em; font-weight: 600; color: var(--accent-2); font-family: var(--font); }
.stat p { margin-top: 12px; color: var(--muted); font-size: 14px; }

/* ---------- Section shell ---------- */
.section { position: relative; padding: 120px 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__head--center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-block; margin-bottom: 16px;
  font: 600 13px/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2);
}
h2 { font-size: clamp(28px, 3.5vw, 44px); line-height: 1.25; letter-spacing: -.03em; font-weight: 800; }
.section__head p { margin-top: 18px; color: var(--text-2); font-size: 17px; }

/* ---------- About ---------- */
.about__vm { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.vm-card {
  position: relative; overflow: hidden; padding: 36px;
  border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface);
}
.vm-card::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 176, 56, .7), transparent);
}
.vm-card__label { font: 600 12px var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.vm-card h3 { margin: 10px 0 12px; font-size: 22px; letter-spacing: -.02em; }
.vm-card p { color: var(--text-2); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar {
  padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface), rgba(15, 20, 32, .2));
}
.pillar__no {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  font: 700 14px var(--font-display); color: #ffd48a;
  background: rgba(255, 176, 56, .12); border: 1px solid rgba(255, 176, 56, .28);
}
.pillar h3 { margin: 20px 0 10px; font-size: 19px; letter-spacing: -.02em; }
.pillar p { color: var(--text-2); font-size: 15px; }

/* ---------- Solutions ---------- */
.models { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.model {
  position: relative; overflow: hidden; padding: 40px;
  border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface);
}
.model--featured {
  border-color: rgba(255, 176, 56, .35);
  background: radial-gradient(120% 80% at 100% 0%, rgba(255, 176, 56, .16), transparent 60%), var(--surface);
}
.model__tag {
  display: inline-block; padding: 6px 12px; border-radius: 99px;
  font: 600 12px/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-2); background: rgba(255, 255, 255, .05); border: 1px solid var(--border-2);
}
.model--featured .model__tag { color: #ffe0a8; background: rgba(255, 176, 56, .15); border-color: rgba(255, 176, 56, .35); }
.model h3 { margin: 20px 0 12px; font-size: 26px; letter-spacing: -.02em; }
.model > p { margin-bottom: 26px; color: var(--text-2); }

.checklist { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.checklist li, .plan__list li { position: relative; padding-left: 28px; font-size: 15px; color: var(--text-2); }
.checklist li::before, .plan__list li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255, 122, 61, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffb438' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.content { padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); }
.content__top { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; margin-bottom: 28px; }
.content__top h3 { font-size: 22px; letter-spacing: -.02em; }
.content__top p { margin-top: 4px; color: var(--muted); font-size: 14.5px; }

.tabs {
  display: inline-flex; gap: 4px; max-width: 100%; overflow-x: auto; scrollbar-width: none;
  padding: 4px; border-radius: 12px; border: 1px solid var(--border); background: rgba(255, 255, 255, .03);
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  padding: 9px 16px; border: 0; border-radius: 9px; background: transparent; cursor: pointer; white-space: nowrap;
  font: 500 14px var(--font); color: var(--text-2); transition: color .2s, background-color .2s;
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: var(--surface-3); color: var(--text); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 4px 14px rgba(0, 0, 0, .35); }

.provider-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.provider {
  display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--bg-alt);
  animation: fadeUp .45s both; animation-delay: calc(var(--i) * 22ms);
  transition: border-color .2s, transform .2s;
}
.provider:hover { border-color: var(--border-2); transform: translateY(-2px); }
.provider__mark {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px;
  font: 700 14px var(--font-display); color: hsl(var(--h) 85% 76%);
  background: hsl(var(--h) 70% 55% / .14); border: 1px solid hsl(var(--h) 70% 60% / .28);
}
.provider__name { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.provider__meta { font-size: 12.5px; color: var(--muted); }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  padding: 30px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface);
  transition: border-color .25s, transform .25s;
}
.feature:hover { border-color: rgba(255, 176, 56, .35); transform: translateY(-3px); }
.feature__icon {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 22px; border-radius: 12px;
  color: #ffd48a; background: linear-gradient(135deg, rgba(255, 176, 56, .2), rgba(255, 122, 61, .1));
  border: 1px solid rgba(255, 176, 56, .28);
}
.feature__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin-bottom: 8px; font-size: 18px; letter-spacing: -.02em; }
.feature p { color: var(--text-2); font-size: 15px; }

/* ---------- Platform (back office mock) ---------- */
.platform { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: center; }
.pf-list { list-style: none; display: grid; gap: 8px; }
.pf-item {
  width: 100%; padding: 20px 22px; border-radius: 14px; border: 1px solid transparent; background: none;
  text-align: left; color: inherit; font: inherit; cursor: pointer; position: relative;
  transition: background-color .25s, border-color .25s;
}
.pf-item::before {
  content: ''; position: absolute; left: 0; top: 20px; bottom: 20px; width: 2px; border-radius: 2px;
  background: var(--grad); opacity: 0; transition: opacity .25s;
}
.pf-item:hover { background: rgba(255, 255, 255, .03); }
.pf-item.is-active { background: var(--surface); border-color: var(--border); }
.pf-item.is-active::before { opacity: 1; }
.pf-item h3 { font-size: 17px; letter-spacing: -.02em; }
.pf-item p { margin-top: 6px; font-size: 14px; color: var(--muted); }
.pf-item.is-active p { color: var(--text-2); }

.bo { overflow: hidden; border-radius: 18px; border: 1px solid var(--border-2); background: #0a0f18; box-shadow: var(--shadow); font-size: 12px; }
.bo__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: #0d1320; }
.bo__bar span { width: 10px; height: 10px; border-radius: 50%; background: #2a3346; }
.bo__bar span:nth-child(1) { background: #ff5f57; opacity: .8; }
.bo__bar span:nth-child(2) { background: #febc2e; opacity: .8; }
.bo__bar span:nth-child(3) { background: #28c840; opacity: .8; }
.bo__bar em {
  flex: 1; max-width: 260px; margin-left: 12px; padding: 4px 12px; border-radius: 6px;
  font: normal 12px var(--font-display); color: var(--muted); background: rgba(255, 255, 255, .04);
}
.bo__body { display: grid; grid-template-columns: 148px 1fr; }
.bo__side { display: flex; flex-direction: column; gap: 2px; padding: 14px 10px; border-right: 1px solid var(--border); }
.bo__side span { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 8px; color: var(--muted); }
.bo__side span.on { background: rgba(255, 176, 56, .14); color: #ffe0a8; }
.bo__side i { width: 6px; height: 6px; border-radius: 2px; background: currentColor; opacity: .6; }
.bo__main { display: grid; gap: 14px; min-width: 0; padding: 16px; }
.bo__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpi { padding: 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); }
.kpi span { font-size: 11px; color: var(--muted); }
.kpi b { display: block; margin-top: 4px; font: 700 16px var(--font-display); font-variant-numeric: tabular-nums; }
.kpi em { font-style: normal; font-size: 11px; color: var(--success); }
.bo__chart { padding: 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); }
.bo__chart-head { display: flex; justify-content: space-between; margin-bottom: 12px; color: var(--text-2); }
.bo__chart-head span:last-child { color: var(--muted); }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 112px; }
.bars div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; height: 100%; }
.bars i {
  width: 100%; max-width: 30px; height: 0; border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #ffb438, rgba(255, 176, 56, .2));
  transition: height 1s cubic-bezier(.2, .7, .2, 1);
}
.bars div:nth-child(2) i { transition-delay: .05s; }
.bars div:nth-child(3) i { transition-delay: .1s; }
.bars div:nth-child(4) i { transition-delay: .15s; }
.bars div:nth-child(5) i { transition-delay: .2s; }
.bars div:nth-child(6) i { transition-delay: .25s; }
.bars div:nth-child(7) i { transition-delay: .3s; background: linear-gradient(180deg, #ff7a3d, rgba(255, 122, 61, .2)); }
.bo.is-visible .bars i, html:not(.js) .bars i { height: var(--h); }
.bars span { font-size: 10px; color: var(--muted); }

.bo__tablewrap { overflow-x: auto; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); }
.bo__table { width: 100%; border-collapse: collapse; }
.bo__table th { padding: 9px 12px; border-bottom: 1px solid var(--border); text-align: left; font-size: 11px; font-weight: 500; color: var(--muted); }
.bo__table td { padding: 9px 12px; border-bottom: 1px solid var(--border); color: var(--text-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.bo__table tr:last-child td { border-bottom: 0; }
.amt-in { color: #6ee7b7 !important; }
.amt-out { color: #fca5a5 !important; }
.pill { display: inline-block; padding: 2px 8px; border-radius: 99px; font-size: 10.5px; font-weight: 600; }
.pill--ok { background: rgba(52, 211, 153, .14); color: #6ee7b7; }
.pill--wait { background: rgba(251, 191, 36, .14); color: #fcd34d; }

[data-region] { transition: box-shadow .35s, opacity .35s; }
.bo.has-focus [data-region]:not(.is-focus) { opacity: .45; }
[data-region].is-focus { box-shadow: 0 0 0 1.5px rgba(255, 176, 56, .8), 0 0 32px rgba(255, 176, 56, .22); border-radius: 10px; }
.bo__side.is-focus { border-radius: 0; box-shadow: inset 0 0 0 1.5px rgba(255, 176, 56, .8); }

/* ---------- Process ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding: 30px 28px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); }
.step__no {
  display: block; font: 700 40px/1 var(--font-display);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { margin: 22px 0 8px; font-size: 18px; letter-spacing: -.02em; }
.step p { color: var(--text-2); font-size: 14.5px; }
.step__time {
  display: inline-block; margin-top: 20px; padding: 4px 10px; border-radius: 99px;
  font: 600 12px var(--font-display); color: var(--accent-2); border: 1px solid rgba(255, 122, 61, .3);
}
.step:not(:last-child)::after {
  content: ''; position: absolute; top: 50px; right: -21px; width: 22px; height: 1px;
  background: linear-gradient(90deg, rgba(255, 176, 56, .7), rgba(255, 122, 61, .3));
}

/* ---------- Pricing ---------- */

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 30px 24px;
  border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface);
}
.plan--featured {
  border-color: transparent;
  background: linear-gradient(var(--surface-2), var(--surface-2)) padding-box, var(--grad) border-box;
  box-shadow: 0 30px 80px -30px rgba(255, 176, 56, .5);
}
.plan__badge {
  position: absolute; top: -12px; left: 24px; padding: 5px 12px; border-radius: 99px;
  background: var(--grad-btn); color: var(--on-accent); font-size: 12px; font-weight: 700;
}
.plan__tier { font: 600 13px var(--font-display); letter-spacing: .16em; color: var(--muted); }
.plan--featured .plan__tier { color: #ffd48a; }
.plan h3 { margin: 8px 0; font-size: 20px; letter-spacing: -.02em; }
.plan__desc { min-height: 46px; color: var(--text-2); font-size: 14px; }
.plan__price { margin: 22px 0 24px; padding: 20px 0; border-block: 1px solid var(--border); }
.price { display: block; font: 700 30px/1.15 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.plan__price small { color: var(--muted); font-size: 12.5px; }
.price--ask { font-size: 28px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan__list { list-style: none; display: grid; gap: 12px; align-content: start; flex: 1; margin-bottom: 28px; }
.plan__list li { font-size: 14.5px; }
.plan__list li.no { color: var(--muted); }
.plan__list li.no::before {
  background: rgba(255, 255, 255, .06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d879b' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.plans__note { margin-top: 32px; text-align: center; color: var(--muted); font-size: 13.5px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 40px); }
.faq__head p { margin: 18px 0 28px; color: var(--text-2); font-size: 16px; }
.faq__list { display: grid; gap: 12px; }
.faq details { border-radius: 14px; border: 1px solid var(--border); background: var(--surface); transition: border-color .2s; }
.faq details[open] { border-color: var(--border-2); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 24px; list-style: none; cursor: pointer; font-size: 16.5px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; flex: none; width: 28px; height: 28px; border-radius: 8px; transition: transform .25s, background-color .25s;
  background: rgba(255, 255, 255, .05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23eef1f7' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: rgba(255, 176, 56, .2); }
.faq details p { padding: 0 24px 22px; color: var(--text-2); font-size: 15px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.contact__lead { margin-top: 18px; color: var(--text-2); font-size: 16.5px; }
.channels { list-style: none; display: grid; gap: 12px; margin-top: 36px; }
.channel {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 14px;
  border: 1px solid var(--border); background: var(--surface); text-decoration: none; color: var(--text);
  transition: border-color .2s, transform .2s;
}
a.channel:hover { border-color: var(--border-2); transform: translateX(4px); }
.channel small { display: block; color: var(--muted); font-size: 13px; }
.channel strong { font-size: 15.5px; }
.channel__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; }
.channel__icon svg { width: 22px; height: 22px; }
.channel__icon--tg { color: #5ec2f2; background: rgba(42, 171, 238, .14); }
.channel__icon--time { color: #ffc078; background: rgba(255, 122, 61, .12); }


/* ---------- Sub page hero ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + 72px) 0 80px; border-bottom: 1px solid var(--border); }
.page-hero .glow--1 { width: 480px; height: 480px; top: -240px; }
.page-hero .glow--2 { top: -160px; }
.crumbs { display: flex; align-items: center; gap: 8px; margin-bottom: 28px; font-size: 13.5px; color: var(--muted); }
.crumbs a { color: var(--text-2); text-decoration: none; transition: color .2s; }
.crumbs a:hover { color: var(--text); }
.page-hero__title { margin: 0 0 18px; font-size: clamp(34px, 4.6vw, 54px); }
.page-hero .lead { max-width: 640px; }

/* ---------- CTA band ---------- */
.cta { padding: 100px 0; }
.cta__box {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 32px 48px;
  padding: 56px; border-radius: 28px; border: 1px solid rgba(255, 176, 56, .28);
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(255, 176, 56, .16), transparent 60%),
    radial-gradient(60% 120% at 0% 100%, rgba(255, 107, 61, .10), transparent 60%),
    var(--surface);
}
.cta__box h2 { font-size: clamp(26px, 3vw, 36px); }
.cta__box p { margin-top: 12px; color: var(--text-2); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.section-more { margin-top: 40px; text-align: center; }

/* ---------- Contact page ---------- */
.consult {
  padding: 40px; border-radius: var(--radius-lg); border: 1px solid var(--border-2);
  background: radial-gradient(90% 60% at 100% 0%, rgba(255, 176, 56, .12), transparent 60%), var(--surface);
}
.consult__icon {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px; border-radius: 16px;
  color: #5ec2f2; background: rgba(42, 171, 238, .14);
}
.consult__icon svg { width: 28px; height: 28px; }
.consult h3 { font-size: 24px; letter-spacing: -.02em; }
.consult > p { margin: 10px 0 26px; color: var(--text-2); }
.consult hr { margin: 32px 0 24px; border: 0; border-top: 1px solid var(--border); }
.consult h4 { margin-bottom: 16px; font-size: 15px; font-weight: 600; color: var(--text-2); }
.checklist--1col { grid-template-columns: 1fr; }

/* ---------- Guide (정보성 글) ---------- */
.guide { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.guide__card { padding: 40px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); }
.guide__tag {
  display: inline-block; padding: 6px 12px; border-radius: 99px;
  font: 600 12px/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase;
  color: #ffe0a8; background: rgba(255, 176, 56, .12); border: 1px solid rgba(255, 176, 56, .3);
}
.guide__card h3 { margin: 18px 0 14px; font-size: 24px; letter-spacing: -.02em; }
.guide__card p { margin-bottom: 14px; color: var(--text-2); font-size: 15.5px; line-height: 1.75; }
.guide__card h4 { margin: 26px 0 14px; font-size: 16px; }

.compare { margin-top: 20px; overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); }
.compare table { width: 100%; min-width: 560px; border-collapse: collapse; }
.compare caption { padding: 22px 24px 6px; text-align: left; font-size: 17px; font-weight: 700; color: var(--text); }
.compare th, .compare td { padding: 16px 24px; border-bottom: 1px solid var(--border); text-align: left; font-size: 15px; vertical-align: top; }
.compare thead th { font-size: 13px; font-weight: 600; color: var(--muted); }
.compare tbody th { width: 150px; font-weight: 600; color: var(--text-2); }
.compare td { color: var(--text-2); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }

.legal-note {
  display: flex; align-items: flex-start; gap: 12px; margin-top: 20px; padding: 18px 22px; border-radius: 14px;
  border: 1px solid rgba(255, 176, 56, .28); background: rgba(255, 176, 56, .06);
  color: var(--text-2); font-size: 14.5px; line-height: 1.7;
}
.legal-note svg { flex: none; width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }

/* ---------- Footer ---------- */
.footer { padding: 72px 0 36px; }
.footer__top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; padding-bottom: 48px; }
.footer__brand p { max-width: 320px; margin-top: 18px; color: var(--muted); font-size: 14px; }
.footer h4 { margin-bottom: 16px; font: 600 12px var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { color: var(--text-2); text-decoration: none; font-size: 14.5px; transition: color .2s; }
.footer ul a:hover { color: var(--text); }
.footer__legal { padding-top: 28px; border-top: 1px solid var(--border); }
.disclaimer { max-width: 920px; color: var(--muted); font-size: 12.5px; line-height: 1.75; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 22px; color: var(--muted); font-size: 13px; }
.rg { display: inline-flex; align-items: center; gap: 10px; }
.badge18 {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--muted); color: var(--text-2); font: 700 11px var(--font-display);
}

/* ---------- Floating Telegram ---------- */
.float-tg {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #229ed9; color: #fff; box-shadow: 0 12px 30px -8px rgba(34, 158, 217, .7);
  transition: transform .2s;
}
.float-tg:hover { transform: scale(1.07); }
.float-tg svg { width: 26px; height: 26px; margin-left: -2px; }

/* ---------- Scroll reveal ---------- */
.js .reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1), border-color .25s;
  transition-delay: var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 122, 61, .55); }
  70% { box-shadow: 0 0 0 8px rgba(255, 122, 61, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 122, 61, 0); }
}
@keyframes blink { 50% { opacity: .3; } }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 72px; }
  .hero__visual { max-width: 560px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .platform { grid-template-columns: 1fr; }
  .pf-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .burger { display: flex; }
  .header__cta { margin-left: auto; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0; padding: 8px 16px 20px;
    background: rgba(6, 8, 13, .97); border-bottom: 1px solid var(--border);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  body.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px 12px; font-size: 16px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav a:last-child { border-bottom: 0; }

  .about__vm, .models { grid-template-columns: 1fr; }
  .pillars, .features { grid-template-columns: 1fr 1fr; }
  .pillars .pillar:last-child { grid-column: 1 / -1; }
  .faq, .contact { grid-template-columns: 1fr; gap: 40px; }
  .guide { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .footer__top { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .section { padding: 84px 0; }
  .section__head { margin-bottom: 40px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--border); }
  .pf-list { grid-template-columns: 1fr; }
  .provider-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero { padding: calc(var(--header-h) + 44px) 0 72px; }
  .hero__actions .btn { flex: 1; }
  .dash-card { padding: 20px; }
  .dash-card__value { font-size: 28px; }
  .chip--a { right: 12px; }
  .chip--b { left: 12px; }
  .stat { padding: 24px 20px; }

  .pillars, .features, .plans, .steps { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .model, .vm-card, .pillar { padding: 28px 22px; }
  .content { padding: 20px 16px; }
  .content__top { align-items: flex-start; }
  .provider-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .provider { padding: 12px; gap: 10px; }
  .provider__mark { width: 34px; height: 34px; font-size: 12px; }

  .bo__body { grid-template-columns: 1fr; }
  .bo__side { display: none; }
  .bo__kpis { grid-template-columns: 1fr 1fr; }
  .pf-item { padding: 16px 18px; }

  .footer__top { grid-template-columns: 1fr 1fr; }
  .float-tg { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .page-hero { padding: calc(var(--header-h) + 44px) 0 56px; }
  .cta { padding: 72px 0; }
  .cta__box { padding: 32px 22px; }
  .cta__actions { width: 100%; }
  .cta__actions .btn { flex: 1; }
  .consult { padding: 28px 20px; }
  .guide__card { padding: 28px 22px; }
  .compare th, .compare td { padding: 14px 16px; }
  .compare caption { padding: 18px 16px 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .bars i { height: var(--h); }
}
