:root {
  font-family: 'Inter', 'Noto Sans TC', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #f7f3ff;
  background: #07050d;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --bg: #07050d;
  --panel: rgba(18, 13, 31, 0.72);
  --panel-strong: #110c1e;
  --line: rgba(211, 187, 255, 0.14);
  --muted: #aaa1ba;
  --purple: #a87cff;
  --purple-bright: #cbb1ff;
  --pink: #efabff;
  --cyan: #92e6ff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--bg); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: rgba(168, 124, 255, 0.35); color: white; }

.app-shell {
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 68% 13%, rgba(123, 73, 255, 0.16), transparent 23rem),
    radial-gradient(circle at 14% 30%, rgba(229, 134, 255, 0.07), transparent 20rem),
    linear-gradient(180deg, #090611 0%, #07050d 42%, #090611 100%);
}

.starfield {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.9) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(186,150,255,.8) 0 1px, transparent 1.5px);
  background-size: 119px 119px, 187px 187px;
  background-position: 19px 31px, 43px 87px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

.section-wrap,
.site-header,
.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px;
  color: #0a0712; font-weight: 900; font-size: 17px;
  background: linear-gradient(135deg, #f2ddff 0%, #a77cff 54%, #64d8ff 130%);
  box-shadow: 0 0 28px rgba(168,124,255,.25);
}
.brand-mark.small { width: 31px; height: 31px; border-radius: 10px; font-size: 14px; }
.brand-copy { display: grid; line-height: 1; gap: 5px; }
.brand-copy strong { font-size: 15px; letter-spacing: .08em; }
.brand-copy span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .24em; }

.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a { color: #b9b2c4; text-decoration: none; font-size: 13px; font-weight: 600; transition: color .2s ease; }
.site-nav a:hover { color: white; }
.menu-button { display: none; }

.hero {
  min-height: 670px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
  align-items: center;
  gap: 54px;
  position: relative;
  padding-block: 68px 92px;
}

.hero-copy { position: relative; z-index: 2; }
.eyebrow-chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; margin-bottom: 25px;
  border: 1px solid var(--line); border-radius: 99px; background: rgba(255,255,255,.025);
  color: #c9c0d8; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #86ffc4; box-shadow: 0 0 14px #86ffc4; }
.hero h1 {
  margin: 0;
  max-width: 10.5ch;
  font-family: 'Noto Sans TC', 'Inter', system-ui, sans-serif;
  font-size: clamp(58px, 6.2vw, 92px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 800;
  text-wrap: balance;
}
.hero h1 span {
  display: inline-block;
  padding-bottom: .06em;
  color: transparent;
  background: linear-gradient(95deg, #f8f2ff 5%, #b69aff 54%, #e4b0ff 98%);
  background-clip: text;
  -webkit-background-clip: text;
}
.hero-lead { margin: 30px 0 0; max-width: 620px; color: #b5adbf; font-size: 16px; line-height: 1.95; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.button {
  min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  padding: 0 21px; border-radius: 14px; text-decoration: none; font-size: 12px; font-weight: 700;
  border: 1px solid var(--line); transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); border-color: rgba(202,176,255,.45); }
.button-primary { color: #100b1b; background: linear-gradient(135deg, #efe3ff, #a984ff); border: 0; }
.button-ghost { color: #d4ccde; background: rgba(255,255,255,.025); }
.hero-meta { margin-top: 55px; display: flex; gap: 55px; }
.hero-meta div { display: grid; gap: 7px; }
.hero-meta span { color: #6f667e; font-size: 9px; font-weight: 700; letter-spacing: .18em; }
.hero-meta strong { color: #c7bfd1; font-size: 11px; font-weight: 600; }

.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.orb-one { width: 420px; height: 420px; background: rgba(132, 88, 245, .16); box-shadow: 0 0 100px rgba(124, 79, 244, .22); }
.orb-two { width: 310px; height: 310px; border: 1px solid rgba(211,187,255,.12); box-shadow: inset 0 0 50px rgba(175,119,255,.06); }
.avatar-frame {
  width: min(470px, 100%); aspect-ratio: 1 / 1.06; position: relative; overflow: hidden; border-radius: 42% 42% 25% 25% / 30% 30% 18% 18%;
  background: radial-gradient(circle at 50% 42%, rgba(177,127,255,.22), rgba(17,11,29,.66) 58%, rgba(8,6,14,.94));
  border: 1px solid rgba(219,198,255,.18);
  box-shadow: 0 30px 90px rgba(0,0,0,.45), inset 0 0 70px rgba(164,107,255,.08);
}
.avatar-frame::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 -50px 80px rgba(7,5,13,.35); pointer-events: none; }
.avatar-frame img { width: 104%; height: 104%; object-fit: contain; position: absolute; left: -2%; bottom: -3%; z-index: 2; filter: drop-shadow(0 25px 30px rgba(0,0,0,.22)); }
.avatar-grid { position: absolute; inset: 0; opacity: .32; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 34px 34px; mask-image: radial-gradient(circle, black, transparent 70%); }
.avatar-badge { position: absolute; z-index: 4; border: 1px solid rgba(218,196,255,.16); background: rgba(10,7,17,.7); backdrop-filter: blur(12px); color: #d2c4e7; border-radius: 99px; padding: 8px 12px; font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.badge-top { top: 26px; right: 25px; }
.badge-bottom { left: 26px; bottom: 25px; color: #8affc8; }

.ticker { border-block: 1px solid var(--line); background: rgba(255,255,255,.018); overflow: hidden; }
.ticker-track { width: max-content; min-width: 100%; display: flex; justify-content: center; align-items: center; gap: 32px; padding: 16px 24px; color: #7f758f; font-size: 9px; font-weight: 800; letter-spacing: .23em; }
.ticker-track i { color: #a783ff; font-style: normal; font-size: 8px; }

.section-block { padding-block: 115px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-bottom: 44px; }
.section-heading > div { min-width: 0; }
.section-index { color: #8a78aa; font-size: 9px; font-weight: 800; letter-spacing: .22em; }
.section-heading h2 { margin: 11px 0 0; font-size: clamp(35px, 4vw, 54px); letter-spacing: -.045em; }
.section-heading > p { margin: 0 0 7px; max-width: 430px; color: #898091; font-size: 13px; line-height: 1.85; }
.compact-heading { margin-bottom: 34px; }

.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.project-card {
  min-height: 330px; position: relative; overflow: hidden; padding: 28px; border: 1px solid var(--line); border-radius: 22px;
  background: linear-gradient(145deg, rgba(23,17,38,.77), rgba(12,9,20,.82)); text-decoration: none;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.project-card::before { content: ''; position: absolute; width: 160px; height: 160px; border-radius: 50%; right: -70px; top: -90px; background: rgba(160,112,255,.11); filter: blur(8px); transition: transform .25s ease; }
.project-card:hover { transform: translateY(-4px); border-color: rgba(199,172,255,.29); background: linear-gradient(145deg, rgba(28,20,47,.9), rgba(12,9,20,.9)); }
.project-card:hover::before { transform: scale(1.35); }
.project-topline { display: flex; align-items: center; justify-content: space-between; }
.project-symbol { color: #b896ff; font-size: 22px; }
.project-status { border: 1px solid var(--line); border-radius: 99px; padding: 6px 9px; color: #9f96aa; font-size: 8px; font-weight: 700; }
.status-active { color: #8fffc8; }
.status-development { color: #d4b0ff; }
.status-private { color: #9f96aa; }
.project-number { position: absolute; right: 25px; bottom: 11px; color: rgba(255,255,255,.025); font-size: 96px; font-weight: 800; letter-spacing: -.08em; }
.project-eyebrow { margin: 68px 0 8px; color: #7f748d; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.project-card h3 { margin: 0; font-size: 25px; letter-spacing: -.025em; }
.project-description { margin: 15px 0 0; max-width: 420px; color: #9990a5; font-size: 12px; line-height: 1.8; }
.project-link { position: absolute; left: 28px; bottom: 27px; color: #c6b1ed; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.status-panel {
  min-height: 520px; display: grid; grid-template-columns: .92fr 1.08fr; gap: 30px; align-items: center; padding: 48px;
  border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(135deg, rgba(17,12,28,.9), rgba(10,7,17,.7));
}
.status-orbit { height: 390px; position: relative; display: grid; place-items: center; }
.orbit-center { width: 90px; height: 90px; z-index: 3; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg,#e9dbff,#9870ff); color: #120c20; font-size: 28px; font-weight: 900; box-shadow: 0 0 55px rgba(153,112,255,.28); }
.orbit-ring { position: absolute; border: 1px solid rgba(196,164,255,.15); border-radius: 50%; }
.ring-one { width: 220px; height: 220px; }
.ring-two { width: 350px; height: 350px; border-style: dashed; opacity: .65; }
.orbit-node { position: absolute; width: 11px; height: 11px; border: 2px solid #b18cff; background: #100b1b; border-radius: 50%; box-shadow: 0 0 14px rgba(177,140,255,.8); }
.node-one { transform: translate(107px,-57px); }
.node-two { transform: translate(-139px,83px); }
.node-three { transform: translate(32px,172px); }
.status-copy h3 { margin: 13px 0; font-size: clamp(32px, 4vw, 50px); letter-spacing: -.05em; }
.status-copy > p { max-width: 560px; color: #9991a4; font-size: 13px; line-height: 1.85; }
.domain-list { margin-top: 30px; border-top: 1px solid var(--line); }
.domain-list div { display: grid; grid-template-columns: 74px 1fr 90px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.domain-list span { color: #a27eff; font-weight: 800; }
.domain-list strong { color: #c7bfce; font-weight: 500; }
.domain-list em { color: #6f657b; font-size: 9px; font-style: normal; text-align: right; text-transform: uppercase; letter-spacing: .12em; }

.closing { text-align: center; padding-top: 95px; padding-bottom: 120px; }
.closing-kicker { color: #806f9e; font-size: 9px; font-weight: 800; letter-spacing: .25em; }
.closing h2 { max-width: 840px; margin: 15px auto; font-size: clamp(38px, 5.2vw, 70px); line-height: 1.02; letter-spacing: -.055em; }
.closing > p:not(.closing-kicker) { color: #8e8598; font-size: 13px; }
.closing a { display: inline-block; margin-top: 26px; color: #c5aaff; font-size: 11px; font-weight: 700; text-underline-offset: 5px; }

.site-footer { min-height: 110px; padding-block: 30px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; color: #665e70; font-size: 9px; }
.site-footer > div { display: flex; align-items: center; gap: 11px; }
.site-footer p { margin: 0; }
.site-footer > p { text-align: center; }
.site-footer > span { text-align: right; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 72px; gap: 20px; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-meta { justify-content: center; }
  .hero-visual { min-height: 490px; }
  .avatar-frame { width: min(430px, 86vw); }
  .project-grid { grid-template-columns: 1fr; }
  .status-panel { grid-template-columns: 1fr; padding: 30px; }
  .status-orbit { height: 330px; }
  .section-heading { align-items: start; flex-direction: column; gap: 18px; }
  .site-footer { grid-template-columns: 1fr; gap: 14px; text-align: center; }
  .site-footer > div { justify-content: center; }
  .site-footer > p, .site-footer > span { text-align: center; }
}

@media (max-width: 640px) {
  .section-wrap, .site-header, .site-footer { width: min(100% - 28px, 1180px); }
  .site-header { height: 74px; }
  .menu-button { width: 40px; height: 40px; display: grid; place-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.025); }
  .menu-button span { display: block; width: 16px; height: 1px; background: #ded5e8; }
  .site-nav { display: none; position: absolute; top: 67px; right: 0; width: 190px; padding: 18px; flex-direction: column; align-items: flex-start; gap: 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(10,7,17,.96); backdrop-filter: blur(16px); }
  .site-nav.is-open { display: flex; }
  .hero { min-height: auto; padding-block: 64px 68px; }
  .hero h1 { max-width: none; font-size: clamp(48px, 14vw, 68px); line-height: 1.1; letter-spacing: -.025em; }
  .hero-lead { font-size: 14px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-meta { gap: 26px; flex-direction: column; }
  .hero-visual { min-height: 390px; }
  .avatar-frame { width: min(360px, 92vw); border-radius: 35% 35% 22% 22% / 28% 28% 18% 18%; }
  .ticker-track { justify-content: flex-start; }
  .section-block { padding-block: 80px; }
  .project-card { min-height: 340px; padding: 22px; }
  .project-link { left: 22px; }
  .status-panel { padding: 22px; }
  .status-orbit { height: 275px; transform: scale(.84); margin: -12px; }
  .domain-list div { grid-template-columns: 60px 1fr 72px; }
  .closing { padding-bottom: 90px; }
}

@media (prefers-reduced-motion: no-preference) {
  .avatar-frame { animation: float 7s ease-in-out infinite; }
  .orbit-node { animation: glow 2.8s ease-in-out infinite alternate; }
  @keyframes float { 50% { transform: translateY(-8px); } }
  @keyframes glow { to { box-shadow: 0 0 24px rgba(177,140,255,1); } }
}
