:root {
  --bg: #09051c;
  --panel: rgba(28, 19, 68, 0.78);
  --panel-strong: #19103f;
  --line: rgba(118, 204, 255, 0.24);
  --cyan: #75eaff;
  --violet: #a168ff;
  --pink: #ff4fa3;
  --gold: #ffe168;
  --text: #f8f7ff;
  --muted: #b7b1d3;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, rgba(95, 45, 190, 0.35), transparent 36rem),
    linear-gradient(180deg, #10072b 0%, var(--bg) 42%, #070314 100%);
  font-family: Inter, Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .42;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.8) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(117,234,255,.55) 0 1px, transparent 1.5px);
  background-position: 0 0, 24px 31px;
  background-size: 88px 88px, 123px 123px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
}

a { color: inherit; }
img { display: block; max-width: 100%; }

.page-glow {
  position: fixed;
  width: 38rem;
  height: 38rem;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .1;
  pointer-events: none;
}
.page-glow-left { left: -24rem; top: 28rem; background: var(--cyan); }
.page-glow-right { right: -24rem; top: 4rem; background: var(--pink); }

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.portal-link { color: var(--muted); text-decoration: none; font-weight: 700; }
.portal-link:hover,
.portal-link:focus-visible { color: var(--cyan); }
.platform-badge {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--cyan);
  background: rgba(9, 5, 28, .66);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.hero-section {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .7fr);
  align-items: center;
  gap: clamp(44px, 7vw, 110px);
  padding: 56px 0 90px;
}
.app-icon {
  border-radius: 30%;
  box-shadow: 0 20px 60px rgba(55, 179, 255, .22), 0 0 0 1px rgba(255,255,255,.14);
  margin-bottom: 24px;
}
.eyebrow { margin: 0 0 12px; color: var(--cyan); font-size: .75rem; font-weight: 900; letter-spacing: .2em; }
.hero-copy h1 {
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  line-height: .86;
  letter-spacing: -.055em;
  text-transform: uppercase;
}
.hero-copy h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(95deg, #fff 5%, var(--cyan) 48%, #c5a2ff 85%);
  background-clip: text;
  -webkit-background-clip: text;
}
.hero-subtitle { margin: 18px 0 0; color: var(--gold); font-weight: 900; font-size: clamp(1.1rem, 2vw, 1.45rem); }
.hero-lead { max-width: 650px; margin: 26px 0 30px; color: var(--muted); font-size: clamp(1.02rem, 1.8vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.primary-button,
.secondary-button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  padding: 10px 22px;
  text-decoration: none;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.primary-button { gap: 13px; color: #10072b; background: linear-gradient(135deg, var(--cyan), #9b92ff); box-shadow: 0 16px 44px rgba(86, 193, 255, .22); }
.primary-button small { display: block; font-size: .58rem; line-height: 1; letter-spacing: .12em; }
.primary-button span:last-child { line-height: 1.25; }
.play-mark { font-size: 1.35rem; }
.secondary-button { border: 1px solid var(--line); background: var(--panel); }
.primary-button:hover,
.secondary-button:hover { transform: translateY(-2px); }
.secondary-button:hover { border-color: var(--cyan); }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 0; margin: 24px 0 0; color: var(--muted); list-style: none; font-size: .88rem; font-weight: 800; }
.hero-points li::before { content: "✦"; margin-right: 8px; color: var(--pink); }

.hero-visual { position: relative; justify-self: center; }
.phone-frame {
  position: relative;
  width: min(390px, 86vw);
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 2px solid rgba(117, 234, 255, .6);
  border-radius: 38px;
  background: #12082e;
  box-shadow: 0 40px 110px rgba(255, 44, 132, .26), 0 0 65px rgba(95, 198, 255, .18);
  transform: rotate(2deg);
}
.phone-frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 70px rgba(91, 220, 255, .12); pointer-events: none; }
.phone-frame img { width: 100%; height: 100%; object-fit: cover; }
.orbit { position: absolute; z-index: -1; left: 50%; top: 50%; border: 1px solid rgba(117, 234, 255, .25); border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-a { width: 126%; aspect-ratio: 1; }
.orbit-b { width: 154%; aspect-ratio: 1; border-color: rgba(255,79,163,.18); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: rgba(17, 10, 45, .78); box-shadow: 0 28px 70px rgba(0,0,0,.24); }
.stats article { padding: 25px; text-align: center; }
.stats article + article { border-left: 1px solid var(--line); }
.stats strong { display: block; color: var(--gold); font-size: clamp(1.5rem, 3vw, 2.2rem); }
.stats span { color: var(--muted); font-size: .72rem; font-weight: 900; letter-spacing: .12em; }

.feature-section,
.screenshots-section,
.support-section { padding: 130px 0 0; }
.section-heading { max-width: 720px; margin-bottom: 44px; }
.section-heading.compact { margin-bottom: 34px; }
.section-heading h2,
.power-copy h2,
.collection-section h2,
.final-cta h2 { margin: 0; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.1; letter-spacing: -.04em; }
.section-heading > p:last-child,
.power-copy > p,
.collection-section li span { color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature-card { min-height: 220px; border: 1px solid var(--line); border-radius: 24px; padding: 30px; background: linear-gradient(145deg, rgba(35,24,83,.78), rgba(13,8,36,.88)); }
.feature-number { color: var(--pink); font-size: .75rem; font-weight: 900; letter-spacing: .14em; }
.feature-card h3 { margin: 45px 0 8px; font-size: 1.4rem; }
.feature-card p { margin: 0; color: var(--muted); }

.power-showcase { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1fr); align-items: center; gap: clamp(44px, 8vw, 110px); padding: 150px 0 20px; }
.power-art { justify-self: center; width: min(430px, 88vw); aspect-ratio: 9 / 16; overflow: hidden; border-radius: 32px; border: 1px solid rgba(255,225,104,.45); box-shadow: 0 35px 90px rgba(255,97,27,.22); }
.power-art img { width: 100%; height: 100%; object-fit: cover; }
.power-copy > p { max-width: 560px; }
.power-meter { display: grid; grid-template-columns: repeat(10, 1fr); gap: 7px; margin-top: 30px; }
.power-meter span { aspect-ratio: 1; border-radius: 50%; background: linear-gradient(135deg, #fff08d, #ff972e); box-shadow: 0 0 18px rgba(255,213,59,.55); }

.screenshot-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.screenshot-track figure { margin: 0; }
.screenshot-track img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border: 1px solid var(--line); border-radius: 24px; background: var(--panel-strong); box-shadow: 0 22px 60px rgba(0,0,0,.27); }
.screenshot-track figcaption { padding: 14px 4px 0; color: var(--muted); font-size: .9rem; text-align: center; }

.collection-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 8vw, 100px); align-items: start; margin-top: 130px; padding: clamp(32px, 6vw, 70px); border: 1px solid rgba(255,79,163,.28); border-radius: 32px; background: radial-gradient(circle at 0 0, rgba(156,70,255,.22), transparent 52%), var(--panel); }
.collection-section ul { margin: 0; padding: 0; list-style: none; }
.collection-section li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.collection-section li:first-child { padding-top: 0; }
.collection-section li:last-child { padding-bottom: 0; border: 0; }
.collection-section li strong,
.collection-section li span { display: block; }
.collection-section li strong { color: var(--gold); font-size: 1.1rem; }

.support-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.support-links a { display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid var(--line); border-radius: 18px; padding: 21px 22px; background: var(--panel); text-decoration: none; }
.support-links a:hover { border-color: var(--cyan); }
.support-links span { font-weight: 900; }
.support-links small { color: var(--muted); }

.final-cta { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 26px; margin: 130px 0 70px; padding: 34px; border-radius: 28px; background: linear-gradient(120deg, rgba(36,23,91,.94), rgba(69,20,79,.9)); border: 1px solid rgba(166,121,255,.38); }
.final-cta img { border-radius: 28px; }
.final-cta h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); }

.site-footer { display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); padding: 28px 0 44px; color: var(--muted); font-size: .82rem; }

@media (max-width: 900px) {
  .hero-section { grid-template-columns: 1fr; padding-top: 28px; text-align: center; }
  .app-icon { margin-inline: auto; }
  .hero-lead { margin-inline: auto; }
  .hero-actions,
  .hero-points { justify-content: center; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats article:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .stats article:nth-child(4) { border-top: 1px solid var(--line); }
  .power-showcase { grid-template-columns: 1fr; }
  .power-copy { text-align: center; }
  .power-copy > p { margin-inline: auto; }
  .collection-section { grid-template-columns: 1fr; }
  .final-cta { grid-template-columns: auto 1fr; }
  .final-cta .primary-button { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .site-header,
  main,
  .site-footer { width: min(100% - 28px, 1180px); }
  .site-header { min-height: 66px; }
  .platform-badge { display: none; }
  .hero-section { min-height: 0; gap: 54px; padding-bottom: 64px; }
  .app-icon { width: 104px; height: 104px; border-radius: 28px; }
  .hero-copy h1 { font-size: clamp(3.15rem, 17vw, 5rem); }
  .hero-lead br { display: none; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .primary-button,
  .secondary-button { width: 100%; }
  .stats article { padding: 20px 10px; }
  .feature-section,
  .screenshots-section,
  .support-section { padding-top: 94px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 190px; }
  .feature-card h3 { margin-top: 32px; }
  .power-showcase { padding-top: 100px; }
  .screenshot-track { display: flex; width: calc(100vw - 14px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 14px 18px 0; }
  .screenshot-track figure { flex: 0 0 min(78vw, 330px); scroll-snap-align: start; }
  .collection-section { margin-top: 94px; padding: 28px 22px; }
  .support-links { grid-template-columns: 1fr; }
  .support-links a { align-items: flex-start; flex-direction: column; gap: 2px; }
  .final-cta { margin-top: 94px; grid-template-columns: 1fr; text-align: center; }
  .final-cta img { margin: auto; }
  .site-footer { display: block; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
