/*
 * Hand-written to match the reference site's look without its 419KB Tailwind Play CDN,
 * which compiled CSS in the browser on every page load. No build step either.
 */

:root {
  --bg: #0e1321;
  --surface-low: #161b2a;
  --surface: #1a1f2e;
  --surface-lowest: #090e1c;
  --accent: #00f2ff;
  --accent-dim: #00dbe7;
  --on-accent: #00363a;
  --green: #00e475;
  --green-bright: #37fa87;
  --text: #e1fdff;
  --text-body: #dee2f6;
  --muted: #b9cacb;
  --muted-dim: #8b98b8;
  --line: rgba(255, 255, 255, .10);
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-body);
  font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
        "PingFang SC", "Hiragino Sans", "Noto Sans KR", "Microsoft YaHei", sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
main { flex: 1; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ── Nav ─────────────────────────────────────────────────────────────────── */

nav {
  position: relative;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 14, 28, .6);
  backdrop-filter: blur(16px);
}
/* padding-block only — the shorthand would cancel .wrap's side padding, since both
   are single-class selectors and this one comes later. */
.nav-inner { display: flex; justify-content: space-between; align-items: center; padding-block: 16px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.brand-mark {
  display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px;
  border-radius: 12px; background: rgba(0, 242, 255, .07); border: 1px solid rgba(0, 242, 255, .16);
  transition: border-color .25s, background .25s;
}
.brand-mark svg { width: 26px; height: 26px; }
.brand:hover .brand-mark { background: rgba(0, 242, 255, .12); border-color: rgba(0, 242, 255, .35); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.brand-copy strong { font-size: 18px; font-weight: 700; color: #fff; letter-spacing: -.02em; }
.brand-copy small { font-size: 11.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-dim); }
.nav-links { display: flex; gap: 30px; font-size: 15px; }
.nav-links a { color: var(--muted-dim); transition: color .2s; padding-bottom: 3px; }
.nav-links a:hover { color: var(--accent); }
.nav-links a.on { color: var(--accent); border-bottom: 2px solid var(--accent); }
.nav-right { display: flex; align-items: center; gap: 16px; }

.lang { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px; padding: 7px 13px;
  border: 1px solid var(--line); border-radius: 10px; background: none;
  color: var(--muted-dim); font: inherit; font-size: 14px; cursor: pointer; transition: .2s;
}
.lang-btn:hover { color: var(--accent); border-color: rgba(0, 242, 255, .5); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; width: 150px; padding: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  backdrop-filter: blur(16px); box-shadow: 0 12px 40px rgba(0, 0, 0, .5);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s; z-index: 60;
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a { display: block; padding: 9px 13px; border-radius: 8px; font-size: 14px; color: var(--text-body); }
.lang-menu a:hover { background: rgba(255, 255, 255, .07); }
.lang-menu a.on { color: var(--accent); }

/* ── Hero ────────────────────────────────────────────────────────────────── */

.hero { position: relative; padding: 72px 0 88px; overflow: hidden; text-align: center; }
.hero::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 800px; height: 800px;
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: rgba(0, 219, 231, .10); filter: blur(120px);
}
.hero > * { position: relative; z-index: 1; }

.badge {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 30px;
  padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); font-size: 12px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--green);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

h1 {
  max-width: 900px; margin: 0 auto 22px;
  font-size: clamp(30px, 5vw, 52px); line-height: 1.15; font-weight: 700;
  letter-spacing: -.02em; color: var(--text);
}
.lede { max-width: 640px; margin: 0 auto 40px; font-size: 18px; color: var(--muted); }

.pay-card {
  max-width: 900px; margin: 0 auto; padding: 40px 32px; position: relative; overflow: hidden;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(0, 242, 255, .2);
  border-radius: 40px; backdrop-filter: blur(24px);
}
.pay-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(0, 242, 255, .08), transparent 60%);
}
.pay-card > * { position: relative; }
.pay-card h2 { font-size: clamp(20px, 3vw, 30px); font-weight: 650; color: #fff; margin-bottom: 26px; }

.addr-row {
  display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
  padding: 16px; margin-bottom: 24px;
  background: var(--surface-lowest); border: 1px solid rgba(255, 255, 255, .05); border-radius: 18px;
}
.addr {
  font-family: var(--mono); font-size: clamp(12px, 2.2vw, 21px); font-weight: 500;
  letter-spacing: .04em; color: var(--accent); word-break: break-all; text-align: center;
}
.copy-btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 13px 24px; flex-shrink: 0;
  background: var(--accent); color: var(--on-accent); border: 0; border-radius: 12px;
  font: inherit; font-weight: 700; cursor: pointer;
  box-shadow: 0 0 24px rgba(0, 242, 255, .3); transition: transform .15s, filter .15s;
}
.copy-btn:hover { filter: brightness(1.08); }
.copy-btn:active { transform: scale(.96); }
.pay-rule { font-size: 15px; color: var(--muted); }

/* ── Pricing ─────────────────────────────────────────────────────────────── */

section { padding: 80px 0; }
#pricing { background: rgba(9, 14, 28, .3); }
.head { text-align: center; margin-bottom: 56px; }
.head h2 { font-size: clamp(24px, 3.5vw, 32px); font-weight: 650; color: #fff; margin-bottom: 12px; }
.head p { color: var(--muted); font-size: 18px; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; max-width: 900px; margin: 0 auto; }
.plan {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 40px 32px; border-radius: 32px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line);
  backdrop-filter: blur(24px); transition: border-color .25s, background .25s;
}
.plan:hover { border-color: rgba(0, 242, 255, .3); background: rgba(255, 255, 255, .08); }
.plan.featured {
  border-color: rgba(0, 242, 255, .3); background: rgba(255, 255, 255, .08);
  animation: glow 2.6s infinite ease-in-out;
}
@keyframes glow {
  0%, 100% { box-shadow: 0 0 22px rgba(0, 242, 255, .12); }
  50%      { box-shadow: 0 0 40px rgba(0, 242, 255, .26); }
}
.plan-badge {
  position: absolute; top: 16px; right: 16px; padding: 4px 12px; border-radius: 999px;
  background: var(--green-bright); color: #006f35;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.plan-icon {
  display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 22px;
  border-radius: 20px; background: rgba(255, 255, 255, .05); color: var(--accent);
}
.plan-name { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.plan-price { display: flex; align-items: baseline; gap: 7px; margin-bottom: 22px; }
.plan-price b { font-size: clamp(32px, 5vw, 40px); font-weight: 700; color: #fff; letter-spacing: -.02em; }
.plan-price span { font-size: 22px; font-weight: 600; color: var(--muted); }
.rule { width: 100%; height: 1px; background: var(--line); margin: 8px 0 26px; }
.plan-feats { display: flex; flex-direction: column; gap: 15px; margin-bottom: 32px; }
.feat { display: flex; align-items: center; gap: 12px; text-align: left; }
.feat svg { flex-shrink: 0; color: var(--green); }
.feat.strong { color: #fff; font-size: 21px; font-weight: 600; }
.feat.soft { color: var(--muted); font-size: 15px; }

.plan-btn {
  width: 100%; margin-top: auto; padding: 15px; border-radius: 12px;
  background: none; border: 1px solid var(--accent); color: var(--accent);
  font: inherit; font-weight: 700; cursor: pointer; transition: .2s;
}
.plan-btn:hover { background: var(--accent); color: var(--on-accent); }
.plan.featured .plan-btn { background: var(--accent); color: var(--on-accent); box-shadow: 0 0 24px rgba(0, 242, 255, .3); }
.plan.featured .plan-btn:hover { transform: scale(1.02); }

/* ── Support ─────────────────────────────────────────────────────────────── */

.cards { display: grid; gap: 22px; max-width: 820px; margin: 0 auto; }
.support-card {
  display: flex; gap: 22px; padding: 24px; border-radius: 20px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .05);
  backdrop-filter: blur(24px); transition: border-color .25s;
}
.support-card:hover { border-color: rgba(0, 242, 255, .2); }
.support-icon {
  display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px;
  border-radius: 14px; background: rgba(0, 242, 255, .1); color: var(--accent);
}
.support-card h3 { font-size: 20px; font-weight: 650; color: #fff; margin-bottom: 8px; }
.support-card p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.support-card a { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); font-weight: 700; }
.support-card a:hover { text-decoration: underline; }

/* ── Footer ──────────────────────────────────────────────────────────────── */

footer { border-top: 1px solid rgba(255, 255, 255, .05); background: #060a14; margin-top: auto; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-block: 44px; }
.footer-mark { gap: 14px; }
.footer-mark .brand-mark { width: 44px; height: 44px; }
.footer-brand { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.footer-copy { color: #64748b; font-size: 14px; }
.footer-links { display: flex; gap: 30px; flex-wrap: wrap; font-size: 14px; }
.footer-links a { color: #64748b; transition: color .2s; }
.footer-links a:hover { color: #fff; }

/* ── Toast ───────────────────────────────────────────────────────────────── */

#toast {
  position: fixed; top: 50%; left: 50%; z-index: 100; pointer-events: none;
  transform: translate(-50%, -50%); opacity: 0; transition: opacity .3s;
}
#toast.show { opacity: 1; }
#toast > div {
  display: flex; align-items: center; gap: 12px; padding: 16px 30px; border-radius: 24px;
  background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 17px;
  border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 0 50px rgba(0, 219, 231, .3);
  transform: scale(.9); transition: transform .3s;
}
#toast.show > div { transform: scale(1); }

/* ── Notice ──────────────────────────────────────────────────────────────── */

.notice {
  max-width: 640px; margin: 0 auto; padding: 22px 26px; border-radius: 18px;
  background: rgba(255, 198, 92, .08); border: 1px solid rgba(255, 198, 92, .3);
  color: #ffc65c; text-align: center;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 48px 0 60px; }
  .pay-card { padding: 28px 20px; border-radius: 28px; }
  section { padding: 56px 0; }
  .head { margin-bottom: 40px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
