:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #ecf2ff;
  --text: #0f172a;
  --text-soft: #475569;
  --line: #dbe5f3;
  --accent: #1459f5;
  --accent-strong: #0e3bb8;
  --accent-soft: #d9e6ff;
  --shadow: 0 14px 40px rgba(16, 24, 40, 0.12);
  --radius: 22px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", "Noto Sans KR", sans-serif;
  background: radial-gradient(circle at 8% -10%, #dbe8ff 0%, #f4f7fb 50%), var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  z-index: -1;
  filter: blur(60px);
  opacity: 0.45;
}

.bg-orb-one {
  width: 360px;
  height: 360px;
  top: 80px;
  left: -120px;
  background: #b9d2ff;
}

.bg-orb-two {
  width: 300px;
  height: 300px;
  right: -120px;
  bottom: 60px;
  background: #b8f0e1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(219, 229, 243, 0.9);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.18rem;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

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

.nav-right > a {
  color: #334155;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-right > a:hover {
  color: var(--accent);
}

.nav-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f9fbff;
  font-size: 0.92rem;
}

.lang-wrap select {
  font: inherit;
  color: #0f172a;
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #ffffff;
  outline: none;
}

main {
  overflow: hidden;
}

.hero {
  padding-top: 70px;
  padding-bottom: 60px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 46px;
  align-items: center;
}

.badge {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid #c9daf7;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--accent-strong);
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.01em;
}

.hero h1 {
  margin: 18px 0 10px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero h1 span {
  display: block;
}

.gradient {
  background: linear-gradient(95deg, #1459f5 0%, #0e3bb8 58%, #0c8ca9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin: 18px 0 0;
  color: #1f2937;
  max-width: 620px;
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-desc {
  margin: 10px 0 0;
  color: var(--text-soft);
}

.cta-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(130deg, var(--accent) 0%, #0d46d2 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(20, 89, 245, 0.35);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: #ffffff;
  color: #1e293b;
}

.btn-tertiary {
  border: 1px dashed #b7c9e8;
  background: #f8fbff;
  color: #334155;
}

.trust-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: #334155;
}

.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.trust-row li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #1f7a5d;
  box-shadow: 0 0 0 4px rgba(31, 122, 93, 0.17);
}

.hero-art {
  display: grid;
  place-items: center;
}

.phone-frame {
  width: min(400px, 100%);
  border-radius: 32px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(170deg, #fdfefe 0%, #edf3ff 100%);
  box-shadow: var(--shadow);
  padding: 18px;
}

.phone-notch {
  width: 34%;
  height: 22px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: #0f172a;
}

.phone-content {
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 26px 20px;
  text-align: center;
}

.app-icon {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(20, 89, 245, 0.24);
}

.phone-content h3 {
  margin: 14px 0 5px;
  font-size: 1.25rem;
}

.phone-content p {
  margin: 0;
  color: var(--text-soft);
}

.mini-stats {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.mini-stats span {
  border: 1px solid var(--line);
  background: #f9fbff;
  border-radius: 11px;
  padding: 8px 6px;
  font-size: 0.78rem;
  font-weight: 500;
}

.floating {
  animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.section {
  padding: 84px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(236, 242, 255, 0.7) 0%, rgba(234, 253, 246, 0.64) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 12px 0 0;
  color: var(--text-soft);
  font-size: 1.05rem;
  max-width: 760px;
}

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

.feature-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 24px;
  background: var(--surface);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.feature-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.feature-card p {
  margin: 10px 0 0;
  color: var(--text-soft);
}

.flow-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.flow-step {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.flow-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 700;
}

.flow-step h3 {
  margin: 14px 0 6px;
}

.flow-step p {
  margin: 0;
  color: var(--text-soft);
}

.support-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 14px;
}

.support-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.support-card h3 {
  margin: 0 0 16px;
}

.support-card.center {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.coffee-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  background: #f9fbff;
  font-weight: 700;
}

.wallet {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f9fbff;
  padding: 14px;
}

.wallet + .wallet {
  margin-top: 10px;
}

.wallet p {
  margin: 0 0 8px;
  font-weight: 700;
}

.wallet code {
  display: block;
  color: #1e293b;
  word-break: break-all;
  font-size: 0.82rem;
}

.copy-btn {
  margin-top: 10px;
  border: 1px solid #bed2f6;
  background: #ffffff;
  color: #1e3a8a;
  border-radius: 10px;
  padding: 8px 12px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
}

.footer-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.footer-brand {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.footer-inner p {
  margin: 2px 0 0;
  color: var(--text-soft);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #334155;
}

.footer-links a:hover {
  color: var(--accent);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%) translateY(16px);
  opacity: 0;
  pointer-events: none;
  border: 1px solid #2c5fd3;
  background: #103fbb;
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.88rem;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-art {
    order: -1;
  }

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

@media (max-width: 720px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .nav {
    min-height: 66px;
  }

  .nav-right > a:not(.nav-store) {
    display: none;
  }

  .hero {
    padding-top: 32px;
    padding-bottom: 34px;
    gap: 24px;
  }

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

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
