:root {
  --ink: #0f1c2e;
  --ink-soft: #3a4a5f;
  --muted: #6b7a8f;
  --line: #d9e2ec;
  --paper: #f4f7fb;
  --white: #ffffff;
  --brand: #1a6fd4;
  --brand-deep: #0d4a94;
  --accent: #e8873a;
  --shadow: 0 18px 50px rgba(15, 28, 46, 0.08);
  --radius: 18px;
  --max: 1080px;
  --font: 'Sora', 'Noto Sans TC', 'Noto Sans SC', 'PingFang TC', 'PingFang SC', 'Microsoft JhengHei', 'Microsoft YaHei', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(26, 111, 212, 0.12), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, rgba(232, 135, 58, 0.1), transparent 55%),
    linear-gradient(180deg, #eef3f9 0%, var(--paper) 38%, #eef2f7 100%);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  text-decoration: underline;
}

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

.container {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(244, 247, 251, 0.86);
  border-bottom: 1px solid rgba(217, 226, 236, 0.8);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0;
  box-shadow: 0 10px 24px rgba(26, 111, 212, 0.28);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 17px;
  font-weight: 700;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--ink-soft);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-deep);
  background: rgba(26, 111, 212, 0.08);
  text-decoration: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
}

.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  padding: 8px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.lang-switch button:hover {
  color: var(--brand-deep);
}

.lang-switch button.active {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
}

.hero h1 .app-inline {
  color: var(--brand);
  font-style: normal;
}

.hero {
  padding: 72px 0 48px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(26, 111, 212, 0.08);
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-style: normal;
  color: var(--brand);
}

.lead {
  margin: 0 0 28px;
  max-width: 560px;
  color: var(--ink-soft);
  font-size: 17px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  box-shadow: 0 12px 28px rgba(26, 111, 212, 0.28);
}

.btn-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--line);
}

.hero-card {
  position: relative;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(160deg, #12345f 0%, #1a6fd4 55%, #4f97e8 100%);
  color: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 320px;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: auto -20% -30% 20%;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 65%);
}

.hero-card-inner {
  position: relative;
  z-index: 1;
}

.hero-card .app-name {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-card .app-sub {
  margin-top: 6px;
  opacity: 0.86;
  font-size: 14px;
}

.hero-card ul {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.hero-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
}

.dot {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: #ffd39a;
  flex-shrink: 0;
}

.section {
  padding: 28px 0 56px;
}

.section-head {
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 640px;
}

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

.card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(217, 226, 236, 0.9);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

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

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

.icon-pill {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: rgba(26, 111, 212, 0.1);
  color: var(--brand-deep);
  font-weight: 700;
  font-size: 14px;
}

.panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.panel h2,
.panel h3 {
  letter-spacing: -0.02em;
}

.info-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.info-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.info-list strong {
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}

.legal {
  padding: 40px 0 72px;
}

.legal .panel {
  padding: 36px 32px;
}

.legal h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.03em;
}

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

.legal h2 {
  margin: 28px 0 10px;
  font-size: 20px;
}

.legal h3 {
  margin: 20px 0 8px;
  font-size: 16px;
}

.legal p,
.legal li {
  color: var(--ink-soft);
}

.legal ul,
.legal ol {
  padding-left: 1.2em;
}

.legal li {
  margin: 6px 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  padding: 28px 0 36px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.footer-grid p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--ink-soft);
  font-size: 14px;
}

.note {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(232, 135, 58, 0.1);
  color: #8a4b12;
  font-size: 14px;
}

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

  .hero {
    padding-top: 40px;
  }

  .info-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .nav {
    align-items: flex-start;
    padding: 12px 0;
    flex-direction: column;
  }

  .nav-right,
  .nav-links {
    justify-content: flex-start;
    width: 100%;
  }
}
