/* ============================================================
   广东极客营销科技有限公司 · 极客智能官网
   风格：简约大气 · 科技质感
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #fff8f3;
  --bg-deep: #1a1208;
  --ink: #1f140a;
  --ink-soft: #6b5645;
  --ink-faint: #a08e7d;
  --brand: #ff6600;
  --brand-2: #ff8c00;
  --accent: #ff9500;
  --accent-2: #ff6600;
  --line: #f0e6de;
  --line-soft: #fbf4ef;
  --shadow-sm: 0 2px 10px rgba(31, 20, 10, .05);
  --shadow-md: 0 14px 40px rgba(31, 20, 10, .08);
  --shadow-lg: 0 26px 70px rgba(60, 30, 8, .14);
  --radius: 16px;
  --radius-lg: 24px;
  --maxw: 1180px;
  --nav-h: 72px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
}

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

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

/* ----------------------- 导航 ----------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.nav.scrolled {
  background: rgba(255, 255, 255, .9);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 19px; letter-spacing: .3px; }
.brand .logo-img {
  width: 38px; height: 38px; border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(255, 102, 0, .28);
}
.brand .logo {
  width: 38px; height: 38px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid; place-items: center; color: #fff; font-size: 17px;
  box-shadow: 0 6px 16px rgba(255, 102, 0, .28);
}
.brand .logo span { background: linear-gradient(135deg, #fff, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.brand small { display: block; font-size: 11px; font-weight: 500; color: var(--ink-faint); letter-spacing: 2px; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 15px; color: var(--ink-soft); font-weight: 500; position: relative; transition: color .2s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  cursor: pointer; border: 1px solid transparent; transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; box-shadow: 0 10px 26px rgba(255, 102, 0, .32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(255, 102, 0, .42); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand-2); color: var(--brand-2); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-light:hover { background: rgba(255,255,255,.2); }
.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #042b27; box-shadow: 0 12px 30px rgba(255, 149, 0, .35);
}
.btn-accent:hover { transform: translateY(-2px); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------- Hero ----------------------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 80% -10%, #7c3a0a 0%, #1a1208 55%, #0f0904 100%);
  color: #fff; padding: calc(var(--nav-h) + 96px) 0 110px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(110% 80% at 70% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(110% 80% at 70% 0%, #000 30%, transparent 75%);
}
.hero .glow {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; pointer-events: none;
}
.hero .glow.a { width: 460px; height: 460px; background: #ff9500; top: -120px; right: -60px; }
.hero .glow.b { width: 420px; height: 420px; background: #ff6600; bottom: -160px; left: -80px; opacity: .4; }
.hero .container { position: relative; z-index: 2; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 9px; font-size: 13px; letter-spacing: 2px;
  color: var(--accent); text-transform: uppercase; font-weight: 600; margin-bottom: 22px;
  border: 1px solid rgba(255,149,0,.3); padding: 7px 16px; border-radius: 999px; background: rgba(255,149,0,.07);
}
.hero h1 {
  font-size: clamp(34px, 5.4vw, 62px); line-height: 1.16; font-weight: 800; letter-spacing: -.5px;
  margin-bottom: 24px; max-width: 920px;
}
.hero h1 .grad { background: linear-gradient(120deg, #fff 10%, var(--accent) 60%, var(--accent-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(16px, 1.6vw, 19px); color: #e8d5c5; max-width: 680px; margin-bottom: 38px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 56px; }
.hero .badges { display: flex; flex-wrap: wrap; gap: 14px 30px; color: #c7b09d; font-size: 14px; }
.hero .badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero .badges b { color: #fff; font-weight: 700; }

/* ----------------------- 区块通用 ----------------------- */
section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.sec-head { max-width: 760px; margin-bottom: 52px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 3px; font-weight: 700;
  color: var(--brand-2); text-transform: uppercase; margin-bottom: 14px;
}
.sec-head h2 { font-size: clamp(27px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.4px; line-height: 1.25; }
.sec-head p { color: var(--ink-soft); font-size: 17px; margin-top: 16px; }

/* ----------------------- 数据条 ----------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s;
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat .num { font-size: 38px; font-weight: 800; line-height: 1; letter-spacing: -1px;
  background: linear-gradient(135deg, var(--brand), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .num small { font-size: 18px; margin-left: 2px; }
.stat .label { color: var(--ink-soft); font-size: 14.5px; margin-top: 12px; }

/* ----------------------- 业务/产品网格 ----------------------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s, border-color .3s; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #f5d9c4; }
.card .ico {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  font-size: 24px; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(255,149,0,.16), rgba(255,102,0,.16));
  border: 1px solid rgba(255,102,0,.18);
}
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 15px; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--brand-2); font-weight: 600; font-size: 14.5px; }
.card .more .arrow { transition: transform .2s; }
.card:hover .more .arrow { transform: translateX(4px); }

/* 产品卡片（带图） */
.prod {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.prod:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.prod .pic { aspect-ratio: 16/10; background: #fff; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.prod .pic img { width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 14px; box-sizing: border-box; opacity: .96; transition: transform .5s; }
.prod:hover .pic img { transform: scale(1.04); }
.prod .pic .tag {
  position: absolute; top: 14px; left: 14px; z-index: 2; font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 999px; background: rgba(8,21,39,.6); color: #fff;
  backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.18);
}
.prod .body { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.prod.no-pic .body { padding-top: 26px; }
.prod .body h3 { font-size: 19px; font-weight: 700; margin-bottom: 9px; }
.prod .body p { color: var(--ink-soft); font-size: 14.5px; flex: 1; }
.prod .body .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.prod .body .tags span { font-size: 12.5px; color: var(--brand-2); background: rgba(20,58,107,.07); padding: 4px 11px; border-radius: 999px; }

/* 分块标题（产品分类） */
.block-title { display: flex; align-items: baseline; gap: 14px; margin: 8px 0 26px; }
.block-title .idx { font-size: 15px; font-weight: 800; color: var(--accent); letter-spacing: 1px; }
.block-title h3 { font-size: 24px; font-weight: 800; }
.block-title .line { flex: 1; height: 1px; background: var(--line); align-self: center; }

/* 优势列表 */
.feat { display: flex; gap: 18px; align-items: flex-start; }
.feat .dot { flex: none; width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #2b1505; display: grid; place-items: center; font-weight: 800; font-size: 16px; }
.feat h4 { font-size: 17px; font-weight: 700; margin-bottom: 5px; }
.feat p { color: var(--ink-soft); font-size: 14.5px; }

/* 价值主张三栏 */
.value .card { text-align: center; }
.value .card .ico { margin: 0 auto 18px; }

/* 双栏图文 */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split .media {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, rgba(255,102,0,.06), rgba(255,140,0,.10)); aspect-ratio: 4/3; position: relative;
}
.split .media img { width: 100%; height: 100%; object-fit: contain; object-position: center; padding: 12px; box-sizing: border-box; }
.split h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.4px; margin-bottom: 18px; }
.split p { color: var(--ink-soft); font-size: 16.5px; margin-bottom: 16px; }
.split ul.check { margin-top: 18px; display: grid; gap: 12px; }
.split ul.check li { display: flex; gap: 11px; align-items: flex-start; font-size: 15.5px; color: var(--ink); }
.split ul.check li .tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,149,0,.16); color: #c44d00; display: grid; place-items: center; font-size: 13px; margin-top: 3px; }

/* CTA band */
.cta-band {
  background: radial-gradient(120% 140% at 20% 0%, #8b3d0a, #1a1208);
  color: #fff; border-radius: var(--radius-lg); padding: 64px 56px; text-align: center; position: relative; overflow: hidden;
}
.cta-band::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: var(--accent); filter: blur(120px); opacity: .25; right: -80px; bottom: -140px; }
.cta-band h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; margin-bottom: 16px; position: relative; z-index: 2; }
.cta-band p { color: #ead4c2; max-width: 620px; margin: 0 auto 30px; position: relative; z-index: 2; }
.cta-band .actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 2; }

/* 页脚 */
footer { background: #140c06; color: #bda898; padding: 64px 0 30px; }
footer .top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
footer .brand { color: #fff; margin-bottom: 16px; }
footer .brand small { color: #8f7d6e; }
footer .about p { font-size: 14.5px; line-height: 1.8; max-width: 320px; }
footer h5 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 18px; }
footer ul li { margin-bottom: 11px; font-size: 14.5px; }
footer ul li a:hover { color: var(--accent); }
footer .contact li { display: flex; gap: 10px; align-items: flex-start; }
footer .contact .k { color: #8f7d6e; flex: none; }
.footer-qr { width: 110px; height: auto; display: block; border-radius: 10px; background: #fff; padding: 5px; box-shadow: var(--shadow-sm); object-fit: contain; }
footer .bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 13.5px; color: #8f7d6e; }

/* 面包屑 / 子页 hero */
.page-hero { background: radial-gradient(120% 130% at 85% -20%, #7c3a0a, #1a1208 60%); color: #fff; padding: calc(var(--nav-h) + 70px) 0 72px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 54px 54px; mask-image: radial-gradient(100% 90% at 75% 0%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(100% 90% at 75% 0%, #000 30%, transparent 75%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero .eyebrow { color: var(--accent); }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -.5px; margin: 14px 0 14px; }
.page-hero p { color: #e8d5c5; max-width: 640px; font-size: 17px; }

/* 联系页 */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.info-list { display: grid; gap: 20px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.info-item .ico { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: linear-gradient(135deg, rgba(255,149,0,.16), rgba(255,102,0,.16)); border: 1px solid rgba(255,102,0,.18); }
.info-item .k { font-size: 13px; color: var(--ink-faint); letter-spacing: 1px; }
.info-item .v { font-size: 16.5px; font-weight: 600; color: var(--ink); }
.info-item .v a:hover { color: var(--brand-2); }

.wechat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; box-shadow: var(--shadow-sm); margin-top: 16px; }
.wechat-card img { width: 160px; height: 160px; object-fit: contain; border-radius: 10px; }
.wechat-card p { font-size: 14px; color: var(--ink-soft); margin-top: 12px; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 34px; box-shadow: var(--shadow-md); }
.form-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.form-card .sub { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.field label .req { color: #e0573e; margin-left: 3px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 15px; border: 1px solid var(--line); border-radius: 11px;
  font-family: inherit; font-size: 15px; color: var(--ink); background: #fffdfb; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(255,102,0,.14); background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }
.field .err { color: #e0573e; font-size: 13px; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #e0573e; }
.field.invalid .err { display: block; }
.form-note { font-size: 13px; color: var(--ink-faint); margin-top: 4px; }

.map-box { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: linear-gradient(135deg, #ff6600, #ff8c00); aspect-ratio: 16/7; position: relative; display: grid; place-items: center; color: #fff4eb; margin-top: 24px; }
.map-box .pin { text-align: center; }
.map-box .pin .mk { font-size: 40px; }
.map-box .pin p { margin-top: 8px; font-size: 15px; }

/* 揭示动画 */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* 响应式 */
@media (max-width: 980px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse { direction: ltr; }
  footer .top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  section { padding: 68px 0; }
  .nav-links, .nav-cta .btn { display: none; }
  .menu-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: #fff; padding: 22px 24px; gap: 20px; box-shadow: var(--shadow-md); border-bottom: 1px solid var(--line);
  }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .field.row { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 26px; }
  .field.row { gap: 0; }
  footer .top { grid-template-columns: 1fr; gap: 30px; }
  .hero { padding: calc(var(--nav-h) + 60px) 0 80px; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
}
