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

:root {
  --blue-primary: #3370ff;
  --blue-hover: #2860e0;
  --blue-soft: #e8f0ff;
  --accent-violet: #6b5cff;
  --text-primary: #1a1a1a;
  --text-secondary: #666;
  --text-light: #999;
  --bg-page: #f3f5fa;
  --bg-white: #fff;
  --bg-nav: rgba(255, 255, 255, 0.92);
  --border-color: #e8e8e8;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-nav: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
  --font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  --cdn: https://lf-flow-web-cdn.doubao.com/obj/flow-doubao/doubao/desktop_online_web/static/image;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* 非官网醒目标识顶栏 */
.site-disclaimer {
  position: relative;
  z-index: 1001;
  padding: 12px 20px;
  background: linear-gradient(90deg, #1a1f36 0%, #2d2468 50%, #1a1f36 100%);
  color: #e8ecff;
  font-size: 13px;
  line-height: 1.55;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-disclaimer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
}

.official-strip-text .inline-code,
.site-disclaimer .inline-code,
.section-header .inline-code {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
}

.section-header .inline-code {
  background: rgba(51, 112, 255, 0.1);
  color: var(--text-primary);
}

.site-disclaimer strong {
  flex-shrink: 0;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(255, 87, 115, 0.25);
  color: #ffb4c0;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-disclaimer a {
  color: #b8c7ff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-disclaimer a:hover {
  color: #fff;
}

/* 存在顶栏时，固定导航下移避免与声明条重叠 */
body:has(.site-disclaimer) .nav-wrapper {
  top: 52px;
}

body:has(.site-disclaimer) .hero {
  padding-top: 120px;
}

body:has(.site-disclaimer) .page-hero {
  padding-top: 110px;
}

/* 首页编辑/杂志风标题强调 */
.hero--editorial h1 b {
  font-weight: 800;
  color: var(--text-primary);
}

/* 官网 CDN 示意图栅格展示 */
.cdn-gallery-section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px 56px;
}

.cdn-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.cdn-gallery-item {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cdn-gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(51, 112, 255, 0.15);
}

.cdn-gallery-item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.cdn-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 140px;
  vertical-align: middle;
}

.cdn-gallery-item--large img {
  min-height: 280px;
}

.cdn-gallery-item figcaption {
  padding: 10px 12px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
  border-top: 1px solid var(--border-color);
  background: linear-gradient(180deg, #fff, #f8faff);
}

.footer--guide .footer-info {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer--guide .footer-info a {
  color: #7eb0ff;
  text-decoration: underline;
}

.footer--guide .footer-info a:hover {
  color: #fff;
}

/* 页面氛围光晕（与豆包官网清爽科技感呼应） */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(51, 112, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 30%, rgba(107, 92, 255, 0.08), transparent 50%),
    radial-gradient(ellipse 50% 35% at 0% 70%, rgba(51, 112, 255, 0.06), transparent 45%);
}

/* ========== NAV ========== */
.nav-wrapper {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 50px;
  padding: 8px 8px 8px 16px;
  box-shadow: var(--shadow-nav);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin-right: 8px;
  flex-shrink: 0;
}

.nav-logo img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-logo span {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 6px 14px;
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 20px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.04);
}

.nav-links a.active {
  color: var(--text-primary);
  font-weight: 600;
}

.nav-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--blue-primary);
  color: #fff;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease;
  white-space: nowrap;
  margin-left: 4px;
  border: none;
  cursor: pointer;
}

.nav-download:hover {
  background: var(--blue-hover);
}

/* ========== HERO ========== */
.hero {
  text-align: center;
  padding: 140px 20px 48px;
  background: transparent;
  position: relative;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--blue-primary);
  background: linear-gradient(135deg, rgba(51, 112, 255, 0.12), rgba(107, 92, 255, 0.1));
  border: 1px solid rgba(51, 112, 255, 0.2);
  margin-bottom: 20px;
}

.hero-kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-primary);
  box-shadow: 0 0 0 4px rgba(51, 112, 255, 0.2);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.92); }
}

.hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.hero h1 .gradient-word {
  background: linear-gradient(105deg, var(--blue-primary) 0%, var(--accent-violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 16px;
  line-height: 1.75;
}

.hero-subtitle a {
  color: var(--blue-primary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(51, 112, 255, 0.35);
}

.hero-subtitle a:hover {
  border-bottom-color: var(--blue-primary);
}

.hero-subtitle--compact {
  max-width: 640px;
  font-size: 15px;
  margin-bottom: 24px;
  color: var(--text-secondary);
}

/* 首屏：Logo、官网形象与主视觉拼图 */
.hero-visual-board {
  max-width: 920px;
  margin: 0 auto 28px;
  padding: 20px 22px 22px;
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  text-align: left;
}

.hero-visual-board__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-color);
}

.hero-visual-board__logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.hero-visual-board__mascot {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(51, 112, 255, 0.2);
}

.hero-visual-board__brand-text {
  flex: 1;
  min-width: 140px;
}

.hero-visual-board__brand-text strong {
  display: block;
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.hero-visual-board__brand-text span {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.45;
}

.hero-visual-board__screens {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 14px;
}

.hero-visual-board__shot {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-visual-board__shot:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(51, 112, 255, 0.15);
}

.hero-visual-board__shot img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.hero-visual-board__shot-cap {
  display: block;
  padding: 8px 10px;
  font-size: 12px;
  color: var(--text-secondary);
  background: linear-gradient(180deg, #fafbff, #fff);
}

.hero-steps {
  max-width: 640px;
  margin: 0 auto 28px;
  padding-left: 22px;
  text-align: left;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.hero-steps li {
  margin-bottom: 10px;
}

.hero-steps li:last-child {
  margin-bottom: 0;
}

.hero-steps strong {
  color: var(--text-primary);
}

.hero-steps a {
  color: var(--blue-primary);
  font-weight: 600;
  text-decoration: none;
}

.hero-steps a:hover {
  text-decoration: underline;
}

.cdn-gallery-item--avatar img {
  object-fit: contain;
  padding: 20px;
  background: linear-gradient(160deg, #f5f8ff, #fff);
  min-height: 160px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto 32px;
}

.hero-pill {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 16px;
}

/* 首屏主标题下的下载入口 */
.hero-actions--first-screen {
  margin-top: 4px;
  margin-bottom: 24px;
}

.btn-outline-doubao {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  color: var(--blue-primary);
  background: var(--bg-white);
  border: 1.5px solid rgba(51, 112, 255, 0.45);
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-outline-doubao:hover {
  background: var(--blue-soft);
  border-color: var(--blue-primary);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 48px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stat {
  text-align: center;
}

.hero-stat strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.hero-stat span {
  font-size: 13px;
  color: var(--text-light);
}

.cta-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

.cta-desc a {
  color: var(--blue-primary);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(51, 112, 255, 0.35);
}

.cta-desc a:hover {
  border-bottom-color: var(--blue-primary);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 40px;
  background: var(--blue-primary);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(51, 112, 255, 0.3);
}

/* 对接 msn.js：含 .js-download 与 data-platform */
.dl-btn .fa-download {
  font-size: 0.95em;
}

.dl-item-info {
  text-align: center;
}

.dl-item-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.dl-item-meta {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.45;
}

.hero-download-first {
  flex-direction: column;
  align-items: center;
}

.cta-dl-info {
  margin-bottom: 20px;
}

.btn-download:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(51, 112, 255, 0.4);
}

.btn-download .apple-icon,
.btn-download .win-icon {
  width: 20px;
  height: 20px;
}

.hero-web-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 20px;
  font-size: 15px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.hero-web-link:hover {
  color: var(--text-primary);
}

.hero-web-link .arrow {
  transition: transform 0.2s;
}

.hero-web-link:hover .arrow {
  transform: translateX(3px);
}

/* ========== 官网直达条 ========== */
.official-strip {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 20px 24px;
}

.official-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.95), rgba(232, 240, 255, 0.85));
  border: 1px solid rgba(51, 112, 255, 0.18);
  box-shadow: var(--shadow-card);
}

.official-strip-text strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.official-strip-text span {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.official-strip-text a {
  color: var(--blue-primary);
  font-weight: 500;
  text-decoration: none;
}

.official-strip-text a:hover {
  text-decoration: underline;
}

.official-strip a {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(105deg, var(--blue-primary), var(--accent-violet));
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}

.official-strip a:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

/* ========== 能力亮点网格 ========== */
.highlights-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 64px;
}

.highlights-section .section-header h2 {
  font-size: clamp(26px, 4vw, 36px);
}

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

.highlight-card {
  padding: 22px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s, box-shadow 0.25s, transform 0.2s;
}

.highlight-card:hover {
  border-color: rgba(51, 112, 255, 0.35);
  box-shadow: 0 8px 28px rgba(51, 112, 255, 0.12);
  transform: translateY(-2px);
}

.highlight-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

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

.highlight-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-primary);
  margin-bottom: 10px;
}

/* ========== 一句话亮相 ========== */
.voice-band {
  max-width: 760px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.voice-band blockquote {
  margin: 0;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--blue-primary);
  background: var(--bg-white);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.65;
  box-shadow: var(--shadow-card);
}

.voice-band cite {
  display: block;
  margin-top: 14px;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  color: var(--text-secondary);
}

/* ========== APP MOCKUP ========== */
.app-mockup-section {
  padding: 12px 20px 56px;
  display: flex;
  justify-content: center;
}

.app-mockup-img {
  width: 100%;
  max-width: 900px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  display: block;
}

/* ========== FEATURES SECTION ========== */
.features-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========== FEATURES TABS ========== */
.features-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 24px;
  border: 1.5px solid var(--border-color);
  background: var(--bg-white);
  border-radius: 50px;
  font-size: 15px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.tab-btn:hover {
  border-color: var(--blue-primary);
  color: var(--blue-primary);
}

.tab-btn.active {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
  color: #fff;
  font-weight: 500;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeUp 0.4s ease;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== FEATURE CARDS ========== */
.feature-card {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
  padding: 40px;
  background: var(--bg-white);
  border-radius: 24px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.feature-card:last-child {
  margin-bottom: 0;
}

.feature-card.reverse {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 1;
  min-width: 280px;
}

.feature-number {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 8px;
}

.feature-text h3 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-text p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.feature-visual {
  flex: 1.2;
  min-width: 280px;
}

.feature-visual img {
  width: 100%;
  border-radius: var(--radius-md);
  display: block;
}

/* ========== BOTTOM CTA ========== */
.cta-section {
  text-align: center;
  padding: 80px 20px 60px;
  background: var(--bg-page);
}

.cta-section h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

/* ========== FOOTER ========== */
.footer {
  background: #1a1a1a;
  color: #aaa;
  padding: 32px 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  gap: 16px;
}

.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.footer-info span {
  white-space: nowrap;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

/* ========== PAGE HERO (sub-pages) ========== */
.page-hero {
  text-align: center;
  padding: 130px 20px 50px;
  background: var(--bg-page);
}

.page-hero h1 {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.page-hero p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

.feature-text .inline-code {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 13px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(51, 112, 255, 0.1);
  color: var(--text-primary);
}

/* ========== CHANGELOG ========== */
.changelog-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

.changelog-item {
  position: relative;
  padding: 32px 36px;
  background: var(--bg-white);
  border-radius: 20px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  margin-bottom: 24px;
}

.changelog-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 40px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue-primary);
  border: 3px solid var(--bg-page);
}

.changelog-timeline {
  position: relative;
  padding-left: 40px;
}

.changelog-timeline::before {
  content: "";
  position: absolute;
  left: -23px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}

.changelog-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.version-badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--blue-primary);
  color: #fff;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
}

.version-date {
  font-size: 13px;
  color: var(--text-light);
}

.changelog-item h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.change-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.change-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.change-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}

.change-tag.new {
  background: #e8f5e9;
  color: #2e7d32;
}

.change-tag.improve {
  background: #e3f2fd;
  color: #1565c0;
}

.change-tag.fix {
  background: #fff3e0;
  color: #e65100;
}

/* ========== ARTICLES ========== */
.articles-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

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

.article-card {
  background: var(--bg-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.article-cover {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.article-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 12px;
  align-self: flex-start;
}

.article-tag.guide {
  background: #e3f2fd;
  color: #1565c0;
}

.article-tag.tips {
  background: #e8f5e9;
  color: #2e7d32;
}

.article-tag.news {
  background: #fce4ec;
  color: #c62828;
}

.article-tag.deep {
  background: #f3e5f5;
  color: #6a1b9a;
}

.article-card h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.article-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--text-light);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .hero-visual-board__screens {
    grid-template-columns: 1fr;
  }

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

  .cdn-gallery-item--large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .hero h1 {
    font-size: 32px;
  }

  .section-header h2 {
    font-size: 30px;
  }

  .feature-card {
    flex-direction: column !important;
    gap: 30px;
    padding: 24px;
  }

  .feature-text,
  .feature-visual {
    min-width: unset;
    width: 100%;
  }

  .feature-text h3 {
    font-size: 24px;
  }

  .nav-links {
    display: none;
  }

  .cta-section h2 {
    font-size: 26px;
  }

  .page-hero h1 {
    font-size: 30px;
  }

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

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


  .hero-stats {
    gap: 20px 32px;
  }

  .official-strip-inner {
    flex-direction: column;
    text-align: center;
  }

  .changelog-timeline {
    padding-left: 30px;
  }

  .changelog-item {
    padding: 24px;
  }

  .footer {
    flex-direction: column;
    text-align: center;
    padding: 32px 20px;
  }

  .footer-info {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .cdn-gallery {
    grid-template-columns: 1fr;
  }

  .cdn-gallery-item--large {
    grid-column: span 1;
  }

  body:has(.site-disclaimer) .nav-wrapper {
    top: 44px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .btn-download {
    padding: 12px 28px;
    font-size: 16px;
  }

  .page-hero h1 {
    font-size: 26px;
  }

  .articles-grid {
    gap: 16px;
  }
}
