:root {
  --blue: #1f56a9;
  --deep-blue: #173f8f;
  --purple: #8c7aba;
  --cyan: #39bfdf;
  --ink: #18376e;
  --text: #24314a;
  --muted: #71809a;
  --paper: #f4f7ff;
  --white: #ffffff;
  --line: #dde5f4;
  --shadow: 0 18px 40px rgba(25, 58, 115, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(57, 191, 223, 0.16), transparent 32rem),
    linear-gradient(90deg, #e8eefb, #ffffff 45%, #e9ecf7);
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.48;
}

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

button,
input,
select {
  font: inherit;
}

.phone-shell {
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: 88px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(244, 247, 255, 0.98)),
    var(--paper);
  box-shadow: 0 0 42px rgba(24, 55, 110, 0.16);
  overflow: hidden;
}

.hero-card {
  position: relative;
  background: var(--white);
}

.hero-card img,
.visual-band img,
.sample img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-actions {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pill {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 800;
  cursor: pointer;
}

.pill.primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 8px 18px rgba(31, 86, 169, 0.22);
}

.pill.outline {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(31, 86, 169, 0.22);
}

.pill.ghost {
  color: var(--deep-blue);
  background: #edf4ff;
}

.pill.full {
  width: 100%;
}

.quick-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: -14px 16px 0;
}

.quick-panel a {
  min-height: 82px;
  padding: 14px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.quick-panel span,
.quick-panel strong {
  display: block;
}

.quick-panel span {
  color: var(--muted);
  font-size: 12px;
}

.quick-panel strong {
  margin-top: 6px;
  color: var(--blue);
  font-size: 15px;
  line-height: 1.25;
}

.section {
  padding: 30px 18px;
}

.intro {
  padding-top: 28px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 28px;
  line-height: 1.16;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  color: var(--ink);
  font-size: 18px;
}

p {
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.tag-row button {
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  color: var(--white);
  background: var(--purple);
  font-weight: 800;
}

.visual-band,
.sample {
  padding-left: 0;
  padding-right: 0;
  background: var(--white);
}

.external-sample {
  width: calc(100% - 36px);
  margin: 16px 18px 0;
}

.section-title {
  margin-bottom: 16px;
}

.solution-list {
  display: grid;
  gap: 12px;
}

.solution-card {
  position: relative;
  overflow: hidden;
  min-height: 162px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.solution-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -44px;
  bottom: -54px;
  border: 22px solid rgba(57, 191, 223, 0.72);
  border-radius: 50%;
}

.solution-card span {
  color: var(--cyan);
  font-weight: 900;
}

.solution-card p {
  width: 84%;
  margin-bottom: 16px;
}

.solution-card button {
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  color: var(--white);
  background: var(--blue);
  font-weight: 800;
}

.booth-section {
  background:
    linear-gradient(180deg, #ffffff, #edf4ff);
}

.booth-img {
  display: block;
  width: calc(100% + 36px);
  max-width: none;
  margin: 0 -18px 16px;
}

.booth-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mission-list {
  display: grid;
  gap: 10px;
}

.mission-list label {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
}

.mission-list input {
  width: 20px;
  height: 20px;
  accent-color: var(--blue);
}

.progress-card,
.reward-card {
  display: grid;
  gap: 16px;
  margin-top: 14px;
  padding: 18px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--deep-blue), var(--purple));
}

.progress-card div {
  display: flex;
  justify-content: space-between;
  font-weight: 900;
}

progress {
  width: 100%;
  height: 12px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
}

progress::-webkit-progress-bar {
  background: rgba(255, 255, 255, 0.26);
}

progress::-webkit-progress-value {
  background: var(--cyan);
}

.poster-preview {
  display: grid;
  min-height: 360px;
  align-items: end;
  padding: 18px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(31, 86, 169, 0.92)),
    url("./assets/roquette-booth.png") center / cover;
  box-shadow: var(--shadow);
}

.poster-preview div {
  padding: 16px;
  border-radius: 8px;
  color: var(--white);
  background: rgba(23, 63, 143, 0.74);
}

.poster-preview strong,
.poster-preview span {
  display: block;
}

.poster-preview span {
  margin-top: 6px;
}

.upload-button {
  display: grid;
  min-height: 44px;
  place-items: center;
  margin-top: 12px;
  border-radius: 999px;
  color: var(--white);
  background: var(--purple);
  font-weight: 900;
}

.upload-button input {
  display: none;
}

.lottery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.lottery-grid span,
.lottery-grid button {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  text-align: center;
  color: var(--blue);
  background: var(--white);
  font-weight: 900;
}

.lottery-grid button {
  color: var(--white);
  background: var(--blue);
}

.lottery-grid .active {
  color: var(--white);
  background: var(--purple);
}

.draw-result {
  min-height: 24px;
  margin: 12px 0 0;
  text-align: center;
  font-weight: 800;
}

.reward-card {
  grid-template-columns: 1fr 126px;
  align-items: center;
  margin: 0 18px 30px;
}

.reward-card h2,
.reward-card p {
  color: var(--white);
}

.qr-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  width: 126px;
  height: 126px;
  padding: 10px;
  border-radius: 8px;
  background: var(--white);
}

.qr-box span {
  background: var(--blue);
}

.qr-box span:nth-child(2),
.qr-box span:nth-child(5) {
  background: var(--purple);
}

.qr-box strong {
  grid-column: 1 / -1;
  align-self: center;
  color: var(--blue);
  font-size: 12px;
  text-align: center;
}

.lead-form {
  padding-bottom: 34px;
  background: var(--white);
}

form {
  display: grid;
  gap: 12px;
}

label span {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 900;
}

input,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--text);
  background: #f8fbff;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--blue);
  font-weight: 800;
}

.bottom-nav {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: 12px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(calc(100% - 24px), 406px);
  transform: translateX(-50%);
  overflow: hidden;
  border: 1px solid rgba(31, 86, 169, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(24, 55, 110, 0.22);
  backdrop-filter: blur(14px);
}

.bottom-nav a {
  display: grid;
  min-height: 48px;
  place-items: center;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.solution-dialog {
  width: min(calc(100% - 32px), 390px);
  border: 0;
  border-radius: 8px;
  padding: 24px;
  color: var(--text);
  box-shadow: var(--shadow);
}

.solution-dialog::backdrop {
  background: rgba(23, 63, 143, 0.36);
}

.close-dialog {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  color: var(--blue);
  background: #edf4ff;
  font-size: 22px;
}

.solution-dialog ul {
  margin: 0 0 18px;
  padding-left: 20px;
  color: var(--ink);
}

@media (min-width: 700px) {
  body {
    padding: 32px 0;
  }

  .phone-shell {
    border-radius: 18px;
  }
}
