/* Shared site styles for 위메이크보이스 landing pages */
@import url("./colors_and_type.css");

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-primary);
  color: var(--fg-neutral);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }
section { position: relative; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.container-wide { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .section-tight { padding: 48px 0; }
}

/* ---------- Top nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line-neutral-subtle);
}
.nav-inner {
  height: 64px; display: flex; align-items: center; justify-content: space-between;
  max-width: 1320px; margin: 0 auto; padding: 0 24px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.022em; font-size: 17px; color: var(--fg-primary); }
.nav-brand .nav-logo-mark {
  width: 26px; height: 26px; border-radius: 8px;
  background: linear-gradient(135deg, var(--w-blue-50) 0%, var(--w-violet-60) 100%);
  display: grid; place-items: center; color: white; font-weight: 800; font-size: 14px;
}
.nav-logo-img {
  width: min(189px, 44vw);
  height: auto;
  display: block;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--fg-neutral-subtle);
  letter-spacing: -0.01em; transition: color .15s;
}
.nav-links a:hover { color: var(--fg-primary); }
.nav-links a.active { color: var(--fg-primary); font-weight: 600; }
.nav-pricing-menu { position: relative; }
.nav-pricing-menu summary {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500; color: var(--fg-neutral-subtle);
  letter-spacing: -0.01em; cursor: pointer; list-style: none; user-select: none;
  transition: color .15s ease;
}
.nav-pricing-menu summary::-webkit-details-marker { display: none; }
.nav-pricing-menu summary::after {
  content: ""; width: 6px; height: 6px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .15s ease;
}
.nav-pricing-menu summary:hover,
.nav-pricing-menu[open] summary { color: var(--fg-primary); }
.nav-pricing-menu[open] summary::after { transform: translateY(2px) rotate(225deg); }
.nav-pricing-dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%;
  width: 264px; transform: translate(-50%, -4px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .14s ease, transform .14s ease, visibility .14s;
}
.nav-pricing-menu[open] .nav-pricing-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav-pricing-card {
  padding: 7px; border: 1px solid rgba(15,23,42,0.09);
  border-radius: 12px; background: rgba(255,255,255,0.98);
  box-shadow: 0 12px 32px rgba(15,23,42,0.11);
}
.nav-links .nav-pricing-card a {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 11px 34px 11px 12px; border-radius: 8px; color: var(--fg-primary);
  transition: background-color .14s ease;
}
.nav-links .nav-pricing-card a + a {
  border-top: 1px solid var(--line-neutral-subtle);
  border-top-left-radius: 0; border-top-right-radius: 0;
}
.nav-links .nav-pricing-card a:hover { background: var(--bg-neutral); }
.nav-links .nav-pricing-card a::after {
  content: "→"; position: absolute; top: 50%; right: 13px;
  color: var(--fg-neutral-muted); transform: translateY(-50%);
  transition: color .14s ease, transform .14s ease;
}
.nav-links .nav-pricing-card a:hover::after {
  color: var(--fg-primary); transform: translate(2px, -50%);
}
.nav-pricing-card a span { font-size: 14px; font-weight: 600; }
.nav-pricing-card a small {
  font-size: 12px; font-weight: 500; color: var(--fg-neutral-muted);
  letter-spacing: -0.01em;
}
.nav-cta { display: flex; gap: 8px; align-items: center; }
@media (max-width: 860px) {
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .nav-logo-img { width: 160px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px;
  border-radius: 10px;
  font: 600 15px/1 var(--font-sans);
  letter-spacing: -0.012em;
  transition: all .15s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-lg { height: 56px; padding: 0 28px; font-size: 17px; border-radius: 12px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; border-radius: 8px; }

.btn-primary { background: var(--w-blue-50); color: white; }
.btn-primary:hover { background: var(--w-blue-45); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(79,55,255,0.28); }

.btn-dark { background: var(--w-cool-5); color: white; }
.btn-dark:hover { background: var(--w-cool-10); }

.btn-outline { background: transparent; color: var(--fg-primary); border-color: var(--line-neutral-strong); }
.btn-outline:hover { background: var(--bg-neutral); border-color: var(--fg-primary); }

.btn-ghost { background: transparent; color: var(--fg-neutral-subtle); }
.btn-ghost:hover { background: var(--bg-neutral); color: var(--fg-primary); }

.btn-icon-after::after { content: "→"; font-size: 1.05em; transform: translateX(0); transition: transform .2s; }
.btn-icon-after:hover::after { transform: translateX(3px); }

/* ---------- Eyebrow / chip ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  height: 28px; padding: 0 12px;
  border-radius: 999px;
  background: var(--bg-accent-subtle);
  color: var(--w-blue-45);
  font: 600 12px/1 var(--font-sans);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.eyebrow.eyebrow-dark { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.92); }
.eyebrow.eyebrow-magenta { background: var(--bg-energy-subtle); color: var(--w-violet-45); }
.eyebrow.eyebrow-cyan { background: var(--bg-tech-subtle); color: var(--w-cyan-50); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* ---------- Hero base ---------- */
.hero { padding: 96px 0 72px; }
.hero-headline {
  font: 800 clamp(40px, 5.6vw, 72px)/1.05 var(--font-sans);
  letter-spacing: -0.034em;
  color: var(--fg-primary);
  text-wrap: balance;
}
.hero-headline .accent { color: var(--w-blue-50); }
.hero-sub {
  margin-top: 24px;
  font: 500 clamp(17px, 1.6vw, 20px)/1.55 var(--font-sans);
  letter-spacing: -0.01em;
  color: var(--fg-neutral-subtle);
  max-width: 640px;
  text-wrap: pretty;
}
.hero-meta { margin-top: 28px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; color: var(--fg-neutral-muted); font-size: 13.5px; letter-spacing: 0.01em; }
.hero-meta .meta-dot { width: 4px; height: 4px; background: var(--fg-neutral-disable); border-radius: 50%; }

/* ---------- Section heading ---------- */
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 {
  font: 700 clamp(28px, 3.2vw, 44px)/1.15 var(--font-sans);
  letter-spacing: -0.028em;
  color: var(--fg-primary);
  text-wrap: balance;
}
.section-head .lead {
  margin-top: 16px;
  font: 500 17px/1.6 var(--font-sans);
  color: var(--fg-neutral-subtle);
  letter-spacing: -0.005em;
  text-wrap: pretty;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Cards ---------- */
.card {
  background: white;
  border: 1px solid var(--line-neutral-subtle);
  border-radius: 20px;
  padding: 32px;
}
.card-lg { padding: 40px; border-radius: 24px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--w-cool-5);
  color: rgba(255,255,255,0.72);
  padding: 80px 0 48px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h5 { color: white; font: 600 14px/1.4 var(--font-sans); margin-bottom: 16px; letter-spacing: -0.01em; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color .15s; }
.footer ul a:hover { color: white; }
.footer-bottom {
  margin-top: 64px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: 12.5px; color: rgba(255,255,255,0.44); letter-spacing: 0.01em;
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: white; font-weight: 700; letter-spacing: -0.022em; font-size: 17px; }
.footer-brand .nav-logo-mark { background: white; color: var(--w-blue-50); }
.footer-logo-img {
  width: 189px;
  height: auto;
  display: block;
}
.footer-desc { margin-top: 16px; font-size: 13.5px; color: rgba(255,255,255,0.55); line-height: 1.7; max-width: 280px; }

/* ---------- Marquee (logo strip) ---------- */
.marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee-item {
  flex: 0 0 auto;
  height: 56px;
  display: grid; place-items: center;
  padding: 0 24px;
  border-radius: 12px;
  font: 700 19px/1 var(--font-sans);
  letter-spacing: -0.022em;
  color: var(--fg-neutral-muted);
  background: var(--bg-neutral);
  white-space: nowrap;
  min-width: 180px;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Stat card ---------- */
.stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--line-neutral);
  border-radius: 20px;
  overflow: hidden;
  background: white;
}
@media (max-width: 720px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-cell { padding: 32px; border-right: 1px solid var(--line-neutral-subtle); border-bottom: 1px solid var(--line-neutral-subtle); }
.stat-cell:last-child { border-right: none; }
.stat-num { font: 800 clamp(32px,3.6vw,48px)/1 var(--font-sans); letter-spacing: -0.034em; color: var(--fg-primary); }
.stat-num .unit { font-size: 0.55em; font-weight: 700; color: var(--fg-neutral-muted); margin-left: 4px; }
.stat-label { margin-top: 10px; font-size: 13.5px; color: var(--fg-neutral-muted); letter-spacing: -0.005em; }

/* ---------- Browser frame ---------- */
.browser {
  border-radius: 14px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line-neutral);
  box-shadow: var(--shadow-emphasize);
}
.browser-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px;
  background: var(--w-cool-98);
  border-bottom: 1px solid var(--line-neutral-subtle);
}
.browser-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: #e5e5e7; }
.browser-bar .dot.r { background: #ff5f57; }
.browser-bar .dot.y { background: #febc2e; }
.browser-bar .dot.g { background: #28c840; }
.browser-bar .url {
  margin-left: 16px;
  font: 500 12px/1 var(--font-mono);
  color: var(--fg-neutral-muted);
  background: white;
  border: 1px solid var(--line-neutral-subtle);
  border-radius: 6px;
  padding: 6px 12px;
  flex: 1;
  max-width: 360px;
}

/* ---------- Hotspot pin ---------- */
.hotspot {
  position: absolute;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--w-blue-50);
  color: white;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
  box-shadow: 0 0 0 6px rgba(79,55,255,0.18), 0 4px 12px rgba(79,55,255,0.4);
  cursor: help;
  animation: pulse 2.4s ease-out infinite;
  z-index: 4;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(79,55,255,0.5), 0 4px 12px rgba(79,55,255,0.4); }
  70%  { box-shadow: 0 0 0 14px rgba(79,55,255,0), 0 4px 12px rgba(79,55,255,0.4); }
  100% { box-shadow: 0 0 0 0 rgba(79,55,255,0), 0 4px 12px rgba(79,55,255,0.4); }
}
.hotspot-tip {
  position: absolute;
  top: 36px; left: 50%; transform: translateX(-50%);
  background: var(--w-cool-5); color: white;
  padding: 8px 12px; border-radius: 8px;
  font-size: 12px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .15s;
  letter-spacing: -0.005em;
}
.hotspot:hover .hotspot-tip { opacity: 1; }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease-out, transform .7s ease-out; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .hotspot { animation: none; }
}

/* ---------- Utility ---------- */
.divider { height: 1px; background: var(--line-neutral-subtle); }
.text-muted { color: var(--fg-neutral-muted); }
.text-subtle { color: var(--fg-neutral-subtle); }
.text-accent { color: var(--w-blue-50); }
.mono { font-family: var(--font-mono); }
.kbd {
  display: inline-block; padding: 2px 8px; font: 500 12px/1.4 var(--font-mono);
  background: var(--bg-neutral); border: 1px solid var(--line-neutral); border-radius: 6px;
  color: var(--fg-neutral-subtle);
}
