/* ==========================================================================
   汏榆草堂官网样式表 - 现代东方美学与科技感融合设计系统
   (与 Logo 配色完全一致：Logo 活力绿 #AFE049 与深竹墨 #5F5C50)

   【字体版权合规保障 (100% 免费可商用)】：
   1. Noto Serif SC (思源宋体) - 遵循 SIL Open Font License 1.1 (OFL) 开源协议，100% 免费可商用
   2. Plus Jakarta Sans - 遵循 SIL Open Font License 1.1 (OFL) 开源协议，100% 免费可商用
   3. 备用字体降级 - 仅调用客户端用户操作系统自带默认标准字体，无第三方侵权风险
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600;700;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Logo 配色提取 */
  --logo-green: #AFE049;           /* Logo 鲜活绿 (高亮色) */
  --logo-green-dark: #6C991E;      /* 深绿色 (用于文本对比) */
  --logo-green-deep: #4D7014;      /* 更深绿 (用于深色文本/点击) */
  --logo-green-glow: rgba(175, 224, 73, 0.35);
  --logo-green-light: rgba(175, 224, 73, 0.12);
  
  --bamboo-ink: #2C2F2B;           /* 深竹墨 (替代原纯黑) */
  --logo-grey: #5F5C50;            /* Logo 灰褐色 */
  --ink-soft: #42463F;             /* 次要文字 */
  --ink-muted: #6C7068;            /* 辅助文字 */
  
  --paper: #FAF8F4;                /* 温润宣纸色 */
  --paper-card: #FFFFFF;
  --paper-deep: #F3EFE6;           /* 宣纸深底 */
  
  --gold: #C49E58;                 /* 流金辅助色 */
  --gold-light: #F8F4EA;
  --line: #E5DFD3;
  --line-light: #EEFAF6;
  
  /* 字体规范 (100% 开源免费商用协议) */
  --font-serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* 基础变量 */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 12px rgba(44, 47, 43, 0.04);
  --shadow-md: 0 10px 30px rgba(44, 47, 43, 0.08);
  --shadow-lg: 0 20px 50px rgba(44, 47, 43, 0.12);
  --shadow-glow: 0 10px 28px rgba(175, 224, 73, 0.4);
  
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 基础重置 */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-serif);
  color: var(--bamboo-ink);
  background-color: var(--paper);
  background-image: 
    radial-gradient(var(--line) 1px, transparent 0),
    linear-gradient(to bottom, rgba(250, 248, 244, 0.8), rgba(250, 248, 244, 1));
  background-size: 32px 32px, 100% 100%;
  line-height: 1.8;
  overflow-x: hidden;
}

a {
  color: var(--logo-green-dark);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--logo-green-deep);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 响应式容器 */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Header & 导航栏 (Sticky Glassmorphic Nav)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--bamboo-ink);
  text-decoration: none;
}
.nav-brand img {
  height: 46px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.06));
}
.nav-brand-text {
  font-family: var(--font-serif);
  display: flex;
  flex-direction: column;
}
.nav-brand-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--bamboo-ink);
}
.nav-brand-sub {
  font-size: 11px;
  font-family: var(--font-sans);
  color: var(--logo-green-dark);
  letter-spacing: 1px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--logo-green);
  transition: var(--transition);
  border-radius: 2px;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--bamboo-ink);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--logo-green);
  color: #1A240C !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-full);
  font-size: 14px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(175, 224, 73, 0.35);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  transform: translateY(-2px);
  background: #9AD134;
  color: #1A240C !important;
  box-shadow: var(--shadow-glow);
}

/* 移动端菜单按钮 */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--bamboo-ink);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 2px;
}

/* ==========================================================================
   通用 Section 排版
   ========================================================================== */
section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--logo-green-light);
  color: var(--logo-green-dark);
  border: 1px solid rgba(175, 224, 73, 0.4);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.section-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--bamboo-ink);
  line-height: 1.3;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 17px;
  color: var(--ink-muted);
  line-height: 1.7;
}

/* ==========================================================================
   Hero 区域 (视觉焦点)
   ========================================================================== */
.hero-section {
  padding: 72px 0 96px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 540px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--logo-green-light);
  border: 1px solid rgba(175, 224, 73, 0.4);
  color: var(--logo-green-dark);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 24px;
}
.hero-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--logo-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--logo-green);
}

.hero-title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 3px;
  color: var(--bamboo-ink);
  margin-bottom: 20px;
}
.hero-title .highlight {
  color: var(--bamboo-ink);
  position: relative;
  display: inline-block;
}
.hero-title .highlight::after {
  display: none;
}

.hero-desc {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none !important;
}

.btn-primary {
  background: var(--logo-green);
  color: #1A240C;
  border: 1px solid var(--logo-green);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  background: #9AD134;
  color: #1A240C;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(175, 224, 73, 0.45);
}

.btn-secondary {
  background: var(--paper-card);
  color: var(--bamboo-ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  border-color: var(--logo-green-dark);
  color: var(--logo-green-deep);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.hero-features-preview {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 32px;
}
.preview-stat {
  display: flex;
  flex-direction: column;
}
.preview-stat .num {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 800;
  color: var(--logo-green-dark);
  line-height: 1.2;
}
.preview-stat .label {
  font-size: 13px;
  color: var(--ink-muted);
  letter-spacing: 1px;
}

/* Hero 右侧卡片图容器 */
.hero-media {
  position: relative;
}
.hero-image-card {
  position: relative;
  background: var(--paper-card);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  transition: var(--transition);
}
.hero-image-card img {
  border-radius: var(--radius-md);
  width: 100%;
  object-fit: cover;
}
.hero-badge-overlay {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
}
.badge-icon {
  width: 44px;
  height: 44px;
  background: var(--logo-green-light);
  border: 1px solid var(--logo-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--logo-green-dark);
}
.badge-text strong {
  display: block;
  font-size: 15px;
  color: var(--bamboo-ink);
}
.badge-text span {
  font-size: 12px;
  color: var(--ink-muted);
}

/* ==========================================================================
   卡片通用组件
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--logo-green), var(--bamboo-ink));
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(175, 224, 73, 0.6);
}
.feature-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  background: var(--logo-green-light);
  border: 1px solid rgba(175, 224, 73, 0.4);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--logo-green-dark);
  margin-bottom: 20px;
  transition: var(--transition);
}
.feature-card:hover .card-icon {
  background: var(--logo-green);
  color: var(--bamboo-ink);
  border-color: var(--logo-green);
  box-shadow: var(--shadow-glow);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--bamboo-ink);
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.feature-card p {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.7;
}

/* ==========================================================================
   课程体系卡片
   ========================================================================== */
.course-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--logo-green-dark);
}
.course-badge {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  color: var(--logo-green-dark);
  background: var(--logo-green-light);
  border: 1px solid rgba(175, 224, 73, 0.4);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.course-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--bamboo-ink);
  margin-bottom: 14px;
}
.course-card p {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 24px;
  flex-grow: 1;
}

.course-note-box {
  background: linear-gradient(135deg, #FFFDF9 0%, #F5F9EC 100%);
  border: 1px solid var(--line);
  border-left: 4px solid var(--logo-green-dark);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}
.course-note-box .icon {
  font-size: 28px;
  color: var(--logo-green-dark);
  flex-shrink: 0;
}
.course-note-box p {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
}

/* ==========================================================================
   五维评分仪表板 (Features 页 & 首页演示)
   ========================================================================== */
.score-dashboard {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  margin-bottom: 48px;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 16px;
}
.dashboard-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--bamboo-ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.total-score-badge {
  background: var(--logo-green-light);
  color: var(--logo-green-dark);
  border: 1px solid var(--logo-green);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 18px;
  font-family: var(--font-sans);
  font-weight: 800;
}

.dim-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dim-item {
  display: grid;
  grid-template-columns: 80px 1fr 60px;
  align-items: center;
  gap: 20px;
}

.dim-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--bamboo-ink);
  letter-spacing: 1px;
}

.dim-track {
  height: 14px;
  background: var(--paper-deep);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
}

.dim-fill {
  height: 100%;
  background: linear-gradient(90deg, #7CB026, var(--logo-green));
  border-radius: var(--radius-full);
  position: relative;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(175,224,73,0.5);
}

.dim-val {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 18px;
  color: var(--logo-green-dark);
  text-align: right;
}

/* 优雅表格 */
.custom-table-wrapper {
  background: var(--paper-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin: 28px 0;
}
table.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
table.custom-table th {
  background: var(--paper-deep);
  color: var(--bamboo-ink);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
}
table.custom-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--line-light);
  font-size: 15px;
  color: var(--ink-soft);
}
table.custom-table tr:last-child td {
  border-bottom: none;
}
table.custom-table tr:nth-child(even) {
  background-color: rgba(250, 248, 244, 0.5);
}

/* ==========================================================================
   步骤时间轴 (Step Timeline)
   ========================================================================== */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  position: relative;
  margin-top: 32px;
}

.timeline-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--logo-green-dark);
}

.timeline-step-num {
  width: 42px;
  height: 42px;
  background: var(--logo-green);
  color: var(--bamboo-ink);
  border: 1px solid var(--logo-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-glow);
}

.timeline-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--bamboo-ink);
  margin-bottom: 10px;
}
.timeline-card p {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ==========================================================================
   FAQ 手风琴折叠展开 (Accordion)
   ========================================================================== */
.accordion-wrapper {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.accordion-item:hover {
  border-color: var(--logo-green-dark);
}

.accordion-header {
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--bamboo-ink);
  gap: 16px;
}
.accordion-header::before {
  content: '问';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--logo-green-light);
  color: var(--logo-green-dark);
  border: 1px solid rgba(175, 224, 73, 0.4);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.accordion-title {
  flex-grow: 1;
}

.accordion-icon {
  width: 24px;
  height: 24px;
  color: var(--ink-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  color: var(--logo-green-dark);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  background: rgba(250, 248, 244, 0.5);
}

.accordion-content {
  padding: 0 28px 24px 68px;
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.8;
}

/* ==========================================================================
   联系我们网格 (Contact Section)
   ========================================================================== */
.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.contact-card {
  background: var(--paper-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--logo-green-dark);
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  background: var(--logo-green-light);
  color: var(--logo-green-dark);
  border: 1px solid rgba(175, 224, 73, 0.4);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.contact-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--bamboo-ink);
  margin-bottom: 8px;
}
.contact-card .sub-label {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--logo-green-dark);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 16px;
  display: block;
}
.contact-card p {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.contact-actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
}

/* ==========================================================================
   面包屑与导航
   ========================================================================== */
.breadcrumb {
  padding: 24px 0 0;
  font-size: 14px;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb a {
  color: var(--ink-muted);
}
.breadcrumb a:hover {
  color: var(--logo-green-dark);
}

/* ==========================================================================
   页脚 Footer
   ========================================================================== */
.site-footer {
  background: #1C1F1B;
  color: #A3ACA0;
  padding: 64px 0 40px;
  font-size: 15px;
  line-height: 1.8;
  border-top: 1px solid #2B3029;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-brand-title {
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 2px;
}
.footer-brand-desc {
  color: #8C968A;
  font-size: 14px;
  max-width: 400px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  color: #8C968A;
}
.footer-links a:hover {
  color: var(--logo-green);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid #2B3029;
  text-align: center;
  font-size: 14px;
  color: #6C756B;
}

/* ==========================================================================
   响应式调整 (Responsive Design)
   ========================================================================== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-features-preview {
    justify-content: center;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 34px;
  }
  .section-title {
    font-size: 28px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: var(--paper-card);
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--line);
    gap: 20px;
  }
  .nav-links.show {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .dim-item {
    grid-template-columns: 60px 1fr 40px;
    gap: 10px;
  }
  .accordion-content {
    padding-left: 28px;
  }
}
