:root {
  --bg: #fbf8f3;
  --ink: #1d2939;
  --muted: #667085;
  --brand: #7c5cff;
  --brand-2: #ffb45c;
  --card: #ffffff;
  --line: #e8e2d8;
  --radius: 18px;
  --shadow: 0 12px 32px rgba(23, 37, 84, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans TC", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 248, 243, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.lang-switch {
  display: flex;
  gap: 4px;
}

.lang-switch button {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lang-switch button[aria-pressed="true"] {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.hero {
  background:
    radial-gradient(1200px 500px at 15% -10%, rgba(124, 92, 255, 0.16), transparent 60%),
    radial-gradient(900px 420px at 90% 0%, rgba(255, 180, 92, 0.22), transparent 55%);
}

.hero-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 96px 24px 88px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  color: var(--brand);
  font-weight: 600;
  letter-spacing: 0.12em;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(32px, 5.4vw, 56px);
  line-height: 1.18;
  margin: 0 auto 18px;
  max-width: 720px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.hero-sub {
  color: var(--muted);
  font-size: clamp(16px, 2.4vw, 20px);
  margin: 0 auto 32px;
  max-width: 560px;
}

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

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--brand), #9b7dff);
  color: #fff;
  box-shadow: 0 10px 24px rgba(124, 92, 255, 0.28);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
}

.section {
  padding: 72px 24px;
}

.section-soft {
  background: linear-gradient(180deg, #f4f0ff, var(--bg));
}

.section-inner {
  max-width: 1040px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800;
  text-align: center;
  margin: 0 0 12px;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  margin: 0 0 40px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
}

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

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
}

.platform {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
  box-shadow: var(--shadow);
}

.platform-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 12px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(124, 92, 255, 0.18), rgba(255, 180, 92, 0.22));
  position: relative;
}

.platform-icon::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 7px;
  border: 2px solid var(--brand);
  opacity: 0.65;
}

.platform-name {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

.platform-state {
  display: inline-block;
  font-size: 13px;
  color: var(--muted);
  background: #f3f0fa;
  border-radius: 999px;
  padding: 3px 12px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 36px 24px;
}

.footer-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.footer-brand {
  font-weight: 700;
  color: var(--ink);
  font-size: 16px;
  margin: 0;
}

.footer-contact,
.footer-copy {
  margin: 0;
}

.footer-contact a {
  color: var(--brand);
  text-decoration: none;
}

@media (max-width: 640px) {
  .hero-inner {
    padding: 64px 20px 60px;
  }

  .section {
    padding: 56px 20px;
  }
}
