:root {
  --bg: #0e1116;
  --panel: #161b22;
  --panel-2: #1f2630;
  --border: #2a313c;
  --text: #e6edf3;
  --muted: #8b949e;
  --accent: #58a6ff;
  --accent-2: #79c0ff;
  --good: #3fb950;
  --warn: #d29922;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR",
    Roboto, Oxygen, Ubuntu, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(14, 17, 22, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10;
}

.brand {
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; color: var(--accent); }

nav { display: flex; gap: 24px; font-size: 14px; }
nav a { color: var(--muted); }
nav a:hover { color: var(--text); text-decoration: none; }

section { padding: 80px 32px; max-width: 1100px; margin: 0 auto; }

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.hero .accent { color: var(--accent); }
.hero .sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 32px;
}

.cta { margin-bottom: 32px; }

.waitlist {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin-bottom: 8px;
}
.waitlist input {
  flex: 1;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
}
.waitlist input:focus { border-color: var(--accent); }
.waitlist button {
  background: var(--accent);
  color: #0b1622;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
}
.waitlist button:hover { background: var(--accent-2); }
.waitlist button:disabled { opacity: 0.6; cursor: wait; }

.hint { color: var(--muted); font-size: 13px; margin: 0; }

.code {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  color: var(--accent-2);
  display: inline-block;
  margin: 0;
}

.features { background: var(--panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.features h2, .pricing h2 {
  text-align: center;
  font-size: 28px;
  margin: 0 0 48px;
  letter-spacing: -0.01em;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.features article {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}
.features article h3 {
  font-size: 15px;
  margin: 0 0 8px;
  font-weight: 600;
}
.features article p { color: var(--muted); margin: 0; font-size: 14px; }
.features code {
  background: var(--panel-2);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--accent-2);
}

.pricing .tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}
.pricing article {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.pricing article.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.pricing article.soon { opacity: 0.7; }
.pricing h3 { margin: 0 0 12px; font-size: 18px; display: flex; align-items: center; gap: 8px; }
.pricing .badge {
  font-size: 10px;
  background: var(--panel-2);
  color: var(--muted);
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pricing .price {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 16px;
}
.pricing .price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
}
.pricing ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  flex: 1;
}
.pricing li {
  padding: 6px 0;
  color: var(--muted);
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.pricing li:last-child { border-bottom: none; }

footer {
  padding: 32px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--border);
  font-size: 13px;
}

@media (max-width: 600px) {
  header { padding: 12px 16px; }
  section { padding: 48px 16px; }
  .waitlist { flex-direction: column; }
}
