:root {
  --bg: #f7f8fb;
  --panel: rgba(255, 255, 255, 0.86);
  --card: #ffffff;
  --text: #172033;
  --muted: #697386;
  --soft: #e8edf5;
  --line: rgba(132, 150, 176, 0.22);
  --blue: #76a9fa;
  --cyan: #7dd8e8;
  --violet: #b7a5ff;
  --rose: #f1a8bd;
  --shadow: 0 18px 50px rgba(31, 46, 74, 0.08);
  --shadow-hover: 0 24px 70px rgba(31, 46, 74, 0.14);
  --radius: 20px;
  --sidebar-width: 260px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(125, 216, 232, 0.18), transparent 36rem),
    radial-gradient(circle at 92% 14%, rgba(183, 165, 255, 0.16), transparent 28rem),
    var(--bg);
  font-family: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

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

button,
input {
  font: inherit;
}

.site-shell {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  gap: 52px;
  width: 100%;
  margin: 0 auto;
  padding: 28px clamp(20px, 4vw, 56px) 48px;
}

.sidebar {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 24px 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 44px rgba(39, 55, 86, 0.06);
  backdrop-filter: blur(22px);
}

.brand {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 13px;
  padding: 4px 8px 28px;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(83, 143, 223, 0.16);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong {
  display: block;
  font-size: 17px;
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.platform-nav {
  display: grid;
  gap: 8px;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 46px;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 15px;
  color: #627086;
  font-size: 15px;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(118, 169, 250, 0.09);
}

.nav-link.active {
  color: #13243c;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 32px rgba(55, 79, 120, 0.09);
}

.nav-link.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(var(--blue), var(--cyan));
}

.platform-menu-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.nav-dot {
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
  border-radius: 999px;
  opacity: 0.72;
}

.nav-link.active .nav-dot {
  border: 0;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(125, 216, 232, 0.18);
}

.sidebar-bottom {
  display: grid;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
}

.sidebar-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(247, 250, 255, 0.78);
  color: var(--muted);
}

.sidebar-keke {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 12px;
}

.sidebar-note i {
  flex: 0 0 auto;
  margin-top: 1px;
  color: #7e9fe8;
  font-size: 18px;
}

.sidebar-note p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
}

.content {
  min-width: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
  align-items: center;
  gap: clamp(32px, 6vw, 76px);
  min-height: clamp(460px, 62vh, 620px);
  padding: 24px 0 48px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #6387cf;
  font-size: 13px;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 86px);
  font-weight: 760;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-subtitle {
  margin: 28px 0 34px;
  color: #465368;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.55;
}

.search-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(520px, 100%);
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 44px rgba(48, 65, 96, 0.09);
  transition: box-shadow 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.search-wrap:focus-within {
  border-color: rgba(118, 169, 250, 0.58);
  box-shadow: 0 20px 60px rgba(77, 119, 190, 0.15);
  transform: translateY(-1px);
}

.search-wrap i {
  color: #7d8ea8;
}

.search-wrap input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.search-wrap input::placeholder {
  color: #96a1b3;
}

.search-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 18px 46px rgba(43, 62, 94, 0.16), 0 0 0 6px rgba(255, 255, 255, 0.38);
}
.sections {
  display: grid;
  gap: clamp(120px, 13vw, 180px);
  padding-bottom: 90px;
}

.platform-section {
  scroll-margin-top: 28px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.platform-section.in-view {
  opacity: 1;
  transform: translateY(0);
}

.section-head {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  max-width: 840px;
  margin-bottom: 36px;
}

.section-icon {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.section-icon i,
.section-icon svg {
  width: 34px;
  height: 34px;
  color: #6387cf;
}

.platform-section-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-head p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 22px;
}

.account-card {
  display: flex;
  min-height: 388px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.account-card:hover {
  transform: translateY(-6px);
  border-color: rgba(118, 169, 250, 0.28);
  box-shadow: var(--shadow-hover);
}

.account-top {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
}

.avatar {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #eef4fb;
  box-shadow: inset 0 0 0 1px rgba(120, 146, 182, 0.16);
}

.account-name {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
  font-size: 18px;
  font-weight: 720;
  line-height: 1.35;
}

.account-name span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.badge {
  display: inline-grid;
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #72a7fb, #79d7e5);
  font-size: 11px;
}

.platform-label {
  margin: 2px 0 0;
  color: #8a96a8;
  font-size: 13px;
}

.description {
  display: -webkit-box;
  min-height: 78px;
  margin: 22px 0 22px;
  overflow: hidden;
  color: #546176;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.latest-title {
  margin: 0 0 12px;
  color: #8792a5;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-list {
  display: grid;
  gap: 10px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.article-list a {
  display: -webkit-box;
  overflow: hidden;
  color: #263245;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.5;
  text-decoration-color: rgba(38, 50, 69, 0);
  text-underline-offset: 4px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.article-list a:hover {
  color: #517eda;
  text-decoration: underline;
  text-decoration-color: currentColor;
}

.visit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: max-content;
  min-height: 42px;
  margin-top: auto;
  padding: 0 16px;
  border: 1px solid rgba(93, 117, 154, 0.25);
  border-radius: 14px;
  color: #263245;
  background: #fff;
  font-size: 14px;
  font-weight: 680;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.visit-button:hover {
  transform: translateY(-1px);
  border-color: rgba(91, 135, 220, 0.42);
  color: #315eaf;
  background: #f8fbff;
}

.empty-state {
  padding: 42px;
  border: 1px dashed rgba(105, 115, 134, 0.3);
  border-radius: 20px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.56);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

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

.footer-contact,
.back-top {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  color: #476aa9;
  background: transparent;
  cursor: pointer;
}

@keyframes wave {
  0%,
  100% {
    transform: scaleY(0.72);
    opacity: 0.72;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}


@media (max-width: 980px) {
  .site-shell {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: max(10px, env(safe-area-inset-top));
  }

  .sidebar {
    z-index: 10;
    top: 0;
    width: calc(100% + 28px);
    max-width: none;
    margin-inline: -14px;
    overflow: clip;
    height: auto;
    padding: 10px 14px 12px;
    border-width: 0 0 1px;
    border-radius: 0;
    background: rgba(247, 248, 251, 0.86);
    box-shadow: 0 12px 30px rgba(39, 55, 86, 0.08);
  }

  .platform-nav {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding: 0 2px 2px;
    scrollbar-width: none;
  }

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

  .nav-link {
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid rgba(132, 150, 176, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    white-space: nowrap;
  }

  .platform-menu-icon {
    width: 20px;
    height: 20px;
  }

  .nav-link.active {
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(55, 79, 120, 0.1);
  }

  .nav-link.active::before {
    display: none;
  }

  .nav-dot {
    display: none;
  }

  .sidebar-bottom {
    display: none;
  }

  .platform-section {
    scroll-margin-top: 156px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 22px 0 44px;
  }
}

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

  .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 2px 10px;
  }

    .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }
