:root {
  color-scheme: dark;
  --bg: #0c0d1f;
  --bg-soft: #15172f;
  --surface: rgba(255, 255, 255, 0.065);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f7f7ff;
  --muted: #b9bddd;
  --muted-soft: #8b90b5;
  --brand-a: #4f8cff;
  --brand-b: #b05cff;
  --green: #55d6a7;
  --apple: #f5f5f7;
  --play: #78e8bc;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius-xl: 32px;
  --radius-l: 24px;
  --radius-m: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.65;
  background:
    radial-gradient(circle at 12% 8%, rgba(79, 140, 255, 0.2), transparent 34rem),
    radial-gradient(circle at 88% 22%, rgba(176, 92, 255, 0.17), transparent 32rem),
    linear-gradient(160deg, #1b1d3e 0%, var(--bg) 65%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.28;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

a { color: inherit; }

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--bg);
  background: var(--text);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 8px 20px rgba(79, 140, 255, 0.25); }

.nav { display: flex; align-items: center; gap: 8px; }

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav a:hover, .nav a:focus-visible { color: var(--text); background: var(--surface); }

.nav .lang { color: #a9c7ff; border: 1px solid var(--line); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: 64px;
  min-height: 690px;
  padding: 64px 0 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 7px 12px;
  border: 1px solid rgba(143, 181, 255, 0.28);
  border-radius: 999px;
  color: #b8d0ff;
  background: rgba(79, 140, 255, 0.1);
  font-size: 13px;
  font-weight: 800;
}

.eyebrow::before { width: 7px; height: 7px; border-radius: 50%; background: var(--green); content: ""; box-shadow: 0 0 14px var(--green); }

h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(46px, 6.8vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.065em;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(90deg, #72a5ff, #d18aff);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-copy > p { max-width: 660px; margin-bottom: 30px; color: var(--muted); font-size: clamp(17px, 2vw, 20px); }

.store-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 205px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--text);
  background: rgba(8, 9, 24, 0.74);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.store-button:hover, .store-button:focus-visible { transform: translateY(-2px); border-color: rgba(143, 181, 255, 0.65); background: rgba(25, 28, 58, 0.94); }

.store-button svg { width: 28px; height: 28px; flex: 0 0 auto; }
.store-button small, .store-button strong { display: block; line-height: 1.2; }
.store-button small { margin-bottom: 3px; color: var(--muted); font-size: 10px; }
.store-button strong { font-size: 16px; }

.hero-points { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 24px; color: var(--muted-soft); font-size: 13px; }
.hero-points span::before { margin-right: 7px; color: var(--green); content: "✓"; font-weight: 900; }

.phone-stage { position: relative; display: grid; place-items: center; min-height: 550px; }
.glow { position: absolute; width: 92%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(109, 111, 255, 0.38), transparent 68%); filter: blur(8px); }
.phone {
  position: relative;
  width: min(310px, 72vw);
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 42px;
  background: #090a16;
  box-shadow: var(--shadow);
  transform: rotate(4deg);
}
.phone::before { position: absolute; top: 15px; left: 50%; z-index: 2; width: 74px; height: 20px; border-radius: 999px; background: #090a16; content: ""; transform: translateX(-50%); }
.phone img { width: 100%; border-radius: 34px; }
.float-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(20, 22, 48, 0.9);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(14px);
  font-size: 13px;
  font-weight: 800;
}
.float-chip img { width: 35px; height: 49px; object-fit: contain; }
.float-chip.a { top: 13%; left: -4%; }
.float-chip.b { right: -3%; bottom: 17%; }

.section { padding: 96px 0; }
.section-heading { max-width: 720px; margin: 0 auto 38px; text-align: center; }
.section-heading .kicker { display: block; margin-bottom: 9px; color: #9bbcff; font-size: 13px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.section-heading h2 { margin-bottom: 12px; font-size: clamp(32px, 5vw, 52px); line-height: 1.15; letter-spacing: -0.045em; }
.section-heading p { color: var(--muted); font-size: 17px; }

.download-panel {
  position: relative;
  overflow: hidden;
  padding: 64px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(79, 140, 255, 0.11), rgba(176, 92, 255, 0.08)), rgba(14, 16, 37, 0.86);
  box-shadow: var(--shadow);
}
.download-panel::after { position: absolute; top: -180px; right: -160px; width: 420px; height: 420px; border-radius: 50%; background: rgba(176, 92, 255, 0.16); filter: blur(40px); content: ""; pointer-events: none; }
.platform-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.platform-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: rgba(255, 255, 255, 0.055);
}
.platform-title { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.platform-title svg { width: 34px; height: 34px; }
.platform-title h3 { margin: 0; font-size: 22px; }
.status { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; color: #a9ebcf; font-size: 12px; font-weight: 800; }
.status::before { width: 7px; height: 7px; border-radius: 50%; background: var(--green); content: ""; }
.platform-copy p { min-height: 50px; margin-bottom: 20px; color: var(--muted); font-size: 14px; }
.platform-link { display: inline-flex; align-items: center; gap: 8px; color: #c9d9ff; font-size: 14px; font-weight: 900; text-decoration: none; }
.platform-link:hover, .platform-link:focus-visible { text-decoration: underline; }
.qr { align-self: center; padding: 9px; border-radius: 14px; color: var(--bg); background: var(--apple); text-align: center; }
.qr img { width: 114px; height: 114px; }
.qr small { display: block; margin-top: 5px; color: #363748; font-size: 10px; font-weight: 800; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.stat { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--surface); text-align: center; }
.stat strong { display: block; font-size: clamp(36px, 5vw, 58px); line-height: 1; letter-spacing: -0.05em; }
.stat span { color: var(--muted); font-size: 14px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature { padding: 25px; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); }
.feature .icon { display: grid; width: 42px; height: 42px; margin-bottom: 20px; place-items: center; border-radius: 13px; background: rgba(79, 140, 255, 0.16); font-size: 21px; }
.feature h3 { margin-bottom: 7px; font-size: 17px; }
.feature p { margin-bottom: 0; color: var(--muted); font-size: 14px; }

.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.shot { position: relative; padding: 8px; border: 1px solid var(--line); border-radius: 30px; background: rgba(255, 255, 255, 0.06); box-shadow: 0 22px 56px rgba(0, 0, 0, 0.3); }
.shot:nth-child(2) { margin-top: 38px; }
.shot img { width: 100%; border-radius: 23px; }
.shot figcaption { padding: 13px 8px 5px; color: var(--muted); font-size: 13px; text-align: center; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 28px; border-top: 1px solid var(--line); counter-increment: step; }
.step::before { display: block; margin-bottom: 18px; color: #92b5ff; content: "0" counter(step); font-size: 14px; font-weight: 900; }
.step h3 { margin-bottom: 8px; font-size: 19px; }
.step p { margin-bottom: 0; color: var(--muted); font-size: 14px; }

.final-cta { padding: 72px 30px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: linear-gradient(120deg, rgba(79, 140, 255, 0.2), rgba(176, 92, 255, 0.2)); text-align: center; }
.final-cta h2 { margin-bottom: 13px; font-size: clamp(32px, 5vw, 52px); letter-spacing: -0.045em; }
.final-cta p { margin-bottom: 28px; color: var(--muted); }
.final-cta .store-actions { justify-content: center; }

footer { margin-top: 96px; padding: 32px 0 50px; border-top: 1px solid var(--line); color: var(--muted-soft); font-size: 13px; text-align: center; }
footer > div:first-child { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover, footer a:focus-visible { color: var(--text); text-decoration: underline; }

:focus-visible { outline: 3px solid rgba(143, 181, 255, 0.9); outline-offset: 3px; }

@media (max-width: 940px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 48px; text-align: center; }
  .hero-copy, .phone-stage { min-width: 0; }
  .hero-copy > p { margin-right: auto; margin-left: auto; }
  .store-actions, .hero-points { justify-content: center; }
  .phone-stage { min-height: 500px; }
  .platform-card { grid-template-columns: 1fr; }
  .qr { width: 132px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .shell { width: auto; max-width: none; margin-right: 14px; margin-left: 14px; }
  .topbar { min-height: 68px; }
  .nav a:not(.lang) { display: none; }
  .hero { min-height: auto; padding: 44px 0 56px; }
  h1 { width: 100%; max-width: 100%; font-size: clamp(35px, 9.5vw, 44px); }
  .hero-copy > p { font-size: 17px; }
  .store-button { min-width: 100%; justify-content: center; }
  .float-chip.a { left: 0; }
  .float-chip.b { right: 0; }
  .section { padding: 70px 0; }
  .download-panel { padding: 28px 18px; border-radius: var(--radius-l); }
  .platform-grid, .stats, .feature-grid, .shots, .steps { grid-template-columns: 1fr; }
  .platform-card { grid-template-columns: minmax(0, 1fr) 112px; gap: 14px; padding: 20px; }
  .platform-copy p { min-height: auto; }
  .qr { width: 112px; padding: 7px; }
  .qr img { width: 98px; height: 98px; }
  .shot { width: min(82vw, 360px); margin-right: auto; margin-left: auto; }
  .shot:nth-child(2) { margin-top: 0; }
  .final-cta { padding: 52px 18px; }
}

@media (max-width: 470px) {
  .platform-card { grid-template-columns: 1fr; }
  .qr { display: none; }
  .phone-stage { min-height: 430px; }
  .phone { width: 250px; }
  .float-chip { font-size: 11px; }
  .float-chip img { width: 29px; height: 41px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .store-button { transition: none; }
}
