:root {
  --bg: #f6f4fb;
  --bg-soft: #fbfaff;
  --ink: #1f1a33;
  --ink-soft: #5a5372;
  --ink-mute: #8b859e;
  --primary: #7c5cbf;
  --primary-deep: #5f43a0;
  --primary-soft: #ede6fb;
  --accent: #f3a9c6;
  --accent-soft: #fde9f1;
  --cream: #fdf3e3;
  --card: #ffffff;
  --line: #e8e2f3;
  --shadow: 0 18px 50px rgba(100, 80, 180, 0.12);
  --shadow-sm: 0 8px 24px rgba(100, 80, 180, 0.08);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-deep);
}

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

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 244, 251, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(232, 226, 243, 0.7);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
  letter-spacing: 0.2px;
}

.brand .logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  background: #fff;
}

.brand small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--ink);
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #8b6fd1, #6a4bb0);
  color: #fff;
  box-shadow: 0 12px 28px rgba(106, 75, 176, 0.32);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(106, 75, 176, 0.4);
}

.btn-ghost {
  background: #fff;
  color: var(--primary);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  color: var(--primary-deep);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 76px 0 84px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(124, 92, 191, 0.22), transparent 68%);
  filter: blur(6px);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -180px;
  left: -140px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(243, 169, 198, 0.26), transparent 68%);
  filter: blur(6px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-deep);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.hero h1 .grad {
  background: linear-gradient(120deg, #7c5cbf, #c471a6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 18px;
  color: var(--ink-soft);
  margin-bottom: 30px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 13.5px;
  color: var(--ink-mute);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-meta i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-art .card-art {
  width: 100%;
  max-width: 420px;
  border-radius: 32px;
  background: linear-gradient(160deg, #ffffff, #f3eefc);
  box-shadow: var(--shadow);
  padding: 34px;
}

.hero-art .card-art img {
  width: 100%;
  border-radius: 20px;
}

.hero-art .float-badge {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 9px;
}

.float-badge .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7c5cbf;
  box-shadow: 0 0 0 5px rgba(124, 92, 191, 0.15);
}

.badge-a {
  top: 8%;
  left: -18px;
  animation: floaty 5s ease-in-out infinite;
}

.badge-b {
  bottom: 10%;
  right: -14px;
  animation: floaty 6s ease-in-out infinite 0.6s;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

/* ---------- Sections ---------- */
.section {
  padding: 76px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 52px;
}

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

.section-title h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.4px;
  margin-bottom: 14px;
}

.section-title p {
  color: var(--ink-soft);
  font-size: 16.5px;
  max-width: 620px;
  margin: 0 auto;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

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

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
  background: var(--primary-soft);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--ink-soft);
  font-size: 15.5px;
}

.feature-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag {
  font-size: 12.5px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink-mute);
  border: 1px solid var(--line);
}

/* Steps */
.steps {
  background: linear-gradient(180deg, #fff, var(--bg-soft));
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
}

.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b6fd1, #6a4bb0);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 18px;
}

.step h3 {
  font-size: 18.5px;
  margin-bottom: 10px;
}

.step p {
  color: var(--ink-soft);
  font-size: 15px;
}

/* Gallery / guide */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.guide-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.guide-item .emoji {
  font-size: 30px;
  margin-bottom: 12px;
}

.guide-item h4 {
  font-size: 16.5px;
  margin-bottom: 6px;
}

.guide-item p {
  color: var(--ink-soft);
  font-size: 14.5px;
}

/* Specs / Info */
.info-band {
  background: linear-gradient(135deg, #2b2340, #40356b);
  color: #fff;
  border-radius: 28px;
  padding: 52px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.info-band::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 169, 198, 0.35), transparent 70%);
}

.info-band h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 16px;
}

.info-band p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}

.info-band .facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.fact {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 18px;
}

.fact strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}

.fact span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.contact-card .ic {
  font-size: 30px;
  margin-bottom: 12px;
}

.contact-card h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.contact-card a,
.contact-card p {
  color: var(--ink-soft);
  font-size: 15px;
  word-break: break-all;
}

/* ---------- Inner pages (policy etc.) ---------- */
.page-hero {
  padding: 60px 0 28px;
  text-align: center;
}

.page-hero h1 {
  font-size: 38px;
  font-weight: 900;
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--ink-mute);
  font-size: 14.5px;
}

.policy {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 48px;
  margin: 20px 0 80px;
}

.policy h2 {
  font-size: 21px;
  font-weight: 700;
  margin: 34px 0 12px;
  padding-left: 14px;
  border-left: 4px solid var(--primary);
}

.policy h2:first-of-type {
  margin-top: 0;
}

.policy h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin: 20px 0 8px;
  color: var(--ink);
}

.policy p,
.policy li {
  color: var(--ink-soft);
  font-size: 15.5px;
}

.policy ul,
.policy ol {
  padding-left: 24px;
  margin: 8px 0;
}

.policy li {
  margin-bottom: 6px;
}

.policy table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 14.5px;
}

.policy th,
.policy td {
  border: 1px solid var(--line);
  padding: 10px 14px;
  text-align: left;
  color: var(--ink-soft);
  vertical-align: top;
}

.policy th {
  background: var(--bg-soft);
  color: var(--ink);
  font-weight: 600;
}

.policy .note {
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 14.5px;
  color: var(--ink-soft);
  border-left: 4px solid var(--accent);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #221c37;
  color: rgba(255, 255, 255, 0.72);
  padding: 56px 0 28px;
  margin-top: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer .brand {
  color: #fff;
  margin-bottom: 14px;
}

.site-footer .brand small {
  color: rgba(255, 255, 255, 0.55);
}

.site-footer h5 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 14px;
  font-weight: 700;
}

.site-footer ul {
  list-style: none;
}

.site-footer li {
  margin-bottom: 9px;
  font-size: 14px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a:hover {
  color: #fff;
}

.site-footer .about {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 320px;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom .legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-art {
    order: -1;
  }
  .hero h1 {
    font-size: 40px;
  }
  .feature-grid,
  .info-band {
    grid-template-columns: 1fr;
  }
  .step-list {
    grid-template-columns: 1fr;
  }
  .info-band {
    padding: 34px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: #fff;
    padding: 16px 20px 22px;
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-toggle {
    display: block;
  }
  .hero h1 {
    font-size: 33px;
  }
  .hero {
    padding: 48px 0 56px;
  }
  .section {
    padding: 52px 0;
  }
  .section-title h2 {
    font-size: 27px;
  }
  .policy {
    padding: 26px 20px;
  }
  .page-hero h1 {
    font-size: 29px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .float-badge {
    display: none;
  }
}
