/* ============================================
   我爱云网络科技工作室 - 深色科技风模板
   （模板风格参照 www.woaiyun.net）
   ============================================ */
:root {
  --bg: #0a0f1e;
  --bg-alt: #0d1526;
  --bg-deep: #060a14;
  --card: rgba(255, 255, 255, .04);
  --card-solid: #101a30;
  --line: rgba(255, 255, 255, .09);
  --primary: #22d3ee;
  --primary-soft: rgba(34, 211, 238, .12);
  --text: #e6edf7;
  --text2: #8fa3c4;
  --text3: #5f7196;
  --radius: 14px;
  --shadow: 0 12px 34px rgba(0, 0, 0, .35);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
ul { list-style: none; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 22px; }

/* ===== 按钮 ===== */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .5px;
  transition: all .25s;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, #22d3ee, #0ea5e9);
  color: #04121f;
  box-shadow: 0 6px 22px rgba(34, 211, 238, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(34, 211, 238, .5); }
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: rgba(34, 211, 238, .55);
}
.btn-ghost:hover { background: var(--primary-soft); transform: translateY(-2px); }
.btn-sm { padding: 8px 22px; font-size: 13px; }

/* ===== 头部导航 ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 15, 30, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
.brand-name {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  display: flex;
  flex-direction: column;
}
.brand-name small { font-size: 10px; color: var(--text3); letter-spacing: 2.5px; font-weight: 500; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--text2);
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all .2s;
}
.main-nav a:hover { color: var(--primary); background: var(--primary-soft); }
.main-nav a.active { color: var(--primary); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 150px 0 130px;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(34, 211, 238, .16), transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 110%, rgba(14, 165, 233, .14), transparent 60%),
    linear-gradient(180deg, #0a0f1e 0%, #0d1526 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-img, none);
  background-size: cover;
  background-position: center;
  opacity: .16;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 5px;
  color: var(--primary);
  margin-bottom: 22px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: 58px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 18px;
  text-shadow: 0 0 40px rgba(34, 211, 238, .35);
}
.hero p { font-size: 17px; color: var(--text2); max-width: 640px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== 区块通用 ===== */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .label {
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--primary);
  display: block;
  margin-bottom: 10px;
}
.section-head h2 { font-size: 34px; font-weight: 700; color: #fff; }
.section-head p { color: var(--text2); margin-top: 12px; font-size: 15px; }
.divider {
  display: block;
  width: 56px;
  height: 3px;
  border-radius: 2px;
  margin: 18px auto 0;
  background: linear-gradient(90deg, #22d3ee, #0ea5e9);
}

/* ===== 工作室介绍 ===== */
.intro-wrap { display: grid; grid-template-columns: 1fr; gap: 0; align-items: start; }
.intro-text .label { font-size: 12px; letter-spacing: 3px; color: var(--primary); }
.intro-text h2 { font-size: 30px; color: #fff; margin: 10px 0 18px; }
.intro-text > p { color: var(--text2); font-size: 15px; margin-bottom: 30px; text-align: justify; }
.biz-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.biz-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
  transition: all .25s;
}
.biz-item:hover { border-color: rgba(34, 211, 238, .4); transform: translateY(-3px); }
.biz-item svg { width: 26px; height: 26px; color: var(--primary); margin-bottom: 10px; }
.biz-item h4 { font-size: 15px; color: #fff; margin-bottom: 6px; }
.biz-item p { font-size: 13px; color: var(--text2); }

/* ===== 项目展示 ===== */
.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.project-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .28s;
  display: flex;
  flex-direction: column;
}
.project-card:hover { transform: translateY(-6px); border-color: rgba(34, 211, 238, .4); box-shadow: var(--shadow); }
.project-img { aspect-ratio: 16/10; overflow: hidden; background: var(--card-solid); }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.project-card:hover .project-img img { transform: scale(1.06); }
.project-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.project-title { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.project-title h3 { font-size: 16px; color: #fff; font-weight: 600; }
.project-tag {
  font-size: 11px;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid rgba(34, 211, 238, .3);
  padding: 2px 9px;
  border-radius: 999px;
}
.project-body p { font-size: 13px; color: var(--text2); margin-bottom: 18px; text-align: justify; flex: 1; }

/* ===== 技术栈 ===== */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tech-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  transition: all .25s;
}
.tech-card:hover { transform: translateY(-4px); border-color: rgba(34, 211, 238, .4); }
.tech-card h3 { font-size: 15px; color: #fff; margin-bottom: 20px; letter-spacing: 2px; }
.tech-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tech-tag {
  font-size: 13px;
  color: var(--text);
  background: var(--card-solid);
  border: 1px solid var(--line);
  padding: 6px 15px;
  border-radius: 999px;
  transition: all .2s;
}
.tech-tag:hover { color: var(--primary); border-color: var(--primary); }

/* ===== 团队成员 ===== */
.team-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 26px; }
.team-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 40px 30px;
  text-align: center;
  width: 320px;
  transition: all .25s;
}
.team-card:hover { transform: translateY(-5px); border-color: rgba(34, 211, 238, .4); }
.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 18px;
  border: 3px solid rgba(34, 211, 238, .35);
}
.team-card h3 { font-size: 18px; color: #fff; margin-bottom: 4px; }
.team-role { font-size: 13px; color: var(--primary); letter-spacing: 2px; margin-bottom: 12px; }
.team-motto { font-size: 13px; color: var(--text2); font-style: italic; }

/* ===== 团队查询 ===== */
.team-query {
  position: relative;
  margin-top: 56px;
  border-radius: 20px;
  padding: 56px 40px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(34, 211, 238, .14), transparent 60%),
    linear-gradient(135deg, #101a30, #0b1226);
  border: 1px solid var(--line);
  overflow: hidden;
}
.team-query h3 {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 3px;
  margin-bottom: 6px;
}
.team-query .label { font-size: 12px; letter-spacing: 4px; color: var(--primary); display: block; margin-bottom: 10px; }
.team-query p { color: var(--text2); font-size: 14px; margin-bottom: 28px; }
.team-query .btn { margin: 0 8px; }

/* ===== 最新文章 ===== */
.article-empty {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
  background: var(--card);
  border: 1px dashed rgba(34, 211, 238, .35);
  border-radius: var(--radius);
  padding: 40px 24px;
  color: var(--text2);
  font-size: 14px;
}

/* ===== 联系我们 ===== */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  text-align: center;
  transition: all .25s;
}
.contact-card:hover { border-color: rgba(34, 211, 238, .4); transform: translateY(-3px); }
.contact-card .icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 12px;
  background: var(--primary-soft);
  border: 1px solid rgba(34, 211, 238, .25);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card .icon svg { width: 22px; height: 22px; color: var(--primary); }
.contact-card h4 { font-size: 13px; color: var(--text3); letter-spacing: 1px; margin-bottom: 8px; }
.contact-card .value { font-size: 15px; color: #fff; }

/* ===== 页脚 ===== */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 64px 0 48px;
}
.footer-brand p { color: var(--text2); font-size: 13px; margin-top: 16px; max-width: 280px; }
.footer-cols h5 { font-size: 14px; color: #fff; margin-bottom: 18px; letter-spacing: 1px; }
.footer-cols li { margin-bottom: 10px; font-size: 13px; color: var(--text2); }
.footer-cols li a { color: var(--text2); transition: color .2s; }
.footer-cols li a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: var(--text3);
}
.footer-bottom a { color: var(--text3); transition: color .2s; }
.footer-bottom a:hover { color: var(--primary); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 15, 30, .97);
    border-bottom: 1px solid var(--line);
    padding: 14px 22px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 12px 14px; }
  .hero h1 { font-size: 40px; }
}
@media (max-width: 640px) {
  .project-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .biz-list { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .section { padding: 68px 0; }
  .hero { padding: 110px 0 96px; }
  .hero h1 { font-size: 32px; }
  .team-query { padding: 40px 22px; }
}

/* ===== 团队查询表单 ===== */
.query-form { display: flex; gap: 12px; justify-content: center; max-width: 520px; margin: 0 auto; flex-wrap: wrap; }
.query-form input {
  flex: 1;
  min-width: 260px;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
}
.query-form input:focus { border-color: var(--primary); }
.query-form input::placeholder { color: var(--text3); }

/* 团队查询结果（首页按钮下方直接显示） */
.team-query-result {
  max-width: 520px;
  margin: 16px auto 0;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .05);
  color: var(--text2);
}
.team-query-result.ok {
  border-color: rgba(34, 197, 94, .45);
  background: rgba(34, 197, 94, .10);
  color: #4ade80;
}
.team-query-result.no {
  border-color: rgba(239, 68, 68, .40);
  background: rgba(239, 68, 68, .08);
  color: #f87171;
}

/* ===== 申请加入表单 ===== */
.join-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 40px;
}
.form-item { margin-bottom: 18px; }
.form-item label { display: block; font-size: 13px; color: var(--text2); margin-bottom: 8px; }
.form-item label b { color: var(--primary); font-weight: 600; }
.form-item input,
.form-item textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .05);
  color: var(--text);
  font-size: 14px;
  font-family: var(--font);
  outline: none;
  transition: border-color .2s;
  box-sizing: border-box;
}
.form-item input:focus, .form-item textarea:focus { border-color: var(--primary); }
.form-item textarea { resize: vertical; min-height: 96px; }
.join-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.join-row .form-item { margin-bottom: 16px; }
.captcha-line { display: flex; gap: 12px; align-items: center; }
.captcha-line input { flex: 1; }
.captcha-box { display: inline-flex; cursor: pointer; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.captcha-box img { width: 130px; height: 44px; object-fit: cover; display: block; }
.join-card .form-submit { margin-top: 6px; }
@media (max-width: 640px) {
  .join-row { grid-template-columns: 1fr; gap: 0; }
  .join-card { padding: 26px 20px; }
}

/* ===== 文章列表 ===== */
.article-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.article-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 26px;
  transition: all .22s;
}
.article-item:hover { border-color: rgba(34, 211, 238, .45); transform: translateY(-3px); box-shadow: var(--shadow); }
.article-item-body h3 { font-size: 16px; color: #fff; margin-bottom: 6px; }
.article-item-body p { font-size: 13px; color: var(--text2); text-align: justify; }
.article-date { display: inline-block; margin-top: 8px; font-size: 12px; color: var(--text3); }
.article-arrow { color: var(--primary); font-size: 13px; white-space: nowrap; }

/* ===== 文章详情页 ===== */
.article-page { max-width: 820px; margin: 0 auto; padding: 56px 0 88px; }
.article-page h1 { font-size: 30px; color: #fff; margin-bottom: 14px; }
.article-page .meta { font-size: 13px; color: var(--text3); margin-bottom: 30px; }
.article-page .content {
  font-size: 15px;
  color: var(--text);
  line-height: 1.9;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 36px;
  text-align: justify;
}
.article-page .content p { margin-bottom: 16px; }
.article-page .back { display: inline-block; margin-bottom: 24px; font-size: 13px; color: var(--text2); }
.article-page .back:hover { color: var(--primary); }
.article-notfound { text-align: center; padding: 120px 0; color: var(--text2); }
.article-notfound h1 { font-size: 28px; color: #fff; margin-bottom: 14px; }
