:root {
  --ink: #071027;
  --muted: #536079;
  --line: rgba(15, 42, 84, 0.12);
  --blue: #115cff;
  --cyan: #43e3ff;
  --violet: #7a5cff;
  --surface: #f5f8ff;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-geist-sans), "PingFang SC", "Hiragino Sans", "Noto Sans KR", Arial, sans-serif;
}
button, select, input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  height: 68px;
  padding: 0 14px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background: rgba(7, 16, 39, .72);
  box-shadow: 0 18px 60px rgba(0,0,0,.18);
  backdrop-filter: blur(22px);
}
.brand, .modal-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  font-weight: 760;
  letter-spacing: -.04em;
  font-size: 19px;
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(145deg, #7a5cff, #23cfff);
  color: white;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: -.06em;
  box-shadow: inset 0 1px rgba(255,255,255,.5), 0 7px 18px rgba(56, 132, 255, .32);
}
.desktop-nav { display: flex; gap: 6px; }
.desktop-nav button, .text-button {
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.78);
  padding: 10px 13px;
  cursor: pointer;
  border-radius: 10px;
  transition: .2s ease;
  font-size: 14px;
}
.desktop-nav button:hover, .text-button:hover { color: white; background: rgba(255,255,255,.08); }
.header-actions { display: flex; align-items: center; gap: 6px; }
.language-picker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.8);
  border-right: 1px solid rgba(255,255,255,.14);
  padding-right: 10px;
  margin-right: 2px;
}
.language-picker select {
  color: white;
  background: transparent;
  border: 0;
  outline: 0;
  cursor: pointer;
  font-size: 13px;
  max-width: 76px;
}
.language-picker option { color: var(--ink); }
.pill-button {
  border: 0;
  border-radius: 999px;
  padding: 15px 22px;
  font-weight: 720;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.pill-button:hover { transform: translateY(-2px); }
.pill-button.small { padding: 11px 18px; background: white; color: var(--ink); font-size: 14px; }
.pill-button.primary {
  background: linear-gradient(135deg, #416dff, #7a5cff);
  color: white;
  box-shadow: 0 14px 34px rgba(57, 91, 246, .28);
}
.pill-button.secondary { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); color: white; }

.hero {
  min-height: 760px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .86fr);
  align-items: center;
  gap: 5vw;
  padding: 138px max(6vw, calc((100vw - 1180px)/2)) 78px;
  color: white;
  background:
    radial-gradient(circle at 70% 46%, rgba(37, 178, 255, .18), transparent 26%),
    radial-gradient(circle at 30% 20%, rgba(102, 70, 255, .17), transparent 32%),
    linear-gradient(135deg, #060b1b 0%, #0a1533 52%, #07142a 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}
.hero-glow { position: absolute; width: 280px; height: 280px; border-radius: 50%; filter: blur(90px); opacity: .25; }
.glow-one { background: #6448ff; left: -100px; top: 180px; }
.glow-two { background: #0bd9ff; right: -100px; bottom: 0; }
.hero-copy { position: relative; z-index: 2; max-width: 650px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #aebcff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-weight: 700;
}
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 15px var(--cyan); }
.hero h1 {
  font-size: clamp(52px, 6.2vw, 94px);
  line-height: .98;
  letter-spacing: -.066em;
  max-width: 780px;
  margin: 28px 0 26px;
  text-wrap: balance;
}
.hero-subhead { max-width: 590px; color: #b8c2d8; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.65; margin: 0; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.disclaimer { max-width: 560px; color: #7785a4; font-size: 11px; line-height: 1.6; margin-top: 22px; }

.coin-stage { position: relative; z-index: 1; min-height: 510px; display: grid; place-items: center; perspective: 1000px; }
.coin-shell {
  width: min(370px, 32vw);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 17px;
  background: linear-gradient(135deg, #6cf1ff 0%, #345cff 28%, #8e60ff 60%, #0d3cff 100%);
  box-shadow: 0 0 0 2px rgba(255,255,255,.16), 0 0 70px rgba(64, 111, 255, .52), 0 55px 90px rgba(0,0,0,.5), inset -20px -20px 50px rgba(3, 5, 35, .45);
  transform: rotateY(-13deg) rotateX(7deg);
  animation: hoverCoin 5s ease-in-out infinite;
}
.coin-ring { width: 100%; height: 100%; padding: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.34); background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.16) 0 2deg, transparent 2deg 13deg); }
.coin-face { width: 100%; height: 100%; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.22); background: radial-gradient(circle at 36% 25%, #4d7cff, #151d78 52%, #070b32 100%); box-shadow: inset 12px 15px 35px rgba(255,255,255,.11), inset -15px -20px 38px rgba(0,0,0,.48); }
.coin-ai { font-size: clamp(72px, 8vw, 118px); font-weight: 920; letter-spacing: -.12em; padding-right: .1em; text-shadow: 0 5px 28px rgba(31, 227, 255, .55); }
.coin-dots { color: #62e5ff; letter-spacing: .4em; font-size: 8px; margin-top: 10px; }
.coin-shadow { position: absolute; width: 65%; height: 15%; border-radius: 50%; background: #000; filter: blur(28px); opacity: .58; bottom: 4%; }
.orbit { position: absolute; width: 105%; height: 43%; border: 1px solid rgba(82, 217, 255, .22); border-radius: 50%; transform: rotate(-18deg); }
.orbit-two { transform: rotate(68deg); width: 80%; height: 70%; border-color: rgba(133, 100, 255, .25); }
.orbit span { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); left: 8%; top: 45%; }
.orbit-two span { background: var(--violet); left: 84%; top: 68%; }
.network-card, .coin-label-card {
  position: absolute;
  padding: 15px 17px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(16, 30, 66, .68);
  box-shadow: 0 16px 36px rgba(0,0,0,.28);
  backdrop-filter: blur(14px);
}
.network-card { top: 15%; right: -3%; min-width: 170px; }
.status-line { color: #8997b5; text-transform: uppercase; font-size: 9px; letter-spacing: .1em; display: flex; align-items: center; gap: 7px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #48efa8; box-shadow: 0 0 10px #48efa8; }
.network-card strong { display: block; font-size: 13px; margin: 8px 0 10px; }
.micro-bars { display: flex; align-items: end; gap: 4px; height: 22px; }
.micro-bars i { flex: 1; height: 38%; border-radius: 2px; background: linear-gradient(to top, #5b65ff, #4ce5ff); }
.micro-bars i:nth-child(2), .micro-bars i:nth-child(6) { height: 75%; }
.micro-bars i:nth-child(3) { height: 52%; }
.micro-bars i:nth-child(4) { height: 96%; }
.micro-bars i:nth-child(5) { height: 65%; }
.coin-label-card { left: -2%; bottom: 16%; display: flex; flex-direction: column; }
.coin-label-card span { font-size: 17px; font-weight: 780; }
.coin-label-card small { color: #8fa0bf; margin-top: 4px; }

.feature-section { padding: 110px max(6vw, calc((100vw - 1180px)/2)); background: #fff; }
.section-heading span { color: var(--blue); font-weight: 760; font-size: 12px; letter-spacing: .14em; }
.section-heading h2 { font-size: clamp(38px, 5vw, 68px); letter-spacing: -.055em; line-height: 1.02; margin: 18px 0 54px; max-width: 700px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card {
  position: relative;
  text-align: left;
  min-height: 330px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #e5eaf4;
  border-radius: 25px;
  background: linear-gradient(150deg, #fff, #f4f7ff);
  color: var(--ink);
  cursor: pointer;
  overflow: hidden;
  transition: .28s ease;
}
.feature-card::after { content: ""; position: absolute; width: 170px; height: 170px; right: -65px; top: -65px; border-radius: 50%; background: #dce5ff; filter: blur(3px); opacity: .55; }
.feature-card:hover { transform: translateY(-6px); border-color: #c7d3f7; box-shadow: 0 24px 60px rgba(18, 45, 98, .1); }
.feature-icon { position: relative; z-index: 1; width: 70px; height: 70px; border-radius: 21px; display: grid; place-items: center; font-weight: 850; color: white; background: linear-gradient(135deg, #135cff, #7459ff); box-shadow: 0 14px 35px rgba(41, 87, 232, .25); }
.icon-2 { background: linear-gradient(135deg, #04b3d0, #155cff); font-size: 26px; }
.icon-3 { background: linear-gradient(135deg, #7b5cff, #c34dff); }
.feature-card h3 { font-size: 24px; letter-spacing: -.035em; margin: 0 0 12px; }
.feature-card p { color: var(--muted); line-height: 1.62; margin: 0; max-width: 290px; }
.card-arrow { position: absolute; right: 26px; bottom: 28px; font-size: 21px; color: var(--blue); }

.cta-banner { margin: 0 max(4vw, calc((100vw - 1240px)/2)) 42px; padding: 54px 58px; min-height: 215px; border-radius: 30px; color: white; display: flex; align-items: center; justify-content: space-between; gap: 30px; background: radial-gradient(circle at 80% 10%, rgba(58,227,255,.35), transparent 28%), linear-gradient(125deg, #0e36a3, #4025b5 65%, #096a9d); box-shadow: 0 30px 70px rgba(25, 54, 139, .23); }
.cta-banner h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.045em; margin: 0 0 12px; }
.cta-banner p { color: #c7d3f5; margin: 0; }
.pill-button.light { background: white; color: #101b47; white-space: nowrap; }
footer { padding: 34px max(6vw, calc((100vw - 1180px)/2)) 48px; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: #7b869c; font-size: 11px; }
.footer-brand { color: var(--ink); }

.modal-backdrop { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(2, 6, 20, .78); backdrop-filter: blur(12px); animation: fadeIn .2s ease; }
.registration-modal { position: relative; width: min(470px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 34px; border: 1px solid rgba(255,255,255,.1); border-radius: 26px; background: linear-gradient(150deg, #111a36, #080f24); color: white; box-shadow: 0 35px 110px rgba(0,0,0,.55); animation: modalIn .25s ease; }
.modal-close { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; background: rgba(255,255,255,.06); color: white; font-size: 22px; cursor: pointer; }
.modal-brand { margin-bottom: 25px; }
.registration-modal h2 { font-size: 30px; letter-spacing: -.045em; margin: 0 0 24px; }
.modal-intro { color: #94a0bb; line-height: 1.5; margin: 0 0 22px; font-size: 13px; }
.registration-modal form { display: grid; gap: 15px; }
.registration-modal label { display: grid; gap: 7px; color: #c8d1e5; font-size: 12px; font-weight: 650; }
.registration-modal input { width: 100%; height: 48px; border: 1px solid rgba(255,255,255,.13); border-radius: 12px; outline: 0; padding: 0 14px; background: rgba(255,255,255,.055); color: white; transition: .2s ease; }
.registration-modal input:focus { border-color: #6f7eff; box-shadow: 0 0 0 3px rgba(93, 111, 255, .14); }
.registration-modal input::placeholder { color: #68738d; }
.captcha-row { display: grid; grid-template-columns: 1fr 138px; gap: 10px; }
.captcha-code {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(102,226,255,.3);
  border-radius: 12px;
  color: #d8faff;
  background:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,.32) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 75%, rgba(72,227,255,.34) 0 1px, transparent 2px),
    radial-gradient(circle at 84% 20%, rgba(166,115,255,.4) 0 1px, transparent 2px),
    repeating-linear-gradient(113deg, rgba(55,89,202,.28) 0 4px, rgba(95,54,184,.16) 4px 9px),
    #101942;
  background-size: 13px 11px, 17px 15px, 19px 14px, auto, auto;
  font-family: var(--font-geist-mono), monospace;
  cursor: pointer;
  padding: 0;
  min-height: 48px;
  box-shadow: inset 0 0 20px rgba(43, 90, 203, .35);
}
.captcha-canvas { width: 100%; height: 46px; display: block; filter: contrast(1.18) saturate(.9); }
.form-submit { height: 50px; border: 0; border-radius: 999px; color: white; background: linear-gradient(135deg, #386bff, #7959ff); font-weight: 760; display: flex; justify-content: center; align-items: center; gap: 14px; cursor: pointer; margin-top: 4px; }
.form-message { border-radius: 10px; padding: 10px 12px; font-size: 12px; line-height: 1.5; }
.form-message.error { background: rgba(255,76,106,.11); color: #ff9bad; border: 1px solid rgba(255,76,106,.2); }
.form-message.success { background: rgba(72,239,168,.1); color: #83f4c2; border: 1px solid rgba(72,239,168,.2); }
.terms-note { color: #66738e; font-size: 10px; line-height: 1.55; text-align: center; margin: 17px 12px 0; }

@keyframes hoverCoin { 0%,100% { transform: rotateY(-13deg) rotateX(7deg) translateY(0); } 50% { transform: rotateY(-8deg) rotateX(4deg) translateY(-14px); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 145px; text-align: center; }
  .hero-copy { margin: 0 auto; }
  .eyebrow, .hero-actions { justify-content: center; }
  .hero-subhead, .disclaimer { margin-left: auto; margin-right: auto; }
  .coin-stage { min-height: 440px; }
  .coin-shell { width: min(350px, 62vw); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 250px; }
}
@media (max-width: 640px) {
  .site-header { top: 10px; width: calc(100% - 20px); height: 60px; padding: 0 10px 0 14px; border-radius: 18px; }
  .brand { font-size: 16px; }
  .brand-mark { width: 31px; height: 31px; }
  .desktop-only { display: none; }
  .language-picker { border: 0; padding: 0; margin: 0; }
  .language-picker span { display: none; }
  .language-picker select { max-width: 65px; }
  .pill-button.small { padding: 9px 13px; font-size: 12px; }
  .hero { min-height: auto; padding: 124px 20px 55px; gap: 12px; }
  .hero h1 { font-size: clamp(46px, 14vw, 66px); margin-top: 23px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .pill-button { width: 100%; }
  .coin-stage { min-height: 370px; }
  .coin-shell { width: 255px; }
  .network-card { top: 11%; right: 0; transform: scale(.8); transform-origin: right; }
  .coin-label-card { left: 0; bottom: 12%; transform: scale(.84); transform-origin: left; }
  .feature-section { padding: 78px 20px; }
  .section-heading h2 { margin-bottom: 34px; }
  .feature-card { min-height: 240px; padding: 23px; }
  .cta-banner { margin: 0 14px 28px; padding: 35px 25px; min-height: 260px; flex-direction: column; align-items: flex-start; }
  footer { padding: 26px 20px 40px; flex-direction: column; align-items: flex-start; }
  .registration-modal { padding: 28px 20px 22px; border-radius: 22px; }
  .captcha-row { grid-template-columns: 1fr 115px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
