/* ============================================
   上海明睿信息技术 - 全站统一样式
   美学方向：科技编辑风 Tech-Editorial
   ============================================ */

/* 设计令牌 */
:root {
  --color-primary: #0A1628;
  --color-primary-light: #142841;
  --color-accent: #FF6B35;
  --color-accent-dark: #E5552A;
  --color-secondary: #2D5F7C;
  --color-bg: #F5F1EB;
  --color-bg-alt: #EDE7DC;
  --color-text: #1A1A2E;
  --color-text-muted: #6B7280;
  --color-border: #E5E0D5;
  --color-white: #FFFFFF;
  --color-dark: #0A1628;

  --font-display: "Noto Serif SC", "Source Han Serif SC", serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "Courier New", monospace;

  --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 22, 40, 0.1);
  --shadow-lg: 0 20px 50px rgba(10, 22, 40, 0.15);
  --shadow-accent: 0 8px 24px rgba(255, 107, 53, 0.3);

  --radius: 4px;
  --radius-lg: 12px;
  --max-width: 1280px;
  --nav-height: 72px;
}

/* 重置 */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

/* 通用容器 */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================
   导航栏
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.97);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-inner {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-white);
}

.nav-logo-mark {
  width: 32px;
  height: 32px;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  color: var(--color-white);
  border-radius: 4px;
  transform: rotate(-3deg);
  flex-shrink: 0;
}

.nav-logo-text {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.nav-logo-text span {
  color: var(--color-accent);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-menu a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--color-white);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-phone {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-family: var(--font-mono);
}

.btn-login {
  background: var(--color-accent);
  color: var(--color-white);
  padding: 9px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.5px;
}

.btn-login:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   按钮
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-sans);
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-secondary {
  background: var(--color-secondary);
  color: var(--color-white);
}

.btn-secondary:hover {
  background: #245068;
  transform: translateY(-2px);
}

.btn-deposit {
  background: var(--color-accent);
  color: var(--color-white);
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: var(--shadow-accent);
  animation: pulse-glow 2.5s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3);
  }
  50% {
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.6);
  }
}

.btn-large {
  padding: 16px 40px;
  font-size: 16px;
}

/* ============================================
   Hero 区
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 107, 53, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(45, 95, 124, 0.25) 0%, transparent 50%);
  pointer-events: none;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.6) 0%, rgba(10, 22, 40, 0.9) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-eyebrow::before {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--color-accent);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 24px;
  max-width: 900px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero-title .accent {
  color: var(--color-accent);
  position: relative;
  display: inline-block;
}

.hero-title .accent::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  height: 8px;
  background: rgba(255, 107, 53, 0.25);
  z-index: -1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.8s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  letter-spacing: 2px;
  text-align: center;
  animation: bounce 2s ease-in-out infinite;
}

.hero-scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
  margin: 12px auto 0;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero 业务标签栏 */
.hero-tags {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background: rgba(10, 22, 40, 0.8);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-tags-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.hero-tag {
  text-align: center;
}

.hero-tag-title {
  color: var(--color-accent);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.hero-tag-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

/* ============================================
   通用区块
   ============================================ */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--color-primary);
  color: var(--color-white);
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-eyebrow {
  display: inline-block;
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.section-dark .section-title {
  color: var(--color-white);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 auto;
}

.section-dark .section-desc {
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   业务卡片
   ============================================ */
.business-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.business-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.business-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.business-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.business-card:hover::before {
  transform: scaleX(1);
}

.business-card-icon {
  width: 56px;
  height: 56px;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-accent);
  transition: all 0.3s ease;
}

.business-card:hover .business-card-icon {
  background: var(--color-accent);
  color: var(--color-white);
}

.business-card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.business-card-desc {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ============================================
   合作资讯
   ============================================ */
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.news-block-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-border);
}

.news-block-title h3 {
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

.news-block-title h3::before {
  content: "";
  width: 4px;
  height: 24px;
  background: var(--color-accent);
  border-radius: 2px;
}

.news-block-more {
  font-size: 13px;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.news-block-more:hover {
  color: var(--color-accent);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  transition: all 0.25s ease;
  cursor: pointer;
}

.news-item:hover {
  border-color: var(--color-accent);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.news-item-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-text);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-item:hover .news-item-title {
  color: var(--color-accent);
}

.news-item-date {
  font-size: 13px;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  white-space: nowrap;
  padding-top: 2px;
}

/* ============================================
   案例展示
   ============================================ */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  cursor: pointer;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.case-card-img {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.case-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 22, 40, 0.4) 100%);
}

.case-card-body {
  padding: 24px;
}

.case-card-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.5;
}

.case-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.case-card-views {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================
   合作伙伴 Logo 墙
   ============================================ */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.partner-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  filter: grayscale(100%);
  opacity: 0.7;
}

.partner-item:hover {
  filter: grayscale(0);
  opacity: 1;
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.partner-item-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: var(--color-bg-alt);
}

.partner-item-name {
  font-size: 13px;
  color: var(--color-text);
  text-align: center;
  font-weight: 500;
}

/* ============================================
   关于摘要
   ============================================ */
.about-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-summary-text h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
}

.about-summary-text p {
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 16px;
}

.about-summary-img {
  height: 420px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.about-stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
}

.about-stat-label {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 8px;
}

/* ============================================
   页脚
   ============================================ */
.footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 400px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-contact-item .icon {
  color: var(--color-accent);
  flex-shrink: 0;
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: var(--color-accent);
}

.footer-icp {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   整合营销 - 时间轴
   ============================================ */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 40px 40px 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  margin-left: 50%;
  padding: 0 0 40px 40px;
  text-align: left;
}

.timeline-item::after {
  content: "";
  position: absolute;
  top: 8px;
  right: -8px;
  width: 16px;
  height: 16px;
  background: var(--color-accent);
  border-radius: 50%;
  border: 4px solid var(--color-primary);
  z-index: 2;
}

.timeline-item:nth-child(even)::after {
  right: auto;
  left: -8px;
}

.timeline-version {
  font-family: var(--font-mono);
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}

.timeline-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.7;
}

/* ============================================
   引擎构成网格
   ============================================ */
.engine-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.engine-item {
  background: var(--color-white);
  padding: 28px 20px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.engine-item:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.engine-item:hover .engine-name {
  color: var(--color-white);
}

.engine-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 10px;
}

.engine-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  transition: color 0.3s;
}

/* ============================================
   智慧赋能流程
   ============================================ */
.process-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.process-step {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  position: relative;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.process-step:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.process-step-num {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
}

.process-step-icon {
  width: 64px;
  height: 64px;
  margin: 12px auto 20px;
  background: var(--color-bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.process-step h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.process-step .btn {
  margin-top: 16px;
  padding: 8px 20px;
  font-size: 13px;
  background: var(--color-bg-alt);
  color: var(--color-text);
}

.process-step .btn:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

/* ============================================
   战略合作 - 合作模式
   ============================================ */
.coop-mode-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.coop-mode-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.coop-mode-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.02), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.coop-mode-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.coop-mode-card:hover::before {
  opacity: 1;
}

.coop-mode-icon {
  width: 72px;
  height: 72px;
  background: var(--color-primary);
  color: var(--color-accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.coop-mode-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.coop-mode-card p {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.coop-mode-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.coop-mode-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text);
}

.coop-mode-features li::before {
  content: "→";
  color: var(--color-accent);
  font-weight: 700;
}

/* ============================================
   合作流程步骤
   ============================================ */
.coop-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.coop-flow-step {
  text-align: center;
  position: relative;
  padding: 32px 20px;
}

.coop-flow-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  color: var(--color-bg-alt);
  display: block;
  line-height: 1;
  margin-bottom: 16px;
  transition: color 0.3s;
}

.coop-flow-step:hover::before {
  color: var(--color-accent);
}

.coop-flow-step h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.coop-flow-step p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.coop-flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50px;
  right: -16px;
  width: 32px;
  height: 1px;
  background: var(--color-border);
}

/* ============================================
   增值服务 - 内容分享卡片
   ============================================ */
.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
  border: 1px solid var(--color-border);
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 36px;
  background: var(--color-primary);
  color: var(--color-white);
}

.service-card-tag {
  background: var(--color-accent);
  color: var(--color-white);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: var(--radius);
  text-transform: uppercase;
}

.service-card-header h2 {
  font-size: 24px;
  font-weight: 700;
  flex: 1;
}

.service-card-body {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 0;
}

.service-card-content {
  padding: 36px;
  position: relative;
  max-height: 420px;
  overflow: hidden;
}

.service-card-content.expanded {
  max-height: none;
}

.service-card-content::after {
  content: "";
  position: absolute;
  bottom: 80px;
  left: 0;
  right: 280px;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--color-white) 90%);
  pointer-events: none;
  transition: opacity 0.3s;
}

.service-card-content.expanded::after {
  opacity: 0;
}

.service-card-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 24px 0 12px;
  color: var(--color-primary);
}

.service-card-content h3:first-child {
  margin-top: 0;
}

.service-card-content p {
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 14px;
}

.service-card-content ul {
  padding-left: 0;
  margin-bottom: 16px;
}

.service-card-content ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.7;
}

.service-card-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
}

.service-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.service-card-tag-item {
  background: var(--color-bg-alt);
  color: var(--color-secondary);
  padding: 4px 12px;
  font-size: 12px;
  border-radius: var(--radius);
  font-weight: 500;
}

.service-card-sidebar {
  background: var(--color-bg-alt);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-left: 1px solid var(--color-border);
}

.service-card-sidebar .lock-icon {
  width: 56px;
  height: 56px;
  background: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.service-card-sidebar h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.service-card-sidebar p {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-card-sidebar .price {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.service-card-sidebar .price small {
  font-size: 14px;
  color: var(--color-text-muted);
  font-weight: 400;
}

/* ============================================
   注册登录页
   ============================================ */
.auth-page {
  min-height: 100vh;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 40px;
  position: relative;
  overflow: hidden;
}

.auth-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 107, 53, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(45, 95, 124, 0.2) 0%, transparent 50%);
}

.auth-card {
  position: relative;
  z-index: 2;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  transition: color 0.2s;
}

.auth-back:hover {
  color: var(--color-accent);
}

.auth-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.auth-subtitle {
  color: var(--color-text-muted);
  font-size: 14px;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

.form-label .required {
  color: var(--color-accent);
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--font-sans);
  background: var(--color-bg);
  transition: all 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-accent);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-input.error {
  border-color: #dc2626;
  background: #fef2f2;
}

.form-error {
  color: #dc2626;
  font-size: 12px;
  margin-top: 6px;
  display: none;
}

.form-error.show {
  display: block;
}

.realname-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border: 1px solid #bae6fd;
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 24px;
}

.realname-badge .shield-icon {
  width: 32px;
  height: 32px;
  background: #0284c7;
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.realname-badge-text {
  font-size: 13px;
  color: #075985;
  line-height: 1.5;
}

.realname-badge-text strong {
  display: block;
  font-size: 14px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s;
  margin-top: 8px;
}

.form-submit:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.auth-footer {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 24px;
}

.auth-footer a {
  color: var(--color-accent);
  font-weight: 600;
}

/* ============================================
   收费模式页 / 支付弹窗
   ============================================ */
.pay-page {
  min-height: 100vh;
  background: var(--color-bg);
  padding: 100px 20px 60px;
}

.pay-container {
  max-width: 800px;
  margin: 0 auto;
}

.pay-header {
  text-align: center;
  margin-bottom: 40px;
}

.pay-header h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.pay-header p {
  color: var(--color-text-muted);
}

.pay-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.pay-plan {
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
}

.pay-plan:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pay-plan.selected {
  border-color: var(--color-accent);
  background: linear-gradient(180deg, #fff7f3, var(--color-white));
}

.pay-plan.recommended::before {
  content: "推荐";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
}

.pay-plan-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.pay-plan-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.pay-plan-price small {
  font-size: 14px;
  color: var(--color-text-muted);
  font-weight: 400;
}

.pay-plan-desc {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.pay-plan-features {
  text-align: left;
  font-size: 13px;
  color: var(--color-text);
}

.pay-plan-features li {
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pay-plan-features li::before {
  content: "✓";
  color: var(--color-accent);
  font-weight: 700;
}

.pay-trigger {
  text-align: center;
}

/* 支付弹窗 */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.modal-overlay.show .modal {
  transform: scale(1);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.modal-amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.modal-qr {
  width: 220px;
  height: 220px;
  margin: 0 auto 20px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.modal-qr-img {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  padding: 16px;
}

.modal-tip {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.modal-cancel {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
}

.modal-cancel:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

/* ============================================
   通用动画
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   页面头部 (内页)
   ============================================ */
.page-hero {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(255, 107, 53, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(45, 95, 124, 0.2) 0%, transparent 50%);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}

.page-hero-eyebrow {
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
}

.page-hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 700px;
  margin: 0 auto;
}

/* CTA 区 */
.cta-section {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1024px) {
  .business-grid,
  .case-grid,
  .coop-mode-grid,
  .engine-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid,
  .about-summary {
    grid-template-columns: 1fr;
  }

  .partner-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .process-flow,
  .coop-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .coop-flow-step:nth-child(2)::after {
    display: none;
  }

  .service-card-body {
    grid-template-columns: 1fr;
  }

  .service-card-content::after {
    right: 0;
  }

  .service-card-sidebar {
    border-left: none;
    border-top: 1px solid var(--color-border);
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-primary);
    flex-direction: column;
    padding: 24px 32px;
    gap: 16px;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-menu.active {
    transform: translateY(0);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-phone {
    display: none;
  }

  .container {
    padding: 0 20px;
  }

  .section {
    padding: 60px 0;
  }

  .business-grid,
  .case-grid,
  .coop-mode-grid,
  .engine-grid,
  .partner-grid,
  .process-flow,
  .coop-flow,
  .pay-plans {
    grid-template-columns: 1fr;
  }

  .hero-tags-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding: 0 0 32px 48px;
    text-align: left;
  }

  .timeline-item::after,
  .timeline-item:nth-child(even)::after {
    left: 12px;
    right: auto;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .coop-flow-step::after {
    display: none;
  }

  .auth-card {
    padding: 32px 24px;
  }
}

/* ============================================
   登录弹窗
   ============================================ */
.login-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.login-modal.show {
  opacity: 1;
  visibility: visible;
}

.login-modal-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  position: relative;
}

.login-modal.show .login-modal-card {
  transform: scale(1);
}

.login-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--color-bg-alt);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: all 0.2s;
}

.login-modal-close:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.login-modal-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
}

.login-modal-subtitle {
  color: var(--color-text-muted);
  font-size: 14px;
  margin-bottom: 28px;
}

.login-modal .form-group {
  margin-bottom: 18px;
}

.login-modal .form-submit {
  margin-top: 8px;
}

.login-modal-footer {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.login-modal-footer a {
  color: var(--color-accent);
  font-weight: 600;
}

.zengzhi-more {
  text-align: center;
  margin-top: 48px;
}

/* ============================================
   全局 toast 提示
   ============================================ */
.toast {
  position: fixed;
  top: 96px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: var(--color-primary);
  color: var(--color-white);
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 90vw;
}

.toast::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'><path d='M20 6 9 17l-5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}

.toast.toast-info {
  background: #2D5F7C;
}
.toast.toast-info::before {
  background-color: #4a8db5;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'><circle cx='12' cy='12' r='10'/><path d='M12 16v-4M12 8h.01'/></svg>");
}

.toast.toast-error {
  background: #b91c1c;
}
.toast.toast-error::before {
  background-color: #dc2626;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'><path d='M18 6 6 18M6 6l12 12'/></svg>");
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================
   导航栏登录态
   ============================================ */
.nav-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-user-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  padding: 7px 14px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.25s ease;
  max-width: 160px;
  overflow: hidden;
}

.nav-user-link:hover {
  background: rgba(255, 107, 53, 0.15);
  border-color: var(--color-accent);
  color: var(--color-white);
}

.nav-user-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
  flex-shrink: 0;
}

.nav-user-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px;
}

.nav-user-logout {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  padding: 6px 10px;
  border-radius: var(--radius);
  transition: color 0.2s;
}

.nav-user-logout:hover {
  color: var(--color-accent);
}

/* ============================================
   个人中心
   ============================================ */
.user-page {
  padding: 140px 0 80px;
  min-height: 100vh;
  background: var(--color-bg);
}

.user-header {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.user-header::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.06), transparent);
  pointer-events: none;
}

.user-avatar {
  width: 72px;
  height: 72px;
  background: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-accent);
}

.user-info {
  flex: 1;
  position: relative;
  z-index: 1;
}

.user-name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.user-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.user-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0f9ff;
  color: #075985;
  border: 1px solid #bae6fd;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 100px;
}

.user-account {
  color: var(--color-text-muted);
  font-size: 14px;
  font-family: var(--font-mono);
}

.user-logout {
  position: relative;
  z-index: 1;
  border-color: var(--color-border);
  color: var(--color-text);
  background: var(--color-white);
  padding: 9px 22px;
  font-size: 14px;
}

.user-logout:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-white);
  transform: none;
  box-shadow: none;
}

.user-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.user-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.25s ease;
}

.user-card:hover {
  border-color: rgba(255, 107, 53, 0.3);
  box-shadow: var(--shadow-sm);
}

.user-card-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.user-detail-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  font-size: 14px;
  border-bottom: 1px dashed var(--color-border);
}

.user-detail-list li:last-child {
  border-bottom: none;
}

.user-detail-label {
  color: var(--color-text-muted);
}

.user-detail-value {
  color: var(--color-text);
  font-weight: 600;
  font-family: var(--font-mono);
}

.user-order-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.user-order-empty {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 14px;
  padding: 40px 0;
}

.user-actions {
  display: flex;
  flex-direction: column;
}

.user-action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.user-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 12px;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all 0.2s;
  text-align: center;
}

.user-action-item:hover {
  background: var(--color-white);
  border-color: var(--color-accent);
  transform: translateY(-3px);
}

.user-action-icon {
  width: 44px;
  height: 44px;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  font-family: var(--font-display);
}

.user-action-name {
  font-size: 13px;
  color: var(--color-text);
  font-weight: 500;
}

@media (max-width: 768px) {
  .user-grid {
    grid-template-columns: 1fr;
  }
  .user-header {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .user-logout {
    align-self: stretch;
  }
  .user-action-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .nav-user-link {
    max-width: 130px;
  }
  .nav-user-name {
    max-width: 80px;
  }
}

/* ============================================
   资讯详情页
   ============================================ */
.news-detail {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

.news-detail-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.news-detail-category {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.news-detail-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}

.news-detail-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.news-detail-body {
  font-size: 16px;
  line-height: 2;
  color: var(--color-text);
}

.news-detail-body p {
  margin-bottom: 20px;
}

.news-detail-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 16px;
  color: var(--color-primary);
}

.news-detail-body ul {
  margin: 16px 0 24px;
  padding-left: 0;
}

.news-detail-body ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  list-style: none;
}

.news-detail-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
}

.news-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  transition: color 0.2s;
}

.news-detail-back:hover {
  color: var(--color-accent);
}

/* ============================================
   法律文档页 (用户协议/隐私政策)
   ============================================ */
.legal-page {
  padding: 140px 0 80px;
  background: var(--color-bg);
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px;
}

.legal-header {
  text-align: center;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 2px solid var(--color-border);
}

.legal-header h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.legal-update-date {
  color: var(--color-text-muted);
  font-size: 14px;
}

.legal-content {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 36px 0 16px;
  color: var(--color-primary);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 24px 0 12px;
  color: var(--color-text);
}

.legal-content p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: 14px;
}

.legal-content ul,
.legal-content ol {
  margin: 12px 0 20px;
  padding-left: 24px;
}

.legal-content ul li,
.legal-content ol li {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: 8px;
}

.legal-content strong {
  color: var(--color-primary);
}

.legal-toc {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 32px;
}

.legal-toc h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.legal-toc ul {
  padding-left: 0;
  list-style: none;
}

.legal-toc ul li {
  margin-bottom: 8px;
}

.legal-toc ul li a {
  color: var(--color-secondary);
  font-size: 14px;
  transition: color 0.2s;
}

.legal-toc ul li a:hover {
  color: var(--color-accent);
}

@media (max-width: 768px) {
  .legal-content {
    padding: 32px 24px;
  }

  .legal-header h1 {
    font-size: 1.8rem;
  }

  .news-detail-title {
    font-size: 1.5rem;
  }

  .login-modal-card {
    padding: 32px 24px;
  }
}
