:root {
  --bg: #efe9f0;
  --surface: #fcfbff;
  --text: #1f2330;
  --muted: #67667b;
  --primary: #d6ccfa;
  --primary-dark: #b8abe9;
  --accent: #f5e4b4;
  --border: #e8e1ef;
  --dark: #1e2128;
  --shadow: 0 18px 38px rgba(39, 34, 52, 0.1);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Noto Sans TC", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ece5ee 0%, #f2edf4 38%, #f8f5f0 100%);
  line-height: 1.6;
}

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(252, 250, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(232, 225, 239, 0.9);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.brand img {
  width: 46px;
  height: auto;
}

.main-nav {
  display: inline-flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  font-weight: 500;
  color: #3b3f4f;
}

.main-nav a:hover {
  color: #7c70bb;
}

.hero {
  position: relative;
  padding: 88px 0 48px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(214, 204, 250, 0.7), rgba(214, 204, 250, 0));
  top: -180px;
  left: -120px;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(245, 228, 180, 0.8), rgba(245, 228, 180, 0));
  right: -120px;
  bottom: -160px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: #7d70bd;
  font-weight: 700;
  letter-spacing: 0.3px;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
}

.hero-copy {
  margin: 18px 0 28px;
  color: var(--muted);
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  padding: 11px 18px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: var(--dark);
  box-shadow: 0 10px 22px rgba(245, 228, 180, 0.45);
}

.btn-primary:hover {
  background: #efd99f;
}

.btn-secondary {
  background: var(--primary);
  color: #2b2f3d;
  border-color: #cbc0f3;
}

.btn-secondary:hover {
  background: var(--primary-dark);
}

.btn-dark {
  background: #8a78d1;
  color: #fff;
  box-shadow: 0 12px 22px rgba(138, 120, 209, 0.35);
}

.btn-dark:hover {
  background: #7562be;
}

.hero-panel {
  background: #f8f5ff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}

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

.hero-panel p {
  margin: 10px 0 16px;
  color: var(--muted);
}

.hero-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.hero-panel li {
  padding: 10px 12px;
  border-radius: 10px;
  background: #f1ebff;
  color: #34374a;
}

.hero-panel li:nth-child(2) {
  background: #f8efcf;
}

.hero-panel li span {
  font-weight: 800;
  margin-right: 8px;
  color: #7264b5;
}

.section {
  padding: 56px 0;
}

.section-soft {
  background: #f2edf6;
  border-top: 1px solid #e5deef;
  border-bottom: 1px solid #e5deef;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.section-heading .eyebrow {
  margin-bottom: 6px;
}

.platform-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.platform-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 24px rgba(47, 61, 102, 0.09);
}

.platform-card.market {
  background: #fff8e8;
  border-top: 5px solid #f2deab;
}

.platform-card.chat {
  background: #f2ecff;
  border-top: 5px solid #cdbff5;
}

.card-label {
  margin: 0 0 8px;
  color: #6c6a82;
  font-size: 0.92rem;
}

.platform-card h3 {
  margin: 0;
  font-size: 1.5rem;
}

.platform-card p {
  margin: 12px 0;
  color: #52536b;
}

.platform-card ul {
  margin: 0 0 18px;
  padding-left: 18px;
  color: #3f4257;
}

.steps {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.steps article {
  background: #fbf8ff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}

.steps span {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #ede6ff;
  color: #7568b8;
  font-weight: 800;
}

.steps h3 {
  margin: 0 0 8px;
}

.steps p {
  margin: 0;
  color: #545771;
}

.about-box {
  background: #fdfcff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
}

.about-box h2 {
  margin-top: 0;
}

.about-box p {
  margin-bottom: 0;
  color: #565a75;
}

.site-footer {
  padding: 20px 0 38px;
}

.footer-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(253, 251, 255, 0.96);
  box-shadow: 0 12px 28px rgba(39, 34, 52, 0.08);
  padding: 20px 24px 16px;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.footer-brand {
  min-width: 280px;
  max-width: 420px;
}

.footer-brand-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 52px;
  height: auto;
}

.footer-brand-name {
  color: #4e5370;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer-brand-title {
  margin: 14px 0 6px;
  color: #3b3f57;
  font-size: clamp(1.2rem, 2.1vw, 1.8rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.footer-brand-copy {
  margin: 0;
  color: #6b708d;
  font-size: 0.95rem;
  line-height: 1.55;
}

.footer-links-block {
  min-width: 280px;
}

.footer-links-title {
  margin: 2px 0 10px;
  color: #8b82b8;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.footer-links a {
  width: min(420px, 100%);
  border: 1px solid #e3dcf1;
  background: #f7f3ff;
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.footer-links a:hover {
  border-color: #cec3eb;
  background: #f2ecff;
  transform: translateY(-1px);
}

.footer-links a span {
  color: #5f4eb0;
  font-size: 1.06rem;
  font-weight: 800;
}

.footer-links a small {
  color: #6b6d84;
  font-size: 0.93rem;
  font-weight: 600;
}

.footer-bottom {
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.footer-bottom span {
  color: #938da8;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.footer-bottom a {
  color: #625f79;
  font-size: 0.95rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .hero-grid,
  .platform-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 72px;
  }

  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .footer-brand {
    min-width: auto;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .main-nav {
    display: none;
  }

  .section {
    padding: 48px 0;
  }

  .footer-card {
    padding: 16px;
  }

  .footer-links a {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}
