/* ============================================================
   元想创驿 OPC 社区 — 子页面共享样式（与首页 TOONHUB 内容区风格统一）
   ============================================================ */

@font-face {
  font-family: 'BrandRound';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ZCOOLKuaiLe-subset.woff2') format('woff2');
}

:root {
  --bg: #0a1428;
  --bg-2: #0e1b35;
  --bg-3: #122142;
  --card: #14264a;
  --card-2: #182c55;
  --line: rgba(255,255,255,0.08);
  --cyan: #2ec4b6;
  --cyan-soft: rgba(46,196,182,0.14);
  --gold: #ffb84d;
  --gold-soft: rgba(255,184,77,0.14);
  --text: #eaf0fb;
  --text-2: #a9b7d0;
  --text-3: #6b7a99;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ===== 导航 ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 4vw;
  backdrop-filter: blur(16px);
  background: rgba(10,20,40,0.72);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; letter-spacing: 1px; color: #fff; }
.nav-brand img { height: 38px; width: auto; }
.nav-brand span { opacity: 0.92; font-weight: 400; font-family: 'BrandRound', var(--font-body); font-size: 15px; letter-spacing: 2px; }
.nav-links { display: flex; gap: 22px; font-size: 13px; color: var(--text-2); }
.nav-links a { color: var(--text-2); transition: color 0.2s; position: relative; }
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: var(--cyan); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-ghost { color: var(--text-2); font-size: 13px; padding: 8px 6px; white-space: nowrap; }
.nav-cta {
  color: #04201c; background: var(--cyan); font-size: 13px; font-weight: 700;
  padding: 9px 16px; border-radius: 10px; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(46,196,182,0.3);
  transition: transform 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); }
.nav-burger { display: none; background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; }
.mobile-menu { display: none; }

/* ===== page-hero ===== */
.page-hero {
  padding: calc(80px + 72px) 0 64px;
  position: relative;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 20%, rgba(46,196,182,0.14), transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(255,184,77,0.08), transparent 60%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; }
.crumb {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 2px; color: var(--gold); text-transform: uppercase;
  margin-bottom: 18px; font-weight: 600;
}
.crumb .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.page-hero h1 {
  font-size: clamp(30px, 5vw, 52px); font-weight: 800; line-height: 1.2; letter-spacing: 0.5px;
  margin-bottom: 18px;
}
.page-hero h1 .grad-text {
  background: linear-gradient(120deg, #2ec4b6, #4f8cff 50%, #a855f7);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.page-hero h1.single-line { white-space: nowrap; }
.page-hero p.single-line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: none; }
@media (max-width: 960px) {
  .page-hero h1.single-line { white-space: normal; }
  .page-hero p.single-line { white-space: normal; overflow: visible; text-overflow: clip; }
}
.page-hero p { font-size: 16px; color: var(--text-2); max-width: 640px; }

/* ===== section 通用 ===== */
.section { padding: 72px 0; position: relative; }
.section-dark { background: var(--bg-2); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.sec-tag {
  display: inline-block; font-size: 12px; letter-spacing: 3px; color: var(--gold);
  text-transform: uppercase; margin-bottom: 14px; font-weight: 600;
}
.sec-title { font-size: clamp(26px, 4vw, 38px); font-weight: 800; margin-bottom: 14px; letter-spacing: 1px; }
.sec-desc { font-size: 16px; color: var(--text-2); }

/* ===== 页内布局：aside + sections ===== */
.page-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.page-aside { position: sticky; top: 96px; }
.aside-card {
  background: linear-gradient(160deg, var(--card-2), var(--bg-2));
  border: 1px solid var(--line); border-radius: 16px; padding: 24px;
}
.aside-card b { display: block; font-size: 16px; margin-bottom: 10px; }
.aside-card p { font-size: 14px; color: var(--text-2); margin-bottom: 16px; line-height: 1.7; }
.aside-card a { font-size: 14px; font-weight: 600; color: var(--cyan); }

.page-sections { display: flex; flex-direction: column; gap: 16px; }
.page-section {
  display: flex; gap: 20px;
  background: linear-gradient(160deg, var(--card), var(--bg-2));
  border: 1px solid var(--line); border-radius: 16px; padding: 28px 26px;
  transition: border-color 0.25s, transform 0.25s;
}
.page-section:hover { border-color: rgba(46,196,182,0.35); transform: translateY(-2px); }
.page-section > span {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(46,196,182,0.2), rgba(79,140,255,0.2));
  border: 1px solid rgba(46,196,182,0.3);
  color: var(--cyan); font-weight: 800; font-size: 17px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body);
}
.page-section > div { flex: 1; }
.page-section h2 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.page-section p { font-size: 14px; color: var(--text-2); margin-bottom: 12px; line-height: 1.7; }
.page-section ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.page-section li {
  font-size: 13.5px; color: var(--text); padding-left: 16px; position: relative;
}
.page-section li::before {
  content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--cyan);
}

/* ===== 卡片 ===== */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: linear-gradient(160deg, var(--card), var(--bg-2));
  border: 1px solid var(--line); border-radius: 18px; padding: 28px 22px;
  transition: transform 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(46,196,182,0.4); }
.card .ico {
  width: 52px; height: 52px; border-radius: 14px; display: flex;
  align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px;
}
.card:nth-child(1) .ico { background: var(--cyan-soft); }
.card:nth-child(2) .ico { background: var(--gold-soft); }
.card:nth-child(3) .ico { background: rgba(120,140,255,0.16); }
.card:nth-child(4) .ico { background: rgba(255,120,150,0.14); }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ===== 双列 ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split .txt h3 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 18px; line-height: 1.4; }
.split .txt h3 .hl { color: var(--cyan); }
.split .txt p { color: var(--text-2); font-size: 15px; margin-bottom: 14px; line-height: 1.8; }
.point { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; font-size: 14px; color: var(--text); }
.point .n {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 6px;
  background: var(--cyan-soft); color: var(--cyan); font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.split .img img, .poster-img img {
  width: 100%; border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 0 1px var(--line);
}

/* ===== 步骤 ===== */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 12px; text-align: center; position: relative;
}
.step .num {
  width: 34px; height: 34px; border-radius: 50%; margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--cyan), #1a8f84);
  color: #04201c; font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.step h4 { font-size: 15px; margin-bottom: 6px; }
.step p { font-size: 12px; color: var(--text-2); }
.step .arrow { position: absolute; top: 50%; right: -11px; transform: translateY(-50%); color: var(--cyan); font-size: 14px; }
.step:last-child .arrow { display: none; }

/* ===== 数据卡 ===== */
.data-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.data-card {
  background: linear-gradient(160deg, var(--card-2), var(--bg-2));
  border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px;
}
.data-card .big { font-size: clamp(22px, 2.5vw, 28px); font-weight: 800; color: var(--gold); margin-bottom: 10px; line-height: 1.3; }
.data-card .big small { font-size: 15px; color: var(--text-2); font-weight: 500; }
.data-card p { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ===== 受众 ===== */
.aud-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.aud-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px 22px;
  transition: transform 0.25s, border-color 0.25s;
}
.aud-card:hover { transform: translateY(-5px); border-color: rgba(255,184,77,0.4); }
.aud-card .emoji { font-size: 32px; margin-bottom: 14px; }
.aud-card h3 { font-size: 16px; margin-bottom: 8px; }
.aud-card p { font-size: 13px; color: var(--text-2); line-height: 1.7; }

/* ===== 画廊 ===== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery .g {
  border-radius: 12px; overflow: hidden; position: relative;
  border: 1px solid var(--line); aspect-ratio: 3/4; background: var(--bg-3);
}
.gallery .g img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery .g:hover img { transform: scale(1.06); }
.gallery .g .label {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 26px 12px 10px;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  font-size: 12px; color: #fff;
}

/* ===== 时间线 ===== */
.timeline { position: relative; max-width: 720px; margin: 0 auto; padding-left: 32px; }
.timeline::before {
  content: ''; position: absolute; left: 10px; top: 4px; bottom: 4px; width: 2px;
  background: linear-gradient(to bottom, var(--cyan), var(--gold));
}
.tl-item { position: relative; padding: 0 0 30px 8px; }
.tl-item .dot {
  position: absolute; left: -28px; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--cyan);
}
.tl-item .when { font-size: 12px; color: var(--gold); letter-spacing: 1px; font-weight: 600; }
.tl-item h4 { font-size: 18px; margin: 4px 0 4px; }
.tl-item p { font-size: 14px; color: var(--text-2); }

/* ===== CTA ===== */
.cta-band { text-align: center; padding: 80px 24px; background: linear-gradient(160deg, var(--bg-2), var(--bg)); border: 1px solid var(--line); border-radius: 20px; }
.cta-band h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; margin-bottom: 14px; }
.cta-band p { color: var(--text-2); margin-bottom: 28px; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 12px; font-size: 15px; font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn.primary { background: var(--cyan); color: #04201c; box-shadow: 0 8px 24px rgba(46,196,182,0.35); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(46,196,182,0.45); }
.btn.ghost { border: 1px solid var(--line); color: var(--text); }
.btn.ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* ===== 联系页 ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-details h2 { font-size: 22px; font-weight: 800; margin-bottom: 20px; }
.contact-details dl { display: flex; flex-direction: column; }
.c-row { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.c-row dt { flex-shrink: 0; width: 48px; font-size: 13px; color: var(--text-3); padding-top: 1px; }
.c-row dd { font-size: 15px; color: var(--text); }
.c-row dd a { color: var(--cyan); }
.contact-form {
  background: linear-gradient(160deg, var(--card), var(--bg-2));
  border: 1px solid var(--line); border-radius: 18px; padding: 30px;
}
.overline { font-size: 12px; letter-spacing: 2px; color: var(--gold); text-transform: uppercase; font-weight: 600; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid label, .contact-form label { display: block; font-size: 13px; color: var(--text-2); }
.form-grid .full { grid-column: 1 / -1; }
.form-control {
  width: 100%; margin-top: 6px; padding: 11px 14px;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 10px;
  color: var(--text); font-size: 14px; font-family: var(--font-body);
  transition: border-color 0.2s;
}
.form-control:focus { outline: none; border-color: var(--cyan); }
textarea.form-control { resize: vertical; }
.form-select-wrap { display: block; position: relative; }
.form-select-wrap::after { content: '▾'; position: absolute; right: 14px; top: 50%; transform: translateY(-30%); color: var(--text-3); pointer-events: none; }
select.form-control { appearance: none; -webkit-appearance: none; }
.check-group { margin-top: 8px; }
.check-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-3); }
.check-item input { accent-color: var(--cyan); }
.form-note { font-size: 12px; color: var(--text-3); margin-top: 10px; line-height: 1.6; }

/* ===== footer ===== */
.footer { border-top: 1px solid var(--line); padding: 40px 0 28px; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer .logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 12px; }
.footer .logo img { height: 34px; width: auto; }
.footer-desc { font-size: 14px; color: var(--text-2); line-height: 1.7; }
.footer-links h4 { font-size: 13px; color: var(--text-3); margin-bottom: 14px; font-weight: 600; letter-spacing: 1px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: var(--text-2); transition: color 0.2s; }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--text-3);
}
.footer-bottom a { color: var(--cyan); }

/* ===== 响应式 ===== */
@media (max-width: 960px) {
  .nav { flex-wrap: wrap; }
  .nav-links, .nav-actions { display: none; }
  .nav-burger { display: block; }
  .page-layout { grid-template-columns: 1fr; }
  .page-aside { position: static; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step .arrow { display: none; }
  .data-grid { grid-template-columns: 1fr; }
  .aud-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-section ul { grid-template-columns: 1fr; }
}

/* ===== 移动端菜单 ===== */
@media (max-width: 960px) {
  .nav.menu-open .nav-links {
    display: flex;
    flex-basis: 100%;
    flex-direction: column;
    gap: 14px;
    padding: 16px 0 8px;
    margin-top: 12px;
    border-top: 1px solid var(--line);
  }
  .nav.menu-open .nav-actions {
    display: flex;
    flex-basis: 100%;
    flex-direction: column;
    gap: 10px;
    padding: 12px 0 16px;
  }
  .nav.menu-open .nav-actions .nav-ghost,
  .nav.menu-open .nav-actions .nav-cta {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .cards-4, .aud-grid, .gallery { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-section { padding: 22px 18px; }
  .page-section > span { width: 44px; height: 44px; font-size: 15px; }
  .contact-form { padding: 22px 18px; }
  .form-grid { grid-template-columns: 1fr; }
}
