:root {
  color-scheme: dark;
  --btn-shine-angle: 0deg;
  --bg-deep: #020208;
  --bg-mid: #080816;
  --bg-elev: #0e0e1a;
  --surface: rgba(18, 20, 36, 0.55);
  --surface-inner: rgba(10, 12, 22, 0.92);
  --border: rgba(120, 160, 255, 0.09);
  --border-strong: rgba(167, 139, 250, 0.28);
  --text: #e8eaf2;
  --muted: #94a0b8;
  /* 宇宙感：星青、霧紫、微綠狀態燈 */
  --cyan: #6ec5ff;
  --cyan-dim: #4a9fd4;
  --magenta: #b8a9e8;
  --green: #5ee9c5;
  --success-bg: rgba(94, 233, 197, 0.1);
  --success-text: #7dffd4;
  --error-bg: rgba(248, 113, 150, 0.12);
  --error-text: #fda4af;
  --warning-bg: rgba(251, 191, 36, 0.1);
  --warning-text: #fcd34d;
  --radius: 14px;
  --radius-sm: 10px;
  --font: "Noto Sans TC", "Noto Sans", "PingFang TC", "Microsoft JhengHei", system-ui,
    sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --header-h: 68px;
  --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.45);
  --shadow-card-hover: 0 18px 50px rgba(0, 0, 0, 0.55);
  --glow-soft: 0 4px 28px rgba(110, 197, 255, 0.25);
  --header-bg: rgba(4, 4, 12, 0.78);
  --accent-glow: rgba(110, 197, 255, 0.22);
  --accent-glow-soft: rgba(110, 197, 255, 0.1);
}

@property --nav-shine-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body.lang-en {
  font-family: "Noto Sans", "Noto Sans TC", system-ui, sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(30, 40, 90, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse 90% 60% at 100% 50%, rgba(60, 30, 80, 0.12) 0%, transparent 45%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 40%, #03030a 100%);
  color: var(--text);
  line-height: 1.65;
  position: relative;
  overflow-x: hidden;
}

.page-enter-curtain {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  background: var(--bg-deep);
  opacity: 1;
  transition: opacity 0.55s ease;
}

body.is-loaded .page-enter-curtain {
  opacity: 0;
}

body.is-loading .site-header,
body.is-loading .main-onepage,
body.is-loading .site-footer {
  opacity: 0;
}

body.is-loaded .site-header {
  animation: header-slide-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.is-loaded .main-onepage {
  animation: page-fade-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

body.is-loaded .site-footer {
  animation: page-fade-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
}

@keyframes header-slide-in {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes page-fade-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.mouse-meteor-canvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  mix-blend-mode: screen;
}

body.mouse-active .mouse-meteor-canvas {
  opacity: 1;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-left {
  transform: translate3d(-28px, 18px, 0);
}

.reveal-right {
  transform: translate3d(28px, 18px, 0);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-hero.is-visible {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .page-enter-curtain {
    display: none;
  }

  .mouse-meteor-canvas {
    display: none !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  body.is-loading .site-header,
  body.is-loading .main-onepage,
  body.is-loading .site-footer {
    opacity: 1;
  }

  body.is-loaded .site-header,
  body.is-loaded .main-onepage,
  body.is-loaded .site-footer {
    animation: none !important;
  }

  .btn-shine-wrap:hover::before,
  .btn-shine-wrap:focus-within::before {
    animation: none !important;
    opacity: 0.85;
  }

  .nav-pill:hover::before,
  .nav-pill:focus-visible::before,
  .nav-login-standalone:hover::before,
  .nav-login-standalone:focus-visible::before,
  .lang-btn:hover::before,
  .lang-btn:focus-visible::before {
    animation: none !important;
    opacity: 0.9;
  }
}

.mono {
  font-family: var(--mono);
  font-size: 0.88em;
  letter-spacing: 0.04em;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(110, 197, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 197, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 10%, black 18%, transparent 75%);
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.bg-glow-a {
  width: 560px;
  height: 560px;
  top: -160px;
  right: -120px;
  background: radial-gradient(circle, rgba(80, 140, 220, 0.45) 0%, rgba(40, 60, 120, 0.15) 40%, transparent 68%);
}

.bg-glow-b {
  width: 480px;
  height: 480px;
  bottom: 0%;
  left: -140px;
  background: radial-gradient(circle, rgba(140, 90, 200, 0.35) 0%, rgba(60, 40, 100, 0.12) 45%, transparent 70%);
  opacity: 0.65;
}

/* 背景光點漂移（層級在網格之上、內容之下） */
.particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  opacity: 0.55;
  box-shadow:
    0 0 4px 1px rgba(255, 255, 255, 0.6),
    0 0 14px 3px rgba(110, 197, 255, 0.45),
    0 0 28px 6px rgba(184, 169, 232, 0.2);
  will-change: transform, opacity;
}

.particle:nth-child(3n) {
  width: 3px;
  height: 3px;
}

.particle:nth-child(3n + 1) {
  width: 4px;
  height: 4px;
}

.particle:nth-child(3n + 2) {
  width: 5px;
  height: 5px;
}

@keyframes particle-float-a {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.2;
  }
  22% {
    opacity: 0.75;
  }
  50% {
    transform: translate(18vw, -22vh) scale(1.15);
    opacity: 0.35;
  }
  78% {
    opacity: 0.65;
  }
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.2;
  }
}

@keyframes particle-float-b {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.25;
  }
  30% {
    transform: translate(-14vw, 12vh) scale(0.9);
    opacity: 0.55;
  }
  55% {
    transform: translate(8vw, 20vh) scale(1.1);
    opacity: 0.3;
  }
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.25;
  }
}

@keyframes particle-float-c {
  0% {
    transform: translate(0, 0);
    opacity: 0.18;
  }
  40% {
    transform: translate(-20vw, -18vh);
    opacity: 0.7;
  }
  70% {
    transform: translate(12vw, 8vh);
    opacity: 0.4;
  }
  100% {
    transform: translate(0, 0);
    opacity: 0.18;
  }
}

@keyframes particle-float-d {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.22;
  }
  25% {
    transform: translate(10vw, 25vh) scale(1.2);
    opacity: 0.5;
  }
  60% {
    transform: translate(-16vw, -10vh) scale(0.85);
    opacity: 0.65;
  }
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.22;
  }
}

.particle:nth-child(4n + 1) {
  left: 6%;
  top: 18%;
  animation: particle-float-a 32s ease-in-out infinite;
  animation-delay: -4s;
}

.particle:nth-child(4n + 2) {
  left: 72%;
  top: 8%;
  animation: particle-float-b 38s ease-in-out infinite;
  animation-delay: -12s;
}

.particle:nth-child(4n + 3) {
  left: 88%;
  top: 55%;
  animation: particle-float-c 29s ease-in-out infinite;
  animation-delay: -2s;
}

.particle:nth-child(4n + 4) {
  left: 22%;
  top: 72%;
  animation: particle-float-d 41s ease-in-out infinite;
  animation-delay: -18s;
}

.particle:nth-child(5) {
  left: 45%;
  top: 35%;
  animation: particle-float-b 45s ease-in-out infinite;
  animation-delay: -25s;
}

.particle:nth-child(7) {
  left: 55%;
  top: 88%;
  animation: particle-float-a 36s ease-in-out infinite;
  animation-delay: -8s;
}

.particle:nth-child(9) {
  left: 12%;
  top: 48%;
  animation: particle-float-d 33s ease-in-out infinite;
  animation-delay: -20s;
}

.particle:nth-child(11) {
  left: 92%;
  top: 38%;
  animation: particle-float-c 40s ease-in-out infinite;
  animation-delay: -14s;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: linear-gradient(
    180deg,
    rgba(6, 8, 18, 0.92) 0%,
    rgba(4, 6, 14, 0.88) 100%
  );
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(110, 197, 255, 0.06);
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  min-height: var(--header-h);
  padding-block: 0.35rem;
}

@media (min-width: 721px) {
  .header-inner {
    padding-block: 0;
    height: var(--header-h);
  }
}

.header-right {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 0.65rem;
  min-width: 0;
}

.header-divider {
  flex-shrink: 0;
  width: 1px;
  height: 1.5rem;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(110, 197, 255, 0.25) 30%,
    rgba(110, 197, 255, 0.25) 70%,
    transparent
  );
  opacity: 0.9;
}

@media (max-width: 720px) {
  .header-divider {
    display: none;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .header-right {
    flex: 1 1 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 0.55rem;
  }

  .nav-pillbar {
    order: 1;
    flex: 1 1 auto;
  }

  .nav-beta-standalone {
    order: 2;
  }

  .nav-login-standalone {
    order: 3;
  }

  .lang-switch {
    order: 4;
  }
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.3rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(12, 16, 28, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
}

.lang-btn {
  position: relative;
  z-index: 1;
  color: var(--muted);
  text-decoration: none;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.74rem;
  font-weight: 600;
  font-family: var(--mono);
  letter-spacing: 0.02em;
  transition: color 0.18s, background 0.18s, box-shadow 0.18s;
}

.lang-btn:hover {
  color: var(--text);
  background: rgba(110, 197, 255, 0.08);
}

.lang-btn:focus-visible {
  outline: none;
  color: var(--text);
  background: rgba(110, 197, 255, 0.08);
}

.lang-btn.is-active {
  color: #0a0e14;
  background: linear-gradient(145deg, var(--cyan) 0%, #5aa8d4 100%);
  box-shadow: 0 0 16px rgba(110, 197, 255, 0.25);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
}

.logo-mark {
  width: 10px;
  height: 10px;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(110, 197, 255, 0.65);
  border-radius: 3px;
  animation: pulse-mark 2.4s ease-in-out infinite;
}

@keyframes pulse-mark {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 14px rgba(110, 197, 255, 0.55);
  }
  50% {
    opacity: 0.88;
    box-shadow: 0 0 22px rgba(184, 169, 232, 0.45);
  }
}

.logo-dim {
  color: var(--muted);
  font-weight: 500;
}

.nav-pillbar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.2rem;
  padding: 0.32rem;
  max-width: min(calc(100vw - 12rem), 640px);
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(10, 12, 22, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.nav-pillbar::-webkit-scrollbar {
  display: none;
}

@keyframes nav-pill-border-flow {
  to {
    --nav-shine-angle: 360deg;
  }
}

.nav-pill,
.nav-login-standalone,
.lang-btn {
  position: relative;
  isolation: isolate;
}

.nav-pill::before,
.nav-login-standalone::before,
.lang-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(
    from var(--nav-shine-angle, 0deg),
    transparent 0deg,
    rgba(66, 133, 244, 0.25) 35deg,
    #4285f4 75deg,
    #b8a9e8 115deg,
    #5ee9c5 155deg,
    #6ec5ff 195deg,
    #ea4335 235deg,
    #fbbc05 275deg,
    transparent 315deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
  z-index: 2;
}

.nav-pill:hover::before,
.nav-pill:focus-visible::before,
.nav-login-standalone:hover::before,
.nav-login-standalone:focus-visible::before,
.lang-btn:hover::before,
.lang-btn:focus-visible::before {
  opacity: 1;
  animation: nav-pill-border-flow 1.6s linear infinite;
}

.nav-pill .nav-idx,
.nav-pill .nav-text {
  position: relative;
  z-index: 1;
}

.nav-pill {
  flex-shrink: 0;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.48rem 0.82rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.nav-pill:hover {
  color: var(--text);
  background: rgba(110, 197, 255, 0.1);
  box-shadow: 0 0 24px rgba(110, 197, 255, 0.14);
}

.nav-pill:focus-visible {
  outline: none;
  color: var(--text);
  background: rgba(110, 197, 255, 0.1);
  box-shadow: 0 0 24px rgba(110, 197, 255, 0.14);
}

.nav-beta-standalone {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.54rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(94, 233, 197, 0.34);
  color: #081016;
  background: linear-gradient(145deg, var(--green) 0%, var(--cyan) 100%);
  box-shadow: 0 0 22px rgba(94, 233, 197, 0.18);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
}

.nav-beta-standalone:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(94, 233, 197, 0.3);
  filter: brightness(1.05);
}

.nav-beta-standalone:active {
  transform: scale(0.98);
}

.nav-beta-standalone:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.nav-beta-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #081016;
  box-shadow: 0 0 10px rgba(8, 16, 22, 0.3);
}

.nav-login-standalone {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.82rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--cyan);
  background: rgba(10, 12, 22, 0.72);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.nav-login-standalone:hover {
  color: var(--text);
  background: var(--accent-glow-soft);
  transform: translateY(-1px);
  box-shadow: 0 0 22px rgba(110, 197, 255, 0.12);
}

.nav-login-standalone:focus-visible {
  outline: none;
  color: var(--text);
  background: var(--accent-glow-soft);
  box-shadow: 0 0 22px rgba(110, 197, 255, 0.12);
}

.nav-idx {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--cyan-dim);
  opacity: 0.5;
  min-width: 1.1rem;
}

.nav-text {
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .nav-pillbar {
    max-width: min(calc(100vw - 5rem), 100%);
  }

  .nav-pill {
    padding: 0.42rem 0.65rem;
    font-size: 0.76rem;
  }

  .nav-beta-standalone {
    padding: 0.48rem 0.74rem;
    font-size: 0.76rem;
  }
}

.main-onepage {
  padding-block: 2rem 3.5rem;
}

.flash-wrap {
  margin-bottom: 1.25rem;
}

.flash {
  margin: 0 0 0.5rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.95rem;
}

.flash-success {
  background: var(--success-bg);
  color: var(--success-text);
  border-color: rgba(94, 233, 197, 0.28);
}

.flash-error {
  background: var(--error-bg);
  color: var(--error-text);
  border-color: rgba(248, 113, 150, 0.35);
}

.flash-warning {
  background: var(--warning-bg);
  color: var(--warning-text);
  border-color: rgba(251, 191, 36, 0.35);
}

/* Hero */
.tech-hero {
  padding: 1rem 0 2.5rem;
  margin-bottom: 0.5rem;
}

.hero-grid {
  display: grid;
  gap: 1.75rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr minmax(260px, 320px);
  }
}

.hero-main {
  padding-top: 0.5rem;
}

.hero-announcement {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin: 0 0 0.9rem;
  padding: 0.55rem 0.8rem;
  color: var(--text);
  font-size: 0.9rem;
  border-color: rgba(251, 191, 36, 0.28);
  background: rgba(251, 191, 36, 0.08);
  box-shadow: 0 8px 30px rgba(251, 191, 36, 0.08);
}

.hero-announcement-label {
  color: var(--warning-text);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 0.5rem;
  vertical-align: middle;
  box-shadow: 0 0 10px rgba(94, 233, 197, 0.55);
  animation: pulse-mark 2s ease-in-out infinite;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
}

.hero-name {
  margin: 0 0 0.5rem;
  font-size: clamp(2.2rem, 6vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
}

.gradient-text {
  background: linear-gradient(
    120deg,
    #f4f6ff 0%,
    var(--cyan) 42%,
    var(--magenta) 88%,
    #c4d4ff 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title {
  margin: 0 0 0.75rem;
  color: var(--cyan);
  font-size: 1.05rem;
  font-weight: 600;
}

.hero-company {
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 500;
}

.hero-tagline {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 52ch;
}

.page-hero {
  padding-bottom: 2.5rem;
}

.beta-title {
  max-width: none;
}

.beta-summary h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.beta-summary p:last-child {
  margin: 0;
  color: var(--muted);
}

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

@keyframes btn-border-flow {
  to {
    --btn-shine-angle: 360deg;
  }
}

.btn-shine-wrap {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  border-radius: 8px;
  isolation: isolate;
}

.btn-shine-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--btn-shine-angle, 0deg),
    transparent 0deg,
    rgba(110, 197, 255, 0.15) 50deg,
    rgba(110, 197, 255, 1) 120deg,
    rgba(184, 169, 232, 0.95) 170deg,
    rgba(110, 197, 255, 0.35) 230deg,
    transparent 300deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
  z-index: 2;
}

.btn-shine-wrap:hover::before,
.btn-shine-wrap:focus-within::before {
  opacity: 1;
  animation: btn-border-flow 1.35s linear infinite;
}

.btn-shine-wrap > .btn {
  position: relative;
  z-index: 1;
  display: inline-block;
  width: 100%;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s, box-shadow 0.2s, border-color 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-glow {
  background: linear-gradient(145deg, var(--cyan) 0%, #4a7ab0 100%);
  color: #050508;
  border: none;
  box-shadow: var(--glow-soft);
}

.btn-glow:hover {
  box-shadow: 0 6px 32px rgba(110, 197, 255, 0.4);
  filter: brightness(1.06);
}

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--cyan);
  background: var(--accent-glow-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--muted);
}

.google-login-icon {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #fff;
  box-shadow: var(--glow-soft);
  transition: transform 0.15s, box-shadow 0.2s, border-color 0.2s;
}

.google-login-icon:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  box-shadow: 0 6px 32px rgba(110, 197, 255, 0.34);
}

.google-login-icon:active {
  transform: scale(0.98);
}

.google-login-icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: var(--shadow-card);
}

.glass-inner {
  background: var(--surface-inner);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.hero-panel {
  padding: 1.25rem 1.35rem;
  align-self: start;
}

.hero-facts {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-facts li {
  margin-bottom: 0.45rem;
}

.hero-facts .k {
  display: inline-block;
  min-width: 3rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  margin-right: 0.4rem;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip {
  font-size: 0.72rem;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: var(--accent-glow-soft);
}

/* Sections */
.tech-section {
  padding: 2.75rem 0;
  border-top: 1px solid var(--border);
}

.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.5rem;
  align-items: start;
  margin-bottom: 1.75rem;
}

.section-index {
  display: inline-block;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: var(--cyan);
  font-size: 0.85rem;
  line-height: 1;
}

.tech-section h2 {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 60ch;
}

.stat-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.stat-card {
  padding: 1.15rem 1.25rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card-hover);
}

.stat-value {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.stat-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.split-2 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .split-2 {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.panel-pad {
  padding: 1.35rem 1.5rem;
}

.prose-block .prose {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 1rem;
}

.info-dl {
  margin: 0;
}

.info-dl > div {
  margin-bottom: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.info-dl > div:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.info-dl dt {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}

.info-dl dd {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
}

.info-dl a {
  color: var(--cyan);
  text-decoration: none;
}

.info-dl a:hover {
  text-decoration: underline;
}

.inline-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.social-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.social-row a {
  color: var(--cyan);
  text-decoration: none;
  font-size: 0.9rem;
}

.social-row a:hover {
  text-decoration: underline;
}

/* Cards */
.card-grid {
  display: grid;
  gap: 1.1rem;
}

.service-grid {
  grid-template-columns: repeat(auto-fill, minmax(288px, 1fr));
}

.pricing-panel {
  max-width: 56rem;
  margin-inline: auto;
}

.pricing-panel h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
}

.pricing-note {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.pricing-table-wrap {
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 34rem;
  font-size: 0.86rem;
}

.pricing-table th,
.pricing-table td {
  padding: 0.72rem 0.65rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  text-align: left;
}

.pricing-table th {
  color: var(--cyan);
  font-size: 0.72rem;
  font-family: var(--mono);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.pricing-table td {
  color: var(--muted);
}

.pricing-table td:first-child,
.pricing-table td:nth-child(2) {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.pricing-table tr:last-child td {
  border-bottom: 0;
}

.portfolio-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.portfolio-carousel {
  position: relative;
}

.portfolio-viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.portfolio-viewport::-webkit-scrollbar {
  display: none;
}

.portfolio-track {
  display: flex;
  gap: 1.1rem;
}

.portfolio-track .card-portfolio {
  flex: 0 0 min(82vw, 22rem);
  scroll-snap-align: start;
}

.portfolio-controls {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 1rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item h3.faq-question {
  margin: 0 0 0.65rem;
  font-size: 1.02rem;
  line-height: 1.45;
}

.faq-answer {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.process-list {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: process;
}

.process-step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.02rem;
}

.process-step-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.key-facts-list > div:last-child {
  border-bottom: 0;
}

.key-fact-value {
  font-weight: 600;
}

.carousel-btn {
  display: inline-grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border: 1px solid rgba(103, 232, 249, 0.42);
  border-radius: 999px;
  background: rgba(8, 13, 24, 0.72);
  color: var(--cyan);
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.carousel-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(103, 232, 249, 0.8);
  background: rgba(14, 25, 45, 0.9);
}

@media (min-width: 860px) {
  .portfolio-track .card-portfolio {
    flex-basis: calc((100% - 2.2rem) / 3);
  }
}

@media (min-width: 1180px) {
  .portfolio-track .card-portfolio {
    flex-basis: calc((100% - 3.3rem) / 4);
  }
}

.beta-work-intro .portfolio-grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.beta-fit-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card-link .link-arrow {
  color: var(--cyan);
}

.beta-detail-grid {
  align-items: stretch;
}

.beta-detail-grid .glass {
  height: 100%;
}

.beta-detail-tags {
  margin-top: 1rem;
}

.login-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 820px) {
  .login-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.login-panel {
  height: 100%;
}

.service-pdf-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
}

.service-pdf-card h3 {
  margin: 0 0 0.25rem;
}

.service-pdf-card .muted {
  margin: 0;
}

.login-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.login-actions .google-login-icon {
  width: 2.75rem;
  height: 2.75rem;
}

.card-tech {
  padding: 1.25rem 1.35rem;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.card-tech:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card-hover);
}

.card-tag {
  margin: 0 0 0.5rem;
  font-size: 0.65rem;
  color: #a5a0d0;
  letter-spacing: 0.12em;
}

.card-tech h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.card-tech > p:not(.tags):not(.card-foot) {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.card-portfolio-head {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}

.card-portfolio-head h3 {
  margin: 0;
  flex: 1;
}

.year-badge {
  flex-shrink: 0;
  font-size: 0.65rem;
  padding: 0.2rem 0.45rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--muted);
}

.card-desc {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.tags {
  margin: 0;
}

.tag {
  display: inline-block;
  margin: 0 0.35rem 0.35rem 0;
  padding: 0.22rem 0.55rem;
  font-size: 0.72rem;
  font-family: var(--mono);
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--cyan);
  background: var(--accent-glow-soft);
}

.card-foot {
  margin: 0.85rem 0 0;
}

.link-arrow {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.link-arrow:hover {
  text-decoration: underline;
}

code {
  font-family: var(--mono);
  font-size: 0.82em;
  background: rgba(110, 197, 255, 0.08);
  padding: 0.12em 0.4em;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.muted {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Dual panels */
.dual-panels {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .dual-panels {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contact-panel-solo {
  max-width: 56rem;
  margin-inline: auto;
}

.panel-title {
  margin: 0 0 0.5rem;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
}

.panel-desc {
  margin: 0 0 1.1rem;
}

.subheading {
  margin: 1.75rem 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.form {
  max-width: none;
  margin-top: 0;
}

.field {
  margin-bottom: 0.95rem;
}

.label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  color: var(--muted);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

.input,
.textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-inner);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}

.input:focus,
.textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(110, 197, 255, 0.22);
}

.error {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: var(--error-text);
}

.req-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 420px;
  overflow-y: auto;
}

.req-item {
  padding: 0.85rem 1rem;
  margin-bottom: 0.65rem;
}

.req-title {
  margin: 0 0 0.35rem;
  font-weight: 600;
}

.req-body {
  margin: 0 0 0.5rem;
  color: var(--muted);
  white-space: pre-wrap;
  font-size: 0.88rem;
}

.req-contact {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  color: var(--cyan);
}

.req-time {
  margin: 0;
  font-size: 0.72rem;
  color: var(--muted);
}

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2rem;
  background: linear-gradient(180deg, transparent, rgba(2, 2, 10, 0.92));
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-line {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 20;
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--cyan);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(8, 8, 22, 0.82);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: var(--glow-soft);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s, border-color 0.2s;
}

.footer-top:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  box-shadow: 0 6px 32px rgba(110, 197, 255, 0.34);
}

.footer-top:active {
  transform: scale(0.98);
}

.footer-top svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

@media (max-width: 640px) {
  .nav-pillbar {
    max-width: 100%;
    justify-content: flex-start;
  }

  .section-head {
    grid-template-columns: 1fr;
  }

  .section-index {
    width: fit-content;
  }
}

.blog-section .section-head h1,
.blog-section .section-head h2 {
  margin: 0 0 0.35rem;
}

.blog-list {
  display: grid;
  gap: 1rem;
}

.blog-card-title {
  margin: 0.35rem 0 0.75rem;
  font-size: 1.35rem;
}

.blog-card-title a {
  color: inherit;
  text-decoration: none;
}

.blog-card-title a:hover {
  color: var(--cyan);
}

.blog-card-excerpt,
.blog-article-excerpt {
  color: var(--muted);
  line-height: 1.65;
}

.blog-date {
  display: inline-block;
  color: var(--muted);
  font-size: 0.82rem;
}

.blog-back-wrap {
  margin: 0 0 0.75rem;
}

.blog-back {
  font-size: 0.92rem;
}

.blog-article-title {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1.25;
}

.blog-body .prose + .prose {
  margin-top: 1rem;
}

.blog-cta-wrap {
  margin-top: 1.5rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .logo-mark,
  .status-dot {
    animation: none;
  }

  .particles {
    display: none;
  }
}
