/* ============================================
   自托管字体（原 Google Fonts 本地化，国内直接加载）
   仅保留实际使用的 Barlow Condensed latin 子集
   ============================================ */
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/barlow-condensed-500.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/barlow-condensed-700.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/barlow-condensed-800.woff2") format("woff2");
}

/* ============================================
   荣盈互动 ROYIN 官网共享样式
   各页面统一引用，避免样式漂移
   ============================================ */

/* ---------- 品牌工具类 ---------- */
.text-gradient {
    background: linear-gradient(90deg, #7a1ca8, #d92179, #ff7a29);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.bg-brand-gradient {
    background: linear-gradient(90deg, #7a1ca8, #d92179, #ff7a29);
}
.glow-effect {
    box-shadow: 0 0 60px rgba(217, 33, 121, 0.3);
}

/* ---------- 数字张力字体 ---------- */
.power-number {
    font-family: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
    font-weight: 800;
    font-stretch: condensed;
    letter-spacing: 0.075em;
    line-height: 0.85;
    background: linear-gradient(100deg, #7a1ca8 0%, #d92179 48%, #ff7a29 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 8px 30px rgba(217, 33, 121, 0.08);
}
.mini-number {
    font-family: "Barlow Condensed", Impact, sans-serif;
    font-weight: 800;
    letter-spacing: 0.055em;
}

/* ---------- 首页巨幅 Banner ---------- */
.ai-banner {
    position: relative;
    height: clamp(460px, 55vw, 700px);
    min-height: 460px;
    overflow: hidden;
    background: #100d13;
}
.ai-banner .banner-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 73% 45%, rgba(217, 33, 121, 0.34), transparent 25%),
        radial-gradient(circle at 90% 65%, rgba(255, 122, 41, 0.22), transparent 27%),
        radial-gradient(circle at 43% 55%, rgba(122, 28, 168, 0.22), transparent 35%),
        linear-gradient(115deg, #100d13 0%, #17111b 42%, #0e0b11 100%);
}
.ai-banner:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 8, 12, 0.78), rgba(10, 8, 12, 0.08) 52%, rgba(10, 8, 12, 0.25));
    pointer-events: none;
}
.banner-grid {
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: linear-gradient(90deg, black, transparent 78%);
}
.banner-copy {
    position: relative;
    z-index: 5;
    height: 100%;
    display: flex;
    align-items: center;
}
.banner-copy-inner {
    max-width: 1240px;
    width: 100%;
    margin: auto;
    padding: 0 24px;
}
.banner-kicker {
    color: #ff7a29;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.28em;
    margin-bottom: 24px;
}
.banner-title {
    color: white;
    font-family: "Microsoft YaHei", "PingFang SC", "HarmonyOS Sans SC", sans-serif;
    font-size: clamp(40px, 6vw, 80px);
    line-height: 1.12;
    letter-spacing: -0.012em;
    font-weight: 700;
    margin: 0;
}
.banner-title em {
    font-style: normal;
    background: linear-gradient(90deg, #b40072, #ff263d, #ff7135);
    -webkit-background-clip: text;
    color: transparent;
}
.banner-desc {
    color: rgba(255, 255, 255, 0.62);
    max-width: 470px;
    margin-top: 26px;
    font-size: 15px;
    line-height: 1.9;
}
.banner-brand {
    margin-top: 34px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
    letter-spacing: 0.22em;
}
.banner-brand img {
    width: 128px;
}
.banner-scroll {
    position: absolute;
    z-index: 6;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.42);
    font-size: 9px;
    letter-spacing: 0.25em;
}
.banner-scroll:after {
    content: "";
    display: block;
    width: 1px;
    height: 42px;
    background: linear-gradient(#fff, transparent);
    margin: 8px auto 0;
}
.real-logo {
    object-fit: contain;
    display: block;
}

/* Banner 右侧 AI 认知网络视觉 */
.ai-visual {
    position: absolute;
    z-index: 3;
    right: -2%;
    top: 50%;
    transform: translateY(-50%);
    width: min(62vw, 850px);
    aspect-ratio: 1/1;
}
.ai-halo {
    position: absolute;
    left: 51%;
    top: 51%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
}
.halo-a {
    width: 72%;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(217, 33, 121, 0.14), rgba(122, 28, 168, 0.08) 38%, transparent 70%);
    filter: blur(14px);
}
.halo-b {
    width: 48%;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(255, 122, 41, 0.16), transparent 65%);
    filter: blur(10px);
}
.ai-data-orbit {
    position: absolute;
    left: 50%;
    top: 51%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
    pointer-events: none;
}
.orbit-a { width: 82%; height: 43%; transform: translate(-50%, -50%) rotate(-19deg); }
.orbit-b { width: 66%; height: 67%; transform: translate(-50%, -50%) rotate(34deg); border-color: rgba(217, 33, 121, 0.24); }
.orbit-c { width: 49%; height: 83%; transform: translate(-50%, -50%) rotate(-51deg); border-color: rgba(255, 122, 41, 0.18); }
.neural-web {
    position: absolute;
    inset: 4% 0 0 4%;
    width: 92%;
    height: 92%;
    overflow: visible;
    filter: drop-shadow(0 0 18px rgba(217, 33, 121, 0.16));
}
.neural-web path {
    stroke-linecap: round;
    stroke-linejoin: round;
}
.ai-data-orbit { box-shadow: 0 0 18px rgba(217, 33, 121, 0.05); }
.ai-cognition-core {
    position: absolute;
    left: 51%;
    top: 51%;
    transform: translate(-50%, -50%) rotate(-8deg);
    width: 24%;
    aspect-ratio: 1;
    border-radius: 34%;
    background: radial-gradient(circle at 45% 38%, rgba(100, 40, 100, 0.62), rgba(16, 11, 20, 0.96) 68%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 90px rgba(217, 33, 121, 0.24), 0 0 150px rgba(255, 122, 41, 0.07), inset 0 0 55px rgba(255, 122, 41, 0.09);
    display: grid;
    place-items: center;
    color: #fff;
    overflow: hidden;
}
.ai-cognition-core:before {
    content: "";
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 122, 41, 0.22), rgba(217, 33, 121, 0.1) 34%, transparent 70%);
    filter: blur(7px);
}
.ai-cognition-core span {
    font-family: "Barlow Condensed", Impact, sans-serif;
    font-size: clamp(70px, 9vw, 132px);
    line-height: 0.8;
    font-weight: 800;
    letter-spacing: -0.06em;
    background: linear-gradient(135deg, #ffb07d, #ff263d 48%, #b40072);
    -webkit-background-clip: text;
    color: transparent;
    position: relative;
    z-index: 2;
}
.ai-cognition-core small {
    position: absolute;
    bottom: 12%;
    font-size: 7px;
    line-height: 1.35;
    letter-spacing: 0.2em;
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
    z-index: 2;
}
.core-scan {
    position: absolute;
    width: 150%;
    height: 1px;
    top: 48%;
    left: -25%;
    background: linear-gradient(90deg, transparent, #ff7a29, transparent);
    box-shadow: 0 0 16px #ff7a29;
    animation: scan 3.8s ease-in-out infinite;
    opacity: 0.65;
}
.ai-chip {
    position: absolute;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    background: rgba(18, 12, 22, 0.42);
    backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.62);
    font-size: 8px;
    letter-spacing: 0.2em;
    border-radius: 999px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
}
.chip-a { left: 19%; top: 30%; }
.chip-b { right: 11%; top: 25%; color: #ff9a77; }
.chip-c { right: 12%; bottom: 25%; color: #e889c0; }
.chip-d { left: 18%; bottom: 25%; color: #c7a3df; }
.ai-spark {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 20px 5px rgba(255, 122, 41, 0.65);
    animation: pulse 2.5s ease-in-out infinite;
    filter: blur(0.15px);
}
.s1 { left: 30%; top: 20%; }
.s2 { right: 23%; top: 40%; background: #d92179; }
.s3 { right: 28%; bottom: 17%; background: #ff7a29; }
.s4 { left: 27%; bottom: 34%; background: #7a1ca8; }

@keyframes pulse {
    0%, 100% { transform: scale(0.7); opacity: 0.45; }
    50% { transform: scale(1.5); opacity: 1; }
}
@keyframes scan {
    0%, 100% { transform: translateY(-95px); opacity: 0; }
    25%, 75% { opacity: 0.8; }
    50% { transform: translateY(95px); }
}

@media (max-width: 768px) {
    .ai-visual { right: -36%; width: 105vw; opacity: 0.62; }
    .ai-cognition-core { width: 27%; }
    .ai-chip { display: none; }
    .banner-copy-inner { padding: 0 24px; }
    .banner-copy { align-items: flex-start; padding-top: 105px; }
    .banner-desc { max-width: 330px; }
    .banner-brand img { width: 105px; }
    .banner-grid { background-size: 46px 46px; }
}

/* ---------- Hero 右侧认知卡 ---------- */
.hero-ai-card {
    position: relative;
    max-width: 520px;
    margin: auto;
    aspect-ratio: 1.08/1;
    border-radius: 32px;
    overflow: hidden;
    background:
        radial-gradient(circle at 54% 50%, rgba(217, 33, 121, 0.16), transparent 28%),
        radial-gradient(circle at 68% 48%, rgba(255, 122, 41, 0.1), transparent 34%),
        linear-gradient(145deg, #17121a, #09080d);
    box-shadow: 0 30px 70px rgba(25, 15, 30, 0.2);
}
.hero-ai-card:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.05) 48%, transparent 70%);
    transform: translateX(-100%);
    animation: heroSweep 7s ease-in-out infinite;
}
.hero-neural {
    position: absolute;
    width: 92%;
    height: 92%;
    left: 4%;
    top: 4%;
    filter: drop-shadow(0 0 16px rgba(217, 33, 121, 0.12));
}
.hero-neural path { stroke-linecap: round; stroke-linejoin: round; }
.hero-orbit {
    position: absolute;
    left: 50%;
    top: 50%;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.hero-orbit.a { width: 86%; height: 38%; transform: translate(-50%, -50%) rotate(-22deg); }
.hero-orbit.b { width: 62%; height: 72%; transform: translate(-50%, -50%) rotate(30deg); border-color: rgba(217, 33, 121, 0.22); }
.hero-core {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 38%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 31%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 45% 38%, rgba(82, 33, 82, 0.55), rgba(15, 12, 18, 0.92) 70%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 0 70px rgba(217, 33, 121, 0.2), 0 0 120px rgba(255, 122, 41, 0.06);
}
.hero-core img {
    width: 70%;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 14px 22px rgba(255, 76, 50, 0.24));
}
.hero-core:after {
    content: "AI / CONNECT / CREATE";
    position: absolute;
    bottom: 10%;
    font-size: 6px;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.42);
}
.hero-label {
    position: absolute;
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(10, 8, 13, 0.55);
    color: rgba(255, 255, 255, 0.55);
    font-size: 7px;
    letter-spacing: 0.18em;
    backdrop-filter: blur(8px);
}
.hero-label.l1 { left: 8%; top: 25%; }
.hero-label.l2 { right: 8%; top: 33%; }
.hero-label.l3 { right: 11%; bottom: 22%; }
.hero-label.l4 { left: 12%; bottom: 19%; }
.hero-point {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff7a29;
    box-shadow: 0 0 20px rgba(255, 122, 41, 0.8);
    filter: blur(0.15px);
}
.hero-point.p1 { left: 24%; top: 34%; }
.hero-point.p2 { right: 21%; top: 24%; background: #d92179; }
.hero-point.p3 { right: 17%; bottom: 31%; }
.hero-point.p4 { left: 23%; bottom: 25%; background: #7a1ca8; }
@keyframes heroSweep {
    0%, 45% { transform: translateX(-110%); }
    70%, 100% { transform: translateX(110%); }
}
@media (max-width: 768px) {
    .hero-ai-card { aspect-ratio: 1/1; }
    .hero-neural { width: 100%; height: 100%; }
}

/* ---------- 页头 Logo 尺寸 ---------- */
footer .footer-logo-white-text {
    width: 164px !important;
    max-width: 164px !important;
    height: auto !important;
    object-fit: contain !important;
}

/* ============================================
   子页面箱庭式 Page Hero
   深色底座 + 轨道环 + 浮动节点 + 页面专属 SVG
   ============================================ */
.page-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 40%, rgba(217, 33, 121, 0.2), transparent 30%),
        radial-gradient(circle at 90% 70%, rgba(255, 122, 41, 0.12), transparent 30%),
        radial-gradient(circle at 30% 80%, rgba(122, 28, 168, 0.16), transparent 40%),
        linear-gradient(115deg, #100d13 0%, #17111b 45%, #0e0b11 100%);
    color: #fff;
    padding: 150px 0 90px;
}
.page-hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 65% 45%, black 30%, transparent 80%);
}
.page-hero-inner {
    position: relative;
    z-index: 5;
    max-width: 1240px;
    margin: auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}
@media (min-width: 900px) {
    .page-hero-inner { grid-template-columns: 1.05fr 0.95fr; }
}
.page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ff7a29;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    margin-bottom: 20px;
}
.page-kicker:before {
    content: "";
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ff7a29);
}
.page-title {
    font-family: "Microsoft YaHei", "PingFang SC", "HarmonyOS Sans SC", sans-serif;
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.18;
    letter-spacing: -0.012em;
    font-weight: 700;
    margin: 0;
}
.page-title em {
    font-style: normal;
    background: linear-gradient(90deg, #b40072, #ff263d, #ff7135);
    -webkit-background-clip: text;
    color: transparent;
}
.page-desc {
    color: rgba(255, 255, 255, 0.62);
    max-width: 480px;
    margin-top: 22px;
    font-size: 15.5px;
    line-height: 1.85;
}
.page-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.4);
}
.page-breadcrumb a {
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.2s;
}
.page-breadcrumb a:hover { color: #ff7a29; }

/* 页面箱庭视觉容器 */
.dio-stage {
    position: relative;
    width: min(100%, 460px);
    aspect-ratio: 1/1;
    margin: auto;
}
.dio-glow {
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 33, 121, 0.2), rgba(122, 28, 168, 0.08) 42%, transparent 72%);
    filter: blur(16px);
}
.dio-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.dio-ring.r1 { width: 88%; height: 44%; transform: translate(-50%, -50%) rotate(-18deg); }
.dio-ring.r2 { width: 66%; height: 70%; transform: translate(-50%, -50%) rotate(32deg); border-color: rgba(217, 33, 121, 0.22); }
.dio-ring.r3 { width: 46%; height: 86%; transform: translate(-50%, -50%) rotate(-48deg); border-color: rgba(255, 122, 41, 0.16); }
.dio-svg {
    position: absolute;
    inset: 6%;
    width: 88%;
    height: 88%;
    overflow: visible;
}
.dio-svg path.flow {
    stroke-dasharray: 6 8;
    animation: dio-flow 3.2s linear infinite;
}
@keyframes dio-flow {
    to { stroke-dashoffset: -56; }
}
.dio-core {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 27%;
    aspect-ratio: 1;
    border-radius: 30%;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #2a182b, #0c0a0f 70%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 0 80px rgba(217, 33, 121, 0.28), inset 0 0 45px rgba(255, 122, 41, 0.1);
    animation: dio-breathe 4.5s ease-in-out infinite;
}
@keyframes dio-breathe {
    0%, 100% { box-shadow: 0 0 60px rgba(217, 33, 121, 0.2), inset 0 0 40px rgba(255, 122, 41, 0.08); }
    50% { box-shadow: 0 0 95px rgba(217, 33, 121, 0.38), inset 0 0 55px rgba(255, 122, 41, 0.14); }
}
.dio-core svg { width: 44%; height: 44%; }
.dio-core .core-text {
    font-family: "Barlow Condensed", Impact, sans-serif;
    font-weight: 800;
    font-size: clamp(34px, 4.4vw, 58px);
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, #ffb07d, #ff263d 48%, #b40072);
    -webkit-background-clip: text;
    color: transparent;
    line-height: 0.9;
}
.dio-core .core-sub {
    position: absolute;
    bottom: 9%;
    font-size: 7px;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.42);
    white-space: nowrap;
}
.dio-chip {
    position: absolute;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(18, 12, 22, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    font-size: 11px;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.28);
    display: flex;
    align-items: center;
    gap: 7px;
    animation: dio-float 6s ease-in-out infinite alternate;
}
.dio-chip .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff7a29;
    box-shadow: 0 0 12px rgba(255, 122, 41, 0.9);
    flex: none;
}
.dio-chip.c1 { left: 4%; top: 20%; animation-delay: 0s; }
.dio-chip.c2 { right: 0%; top: 32%; animation-delay: 1.2s; }
.dio-chip.c3 { right: 6%; bottom: 18%; animation-delay: 2.1s; }
.dio-chip.c4 { left: 8%; bottom: 14%; animation-delay: 3s; }
@keyframes dio-float {
    from { transform: translateY(-6px); }
    to { transform: translateY(8px); }
}
.dio-node {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff7a29;
    box-shadow: 0 0 18px rgba(255, 122, 41, 0.85);
    animation: dio-pulse 2.6s ease-in-out infinite;
}
.dio-node.pink { background: #d92179; box-shadow: 0 0 18px rgba(217, 33, 121, 0.85); }
.dio-node.purple { background: #7a1ca8; box-shadow: 0 0 18px rgba(122, 28, 168, 0.85); }
@keyframes dio-pulse {
    0%, 100% { transform: scale(0.75); opacity: 0.55; }
    50% { transform: scale(1.25); opacity: 1; }
}

@media (max-width: 899px) {
    .page-hero { padding: 130px 0 64px; }
    .dio-stage { width: min(86vw, 380px); }
    .dio-chip.c2, .dio-chip.c3 { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .dio-svg path.flow, .dio-core, .dio-chip, .dio-node,
    .core-scan, .hero-ai-card:before, .ai-spark {
        animation: none !important;
    }
}

/* ---------- 滚动显现 ---------- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s cubic-bezier(0.21, 0.6, 0.35, 1), transform 0.7s cubic-bezier(0.21, 0.6, 0.35, 1);
}
.reveal.in {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 导航 ---------- */
.nav-link {
    position: relative;
    padding: 4px 0;
}
.nav-link:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #7a1ca8, #d92179, #ff7a29);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.nav-link:hover:after,
.nav-link.active:after {
    transform: scaleX(1);
}
.nav-link.active {
    color: #121217;
    font-weight: 600;
}

/* ---------- 移动端菜单 ---------- */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
#mobile-menu.open {
    max-height: 400px;
}

/* ---------- 通用小区块 ---------- */
.eyebrow {
    font-size: 12px;
    letter-spacing: 0.2em;
    font-weight: 600;
}
.section-kicker {
    text-align: center;
    margin-bottom: 16px;
}
.card-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 40px rgba(122, 28, 168, 0.12);
}

/* 深色区块内的台座卡片（箱庭感） */
.pedestal-dark {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
    border-radius: 20px;
}
.pedestal-dark:hover {
    border-color: rgba(217, 33, 121, 0.35);
}

/* 流程步骤连接线 */
.step-line {
    position: relative;
}
.step-line:not(:last-child):after {
    content: "";
    position: absolute;
    top: 44px;
    left: 50%;
    width: 1px;
    height: calc(100% - 44px);
    background: repeating-linear-gradient(to bottom, rgba(217, 33, 121, 0.4) 0 5px, transparent 5px 11px);
}
@media (max-width: 767px) {
    .step-line:not(:last-child):after { display: none; }
}

/* ============================================
   隐私政策页（privacy.html）
   ============================================ */
.privacy-meta {
    font-size: 13px;
    color: #d92179;
    background: rgba(217, 33, 121, 0.06);
    border-radius: 10px;
    padding: 10px 14px;
    margin: 0 0 28px;
}
.privacy-body h2 {
    font-size: 17px;
    font-weight: 700;
    color: #1f2937;
    margin: 30px 0 12px;
    padding-left: 12px;
    border-left: 3px solid #d92179;
}
.privacy-body p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.9;
    margin: 0 0 12px;
    text-align: justify;
}
.privacy-body ul {
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}
.privacy-body li {
    position: relative;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.85;
    padding-left: 18px;
    margin-bottom: 8px;
    text-align: justify;
}
.privacy-body li:before {
    content: "";
    position: absolute;
    left: 2px;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7a1ca8, #d92179);
}
.privacy-body strong {
    color: #1f2937;
}

/* ============================================
   首页 Hero 公司动态照片轮播
   ============================================ */
@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr 1.2fr;
    }
}
.hero-photo-card {
    background: linear-gradient(145deg, #17121a, #09080d);
    max-width: 640px;
    aspect-ratio: 16 / 10;
}
.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 1.2s ease, transform 6s ease;
}
.hero-photo.active {
    opacity: 1;
    transform: scale(1);
}
.hero-photo-tag {
    position: absolute;
    left: 18px;
    bottom: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(12, 8, 14, 0.62);
    backdrop-filter: blur(6px);
    color: rgba(255, 255, 255, 0.92);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.hero-photo-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff7a29;
    box-shadow: 0 0 8px rgba(255, 122, 41, 0.8);
}

/* ============================================
   全局字体与排版
   ============================================ */
body {
    font-family: Inter, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ============================================
   新闻播报卡片（cooperation.html）
   ============================================ */
.news-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.news-card:hover {
    border-color: rgba(217, 33, 121, 0.3);
    box-shadow: 0 10px 40px rgba(122, 28, 168, 0.08);
}
/* 横向新闻卡：视频居左缩小，右侧文字描述 */
.news-card-h {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
}
@media (max-width: 767px) {
    .news-card-h {
        grid-template-columns: 1fr;
    }
}
.news-video {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #000;
}
.news-caption {
    padding: 22px 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.news-tag {
    font-size: 12px;
    font-weight: 600;
    color: #d92179;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}
.news-caption h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
    line-height: 1.5;
}
.news-caption p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.85;
    margin: 0;
    text-align: justify;
}

.job-summary {
    font-size: 13.5px;
    color: #7a1ca8;
    background: rgba(122, 28, 168, 0.05);
    border-radius: 10px;
    padding: 10px 14px;
    margin: 0 0 16px;
}
.job-growth {
    font-size: 12.5px;
    color: #6b7280;
    margin: 10px 0 0;
    line-height: 1.7;
}
.job-growth strong {
    color: #374151;
}

/* 左栏公司简介与资质 */
.company-blurb {
    font-size: 13.5px;
    color: #4b5563;
    line-height: 1.85;
    margin: 0 0 14px;
    text-align: justify;
}
.company-facts {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}
.company-facts li {
    position: relative;
    font-size: 13px;
    color: #374151;
    line-height: 1.7;
    padding-left: 18px;
    margin-bottom: 8px;
}
.company-facts li:before {
    content: "";
    position: absolute;
    left: 2px;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7a1ca8, #d92179);
}
.company-contact {
    display: grid;
    gap: 4px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 13px;
    line-height: 1.6;
}
.company-contact strong {
    font-size: 12px;
    color: #d92179;
    letter-spacing: 0.04em;
}
.company-contact span {
    color: #4b5563;
}
.company-contact a {
    color: #4b5563;
}
.company-contact a:hover {
    color: #d92179;
}

/* ============================================
   加入我们 · 岗位列表（careers.html）
   ============================================ */
.job-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.job-card:hover {
    border-color: rgba(217, 33, 121, 0.3);
    box-shadow: 0 10px 40px rgba(122, 28, 168, 0.08);
}
.job-card + .job-card {
    margin-top: 18px;
}
.job-head {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
}
.job-head-main h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2937;
}
.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.job-tag {
    font-size: 12px;
    color: #6b7280;
    background: #f5f3f7;
    border: 1px solid rgba(122, 28, 168, 0.1);
    padding: 3px 10px;
    border-radius: 999px;
}
.job-chevron {
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(122, 28, 168, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7a1ca8;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.job-card.open .job-chevron {
    transform: rotate(180deg);
    background: linear-gradient(135deg, #7a1ca8, #d92179);
    color: #fff;
    border-color: transparent;
}
.job-body {
    display: none;
    padding: 0 24px 24px;
}
.job-card.open .job-body {
    display: block;
}
/* 展开内容双栏：职责居左、要求居右，宽屏自动分栏 */
.job-body-grid {
    display: grid;
    gap: 20px;
}
@media (min-width: 1024px) {
    .job-body-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 28px;
    }
}
.job-sec + .job-sec {
    margin-top: 18px;
}
.job-sec h4 {
    font-size: 13px;
    font-weight: 700;
    color: #7a1ca8;
    margin-bottom: 8px;
}
.job-sec ol {
    list-style: decimal;
    padding-left: 18px;
    display: grid;
    gap: 4px;
}
.job-sec li {
    font-size: 13.5px;
    color: #4b5563;
    line-height: 1.65;
}
.job-apply {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px dashed rgba(122, 28, 168, 0.15);
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}
.btn-apply {
    display: inline-block;
    background: linear-gradient(135deg, #7a1ca8, #d92179);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 26px;
    border-radius: 999px;
    transition: opacity 0.3s ease;
}
.btn-apply:hover {
    opacity: 0.88;
}
.job-apply-note {
    font-size: 13px;
    color: #9ca3af;
}
.jobs-empty {
    text-align: center;
    color: #6b7280;
    background: #fff;
    border: 1px dashed rgba(122, 28, 168, 0.2);
    border-radius: 20px;
    padding: 48px 24px;
}
.jobs-empty a {
    color: #d92179;
}

/* 在招岗位 · 左右分栏布局（左窄右宽，右侧占满剩余空间） */
.jobs-layout {
    display: grid;
    gap: 40px;
}
@media (min-width: 768px) {
    .jobs-layout {
        grid-template-columns: 280px minmax(0, 1fr);
        gap: 48px;
    }
}

/* 右栏弹性布局：岗位卡片在上，「更多岗位」卡片沉底与左栏按钮区对齐 */
#jobs-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
#jobs-list .job-card:last-of-type {
    margin-bottom: 24px;
}

/* 在招岗位 · 底部「更多岗位更新中」占位卡片 */
.job-more {
    margin-top: auto;
    margin-bottom: 24px;
    border: 1.5px dashed rgba(122, 28, 168, 0.25);
    border-radius: 20px;
    padding: 22px 26px;
    background: rgba(255, 255, 255, 0.6);
}
.job-more strong {
    display: block;
    font-size: 14.5px;
    color: #7a1ca8;
    margin-bottom: 6px;
}
.job-more p {
    font-size: 13.5px;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}
.job-more a {
    color: #d92179;
}

/* 在招岗位 · 投递按钮容器（grid 间距，hidden 提示不占位） */
.apply-actions {
    display: grid;
    gap: 10px;
}
.apply-actions .js-jobs-hint {
    margin: 0;
}
/* 投递按钮下方引导小字 */
.apply-note {
    font-size: 12.5px;
    color: #9ca3af;
    margin: 12px 0 0;
}

/* 在招岗位 · 投递按钮（块级、同宽对齐，box-sizing 防溢出） */
.apply-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 11px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    transition: opacity 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.apply-btn + .apply-btn {
    margin-top: 0;
}
.apply-btn.primary {
    background: linear-gradient(135deg, #7a1ca8, #d92179);
    color: #fff;
}
.apply-btn.primary:hover {
    opacity: 0.9;
}
.apply-btn.ghost {
    background: #fff;
    color: #374151;
    border: 1px solid rgba(0, 0, 0, 0.08);
}
.apply-btn.ghost:hover {
    border-color: rgba(217, 33, 121, 0.35);
    box-shadow: 0 6px 20px rgba(122, 28, 168, 0.08);
}
.apply-btn .apply-btn-sub {
    color: #9ca3af;
    font-size: 13px;
}

/* 在招岗位 · 左侧导航 */
.job-nav {
    list-style: none;
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
}
.job-nav a {
    display: block;
    font-size: 14px;
    line-height: 1.5;
    color: #4b5563;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 12px 16px;
    transition: color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.job-nav a:hover {
    color: #7a1ca8;
    border-color: rgba(217, 33, 121, 0.3);
    box-shadow: 0 6px 20px rgba(122, 28, 168, 0.08);
}
