/* Desain 1 · FOUNDRY — pabrik gelap, oranye panas + ungu neon */
:root {
  --bg: #07060c; --fg: #f6f2ff; --muted: #9c95b8; --line: rgba(190,170,255,.14); --card: rgba(255,255,255,.045);
  --accent: #ff6b2c; --accent2: #9b5cff; --ok: #41f0a0; --radius: 16px; --modal-bg: rgba(16,12,26,.96);
}
#stage { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; }
.vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 70% 40%, transparent 40%, rgba(7,6,12,.75) 100%), linear-gradient(90deg, rgba(7,6,12,.85) 0%, rgba(7,6,12,.2) 50%, transparent 70%); }
main, .top, .foot { position: relative; z-index: 2; }

/* header */
.top { position: fixed; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 30px; padding: 18px 36px; z-index: 50;
  background: linear-gradient(rgba(7,6,12,.8), transparent); }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; letter-spacing: .14em; text-decoration: none; font-size: 15px; }
.logo-mark { width: 22px; height: 22px; border-radius: 6px; background: conic-gradient(from 45deg, var(--accent), var(--accent2), var(--accent)); box-shadow: 0 0 18px var(--accent); position: relative; }
.logo-mark::after { content: ''; position: absolute; inset: 6px; border-radius: 2px; background: var(--bg); }
.top nav { display: flex; gap: 26px; margin-left: auto; font-size: 14px; }
.top nav a { text-decoration: none; color: var(--muted); transition: color .2s; }
.top nav a:hover { color: var(--fg); }
.btn-top { text-decoration: none; font-weight: 600; font-size: 14px; padding: 10px 18px; border-radius: 999px; background: var(--fg); color: var(--bg); }
@media (max-width: 900px) { .top nav { display: none; } .top { padding: 14px 18px; } .btn-top { margin-left: auto; } }

/* hero */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 120px 6vw 150px; position: relative; pointer-events: none; }
.hero-copy { max-width: 640px; pointer-events: auto; }
.hero-meta { font-size: 11px; letter-spacing: .18em; color: var(--muted); display: flex; align-items: center; gap: 10px; margin-bottom: 26px; flex-wrap: wrap; }
.hero-meta .tag { color: var(--accent); }
.led { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); display: inline-block; animation: blink 1.6s infinite; margin-right: 6px; vertical-align: 1px; }
@keyframes blink { 50% { opacity: .3; } }
h1 { font-family: var(--font-display); font-size: clamp(48px, 7.4vw, 108px); line-height: .92; letter-spacing: -.045em; margin: 0 0 24px; font-weight: 700; }
.grad { background: linear-gradient(100deg, #ffb36b, var(--accent) 40%, #ff3d7f 70%, var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 30px rgba(255,107,44,.35)); }
.lead { font-size: 18px; color: #cfc8e6; max-width: 520px; margin: 0 0 30px; }
.job { display: flex; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(20,14,34,.7); border: 1px solid var(--line); backdrop-filter: blur(14px); max-width: 600px;
  box-shadow: 0 0 0 1px rgba(255,107,44,.0), 0 20px 60px rgba(0,0,0,.5); transition: box-shadow .3s; }
.job:focus-within { box-shadow: 0 0 0 1px var(--accent), 0 0 40px rgba(255,107,44,.35); }
.job input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; padding: 0 18px; font-size: 16px; }
.job .nx-cta span { display: inline-block; transition: transform .2s; } .job .nx-cta:hover span { transform: translateX(4px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chips button { font-family: var(--font-mono); font-size: 12px; padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--muted); cursor: pointer; transition: .2s; }
.chips button:hover { color: var(--fg); border-color: var(--accent); background: rgba(255,107,44,.08); }
.hero-hint { position: absolute; right: 6vw; bottom: 130px; font-size: 10px; letter-spacing: .2em; color: var(--muted); }
.stats { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); background: rgba(7,6,12,.55); backdrop-filter: blur(10px); pointer-events: auto; }
.stats div { padding: 20px 6vw 22px; border-right: 1px solid var(--line); }
.stats div:last-child { border: 0; }
.stats small { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.stats b { font-family: var(--font-display); font-size: clamp(24px, 3vw, 40px); font-weight: 600; letter-spacing: -.02em; }
.stats .hot b { color: var(--accent); text-shadow: 0 0 24px rgba(255,107,44,.6); }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr 1fr; } .stats div { padding: 14px 18px; } .hero-hint { display: none; } }

/* sections */
.panel-wrap { padding: 16vh 6vw 6vh; max-width: 1320px; }
.sec-head { max-width: 640px; margin-bottom: 40px; }
.plate { font-size: 11px; letter-spacing: .2em; color: var(--accent); }
h2 { font-family: var(--font-display); font-size: clamp(36px, 4.6vw, 64px); line-height: 1; letter-spacing: -.035em; margin: 12px 0 18px; }
.sec-head p { color: #c5bedc; font-size: 17px; margin: 0; }
.panel { background: rgba(14,10,24,.72); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(18px); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); font-size: 11px; letter-spacing: .16em; color: var(--muted); flex-wrap: wrap; }
.panel-foot { padding: 14px 18px; font-size: 10px; letter-spacing: .2em; color: var(--muted); }
.sorts { display: flex; gap: 4px; }
.sorts button { font-family: var(--font-mono); font-size: 11px; padding: 5px 10px; border-radius: 6px; border: 1px solid transparent; background: none; color: var(--muted); cursor: pointer; }
.sorts button.on { border-color: var(--line); color: var(--fg); background: var(--card); }
.floor-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; }
.log ul { padding: 4px 18px 14px; }
@media (max-width: 1000px) { .floor-grid { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: rgba(14,10,24,.72); border: 1px solid var(--line); backdrop-filter: blur(16px); overflow: hidden; min-height: 330px; transition: transform .4s, border-color .4s; }
.step:hover { transform: translateY(-6px); border-color: rgba(255,107,44,.5); }
.step:nth-child(2) { transition-delay: .1s; } .step:nth-child(3) { transition-delay: .2s; }
.step i { font-style: normal; font-family: var(--font-mono); font-size: 12px; color: var(--accent); }
.step h3 { font-family: var(--font-display); font-size: 26px; margin: 10px 0 10px; letter-spacing: -.02em; }
.step p { color: var(--muted); margin: 0; }
.step-art { position: absolute; right: -20px; bottom: -20px; width: 160px; height: 160px; perspective: 400px; }
.step-art::before { content: ''; position: absolute; inset: 30px; border-radius: 18px; transform: rotateX(55deg) rotateZ(45deg); transform-style: preserve-3d;
  background: linear-gradient(135deg, rgba(255,107,44,.5), rgba(155,92,255,.4)); box-shadow: 0 0 60px rgba(255,107,44,.35), inset 0 0 0 1px rgba(255,255,255,.2); animation: float 5s ease-in-out infinite; }
.a2::before { border-radius: 50%; animation-delay: -1.5s; background: linear-gradient(135deg, rgba(155,92,255,.6), rgba(65,240,160,.35)); }
.a3::before { clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); border-radius: 0; animation-delay: -3s; }
@keyframes float { 50% { transform: rotateX(55deg) rotateZ(45deg) translateZ(30px); } }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } .step { min-height: 0; } }

.till { padding: 28px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.facts div { padding: 22px; border-left: 2px solid var(--accent); background: linear-gradient(90deg, rgba(255,107,44,.08), transparent); border-radius: 0 12px 12px 0; }
.facts h4 { font-family: var(--font-display); font-size: 19px; margin: 0 0 6px; }
.facts p { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr; } }

.status { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.status .panel { padding: 26px; }
.status h4 { font-size: 12px; letter-spacing: .18em; margin: 0 0 14px; }
.status .ok { color: var(--ok); } .status .no { color: var(--muted); }
.status ul { margin: 0; padding: 0; list-style: none; }
.status li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; display: flex; gap: 10px; }
.status .panel:first-child li::before { content: '▸'; color: var(--ok); }
.status .panel:last-child li { color: var(--muted); } .status .panel:last-child li::before { content: '▹'; }
.fine { font-size: 13px; color: var(--muted); margin-top: 16px; }
@media (max-width: 800px) { .status { grid-template-columns: 1fr; } }

.term { position: relative; border-radius: var(--radius); background: #05040a; border: 1px solid var(--line); overflow: hidden; max-width: 900px; box-shadow: 0 0 80px rgba(155,92,255,.15); }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a2440; } .term-bar i:first-child { background: var(--accent); }
.term-bar span { margin-left: 10px; font-size: 11px; color: var(--muted); }
.term pre { margin: 0; padding: 22px 20px; font-size: 14px; overflow-x: auto; white-space: pre; }
.term .p { color: var(--accent); } .term .c { color: var(--ok); opacity: .8; }
.copy { position: absolute; top: 8px; right: 10px; font-family: var(--font-mono); font-size: 12px; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); cursor: pointer; }

.token { display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding: 44px; align-items: center; overflow: hidden; }
.token p { color: #c5bedc; } .token b { color: var(--fg); }
.ca { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px dashed var(--line); border-radius: 12px; margin-bottom: 16px; }
.ca small { font-size: 10px; letter-spacing: .2em; color: var(--muted); }
.coin { width: 240px; height: 240px; margin: auto; perspective: 800px; }
.coin-face { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 54px; letter-spacing: .05em; color: #2a1200;
  background: radial-gradient(circle at 35% 30%, #ffe0b0, #ff9a3c 40%, #d9480f 75%, #7a1f00); box-shadow: inset 0 0 0 10px rgba(255,255,255,.18), inset 0 -20px 40px rgba(0,0,0,.35), 0 0 80px rgba(255,107,44,.55);
  animation: spinc 7s linear infinite; }
@keyframes spinc { to { transform: rotateY(360deg); } }
@media (max-width: 800px) { .token { grid-template-columns: 1fr; padding: 26px; } .coin { width: 160px; height: 160px; } }

.final { min-height: 70vh; display: grid; place-content: center; text-align: center; padding: 10vh 6vw; }
.final h2 { font-size: clamp(48px, 8vw, 120px); }
.nx-cta.big { font-size: 18px; padding: 18px 32px; text-decoration: none; justify-self: center; }

.foot { padding: 60px 6vw 40px; border-top: 1px solid var(--line); background: rgba(5,4,9,.9); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.news { display: flex; gap: 8px; }
.news input { flex: 1; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 12px 18px; outline: none; }
.news button { border: 0; border-radius: 999px; padding: 0 20px; background: var(--fg); color: var(--bg); font-weight: 600; cursor: pointer; }
.cols { display: flex; gap: 60px; }
.cols div { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.cols b { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; color: var(--muted); font-weight: 400; text-transform: uppercase; }
.cols a { text-decoration: none; color: #c5bedc; } .cols a:hover { color: var(--accent); }
.foot .nx-demo { grid-column: 1 / -1; margin: 0; }
@media (max-width: 800px) { .foot { grid-template-columns: minmax(0, 1fr); } .cols { flex-wrap: wrap; } .cols { gap: 30px; } }
