/* ==========================================================================
   通义千问官方网站 - 潮汐横轴风主题样式表 (Tidal Axis Minimalist Style)
   设计语言:
     - 风格：潮汐 (Tidal Waterline)
     - 理念：只有水位线，不画海浪和船，不采用风景照片
     - 布局：下三分之一水平灰蓝潮汐线，上方竖条长出不同涨潮水位高度，每条一个入口
     - 配色：浅纸色底 #F7F5F0、水平潮线与竖条灰蓝 #5B7B9A、深海焦蓝 #2C3E50、次潮浅蓝 #D8E2EC、刻度炭灰 #475569
     - 字体：思源宋体 / Noto Serif SC / 仿宋 / 宋体，竖条旁宋体竖排
   ========================================================================== */

@charset "UTF-8";

:root {
  --bg-paper: #F7F5F0;
  --bg-paper-light: #FDFCFA;
  --bg-paper-card: #FFFFFF;
  --tide-blue: #5B7B9A;
  --tide-blue-dark: #37536D;
  --tide-blue-deep: #243B53;
  --tide-blue-light: #E2EAF2;
  --tide-blue-faint: rgba(91, 123, 154, 0.08);
  --tide-line-color: #6C8CAE;
  --tide-mark-gray: #7F95AA;
  --text-main: #2C3E50;
  --text-muted: #64748B;
  --border-subtle: rgba(91, 123, 154, 0.18);
  --border-line: rgba(91, 123, 154, 0.32);
  --shadow-tide: 0 14px 32px rgba(36, 59, 83, 0.06);
  --shadow-tide-hover: 0 20px 42px rgba(36, 59, 83, 0.12);
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "思源宋体", "Songti SC", STSong, "SimSun", serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-paper);
}

body {
  font-family: var(--font-serif);
  color: var(--text-main);
  background-color: var(--bg-paper);
  line-height: 1.8;
  overflow-x: hidden;
  position: relative;
}

/* 浅纸微质感背景纹理（纯代码生成，无外部图片） */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(91, 123, 154, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(91, 123, 154, 0.03) 0%, transparent 50%),
    linear-gradient(180deg, rgba(247, 245, 240, 0.92) 0%, rgba(243, 239, 232, 0.98) 100%);
  z-index: -2;
}

/* 顶部导航 */
.header-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 240, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-wrap img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--tide-blue);
  background: #fff;
  padding: 2px;
  box-shadow: 0 2px 8px rgba(91, 123, 154, 0.15);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--tide-blue-deep);
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--tide-blue);
  letter-spacing: 1.5px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.1rem;
  align-items: center;
}

.nav-menu li a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.95rem;
  padding: 6px 10px;
  border-radius: 3px;
  transition: all 0.25s ease;
  position: relative;
}

.nav-menu li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--tide-blue);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
  width: 80%;
}

.nav-menu li a:hover {
  color: var(--tide-blue-dark);
}

.nav-menu li a.nav-highlight {
  background: var(--tide-blue);
  color: #fff !important;
  border-radius: 20px;
  padding: 5px 15px;
}

.nav-menu li a.nav-highlight:hover {
  background: var(--tide-blue-deep);
}

/* 主内容区 */
.main-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 4rem;
}

/* 核心 Hero 首屏 + 下载区 (零滚动即可转化) */
.hero-download-section {
  padding: 2rem 1rem 3rem;
  text-align: center;
  position: relative;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 16px;
  border-radius: 20px;
  background: var(--tide-blue-faint);
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--tide-blue-dark);
  letter-spacing: 1.5px;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--tide-blue-deep);
  letter-spacing: 2px;
  line-height: 1.35;
  margin-bottom: 0.85rem;
}

.hero-motto {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--tide-blue-dark);
  letter-spacing: 3px;
  margin-bottom: 1.25rem;
  display: inline-block;
  padding: 4px 18px;
  border-top: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
}

.hero-desc {
  max-width: 800px;
  margin: 0 auto 2.2rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* 并列 4 个下载入口卡片 (首屏零滚动转化) */
.download-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1120px;
  margin: 0 auto 2.5rem;
}

.download-card {
  background: var(--bg-paper-card);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 1.6rem 1.2rem;
  box-shadow: var(--shadow-tide);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.download-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--tide-blue);
  opacity: 0.8;
}

.download-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-tide-hover);
  border-color: var(--tide-blue);
}

.download-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--tide-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--tide-blue-deep);
  border: 1px solid rgba(91, 123, 154, 0.2);
}

.download-card h3 {
  font-size: 1.1rem;
  color: var(--tide-blue-deep);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.download-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.btn-tide {
  display: inline-block;
  padding: 8px 18px;
  background: var(--tide-blue);
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 4px;
  border: 1px solid var(--tide-blue-dark);
  box-shadow: 0 4px 10px rgba(91, 123, 154, 0.2);
  transition: all 0.25s ease;
}

.btn-tide:hover {
  background: var(--tide-blue-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(36, 59, 83, 0.25);
}

.btn-tide-outline {
  background: transparent;
  color: var(--tide-blue-dark);
  border: 1px solid var(--tide-blue);
  box-shadow: none;
}

.btn-tide-outline:hover {
  background: var(--tide-blue-light);
  color: var(--tide-blue-deep);
}

/* ==========================================================================
   潮汐横轴核心结构 (Tidal Waterline Axis)
   - 布局：下三分之一一条水平灰蓝潮线
   - 上面长出高低不同的竖条，每条一个入口
   - 竖条旁宋体竖排：千问、千问网页版、千问办公、qwen、通义千问
   ========================================================================== */
.tidal-axis-showcase {
  background: var(--bg-paper-light);
  border: 1px solid var(--border-line);
  border-radius: 8px;
  box-shadow: var(--shadow-tide);
  margin: 1.5rem auto 3.5rem;
  padding: 2.5rem 2rem 2.8rem;
  position: relative;
  overflow: hidden;
}

.tidal-axis-header {
  text-align: center;
  margin-bottom: 2rem;
}

.tidal-axis-header h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--tide-blue-deep);
  letter-spacing: 2px;
}

.tidal-axis-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* 潮汐刻度画廊区域 */
.tide-stage {
  position: relative;
  height: 290px;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  padding: 0 1rem;
}

/* 下三分之一水平潮汐线 (主基准线，位置在下三分之一约 height: 95px 处) */
.tide-waterline {
  position: absolute;
  bottom: 95px;
  left: 3%;
  right: 3%;
  height: 2.5px;
  background: var(--tide-line-color);
  box-shadow: 0 0 10px rgba(91, 123, 154, 0.25);
  z-index: 2;
}

/* 潮汐线上的刻度标尺点 */
.tide-waterline::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  right: 0;
  height: 10px;
  background-image: repeating-linear-gradient(90deg, var(--tide-mark-gray) 0, var(--tide-mark-gray) 1px, transparent 1px, transparent 40px);
  opacity: 0.6;
}

/* 潮汐水位标注 */
.tide-waterline-label {
  position: absolute;
  bottom: 70px;
  left: 3%;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--tide-mark-gray);
}

.tide-waterline-label-right {
  position: absolute;
  bottom: 70px;
  right: 3%;
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--tide-mark-gray);
}

/* 竖条：从潮线向上生长，高度各异代表潮位高度 */
.tide-bar-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 3;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tide-bar-group:hover {
  transform: translateY(-6px);
}

/* 竖条旁边竖排宋体文字 */
.tide-vertical-text {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--tide-blue-deep);
  letter-spacing: 6px;
  margin-bottom: 12px;
  transition: color 0.25s ease;
}

.tide-bar-group:hover .tide-vertical-text {
  color: var(--tide-blue-dark);
}

/* 潮位竖条实体柱 */
.tide-bar {
  width: 14px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--tide-blue) 0%, var(--tide-blue-dark) 100%);
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(91, 123, 154, 0.2);
}

.tide-bar-group:hover .tide-bar {
  background: linear-gradient(180deg, var(--tide-blue-deep) 0%, var(--tide-blue) 100%);
  width: 18px;
  box-shadow: 0 6px 18px rgba(36, 59, 83, 0.3);
}

/* 潮位高度不同设置（竖条高度 + 柱高） */
.bar-h1 { height: 165px; } /* 通义千问 */
.bar-h2 { height: 130px; } /* 千问 */
.bar-h3 { height: 185px; } /* 千问网页版 */
.bar-h4 { height: 145px; } /* qwen */
.bar-h5 { height: 120px; } /* 千问办公 */

/* 水位高度标数（上部微标） */
.tide-meter {
  font-size: 0.75rem;
  font-family: monospace;
  color: var(--tide-mark-gray);
  margin-bottom: 4px;
}

/* 竖条底座下部入口说明（下三分之一以下区域） */
.tide-bar-caption {
  margin-top: 18px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 110px;
  line-height: 1.4;
}

/* 网页版入口兜底横幅 (零安装直达) */
.web-entry-banner {
  background: var(--bg-paper-card);
  border: 1px dashed var(--border-line);
  border-left: 4px solid var(--tide-blue);
  border-radius: 6px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.5rem auto 3.5rem;
  box-shadow: var(--shadow-tide);
  gap: 1.5rem;
}

.web-entry-left {
  text-align: left;
}

.web-entry-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--tide-blue-deep);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.web-entry-badge {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 3px;
  background: var(--tide-blue-light);
  color: var(--tide-blue-dark);
  border: 1px solid var(--border-subtle);
}

.web-entry-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* 四个功能模块 (统一版式：模块名 + 情绪化短标题 + 场景化功能点) */
.feature-section {
  margin-bottom: 4rem;
  padding-top: 1.5rem;
}

.section-head {
  text-align: center;
  margin-bottom: 2.2rem;
}

.section-badge {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--tide-blue-dark);
  border: 1px solid var(--border-subtle);
  padding: 3px 14px;
  border-radius: 20px;
  background: var(--tide-blue-light);
  margin-bottom: 0.75rem;
  letter-spacing: 1.5px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--tide-blue-deep);
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
}

/* 模块图文卡片 */
.feature-card {
  background: var(--bg-paper-card);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  box-shadow: var(--shadow-tide);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  overflow: hidden;
  margin-bottom: 2.5rem;
  transition: all 0.3s ease;
}

.feature-card.reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

.feature-card:hover {
  box-shadow: var(--shadow-tide-hover);
  border-color: var(--tide-blue);
}

.feature-content {
  padding: 2.5rem 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-header {
  margin-bottom: 1.25rem;
}

.feature-tagline {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--tide-blue-deep);
  margin-top: 0.4rem;
  line-height: 1.4;
}

.feature-narrative {
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* 场景化功能点清单 */
.scenarios-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.scenario-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-paper);
  border: 1px solid var(--border-subtle);
  padding: 0.85rem 1rem;
  border-radius: 4px;
  transition: all 0.25s ease;
}

.scenario-item:hover {
  background: var(--bg-paper-light);
  border-color: var(--tide-blue);
  transform: translateX(4px);
}

.scenario-dot {
  color: var(--tide-blue);
  font-size: 1.1rem;
  line-height: 1.2;
  flex-shrink: 0;
}

.scenario-text h4 {
  font-size: 0.98rem;
  color: var(--tide-blue-deep);
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.scenario-text p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 图片容器规范 */
.feature-visual {
  background: linear-gradient(135deg, rgba(91, 123, 154, 0.05) 0%, rgba(226, 234, 242, 0.4) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.feature-visual img {
  max-width: 90%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(36, 59, 83, 0.12);
  border: 1px solid var(--border-subtle);
  transition: transform 0.4s ease;
}

.feature-card:hover .feature-visual img {
  transform: scale(1.02);
}

.visual-caption {
  position: absolute;
  bottom: 15px;
  left: 20px;
  right: 20px;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(4px);
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 0.78rem;
  color: var(--tide-blue-deep);
  text-align: center;
  border: 1px solid var(--border-subtle);
}

/* 网页版/帮助中心专用样式 */
.page-container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.page-header-box {
  text-align: center;
  background: var(--bg-paper-card);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-tide);
  position: relative;
}

.page-header-box::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--tide-blue), transparent);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-card {
  background: var(--bg-paper-card);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-tide);
  transition: all 0.3s ease;
}

.faq-card:hover {
  border-color: var(--tide-blue);
  box-shadow: var(--shadow-tide-hover);
  transform: translateY(-2px);
}

.faq-q {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--tide-blue-deep);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-tag {
  font-size: 0.8rem;
  padding: 2px 7px;
  background: var(--tide-blue-light);
  color: var(--tide-blue-dark);
  border-radius: 3px;
  border: 1px solid var(--border-subtle);
}

.faq-a {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.8;
}

/* 网页端云端对话视窗模拟 */
.chat-sandbox {
  background: var(--bg-paper-card);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  box-shadow: var(--shadow-tide);
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.sandbox-bar {
  background: var(--tide-blue-deep);
  color: #fff;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.92rem;
}

.sandbox-dots {
  display: flex;
  gap: 6px;
}

.sandbox-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.sandbox-body {
  padding: 1.8rem;
  background: var(--bg-paper);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.bubble {
  max-width: 82%;
  padding: 1rem 1.25rem;
  border-radius: 6px;
  font-size: 0.95rem;
  line-height: 1.75;
}

.bubble-user {
  align-self: flex-end;
  background: var(--tide-blue-dark);
  color: #fff;
  border-bottom-right-radius: 2px;
}

.bubble-ai {
  align-self: flex-start;
  background: #fff;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  border-bottom-left-radius: 2px;
  box-shadow: 0 4px 12px rgba(36, 59, 83, 0.05);
}

.sandbox-input-row {
  background: #fff;
  border-top: 1px solid var(--border-subtle);
  padding: 1rem 1.5rem;
  display: flex;
  gap: 12px;
  align-items: center;
}

.sandbox-input {
  flex-grow: 1;
  padding: 10px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.92rem;
  background: var(--bg-paper);
  color: var(--text-main);
}

/* 页脚区域 */
.site-footer {
  background: #1E293B;
  color: #94A3B8;
  padding: 3rem 1.5rem 2rem;
  border-top: 3px solid var(--tide-blue);
  font-size: 0.9rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: #F1F5F9;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  letter-spacing: 1.5px;
  position: relative;
  padding-bottom: 6px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--tide-blue);
}

.footer-col p {
  line-height: 1.7;
  font-size: 0.88rem;
  color: #94A3B8;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col ul li a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-col ul li a:hover {
  color: #F8FAFC;
  text-decoration: underline;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.82rem;
  color: #64748B;
}

/* 响应式调整 */
@media (max-width: 992px) {
  .download-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-card,
  .feature-card.reverse {
    grid-template-columns: 1fr;
  }
  .feature-visual {
    order: -1;
    min-height: 240px;
  }
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .nav-menu {
    display: none;
  }
  .hero-title {
    font-size: 1.6rem;
  }
  .hero-motto {
    font-size: 1.1rem;
  }
  .download-grid {
    grid-template-columns: 1fr;
  }
  .tide-stage {
    overflow-x: auto;
    padding-bottom: 10px;
  }
  .tide-bar-group {
    min-width: 80px;
  }
  .web-entry-banner {
    flex-direction: column;
    text-align: center;
  }
  .web-entry-left {
    text-align: center;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
}
