:root {
  --bg: #f6f8fc;
  --ink: #10213a;
  --ink-soft: #4a5b76;
  --line: #d9e1ef;
  --panel: rgba(255, 255, 255, 0.8);
  --accent: #0f5bd8;
  --accent-strong: #053b96;
  --accent-soft: #e8f0ff;
  --highlight: #12b89f;
  --push-bg: rgba(11, 26, 52, 0.9);
  --push-line: rgba(255, 255, 255, 0.14);
  --push-text: #f7fbff;
  --push-soft: #b8c7e4;
  --placeholder: #eaf0fb;
  --placeholder-line: #b9c8e3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Pretendard", "SUIT", "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 0% 0%, rgba(18, 184, 159, 0.14), transparent 36%),
    radial-gradient(circle at 100% 20%, rgba(15, 91, 216, 0.13), transparent 40%),
    linear-gradient(170deg, #ffffff 0%, var(--bg) 42%, #f2f6ff 100%);
}

.layout {
  width: min(1140px, 92vw);
  margin: 0 auto;
  padding: 48px 0 36px;
  display: grid;
  gap: 22px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--panel);
  backdrop-filter: blur(6px);
  box-shadow: 0 22px 48px rgba(16, 33, 58, 0.09);
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 28px;
  overflow: hidden;
}

.hero-copy {
  animation: fade-up 0.6s ease-out both;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 700;
}

.brand-logo-wrap {
  margin-top: 14px;
  width: clamp(72px, 8.5vw, 94px);
  height: clamp(72px, 8.5vw, 94px);
  border-radius: 22px;
  border: 1px solid #d3e0f4;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(15, 91, 216, 0.14);
  display: grid;
  place-items: center;
}

.brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

h1 {
  margin: 16px 0 0;
  font-size: clamp(2rem, 4.8vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.tagline {
  margin: 14px 0 0;
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: clamp(1rem, 2vw, 1.13rem);
  max-width: 580px;
}

.cta {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-subhint {
  margin: 12px 0 0;
  color: #3e5e8f;
  font-size: 0.92rem;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 12px 24px rgba(15, 91, 216, 0.25);
}

.btn-secondary {
  color: var(--accent-strong);
  border-color: #b9cef8;
  background: #ffffff;
}

.hero-shots {
  position: relative;
  height: 330px;
  min-height: 330px;
  border-radius: 24px;
  border: 1px solid #d6e2f6;
  background: linear-gradient(160deg, #f4f8ff 0%, #edf4ff 56%, #f9fbff 100%);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 14% 16% auto;
  height: 150px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(15, 91, 216, 0.28) 0%, rgba(15, 91, 216, 0) 72%);
  filter: blur(3px);
}

.phone-frame {
  position: absolute;
  width: clamp(112px, 32%, 150px);
  height: auto;
  max-height: 88%;
  aspect-ratio: 1179 / 2556;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid #cfdcf4;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 20px 34px rgba(10, 24, 44, 0.15);
}

.phone-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 6px solid #ffffff;
  box-sizing: border-box;
  pointer-events: none;
}

.phone-a {
  left: 2%;
  top: 14%;
  z-index: 1;
  opacity: 0.88;
  transform: rotate(-5deg);
  animation: float-a 5.3s ease-in-out infinite;
}

.phone-b {
  left: 32%;
  top: 7%;
  z-index: 3;
  width: clamp(148px, 42%, 210px);
  box-shadow: 0 26px 44px rgba(10, 24, 44, 0.22);
  animation: float-b 4.9s ease-in-out infinite;
}

.phone-c {
  right: 2%;
  top: 15%;
  z-index: 1;
  opacity: 0.86;
  transform: rotate(6deg);
  animation: float-c 5.4s ease-in-out infinite;
}

.push-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid #c8daf6;
  background: rgba(255, 255, 255, 0.82);
  color: #204a86;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.push-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2fd977;
  box-shadow: 0 0 0 0 rgba(47, 217, 119, 0.5);
  animation: ping 1.8s ease-out infinite;
}

.push-layer {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.push-toast {
  position: absolute;
  left: 50%;
  width: min(84%, 310px);
  border-radius: 18px;
  border: 1px solid var(--push-line);
  background: var(--push-bg);
  color: var(--push-text);
  padding: 10px 12px;
  box-shadow: 0 16px 34px rgba(4, 13, 30, 0.28);
  backdrop-filter: blur(7px);
  opacity: 0;
}

.push-toast-primary {
  top: 14px;
  transform: translateX(-50%);
  animation: push-in 5.8s ease-in-out infinite;
}

.push-toast-secondary {
  top: 92px;
  transform: translateX(-50%);
  animation: push-in 5.8s ease-in-out 1.9s infinite;
}

.push-app {
  margin: 0;
  font-size: 0.72rem;
  color: var(--push-soft);
  letter-spacing: 0.01em;
}

.push-title {
  margin: 4px 0 0;
  font-size: 0.92rem;
  font-weight: 700;
}

.push-body {
  margin: 4px 0 0;
  font-size: 0.81rem;
  color: #d8e5ff;
  line-height: 1.35;
}

.screen-image {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  background: transparent;
  display: block;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  padding: 18px;
  animation: fade-up 0.7s ease-out both;
}

.card h2 {
  margin: 0;
  font-size: 1.03rem;
}

.card p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.6;
}

.timeline {
  padding: 22px;
}

.timeline h2 {
  margin: 0;
  font-size: 1.35rem;
}

.timeline-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.timeline-list li {
  display: grid;
  gap: 4px;
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid #d7e4f8;
  background: #fbfdff;
}

.timeline-list li strong {
  font-size: 0.96rem;
}

.timeline-list li span {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer {
  padding: 0 0 32px;
  text-align: center;
  color: #637696;
}

@media (max-width: 980px) {
  .hero-shots {
    height: 340px;
    min-height: 340px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .layout {
    width: min(1140px, 94vw);
    padding-top: 24px;
  }

  .hero {
    padding: 20px;
  }

  .cta .btn {
    flex: 1 1 0;
    min-width: 0;
  }

  .timeline {
    padding: 18px;
  }

  .hero-shots {
    height: 300px;
    min-height: 300px;
  }

  .phone-frame {
    width: clamp(104px, 30%, 130px);
  }

  .phone-b {
    width: clamp(140px, 42%, 178px);
  }

  .push-toast {
    width: min(88%, 282px);
  }
}

@media (min-width: 981px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .hero-shots {
    height: clamp(320px, 34vw, 430px);
    min-height: 320px;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-a {
  0%,
  100% {
    transform: rotate(-5deg) translateY(0);
  }
  50% {
    transform: rotate(-5deg) translateY(-8px);
  }
}

@keyframes float-b {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.014);
  }
}

@keyframes float-c {
  0%,
  100% {
    transform: rotate(6deg) translateY(0);
  }
  50% {
    transform: rotate(6deg) translateY(-9px);
  }
}

@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(47, 217, 119, 0.46);
  }
  100% {
    box-shadow: 0 0 0 11px rgba(47, 217, 119, 0);
  }
}

@keyframes push-in {
  0%,
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px) scale(0.97);
  }
  8%,
  38% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
  46% {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1.02);
  }
  60% {
    opacity: 0;
    transform: translateX(-50%) translateY(-4px) scale(0.99);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy,
  .card,
  .phone-a,
  .phone-b,
  .phone-c,
  .push-badge-dot,
  .push-toast-primary,
  .push-toast-secondary {
    animation: none !important;
  }

  .push-toast-primary,
  .push-toast-secondary {
    opacity: 1;
    transform: translateX(-50%);
  }
}
