*{box-sizing:border-box;margin:0;padding:0;}
:root{
  --bg-color:#f5f5f7;
  --text-color:#1d1d1f;
  --gray:#6e6e73;
  --accent:#0071e3;
  --card-bg:#ffffff;
  --max-width:1100px;
}
body{
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","PingFang SC","Microsoft YaHei",sans-serif;
  background-color:var(--bg-color);
  color:var(--text-color);
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
main{min-height:calc(100vh - 120px);}

/* 顶部导航 */
.nav{
  position:sticky;
  top:0;
  z-index:10;
  backdrop-filter:blur(20px);
  background-color:rgba(245,245,247,0.82);
  border-bottom:1px solid rgba(0,0,0,0.04);
}
.nav-inner{
  max-width:var(--max-width);
  margin:0 auto;
  padding:10px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:14px;
}
.logo{
  font-weight:600;
  letter-spacing:0.08em;
  text-transform:uppercase;
  font-size:14px;
}
.nav-links{
  display:flex;
  gap:22px;
  color:var(--gray);
}
.nav-links a{
  position:relative;
  padding-bottom:3px;
}
.nav-links a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0;
  height:1px;
  background-color:var(--text-color);
  transition:width .25s ease;
}
.nav-links a:hover::after{width:100%;}
.nav-cta{
  font-size:13px;
  color:var(--accent);
  border:1px solid rgba(0,113,227,0.25);
  padding:4px 10px;
  border-radius:999px;
  transition:background-color .2s ease,border-color .2s ease,transform .1s ease;
}
.nav-cta:hover{
  background-color:rgba(0,113,227,0.06);
  border-color:var(--accent);
  transform:translateY(-1px);
}

/* 按钮 */
.btn-primary,
.btn-secondary{
  border-radius:999px;
  padding:9px 20px;
  font-size:14px;
  border:1px solid transparent;
  cursor:pointer;
  transition:background-color .2s ease,transform .1s ease,box-shadow .2s ease,border-color .2s ease;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}
.btn-primary{
  background-color:var(--text-color);
  color:#fff;
  box-shadow:0 8px 20px rgba(0,0,0,0.18);
}
.btn-primary:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 25px rgba(0,0,0,0.2);
}
.btn-secondary{
  background-color:transparent;
  color:var(--text-color);
  border-color:rgba(0,0,0,0.12);
}
.btn-secondary:hover{background-color:rgba(0,0,0,0.03);}

/* 首页 hero */
.hero-wrapper{
  background:radial-gradient(circle at 10% 0%,#ffffff 0,#f5f5f7 60%);
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}
.hero{
  max-width:var(--max-width);
  margin:40px auto 20px;
  padding:24px 20px 32px;
  text-align:center;
}
.hero-label{
  font-size:14px;
  color:var(--accent);
  font-weight:500;
  letter-spacing:0.12em;
  text-transform:uppercase;
  margin-bottom:12px;
}
.hero-title{
  font-size:clamp(34px,5vw,44px);
  font-weight:600;
  letter-spacing:-0.03em;
  line-height:1.1;
  margin-bottom:14px;
}
.hero-subtitle{
  font-size:16px;
  color:var(--gray);
  line-height:1.6;
  max-width:520px;
  margin:0 auto 22px;
}
.hero-actions{
  display:flex;
  justify-content:center;
  gap:16px;
  margin-bottom:36px;
  flex-wrap:wrap;
}
.hero-device{
  background:radial-gradient(circle at 10% 0%,#ffffff 0,#f5f5f7 60%);
  border-radius:32px;
  padding:40px 26px;
  margin-bottom:10px;
  box-shadow:0 30px 60px rgba(0,0,0,0.12);
  display:inline-block;
  max-width:100%;
}
.device-frame{
  border-radius:24px;
  border:1px solid rgba(0,0,0,0.06);
  background:#000;
  padding:10px 8px 14px;
  position:relative;
  overflow:hidden;
}
.device-status-bar{
  position:absolute;
  top:8px;
  left:0;
  right:0;
  display:flex;
  justify-content:space-between;
  padding:0 16px;
  font-size:10px;
  color:rgba(255,255,255,0.7);
}
.device-content{
  margin-top:22px;
  padding:16px 16px 14px;
  background:linear-gradient(135deg,#101015,#151620);
  border-radius:18px;
  min-height:180px;
  color:#fff;
}
.device-title{font-size:18px;font-weight:500;margin-bottom:6px;}
.device-subtitle{
  font-size:12px;
  color:rgba(255,255,255,0.65);
  margin-bottom:18px;
}
.device-tag-row{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:18px;
}
.device-tag{
  font-size:11px;
  padding:3px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.15);
  color:rgba(255,255,255,0.78);
}
.device-footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:11px;
  color:rgba(255,255,255,0.6);
}
.device-dot{
  width:16px;
  height:16px;
  border-radius:999px;
  background:radial-gradient(circle at 30% 30%,#fff,#4a9fff);
  box-shadow:0 0 16px rgba(74,159,255,0.7);
}
.hero-note{
  font-size:12px;
  color:var(--gray);
  margin-top:8px;
}

/* 通用区块 & 卡片 */
.section{
  max-width:var(--max-width);
  margin:40px auto;
  padding:0 20px;
}
.section-header{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  margin-bottom:16px;
  gap:12px;
  flex-wrap:wrap;
}
.section-title{
  font-size:22px;
  font-weight:600;
  letter-spacing:-0.02em;
}
.section-desc{
  font-size:14px;
  color:var(--gray);
  max-width:360px;
  line-height:1.6;
}
.card-grid{
  display:grid;
  gap:18px;
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.card{
  background-color:var(--card-bg);
  border-radius:24px;
  padding:18px 18px 20px;
  box-shadow:0 12px 30px rgba(0,0,0,0.06);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  border:1px solid rgba(0,0,0,0.02);
  transition:transform .18s ease,box-shadow .18s ease;
}
.card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 40px rgba(0,0,0,0.09);
}
.card-label{
  font-size:11px;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--accent);
  margin-bottom:8px;
}
.card-title{
  font-size:16px;
  font-weight:500;
  margin-bottom:6px;
}
.card-text{
  font-size:13px;
  color:var(--gray);
  line-height:1.7;
  margin-bottom:16px;
}
.card-meta{
  font-size:12px;
  color:var(--gray);
}
.latest-more{
  margin-top:16px;
  text-align:center;
}

/* 时间线页面 */
.timeline-page{
  max-width:var(--max-width);
  margin:32px auto 40px;
  padding:0 20px;
}
.timeline-header-row{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom:18px;
}
.timeline-title{
  font-size:24px;
  font-weight:600;
  letter-spacing:-0.02em;
}
.timeline-sub{
  font-size:13px;
  color:var(--gray);
}
.timeline-search{
  margin-left:auto;
  display:flex;
  gap:8px;
  align-items:center;
}
.timeline-search input[type="text"]{
  border-radius:999px;
  border:1px solid rgba(0,0,0,0.12);
  padding:7px 14px;
  font-size:13px;
  min-width:200px;
  outline:none;
  background-color:#fff;
}
.timeline-layout{
  display:grid;
  grid-template-columns:minmax(0,2.2fr) minmax(260px,1fr);
  gap:22px;
}
.timeline-count{
  font-size:12px;
  color:var(--gray);
  margin-bottom:10px;
}
.timeline-card{
  margin-bottom:14px;
}
.timeline-card-date{
  font-size:12px;
  color:var(--gray);
  margin-bottom:4px;
}
.timeline-card-tags{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:4px;
}
.tag-pill{
  font-size:11px;
  padding:3px 8px;
  border-radius:999px;
  background-color:#f0f0f2;
  color:var(--gray);
}
.timeline-card details{
  margin-top:8px;
  font-size:13px;
  color:var(--text-color);
}
.timeline-card summary{
  cursor:pointer;
  list-style:none;
}
.timeline-card summary::-webkit-details-marker{display:none;}
.timeline-card summary::after{
  content:" 展开";
  font-size:12px;
  color:var(--accent);
}
.timeline-card details[open] summary::after{
  content:" 收起";
}
.timeline-empty{
  font-size:13px;
  color:var(--gray);
  margin-top:8px;
}

/* 右侧筛选卡片 */
.filter-card{
  background-color:var(--card-bg);
  border-radius:18px;
  padding:16px 16px 18px;
  box-shadow:0 12px 30px rgba(0,0,0,0.05);
  border:1px solid rgba(0,0,0,0.03);
}
.filter-card h3{
  font-size:15px;
  margin-bottom:6px;
}
.filter-card small{
  font-size:12px;
  color:var(--gray);
}
.filter-group{margin-top:12px;}
.filter-group label{
  display:block;
  font-size:12px;
  color:var(--gray);
  margin-bottom:4px;
}
.filter-card select{
  width:100%;
  border-radius:10px;
  border:1px solid rgba(0,0,0,0.12);
  padding:6px 8px;
  font-size:13px;
  background-color:#fff;
}
.filter-actions{
  margin-top:14px;
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
}
.filter-reset{
  font-size:12px;
  color:var(--gray);
  text-decoration:underline;
  text-decoration-color:rgba(0,0,0,0.3);
}

/* 关于我页面 */
.about-page{
  max-width:var(--max-width);
  margin:32px auto 40px;
  padding:0 20px;
}
.about-hero{
  display:flex;
  gap:24px;
  align-items:flex-start;
  flex-wrap:wrap;
}
.about-avatar{
  width:120px;
  height:120px;
  border-radius:50%;
  overflow:hidden;
  background-color:#e5e5ea;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.about-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.about-avatar-placeholder{
  font-size:40px;
  color:#b0b0b5;
  font-weight:600;
}
.about-main{
  flex:1;
  min-width:0;
}
.about-name{
  font-size:26px;
  font-weight:600;
  letter-spacing:-0.02em;
  margin-bottom:6px;
}
.about-title{
  font-size:14px;
  color:var(--gray);
  margin-bottom:14px;
}
.about-bio{
  font-size:14px;
  line-height:1.8;
  color:var(--text-color);
}
.about-bio p{margin-bottom:8px;}
.about-contact{
  margin-top:18px;
  font-size:13px;
  color:var(--gray);
}
.about-contact a{
  text-decoration:underline;
  text-decoration-color:rgba(0,0,0,0.3);
}

/* 页脚 */
.footer{
  font-size:11px;
  color:var(--gray);
  text-align:center;
  padding:18px 20px 26px;
  border-top:1px solid rgba(0,0,0,0.04);
  margin-top:20px;
}
.footer a{
  color:var(--gray);
  text-decoration:underline;
  text-decoration-color:rgba(110,110,115,0.5);
}

/* 响应式 */
@media (max-width:900px){
  .card-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .timeline-layout{grid-template-columns:minmax(0,1fr);}
}
@media (max-width:640px){
  .nav-inner{padding-inline:14px;}
  .nav-links{display:none;}
  .hero{margin-top:26px;padding-inline:16px;}
  .hero-device{padding:30px 18px;}
  .section{margin-top:28px;}
  .card-grid{grid-template-columns:1fr;}
  .timeline-page,.about-page{padding:0 16px;}
  .timeline-search input[type="text"]{min-width:0;width:100%;}
  .timeline-header-row{align-items:flex-start;}
}
