:root {
  --bg: #0f0a1f;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-light: rgba(255, 255, 255, 0.12);
  --card-bg: #130d27;
  --text-main: #f7f5ff;
  --text-muted: rgba(247, 245, 255, 0.75);
  --accent: #f9844a;
  --accent-soft: rgba(249, 132, 74, 0.2);
  --highlight: #9775fa;
  --cta: #f25f8b;
  --container-max: 1140px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow-soft: 0 24px 60px rgba(13, 9, 24, 0.4);
  --shadow-card: 0 20px 40px rgba(12, 9, 23, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Noto Sans", "Noto Sans SC", "Noto Sans TC", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, rgba(151, 117, 250, 0.25), transparent 55%), radial-gradient(circle at bottom right, rgba(242, 95, 139, 0.25), transparent 55%), var(--bg);
  color: var(--text-main);
  line-height: 1.6;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(15, 10, 31, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.brand-mark {
  font-size: 1.4rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a {
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus {
  color: var(--text-main);
}

.nav-cta {
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  background: var(--highlight);
  color: #110c23;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.nav-cta:hover,
.nav-cta:focus {
  transform: translateY(-2px);
}

.locale-switcher select {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  padding: 0.45rem 2.2rem 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.95rem;
  appearance: none;
  position: relative;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 80vh;
  padding: 6rem 0 5rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: url("../assets/images/hero-banner.svg") center / cover no-repeat;
  opacity: 0.65;
  filter: saturate(120%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(17, 12, 35, 0.95) 0%, rgba(17, 12, 35, 0.75) 55%, rgba(17, 12, 35, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.hero-eyebrow {
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero-headline {
  font-size: clamp(2.5rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-subheadline {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.85rem 1.8rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
}

.btn-primary {
  background: var(--cta);
  color: #1b0f2a;
  box-shadow: 0 18px 45px rgba(242, 95, 139, 0.28);
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(242, 95, 139, 0.36);
}

.btn-outline {
  border: 1px solid rgba(247, 245, 255, 0.4);
  color: var(--text-main);
  background: transparent;
}

.btn-outline:hover,
.btn-outline:focus {
  border-color: rgba(247, 245, 255, 0.75);
  transform: translateY(-2px);
}

.section {
  padding: 5.5rem 0;
}

.section-lead {
  max-width: 640px;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.stats-cards,
.feature-cards,
.steps,
.guardian-cards,
.audience-grid,
.roadmap-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-card);
  min-height: 100%;
}

.stats .card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.feature-card {
  position: relative;
  padding-top: 2.8rem;
}

.feature-icon {
  width: 64px;
  height: 64px;
  position: absolute;
  top: -32px;
  left: 1.75rem;
  filter: drop-shadow(0 16px 30px rgba(11, 9, 24, 0.4));
}

.adaptation .split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 0.85rem 1rem;
}

.feature-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--highlight);
  flex-shrink: 0;
}

.adaptation-visual {
  justify-self: center;
  background: radial-gradient(circle at center, rgba(151, 117, 250, 0.3), transparent 60%);
  padding: 2rem;
  border-radius: 50%;
}

.steps .step-number {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--highlight);
  margin-bottom: 1rem;
}

.guard-card {
  position: relative;
  padding-top: 2.2rem;
}

.guard-card .badge {
  position: absolute;
  top: -22px;
  left: 1.75rem;
  background: var(--accent);
  color: #1b0f2a;
  font-weight: 700;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--bg);
  box-shadow: 0 16px 28px rgba(249, 132, 74, 0.35);
}

.insight-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.insight-list li {
  padding-left: 2.2rem;
  position: relative;
  color: var(--text-muted);
}

.insight-list li::before {
  content: "◆";
  position: absolute;
  left: 0.8rem;
  top: 0.1rem;
  color: var(--highlight);
}

.audience-grid {
  gap: 1.25rem;
}

.audience-card {
  font-weight: 500;
  background: linear-gradient(140deg, rgba(151, 117, 250, 0.18), rgba(242, 95, 139, 0.12));
}

.market-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-block {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border-radius: var(--radius-md);
  padding: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-card);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--highlight);
  display: block;
  margin-bottom: 0.5rem;
}

.market-notes {
  display: grid;
  gap: 1rem;
  color: var(--text-muted);
}

.vision {
  background: linear-gradient(140deg, rgba(151, 117, 250, 0.15), rgba(242, 95, 139, 0.1)), rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.vision p {
  max-width: 720px;
  margin: 0.75rem auto;
  color: var(--text-muted);
}

.roadmap-heading {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.roadmap-heading img {
  width: 64px;
  height: 64px;
}

.roadmap-grid {
  margin-bottom: 2.5rem;
}

.roadmap-card h3 {
  margin-bottom: 0.75rem;
}

.roadmap-columns {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 2rem;
}

.roadmap-columns h4 {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.roadmap-columns ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.cta {
  background: radial-gradient(circle at top right, rgba(242, 95, 139, 0.18), transparent 55%), rgba(255, 255, 255, 0.04);
}

.cta-content {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 6, 20, 0.9);
  color: var(--text-muted);
  text-align: center;
  font-size: 0.9rem;
}

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

  .locale-switcher select {
    font-size: 0.9rem;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 4rem 0;
  }

  .hero {
    padding: 5rem 0 4rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}
