/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[11].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[11].oneOf[12].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
/* ============================================================
 * GEO之家全局样式 — 严格对齐原型设计稿
 * 主色 #6C47FF  辅色 #00D4AA  背景 #0A0B14
 * ============================================================ */

:root {
  /* ── 背景色（严格对齐原型） ── */
  --bg:          #0A0B14;
  --bg-primary:  #0A0B14;
  --bg-card:     #12141F;
  --bg-card2:    #1A1D2E;
  --bg-secondary:#12141F;
  --bg-hover:    #1A1D2E;

  /* ── 边框 ── */
  --border:      #252840;

  /* ── 主题色 ── */
  --primary:       #6C47FF;
  --primary-light: #8B6FFF;
  --primary-dark:  #4A2FDD;
  --accent:        #00D4AA;
  --accent-light:  #00F0C0;
  --red:           #FF4D6A;
  --yellow:        #FFB800;
  --green:         #00D4AA;

  /* ── 文字色（严格对齐原型） ── */
  --text:          #E8EAFF;
  --text-primary:  #E8EAFF;
  --text-secondary:#A0A0B8;
  --text-muted:    #7B80A8;
  --text-dim:      #4A4F6B;

  /* ── 圆角 ── */
  --radius:    8px;
  --radius-lg: 12px;
  --radius-xl: 14px;

  font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: auto; /* 允许水平滚动条出现 */
  width: 100%;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary-light); }
img { max-width: 100%; height: auto; }
button { cursor: pointer; border: none; font-family: inherit; }

/* ── 自定义滚动条（对齐原型） ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ════════════════════════════════════
   通用布局
════════════════════════════════════ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ════════════════════════════════════
   按钮
════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--primary-light); color: #fff; box-shadow: 0 0 20px rgba(108,71,255,0.4); }

.btn-outline, .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-outline:hover, .btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary-light);
}

/* ════════════════════════════════════
   标签/徽章
════════════════════════════════════ */
.tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}
.tag-default  { background: rgba(108,71,255,0.15); color: var(--primary-light); }
.tag-hot      { background: rgba(255,77,106,0.15);  color: var(--red); }
.tag-new      { background: rgba(0,212,170,0.15);   color: var(--accent); }
.tag-free     { background: rgba(108,71,255,0.15);  color: var(--primary-light); }
.cat-update   { background: rgba(255,184,0,0.15);   color: var(--yellow); }
.cat-case     { background: rgba(0,212,170,0.15);   color: var(--accent); }
.cat-research { background: rgba(108,71,255,0.15);  color: var(--primary-light); }

/* ════════════════════════════════════
   通用卡片
════════════════════════════════════ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.25s;
}
.card:hover {
  border-color: rgba(108,71,255,0.45);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(108,71,255,0.13);
}
.card:hover::after { opacity: 1; }

/* ════════════════════════════════════
   导航栏（严格对齐原型）
════════════════════════════════════ */
.navbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,11,20,0.92);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.navbar-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 0;
}
/* Logo */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  flex-shrink: 0;
}
.navbar-logo .logo-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1;
}
.navbar-logo .logo-name {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.3px;
  color: var(--text);
}
.navbar-logo .logo-domain {
  font-size: 10px;
  color: var(--text-dim);
  font-weight: 400;
  letter-spacing: 0.3px;
}
/* 导航链接 */
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 24px;
  flex: 1 1;
}
.navbar-nav a {
  padding: 6px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-muted);
  transition: all 0.2s;
}
.navbar-nav a:hover,
.navbar-nav a.active {
  background: var(--bg-card2);
  color: var(--text);
}
.navbar-nav a.active { color: var(--primary-light); }

/* 右侧操作 */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
/* 用户头像胶囊 */
.nav-user-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 4px 10px 4px 4px;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
}
.nav-user-pill:hover { border-color: var(--primary); color: inherit; }
.nav-user-pill .avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6C47FF, #00D4AA);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff;
}
.nav-user-pill .uname { font-size: 13px; font-weight: 600; color: var(--text); }
.nav-user-pill .plan {
  font-size: 10px;
  padding: 1px 7px;
  border-radius: 8px;
  background: rgba(74,79,107,0.3);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-weight: 700;
}

/* ════════════════════════════════════
   英雄区（对齐原型）
════════════════════════════════════ */
.hero {
  padding: 64px 40px 0;
  text-align: center;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(108,71,255,0.18) 0%, transparent 70%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
/* 小徽章 */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(108,71,255,0.12);
  border: 1px solid rgba(108,71,255,0.3);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px;
  color: var(--primary-light);
  margin-bottom: 18px;
}
.hero-badge .pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero h1 {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -1px;
  color: var(--text);
}
.hero h1 span {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 24px;
}
.hero-btns, .hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-lg { padding: 12px 28px; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.btn-lg.primary {
  background: var(--primary); color: #fff; border: none;
  box-shadow: 0 0 24px rgba(108,71,255,0.4);
}
.btn-lg.primary:hover { background: var(--primary-light); box-shadow: 0 0 32px rgba(108,71,255,0.6); }
.btn-lg.ghost {
  background: none; color: var(--text-muted); border: 1px solid var(--border);
}
.btn-lg.ghost:hover { border-color: var(--primary); color: var(--primary-light); }

/* 模块导航卡网格 */
.hero-modules {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 12px;
  gap: 12px;
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 0 56px;
}
.hmod {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 20px 16px;
  cursor: pointer;
  transition: all 0.25s;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.hmod::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.25s;
}
.hmod:hover {
  border-color: rgba(108,71,255,0.45);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(108,71,255,0.13);
}
.hmod:hover::after { opacity: 1; }
.hmod-icon { font-size: 24px; margin-bottom: 10px; }
.hmod-name { font-size: 14px; font-weight: 700; margin-bottom: 5px; color: var(--text); }
.hmod-desc { font-size: 11px; color: var(--text-muted); line-height: 1.5; }
.hmod-tag { display: inline-block; margin-top: 10px; font-size: 10px; padding: 2px 7px; border-radius: 4px; }

/* ════════════════════════════════════
   分区标题与统计栏
════════════════════════════════════ */
.section { padding: 32px 40px; max-width: 1200px; margin: 0 auto; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 20px; }

.section-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}
.section-title span { color: var(--primary-light); }
.section-title .more,
.section-more {
  margin-left: auto;
  font-size: 13px;
  font-weight: 400;
  color: var(--primary-light);
  opacity: 0.7;
}
.section-title .more:hover,
.section-more:hover { opacity: 1; color: var(--primary-light); }

/* 统计栏 */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 20px 0;
  margin: 0 0 24px;
}
.stat-item { text-align: center; }
.stat-item .num { font-size: 28px; font-weight: 700; color: var(--primary-light); }
.stat-item .label { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* 简化统计栏（首页一行弱化显示） */
.stats-bar-simple {
  gap: 64px;
}
.stats-bar-simple .stat-item .num {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-secondary);
}
.stats-bar-simple .stat-item .label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ════════════════════════════════════
   网格布局
════════════════════════════════════ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  grid-gap: 16px;
  gap: 16px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  grid-gap: 16px;
  gap: 16px;
}

/* ════════════════════════════════════
   资讯卡片（对齐原型 news-item 样式）
════════════════════════════════════ */
.news-card .meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.news-card .title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 5px;
  color: var(--text);
}
.news-card .summary {
  font-size: 12px;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.5;
}
.news-card .footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  font-size: 11px;
  color: var(--text-dim);
}

/* ════════════════════════════════════
   工具卡片（对齐原型 tool-card 样式）
════════════════════════════════════ */
.tool-card { text-align: left; cursor: pointer; }
.tool-card .icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
}
.icon-purple { background: rgba(108,71,255,0.15); }
.icon-teal   { background: rgba(0,212,170,0.15); }
.icon-red    { background: rgba(255,77,106,0.15); }
.icon-yellow { background: rgba(255,184,0,0.15); }
.tool-card .name  { font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.tool-card .desc  { font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.tool-card .quota { margin-top: 12px; font-size: 11px; color: var(--accent); }
.tool-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.tool-badge { font-size: 11px; padding: 3px 8px; border-radius: 4px; }

/* ════════════════════════════════════
   社区帖子列表（对齐原型 forum-item）
════════════════════════════════════ */
.forum-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.forum-item:hover { border-color: rgba(108,71,255,0.3); background: var(--bg-card2); }
.forum-avatar {
  width: 36px; height: 36px;
  border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700;
}
.forum-main { flex: 1 1; }
.forum-main h4 { font-size: 14px; font-weight: 600; margin-bottom: 5px; color: var(--text); }
.forum-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.ftag {
  font-size: 11px; padding: 2px 7px; border-radius: 4px;
  background: var(--bg-card2); color: var(--text-muted);
  border: 1px solid var(--border);
}
.forum-meta { font-size: 11px; color: var(--text-dim); }
.forum-stats { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }
.forum-stat { text-align: center; }
.forum-stat .n { font-size: 14px; font-weight: 600; color: var(--text); }
.forum-stat .l { font-size: 10px; color: var(--text-dim); }

/* ════════════════════════════════════
   知识库卡片（对齐原型 kb-card）
════════════════════════════════════ */
.kb-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  cursor: pointer;
  transition: all 0.2s;
}
.kb-card:hover { border-color: rgba(108,71,255,0.35); transform: translateY(-2px); }
.kb-header { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.kb-icon {
  width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; background: rgba(108,71,255,0.1);
  flex-shrink: 0;
}
.kb-info h4 { font-size: 14px; font-weight: 700; color: var(--text); }
.kb-info p { font-size: 11px; color: var(--text-dim); }
.kb-items { display: flex; flex-direction: column; gap: 6px; }
.kb-item {
  font-size: 12px; color: var(--text-muted);
  padding: 5px 0; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 6px;
}
.kb-item:last-child { border-bottom: none; }
.kb-item::before { content: '›'; color: var(--primary-light); font-size: 14px; font-weight: 700; }

/* ════════════════════════════════════
   黄页卡片（对齐原型 vendor-card）
════════════════════════════════════ */
.vendor-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 20px;
  display: flex;
  gap: 16px;
  cursor: pointer;
  transition: all 0.25s;
}
.vendor-card:hover {
  border-color: rgba(108,71,255,0.4);
  background: var(--bg-card2);
  box-shadow: 0 4px 20px rgba(108,71,255,0.08);
}
.vendor-logo {
  width: 56px; height: 56px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; flex-shrink: 0;
  background: var(--bg-card2);
  border: 1px solid var(--border);
}
.vendor-body { flex: 1 1; }
.vendor-header { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.vendor-header h4 { font-size: 15px; font-weight: 700; color: var(--text); }
.vendor-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; line-height: 1.5; }
.vendor-footer { display: flex; align-items: center; gap: 16px; }
.vendor-stars { font-size: 12px; color: var(--yellow); }
.vendor-reviews { font-size: 11px; color: var(--text-dim); }
.vendor-pricing { font-size: 12px; color: var(--text-muted); margin-left: auto; }
.vendor-pricing strong { color: var(--accent); }

/* ── 分类筛选条 ── */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; align-items: center; }
.filter-btn {
  font-size: 12px; padding: 5px 14px; border-radius: 20px;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-muted); cursor: pointer; transition: all 0.2s;
}
.filter-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.filter-btn:hover:not(.active) { border-color: var(--primary); color: var(--primary-light); }

/* ── 搜索输入框 ── */
.search-input {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--text);
  outline: none;
  transition: border 0.2s;
  font-family: inherit;
}
.search-input:focus { border-color: var(--primary); }
.search-input::placeholder { color: var(--text-dim); }

/* ════════════════════════════════════
   页面 Header 横幅（子页面顶部）
════════════════════════════════════ */
.page-header {
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(108,71,255,0.08) 0%, transparent 100%);
}
.page-header h1 { font-size: 32px; font-weight: 800; margin-bottom: 8px; color: var(--text); }
.page-header p { font-size: 15px; color: var(--text-muted); }

/* ════════════════════════════════════
   页脚（对齐原型简洁横向布局）
════════════════════════════════════ */
footer {
  margin-top: 40px;
  border-top: 1px solid var(--border);
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo { font-size: 16px; font-weight: 700; color: var(--text-muted); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: var(--text-dim); }
.footer-links a:hover { color: var(--text-muted); }
.footer-copy { font-size: 12px; color: var(--text-dim); }
.footer-icp { font-size: 12px; color: var(--text-dim); text-align: center; margin-top: 8px; }
.footer-icp a { color: var(--text-dim); }
.footer-icp a:hover { color: var(--text-muted); }

/* ════════════════════════════════════
   表单元素
════════════════════════════════════ */
input, textarea, select {
  font-family: inherit;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
input:focus, textarea:focus, select:focus { border-color: var(--primary); }
input::placeholder, textarea::placeholder { color: var(--text-dim); }



/* ════════════════════════════════════
   首页内嵌链接（动态速览 / 热议话题）
════════════════════════════════════ */
.hot-topic-link,
.news-item-link-inline {
  color: var(--text-muted);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.18s;
}
.hot-topic-link:hover,
.news-item-link-inline:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

