* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Noto Sans JP", "Hiragino Maru Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  color: #f8fafc;
  background:
    radial-gradient(circle at 50% 85%, rgba(20, 184, 166, 0.35), transparent 30%),
    radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.28), transparent 34%),
    radial-gradient(circle at 82% 12%, rgba(236, 72, 153, 0.24), transparent 30%),
    linear-gradient(135deg, #0f2740 0%, #111827 45%, #050816 100%);
}

.app {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 18px;
}

.card {
  width: min(760px, 100%);
  padding: 38px 42px;
  border-radius: 24px;
  text-align: center;
  background: rgba(30, 41, 75, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.badge {
  display: inline-block;
  margin: 0 0 14px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.15;
  letter-spacing: 0.04em;
}

.lead {
  margin: 16px auto 26px;
  max-width: 560px;
  color: #cbd5e1;
  font-weight: 700;
  line-height: 1.8;
}

.form {
  display: flex;
  gap: 12px;
  margin: 0 auto 22px;
}

input {
  flex: 1;
  width: 100%;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  outline: none;
  color: #f8fafc;
  font-size: 16px;
  background: rgba(15, 23, 42, 0.72);
}

input::placeholder {
  color: #94a3b8;
}

button {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 15px 24px;
  color: white;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #38bdf8, #8b5cf6, #ec4899);
  box-shadow: 0 12px 28px rgba(56, 189, 248, 0.24);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  box-shadow: none;
}

.qr-area {
  min-height: 260px;
  margin: 18px auto;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.qr-area canvas,
.qr-area img {
  width: 220px !important;
  height: 220px !important;
  padding: 12px;
  border-radius: 18px;
  background: #ffffff;
}

.hint {
  color: #94a3b8;
  font-weight: 700;
}

.download-btn {
  margin-top: 4px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(125, 211, 252, 0.38);
  box-shadow: none;
}

@media (max-width: 640px) {
  .card {
    padding: 30px 20px;
  }

  .form {
    flex-direction: column;
  }

  button {
    width: 100%;
  }
}
.softmotion-logo {
  margin: 24px auto 0;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f8fafc !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transition: 0.2s ease;
}

.softmotion-logo:hover {
  opacity: 1;
  transform: translateY(-1px);
  border-color: rgba(125, 211, 252, 0.45);
}

.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 900;
  color: #ffffff;
  background: linear-gradient(135deg, #38bdf8, #8b5cf6, #ec4899);
  box-shadow: 0 8px 18px rgba(56, 189, 248, 0.25);
}

.logo-text {
  letter-spacing: 0.03em;
  color: #f8fafc;
}
.download-btn {
  background: linear-gradient(135deg, #38bdf8, #8b5cf6, #ec4899);
  color: #ffffff !important;
  border: none;
  box-shadow: 0 12px 28px rgba(56, 189, 248, 0.28);
}

.download-btn:disabled {
  background: rgba(15, 23, 42, 0.55);
  color: #94a3b8 !important;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: none;
}
.download-btn,
.download-btn:disabled {
  background: linear-gradient(135deg, #38bdf8, #8b5cf6, #ec4899) !important;
  color: #ffffff !important;
  border: none !important;
  opacity: 1 !important;
  box-shadow: 0 14px 32px rgba(236, 72, 153, 0.32) !important;
}

.download-btn:disabled {
  cursor: not-allowed;
  filter: grayscale(0.15);
}
@media (max-width: 640px) {
  .app {
    padding: 28px 14px;
    align-items: flex-start;
  }

  .card {
    padding: 28px 18px;
    border-radius: 22px;
  }

  h1 {
    font-size: 36px;
    letter-spacing: 0.02em;
  }

  .lead {
    font-size: 15px;
  }

  .qr-area {
    min-height: 220px;
    padding: 18px;
  }

  .qr-area canvas,
  .qr-area img {
    width: 190px !important;
    height: 190px !important;
  }

  .softmotion-logo {
    width: 100%;
  }
}

/* 無料バッジ */
.badge-free-pill {
  display: inline-flex;
  align-items: center;
  background: #1D9E75;
  color: #E1F5EE;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.badge-free-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #1D9E75;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 4px;
  border: 1.5px solid #1D9E75;
  letter-spacing: 0.03em;
}
