:root {
  --bg: #080d1a;
  --surface: #11192e;
  --surface-2: #192542;
  --border: #253457;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --primary: #10b981;
  --primary-2: #06b6d4;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Pretendard", "Segoe UI", "Malgun Gothic", -apple-system, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(8, 13, 26, 0.86); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, #10b981, #06b6d4);
  display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 18px;
}
.badge-pill {
  font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px;
  background: rgba(16, 185, 129, 0.16); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, 0.35);
}
.nav-links { display: flex; gap: 22px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.header-actions { display: flex; gap: 8px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 18px; border-radius: 9px; font-weight: 700; font-size: 14px;
  border: 1px solid transparent; cursor: pointer; transition: all 0.15s ease;
}
.btn-sm { padding: 7px 13px; font-size: 13px; }
.btn-lg { padding: 13px 22px; font-size: 15px; }
.btn-full { width: 100%; }
.btn-primary { background: linear-gradient(135deg, #10b981, #059669); color: #fff; box-shadow: 0 8px 24px rgba(16, 185, 129, 0.28); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(16, 185, 129, 0.42); }
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); }

.hero {
  padding: 68px 0 60px;
  background: radial-gradient(circle at 20% 0%, rgba(16, 185, 129, 0.16), transparent 46%),
              radial-gradient(circle at 84% 25%, rgba(6, 182, 212, 0.14), transparent 42%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; color: #6ee7b7;
  background: rgba(16, 185, 129, 0.12); border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 16px;
}
.hero h1 { font-size: 42px; line-height: 1.18; margin: 0 0 16px; letter-spacing: -0.025em; }
.gradient-text { background: linear-gradient(90deg, #34d399, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 15.5px; color: #cbd5e1; margin: 0 0 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 12.5px; color: var(--muted); }

/* Interactive Playground */
.playground-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.pg-top {
  padding: 12px 16px; background: #0c1324; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.pg-top strong { display: block; font-size: 13.5px; }
.theme-dots { display: flex; gap: 7px; }
.t-dot {
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; padding: 0;
}
.t-dot.active { border-color: #fff; transform: scale(1.12); }
.pg-canvas-wrap {
  position: relative; background: radial-gradient(circle at 50% 50%, #131f3b, #0a1020);
  user-select: none; -webkit-user-select: none; cursor: crosshair;
}
#gesture-canvas { display: block; width: 100%; height: 310px; }
.pg-placeholder {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  pointer-events: none; color: rgba(148, 163, 184, 0.72); font-size: 14px; font-weight: 600;
  text-align: center; padding: 20px;
}
.pg-footer {
  padding: 10px 16px; background: #0c1324; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.pg-badge { font-size: 12.5px; font-weight: 700; color: #6ee7b7; }

.section { padding: 70px 0; }
.section-alt { background: #0c1325; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 42px; }
.section-head h2 { font-size: 30px; margin: 0 0 10px; }

.feature-grid, .pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
.icon { font-size: 26px; margin-bottom: 10px; }
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0; font-size: 14px; }

.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--primary); box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.45), 0 20px 50px rgba(0,0,0,0.45); }
.tier-badge { align-self: flex-start; font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: #cbd5e1; margin-bottom: 10px; }
.tier-badge.pro { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; }
.tier-badge.biz { background: rgba(6, 182, 212, 0.2); color: #67e8f9; }
.price-card h3 { margin: 0 0 8px; font-size: 20px; }
.price-amt { font-size: 32px; font-weight: 800; }
.price-amt span { font-size: 14px; font-weight: 500; color: var(--muted); }
.price-note { font-size: 12.5px; color: #6ee7b7; margin-top: 4px; }
.check-list { list-style: none; padding: 0; margin: 20px 0 26px; display: flex; flex-direction: column; gap: 9px; font-size: 14px; color: #cbd5e1; flex: 1; }
.check-list li::before { content: "✓ "; color: #34d399; font-weight: 800; }

.faq-wrap { max-width: 780px; }
details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; }
summary { font-weight: 700; cursor: pointer; font-size: 15px; }
details p { margin: 10px 0 0; color: #cbd5e1; font-size: 14px; }

.site-footer { border-top: 1px solid var(--border); padding: 32px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; font-size: 13px; color: var(--muted); }
.legal-doc { max-width: 800px; margin: 48px auto; padding: 0 20px 64px; }
.legal-doc h2 { color: #6ee7b7; margin-top: 26px; }
.legal-doc p, .legal-doc li { color: #cbd5e1; font-size: 14.5px; }

@media (max-width: 900px) {
  .hero-grid, .feature-grid, .pricing-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero h1 { font-size: 32px; }
}
