:root{
  --bg:#050507;
  --panel:#0b0c10;
  --text:#f5f5f7;
  --muted:rgba(255,255,255,.65);
  --line:rgba(255,255,255,.08);
  --grad: linear-gradient(90deg, #ff9a2e 0%, #ff4d6d 45%, #c77dff 100%);
  --grad2: linear-gradient(90deg, #ff9a2e 0%, #ff4d6d 55%, #ffb703 100%);
  --shadow: 0 22px 60px rgba(0,0,0,.55);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

a{color:inherit; text-decoration:none}
.container{width:min(1100px, 92vw); margin:0 auto}

.bg-glow{
  position:fixed; inset:-40vh -30vw auto -30vw;
  height:80vh;
  background:
    radial-gradient(closest-side, rgba(255,154,46,.18), transparent 70%),
    radial-gradient(closest-side, rgba(199,125,255,.14), transparent 70%),
    radial-gradient(closest-side, rgba(255,77,109,.14), transparent 70%);
  filter: blur(24px);
  pointer-events:none;
  z-index:-1;
}

/* Topbar */
.topbar{
  position:sticky; top:0;
  backdrop-filter: blur(10px);
  background: rgba(5,5,7,.55);
  border-bottom:1px solid var(--line);
  z-index:20;
}
.topbar .container{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{display:flex; align-items:center; gap:10px}
.logo{
  width:38px; height:38px;
  display:grid; place-items:center;
  background:rgba(255,255,255,.06);
  border:1px solid var(--line);
  border-radius:12px;
}
.brandname{font-weight:900; letter-spacing:.2px}
.brandsub{font-size:12px; opacity:.65; margin-top:2px}
.nav{display:flex; align-items:center; gap:18px; font-size:14px; opacity:.9}
.nav a{opacity:.78}
.nav a:hover{opacity:1}
.nav-cta{
  padding:10px 14px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.06);
}
.nav-cta:hover{background:rgba(255,255,255,.09)}

/* Typography helpers */
.grad{
  background:var(--grad);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.grad2{
  background:var(--grad2);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.muted{opacity:.6}

/* Buttons */
.btn-primary{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:18px 26px;
  border-radius:999px;
  background: linear-gradient(90deg, #ff9a2e, #ff4d6d);
  color:#fff;
  font-weight:900;
  border:none;
  box-shadow: 0 18px 48px rgba(255,77,109,.22);
}
.btn-primary:hover{transform: translateY(-1px)}
.btn-ghost{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  font-weight:800;
}
.btn-ghost:hover{background: rgba(255,255,255,.09)}
.btn-full{width:100%}
.arrow{font-weight:900}

/* Sections */
.section{padding:44px 0}
.section-title{
  text-align:center;
  margin:0;
  font-size: clamp(22px, 3vw, 34px);
  font-weight:950;
}
.section-sub{
  text-align:center;
  margin:10px 0 0;
  color:var(--muted);
  font-size:13px;
}

/* Alerts */
.alert{
  margin-top:16px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  border-radius:14px;
  padding:14px 14px;
  color: rgba(255,255,255,.9);
}
.alert.ok{border-color: rgba(80,255,160,.18)}
.alert ul{margin:8px 0 0; padding-left:18px}
.alert li{margin:4px 0}

/* Forms */
.form-section-title{
  margin-top:16px;
  font-weight:900;
  color: rgba(255,255,255,.86);
  text-align:center;
  font-size:13px;
  letter-spacing:.2px;
}
.divider{
  margin:18px 0;
  height:1px;
  background: rgba(255,255,255,.08);
}
.field{display:flex; flex-direction:column; gap:8px; margin-top:12px}
label{font-size:12.5px; color:rgba(255,255,255,.78)}
.req{color:#ff6b6b}
input,select,textarea{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color: var(--text);
  outline:none;
}
input::placeholder, textarea::placeholder{color: rgba(255,255,255,.35)}
textarea{resize:vertical}
.grid2{display:grid; grid-template-columns:1fr 1fr; gap:14px}
.grid3{display:grid; grid-template-columns:1fr 1fr 1fr; gap:14px}
.fine{margin:12px 0 0; font-size:12px; color: rgba(255,255,255,.55); line-height:1.7}
.hp{position:absolute; left:-9999px; width:1px; height:1px}

/* Tables / chips */
.tablewrap{margin-top:10px; overflow:auto}
.table{
  width:100%;
  border-collapse:collapse;
  min-width: 720px;
}
.table th,.table td{
  padding:12px 10px;
  border-bottom:1px solid rgba(255,255,255,.08);
  vertical-align:top;
  font-size:13px;
}
.table th{opacity:.7; font-weight:800}
.table td.num,.table th.num{text-align:right}

.chip{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  font-size:12px;
  font-weight:900;
}
.chip.ok{border-color: rgba(80,255,160,.22); background: rgba(80,255,160,.08)}
.chip.hold{border-color: rgba(255,194,0,.22); background: rgba(255,194,0,.08)}

/* Footer */
.footer{padding:26px 0}
.footline{height:1px; background: rgba(255,255,255,.08); margin-bottom:12px}
.footcopy{font-size:12px; color: rgba(255,255,255,.55); text-align:center}

/* Responsive */
@media (max-width: 980px){
  .grid2{grid-template-columns:1fr}
  .grid3{grid-template-columns:1fr}
  .nav{gap:12px}
}