:root{
  --bg0:#07070a;
  --bg1:#0c0c12;
  --card:#0f1018cc;
  --stroke:#ffffff14;
  --stroke2:#ffffff22;
  --text:#f3f1ff;
  --muted:#c2bddb;
  --muted2:#a29cb8;
  --ink:#9b8bff;
  --ink2:#2ee6a6;
  --hot:#ff4d9a;
  --shadow:0 24px 80px rgba(0,0,0,.55);
  --radius:18px;
  --radius2:24px;
  --fontDisplay:"Hahmlet", serif;
  --fontBody:"Pretendard", ui-sans-serif, system-ui, -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  color:var(--text);
  background:radial-gradient(1200px 700px at 22% -20%, #22214a 0%, transparent 55%),
    radial-gradient(900px 600px at 96% 14%, #163f38 0%, transparent 52%),
    radial-gradient(1200px 900px at 65% 90%, #2b1638 0%, transparent 56%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  font-family:var(--fontBody);
  letter-spacing:-.2px;
  overflow-x:hidden;
}

.bg{position:fixed; inset:0; pointer-events:none; z-index:-1}
.bg-grid{
  position:absolute; inset:-2px;
  background:
    linear-gradient(to right, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size:84px 84px;
  mask-image:radial-gradient(700px 420px at 30% 20%, #000 0%, transparent 75%);
  opacity:.35;
  filter:blur(.3px);
}
.bg-glow{
  position:absolute; inset:-80px;
  background:
    radial-gradient(420px 220px at 20% 20%, rgba(155,139,255,.22), transparent 68%),
    radial-gradient(520px 320px at 92% 12%, rgba(46,230,166,.18), transparent 66%),
    radial-gradient(520px 360px at 68% 92%, rgba(255,77,154,.15), transparent 68%);
  filter:blur(18px);
  opacity:.9;
}
.bg-noise{
  position:absolute; inset:-2px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode:overlay;
  opacity:.14;
}

.topbar{
  position:sticky;
  top:0;
  z-index:20;
  backdrop-filter: blur(14px);
  background:linear-gradient(180deg, rgba(6,6,10,.78), rgba(6,6,10,.40));
  border-bottom:1px solid var(--stroke);
}
.topbar__inner{
  max-width:1180px;
  margin:0 auto;
  padding:14px 18px;
  display:flex;
  align-items:center;
  gap:14px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:var(--text);
}
.brand__mark{
  width:32px; height:32px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background:linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  border:1px solid var(--stroke);
  box-shadow:0 10px 40px rgba(155,139,255,.18);
  font-weight:800;
}
.brand__name{
  font-family:var(--fontDisplay);
  font-weight:800;
  letter-spacing:-.6px;
}
.brand--small .brand__mark{width:28px;height:28px;border-radius:9px}
.brand--small .brand__name{font-size:14px}

.nav{display:flex; gap:14px; margin-left:8px}
.nav__link{
  color:var(--muted);
  text-decoration:none;
  font-size:14px;
  padding:8px 10px;
  border-radius:12px;
  border:1px solid transparent;
  transition:transform .14s ease, background .14s ease, border-color .14s ease;
}
.nav__link:hover{
  background:rgba(255,255,255,.05);
  border-color:var(--stroke);
  transform:translateY(-1px);
  color:var(--text);
}
.topbar__cta{margin-left:auto}
.topbar__cta{margin-left:auto; display:flex; gap:10px; align-items:center}

.lang{
  border-radius:14px;
  padding:10px 12px;
  border:1px solid var(--stroke2);
  background:rgba(255,255,255,.05);
  color:rgba(255,255,255,.92);
  font-weight:750;
  letter-spacing:-.2px;
  outline:none;
  cursor:pointer;
  transition:transform .14s ease, box-shadow .14s ease, border-color .14s ease, background .14s ease;
}
.lang:hover{transform:translateY(-1px); border-color:rgba(255,255,255,.24); box-shadow:0 18px 50px rgba(0,0,0,.20)}
.lang:focus{border-color:rgba(155,139,255,.55); box-shadow:0 0 0 4px rgba(155,139,255,.14)}

.shell{max-width:1180px;margin:0 auto;padding:26px 18px 64px}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:14px;
  padding:12px 16px;
  border:1px solid var(--stroke2);
  background:rgba(255,255,255,.06);
  color:var(--text);
  text-decoration:none;
  font-weight:650;
  font-size:14px;
  cursor:pointer;
  transition:transform .14s ease, box-shadow .14s ease, border-color .14s ease, background .14s ease;
}
.btn:hover{transform:translateY(-1px); border-color:rgba(255,255,255,.24); box-shadow:0 18px 50px rgba(0,0,0,.22)}
.btn:active{transform:translateY(0px) scale(.99)}
.btn--primary{
  border-color:rgba(155,139,255,.55);
  background:
    radial-gradient(120px 80px at 25% 10%, rgba(255,255,255,.26), transparent 60%),
    linear-gradient(135deg, rgba(155,139,255,.95), rgba(46,230,166,.84));
  color:#07070a;
  box-shadow:0 24px 70px rgba(155,139,255,.25);
}
.btn--primary:hover{box-shadow:0 28px 90px rgba(155,139,255,.30)}
.btn--ghost{background:rgba(255,255,255,.04)}

.hero{
  display:grid;
  grid-template-columns: 1.08fr .92fr;
  gap:22px;
  align-items:stretch;
  padding:26px 0 12px;
}
.kicker{display:flex;gap:8px;flex-wrap:wrap}
.kicker__pill{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid var(--stroke);
  color:var(--text);
}
.kicker__pill--muted{color:var(--muted); background:rgba(255,255,255,.04)}
.hero__title{
  margin:14px 0 10px;
  font-family:var(--fontDisplay);
  font-weight:800;
  line-height:1.06;
  letter-spacing:-1.4px;
  font-size:54px;
}
.u-ink{
  background:linear-gradient(90deg, var(--ink), var(--ink2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.hero__desc{
  margin:0;
  max-width:42ch;
  color:var(--muted);
  font-size:16px;
  line-height:1.65;
}
.hero__actions{display:flex; gap:10px; margin-top:18px; flex-wrap:wrap}
.hero__foot{
  margin-top:18px;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}
.stat{
  min-width:120px;
  padding:12px 12px;
  border-radius:16px;
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.04);
}
.stat__value{
  font-weight:800;
  font-family:var(--fontDisplay);
  letter-spacing:-.6px;
  font-size:18px;
}
.stat__label{margin-top:4px; font-size:12px; color:var(--muted2)}

.panel{
  border-radius:var(--radius2);
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  box-shadow:var(--shadow);
  overflow:hidden;
}
.panel__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 16px 12px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.panel__title{font-weight:800; letter-spacing:-.6px}
.panel__chips{display:flex; gap:8px}
.chip{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.16);
}
.chip--muted{color:var(--muted)}
.panel__body{padding:14px 16px 16px}
.panel__note{margin-top:12px; color:var(--muted); font-size:13px; line-height:1.5}

.mini{display:flex; flex-direction:column; gap:12px}
.mini__row{display:flex; gap:10px; align-items:flex-end}
.mini__row--right{justify-content:flex-end}
.mini__avatar{
  width:28px; height:28px; border-radius:9px;
  border:1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(12px 10px at 30% 30%, rgba(255,255,255,.35), transparent 60%),
    linear-gradient(140deg, rgba(155,139,255,.45), rgba(46,230,166,.16));
}
.mini__bubble{
  max-width:82%;
  padding:12px 12px 10px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(9,9,14,.50);
  font-size:14px;
  line-height:1.45;
  position:relative;
}
.mini__bubble--incoming{border-top-left-radius:10px}
.mini__bubble--outgoing{
  border-top-right-radius:10px;
  background:linear-gradient(135deg, rgba(155,139,255,.28), rgba(46,230,166,.16));
}
.mini__time{margin-top:6px; font-size:11px; color:rgba(255,255,255,.58)}

.section{padding:42px 0}
.section__head{display:flex; align-items:flex-end; justify-content:space-between; gap:14px; flex-wrap:wrap}
.section__title{
  margin:0;
  font-family:var(--fontDisplay);
  font-size:30px;
  letter-spacing:-.9px;
}
.section__desc{margin:0; color:var(--muted); line-height:1.6}

.grid{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:12px;
}
.card{
  padding:16px 16px 14px;
  border-radius:var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  transition:transform .16s ease, border-color .16s ease, background .16s ease;
}
.card:hover{transform:translateY(-3px); border-color:rgba(255,255,255,.18); background:rgba(255,255,255,.05)}
.card__title{margin:0 0 8px; font-weight:850; letter-spacing:-.6px}
.card__desc{margin:0; color:var(--muted); line-height:1.6; font-size:14px}
.card__meta{margin-top:12px; font-size:12px; color:rgba(255,255,255,.62)}

.pricing{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:12px;
}
.price{
  border-radius:var(--radius2);
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  padding:16px;
  position:relative;
  overflow:hidden;
}
.price--featured{
  border-color:rgba(155,139,255,.38);
  background:
    radial-gradient(260px 160px at 30% 10%, rgba(155,139,255,.22), transparent 66%),
    radial-gradient(260px 180px at 90% 22%, rgba(46,230,166,.12), transparent 64%),
    rgba(255,255,255,.04);
}
.price__tag{
  display:inline-flex;
  gap:8px;
  align-items:center;
  font-weight:800;
  letter-spacing:-.3px;
  color:rgba(255,255,255,.86);
}
.price__value{
  margin-top:12px;
  font-family:var(--fontDisplay);
  font-weight:800;
  letter-spacing:-1px;
  font-size:36px;
}
.price__unit{font-family:var(--fontBody); font-weight:700; font-size:14px; color:rgba(255,255,255,.72); margin-left:6px}
.price__list{margin:14px 0 16px; padding:0; list-style:none; color:var(--muted); display:flex; flex-direction:column; gap:10px}
.price__list li{position:relative; padding-left:18px}
.price__list li::before{
  content:"";
  position:absolute;
  left:0; top:10px;
  width:8px; height:8px;
  border-radius:999px;
  background:linear-gradient(180deg, var(--ink), var(--ink2));
  box-shadow:0 10px 30px rgba(155,139,255,.25);
}
.price__btn{width:100%}

.section--console{padding-bottom:64px}
.console{
  border-radius:28px;
  border:1px solid rgba(255,255,255,.10);
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow:var(--shadow);
  padding:18px;
}
.console__head{padding:2px 6px 10px}
.console__layout{
  margin-top:12px;
  display:grid;
  grid-template-columns: 380px 1fr;
  gap:12px;
}
.box{
  border-radius:22px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.18);
  padding:14px;
}
.box--signed{background:linear-gradient(180deg, rgba(155,139,255,.12), rgba(0,0,0,.18))}
.box__title{font-weight:900; letter-spacing:-.6px; margin-bottom:10px}
.box__row{display:flex; flex-direction:column; gap:8px}
.box__hint{margin-top:10px; font-size:12px; color:rgba(255,255,255,.62); line-height:1.55}
.box__actions{margin-top:12px; display:flex}

.label{font-size:12px; color:rgba(255,255,255,.72); font-weight:700}
.input{
  width:100%;
  border-radius:14px;
  padding:11px 12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  color:var(--text);
  outline:none;
  font-size:14px;
  transition:border-color .14s ease, box-shadow .14s ease, background .14s ease;
}
.input:focus{
  border-color:rgba(155,139,255,.55);
  box-shadow:0 0 0 4px rgba(155,139,255,.14);
  background:rgba(255,255,255,.07);
}

.tabs{display:flex; gap:8px; margin-bottom:12px}
.tab{
  flex:1;
  padding:10px 10px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.74);
  font-weight:800;
  cursor:pointer;
  transition:background .14s ease, border-color .14s ease, transform .14s ease;
}
.tab:hover{transform:translateY(-1px); border-color:rgba(255,255,255,.18)}
.tab--active{
  background:linear-gradient(135deg, rgba(155,139,255,.35), rgba(46,230,166,.12));
  border-color:rgba(155,139,255,.35);
  color:var(--text);
}
.form{display:none; gap:10px}
.form--active{display:flex; flex-direction:column}
.form__row{display:flex; flex-direction:column; gap:8px}
.auth__forgot{
  margin-top:6px;
  align-self:flex-end;
  border:none;
  background:transparent;
  padding:6px 0;
  font-size:12px;
  color:rgba(255,255,255,.66);
  cursor:pointer;
  text-decoration:underline;
  text-underline-offset:3px;
  text-decoration-color:rgba(255,255,255,.28);
}
.auth__forgot:hover{color:rgba(255,255,255,.86); text-decoration-color:rgba(255,255,255,.45)}

.modal[hidden]{display:none}
.modal{position:fixed; inset:0; z-index:50; display:grid; place-items:center}
.modal__backdrop{position:absolute; inset:0; background:rgba(0,0,0,.62); backdrop-filter: blur(10px)}
.modal__panel{
  position:relative;
  width:min(520px, calc(100vw - 24px));
  border-radius:22px;
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  box-shadow:var(--shadow);
  overflow:hidden;
}
.modal__head{
  padding:14px 14px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.modal__title{font-weight:950; letter-spacing:-.6px}
.modal__x{
  width:34px; height:34px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.18);
  color:rgba(255,255,255,.88);
  cursor:pointer;
  font-size:18px;
  line-height:1;
}
.modal__x:hover{background:rgba(255,255,255,.05); border-color:rgba(255,255,255,.22)}
.modal__body{padding:14px}
.modal__desc{margin-bottom:12px; color:rgba(255,255,255,.66); font-size:13px; line-height:1.6}
.modal__cta{width:100%; margin-top:10px}

.profile{display:flex; align-items:center; gap:10px}
.profile__dot{
  width:12px; height:12px; border-radius:999px;
  background:linear-gradient(180deg, var(--ink2), var(--ink));
  box-shadow:0 10px 30px rgba(46,230,166,.20);
}
.profile__email{font-weight:900; letter-spacing:-.4px}
.profile__sub{font-size:12px; color:rgba(255,255,255,.64); margin-top:2px}

.console__chatCta{
  width:100%;
  margin:1em 0;
  padding:14px 16px;
  border-radius:18px;
  font-weight:850;
  letter-spacing:-.4px;
  font-size:15px;
  justify-content:space-between;
}
.console__chatCta::after{
  content:"↗";
  font-size:14px;
  opacity:.92;
}

.pane{
  border-radius:22px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.14);
  overflow:hidden;
}
.pane__head{
  padding:14px 14px 12px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.pane__title{font-weight:950; letter-spacing:-.6px}
.pane__hint{margin-top:4px; font-size:12px; color:rgba(255,255,255,.62); line-height:1.55}
.pane__body{padding:14px}

.inline{display:flex; gap:10px; flex-wrap:wrap}
.inline .input{flex:1; min-width:190px}
.list{margin-top:14px; display:flex; flex-direction:column; gap:10px}
.row{
  padding:12px 12px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
}
.row__top{display:flex; align-items:flex-start; justify-content:space-between; gap:10px}
.row__title{font-weight:900; letter-spacing:-.5px}
.row__sub{margin-top:4px; color:rgba(255,255,255,.62); font-size:12px}
.row__actions{display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end}
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border-radius:999px;
  padding:8px 10px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.18);
  font-size:12px;
}
.mono{
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  letter-spacing:-.1px;
}
.code{
  margin-top:10px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.26);
  padding:12px;
  font-size:12px;
  line-height:1.55;
  overflow:auto;
}

.empty{
  border-radius:18px;
  border:1px dashed rgba(255,255,255,.16);
  background:rgba(255,255,255,.03);
  padding:14px;
}
.empty__title{font-weight:900; letter-spacing:-.5px}
.empty__desc{margin-top:6px; color:rgba(255,255,255,.62); font-size:13px; line-height:1.6}

.billing{display:grid; grid-template-columns:repeat(3, 1fr); gap:10px}
.bill{
  text-align:left;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  padding:12px 12px;
  color:var(--text);
  cursor:pointer;
  transition:transform .14s ease, border-color .14s ease, background .14s ease;
}
.bill:hover{transform:translateY(-2px); border-color:rgba(255,255,255,.18); background:rgba(255,255,255,.05)}
.bill__name{font-weight:950; letter-spacing:-.5px}
.bill__desc{margin-top:4px; color:rgba(255,255,255,.62); font-size:12px; line-height:1.5}
.bill--hot{
  border-color:rgba(255,77,154,.32);
  background:
    radial-gradient(240px 140px at 20% 10%, rgba(255,77,154,.18), transparent 68%),
    rgba(255,255,255,.04);
}

.footer{
  border-top:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.18);
  backdrop-filter: blur(12px);
}
.footer__inner{
  max-width:1180px;
  margin:0 auto;
  padding:18px 18px;
  display:flex;
  gap:16px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}
.footer__copy{
  margin-top:7px;
  color:rgba(255,255,255,.62);
  font-size:12px;
  display:grid;
  gap:10px;
}
.footer__addr{max-width:62ch; line-height:1.6}
.footer__chips{display:flex; flex-wrap:wrap; gap:8px 8px}
.footer__chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.78);
  text-decoration:none;
  letter-spacing:-.15px;
  transition:transform .14s ease, background .14s ease, border-color .14s ease, box-shadow .14s ease;
}
.footer__chip:hover{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
  box-shadow:0 14px 40px rgba(0,0,0,.22);
  color:rgba(255,255,255,.90);
}
.footer__chip:focus{outline:none; border-color:rgba(155,139,255,.55); box-shadow:0 0 0 4px rgba(155,139,255,.14)}
.footer__chipSep{opacity:.55}
.footer__chip--muted{opacity:.85}
.footer__right{display:flex; gap:12px}
.footer__link{color:rgba(255,255,255,.66); text-decoration:none; font-size:13px}
.footer__link:hover{color:var(--text)}

.toast{
  position:fixed;
  bottom:18px;
  left:50%;
  transform:translateX(-50%);
  max-width:min(560px, calc(100vw - 24px));
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(0,0,0,.60);
  backdrop-filter: blur(14px);
  color:rgba(255,255,255,.92);
  box-shadow:0 18px 70px rgba(0,0,0,.48);
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease, transform .18s ease;
}
.toast--show{opacity:1; transform:translateX(-50%) translateY(-2px)}
.toast--warn{border-color:rgba(255,77,154,.40)}
.toast--ok{border-color:rgba(46,230,166,.40)}

@media (max-width: 1020px){
  .hero{grid-template-columns:1fr; gap:14px}
  .hero__title{font-size:46px}
  .grid{grid-template-columns:repeat(2, 1fr)}
  .pricing{grid-template-columns:1fr}
  .console__layout{grid-template-columns:1fr}
  .billing{grid-template-columns:1fr}
}
@media (max-width: 520px){
  .hero__title{font-size:38px}
  .nav{display:none}
  .btn{width:100%}
  .hero__actions{width:100%}
  .inline .input{min-width:100%}
}
