@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-top: #141a32;
  --bg-mid: #090d1a;
  --bg-bottom: #03050b;

  --text: #f5f7ff;
  --muted: rgba(226, 232, 240, 0.74);
  --muted-2: rgba(226, 232, 240, 0.56);

  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --surface: rgba(255, 255, 255, 0.065);
  --surface-2: rgba(255, 255, 255, 0.04);

  --blue: #60a5fa;
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --pink: #f472b6;
  --green: #34d399;

  --shadow-lg: 0 28px 90px rgba(0, 0, 0, 0.34);
  --shadow-md: 0 18px 54px rgba(0, 0, 0, 0.26);

  --radius-xxl: 32px;
  --radius-xl: 26px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;

  --container: 1280px;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: radial-gradient(ellipse at top, var(--bg-top) 0%, var(--bg-mid) 48%, var(--bg-bottom) 100%) fixed;
}

body {
  min-height: 100vh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: transparent;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button {
  font: inherit;
}

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

:focus-visible {
  outline: 3px solid rgba(96, 165, 250, 0.32);
  outline-offset: 2px;
}

.scene-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 8, 20, 0.16) 0%, rgba(5, 8, 20, 0.8) 100%);
  opacity: 0.16;
  transform: scale(1.04);
}

.stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
      radial-gradient(1.5px 1.5px at 25px 35px, rgba(255, 255, 255, 1), rgba(0, 0, 0, 0)),
      radial-gradient(2px 2px at 150px 200px, rgba(210, 190, 255, 0.95), rgba(0, 0, 0, 0)),
      radial-gradient(1px 1px at 50px 160px, rgba(255, 255, 255, 0.95), rgba(0, 0, 0, 0)),
      radial-gradient(1.5px 1.5px at 100px 120px, rgba(255, 255, 255, 1), rgba(0, 0, 0, 0)),
      radial-gradient(1px 1px at 190px 70px, rgba(255, 255, 255, 1), rgba(0, 0, 0, 0)),
      radial-gradient(1.5px 1.5px at 10px 230px, rgba(255, 170, 220, 0.86), rgba(0, 0, 0, 0)),
      radial-gradient(2px 2px at 210px 40px, rgba(255, 220, 140, 0.86), rgba(0, 0, 0, 0)),
      radial-gradient(1.5px 1.5px at 230px 145px, rgba(130, 220, 255, 0.86), rgba(0, 0, 0, 0));
  background-repeat: repeat;
  background-size: 280px 280px;
  opacity: 0.52;
  animation: moveStars 80s linear infinite;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  background-image:
      linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(circle at center, black 14%, transparent 82%);
  -webkit-mask-image: radial-gradient(circle at center, black 14%, transparent 82%);
}

.glow-effect {
  position: fixed;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.14;
  pointer-events: none;
  z-index: 1;
}

.glow-1 {
  top: -220px;
  left: -180px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.42) 0%, transparent 70%);
  animation: drift 20s ease-in-out infinite;
}

.glow-2 {
  right: -180px;
  bottom: -220px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.38) 0%, transparent 70%);
  animation: drift 26s ease-in-out infinite reverse;
}

.page-shell {
  position: relative;
  z-index: 10;
  width: min(var(--container), 100%);
  margin: 0 auto;
  padding: 18px 24px 88px;
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 80;
}

.header-stack {
  display: grid;
  gap: 12px;
}

.nav-panel,
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: var(--shadow-lg);
}

.brand-area {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-copy {
  min-width: 0;
}

.brand-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.brand-domain {
  margin-top: 3px;
  font-size: 0.76rem;
  color: rgba(226, 232, 240, 0.58);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.nav-link {
  color: rgba(226, 232, 240, 0.74);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.28s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ghost-btn,
.primary-btn,
.secondary-btn,
.lang-btn,
.menu-toggle {
  border: none;
  cursor: pointer;
  transition: all 0.28s ease;
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
}

.ghost-btn:hover {
  background: rgba(255, 255, 255, 0.09);
}

.lang-container {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lang-btn {
  min-width: 62px;
  height: 38px;
  border-radius: 12px;
  background: transparent;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
  font-weight: 700;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.lang-btn.is-active {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.22), rgba(56, 189, 248, 0.22));
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.09);
}

.menu-bars {
  position: relative;
  width: 18px;
  height: 14px;
}

.menu-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  transition: all 0.28s ease;
}

.menu-bars span:nth-child(1) {
  top: 0;
}

.menu-bars span:nth-child(2) {
  top: 6px;
}

.menu-bars span:nth-child(3) {
  top: 12px;
}

.menu-toggle.is-active .menu-bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-active .menu-bars span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active .menu-bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu-panel {
  display: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: var(--shadow-md);
}

.hero-section {
  margin-top: 22px;
}

.doc-kicker,
.hero-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e7edff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-title {
  margin-top: 18px;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #dfe9ff 46%, #b5d6ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.primary-btn {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.96), rgba(56, 189, 248, 0.96));
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(56, 189, 248, 0.18), 0 12px 30px rgba(139, 92, 246, 0.16);
}

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

.secondary-btn {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.secondary-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.08);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(241, 245, 249, 0.86);
  font-size: 0.88rem;
  font-weight: 500;
}

.section {
  margin-top: 78px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.section-copy {
  max-width: 700px;
}

.section-kicker {
  color: rgba(186, 230, 253, 0.86);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.section-title {
  margin-top: 10px;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
  font-weight: 800;
  color: #ffffff;
}

.section-desc {
  max-width: 56ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

.hero-panel,
.masthead,
.app-card,
.metric-card,
.portal-card,
.capability-card,
.architecture-panel,
.governance-panel,
.doc-intro,
.viewer-container,
.info-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: var(--shadow-md);
}

.app-card:hover,
.portal-card:hover {
  transform: translateY(-8px);
  border-color: var(--line-strong);
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.4);
}

.footer-panel {
  margin-top: 50px;
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: var(--shadow-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 26px;
}

.footer-brand-mark {
  width: 50px;
  height: 50px;
  display: block;
  object-fit: contain;
}

.footer-brand-desc {
  margin-top: 16px;
  color: rgba(226, 232, 240, 0.68);
  font-size: 0.94rem;
  line-height: 1.82;
  max-width: 32ch;
}

.footer-title {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-col a,
.footer-col p {
  display: block;
  color: rgba(226, 232, 240, 0.64);
  font-size: 0.92rem;
  line-height: 1.8;
  margin: 8px 0;
  transition: color 0.28s ease;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: rgba(148, 163, 184, 0.72);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}

@keyframes moveStars {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 500px 1000px;
  }
}

@keyframes drift {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(36px, 28px) scale(1.05);
  }
}

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

@media (max-width: 960px) {
  .nav-center,
  .ghost-btn {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-menu-panel {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    border-radius: 22px;
    transition: max-height 0.36s ease, opacity 0.28s ease, transform 0.28s ease;
  }

  .mobile-menu-panel.is-open {
    max-height: 680px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .mobile-menu-inner {
    padding: 18px;
    display: grid;
    gap: 18px;
  }

  .mobile-menu-group {
    display: grid;
    gap: 10px;
  }

  .mobile-menu-title {
    color: rgba(186, 230, 253, 0.82);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 2px;
  }

  .mobile-menu-link {
    min-height: 44px;
    padding: 0 14px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(226, 232, 240, 0.86);
    font-size: 0.92rem;
    font-weight: 600;
  }

  .mobile-menu-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
  }

  .mobile-menu-cta {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 14px 14px 82px;
  }

  .site-header {
    top: 12px;
  }

  .header-stack {
    gap: 10px;
  }

  .nav-panel,
  .topbar {
    padding: 10px;
    border-radius: 20px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    font-size: 0.9rem;
  }

  .brand-domain {
    font-size: 0.7rem;
  }

  .lang-container {
    gap: 6px;
    padding: 5px;
    border-radius: 14px;
  }

  .lang-btn {
    min-width: 52px;
    height: 36px;
    border-radius: 10px;
    font-size: 0.82rem;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .hero-section {
    margin-top: 14px;
  }

  .hero-kicker {
    font-size: 0.72rem;
    padding: 8px 13px;
  }

  .hero-title {
    font-size: 2.45rem;
    margin-top: 16px;
  }

  .hero-desc {
    font-size: 0.92rem;
    line-height: 1.78;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
    min-height: 44px;
    font-size: 0.9rem;
  }

  .hero-tag {
    font-size: 0.8rem;
    padding: 8px 12px;
  }

  .section {
    margin-top: 60px;
  }

  .section-head {
    margin-bottom: 16px;
  }

  .section-kicker {
    font-size: 0.74rem;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .section-desc {
    font-size: 0.92rem;
    line-height: 1.78;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-panel {
    margin-top: 60px;
    padding: 22px;
  }

  .footer-brand-desc,
  .footer-col a,
  .footer-col p {
    font-size: 0.88rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.78rem;
  }

  .mobile-menu-inner {
    padding: 14px;
  }

  .mobile-menu-link {
    min-height: 42px;
    font-size: 0.88rem;
  }
}

.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 24px;
  padding: 34px;
  border-radius: var(--radius-xxl);
  overflow: hidden;
  animation: fadeInUp 0.55s ease both;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
      radial-gradient(circle at 14% 12%, rgba(139, 92, 246, 0.12), transparent 30%),
      radial-gradient(circle at 84% 14%, rgba(56, 189, 248, 0.13), transparent 28%),
      linear-gradient(120deg, rgba(255, 255, 255, 0.06), transparent 22%, transparent 78%, rgba(255, 255, 255, 0.03));
}

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

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 390px;
  padding-right: 8px;
}

.hero-title {
  max-width: 11ch;
}

.hero-desc {
  max-width: 64ch;
}

.hero-side-card {
  position: relative;
  height: 100%;
  min-height: 390px;
  padding: 22px;
  border-radius: 28px;
  background:
      linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
      radial-gradient(circle at 18% 18%, rgba(139, 92, 246, 0.14), transparent 34%),
      radial-gradient(circle at 82% 18%, rgba(56, 189, 248, 0.14), transparent 34%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.3);
}

.hero-side-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(130deg, rgba(255, 255, 255, 0.06), transparent 24%, transparent 76%, rgba(255, 255, 255, 0.03));
}

.side-head,
.side-body,
.side-foot {
  position: relative;
  z-index: 1;
}

.side-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.side-kicker {
  color: rgba(226, 232, 240, 0.62);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.side-title {
  margin-top: 18px;
  font-size: 1.6rem;
  line-height: 1.18;
  letter-spacing: -0.04em;
  font-weight: 750;
  color: #ffffff;
  max-width: 18ch;
}

.side-desc {
  margin-top: 12px;
  color: rgba(226, 232, 240, 0.76);
  font-size: 0.96rem;
  line-height: 1.82;
}

.data-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.data-item {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.data-label {
  color: rgba(226, 232, 240, 0.58);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.data-value {
  display: block;
  margin-top: 8px;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
}

.side-list {
  margin-top: 18px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.side-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.side-row span {
  color: rgba(226, 232, 240, 0.68);
  font-size: 0.88rem;
}

.side-row strong {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: right;
}

.signature-block {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.signature-block::before {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -30px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.14), transparent 72%);
  pointer-events: none;
}

.signature-copy,
.signature-mark {
  position: relative;
  z-index: 1;
}

.signature-label {
  color: rgba(226, 232, 240, 0.58);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.signature-name {
  margin-top: 8px;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.6;
}

.signature-mark {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-shadow: 0 0 22px rgba(96, 165, 250, 0.16);
  white-space: nowrap;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.metric-card {
  padding: 22px 22px 20px;
  border-radius: 22px;
  animation: fadeInUp 0.5s ease both;
}

.metric-card:nth-child(1) { animation-delay: 0.08s; }
.metric-card:nth-child(2) { animation-delay: 0.14s; }
.metric-card:nth-child(3) { animation-delay: 0.2s; }
.metric-card:nth-child(4) { animation-delay: 0.26s; }

.metric-value {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #ffffff;
}

.metric-label {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.portal-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 20px;
  min-height: 270px;
  padding: 28px;
  border-radius: 28px;
  overflow: hidden;
  --accent-line: rgba(255, 255, 255, 0.9);
  --accent-border: rgba(255, 255, 255, 0.2);
  --accent-orb: rgba(255, 255, 255, 0.1);
  --accent-tint: rgba(255, 255, 255, 0.02);
  background:
      radial-gradient(circle at 82% 10%, var(--accent-tint), transparent 62%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border-color: var(--accent-border);
  transition: transform 0.36s ease, border-color 0.32s ease, box-shadow 0.32s ease;
}

.portal-card::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-line), transparent);
  opacity: 0.95;
}

.portal-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-orb), transparent 70%);
  opacity: 0.46;
  transition: transform 0.38s ease, opacity 0.38s ease;
}

.portal-card:hover::after {
  opacity: 0.88;
  transform: scale(1.18);
}

.portal-card.person {
  --accent-line: rgba(244, 114, 182, 0.95);
  --accent-border: rgba(244, 114, 182, 0.34);
  --accent-orb: rgba(244, 114, 182, 0.12);
  --accent-tint: rgba(244, 114, 182, 0.045);
}

.portal-card.project {
  --accent-line: rgba(167, 128, 255, 0.98);
  --accent-border: rgba(167, 128, 255, 0.4);
  --accent-orb: rgba(167, 128, 255, 0.16);
  --accent-tint: rgba(167, 128, 255, 0.058);
}

.portal-card.program {
  --accent-line: rgba(96, 165, 250, 0.95);
  --accent-border: rgba(96, 165, 250, 0.34);
  --accent-orb: rgba(96, 165, 250, 0.12);
  --accent-tint: rgba(96, 165, 250, 0.045);
}

.portal-card.record {
  --accent-line: rgba(34, 211, 238, 0.95);
  --accent-border: rgba(34, 211, 238, 0.34);
  --accent-orb: rgba(34, 211, 238, 0.12);
  --accent-tint: rgba(34, 211, 238, 0.045);
}

.portal-card:hover {
  border-color: var(--accent-border);
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.portal-top,
.portal-body,
.portal-bottom {
  position: relative;
  z-index: 1;
}

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

.portal-kicker {
  color: rgba(226, 232, 240, 0.64);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.portal-index {
  font-size: clamp(2.6rem, 4.4vw, 4rem);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.08em;
  color: rgba(255, 255, 255, 0.07);
  user-select: none;
}

.portal-title {
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 760;
  color: #ffffff;
}

.portal-desc {
  margin-top: 12px;
  color: rgba(226, 232, 240, 0.78);
  font-size: 0.96rem;
  line-height: 1.82;
  max-width: 42ch;
}

.portal-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.portal-meta-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.portal-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.portal-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.22));
}

.portal-meta {
  color: rgba(226, 232, 240, 0.62);
  font-size: 0.88rem;
  line-height: 1.65;
}

.portal-enter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.portal-enter::after {
  content: "↗";
  font-size: 1rem;
  transition: transform 0.28s ease;
}

.portal-card:hover .portal-enter::after {
  transform: translate(2px, -2px);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.capability-card {
  position: relative;
  padding: 24px;
  border-radius: 24px;
  overflow: hidden;
  animation: fadeInUp 0.5s ease both;
}

.capability-card:nth-child(1) { animation-delay: 0.08s; }
.capability-card:nth-child(2) { animation-delay: 0.14s; }
.capability-card:nth-child(3) { animation-delay: 0.2s; }
.capability-card:nth-child(4) { animation-delay: 0.26s; }

.capability-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), transparent 60%);
  pointer-events: none;
}

.cap-icon {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.94), rgba(56, 189, 248, 0.94));
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: 0 12px 24px rgba(56, 189, 248, 0.12), 0 8px 20px rgba(139, 92, 246, 0.12);
}

.cap-title {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  color: #ffffff;
  font-size: 1.06rem;
  font-weight: 750;
  line-height: 1.45;
}

.cap-desc {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.94rem;
  line-height: 1.8;
}

.architecture-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 20px;
}

.architecture-panel,
.governance-panel {
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}

.architecture-panel {
  padding: 28px;
}

.architecture-panel::before,
.governance-panel::before {
  content: none;
}

.arch-inner,
.gov-inner {
  position: relative;
  z-index: 1;
}

.arch-kicker {
  color: rgba(186, 230, 253, 0.8);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.arch-map {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.arch-core,
.arch-node,
.governance-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.arch-core {
  grid-column: 1 / -1;
  padding: 22px;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
}

.arch-core::after {
  content: none;
}

.arch-core-label {
  color: rgba(226, 232, 240, 0.58);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.arch-core-title {
  margin-top: 10px;
  color: #ffffff;
  font-size: 1.48rem;
  line-height: 1.2;
  letter-spacing: -0.04em;
  font-weight: 780;
  position: relative;
  z-index: 1;
}

.arch-core-desc {
  margin-top: 10px;
  color: rgba(226, 232, 240, 0.74);
  font-size: 0.95rem;
  line-height: 1.82;
  max-width: 58ch;
  position: relative;
  z-index: 1;
}

.arch-node {
  padding: 18px;
  border-radius: 20px;
}

.arch-node-index {
  color: rgba(226, 232, 240, 0.54);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.arch-node-title {
  margin-top: 10px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 740;
  line-height: 1.4;
}

.arch-node-desc {
  margin-top: 8px;
  color: rgba(226, 232, 240, 0.7);
  font-size: 0.9rem;
  line-height: 1.75;
}

.governance-panel {
  padding: 24px;
}

.gov-head {
  margin-bottom: 16px;
}

.gov-title {
  color: #ffffff;
  font-size: 1.24rem;
  font-weight: 760;
  line-height: 1.35;
}

.gov-desc {
  margin-top: 10px;
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.94rem;
  line-height: 1.8;
}

.gov-list {
  display: grid;
  gap: 14px;
}

.governance-card {
  padding: 18px;
  border-radius: 20px;
}

.governance-card h3 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 730;
  line-height: 1.45;
}

.governance-card p {
  margin-top: 8px;
  color: rgba(226, 232, 240, 0.7);
  font-size: 0.9rem;
  line-height: 1.75;
}

@media (max-width: 1160px) {
  .hero-panel,
  .architecture-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: auto;
  }

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

@media (max-width: 960px) {
  .portal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-panel {
    padding: 20px;
    border-radius: 24px;
    gap: 18px;
  }

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

  .hero-side-card {
    min-height: auto;
    padding: 18px;
    border-radius: 22px;
  }

  .side-title {
    font-size: 1.3rem;
  }

  .side-desc {
    font-size: 0.9rem;
  }

  .data-grid {
    gap: 10px;
  }

  .data-item {
    padding: 14px;
    border-radius: 16px;
  }

  .signature-block {
    padding: 14px;
    border-radius: 16px;
    align-items: center;
  }

  .signature-name {
    font-size: 0.86rem;
  }

  .signature-mark {
    font-size: 1.7rem;
    letter-spacing: 0.12em;
  }

  .metric-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid {
    gap: 14px;
    margin-top: 16px;
  }

  .metric-card {
    padding: 18px;
    border-radius: 18px;
  }

  .portal-grid {
    gap: 14px;
  }

  .portal-card {
    min-height: 220px;
    padding: 20px;
    border-radius: 22px;
    gap: 16px;
  }

  .portal-kicker {
    font-size: 0.72rem;
  }

  .portal-title {
    font-size: 1.22rem;
  }

  .portal-desc {
    font-size: 0.86rem;
    line-height: 1.7;
  }

  .portal-index {
    font-size: 2.6rem;
  }

  .portal-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }

  .portal-icon img {
    width: 24px;
    height: 24px;
  }

  .portal-meta {
    font-size: 0.8rem;
  }

  .capability-card,
  .architecture-panel,
  .governance-panel {
    border-radius: 22px;
  }

  .capability-card {
    padding: 20px;
  }

  .cap-title {
    font-size: 1rem;
  }

  .cap-desc {
    font-size: 0.88rem;
  }

  .architecture-panel,
  .governance-panel {
    padding: 20px;
  }

  .arch-map {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .arch-core,
  .arch-node,
  .governance-card {
    border-radius: 18px;
  }

  .arch-core-title,
  .gov-title {
    font-size: 1.14rem;
  }

  .arch-core-desc,
  .arch-node-desc,
  .gov-desc,
  .governance-card p {
    font-size: 0.88rem;
    line-height: 1.76;
  }
}
