/* ============================================================
   有点想法（北京）科技有限公司 官网 - 共享样式
   深色品牌风（沿用原 index.html 设计语言）
   ============================================================ */

:root {
  --bg: #0f1115;
  --bg-soft: #171a21;
  --bg-soft-2: #1d212b;
  --fg: #f5f6f8;
  --muted: #9aa3b2;
  --accent: #ffd166;
  --accent-2: #6ee7b7;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --accent-3: #6aa9ff;
  --accent-4: #b78cff;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }

.wrap { width: min(1080px, 90vw); margin: 0 auto; }

main { flex: 1; }

/* ---------------- Header / Nav ---------------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(15, 17, 21, 0.82);
  backdrop-filter: saturate(160%) blur(10px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  color: var(--muted);
  font-size: 15px;
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a:hover { color: var(--fg); }
.nav-links a.active { color: var(--fg); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* ---------------- Buttons ---------------- */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #1a1a1a;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 209, 102, 0.25);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-2);
  font-weight: 600;
  font-size: 15px;
  transition: gap 0.2s ease, color 0.2s ease;
}
.btn-ghost:hover { gap: 14px; color: var(--fg); }

/* ---------------- Hero / Banner ---------------- */
.hero {
  display: flex;
  align-items: center;
  padding: 110px 0 96px;
  background:
    radial-gradient(800px 400px at 80% -10%, rgba(110, 231, 183, 0.10), transparent),
    radial-gradient(600px 400px at 10% 120%, rgba(255, 209, 102, 0.09), transparent);
}
.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
}
.hero h1 .hl { color: var(--accent); }
.hero p {
  font-size: clamp(16px, 2.4vw, 20px);
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

/* ---------------- Page header (内页标题) ---------------- */
.page-head {
  padding: 72px 0 36px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(700px 300px at 85% -40%, rgba(110, 231, 183, 0.08), transparent);
}
.page-head h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 800; margin-bottom: 12px; }
.page-head p { color: var(--muted); font-size: 18px; max-width: 680px; }
.breadcrumb { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--fg); }

/* ---------------- Generic section ---------------- */
.section { padding: 72px 0; border-top: 1px solid var(--line); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .eyebrow {
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.section-head .sub { color: var(--muted); font-size: 19px; }
.section-foot { text-align: center; margin-top: 40px; }

/* ---------------- Cards grid ---------------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.card .icon { font-size: 38px; margin-bottom: 16px; }
.card h3 { font-size: 22px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; }

/* ---------------- About: intro split ---------------- */
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 18px; }
.split p { color: var(--muted); font-size: 17px; margin-bottom: 16px; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stat {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}
.stat .num { font-size: 32px; font-weight: 800; color: var(--accent); }
.stat .label { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* ---------------- Timeline ---------------- */
.timeline { border-left: 2px solid var(--line); margin-left: 8px; padding-left: 28px; }
.tl-item { position: relative; padding-bottom: 30px; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -36px; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 209, 102, 0.15);
}
.tl-item .year { color: var(--accent-2); font-weight: 700; font-size: 15px; }
.tl-item h4 { font-size: 19px; margin: 4px 0 6px; }
.tl-item p { color: var(--muted); font-size: 15px; }

/* ---------------- News list ---------------- */
.news-list { display: flex; flex-direction: column; gap: 18px; }
.news-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px;
  align-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.news-item:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.news-item .date-block { text-align: center; border-right: 1px solid var(--line); padding-right: 18px; }
.news-item .date-block .day { font-size: 30px; font-weight: 800; color: var(--fg); line-height: 1.1; }
.news-item .date-block .ym { font-size: 13px; color: var(--muted); }
.news-item h3 { font-size: 20px; margin-bottom: 8px; }
.news-item p { color: var(--muted); font-size: 15px; }
.news-item .arrow { color: var(--muted); font-size: 22px; transition: color 0.2s ease, transform 0.2s ease; }
.news-item:hover .arrow { color: var(--accent); transform: translateX(4px); }

/* category tag */
.tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  padding: 3px 11px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.tag-company { background: rgba(255, 209, 102, 0.14); color: var(--accent); }
.tag-industry { background: rgba(110, 231, 183, 0.14); color: var(--accent-2); }
.tag-product { background: rgba(130, 170, 255, 0.16); color: #a9c2ff; }

/* news card (homepage) */
.news-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.news-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.news-card .meta { color: var(--muted); font-size: 13.5px; margin-bottom: 12px; }
.news-card h3 { font-size: 19px; margin-bottom: 10px; line-height: 1.4; }
.news-card p { color: var(--muted); font-size: 15px; flex: 1; }
.news-card .more { margin-top: 16px; color: var(--accent-2); font-size: 14px; font-weight: 600; }

/* ---------------- Article ---------------- */
.article { padding: 56px 0 72px; }
.article .meta { color: var(--muted); font-size: 14.5px; margin: 14px 0 28px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.article h1 { font-size: clamp(28px, 4.5vw, 42px); line-height: 1.3; margin-bottom: 6px; }
.article .body { max-width: 760px; }
.article .body h2 { font-size: 24px; margin: 36px 0 14px; }
.article .body p { color: #d6dae2; font-size: 17px; margin-bottom: 18px; }
.article .body ul { color: #d6dae2; font-size: 17px; margin: 0 0 18px 22px; }
.article .body li { margin-bottom: 8px; }
.article .body blockquote {
  border-left: 3px solid var(--accent);
  padding: 6px 18px;
  margin: 24px 0;
  color: var(--muted);
  font-style: italic;
}
.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.article-nav a { color: var(--muted); font-size: 15px; }
.article-nav a:hover { color: var(--accent); }

/* ---------------- Info table (关于我们 工商信息) ---------------- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.info-table th, .info-table td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  vertical-align: top;
}
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.info-table th { color: var(--muted); font-weight: 600; width: 180px; white-space: nowrap; }
.info-table td { color: var(--fg); }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
}
.contact-card .icon { font-size: 34px; margin-bottom: 14px; }
.contact-card h3 { font-size: 18px; margin-bottom: 8px; }
.contact-card p { color: var(--muted); font-size: 15.5px; word-break: break-all; }
.contact-card a:hover { color: var(--accent); }

/* ---------------- Footer ---------------- */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  background: var(--bg-soft);
  margin-top: 24px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-col .brand { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.footer-col .brand span { color: var(--accent); }
.footer-col p, .footer-col a { color: var(--muted); font-size: 14px; line-height: 2; display: block; }
.footer-col a:hover { color: var(--accent); }
.footer-col h5 { color: var(--fg); font-size: 15px; margin-bottom: 8px; }
.footer-bottom {
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 2;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------------- Responsive ---------------- */
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .grid, .grid-2, .news-cards, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .hero { padding: 72px 0 56px; }
  .news-item { grid-template-columns: 1fr; gap: 12px; }
  .news-item .date-block { display: none; }
  .news-item .arrow { display: none; }
  .footer-inner { flex-direction: column; gap: 24px; }
}

/* ============================================================
   第二轮新增：首页多彩动效 + 数据条 + 跑马灯 + 招聘
   ============================================================ */

/* ---------- 首页 Hero 多彩极光背景 ---------- */
.hero-rich {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 130px 0 110px;
  background: var(--bg);
}
.hero-rich .wrap { position: relative; z-index: 2; }
.aurora { position: absolute; inset: -20% -10%; z-index: 0; filter: blur(60px); pointer-events: none; }
.aurora span {
  position: absolute;
  display: block;
  border-radius: 50%;
  opacity: 0.5;
  mix-blend-mode: screen;
}
.aurora .a1 { width: 480px; height: 480px; left: 4%;  top: -8%;  background: var(--accent);   animation: drift1 16s ease-in-out infinite; }
.aurora .a2 { width: 520px; height: 520px; right: 2%; top: -16%; background: var(--accent-2); animation: drift2 19s ease-in-out infinite; }
.aurora .a3 { width: 440px; height: 440px; left: 28%; bottom: -28%; background: var(--accent-3); animation: drift3 22s ease-in-out infinite; }
.aurora .a4 { width: 400px; height: 400px; right: 18%; bottom: -22%; background: var(--accent-4); animation: drift1 18s ease-in-out infinite reverse; }
@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,30px) scale(1.12); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-50px,40px) scale(1.08); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,-40px) scale(1.15); } }

/* 顶部细网格质感 */
.hero-rich::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
}

/* 浮动彩色光点 */
.floaties { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.floaties i {
  position: absolute; display: block; width: 10px; height: 10px; border-radius: 50%;
  box-shadow: 0 0 14px currentColor;
}
.floaties i:nth-child(1){ left: 12%; top: 30%; color: var(--accent);   animation: floaty 7s ease-in-out infinite; }
.floaties i:nth-child(2){ left: 82%; top: 26%; color: var(--accent-2); animation: floaty 9s ease-in-out infinite 0.5s; }
.floaties i:nth-child(3){ left: 68%; top: 64%; color: var(--accent-3); animation: floaty 8s ease-in-out infinite 1s; width:7px;height:7px; }
.floaties i:nth-child(4){ left: 24%; top: 70%; color: var(--accent-4); animation: floaty 10s ease-in-out infinite 0.3s; width:8px;height:8px; }
.floaties i:nth-child(5){ left: 46%; top: 18%; color: var(--accent-2); animation: floaty 6.5s ease-in-out infinite 0.8s; width:6px;height:6px; }
@keyframes floaty { 0%,100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(-22px); opacity: 1; } }

/* 渐变标题 + 关键词轮播 */
.hero-rich h1 .grad {
  background: linear-gradient(100deg, var(--accent), var(--accent-2) 45%, var(--accent-3) 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rotator {
  display: inline-block; position: relative; color: var(--accent);
  min-width: 2.2em;
  transition: transform .35s ease, opacity .35s ease;
}
.rotator.rotate-out { transform: translateY(-40%); opacity: 0; }
.rotator.rotate-in  { animation: rotateIn .4s ease; }
@keyframes rotateIn { from { transform: translateY(40%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* hero 关键词 chips */
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-chips .chip-tag {
  font-size: 13.5px; color: var(--muted);
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 14px;
  background: rgba(255,255,255,0.02);
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}
.hero-chips .chip-tag:hover { color: var(--fg); border-color: var(--accent); transform: translateY(-2px); }

/* ---------- 能力跑马灯 ---------- */
.marquee {
  width: min(1080px, 90vw); margin: 28px auto;
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--bg-soft);
  overflow: hidden; padding: 18px 0;
}
.marquee-track { display: flex; width: max-content; animation: scrollx 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 0 28px; font-size: 18px; font-weight: 600; color: var(--muted);
  white-space: nowrap;
}
.marquee-track span::after { content: "✦"; color: var(--accent); font-size: 13px; }
@keyframes scrollx { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 数据条（计数） ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stats-band .stat-box { text-align: center; padding: 12px; }
.stats-band .big {
  font-size: clamp(32px, 5vw, 48px); font-weight: 800; line-height: 1;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stats-band .cap { color: var(--muted); font-size: 15px; margin-top: 10px; }

/* ---------- 滚动渐显 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 招聘 / 加入我们 ---------- */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.jobs { display: flex; flex-direction: column; gap: 16px; max-width: 860px; margin: 0 auto; }
.job {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  transition: border-color .2s ease;
}
.job.open, .job:hover { border-color: var(--line-strong); }
.job-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 26px; cursor: pointer; user-select: none;
}
.job-head .titleline { display: flex; flex-direction: column; gap: 6px; }
.job-head h3 { font-size: 20px; }
.job-head .badges { display: flex; gap: 8px; flex-wrap: wrap; }
.job-head .badge {
  font-size: 12.5px; color: var(--muted);
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px 10px;
}
.job-head .toggle {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--accent);
  display: grid; place-items: center; font-size: 20px;
  transition: transform .25s ease, background .2s ease;
}
.job.open .job-head .toggle { transform: rotate(45deg); background: rgba(255,209,102,0.12); }
.job-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.job.open .job-body { max-height: 900px; }
.job-body .inner { padding: 0 26px 26px; border-top: 1px solid var(--line); }
.job-body h4 { font-size: 15px; color: var(--accent-2); margin: 20px 0 8px; }
.job-body ul { margin: 0 0 4px 20px; color: #d6dae2; font-size: 15px; }
.job-body li { margin-bottom: 7px; }
.job-body .apply { margin-top: 20px; }

@media (max-width: 860px) {
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .perks { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hero-rich { padding: 84px 0 64px; }
  .job-head { padding: 18px 20px; }
  .job-body .inner { padding: 0 20px 22px; }
}

/* 尊重减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  .aurora span, .floaties i, .marquee-track { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
