:root {
  --bg: #07111f;
  --bg-2: #0b1730;
  --panel: rgba(11, 20, 38, 0.72);
  --panel-strong: rgba(13, 24, 45, 0.94);
  --text: #f4f7fb;
  --muted: #a7b4c7;
  --soft: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.12);
  --accent: #74e6c5;
  --accent-2: #ffbf69;
  --accent-3: #8cc8ff;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "IBM Plex Sans TC", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(116, 230, 197, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(140, 200, 255, 0.16), transparent 22%),
    linear-gradient(160deg, var(--bg), var(--bg-2) 60%, #050a12);
  overflow-x: hidden;
}

h1,
h2,
h3,
.eyebrow,
.panel__label,
.meta-pill,
.lang-btn,
.footer {
  font-family: "Space Grotesk", "IBM Plex Sans TC", sans-serif;
}

.bg-orb {
  position: fixed;
  inset: auto;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  animation: drift 16s ease-in-out infinite alternate;
}

.orb-a {
  top: -10rem;
  left: -10rem;
  background: rgba(116, 230, 197, 0.16);
}

.orb-b {
  right: -12rem;
  top: 16rem;
  background: rgba(255, 191, 105, 0.12);
  animation-duration: 20s;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.9), transparent 82%);
  pointer-events: none;
  z-index: 0;
}

.shell {
  position: relative;
  z-index: 1;
  width: min(1320px, calc(100vw - 24px));
  margin: 0 auto;
  padding: 28px 0 40px;
}

.hero {
  margin-bottom: 18px;
}

.hero__copy,
.hero__panel,
.summary-card,
.policy-card,
.footer {
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero__copy {
  border-radius: 30px;
  padding: 28px 30px;
  background: linear-gradient(180deg, rgba(18, 32, 56, 0.78), rgba(9, 18, 33, 0.72));
  backdrop-filter: blur(18px);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.74rem;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

h1 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero__lead {
  margin: 18px 0 0;
  max-width: 76ch;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

.glass {
  background: var(--panel);
  backdrop-filter: blur(18px);
  border-radius: 30px;
}

.policy-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.panel__label {
  margin: 0 0 8px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
}

.policy-card h2,
.summary-card h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.lang-switch {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.lang-btn.active {
  color: #07111f;
  background: linear-gradient(135deg, var(--accent), #f4fffb);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.policy-card {
  padding: 32px;
  background: var(--panel-strong);
}

.policy-header {
  margin-bottom: 18px;
}

.policy-sections {
  display: grid;
  gap: 16px;
}

.policy-section {
  padding: 20px 20px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.policy-section h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  letter-spacing: -0.03em;
}

.policy-section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
  white-space: pre-line;
}

.policy-section ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.policy-section li + li {
  margin-top: 8px;
}

.footer {
  margin-top: 18px;
  padding: 18px 24px;
  color: var(--muted);
  text-align: center;
  background: rgba(10, 18, 32, 0.76);
}

.reveal {
  animation: rise 700ms ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(26px, 18px, 0) scale(1.08);
  }
}

@media (max-width: 960px) {
  .hero__head {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100vw - 16px, 1320px);
    padding: 12px 0 20px;
  }

  .hero__copy,
  .policy-card {
    padding: 22px;
    border-radius: 24px;
  }

  .policy-header {
    flex-direction: column;
  }

  h1 {
    font-size: clamp(2.4rem, 14vw, 4rem);
  }
}
