/* ===== 基础重置 & 变量 ===== */
:root {
  --cream: #FFF8F0;
  --cream-dark: #FFF0E0;
  --orange: #FF8C42;
  --orange-light: #FFB07A;
  --orange-soft: #FFD4B8;
  --orange-bg: #FFF3E8;
  --text-dark: #4A3728;
  --text-mid: #7A6555;
  --text-light: #A08B7A;
  --white: #FFFFFF;
  --shadow: 0 4px 20px rgba(255, 140, 66, 0.1);
  --shadow-hover: 0 8px 30px rgba(255, 140, 66, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
}

/* ===== 重点数据高亮 ===== */
.highlight-num {
  color: var(--orange);
  font-weight: 700;
  background: linear-gradient(to top, rgba(255, 140, 66, 0.18) 0%, rgba(255, 140, 66, 0.18) 40%, transparent 40%);
  padding: 0 3px;
  border-radius: 3px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== 导航栏 ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 248, 240, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(255, 140, 66, 0.12);
}

.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 8px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-mid);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  transition: all 0.25s ease;
}

.nav-links a:hover {
  color: var(--orange);
  background: var(--orange-bg);
}

/* ===== 通用区块 ===== */
.section {
  max-width: 960px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-alt {
  background: var(--cream-dark);
  max-width: 100%;
}

.section-alt > * {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 40px;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  background: var(--orange);
  border-radius: 2px;
  margin: 12px auto 0;
}

/* ===== Hero 区域 ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 640px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: var(--orange-bg);
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1.5px solid var(--orange-soft);
}

.hero-name {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-mid);
  margin-bottom: 20px;
}

.hero-intro {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 28px;
  text-align: left;
  background: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--orange);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.tag {
  background: var(--white);
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1.5px solid var(--orange-soft);
  transition: all 0.25s ease;
}

.tag:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

/* Hero 装饰 */
.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.deco-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.35;
}

.c1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--orange-soft), transparent 70%);
  top: -50px;
  right: -80px;
}

.c2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #FFD4E8, transparent 70%);
  bottom: 60px;
  left: -60px;
}

.c3 {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, #D4E8FF, transparent 70%);
  bottom: -30px;
  right: 10%;
}

/* ===== 关于我 ===== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.about-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.about-card h3 {
  font-size: 1.05rem;
  color: var(--orange);
  margin-bottom: 10px;
}

.about-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
  margin-bottom: 6px;
}

.card-detail {
  font-size: 0.82rem !important;
  color: var(--text-light) !important;
  margin-top: 8px !important;
  line-height: 1.6 !important;
}

/* ===== 时间线（项目经历） ===== */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--orange-soft), var(--orange), var(--orange-soft));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -33px;
  top: 24px;
  width: 14px;
  height: 14px;
  background: var(--orange);
  border-radius: 50%;
  border: 3px solid var(--cream-dark);
  z-index: 2;
}

.timeline-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.timeline-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.timeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-header h3 {
  font-size: 1.1rem;
  color: var(--text-dark);
}

.timeline-time {
  font-size: 0.8rem;
  color: var(--orange);
  font-weight: 600;
  background: var(--orange-bg);
  padding: 3px 12px;
  border-radius: 12px;
}

.timeline-role {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 14px;
}

.timeline-actions {
  list-style: none;
  margin-bottom: 16px;
}

.timeline-actions li {
  font-size: 0.88rem;
  color: var(--text-mid);
  padding: 5px 0;
  padding-left: 18px;
  position: relative;
  line-height: 1.6;
}

.timeline-actions li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 0.7rem;
}

.timeline-result {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 14px;
  border-top: 1.5px dashed var(--orange-soft);
}

.result-item {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--orange);
  background: var(--orange-bg);
  padding: 5px 14px;
  border-radius: 12px;
}

/* ===== 技能卡片 ===== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.skill-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.skill-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--orange-soft);
}

.skill-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.skill-card h3 {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.skill-card p {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 12px;
}

.skill-stat {
  font-size: 0.8rem;
  color: var(--orange);
  font-weight: 600;
  background: var(--orange-bg);
  padding: 6px 14px;
  border-radius: 12px;
  display: inline-block;
}

/* ===== 方法论 ===== */
.method-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  text-align: center;
}

.method-box h3 {
  font-size: 1.3rem;
  color: var(--orange);
  margin-bottom: 8px;
}

.method-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

.method-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.method-step {
  background: var(--orange-bg);
  border-radius: var(--radius);
  padding: 20px 18px;
  width: 180px;
  text-align: center;
  transition: all 0.3s ease;
}

.method-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.step-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 6px;
}

.method-step h4 {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.method-step p {
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.method-step-arrow {
  font-size: 1.4rem;
  color: var(--orange);
  font-weight: 700;
}

.method-result {
  font-size: 0.88rem;
  color: var(--text-mid);
  background: var(--cream);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--orange);
  text-align: left;
}

/* ===== 价值差异化表格 ===== */
.value-table {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.value-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 2fr;
  border-bottom: 1.5px solid var(--cream-dark);
}

.value-row:last-child {
  border-bottom: none;
}

.value-header {
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
}

.value-header .value-cell {
  padding: 14px 18px;
}

.value-cell {
  padding: 16px 18px;
  font-size: 0.88rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
}

.value-highlight {
  color: var(--orange);
  font-weight: 600;
  background: var(--orange-bg);
}

/* ===== 我的专属标签 ===== */
.tags-circles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.circle-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.circle-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.circle-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px dashed var(--orange-soft);
}

.circle-icon {
  font-size: 1.6rem;
}

.circle-header h3 {
  font-size: 1.1rem;
  color: var(--orange);
  font-weight: 700;
}

.circle-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.circle-item {
  padding: 12px 14px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--orange);
}

.circle-item-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.circle-item-evidence {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.vs-other {
  display: block;
  font-size: 0.8rem;
  color: var(--text-light);
  text-decoration: line-through;
  margin-bottom: 4px;
}

.vs-me {
  display: block;
  font-size: 0.82rem;
  color: var(--orange);
  font-weight: 600;
}

/* ===== 联系我 ===== */
.contact-box {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow);
}

.contact-text {
  font-size: 1rem;
  color: var(--text-mid);
  margin-bottom: 24px;
  line-height: 1.8;
}

.contact-btn {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 140, 66, 0.3);
}

.contact-btn:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 66, 0.4);
}

/* ===== 页脚 ===== */
.footer {
  text-align: center;
  padding: 30px 24px;
  font-size: 0.82rem;
  color: var(--text-light);
  background: var(--cream);
}

/* ===== 滚动动画 ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .hero-name {
    font-size: 2.4rem;
  }

  .about-grid,
  .skills-grid,
  .tags-circles {
    grid-template-columns: 1fr;
  }

  .method-steps {
    flex-direction: column;
  }

  .method-step-arrow {
    transform: rotate(90deg);
  }

  .value-row {
    grid-template-columns: 1fr;
  }

  .value-header {
    display: none;
  }

  .value-cell {
    padding: 10px 18px;
  }

  .value-cell::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--text-dark);
    margin-right: 8px;
  }

  .timeline {
    padding-left: 30px;
  }

  .timeline::before {
    left: 10px;
  }

  .timeline-dot {
    left: -27px;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-links a {
    font-size: 0.78rem;
    padding: 5px 10px;
  }
}

@media (max-width: 480px) {
  .hero-name {
    font-size: 2rem;
  }

  .section {
    padding: 60px 16px;
  }

  .timeline-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-intro {
    font-size: 0.88rem;
    padding: 16px 18px;
  }
}
