/* ===== Tokens — aligned with app global.css ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0b0f17;
  --bg-elevated: #131a24;
  --bg-card: #10151e;
  --bg-card-hover: #161d28;
  --border: #232d3d;
  --border-subtle: rgba(35, 45, 61, 0.6);
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --primary: #22c55e;
  --primary-hover: #16a34a;
  --primary-soft: rgba(34, 197, 94, 0.12);
  --primary-glow: rgba(34, 197, 94, 0.28);
  --accent: #38bdf8;
  --radius: 12px;
  --radius-lg: 16px;
  --container: 1140px;
  --font: 'DM Sans', 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

main {
  position: relative;
  z-index: 1;
}

/* ===== Background ===== */
.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: var(--bg);
}

/* ===== Icons ===== */
.icon-windows {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ===== Toast ===== */
.site-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  z-index: 200;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: rgba(19, 26, 36, 0.92);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.site-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 14px 24px; font-size: 15px; }

.btn-primary {
  background: linear-gradient(180deg, #2dd46a 0%, var(--primary) 100%);
  color: #042f1a;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset, 0 4px 16px rgba(34, 197, 94, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #34d96f 0%, var(--primary-hover) 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset, 0 8px 28px var(--primary-glow);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 2px 8px rgba(34, 197, 94, 0.25);
}

/* Download modal — same pattern as app order creating */
.download-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(11, 15, 23, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.download-modal--visible {
  opacity: 1;
  pointer-events: auto;
}

.download-modal__card {
  width: min(360px, 100%);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.download-modal__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 32px;
  text-align: center;
}

.download-modal__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(148, 163, 184, 0.25);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: download-modal-spin 0.8s linear infinite;
}

.download-modal__spinner[hidden] {
  display: none;
}

.download-modal__title {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.download-modal__sub {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

@keyframes download-modal-spin {
  to { transform: rotate(360deg); }
}

.btn-primary .icon-windows {
  opacity: 0.9;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border: 1px solid rgba(148, 163, 184, 0.25);
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: rgba(148, 163, 184, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

.header.scrolled {
  background: rgba(11, 15, 23, 0.88);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

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

.brand-logo {
  border-radius: 8px;
}

.brand-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

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

.header-social {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.header-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s, background 0.2s, transform 0.15s, opacity 0.2s;
}

.header-social-link--gitee {
  border: none;
  background: transparent;
  padding: 0;
}

.header-social-link:hover {
  border-color: rgba(148, 163, 184, 0.45);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.header-social-link--gitee:hover {
  border-color: transparent;
  background: transparent;
  opacity: 0.88;
}

.header-social-link img,
.header-social-link svg,
.header-social-link .social-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.header-social-link--gitee img,
.header-social-link--gitee svg,
.header-social-link--gitee .social-icon {
  width: 22px;
  height: 22px;
}

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
}

.menu-btn span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.menu-btn.open span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-btn.open span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  z-index: 1;
  padding: 128px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary-glow);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-title em {
  font-style: normal;
  color: var(--primary);
}

.hero-lead {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-meta li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dim);
}

.hero-meta svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
}

/* Window frame */
.hero-shot {
  position: relative;
}

.window-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(34, 197, 94, 0.12);
  background: var(--bg-card);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 32px 64px rgba(0, 0, 0, 0.5),
    0 0 100px rgba(34, 197, 94, 0.08);
}

.window-frame--wide img {
  width: 100%;
}

.window-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--border-subtle);
}

.chrome-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #3a4556;
}

.chrome-dot:nth-child(1) { background: #ff5f57; }
.chrome-dot:nth-child(2) { background: #febc2e; }
.chrome-dot:nth-child(3) { background: #28c840; }

.chrome-title {
  margin-left: 8px;
  font-size: 12px;
  color: var(--text-dim);
}

/* ===== Highlights ===== */
.highlights {
  position: relative;
  z-index: 1;
  padding: 0 0 80px;
  margin-top: -16px;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.highlight-card {
  padding: 24px;
  background: rgba(16, 21, 30, 0.65);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}

.highlight-card:hover {
  border-color: rgba(34, 197, 94, 0.3);
  background: rgba(22, 29, 40, 0.75);
  transform: translateY(-2px);
}

.highlight-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 16px;
}

.highlight-icon svg {
  width: 22px;
  height: 22px;
}

.highlight-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.highlight-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== Section head ===== */
.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head--left {
  text-align: left;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.section-head p {
  margin-top: 12px;
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.section-head--left p {
  margin-left: 0;
}

/* ===== Preview tabs ===== */
.preview {
  position: relative;
  z-index: 1;
  padding: 96px 0;
}

.preview-shell {
  border: 1px solid rgba(35, 45, 61, 0.6);
  border-radius: var(--radius-lg);
  background: rgba(16, 21, 30, 0.55);
  backdrop-filter: blur(16px);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.preview-tabs {
  display: flex;
  gap: 4px;
  padding: 8px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}

.preview-tabs::-webkit-scrollbar {
  display: none;
}

.preview-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 10px 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.preview-tab:hover {
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
}

.preview-tab.active {
  color: var(--text);
  background: var(--bg-card);
  box-shadow: inset 0 0 0 1px var(--border);
}

.tab-num {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
}

.preview-tab.active .tab-num {
  color: var(--primary);
}

.preview-stage {
  position: relative;
  padding: 24px;
}

.preview-panel {
  display: none;
  animation: fade-in 0.35s ease;
}

.preview-panel.active {
  display: block;
}

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

.preview-caption {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
}

/* ===== Capability grid ===== */
.features {
  position: relative;
  z-index: 1;
  padding: 96px 0;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.cap-card {
  padding: 28px;
  background: rgba(16, 21, 30, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.cap-card:hover {
  border-color: rgba(34, 197, 94, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.cap-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 18px;
}

.cap-icon svg {
  width: 22px;
  height: 22px;
}

.cap-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}

.cap-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Admin showcase */
.admin-showcase {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: center;
  margin-top: 32px;
  padding: 40px;
  background: rgba(16, 21, 30, 0.65);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.admin-showcase-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
}

.admin-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 3px 8px;
  border-radius: 5px;
}

.admin-showcase-copy h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.3;
}

.admin-showcase-copy > p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.admin-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.admin-points li::before {
  content: '';
  width: 6px;
  height: 6px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--primary-glow);
}

.admin-showcase-visual .window-frame {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 24px 48px rgba(0, 0, 0, 0.45);
}

.admin-showcase-visual img {
  width: 100%;
}

/* ===== Use cases ===== */
.cases {
  position: relative;
  z-index: 1;
  padding: 96px 0;
}

.cases-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.cases-copy h2 {
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.cases-copy p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

.cases-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cases-list li {
  padding: 20px 24px;
  background: rgba(16, 21, 30, 0.65);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  transition: border-color 0.25s, background 0.25s;
}

.cases-list li:hover {
  border-color: rgba(34, 197, 94, 0.2);
  background: rgba(22, 29, 40, 0.75);
}

.cases-list strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.cases-list span {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== Tech strip ===== */
.tech {
  position: relative;
  z-index: 1;
  padding: 40px 0;
  border-top: 1px solid rgba(35, 45, 61, 0.35);
}

.tech-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 16px;
}

.tech-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
}

.tech-row span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.tech-row span:not(:last-child)::after {
  content: '·';
  margin-left: 24px;
  color: var(--border);
}

/* ===== Download ===== */
.download {
  position: relative;
  z-index: 1;
  padding: 96px 0 120px;
}

.download-card {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 48px;
  background: rgba(16, 21, 30, 0.65);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  box-shadow: 0 0 80px rgba(34, 197, 94, 0.06), 0 32px 64px rgba(0, 0, 0, 0.35);
}

.download-logo {
  border-radius: 16px;
  flex-shrink: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.download-copy h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.download-copy > p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 520px;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.download-note {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.8;
}

.download-stats {
  margin-top: 4px;
  margin-bottom: 4px;
}

.download-count-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.2;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.12);
  backdrop-filter: blur(6px);
}

.download-count-chip svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--primary);
  opacity: 0.85;
}

.download-count-chip .js-download-count {
  font-weight: 600;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

.download-count-chip .js-download-count.count-bump {
  animation: count-bump 0.45s ease;
}

.hero-download-stats {
  margin: 0 0 20px;
}

@keyframes count-bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

.download-note .muted {
  color: var(--text-dim);
  opacity: 0.8;
}

/* ===== Footer ===== */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(35, 45, 61, 0.35);
  background: transparent;
  padding: 56px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 48px;
  padding-bottom: 40px;
}

.footer-brand p {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.65;
  max-width: 280px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--text-muted);
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 10px;
  transition: color 0.2s;
}

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

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-dim);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cap-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-showcase {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px;
  }

  .cases-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px;
    background: rgba(11, 15, 23, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
  }

  .nav.open {
    display: flex;
  }

  .nav-link {
    padding: 12px 16px;
    border-radius: 8px;
  }

  .menu-btn {
    display: flex;
  }

  .header-social-link {
    width: 30px;
    height: 30px;
  }

  .header-social-link--gitee img,
  .header-social-link--gitee svg,
  .header-social-link--gitee .social-icon {
    width: 20px;
    height: 20px;
  }

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

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

  .admin-showcase {
    padding: 24px;
  }

  .download-card {
    flex-direction: column;
    padding: 32px 24px;
  }

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

  .tech-row span:not(:last-child)::after {
    display: none;
  }

  .tech-row {
    gap: 8px 16px;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

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