:root {
  --bg: #06101d;
  --bg-soft: #0a1726;
  --panel: rgba(15, 31, 50, 0.78);
  --panel-solid: #0f1f32;
  --line: rgba(157, 184, 211, 0.18);
  --text: #eef6ff;
  --muted: #a5b7c9;
  --accent: #59e0c0;
  --accent-2: #6b7cff;
  --accent-3: #b182ff;
  --danger: #ff8d9a;
  --warning: #ffd27a;
  --success: #69e7a4;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  --radius: 22px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 4%, rgba(71, 112, 255, .18), transparent 27rem),
    radial-gradient(circle at 85% 18%, rgba(61, 225, 188, .12), transparent 25rem),
    linear-gradient(180deg, #06101d 0%, #071220 48%, #050c16 100%);
  font-family: Inter, "Noto Sans KR", system-ui, sans-serif;
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img, svg { max-width: 100%; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 999; background: white; color: black; padding: 10px 14px; border-radius: 8px; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 96px 0; }
.section-sm { padding: 62px 0; }
.kicker { color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.section-title { margin: 10px 0 12px; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.12; letter-spacing: -.045em; }
.section-lead { max-width: 720px; margin: 0; color: var(--muted); font-size: 1.07rem; }
.gradient-text { background: linear-gradient(90deg, var(--accent), #8cb8ff 54%, #cf9eff); background-clip: text; -webkit-background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  background: rgba(6, 16, 29, .72);
}
.header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(145deg, rgba(89,224,192,.18), rgba(107,124,255,.25)); border: 1px solid rgba(89,224,192,.35); box-shadow: inset 0 0 18px rgba(89,224,192,.08); }
.brand-mark svg { width: 25px; }
.brand-sub { color: var(--muted); font-size: .69rem; font-weight: 600; display: block; letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 7px; }
.nav a { color: #c7d4e2; font-size: .92rem; font-weight: 600; padding: 9px 12px; border-radius: 10px; }
.nav a:hover, .nav a.active { color: white; background: rgba(255,255,255,.06); }
.nav .nav-cta { color: #031510; background: var(--accent); padding-inline: 16px; }
.nav .nav-cta:hover { color: #031510; background: #7bf1d4; }
.menu-button { display: none; border: 1px solid var(--line); color: white; background: rgba(255,255,255,.04); border-radius: 10px; padding: 8px 11px; }

.hero { position: relative; overflow: hidden; padding: 95px 0 80px; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(120,150,180,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(120,150,180,.045) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, black, transparent 88%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 58px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #c8fff0; font-size: .78rem; font-weight: 700; border: 1px solid rgba(89,224,192,.24); background: rgba(89,224,192,.07); border-radius: 999px; padding: 7px 12px; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(89,224,192,.12); }
.hero h1 { max-width: 790px; margin: 22px 0 20px; font-size: clamp(3.2rem, 7vw, 6.2rem); line-height: .99; letter-spacing: -.065em; }
.hero-copy { max-width: 670px; color: #b7c7d8; font-size: clamp(1rem, 1.6vw, 1.16rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 11px 19px; border: 1px solid transparent; border-radius: 13px; font-weight: 750; transition: .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #041612; background: linear-gradient(90deg, var(--accent), #8beac9); box-shadow: 0 15px 45px rgba(89,224,192,.17); }
.button-secondary { color: white; border-color: var(--line); background: rgba(255,255,255,.04); }
.button-secondary:hover { border-color: rgba(89,224,192,.45); }
.button-full { width: 100%; }
.button:disabled { cursor: not-allowed; transform: none; opacity: .55; }
.hero-meta { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 35px; color: var(--muted); font-size: .82rem; }
.hero-meta strong { display: block; color: white; font-size: 1rem; }

.nano-scene { position: relative; min-height: 510px; display: grid; place-items: center; }
.nano-glow { position: absolute; width: 340px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(89,224,192,.23), rgba(107,124,255,.09) 48%, transparent 72%); filter: blur(10px); }
.nano-core { position: relative; width: min(440px, 92vw); aspect-ratio: 1; animation: float 6s ease-in-out infinite; }
.orbit { position: absolute; inset: 12%; border: 1px solid rgba(140,184,255,.22); border-radius: 50%; transform: rotate(18deg); }
.orbit:nth-child(2) { inset: 21%; transform: rotate(-35deg) scaleY(.65); border-color: rgba(89,224,192,.31); }
.orbit:nth-child(3) { inset: 5%; transform: rotate(65deg) scaleY(.46); border-color: rgba(207,158,255,.23); }
.particle-main { position: absolute; inset: 31%; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #fff, #73eed1 8%, #3978b5 38%, #142a48 68%); box-shadow: 0 0 55px rgba(89,224,192,.32), inset -20px -24px 34px rgba(0,0,0,.38); }
.particle-main::after { content: "Mag + Plas"; position: absolute; inset: 0; display: grid; place-items: center; color: #eafff9; font-size: .75rem; font-weight: 800; letter-spacing: .09em; }
.satellite { position: absolute; width: 36px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #fff, #9dadff 13%, #536be3 55%, #1b254a); box-shadow: 0 0 24px rgba(107,124,255,.35); }
.s1 { left: 7%; top: 47%; } .s2 { right: 12%; top: 16%; width: 25px; } .s3 { right: 1%; bottom: 25%; width: 18px; } .s4 { left: 23%; top: 7%; width: 16px; background: #59e0c0; }
.float-label { position: absolute; padding: 11px 14px; border-radius: 13px; color: #dcecff; background: rgba(7,18,32,.75); border: 1px solid var(--line); backdrop-filter: blur(10px); font-size: .78rem; box-shadow: var(--shadow); }
.fl-1 { left: 0; bottom: 13%; } .fl-2 { right: -2%; top: 34%; } .fl-3 { left: 10%; top: 16%; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-13px) rotate(1deg); } }

.logo-strip { border-block: 1px solid var(--line); background: rgba(255,255,255,.018); }
.logo-strip-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: #8196aa; font-size: .76rem; letter-spacing: .16em; font-weight: 800; text-transform: uppercase; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(16,34,54,.82), rgba(9,22,37,.74)); box-shadow: 0 16px 45px rgba(0,0,0,.15); }
.card-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; margin-bottom: 20px; color: var(--accent); background: rgba(89,224,192,.09); border: 1px solid rgba(89,224,192,.18); font-size: 1.25rem; }
.card h3 { margin: 0 0 10px; font-size: 1.22rem; letter-spacing: -.02em; }
.card p { margin: 0; color: var(--muted); font-size: .94rem; }

.product-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; padding: 42px; border-radius: 30px; border: 1px solid rgba(89,224,192,.2); background: linear-gradient(125deg, rgba(14,36,54,.92), rgba(15,25,48,.88)); box-shadow: var(--shadow); }
.product-visual { min-height: 380px; display: grid; place-items: center; position: relative; border-radius: 22px; overflow: hidden; background: radial-gradient(circle at 50% 45%, rgba(89,224,192,.19), transparent 45%), linear-gradient(145deg, rgba(255,255,255,.03), rgba(0,0,0,.1)); }
.product-vial { position: relative; width: 126px; height: 248px; border-radius: 22px 22px 34px 34px; background: linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.22) 45%, rgba(255,255,255,.05)); border: 2px solid rgba(205,236,255,.55); box-shadow: inset 0 -95px 0 rgba(24,85,100,.66), 0 30px 80px rgba(0,0,0,.38); }
.product-vial::before { content: ""; position: absolute; left: 12px; right: 12px; top: -38px; height: 45px; border-radius: 9px 9px 4px 4px; background: linear-gradient(#4b5c70, #1b2737); border: 1px solid #7d8fa4; }
.vial-label { position: absolute; inset: 72px 10px auto; padding: 16px 5px; background: rgba(239,251,255,.9); color: #0c1a29; text-align: center; font-size: .63rem; font-weight: 800; line-height: 1.4; border-radius: 5px; }
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 5px 10px; font-size: .72rem; font-weight: 800; background: rgba(89,224,192,.09); color: #a7ffe8; border: 1px solid rgba(89,224,192,.2); }
.product-panel h2 { margin: 14px 0 12px; font-size: clamp(2.1rem, 4vw, 3.7rem); line-height: 1.06; letter-spacing: -.05em; }
.spec-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; padding: 0; margin: 25px 0; list-style: none; }
.spec-list li { padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.035); color: #ccdae8; font-size: .87rem; }
.spec-list strong { display: block; color: white; }

.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 35px; counter-reset: phase; }
.phase { position: relative; min-height: 170px; padding: 22px 18px; border: 1px solid var(--line); background: rgba(255,255,255,.025); border-radius: 17px; counter-increment: phase; }
.phase::before { content: "0" counter(phase); display: block; margin-bottom: 25px; color: var(--accent); font-size: .75rem; font-weight: 800; letter-spacing: .14em; }
.phase h3 { margin: 0 0 8px; font-size: .96rem; }
.phase p { margin: 0; color: var(--muted); font-size: .8rem; }

.cta-panel { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 42px; border-radius: 28px; background: linear-gradient(100deg, rgba(89,224,192,.14), rgba(107,124,255,.15)); border: 1px solid rgba(126,171,221,.23); }
.cta-panel h2 { margin: 0 0 5px; font-size: clamp(1.7rem, 4vw, 2.7rem); letter-spacing: -.04em; }
.cta-panel p { margin: 0; color: var(--muted); }

.page-hero { padding: 76px 0 48px; }
.page-hero h1 { margin: 10px 0 12px; font-size: clamp(2.5rem, 6vw, 4.8rem); line-height: 1.05; letter-spacing: -.055em; }

.shop-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: 28px; align-items: start; }
.shop-product { position: sticky; top: 102px; }
.shop-image { min-height: 290px; margin-bottom: 24px; }
.product-code { color: var(--accent); font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
.price { margin: 10px 0; font-size: 2rem; font-weight: 800; letter-spacing: -.04em; }
.order-box { padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: rgba(12,28,45,.84); }
.order-box h2 { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.field { display: grid; gap: 7px; margin-bottom: 14px; }
.field.full { grid-column: 1 / -1; }
.field label { color: #dbe7f2; font-size: .82rem; font-weight: 700; }
.input { width: 100%; min-height: 47px; color: white; background: rgba(255,255,255,.045); border: 1px solid var(--line); border-radius: 11px; padding: 10px 13px; outline: none; }
.input:focus { border-color: rgba(89,224,192,.65); box-shadow: 0 0 0 3px rgba(89,224,192,.08); }
.quantity-row { display: flex; align-items: center; gap: 8px; }
.qty-button { width: 40px; height: 40px; color: white; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.04); }
.qty-value { min-width: 54px; text-align: center; font-weight: 800; }
.summary { margin: 20px 0; border-block: 1px solid var(--line); padding: 14px 0; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; color: var(--muted); }
.summary-row.total { color: white; font-size: 1.15rem; font-weight: 800; }
.payment-shell { min-height: 90px; margin-top: 16px; overflow: hidden; border-radius: 16px; background: white; }
.payment-placeholder { display: grid; place-items: center; min-height: 110px; color: #64758a; font-size: .86rem; }
.mode-banner { margin-bottom: 18px; padding: 12px 14px; border-radius: 12px; font-size: .82rem; border: 1px solid rgba(255,210,122,.28); color: #ffe6ad; background: rgba(255,210,122,.08); }
.mode-banner.live { color: #baffdb; border-color: rgba(105,231,164,.3); background: rgba(105,231,164,.08); }
.inline-links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px; color: #91b8df; font-size: .78rem; }

.chat-wrap { width: min(calc(100% - 40px), 920px); margin: 0 auto 80px; border: 1px solid var(--line); border-radius: 27px; overflow: hidden; background: rgba(9,23,39,.83); box-shadow: var(--shadow); }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 22px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.022); }
.ai-status { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .8rem; }
.chat-messages { min-height: 510px; max-height: 65vh; overflow-y: auto; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.message { max-width: 83%; padding: 13px 16px; border-radius: 16px; white-space: pre-wrap; word-break: keep-all; font-size: .94rem; }
.message.user { align-self: flex-end; color: #071411; background: linear-gradient(90deg, #6de3c4, #91edcf); border-bottom-right-radius: 5px; }
.message.assistant { align-self: flex-start; color: #e7f1fa; background: rgba(255,255,255,.055); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.message.error { color: #ffc5cc; border-color: rgba(255,141,154,.32); background: rgba(255,141,154,.08); }
.chat-suggestions { display: flex; gap: 8px; overflow-x: auto; padding: 0 22px 14px; }
.suggestion { white-space: nowrap; color: #bfd0df; background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 7px 11px; font-size: .75rem; }
.suggestion:hover { border-color: rgba(89,224,192,.45); color: white; }
.chat-form { display: flex; gap: 10px; padding: 16px 18px 18px; border-top: 1px solid var(--line); }
.chat-input { resize: none; min-height: 52px; max-height: 140px; flex: 1; color: white; background: rgba(255,255,255,.045); border: 1px solid var(--line); border-radius: 14px; padding: 13px 15px; outline: none; }
.chat-input:focus { border-color: rgba(89,224,192,.6); }
.send-button { width: 54px; border: 0; border-radius: 14px; color: #041611; background: var(--accent); font-size: 1.2rem; font-weight: 900; }

.result-card { width: min(calc(100% - 40px), 680px); margin: 70px auto; padding: 36px; text-align: center; border: 1px solid var(--line); border-radius: 26px; background: var(--panel); box-shadow: var(--shadow); }
.result-icon { width: 70px; height: 70px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 50%; font-size: 1.8rem; color: #041611; background: var(--success); }
.result-icon.fail { color: #22070b; background: var(--danger); }
.result-details { margin: 22px 0; padding: 18px; border-radius: 15px; text-align: left; background: rgba(255,255,255,.04); }
.result-row { display: flex; justify-content: space-between; gap: 14px; padding: 6px 0; color: var(--muted); }
.result-row strong { color: white; text-align: right; }
.spinner { width: 28px; height: 28px; margin: 20px auto; border: 3px solid rgba(255,255,255,.15); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.legal { width: min(calc(100% - 40px), 850px); margin: 0 auto; padding: 70px 0 100px; }
.legal h1 { font-size: clamp(2.3rem, 5vw, 4rem); letter-spacing: -.05em; }
.legal h2 { margin-top: 38px; font-size: 1.35rem; }
.legal p, .legal li { color: #b6c6d6; }
.legal-note { padding: 14px 16px; border-radius: 12px; color: #ffe5aa; background: rgba(255,210,122,.08); border: 1px solid rgba(255,210,122,.22); }

.site-footer { border-top: 1px solid var(--line); padding: 52px 0 28px; background: rgba(2,9,16,.5); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .9fr; gap: 38px; }
.footer-title { font-weight: 800; margin-bottom: 10px; }
.footer-text, .footer-links { color: #879caf; font-size: .83rem; }
.footer-links { display: grid; gap: 7px; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 38px; padding-top: 20px; border-top: 1px solid var(--line); color: #708599; font-size: .75rem; }

@media (max-width: 920px) {
  .hero-grid, .product-panel, .shop-layout { grid-template-columns: 1fr; }
  .nano-scene { min-height: 430px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .shop-product { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 72px 0; }
  .menu-button { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 14px; right: 14px; flex-direction: column; align-items: stretch; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #0b1929; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 11px 13px; }
  .hero { padding-top: 70px; }
  .hero h1 { font-size: clamp(3rem, 16vw, 4.6rem); }
  .nano-scene { min-height: 360px; }
  .float-label { font-size: .66rem; }
  .grid-3, .grid-2, .form-grid { grid-template-columns: 1fr; }
  .product-panel { padding: 25px; }
  .timeline { grid-template-columns: 1fr; }
  .cta-panel { align-items: flex-start; flex-direction: column; padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .message { max-width: 92%; }
  .chat-messages { padding: 16px; min-height: 440px; }
  .chat-form { padding: 12px; }
}
