:root {
  --bg-0: #050a19;
  --bg-1: #0a1230;
  --surface: rgba(9, 18, 49, 0.74);
  --surface-strong: rgba(17, 27, 62, 0.9);
  --text: #f2f5ff;
  --muted: #acb8de;
  --brand: #6d7cff;
  --brand-2: #8b4dff;
  --gold: #f2c678;
  --line: rgba(255, 255, 255, 0.16);
  --max: 1160px;

  /* Premium Intelligence Domain Colors */
  --color-life: #8cc8ff;
  --color-money: #89f6cb;
  --color-work: #ffc16a;
  --color-data: #8df4ff;
  --color-grow: #7df19d;
  --color-game: #ec7cff;
  --color-verse: #7cc1ff;
  --color-emotion: #f4a7e7;
  --color-create: #7fe8ff;
  --color-trade: #5b8def;
  --color-influ: #ff7a90;
  --color-sme: #34d399;
  --color-pet: #43c7a8;
  --color-wisdom: #d6a84e;
  --color-care: #ff9472;
  --color-oper: #6aa9e6;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Manrope", "Sarabun", "Noto Sans Thai", sans-serif;
  color: var(--text);
  min-height: 100%;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(circle at 8% 4%, rgba(242, 198, 120, 0.12), transparent 18%),
    radial-gradient(circle at 90% 12%, rgba(109, 124, 255, 0.22), transparent 24%),
    linear-gradient(150deg, var(--bg-0) 0%, var(--bg-1) 52%, #070d24 100%);
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  background:
    linear-gradient(180deg, rgba(6, 10, 26, 0.88), rgba(6, 10, 26, 0.56));
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  font-size: 1.05rem;
}

.brand img {
  width: 1.55rem;
  height: 1.55rem;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(242, 198, 120, 0.35));
}

.brand span {
  color: var(--text);
}

.brand strong {
  color: var(--gold);
  font-size: 0.92rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
}

nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border-radius: 99px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a:hover {
  color: var(--text);
}

nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

nav a.active,
nav a[aria-current="page"] {
  color: var(--text);
}

nav a.active::after,
nav a[aria-current="page"]::after {
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--brand), var(--gold));
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.22rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
}

.language-switcher button {
  min-width: 2.35rem;
  border: 0;
  border-radius: 999px;
  padding: 0.42rem 0.58rem;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.language-switcher button.active {
  color: #06101f;
  background: linear-gradient(90deg, var(--gold), #ffe5a3);
  box-shadow: 0 8px 18px rgba(242, 198, 120, 0.22);
}

.hero,
.page-hero,
.section {
  position: relative;
}

.hero {
  position: relative;
  padding: 5rem 0 4.4rem;
  display: grid;
  gap: 1.5rem;
  overflow: hidden;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.hero::before {
  background:
    linear-gradient(120deg, rgba(3, 10, 30, 0.2), rgba(7, 13, 33, 0.86));
}

.hero.landing-hero {
  min-height: 560px;
  background: linear-gradient(150deg, rgba(6, 11, 31, 0.12), rgba(6, 8, 20, 0.55)),
    url("assets/backgrounds/dnafinity-bg-th.png?v=20260608-0701") center/cover no-repeat;
  border: 1px solid var(--line);
  border-radius: 1rem;
  isolation: isolate;
}

.hero.landing-hero::before {
  background:
    radial-gradient(circle at 8% 4%, rgba(242, 198, 120, 0.18), transparent 25%),
    radial-gradient(circle at 90% 12%, rgba(109, 124, 255, 0.2), transparent 32%),
    linear-gradient(150deg, rgba(3, 10, 30, 0.18), rgba(7, 13, 33, 0.88));
}

.hero.landing-hero .actions,
.hero.landing-hero .metrics {
  position: relative;
  z-index: 1;
}

.landing-bg-hit-zone {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
}

.hero-copy a,
.hero-copy button,
.hero-copy .metric-link,
.orbit-core {
  position: relative;
  z-index: 3;
}

.landing-hero-content {
  position: relative;
  z-index: 1;
}

.landing-bg-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 9999;
  background: rgba(3, 7, 20, 0.86);
  backdrop-filter: blur(7px);
}

.landing-bg-lightbox.show {
  display: flex;
}

.landing-bg-lightbox img {
  max-width: min(96vw, 1400px);
  max-height: min(90vh, 860px);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.landing-bg-lightbox p {
  position: absolute;
  bottom: 14px;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.landing-bg-close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 0;
  border-radius: 999px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #dbe4ff;
  background: rgba(17, 24, 54, 0.86);
  border: 1px solid var(--line);
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
}

.page-hero::before {
  background:
    linear-gradient(150deg, rgba(3, 10, 30, 0.26), rgba(7, 13, 33, 0.92));
}

.hero::after {
  content: "";
  position: absolute;
  right: -16%;
  top: -20%;
  width: 700px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(242, 198, 120, 0.35), transparent 50%),
    radial-gradient(circle at 80% 75%, rgba(109, 124, 255, 0.35), transparent 60%);
  z-index: -2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border: 1px solid rgba(242, 198, 120, 0.35);
  color: var(--gold);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  line-height: 1.2;
}

h1 {
  margin-top: 0.85rem;
  font-size: clamp(2.1rem, 4.4vw, 3.45rem);
  max-width: 11ch;
  background: linear-gradient(135deg, #ffffff 30%, #c5d2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  background: linear-gradient(135deg, #ffffff 50%, #b9c8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.1rem;
}

h4 {
  margin-bottom: 0.45rem;
}

p {
  color: var(--muted);
  line-height: 1.75;
  max-width: 75ch;
}

.hero p,
.page-hero p {
  max-width: 65ch;
}

.actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: 0.2s ease;
}

button.btn {
  font: inherit;
  cursor: pointer;
}

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

.btn-primary {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: #fff;
}

.btn-primary:hover {
  filter: brightness(1.06);
}

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

.section {
  padding: 2.8rem 0;
}

.section-head {
  margin-bottom: 1rem;
}

.section-title-line {
  display: inline-block;
  border-left: 3px solid var(--gold);
  padding-left: 0.6rem;
}

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

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.2rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(242, 198, 120, 0.4);
}

.app-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.app-card-head {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.75rem;
}

.app-card img {
  width: 1.8rem;
  height: 1.8rem;
  object-fit: contain;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: 0.2rem;
  padding-top: 1rem;
}

.apps-compact-hero {
  padding-top: 1.45rem;
  padding-bottom: 0.45rem;
}

.apps-compact-hero h1 {
  max-width: none;
  margin-top: 0.55rem;
  font-size: clamp(2.2rem, 4vw, 3rem);
}

.apps-compact-hero p {
  max-width: 56ch;
  line-height: 1.55;
}

.app-tile {
  --tile-bg: url("assets/backgrounds/muai-bg-en.png");
  --tile-accent: #8cc8ff;
  position: relative;
  min-height: 218px;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(5, 10, 25, 0.28), rgba(5, 10, 25, 0.96)),
    var(--tile-bg) center/cover no-repeat;
}

.app-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(4, 9, 25, 0.54), rgba(4, 9, 25, 0.1)),
    var(--tile-bg) center/cover no-repeat;
  opacity: 0.74;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.app-tile::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 68%;
  background:
    linear-gradient(180deg, transparent, rgba(4, 8, 24, 0.9) 34%, rgba(4, 8, 24, 0.98)),
    linear-gradient(90deg, color-mix(in srgb, var(--tile-accent) 22%, transparent 78%), transparent 70%);
}

.app-tile:hover::before {
  opacity: 0.82;
  transform: scale(1.03);
}

.app-tile > * {
  position: relative;
  z-index: 1;
}

.app-tile h3 {
  width: fit-content;
  border-left: 3px solid var(--tile-accent);
  padding-left: 0.72rem;
  font-size: 1.55rem;
  line-height: 1.05;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.78);
}

.app-tile p {
  max-width: 18rem;
  color: #e2e8ff;
  font-weight: 600;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.72);
}

.app-tile-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.app-tile-cta {
  width: fit-content;
  max-width: 100%;
  margin-top: 0.2rem;
  padding: 0.58rem 0.9rem;
  border-radius: 999px;
  color: #061024;
  background: linear-gradient(90deg, var(--tile-accent), #ffffff);
  font-size: 0.88rem;
  font-weight: 800;
  overflow-wrap: anywhere;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.app-info-btn {
  margin-top: 0.2rem;
  padding: 0.58rem 0.86rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: #eef4ff;
  background: rgba(4, 10, 27, 0.62);
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.app-info-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.3rem;
  background: rgba(3, 7, 20, 0.82);
  backdrop-filter: blur(8px);
}

.app-info-modal.show {
  display: flex;
}

.app-info-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: min(86vh, 760px);
  overflow-y: auto;
  border: 1px solid rgba(242, 198, 120, 0.34);
  border-radius: 1rem;
  padding: 1.5rem;
  background:
    linear-gradient(140deg, rgba(14, 23, 58, 0.96), rgba(5, 10, 28, 0.96)),
    radial-gradient(circle at 100% 0%, rgba(242, 198, 120, 0.12), transparent 40%);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}

.app-info-dialog h2 {
  margin-top: 0.7rem;
}

.app-info-dialog p {
  margin-bottom: 1.15rem;
  color: #d4dcfb;
}

.app-info-details {
  display: grid;
  gap: 0.9rem;
  margin: 0.95rem 0 1.15rem;
}

.app-info-details section {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.85rem;
  padding: 0.95rem;
  background: rgba(255, 255, 255, 0.045);
}

.app-info-details h3 {
  margin-bottom: 0.45rem;
  color: var(--gold);
  font-size: 0.95rem;
}

.app-info-details ul {
  margin: 0;
  padding-left: 1.1rem;
}

.app-info-details li {
  color: #d4dcfb;
  line-height: 1.6;
  margin-bottom: 0.35rem;
}

.app-info-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #dbe4ff;
  background: rgba(17, 24, 54, 0.86);
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
}

.app-card-visual {
  display: none;
}

.app-card-visual img {
  width: 4.1rem;
  height: 4.1rem;
  object-fit: contain;
}

.tile-core {
  --tile-bg: url("assets/backgrounds/muai-bg-en.png");
  --tile-accent: #8cc8ff;
}

.tile-fin {
  --tile-bg: url("assets/backgrounds/findna-bg-en.png?v=20260619");
  --tile-accent: #89f6cb;
}

.tile-game {
  --tile-bg: url("assets/backgrounds/muai-game-bg-en.png");
  --tile-accent: #ec7cff;
}

.tile-verse {
  --tile-bg: url("assets/backgrounds/muai-verse-banner.png");
  --tile-accent: #7cc1ff;
}

.tile-datadna {
  --tile-bg: url("assets/backgrounds/datadna-bg-en.png");
  --tile-accent: #8df4ff;
}

.tile-bloomdna {
  --tile-bg: url("assets/backgrounds/bloomdna-bg-en.png");
  --tile-accent: #7df19d;
}

.tile-workdna {
  --tile-bg: url("assets/backgrounds/workdna-bg-en.webp");
  --tile-accent: #ffc16a;
}

.tile-emotiq {
  --tile-bg: url("assets/backgrounds/emotiq-bg-en.png");
  --tile-accent: #f4a7e7;
}

.tile-appforge {
  --tile-bg: url("assets/backgrounds/appforge-bg-th.png");
  --tile-accent: #7fe8ff;
}

.tile-tradedna {
  --tile-bg: url("assets/backgrounds/tradedna-bg-en.png");
  --tile-accent: #5b8def;
}

.tile-infludna {
  --tile-bg: url("assets/backgrounds/infludna-bg-en.png?v=20260619");
  --tile-accent: #ff7a90;
}

.tile-smedna {
  --tile-bg: url("assets/backgrounds/smedna-bg-en.png?v=20260619");
  --tile-accent: #34d399;
}

.tile-petdna {
  --tile-bg: url("assets/backgrounds/petdna-bg-en.png?v=20260619");
  --tile-accent: #43c7a8;
}

.tile-wisdomdna {
  --tile-bg: url("assets/backgrounds/wisdomdna-bg-en.png?v=20260619");
  --tile-accent: #d6a84e;
}

.tile-caredna {
  --tile-bg: url("assets/backgrounds/caredna-bg-en.png?v=20260619");
  --tile-accent: #ff9472;
}

.tile-operdna {
  --tile-bg: url("assets/backgrounds/operdna-bg-en.png?v=20260619");
  --tile-accent: #6aa9e6;
}

.founder-spotlight {
  display: grid;
  gap: 1rem;
  grid-template-columns: 260px 1fr;
  align-items: start;
}

.founder-media,
.founder-infographic {
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  overflow: hidden;
}

.founder-media {
  aspect-ratio: 1 / 1;
  background: linear-gradient(140deg, rgba(16, 24, 63, 0.75), rgba(10, 16, 40, 0.85));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem;
}

.founder-media img,
.founder-infographic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-infographic {
  margin: 0;
}

.founder-infographic img {
  display: block;
  aspect-ratio: 16 / 8.5;
  object-fit: contain;
}

.founder-infographic figcaption {
  color: var(--muted);
  padding: 0.85rem;
  border-top: 1px solid var(--line);
}

.founder-highlights {
  margin-top: 1rem;
}

.founder-highlights li {
  margin-bottom: 0.55rem;
}

body.app-page {
  --app-accent: var(--gold);
  --app-surface: rgba(242, 198, 120, 0.12);
  --app-hero: url("assets/backgrounds/muai-bg-th.png");
}

body.app-page .hero-split {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 1rem;
  align-items: center;
}

body.app-page .hero-split .page-asset {
  margin: 0;
  background: rgba(3, 8, 26, 0.55);
  border: 1px solid color-mix(in srgb, var(--app-accent) 38%, white 12%);
  box-shadow: 0 12px 34px rgba(6, 8, 24, 0.45);
}

body.app-page .hero-split .page-asset img {
  border: 1px solid color-mix(in srgb, var(--app-accent) 28%, transparent 72%);
}

body.app-page .page-hero.hero-split {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.5rem;
  z-index: 0;
  background:
    linear-gradient(130deg, rgba(8, 13, 35, 0.94), rgba(14, 20, 52, 0.78)),
    radial-gradient(circle at 80% 20%, var(--app-surface), transparent 60%);
}

body.app-page .page-hero.hero-split::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: var(--app-hero) center/cover no-repeat;
  opacity: 0.34;
  transform: scale(1.01);
}

body.app-page .page-hero.hero-split::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(130deg, rgba(8, 13, 35, 0.05), rgba(6, 11, 29, 0.45));
  z-index: 0;
}

body.app-page .page-hero.hero-split > :not(.app-bg-hit-zone) {
  position: relative;
  z-index: 2;
}

body.app-page .page-hero.hero-split > .app-bg-hit-zone {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: zoom-in;
}

.app-bg-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  z-index: 9999;
  background: rgba(3, 7, 20, 0.9);
  backdrop-filter: blur(7px);
}

.app-bg-lightbox.show {
  display: flex;
}

.app-bg-lightbox img {
  width: auto;
  height: auto;
  max-width: 96vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.62);
}

.app-bg-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #dbe4ff;
  background: rgba(17, 24, 54, 0.86);
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
}

.app-page aside {
  border-top: 1px solid var(--line);
  padding-top: 0.8rem;
}

.feature-matrix {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  overflow: hidden;
}

.feature-matrix th,
.feature-matrix td {
  border-bottom: 1px solid var(--line);
  padding: 0.72rem 0.8rem;
  text-align: left;
  vertical-align: top;
}

.feature-matrix th {
  color: var(--text);
  background: rgba(18, 28, 63, 0.85);
}

body.app-page .feature-matrix th {
  color: color-mix(in srgb, var(--app-accent) 78%, var(--text) 22%);
}

.feature-matrix tbody tr:last-child td {
  border-bottom: 0;
}

.feature-matrix thead th:first-child,
.feature-matrix tbody td:first-child {
  min-width: 220px;
}

.feature-matrix td:nth-child(2),
.feature-matrix td:nth-child(3),
.feature-matrix td:nth-child(4) {
  white-space: nowrap;
}

body.app-page .feature-matrix tbody tr:hover {
  background: color-mix(in srgb, var(--app-accent) 14%, transparent 86%);
}

.feature-matrix .tick {
  color: #8bf2b3;
  font-weight: 800;
}

.feature-matrix .dash {
  color: var(--muted);
}

.brand-pills {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.6rem;
}

.brand-pill {
  padding: 0.34rem 0.72rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--app-accent) 45%, white 25%);
  color: color-mix(in srgb, var(--app-accent) 85%, white 15%);
  background: color-mix(in srgb, var(--app-accent) 18%, transparent 82%);
  font-size: 0.8rem;
  font-weight: 700;
}

body[data-app="core"] {
  --app-accent: #8cc8ff;
  --app-surface: rgba(140, 200, 255, 0.16);
  --app-hero: url("assets/backgrounds/muai-bg-en.png");
}

body[data-app="fin"] {
  --app-accent: #89f6cb;
  --app-surface: rgba(137, 246, 203, 0.14);
  --app-hero: url("assets/backgrounds/findna-bg-en.png?v=20260619");
}

body[data-app="game"] {
  --app-accent: #ec7cff;
  --app-surface: rgba(236, 124, 255, 0.14);
  --app-hero: url("assets/backgrounds/muai-game-bg-en.png");
}

body[data-app="verse"] {
  --app-accent: #7cc1ff;
  --app-surface: rgba(124, 193, 255, 0.14);
  --app-hero: url("assets/backgrounds/muai-verse-banner.png");
}

body[data-app="datadna"] {
  --app-accent: #8df4ff;
  --app-surface: rgba(141, 244, 255, 0.15);
  --app-hero: url("assets/backgrounds/datadna-bg-en.png");
}

body[data-app="workdna"] {
  --app-accent: #ffc16a;
  --app-surface: rgba(255, 193, 106, 0.16);
  --app-hero: url("assets/backgrounds/workdna-bg-en.webp");
}

body[data-app="emotiq"] {
  --app-accent: #f4a7e7;
  --app-surface: rgba(244, 167, 231, 0.14);
  --app-hero: url("assets/backgrounds/emotiq-bg-en.png");
}

body[data-app="bloomdna"] {
  --app-accent: #7df19d;
  --app-surface: rgba(125, 241, 157, 0.14);
  --app-hero: url("assets/backgrounds/bloomdna-bg-en.png");
}

body[data-app="appforge"] {
  --app-accent: #7fe8ff;
  --app-surface: rgba(127, 232, 255, 0.14);
  --app-hero: url("assets/backgrounds/appforge-bg-th.png");
}

body[data-app="tradedna"] {
  --app-accent: #5b8def;
  --app-surface: rgba(91, 141, 239, 0.14);
  --app-hero: url("assets/backgrounds/tradedna-bg-en.png");
}

.tag {
  color: #8cc8ff;
  border: 1px solid rgba(140, 200, 255, 0.3);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-size: 0.8rem;
  width: fit-content;
}

.tag-success {
  color: #8ff2c0;
  border-color: rgba(143, 242, 192, 0.4);
}

.tag-warn {
  color: #ffd78f;
  border-color: rgba(255, 215, 143, 0.4);
}

ul.clean {
  margin: 0;
  padding: 0;
  list-style: none;
}

ul.clean li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.6rem;
  color: var(--muted);
}

ul.clean li::before {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0.58rem;
  background: linear-gradient(90deg, var(--gold), #ffdca3);
}

.metrics {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.metric {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  padding: 0.9rem;
}

.metric-link {
  display: block;
  color: var(--text);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.metric-link:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 198, 120, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.metric strong {
  color: var(--gold);
  font-size: 1.4rem;
  display: block;
}

.cta-banner {
  margin: 2.5rem 0 0.2rem;
  border: 1px solid rgba(242, 198, 120, 0.42);
  border-radius: 1.1rem;
  padding: 1.5rem;
  background: linear-gradient(120deg, rgba(109, 124, 255, 0.18), rgba(139, 77, 255, 0.2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-banner-simple {
  justify-content: flex-start;
}

.page-hero {
  padding-top: 3.4rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

input,
textarea {
  border-radius: 0.7rem;
  border: 1px solid var(--line);
  background: rgba(10, 16, 40, 0.92);
  color: var(--text);
  padding: 0.75rem 0.85rem;
  font: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.price {
  color: var(--gold);
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0.2rem 0 0.65rem;
}

footer {
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2rem;
}

small {
  color: var(--muted);
}

.ghost-link {
  color: #9ee0ff;
  font-weight: 600;
}

.page-asset {
  width: 100%;
  height: 150px;
  margin-bottom: 0.8rem;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.08), transparent 45%),
    #0d1540;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-asset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
}

.breadcrumb {
  margin-top: 0.75rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.breadcrumb a {
  color: #a2b4ff;
}

.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 60;
}

.progress-inner {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  transition: width 0.08s linear;
}

.reveal {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(30px) scale(0.97);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity, filter;
}

.reveal.in {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

@media (max-width: 900px) {
  .founder-spotlight {
    grid-template-columns: 1fr;
  }

  .founder-media {
    max-width: 260px;
    justify-self: start;
  }

  .founder-infographic img {
    aspect-ratio: auto;
  }

  .grid-4,
  .grid-3,
  .apps-grid,
  .grid-2,
  .two-col,
  .metrics {
    grid-template-columns: 1fr;
  }

  .nav-wrap {
    flex-wrap: wrap;
    padding: 0.6rem 0;
  }

  nav {
    width: 100%;
    order: 3;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 0.35rem;
  }

  .language-switcher {
    margin-left: auto;
  }

  .hero::after {
    width: 430px;
  }

  body.app-page .hero-split {
    grid-template-columns: 1fr;
  }

  .app-tile {
    min-height: 210px;
  }

  .app-card-visual {
    width: 4.4rem;
    height: 4.4rem;
  }

  .app-card-visual img {
    width: 3.35rem;
    height: 3.35rem;
  }
}

/* Ecosystem-scale redesign */
.ecosystem-hero {
  position: relative;
  min-height: 640px;
  margin-top: 1.2rem;
  padding: clamp(2rem, 5vw, 4.6rem);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.4rem;
  background:
    linear-gradient(130deg, rgba(5, 10, 25, 0.4), rgba(7, 12, 31, 0.92)),
    url("assets/backgrounds/dnafinity-bg-th.png?v=20260616-1000") center/cover no-repeat;
  isolation: isolate;
  cursor: pointer;
}

.ecosystem-hero a,
.ecosystem-hero button,
.ecosystem-hero .orbit-card {
  cursor: pointer;
}

.hero-mouse-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 77, 255, 0.12) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.ecosystem-hero:hover .hero-mouse-glow {
  opacity: 1;
}

.ecosystem-hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 20%, rgba(242, 198, 120, 0.18), transparent 22%),
    radial-gradient(circle at 72% 35%, rgba(125, 241, 157, 0.12), transparent 20%),
    radial-gradient(circle at 82% 74%, rgba(141, 244, 255, 0.16), transparent 24%);
}

.hero-copy,
.hero-orbit {
  position: relative;
  z-index: 1;
}

.hero-copy h1,
.hero-title-container {
  max-width: 820px;
  margin: 0.75rem 0 1.2rem;
  font-size: clamp(2.5rem, 6.2vw, 5.2rem);
  line-height: 1.35; /* Increased spacing to prevent clipping of Thai tone marks like ไม้เอก */
  letter-spacing: -0.02em;
  padding: 0.15em 0;
  background: linear-gradient(135deg, #ffffff 10%, #b8c7ff 45%, #8b4dff 80%, #f2c678 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 12px rgba(109, 124, 255, 0.25));
}

.hero-tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.2rem 0 1.6rem;
}

.hero-tag-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1.05rem;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(8px);
  color: var(--text);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.25, 1);
}

.hero-tag-item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.065);
}

.hero-icon {
  width: 0.95rem;
  height: 0.95rem;
  stroke-width: 2.2;
}

/* Custom coloring based on category */
.tag-life {
  --accent-color: var(--color-life);
}
.tag-life:hover {
  border-color: rgba(140, 200, 255, 0.35);
  box-shadow: 0 0 15px rgba(140, 200, 255, 0.18);
  color: var(--color-life);
}

.tag-work {
  --accent-color: var(--color-work);
}
.tag-work:hover {
  border-color: rgba(255, 193, 106, 0.35);
  box-shadow: 0 0 15px rgba(255, 193, 106, 0.18);
  color: var(--color-work);
}

.tag-money {
  --accent-color: var(--color-money);
}
.tag-money:hover {
  border-color: rgba(137, 246, 203, 0.35);
  box-shadow: 0 0 15px rgba(137, 246, 203, 0.18);
  color: var(--color-money);
}

.tag-data {
  --accent-color: var(--color-data);
}
.tag-data:hover {
  border-color: rgba(141, 244, 255, 0.35);
  box-shadow: 0 0 15px rgba(141, 244, 255, 0.18);
  color: var(--color-data);
}

.tag-create {
  --accent-color: var(--color-create);
}
.tag-create:hover {
  border-color: rgba(127, 232, 255, 0.35);
  box-shadow: 0 0 15px rgba(127, 232, 255, 0.18);
  color: var(--color-create);
}

.hero-copy p {
  max-width: 690px;
  color: #d8e0ff;
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.35rem;
}

.ecosystem-metrics {
  max-width: 680px;
}

.ecosystem-apps-lightbox img {
  max-width: min(96vw, 1500px);
  max-height: min(88vh, 900px);
  object-fit: contain;
}

.hero-orbit {
  position: relative;
  min-height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at 50% 50%, rgba(109, 124, 255, 0.18), transparent 24%),
    linear-gradient(145deg, rgba(7, 14, 39, 0.78), rgba(6, 10, 25, 0.86));
  box-shadow: inset 0 0 0 1px rgba(242, 198, 120, 0.08), 0 28px 80px rgba(0, 0, 0, 0.34);
}

.hero-orbit::before,
.hero-orbit::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit::before {
  width: 450px;
  height: 450px;
  animation: orbitRotateClockwise 90s linear infinite;
  z-index: 0;
}

.hero-orbit::after {
  width: 270px;
  height: 270px;
  border-color: rgba(242, 198, 120, 0.22);
  animation: orbitRotateCounter 60s linear infinite;
  z-index: 0;
}

@keyframes orbitRotateClockwise {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes orbitRotateCounter {
  from {
    transform: translate(-50%, -50%) rotate(360deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}

.orbit-core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 170px;
  min-height: 170px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.35rem;
  text-align: center;
  border: 1px solid rgba(242, 198, 120, 0.38);
  border-radius: 999px;
  background: rgba(7, 13, 35, 0.86);
  box-shadow: 0 0 38px rgba(242, 198, 120, 0.12);
  animation: corePulse 4s ease-in-out infinite;
}

.orbit-core img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

.orbit-core span {
  max-width: 120px;
  color: var(--muted);
  font-size: 0.78rem;
}

.orbit-card {
  position: absolute;
  z-index: 3;
  transform: translate(-50%, -50%);
  padding: 0.36rem 0.78rem;
  white-space: nowrap;
  border: 1px solid rgba(242, 198, 120, 0.28);
  border-radius: 999px;
  background: rgba(12, 20, 52, 0.94);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.orbit-card span {
  display: block;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* app name carried for a11y/SEO but the orbit shows the compact domain label */
.orbit-card strong {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* 16-app elliptical ring — evenly spaced; cards are center-anchored via base transform */
.orbit-life    { left: 50%;   top: 10%;   animation: floatY1 6.0s ease-in-out infinite; }
.orbit-money   { left: 66.1%; top: 13%;   animation: floatY2 7.0s ease-in-out infinite 0.2s; }
.orbit-work    { left: 79.7%; top: 21.7%; animation: floatY3 8.0s ease-in-out infinite 0.4s; }
.orbit-data    { left: 88.8%; top: 34.7%; animation: floatY1 6.5s ease-in-out infinite 0.5s; }
.orbit-grow    { left: 92%;   top: 50%;   animation: floatY2 7.5s ease-in-out infinite 0.3s; }
.orbit-game    { left: 88.8%; top: 65.3%; animation: floatY3 8.5s ease-in-out infinite 0.6s; }
.orbit-verse   { left: 79.7%; top: 78.3%; animation: floatY1 6.2s ease-in-out infinite 0.8s; }
.orbit-emotion { left: 66.1%; top: 87%;   animation: floatY2 6.8s ease-in-out infinite 0.4s; }
.orbit-create  { left: 50%;   top: 90%;   animation: floatY3 7.2s ease-in-out infinite 0.6s; }
.orbit-trade   { left: 33.9%; top: 87%;   animation: floatY1 7.0s ease-in-out infinite 0.1s; }
.orbit-influ   { left: 20.3%; top: 78.3%; animation: floatY2 6.6s ease-in-out infinite 0.35s; }
.orbit-sme     { left: 11.2%; top: 65.3%; animation: floatY3 7.4s ease-in-out infinite 0.55s; }
.orbit-pet     { left: 8%;    top: 50%;   animation: floatY2 6.9s ease-in-out infinite 0.15s; }
.orbit-wisdom  { left: 11.2%; top: 34.7%; animation: floatY1 7.1s ease-in-out infinite 0.45s; }
.orbit-care    { left: 20.3%; top: 21.7%; animation: floatY3 6.7s ease-in-out infinite 0.25s; }
.orbit-oper    { left: 33.9%; top: 13%;   animation: floatY2 7.3s ease-in-out infinite 0.65s; }

/* Animation Keyframes */
@keyframes floatY1 {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -6px; }
}

@keyframes floatY2 {
  0%, 100% { margin-top: 0; }
  50% { margin-top: 6px; }
}

@keyframes floatY3 {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -4px; }
}

@keyframes corePulse {
  0%, 100% {
    box-shadow: 0 0 38px rgba(242, 198, 120, 0.12), inset 0 0 15px rgba(242, 198, 120, 0.05);
    border-color: rgba(242, 198, 120, 0.38);
  }
  50% {
    box-shadow: 0 0 52px rgba(242, 198, 120, 0.26), inset 0 0 25px rgba(242, 198, 120, 0.1);
    border-color: rgba(242, 198, 120, 0.58);
  }
}

/* Unified hover — springy scale from center + gold glow (scales to any number of cards) */
.orbit-card:hover {
  transform: translate(-50%, -50%) scale(1.09);
  border-color: var(--gold);
  box-shadow: 0 0 26px rgba(242, 198, 120, 0.42);
  z-index: 5;
}

.split-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}

.lane-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
}

.lane-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 1.5rem 1.25rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.2rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(12px);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.25, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.lane-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--brand));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lane-card:hover {
  transform: translateY(-6px);
  border-color: rgba(242, 198, 120, 0.35);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.25),
    inset 0 0 0 1px rgba(242, 198, 120, 0.05);
}

.lane-card:hover::before {
  opacity: 1;
}

.lane-card span {
  position: absolute;
  right: -10px;
  bottom: -15px;
  color: var(--gold);
  font-size: 6.5rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  opacity: 0.04;
  line-height: 1;
  pointer-events: none;
  font-family: "Manrope", sans-serif;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.lane-card:hover span {
  opacity: 0.09;
  transform: scale(1.08) translate(-5px, -5px);
}

.lane-card h3 {
  margin: 0 0 0.8rem;
  font-size: 1.35rem;
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: initial;
  text-fill-color: initial;
}

.product-showcase {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 1rem;
}

.product-feature {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.35rem;
  background: linear-gradient(145deg, rgba(17, 27, 62, 0.8), rgba(10, 18, 48, 0.9));
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.25, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.product-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background: var(--feature-bg) center/cover no-repeat;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 0;
}

.product-feature:hover::before {
  opacity: 0.32;
  transform: scale(1.06);
}

.product-feature > * {
  position: relative;
  z-index: 1;
}

.product-feature img {
  width: 3.8rem;
  height: 3.8rem;
  object-fit: contain;
  margin-bottom: 3rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.product-feature:hover img {
  transform: scale(1.06);
}

.product-feature span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.product-feature h3 {
  margin: 0.35rem 0 0.45rem;
  font-size: 1.85rem;
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: initial;
  text-fill-color: initial;
}

.feature-life { --feature-bg: url("assets/backgrounds/muai-bg-en.png"); }
.feature-data { --feature-bg: url("assets/backgrounds/datadna-bg-en.png"); }
.feature-growth { --feature-bg: url("assets/backgrounds/bloomdna-bg-en.png"); }
.feature-invest { --feature-bg: url("assets/backgrounds/tradedna-bg-en.png"); }
.feature-create { --feature-bg: url("assets/backgrounds/appforge-bg-th.png"); }
.feature-create::before { opacity: 0.48; }
.feature-create:hover::before { opacity: 0.68; }
.feature-work { --feature-bg: url("assets/backgrounds/workdna-bg-en.webp"); }
.feature-influ { --feature-bg: url("assets/backgrounds/infludna-bg-en.png"); }
.feature-sme { --feature-bg: url("assets/backgrounds/smedna-bg-en.png"); }
.feature-care { --feature-bg: url("assets/backgrounds/caredna-bg-en.png"); }
.feature-oper { --feature-bg: url("assets/backgrounds/operdna-bg-en.png"); }
.feature-work::before { opacity: 0.28; }
.feature-work:hover::before { opacity: 0.48; }

/* Custom glows on hover */
.feature-life:hover {
  border-color: rgba(140, 200, 255, 0.35);
  box-shadow: 0 12px 30px rgba(140, 200, 255, 0.15);
  transform: translateY(-6px);
}
.feature-life:hover img {
  filter: drop-shadow(0 0 15px rgba(140, 200, 255, 0.5));
}

.feature-data:hover {
  border-color: rgba(141, 244, 255, 0.35);
  box-shadow: 0 12px 30px rgba(141, 244, 255, 0.15);
  transform: translateY(-6px);
}
.feature-data:hover img {
  filter: drop-shadow(0 0 15px rgba(141, 244, 255, 0.5));
}

.feature-growth:hover {
  border-color: rgba(125, 241, 157, 0.35);
  box-shadow: 0 12px 30px rgba(125, 241, 157, 0.15);
  transform: translateY(-6px);
}
.feature-growth:hover img {
  filter: drop-shadow(0 0 15px rgba(125, 241, 157, 0.5));
}

.feature-invest:hover {
  border-color: rgba(91, 141, 239, 0.35);
  box-shadow: 0 12px 30px rgba(91, 141, 239, 0.15);
  transform: translateY(-6px);
}
.feature-invest:hover img {
  filter: drop-shadow(0 0 15px rgba(91, 141, 239, 0.5));
}

.feature-create:hover {
  border-color: rgba(127, 232, 255, 0.35);
  box-shadow: 0 12px 30px rgba(127, 232, 255, 0.15);
  transform: translateY(-6px);
}
.feature-create:hover img {
  filter: drop-shadow(0 0 15px rgba(127, 232, 255, 0.5));
}

.feature-work:hover {
  border-color: rgba(255, 193, 106, 0.35);
  box-shadow: 0 12px 30px rgba(255, 193, 106, 0.15);
  transform: translateY(-6px);
}
.feature-work:hover img {
  filter: drop-shadow(0 0 15px rgba(255, 193, 106, 0.5));
}

.domain-table {
  display: grid;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.15rem;
  overflow: hidden;
}

.domain-table a {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 1rem;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.domain-table a:last-child {
  border-bottom: 0;
}

.domain-table strong {
  color: var(--gold);
}

.domain-table span {
  color: var(--muted);
}

.app-timeline-section {
  padding-top: 1.4rem;
}

.tl-chart {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at 15% 15%, rgba(242, 198, 120, 0.12), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(97, 213, 255, 0.14), transparent 30%),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
  overflow: hidden;
  padding: clamp(0.8rem, 2vw, 1.2rem);
}

.tl-header {
  display: flex;
  justify-content: space-between;
  padding: 0 0 0.6rem;
  margin-left: 150px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tl-month {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.tl-body {
  display: grid;
  gap: 0.45rem;
  padding: 0.7rem 0 0.3rem;
}

.tl-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tl-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 150px;
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}

.tl-track {
  flex: 1;
  position: relative;
  height: 1.6rem;
  min-width: 0;
}

.tl-bar {
  position: absolute;
  top: 50%;
  height: 1.2rem;
  transform: translateY(-50%);
  border-radius: 0.6rem;
  min-width: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tl-bar:hover {
  transform: translateY(-50%) scaleY(1.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.tl-bar-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
  pointer-events: none;
  white-space: nowrap;
  line-height: 1;
}

.tl-bar-gold { background: linear-gradient(90deg, #f2c678, #ffe6ad); }
.tl-bar-blue { background: linear-gradient(90deg, #61d5ff, #7c5cff); }
.tl-bar-green { background: linear-gradient(90deg, #7df19d, #89f6cb); }
.tl-bar-cyan { background: linear-gradient(90deg, #8df4ff, #61d5ff); }
.tl-bar-pink { background: linear-gradient(90deg, #ec7cff, #f4a7e7); }
.tl-bar-orange { background: linear-gradient(90deg, #ffc16a, #f2c678); }

.tl-date {
  flex-shrink: 0;
  width: 120px;
  text-align: right;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

.tl-stats {
  flex-shrink: 0;
  width: 180px;
  text-align: right;
  font-size: 0.6rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.tl-compare {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.55rem;
  letter-spacing: 0.05em;
}

.tl-footnote {
  margin: 0.7rem 0 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
}

.tl-role-info {
  margin: 1rem 0 0.3rem;
  padding: 0.7rem 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.025);
  border-radius: 0.6rem;
  text-align: center;
}

.tl-role-header {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.tl-role-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
}

.tl-role-tag {
  font-size: 0.65rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.2rem 0.5rem;
  border-radius: 0.4rem;
  font-weight: 500;
  line-height: 1.3;
}

.tl-role-note {
  margin: 0.5rem 0 0;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  font-weight: 400;
}

@media (max-width: 860px) {
  .tl-header { margin-left: 0; }
  .tl-label { width: auto; font-size: 0.78rem; }
  .tl-stats { width: auto; font-size: 0.6rem; }
  .tl-compare { font-size: 0.5rem; }
  .tl-row { flex-wrap: wrap; gap: 0.25rem; }
  .tl-track { order: 3; width: 100%; }
}

.apps-portfolio-hero {
  padding-top: 2.1rem;
  padding-bottom: 0.5rem;
}

.apps-portfolio-hero h1 {
  max-width: 16ch;
}

.apps-portfolio-hero p {
  margin-bottom: 0;
  line-height: 1.55;
}

.app-cluster-nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.85rem;
}

.app-cluster-nav a {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
  color: #d9e2ff;
  background: rgba(255, 255, 255, 0.055);
}

.app-cluster-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
  padding-top: 0.75rem;
  padding-bottom: 1rem;
}

.cluster-panel {
  min-height: 118px;
  padding: 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(242, 198, 120, 0.13), transparent 34%),
    rgba(255, 255, 255, 0.04);
}

.cluster-panel span {
  color: #9ee0ff;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cluster-panel strong {
  display: block;
  margin: 0.42rem 0 0.25rem;
  font-size: 1.08rem;
}

.cluster-panel p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
  margin: 0;
}

.apps-grid-scaled {
  padding-top: 0;
}

@media (max-width: 980px) {
  .ecosystem-hero,
  .product-showcase {
    grid-template-columns: 1fr;
  }

  .hero-orbit {
    min-height: 430px;
  }

  .lane-grid,
  .app-cluster-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ecosystem-hero {
    width: min(100% - 1rem, var(--max));
    padding: 1.3rem;
    min-height: auto;
  }

  .hero-copy h1 {
    font-size: clamp(2.35rem, 16vw, 4rem);
  }

  .hero-orbit {
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    padding: 1rem;
  }

  .hero-orbit::before,
  .hero-orbit::after {
    display: none;
  }

  /* one selector covers every card → no app can be missed */
  .orbit-core,
  .orbit-card {
    position: static;
    width: auto;
    min-height: auto;
    transform: none;
  }

  .orbit-core {
    grid-column: 1 / -1;
    border-radius: 1rem;
    padding: 0.9rem;
  }

  .orbit-card {
    text-align: left;
    padding: 0.5rem 0.72rem;
  }

  /* mobile grid reveals the app name (hidden on the desktop ring) */
  .orbit-card strong {
    position: static;
    width: auto;
    height: auto;
    clip: auto;
    display: block;
    color: var(--text);
    font-size: 0.9rem;
    line-height: 1.15;
    margin-top: 1px;
  }

  .orbit-card span {
    font-size: 0.6rem;
  }

  .orbit-grow:hover,
  .orbit-card:hover {
    transform: none;
  }

  .lane-grid,
  .app-cluster-board,
  .domain-table a {
    grid-template-columns: 1fr;
  }

  .split-head {
    align-items: start;
    flex-direction: column;
  }
}

/* About Page Mission & Impact Section */
.mission-impact-section {
  position: relative;
}

.mission-list {
  display: grid;
  gap: 1.25rem;
  margin-top: 1rem;
}

.mission-list li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mission-list strong {
  color: var(--gold);
  font-size: 1.1rem;
}

.mission-list span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.impact-focus {
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
}

.impact-focus strong {
  display: block;
  color: var(--brand);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.impact-focus p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.north-star-box {
  background: rgba(242, 198, 120, 0.035);
  border: 1px dashed rgba(242, 198, 120, 0.25);
  border-radius: 0.85rem;
  padding: 1.35rem;
}

.north-star-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(242, 198, 120, 0.3);
  border-radius: 99px;
  padding: 0.2rem 0.55rem;
  margin-bottom: 0.75rem;
}

.ecosystem-image-section {
  padding-top: 0.5rem;
  padding-bottom: 3rem;
}

.ecosystem-fig {
  margin: 0;
  text-align: center;
}

.ecosystem-img {
  max-width: 100%;
  height: auto;
  border-radius: 0.8rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.ecosystem-fig figcaption {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.north-star-box strong {
  display: block;
  font-size: 1.35rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.north-star-box p {
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
  color: var(--muted);
}
