/* ============================================================
   ATK 爱达金官网 · 自定义样式
   配色：深海军蓝 + 香槟金，简洁大气的高科技风格
   ============================================================ */

/* ---------- 导航 ---------- */
#site-nav { background: linear-gradient(to bottom, rgba(6,15,34,.85), rgba(6,15,34,.35)); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.06); }
#site-nav.scrolled { background: rgba(6,15,34,.92); box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.nav-link { position: relative; color: rgba(255,255,255,.78); font-size: 15px; letter-spacing: .05em; padding: 6px 0; transition: color .3s; }
.nav-link::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: linear-gradient(90deg, #C9A45C, #E3C98F); transition: width .3s; }
.nav-link:hover { color: #fff; }
.nav-link:hover::after { width: 100%; }
.mobile-link { display: block; padding: 12px 8px; color: rgba(255,255,255,.8); border-bottom: 1px solid rgba(255,255,255,.06); }
.mobile-link:hover { color: #E3C98F; }

/* ---------- 按钮 ---------- */
.btn-gold { display: inline-flex; align-items: center; gap: 8px; padding: 14px 40px; background: linear-gradient(135deg, #D7B676, #C9A45C); color: #060F22; font-weight: 700; letter-spacing: .15em; border-radius: 4px; box-shadow: 0 8px 24px rgba(201,164,92,.35); transition: all .3s; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(201,164,92,.5); }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 14px 40px; border: 1px solid rgba(255,255,255,.35); color: #fff; font-weight: 500; letter-spacing: .15em; border-radius: 4px; transition: all .3s; }
.btn-ghost:hover { border-color: #D7B676; color: #E3C98F; background: rgba(255,255,255,.05); }

/* ---------- Hero 轮播 ---------- */
/* inset 简写在旧内核（Chrome<87 等）不支持，用四边长属性兜底 */
.hero-slide { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.08); -webkit-filter: brightness(1.18) saturate(1.12); filter: brightness(1.18) saturate(1.12); transition: opacity 1.2s ease, transform 6s ease; }
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-overlay { background: none; }                /* 遮罩全透：照片原样直出 */
#hero h1 { text-shadow: 0 2px 18px rgba(2,30,100,.55), 0 0 40px rgba(2,30,100,.35); }
#hero .hero-dot::after { filter: drop-shadow(0 1px 4px rgba(0,20,60,.55)); }
#hero .animate-bounce { filter: drop-shadow(0 1px 4px rgba(0,20,60,.55)); }
.hero-eyebrow { text-shadow: 0 2px 20px rgba(0,0,0,.5); }
/* 首屏高度：100vh 兜底 + 100svh 渐进增强（规避微信/移动端地址栏收缩抖动） */
.hero-full { height: 100vh; height: 100svh; }
/* 轮播指示器：加高命中区域，便于触控点按 */
.hero-dot { position: relative; width: 32px; height: 28px; background: none; cursor: pointer; transition: width .4s; }
.hero-dot::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; margin-top: -1.5px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.6); transition: background .4s; }
.hero-dot.active { width: 48px; }
.hero-dot.active::after { background: #D7B676; }

/* ---------- 首页莱茵蓝背景（仅 index.html 引用；其它页面仍用 navy 系，勿混用）---------- */
.bg-rhine-hero { background: linear-gradient(135deg, #0F5FC0, #0A4396); }                                    /* Hero 兜底（照片未载入时） */
.bg-rhine { background: linear-gradient(120deg, #1E7FE0 0%, #0F5FC0 55%, #0A4396 100%); }                    /* 数据统计 */
.bg-rhine-deep { background: linear-gradient(135deg, #0F5FC0 0%, #0A4396 55%, #083273 100%); }               /* 品牌矩阵 / 卡片图底 */
.rhine-img-overlay { background: linear-gradient(180deg, rgba(15,95,192,.85) 0%, rgba(8,50,115,.88) 100%); } /* 备用压图（现 CTA 已不压） */
#cta h2, #cta p { text-shadow: 0 2px 18px rgba(2,30,100,.55), 0 0 40px rgba(2,30,100,.35); } /* CTA 全透照片上保可读 */
.bg-rhine .stat-label { color: rgba(255,255,255,.68); }

/* ---------- 背景音乐按钮（全站）---------- */
.bgm-btn { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(201,164,92,.45); background: rgba(6,15,34,.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #D7B676; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 18px rgba(6,15,34,.35); transition: transform .3s, border-color .3s; }
.bgm-btn:hover { transform: scale(1.08); border-color: rgba(201,164,92,.85); }
.bgm-btn svg { width: 20px; height: 20px; }
.bgm-btn.playing svg { animation: bgm-spin 5s linear infinite; }
@keyframes bgm-spin { to { transform: rotate(360deg); } }
@media (max-width: 768px) { .bgm-btn { right: 14px; bottom: 14px; width: 40px; height: 40px; } }

/* ---------- 背景装饰 ---------- */
.grid-bg { background-image: linear-gradient(rgba(201,164,92,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(201,164,92,.06) 1px, transparent 1px); background-size: 48px 48px; }

/* ---------- 通用 ---------- */
.section-bar { display: inline-block; width: 36px; height: 3px; background: linear-gradient(90deg, #C9A45C, #E3C98F); border-radius: 2px; }
.link-arrow::after { content: '→'; margin-left: 6px; transition: margin .3s; }
.link-arrow:hover::after { margin-left: 12px; }
.tag-chip { display: inline-flex; align-items: center; padding: 8px 18px; background: #F6F3EC; color: #B08D45; font-size: 13px; letter-spacing: .08em; border-radius: 999px; border: 1px solid #E9DFC8; }
.hover-scale { transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.hover-scale:hover { transform: scale(1.05); }

/* ---------- 数据统计 ---------- */
.stat-num { font-size: 3rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; line-height: 1.1; }
.stat-label { margin-top: 10px; font-size: 13px; color: rgba(255,255,255,.5); letter-spacing: .25em; }

/* ---------- 三大方向卡片 ---------- */
.pillar-card { display: block; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 24px rgba(10,26,51,.06); border: 1px solid #EEF1F6; transition: all .4s; }
.pillar-card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(10,26,51,.14); }
.pillar-media { height: 200px; overflow: hidden; }
.pillar-media img { width: 100%; height: 100%; object-fit: cover; }
.pillar-body { padding: 28px; }
.pillar-icon { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(135deg, #0A1A33, #173262); color: #E3C98F; font-weight: 800; font-size: 15px; letter-spacing: .05em; }
.pillar-brand { display: inline-block; margin-top: 18px; font-size: 12px; color: #B08D45; letter-spacing: .12em; border-top: 1px dashed #E4DBC6; padding-top: 14px; width: 100%; }

/* ---------- 品牌矩阵 ---------- */
.brand-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 120px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(201,164,92,.22); transition: all .4s; text-align: center; padding: 0 10px; }
.brand-tile:hover { background: rgba(201,164,92,.12); border-color: rgba(201,164,92,.55); transform: translateY(-4px); }
.brand-cn { color: #fff; font-weight: 700; letter-spacing: .06em; }
.brand-en { font-size: 10px; color: rgba(201,164,92,.8); letter-spacing: .28em; text-transform: uppercase; }

/* ---------- 产品海报 ---------- */
.poster-card { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 3/4.6; box-shadow: 0 4px 20px rgba(10,26,51,.08); }
.poster-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.poster-card:hover img { transform: scale(1.06); }
.poster-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 12px; background: linear-gradient(to top, rgba(6,15,34,.88), transparent); color: #E3C98F; font-size: 12px; letter-spacing: .12em; text-align: center; }

/* ---------- 海南风采瀑布流 ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
.g-item { position: relative; border-radius: 14px; overflow: hidden; margin: 0; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.g-item:hover img { transform: scale(1.08); }
.g-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; background: linear-gradient(to top, rgba(6,15,34,.85), transparent); color: rgba(255,255,255,.9); font-size: 12px; letter-spacing: .15em; opacity: 0; transition: opacity .4s; }
.g-item:hover figcaption { opacity: 1; }
.g-tall { grid-row: span 2; }
@media (max-width: 768px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 页面横幅 ---------- */
.page-hero { position: relative; }

/* ---------- 关于页 ---------- */
.prose-atk p { font-size: 16.5px; line-height: 2.1; color: #475569; text-align: justify; margin-bottom: 1.5rem; }
.info-card { background: #fff; border: 1px solid #EEF1F6; border-radius: 16px; padding: 8px 24px; box-shadow: 0 4px 24px rgba(10,26,51,.05); }
.info-row { display: flex; padding: 14px 0; border-bottom: 1px dashed #EDF0F5; font-size: 14px; }
.info-row:last-child { border-bottom: 0; }
.info-row dt { width: 88px; shrink: 0; color: #94A3B8; letter-spacing: .1em; }
.info-row dd { flex: 1; color: #1F4185; font-weight: 500; }
.philo-card { background: rgba(255,255,255,.04); border: 1px solid rgba(201,164,92,.2); border-radius: 16px; padding: 36px 30px; transition: all .4s; }
.philo-card:hover { border-color: rgba(201,164,92,.5); background: rgba(201,164,92,.07); transform: translateY(-4px); }
.philo-num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(201,164,92,.5); color: #E3C98F; font-weight: 700; }

/* ---------- 时间线 ---------- */
.timeline { position: relative; padding-left: 8px; }
.timeline::before { content: ''; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, #E3C98F, rgba(201,164,92,.15)); }
.t-item { position: relative; padding-left: 76px; padding-bottom: 44px; }
.t-item:last-child { padding-bottom: 0; }
.t-dot { position: absolute; left: 20px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid #C9A45C; box-shadow: 0 0 0 5px rgba(201,164,92,.15); }
.t-card { background: #fff; border: 1px solid #EEF1F6; border-radius: 14px; padding: 24px 28px; box-shadow: 0 4px 20px rgba(10,26,51,.05); transition: all .3s; }
.t-card:hover { box-shadow: 0 14px 34px rgba(10,26,51,.1); transform: translateX(4px); }
.t-time { font-size: 13px; color: #B08D45; font-weight: 700; letter-spacing: .15em; }

/* ---------- 业务页 ---------- */
.anchor-link { position: relative; padding: 16px 4px; color: #475569; letter-spacing: .1em; white-space: nowrap; transition: color .3s; }
.anchor-link::after { content: ''; position: absolute; left: 0; bottom: 10px; width: 0; height: 2px; background: #C9A45C; transition: width .3s; }
.anchor-link:hover { color: #0A1A33; }
.anchor-link:hover::after { width: 100%; }
.feature-li span { display: block; font-weight: 700; color: #0A1A33; margin-bottom: 4px; }
.feature-li { padding-left: 20px; border-left: 3px solid #E3C98F; }
.feature-li p { font-size: 14px; color: #64748B; line-height: 1.8; }
.feature-li-dark span { color: #fff; }
.feature-li-dark p { color: rgba(255,255,255,.55); }
.feature-li-dark { border-left-color: rgba(201,164,92,.6); }

/* ---------- 战略规划图 ---------- */
.strategy-map { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.sm-core { background: linear-gradient(135deg, #E3C98F, #C9A45C); border-radius: 100px; padding: 26px 56px; text-align: center; box-shadow: 0 16px 40px rgba(201,164,92,.4); }
.sm-branches { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; width: 100%; position: relative; }
.sm-branches::before { content: ''; position: absolute; top: -22px; left: 16.6%; right: 16.6%; height: 2px; background: linear-gradient(90deg, rgba(201,164,92,.15), #C9A45C, rgba(201,164,92,.15)); }
.sm-branches::after { content: ''; position: absolute; top: -22px; left: 50%; width: 2px; height: 22px; background: #C9A45C; transform: translateX(-50%); }
.sm-branch { background: #0A1A33; border: 1px solid rgba(201,164,92,.3); border-radius: 14px; padding: 24px 20px; text-align: center; position: relative; transition: all .4s; }
.sm-branch::before { content: ''; position: absolute; top: -20px; left: 50%; width: 2px; height: 20px; background: rgba(201,164,92,.4); }
.sm-branch:hover { transform: translateY(-6px); border-color: rgba(201,164,92,.6); }
.sm-branch-name { color: #fff; font-weight: 700; letter-spacing: .1em; }
.sm-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 14px; }
.sm-tags span { font-size: 12px; color: #E3C98F; background: rgba(201,164,92,.12); border: 1px solid rgba(201,164,92,.28); padding: 5px 12px; border-radius: 999px; letter-spacing: .05em; }
@media (max-width: 768px) { .sm-branches { grid-template-columns: 1fr; } .sm-branches::before, .sm-branches::after { display: none; } }

/* ---------- 商标页 ---------- */
.tm-card { background: #fff; border: 1px solid #EEF1F6; border-radius: 14px; padding: 30px 24px; text-align: center; transition: all .4s; }
.tm-card:hover { border-color: rgba(201,164,92,.55); box-shadow: 0 16px 36px rgba(10,26,51,.1); transform: translateY(-5px); }
.tm-name { font-size: 19px; font-weight: 800; color: #0A1A33; letter-spacing: .04em; }
.tm-desc { margin-top: 10px; font-size: 12.5px; color: #94A3B8; letter-spacing: .1em; }
.figure-dark { border-radius: 16px; overflow: hidden; ring: 1px; box-shadow: 0 20px 40px rgba(0,0,0,.35); }
.figure-dark img { width: 100%; aspect-ratio: 4/5; object-fit: contain; object-position: center; background: rgba(2,8,20,.5); transition: transform .8s; }
.figure-dark:hover img { transform: scale(1.05); }
.figure-dark figcaption { padding: 18px 20px; background: rgba(255,255,255,.05); border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; }

/* ---------- 招聘页 ---------- */
.job-card { background: #fff; border: 1px solid #EEF1F6; border-radius: 18px; padding: 32px 36px; box-shadow: 0 4px 24px rgba(10,26,51,.04); transition: all .4s; }
.job-card:hover { box-shadow: 0 20px 44px rgba(10,26,51,.1); }
.job-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid #F1F4F8; }
.job-no { shrink: 0; font-size: 12px; color: #B08D45; letter-spacing: .3em; border: 1px solid #E9DFC8; border-radius: 999px; padding: 6px 14px; background: #FBF8F1; }
.job-tag { display: inline-block; font-size: 12px; color: #1F4185; background: #EDF2FB; border-radius: 999px; padding: 4px 12px; letter-spacing: .05em; }
.job-list { margin-top: 20px; display: grid; gap: 12px; }
.job-list li { font-size: 14px; line-height: 1.9; color: #475569; padding-left: 16px; position: relative; }
.job-list li::before { content: ''; position: absolute; left: 0; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: #C9A45C; }
.job-list b { color: #0A1A33; margin-right: 6px; }
.job-output { margin-top: 20px; font-size: 13px; color: #B08D45; background: #FBF8F1; border: 1px dashed #E9DFC8; border-radius: 10px; padding: 12px 18px; letter-spacing: .04em; }

/* ---------- 联系页 ---------- */
.contact-item { display: flex; gap: 18px; align-items: flex-start; }
.contact-ico { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: #0A1A33; color: #E3C98F; shrink: 0; }
.form-card { background: #fff; border: 1px solid #EEF1F6; border-radius: 20px; padding: 40px; box-shadow: 0 20px 50px rgba(10,26,51,.08); }
.form-label { display: block; font-size: 13px; color: #475569; letter-spacing: .1em; margin-bottom: 8px; }
.form-input { width: 100%; border: 1px solid #E2E8F0; border-radius: 10px; padding: 13px 16px; font-size: 15px; color: #1e293b; transition: all .3s; background: #FAFBFC; }
.form-input:focus { outline: none; border-color: #C9A45C; background: #fff; box-shadow: 0 0 0 4px rgba(201,164,92,.15); }
.form-msg { margin-top: 12px; font-size: 14px; padding: 12px 16px; border-radius: 10px; }
.form-msg.ok { color: #15803d; background: #F0FDF4; border: 1px solid #BBF7D0; }
.form-msg.err { color: #b91c1c; background: #FEF2F2; border: 1px solid #FECACA; }

/* ---------- 动效 ----------
   .js 前缀由 head 内联脚本添加：JS 可用才隐藏待显现；
   脚本被禁用/中途出错的旧浏览器不加前缀 → 内容直接可见（数字等永不丢失）。 */
.hidden { display: none; }   /* Tailwind CDN 加载失败时的兜底（与 Tailwind 同名同值，不冲突） */
.js .reveal-fade, .js .reveal-up { opacity: 0; transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.js .reveal-fade { transform: translateY(24px); }
.js .reveal-up { transform: translateY(36px); }
.js .reveal-fade.visible, .js .reveal-up.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal-fade, .js .reveal-up { opacity: 1; transform: none; transition: none; }
  .hero-slide { transition: opacity .3s; }
}

/* ============================================================
   移动端 & 微信内置浏览器适配
   ============================================================ */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { -webkit-tap-highlight-color: transparent; overflow-x: hidden; overflow-x: clip; } /* hidden 为旧内核兜底，支持 clip 的现代浏览器取 clip */
img { max-width: 100%; }

@media (max-width: 767px) {
  /* 数据统计：缩小字号与字距，2×2 布局下不溢出 */
  .stat-num { font-size: 2.35rem; }
  .stat-label { letter-spacing: .12em; font-size: 12px; }

  /* 长英文眉题在小屏自动换行、收敛字距 */
  .hero-eyebrow { word-break: break-word; }

  /* 公司简介：小屏取消两端对齐，避免大段空隙 */
  .prose-atk p { text-align: left; font-size: 15.5px; }

  /* 信息卡与时间线收窄留白 */
  .info-row dt { width: 74px; }
  .t-item { padding-left: 58px; padding-bottom: 32px; }
  .timeline::before { left: 21px; }
  .t-dot { left: 14px; }
  .t-card { padding: 18px 20px; }

  /* 岗位卡片：标题行允许换行，编号徽标不被挤压 */
  .job-head { flex-wrap: wrap; }
  .job-card { padding: 24px 20px; }

  /* 商标矩阵卡片紧凑化 */
  .tm-card { padding: 22px 16px; }
  .tm-name { font-size: 17px; }

  /* 品牌视觉图片高度收敛 */
  .figure-dark img { background: rgba(2,8,20,.35); }

  /* 表单与联系卡内边距收敛 */
  .form-card { padding: 26px 20px; }
  .contact-item { gap: 14px; }
  .contact-ico { width: 40px; height: 40px; }

  /* 战略规划核心节点 */
  .sm-core { padding: 20px 34px; }
}
