/* SmartStar Ai Creation Lab — 厦门睿星智绘科技有限公司 */

:root {
  --bg: #fafaf7;
  --bg-soft: #f3f3ee;
  --bg-card: #ffffff;
  --line: #e7e5dc;
  --line-soft: #efedea;
  --ink: #0e0f12;
  --ink-2: #2a2c33;
  --ink-3: #565862;
  --ink-4: #8b8d96;
  --accent: #2563eb;
  --accent-2: #1d4ed8;
  --accent-soft: #eef2ff;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 28px -12px rgba(15, 23, 42, 0.12);
  --radius: 10px;
  --maxw: 1180px;
  --serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", serif;
  --sans: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

/* ========== NAV ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.brand-name {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
}
.brand-sub {
  font-size: 12px;
  color: var(--ink-4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-left: 1px solid var(--line);
  padding-left: 12px;
  margin-left: 4px;
}
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  color: var(--ink-3);
  transition: color 0.15s ease;
  position: relative;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -24px;
  height: 2px;
  background: var(--accent);
}
.nav-cta {
  font-size: 13px;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  transition: border-color 0.15s ease;
}
.nav-cta:hover { border-color: var(--ink); }

/* ========== HERO ========== */
.hero {
  padding: 88px 0 72px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(37, 99, 235, 0.06), transparent 60%),
    radial-gradient(800px 300px at 10% 100%, rgba(37, 99, 235, 0.04), transparent 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 72px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 500;
  font-family: var(--mono);
  margin-bottom: 24px;
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.hero h1 {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  color: var(--ink);
  text-wrap: pretty;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  font-family: var(--serif);
}
.hero p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-3);
  margin: 0 0 32px;
  max-width: 540px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover { background: var(--accent); }
.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}
.btn-ghost:hover { border-color: var(--ink); }

/* hero diagram */
.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.hc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
}
.hc-title {
  font-size: 13px;
  font-family: var(--mono);
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.hc-status {
  font-size: 11px;
  font-family: var(--mono);
  color: #16a34a;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hc-status::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #16a34a;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hc-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
}
.hc-row:last-child { border-bottom: none; }
.hc-key {
  color: var(--ink-4);
  font-family: var(--mono);
  font-size: 12px;
}
.hc-val {
  color: var(--ink);
  font-weight: 500;
}
.hc-val.accent { color: var(--accent); }
.hc-bar {
  margin-top: 8px;
  height: 4px;
  background: var(--bg-soft);
  border-radius: 99px;
  overflow: hidden;
}
.hc-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 99px;
  width: 78%;
}

/* ========== SECTIONS ========== */
section {
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
}
.section-head {
  margin-bottom: 56px;
  max-width: 720px;
}
.section-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--ink);
}
.section-head p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-3);
  margin: 0;
}

/* ========== RESEARCH ========== */
.research-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.research-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}
.research-card:hover {
  border-color: var(--ink-4);
  transform: translateY(-2px);
}
.research-card.featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.research-card.featured .rc-tag,
.research-card.featured .rc-meta { color: rgba(255, 255, 255, 0.5); }
.research-card.featured .rc-desc { color: rgba(255, 255, 255, 0.7); }
.rc-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-4);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rc-tag::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.rc-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 12px;
  letter-spacing: -0.005em;
}
.rc-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-3);
  margin: 0 0 24px;
  flex: 1;
}
.rc-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-4);
  display: flex;
  gap: 16px;
  letter-spacing: 0.04em;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.research-card.featured .rc-meta { border-top-color: rgba(255, 255, 255, 0.15); }

/* ========== ABOUT STRIP ========== */
.about-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-strip h2 {
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1.25;
  font-weight: 600;
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}
.about-strip p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-3);
  margin: 0 0 16px;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.stat {
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat:nth-child(2n) { border-right: none; }
.stat:nth-last-child(-n+2) { border-bottom: none; }
.stat-num {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 8px;
}
.stat-num .unit {
  font-size: 18px;
  color: var(--ink-4);
  font-weight: 400;
  margin-left: 4px;
}
.stat-label {
  font-size: 13px;
  color: var(--ink-3);
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

/* ========== CONTACT ========== */
.contact-block {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 56px;
  align-items: center;
}
.contact-block h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.contact-block p {
  color: var(--ink-3);
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}
.contact-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.contact-row {
  background: #fff;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  align-items: center;
  font-size: 14px;
}
.contact-row .k {
  font-family: var(--mono);
  color: var(--ink-4);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.contact-row .v {
  color: var(--ink);
  font-weight: 500;
}

/* ========== FOOTER ========== */
footer {
  padding: 64px 0 40px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-grid h4 {
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: 0.1em;
  color: var(--ink-4);
  text-transform: uppercase;
  margin: 0 0 16px;
  font-weight: 500;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-grid li {
  margin-bottom: 10px;
}
.footer-grid a {
  font-size: 14px;
  color: var(--ink-3);
  transition: color 0.15s ease;
}
.footer-grid a:hover { color: var(--ink); }
.footer-about p {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.7;
  margin: 12px 0 0;
  max-width: 320px;
}
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--ink-4);
  font-family: var(--mono);
}

/* ========== SUBPAGE ========== */
.page-hero {
  padding: 96px 0 64px;
  border-bottom: 1px solid var(--line);
}
.page-hero .crumb {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-4);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1.1;
  font-weight: 600;
  margin: 0 0 24px;
  letter-spacing: -0.01em;
  max-width: 800px;
}
.page-hero .lead {
  font-size: 18px;
  color: var(--ink-3);
  line-height: 1.7;
  max-width: 680px;
  margin: 0;
}

.prose {
  max-width: 760px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-2);
}
.prose h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  margin: 48px 0 16px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.prose h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 32px 0 12px;
  color: var(--ink);
}
.prose p { margin: 0 0 16px; }
.prose ul {
  margin: 0 0 16px;
  padding-left: 20px;
}
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); font-weight: 600; }

.toc {
  position: sticky;
  top: 100px;
  font-size: 13px;
}
.toc-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-4);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border-left: 1px solid var(--line);
}
.toc li { padding: 0; }
.toc a {
  display: block;
  padding: 8px 16px;
  color: var(--ink-3);
  border-left: 2px solid transparent;
  margin-left: -1px;
  transition: all 0.15s ease;
}
.toc a:hover, .toc a.active {
  color: var(--ink);
  border-left-color: var(--accent);
}

.page-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
  padding: 64px 0;
}

/* timeline */
.timeline {
  display: grid;
  gap: 0;
  margin-top: 32px;
}
.tl-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.tl-item:last-child { border-bottom: 1px solid var(--line); }
.tl-year {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.tl-title {
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--ink);
}
.tl-desc {
  font-size: 14px;
  color: var(--ink-3);
  margin: 0;
}

/* responsive */
@media (max-width: 900px) {
  .hero-grid, .about-strip, .contact-block, .page-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .research-grid { grid-template-columns: 1fr; }
  .hero h1, .page-hero h1 { font-size: 36px; }
  .nav-links { display: none; }
  section { padding: 64px 0; }
  .contact-block { padding: 32px; }
  .toc { position: static; }
}
