:root {
  --bg-deep: #050810;
  --bg-mid: #0a1020;
  --bg-card: rgba(10, 18, 36, 0.72);
  --bg-card-hover: rgba(14, 24, 48, 0.85);
  --border: rgba(0, 212, 255, 0.18);
  --border-bright: rgba(0, 212, 255, 0.45);
  --glow-cyan: rgba(0, 212, 255, 0.35);
  --glow-purple: rgba(139, 92, 246, 0.3);
  --accent: #00d4ff;
  --accent-2: #3b82f6;
  --accent-3: #8b5cf6;
  --gradient-tech: linear-gradient(135deg, #00d4ff 0%, #3b82f6 50%, #8b5cf6 100%);
  --color-primary: #e8f0ff;
  --color-text: #c8d8f0;
  --color-text-muted: #7a94b8;
  --shadow-sm: 0 0 20px rgba(0, 212, 255, 0.06);
  --shadow-md: 0 8px 40px rgba(0, 0, 0, 0.45), 0 0 1px var(--border-bright);
  --radius: 12px;
  --header-h: 84px;
  --text-xs: 18px;
  --text-sm: 22px;
  --text-base: 26px;
  --text-lg: 30px;
  --text-xl: 36px;
  --text-2xl: 44px;
  --text-3xl: 52px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "PingFang SC", "SF Pro Display", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--bg-deep);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 15% 0%, rgba(0, 212, 255, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 45% at 85% 10%, rgba(139, 92, 246, 0.14), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(59, 130, 246, 0.08), transparent 55%),
    linear-gradient(180deg, #050810 0%, #0a1020 50%, #050810 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, black 20%, transparent 75%);
  pointer-events: none;
}

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

.container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: clamp(16px, 2.5vw, 36px);
  padding-right: clamp(16px, 2.5vw, 36px);
}

.container-wide {
  width: 100%;
  max-width: none;
  padding-left: clamp(12px, 2vw, 28px);
  padding-right: clamp(12px, 2vw, 28px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(5, 8, 16, 0.82);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--border);
}

.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 212, 255, 0.08);
  border-bottom-color: var(--border-bright);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gradient-tech);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  box-shadow: 0 0 24px var(--glow-cyan);
}

.brand-name {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.brand-tag {
  font-size: var(--text-xs);
  color: var(--accent);
  letter-spacing: 0.14em;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  opacity: 0.85;
}

.site-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }

.site-nav a {
  padding: 10px 16px;
  border-radius: 8px;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  border: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.site-nav a:hover {
  color: var(--accent);
  border-color: var(--border);
  background: rgba(0, 212, 255, 0.06);
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0, 212, 255, 0.05);
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--accent);
  margin: 6px 0;
  transition: transform 0.3s, opacity 0.3s;
  box-shadow: 0 0 6px var(--glow-cyan);
}

/* Hero */
.page-hero {
  padding: calc(var(--header-h) + 32px) 0 32px;
  position: relative;
}

.page-hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  width: 80%;
  max-width: none;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: var(--text-sm);
  font-weight: 600;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

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

@keyframes pulse-glow {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--accent); }
  50% { opacity: 0.5; box-shadow: 0 0 4px var(--accent); }
}

.page-hero-title {
  margin: 0 0 16px;
  font-size: clamp(40px, 6vw, 60px);
  font-weight: 800;
  line-height: 1.12;
  background: var(--gradient-tech);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.page-hero-desc {
  margin: 0;
  flex: 1;
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: none;
}

.page-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-hero-tags span {
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-primary);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.page-hero-tags span:hover {
  border-color: var(--border-bright);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.12);
}

/* Grid */
.page-grid-section {
  padding: 8px 0 36px;
  width: 100%;
}

.page-grid-section .container-wide {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  gap: clamp(20px, 3vw, 32px);
  align-items: stretch;
  width: 80%;
  max-width: none;
  margin: 0 auto;
}

.grid-cell {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: clamp(24px, 2.2vw, 36px);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
  min-height: 320px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

/* 左右分栏：左内容 + 右图 */
.grid-cell-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0;
  gap: 0;
  align-items: stretch;
  min-height: 360px;
}

.cell-body {
  padding: clamp(24px, 2.2vw, 36px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
}

.cell-media {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  border-left: 1px solid var(--border);
}

.cell-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.grid-cell-split:hover .cell-media img {
  transform: scale(1.03);
}

.grid-cell > * {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.grid-cell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-tech);
  opacity: 0.6;
  z-index: 3;
}

.grid-cell:hover {
  border-color: var(--border-bright);
  box-shadow: var(--shadow-md);
}

.grid-cell-accent {
  background: linear-gradient(160deg, rgba(0, 212, 255, 0.06) 0%, rgba(139, 92, 246, 0.08) 100%);
}

.grid-cell-accent::before {
  opacity: 1;
  box-shadow: 0 0 20px var(--glow-cyan);
}

.grid-cell-login {
  padding: 0;
  background: transparent;
  border: none;
  backdrop-filter: none;
  width: 100%;
}

.grid-cell-login.grid-cell-split {
  border: 1px solid var(--border-bright);
  background: transparent;
  backdrop-filter: none;
}

.grid-cell-login > * {
  width: 100%;
}

.grid-cell-login .login-panel {
  border: none;
  border-radius: 0;
  box-shadow: none;
  min-height: 360px;
}

.grid-cell-login::before { display: none; }
.grid-cell-login:hover { box-shadow: var(--shadow-md); }

.cell-label {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  margin-bottom: 10px;
}

.cell-title {
  margin: 0 0 18px;
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
}

.cell-text {
  margin: 0 0 12px;
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.cell-tags {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cell-tags li {
  padding: 8px 14px;
  border-radius: 6px;
  background: rgba(5, 10, 22, 0.55);
  border: 1px solid var(--border);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  backdrop-filter: blur(6px);
}

.cell-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  width: 100%;
}

.cell-list li {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}

.cell-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--glow-cyan);
  transform: rotate(45deg);
}

.cell-list-check li::before {
  content: "▸";
  width: auto;
  height: auto;
  background: none;
  color: var(--accent);
  font-weight: 700;
  top: 0;
  transform: none;
  box-shadow: none;
}

.cell-list strong { color: var(--color-primary); }

.cell-steps {
  margin: 0 0 16px;
  padding-left: 24px;
  display: grid;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

.cell-steps li {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.55;
}

.cell-steps li::marker { color: var(--accent); }

.cell-faq p {
  margin: 0 0 12px;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(5, 10, 22, 0.55);
  border-left: 2px solid var(--accent-3);
  width: 100%;
  box-sizing: border-box;
  backdrop-filter: blur(6px);
}

.cell-faq strong { color: var(--color-primary); }

.cell-contact {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 12px;
  width: 100%;
}

.cell-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--text-base);
  color: var(--color-text);
}

.cell-quote {
  margin: 16px 0 0;
  padding: 16px 18px;
  border-radius: 8px;
  background: rgba(5, 10, 22, 0.55);
  border: 1px solid var(--border);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-style: normal;
  line-height: 1.65;
  width: 100%;
  backdrop-filter: blur(6px);
}

.download-btns {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding-top: 0;
  width: 100%;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(5, 10, 22, 0.55);
  border: 1px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  backdrop-filter: blur(6px);
}

.download-btn:hover {
  border-color: var(--border-bright);
  background: rgba(0, 212, 255, 0.08);
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.12);
}

.download-icon { font-size: 28px; }
.download-label { font-size: var(--text-base); font-weight: 600; color: var(--color-primary); }
.download-sub { font-size: var(--text-xs); color: var(--color-text-muted); }

/* Products */
.product-block {
  padding-top: 4px;
  margin-bottom: 20px;
  width: 100%;
}

.product-block-mac {
  padding-top: 18px;
  margin-top: 10px;
  border-top: 1px solid var(--border);
}

.product-name {
  margin: 0 0 12px;
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-primary);
}

.product-features { margin-bottom: 14px !important; }

.mac-store-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  box-sizing: border-box;
  padding: 14px 22px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  margin-top: 6px;
}

.mac-store-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.15);
  color: #fff;
}

.mac-store-icon {
  width: 28px;
  height: 28px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M18.71 19.5c-.83 1.24-1.71 2.45-3.05 2.47-1.34.03-1.77-.79-3.29-.79-1.53 0-2 .77-3.27.82-1.31.05-2.3-1.32-3.14-2.53C4.25 17 2.94 12.45 4.7 9.39c.87-1.52 2.43-2.48 4.12-2.51 1.28-.02 2.5.87 3.29.87.78 0 2.26-1.07 3.8-.91.65.03 2.47.26 3.64 1.98-.09.06-2.17 1.28-2.15 3.81.03 3.02 2.65 4.03 2.68 4.04-.03.07-.42 1.44-1.38 2.83M13 3.5c.73-.83 1.94-1.46 2.94-1.5.13 1.17-.34 2.35-1.04 3.19-.69.85-1.83 1.51-2.95 1.42-.15-1.15.41-2.35 1.05-3.11z'/%3E%3C/svg%3E");
  flex-shrink: 0;
}

.mac-store-text { display: flex; flex-direction: column; line-height: 1.15; }
.mac-store-line1 { font-size: 13px; opacity: 0.85; }
.mac-store-line2 { font-size: 26px; font-weight: 700; }
.mac-store-hint {
  margin: 12px 0 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Login */
.login-panel {
  position: static;
  width: 100%;
  height: 100%;
  min-height: 320px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border-bright);
  backdrop-filter: blur(16px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.1), var(--shadow-md);
}

.login-panel-top {
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(139, 92, 246, 0.1));
}

.login-panel-logo {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: var(--gradient-tech);
  color: #fff;
  font-weight: 800;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 24px var(--glow-cyan);
}

.login-panel-brand { display: flex; align-items: center; gap: 14px; }

.login-panel-title {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-primary);
}

.login-panel-sub {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: 4px;
}

.login-panel-sub a { color: var(--accent); font-weight: 600; }

.login-panel-body { padding: 20px 22px 24px; flex: 1; width: 100%; box-sizing: border-box; }
.login-form { display: flex; flex-direction: column; gap: 12px; width: 100%; }

.login-input {
  width: 100%;
  height: 64px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  padding: 0 20px;
  font-size: var(--text-base);
  color: var(--color-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.login-input::placeholder { color: var(--color-text-muted); opacity: 0.7; }

.login-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15), 0 0 20px rgba(0, 212, 255, 0.1);
  background: rgba(0, 0, 0, 0.45);
}

.login-row { display: flex; gap: 10px; }
.login-input-code { flex: 1; min-width: 0; }

.login-send {
  width: 150px;
  height: 64px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(0, 212, 255, 0.08);
  color: var(--accent);
  font-size: var(--text-sm);
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, box-shadow 0.2s;
}

.login-send:hover:not(:disabled) {
  background: rgba(0, 212, 255, 0.15);
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.15);
}

.login-send:disabled { opacity: 0.45; cursor: not-allowed; }

.login-link {
  font-size: var(--text-sm);
  color: var(--accent);
  font-weight: 600;
  align-self: flex-end;
}

.login-link:hover { text-shadow: 0 0 12px var(--glow-cyan); }
.login-link-center { align-self: center; text-align: center; }

.login-submit {
  width: 100%;
  height: 68px;
  border: none;
  border-radius: 10px;
  background: var(--gradient-tech);
  color: #fff;
  font-size: var(--text-2xl);
  font-weight: 800;
  cursor: pointer;
  margin-top: 6px;
  letter-spacing: 0.04em;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(0, 212, 255, 0.25);
}

.login-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.35);
}

.login-submit:disabled { opacity: 0.45; cursor: not-allowed; }

.login-agreement {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.65;
}

.login-agreement a { color: var(--accent); font-weight: 700; }

.login-agreement-check {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  border: 1px solid var(--border-bright);
  background: rgba(0, 0, 0, 0.3);
  margin-right: 4px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.login-agreement-check.checked {
  background: var(--accent-2);
  border-color: var(--accent);
  box-shadow: 0 0 12px var(--glow-cyan);
}

.login-agreement-check.checked::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
}

.login-toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%) translateY(12px);
  background: rgba(10, 18, 36, 0.95);
  border: 1px solid var(--border-bright);
  color: var(--accent);
  padding: 14px 24px;
  border-radius: 8px;
  font-size: var(--text-base);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
}

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

.login-modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-modal[hidden] { display: none; }

.login-modal-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-mid);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 0 60px rgba(0, 212, 255, 0.15);
}

.login-modal-title {
  font-size: var(--text-xl);
  font-weight: 700;
  text-align: center;
  color: var(--color-primary);
}

.login-modal-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  text-align: center;
}

.login-modal-actions { display: flex; gap: 10px; }

.login-btn-ghost {
  flex: 1;
  height: 52px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  color: var(--color-text-muted);
  font-size: var(--text-base);
  font-weight: 600;
  cursor: pointer;
}

.login-modal-actions .login-submit { flex: 1; margin-top: 0; }

/* Footer */
.site-footer {
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid var(--border);
  color: var(--color-text-muted);
  padding: 22px 0;
  backdrop-filter: blur(8px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: var(--text-base);
  width: 80%;
  max-width: none;
  margin: 0 auto;
}

.footer-bottom a {
  color: var(--accent);
  opacity: 0.75;
  transition: opacity 0.2s;
}

.footer-bottom a:hover { opacity: 1; }

.footer-icp {
  width: 80%;
  max-width: none;
  margin: 10px auto 0;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.footer-icp a {
  color: var(--color-text-muted);
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}

.footer-icp a:hover {
  opacity: 1;
  color: var(--accent);
}

/* 单列布局：取消平板/手机多列覆盖 */
@media (max-width: 1024px) {
  .page-grid {
    grid-template-columns: 1fr;
    width: 80%;
  }
  .grid-cell-login { grid-column: auto; }
}

@media (max-width: 768px) {
  .container { padding-left: 16px; padding-right: 16px; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(5, 8, 16, 0.96);
    flex-direction: column;
    padding: 16px;
    gap: 6px;
    border-bottom: 1px solid var(--border-bright);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
    backdrop-filter: blur(16px);
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a { width: 100%; }
  .nav-toggle { display: block; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .page-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    width: 80%;
  }

  .page-hero-inner {
    flex-direction: column;
    align-items: flex-start;
    width: 80%;
  }

  .grid-cell-split {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .cell-body {
    order: 1;
  }

  .cell-media {
    order: 2;
    min-height: 220px;
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .grid-cell-login .login-panel {
    min-height: 0;
  }
}
