/* ============================================================
   数智赋能·益企同行 —— 高明区企业 AI 应用公开课 官网样式
   风格：商务科技（官方主办 × AI 生产力）
   ============================================================ */
:root {
  --brand: #0a4dd6;
  --brand-2: #006eff;
  --brand-deep: #07265c;
  --ink: #12233f;
  --ink-2: #45597a;
  --ink-3: #6b7f9c;
  --line: #e3e9f2;
  --bg: #ffffff;
  --bg-soft: #f4f7fc;
  --bg-alt: #0a1730;
  --accent: #00a3ff;
  --accent-2: #00d3b4;
  --gold: #ffb648;
  --danger: #d93025;
  --ok: #12a26b;
  --radius: 14px;
  --shadow: 0 10px 34px rgba(10, 40, 100, .10);
  --shadow-lg: 0 24px 60px rgba(6, 25, 60, .18);
  --font: "PingFang SC","Microsoft YaHei","Segoe UI",system-ui,-apple-system,sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img,svg { max-width: 100%; vertical-align: middle; }
a { color: var(--brand-2); text-decoration: none; }
ul,ol { list-style: none; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 22px; }
section[id],footer[id] { scroll-margin-top: 72px; }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font-weight: 600; cursor: pointer; border: 0; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 14px 30px; font-size: 17px; }
.btn-block { width: 100%; padding: 15px; font-size: 17px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); }
.btn-accent { background: linear-gradient(120deg, #ff8f00, #ff5d1f); color: #fff; box-shadow: 0 8px 22px rgba(255,110,30,.35); }
.btn-accent:hover { box-shadow: 0 12px 30px rgba(255,110,30,.45); }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.2); }

/* ---------- 顶部导航 ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; letter-spacing: .5px; box-shadow: 0 4px 10px rgba(10,77,214,.3); }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 15.5px; }
.brand-text em { font-style: normal; font-size: 11.5px; color: var(--ink-3); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--ink-2); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--brand); }
.nav-cta { padding: 9px 20px; font-size: 14.5px; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background:
  radial-gradient(900px 480px at 82% -10%, rgba(0,163,255,.35), transparent 60%),
  radial-gradient(700px 420px at -10% 110%, rgba(0,211,180,.18), transparent 55%),
  linear-gradient(160deg, #061b3f 0%, #0a2c66 55%, #093a7d 100%);
  overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 44px; padding: 66px 22px 46px; align-items: center; }
.hero-badge { display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); color: #cfe4ff; padding: 5px 14px; border-radius: 999px; font-size: 13px; letter-spacing: 1px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.18; letter-spacing: 2px; font-weight: 800; background: linear-gradient(90deg,#fff,#bfe0ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { margin: 16px 0 24px; color: #d6e6ff; font-size: 17px; max-width: 560px; }
.hero-meta { display: grid; gap: 12px; margin-bottom: 26px; max-width: 560px; }
.hero-meta li { display: flex; gap: 13px; align-items: flex-start; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 11px 16px; }
.hero-meta .ic { font-size: 20px; line-height: 1.4; }
.hero-meta b { font-size: 15.5px; font-weight: 600; }
.hero-meta small { color: #b7cdec; font-size: 13px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.countdown { display: flex; align-items: center; gap: 16px; margin-top: 30px; padding: 14px 18px; border: 1px dashed rgba(255,255,255,.35); border-radius: 12px; background: rgba(4,16,40,.35); max-width: fit-content; }
.cd-title { color: #cfe4ff; font-size: 13px; writing-mode: horizontal-tb; }
.cd-nums { display: flex; align-items: baseline; gap: 7px; }
.cd-nums b { font-size: 26px; font-variant-numeric: tabular-nums; color: var(--gold); min-width: 34px; text-align: center; }
.cd-nums i { font-style: normal; color: #b7cdec; font-size: 13px; margin-right: 6px; }

/* Hero 右：演示卡 */
.hero-right { display: grid; gap: 11px; }
.demo-head { background: rgba(0,211,180,.16) !important; border-color: rgba(0,211,180,.5) !important; font-weight: 700; color: #9ff5e4 !important; display: flex; align-items: center; gap: 10px; font-size: 15px; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: #00d3b4; box-shadow: 0 0 0 0 rgba(0,211,180,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(0,211,180,0); } 100% { box-shadow: 0 0 0 0 rgba(0,211,180,0); } }
.demo-card { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 2px 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(6px); border-radius: 13px; padding: 13px 17px; transition: transform .18s ease, background .2s ease; }
.demo-card:hover { transform: translateX(4px); background: rgba(255,255,255,.13); }
.dc-in b { display: block; font-size: 15px; }
.dc-in span { color: #a9c6ec; font-size: 12.5px; }
.dc-arrow { grid-column: 1; grid-row: 1 / 3; display: grid; place-items: center; color: var(--accent-2); font-size: 20px; align-self: center; }
.dc-out { grid-column: 2; grid-row: 2; color: #d6e6ff; font-size: 13.5px; align-self: center; }

/* 主办行 */
.org-strip { position: relative; border-top: 1px solid rgba(255,255,255,.14); background: rgba(3,12,32,.5); }
.org-flex { display: flex; flex-wrap: wrap; gap: 12px 38px; padding: 14px 22px; }
.org-item { color: #cfe4ff; font-size: 14px; }
.org-item b { color: #fff; background: rgba(255,255,255,.12); padding: 2px 9px; border-radius: 6px; font-weight: 600; font-size: 12.5px; margin-right: 8px; }

/* ---------- 数据条 ---------- */
.stat-band { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 26px 0 10px; }
.stat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.stat { text-align: center; padding: 6px 4px; }
.stat b { display: block; font-size: clamp(22px,3vw,30px); color: var(--brand); font-weight: 800; letter-spacing: .5px; }
.stat span { color: var(--ink-3); font-size: 13.5px; }
.stat-src { text-align: center; color: #9aa9bd; font-size: 12px; margin-top: 10px; padding-bottom: 4px; }

/* ---------- 通用章节 ---------- */
.section { padding: 66px 0; }
.section.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-title { text-align: center; font-size: clamp(24px,3.4vw,32px); font-weight: 800; letter-spacing: 1px; position: relative; padding-bottom: 14px; }
.sec-title::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 54px; height: 4px; border-radius: 3px; background: linear-gradient(90deg, var(--brand), var(--accent)); }
.sec-title.left { text-align: left; }
.sec-title.left::after { left: 0; transform: none; }
.sec-title.light { color: #fff; }
.sec-title.light::after { background: linear-gradient(90deg,#fff,#00d3b4); }
.sec-lead { text-align: center; color: var(--ink-2); max-width: 780px; margin: 12px auto 40px; font-size: 15.5px; }

/* 亮点卡 */
.card-grid.g6 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .25s ease; }
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.tile-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 25px; background: color-mix(in srgb, var(--c) 12%, #fff); border: 1px solid color-mix(in srgb, var(--c) 30%, #fff); margin-bottom: 15px; }
.tile h3 { font-size: 17px; margin-bottom: 8px; }
.tile p { color: var(--ink-2); font-size: 14px; }

/* 课程阶梯 */
.ladder { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 34px; }
.ladder-step { display: flex; align-items: center; gap: 9px; background: #eef3fc; border: 1px solid #d9e4f5; border-radius: 10px; padding: 9px 12px; }
.ls-n { background: var(--brand); color: #fff; border-radius: 7px; padding: 2px 9px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.ladder-step i { flex: 1; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); opacity: .5; border-radius: 2px; }
.ls-gain { font-size: 13px; color: var(--ink-2); white-space: nowrap; }

.course-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.course-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 24px 20px; display: flex; flex-direction: column; }
.course-card.hot { border: 2px solid var(--brand); position: relative; }
.course-card.hot::before { content: "本场核心 · 现场出题"; position: absolute; top: -13px; right: 18px; background: linear-gradient(120deg,#ff8f00,#ff5d1f); color: #fff; font-size: 12px; padding: 3px 12px; border-radius: 999px; font-weight: 600; }
.course-card header { display: flex; align-items: center; gap: 10px; }
.course-card .cc-time { background: #eef3fc; color: var(--brand); font-size: 12px; font-weight: 700; border-radius: 6px; padding: 2px 8px; }
.course-card h3 { font-size: 18px; }
.cc-name { font-size: 15px; font-weight: 700; color: var(--brand-deep); margin: 10px 0 12px; }
.course-card ul { display: grid; gap: 7px; margin-bottom: 14px; }
.course-card li { position: relative; padding-left: 18px; color: var(--ink-2); font-size: 14px; }
.course-card li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.cc-gain { margin-top: auto; background: #fff8e8; border: 1px dashed #f2cf8a; color: #8a5a00; border-radius: 9px; padding: 9px 12px; font-size: 13px; }

/* 时间轴 */
.timeline { max-width: 860px; margin: 0 auto; position: relative; }
.timeline::before { content: ""; position: absolute; left: 92px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(#d9e4f5, var(--accent)); }
.timeline li { position: relative; display: flex; gap: 22px; align-items: flex-start; margin-bottom: 14px; }
.timeline time { width: 76px; flex: none; text-align: right; font-weight: 700; color: var(--brand); font-variant-numeric: tabular-nums; padding-top: 8px; font-size: 14.5px; }
.timeline li::after { content: ""; position: absolute; left: 88px; top: 17px; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--accent); z-index: 1; }
.timeline div { background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 9px 16px; flex: 1; box-shadow: 0 4px 14px rgba(10,40,100,.06); }
.timeline b { font-size: 15px; display: block; }
.timeline span { color: var(--ink-2); font-size: 13.5px; }

/* 两栏 */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.check-list { margin-top: 18px; display: grid; gap: 12px; }
.check-list li { position: relative; padding: 10px 16px 10px 42px; background: #fff; border: 1px solid var(--line); border-radius: 10px; color: var(--ink-2); font-size: 14.5px; }
.check-list li::before { content: "✓"; position: absolute; left: 15px; top: 9px; width: 20px; height: 20px; border-radius: 50%; background: #e3f6ee; color: var(--ok); font-weight: 800; display: grid; place-items: center; font-size: 12px; }
.roadmap { margin-top: 18px; border-left: 2px dashed #c6d4ea; padding-left: 20px; display: grid; gap: 16px; }
.roadmap li { position: relative; }
.roadmap li::before { content: ""; position: absolute; left: -27px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--accent); }
.roadmap b { display: block; color: var(--brand); font-size: 14px; }
.roadmap span { color: var(--ink-2); font-size: 14px; }
.tiny-note { color: var(--ink-3); font-size: 13px; margin-top: 14px; }

/* ---------- 报名区 ---------- */
.reg-sec { background: linear-gradient(160deg,#0a1730,#0c2b5c 60%,#0a3a80); position: relative; color: #fff; overflow: hidden; }
.reg-sec::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(600px 300px at 90% 0%, rgba(0,163,255,.25), transparent 60%); }
.reg-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; }
.reg-info .light-sub { color: #c9d9f2; margin-top: 10px; margin-bottom: 24px; }
.reg-points { display: grid; gap: 11px; margin-bottom: 26px; }
.reg-points li { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); border-radius: 10px; padding: 10px 14px; font-size: 14px; color: #dbe7fa; }
.reg-state { background: rgba(4,16,40,.5); border: 1px solid rgba(255,255,255,.2); border-radius: 12px; padding: 16px 18px; display: grid; gap: 9px; }
.reg-state-row { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; }
.rs-label { color: #9fb6da; flex: none; }
.reg-state b { color: #fff; text-align: right; }
.tag-open { background: rgba(0,211,180,.2); color: #5df0d2; border: 1px solid rgba(0,211,180,.5); border-radius: 999px; padding: 1px 12px; font-size: 13px; display: inline-block; }

.reg-form { background: #fff; color: var(--ink); border-radius: 18px; padding: 30px 30px 26px; box-shadow: var(--shadow-lg); }
.reg-form h3 { font-size: 20px; margin-bottom: 20px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-group { margin-bottom: 16px; }
.f-group label,.f-group legend { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.f-group legend { padding: 0; }
.f-group label i { color: var(--danger); font-style: normal; }
.f-group input[type=text],.f-group input[type=tel],.f-group input[type=email],.f-group select { width: 100%; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 9px; font-size: 15px; font-family: inherit; color: var(--ink); background: #fbfcfe; transition: border .15s ease, box-shadow .15s ease; }
.f-group input:focus,.f-group select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(10,77,214,.13); background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-block; padding: 7px 13px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 13.5px; color: var(--ink-2); background: #fbfcfe; transition: all .15s ease; }
.chip input:checked + span { border-color: var(--brand); background: #e9f0ff; color: var(--brand); font-weight: 600; }
.radio-row { display: flex; gap: 18px; flex-wrap: wrap; }
.radio { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: 14px; color: var(--ink-2); }
.radio input { accent-color: var(--brand); width: 16px; height: 16px; }
.agree { display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; color: var(--ink-3); margin: 4px 0 16px; cursor: pointer; }
.agree input { margin-top: 3px; accent-color: var(--brand); flex: none; }
.form-tip { font-size: 12.5px; color: var(--ink-3); text-align: center; margin-top: 10px; }
.form-msg { padding: 13px 15px; border-radius: 10px; font-size: 14px; margin-bottom: 16px; display: none; }
.form-msg.ok { display: block; background: #e6f7f0; color: #0c7a4d; border: 1px solid #b8e6d2; }
.form-msg.err { display: block; background: #fdecea; color: #b3261e; border: 1px solid #f5c6c2; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 3px 12px rgba(10,40,100,.05); }
.faq-list summary { cursor: pointer; padding: 15px 20px; font-weight: 600; font-size: 15.5px; list-style: none; position: relative; padding-right: 46px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: #eef3fc; color: var(--brand); display: grid; place-items: center; font-weight: 700; transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list p { padding: 0 20px 16px; color: var(--ink-2); font-size: 14.5px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #071228; color: #b7cdec; padding: 46px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; padding-bottom: 30px; }
.site-footer h4 { color: #fff; font-size: 15.5px; margin-bottom: 12px; }
.site-footer p { font-size: 13.5px; line-height: 2; }
.site-footer a { color: #9fd4ff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #7e93b5; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero-grid,.reg-grid { grid-template-columns: 1fr; gap: 34px; }
  .card-grid.g6,.course-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 34px; }
  .ladder { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: repeat(3,1fr); gap: 16px 8px; }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .hero-grid { padding-top: 44px; }
  .card-grid.g6,.course-grid,.f-row,.stat-grid,.ladder { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2,1fr); }
  .section { padding: 48px 0; }
  .countdown { flex-direction: column; align-items: flex-start; gap: 8px; }
  .timeline::before { left: 68px; }
  .timeline time { width: 56px; font-size: 13px; }
  .timeline li::after { left: 64px; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1; }
  .reg-form { padding: 24px 18px; }
}
