/* ==========================================================================
   长弧科技官网 3.0 · 统一设计系统（system.css）
   负责：品牌变量、深浅自适应毛玻璃顶栏、CITEARC 分级菜单、移动端抽屉、全局 Footer
   ========================================================================== */
@font-face{
  font-family:'Citearc Sans';
  src:url('/assets/fonts/citearc-sans.woff2') format('woff2');
  font-weight:100 900;
  font-display:swap;
  /* 仅用于拉丁字母、数字与常用标点，确保全站所有中文字符 100% 统一走同一套 CJK 字体，杜绝混排错位 */
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root{
  --ag-midnight:#0F1742;
  --ag-bg-dark:#06070D;
  --ag-violet:#5B46E5;
  --ag-violet-soft:#B89EFF;
  --ag-gold-1:#F8CA57;
  --ag-gold-2:#EE982B;
  --ag-electric:#3B5BDB;
  --ag-indigo:#253AA8;
  --ag-cyan:#A5D8FF;
  --ag-mist:#E9E4FF;
  --ag-paper:#F7F8FC;
  --ag-white:#FFFFFF;
  --ag-ease:cubic-bezier(.16,1,.3,1);
  --ag-mono:'SF Mono',ui-monospace,Menlo,Consolas,'Liberation Mono',monospace;
  --ag-sans:'Citearc Sans','PingFang SC','Hiragino Sans GB','HarmonyOS Sans SC','Noto Sans SC','Microsoft YaHei',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --ag-nav-h:72px;
  --ag-maxw:1280px;
  --ag-gutter:clamp(20px,4vw,56px);
}

/* 使用 :where() 将基础重置权重降为最低，彻底避免覆盖导航按钮与组件字号/字重 */
body.ag-page{
  margin:0;
  font-family:var(--ag-sans);
  font-size:16px;
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:clip;
}
:where(body.ag-page) *{box-sizing:border-box}
:where(body.ag-page) a{color:inherit;text-decoration:none}
:where(body.ag-page) img{display:block;max-width:100%}
:where(body.ag-page) button{font-family:inherit;color:inherit;cursor:pointer}
:where(body.ag-page) h1,:where(body.ag-page) h2,:where(body.ag-page) h3,:where(body.ag-page) h4,:where(body.ag-page) p,:where(body.ag-page) ul,:where(body.ag-page) ol,:where(body.ag-page) dl,:where(body.ag-page) dd{margin:0}
:where(body.ag-page) ul,:where(body.ag-page) ol{padding:0;list-style:none}

body.ag-dark{background:var(--ag-bg-dark);color:#EEF2FF;color-scheme:dark}
body.ag-light{background:#F6F8FC;color:#0F1528;color-scheme:light}

.ag-skip{
  position:fixed;left:16px;top:-64px;z-index:9999;
  background:#fff;color:var(--ag-midnight);
  padding:10px 18px;border-radius:10px;font-size:14px;font-weight:600;
  box-shadow:0 8px 24px rgba(4,9,22,.3);transition:top .25s var(--ag-ease);
}
.ag-skip:focus{top:16px}
.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

/* ==========================================================================
   深浅自适应毛玻璃顶栏（.ag-header）
   ========================================================================== */
.ag-header{
  position:fixed;top:0;left:0;right:0;z-index:2000;
  height:var(--ag-nav-h);
  padding:0 var(--ag-gutter);
  display:flex;align-items:center;justify-content:space-between;gap:24px;
  font-family:var(--ag-sans);
  transition:background .35s var(--ag-ease),border-color .35s var(--ag-ease),box-shadow .35s var(--ag-ease),height .35s var(--ag-ease);
}
.ag-header *{box-sizing:border-box}
.ag-header a{text-decoration:none}
.ag-header button{font-family:inherit;cursor:pointer}

/* 深色模式顶栏（黑曜石冷黑透明 → 滚动后为高质感黑曜石毛玻璃） */
.ag-header--dark{
  color:#F5F7FF;
  background:linear-gradient(180deg,rgba(6,7,13,.62) 0%,rgba(6,7,13,0) 100%);
  border-bottom:1px solid transparent;
}
.ag-header--dark.is-scrolled,
.ag-header--dark.is-menu-open{
  height:68px;
  background:rgba(9,10,19,.66);
  border-bottom-color:rgba(196,181,253,.18);
  backdrop-filter:blur(36px) saturate(185%);
  -webkit-backdrop-filter:blur(36px) saturate(185%);
  box-shadow:0 12px 36px rgba(0,0,0,.48),inset 0 -1px 0 rgba(255,255,255,.07);
}

/* 浅色模式顶栏（产品/方案/资源/关于等精读页，清透浅玻璃） */
.ag-header--light{
  color:#0E1140;
  background:rgba(250,251,255,.82);
  border-bottom:1px solid rgba(14,17,64,.09);
  backdrop-filter:blur(24px) saturate(165%);
  -webkit-backdrop-filter:blur(24px) saturate(165%);
}
.ag-header--light.is-scrolled{
  background:rgba(255,255,255,.92);
  box-shadow:0 8px 28px rgba(14,17,64,.06);
}

.ag-scroll-bar{
  position:absolute;left:0;bottom:-1px;height:1.5px;width:100%;
  transform-origin:left;transform:scaleX(var(--ag-read,0));
  background:linear-gradient(90deg,var(--ag-electric),var(--ag-violet),var(--ag-cyan));
  opacity:0;transition:opacity .35s;pointer-events:none;
}
.ag-header.is-scrolled .ag-scroll-bar{opacity:1}

.ag-brand{display:flex;align-items:center;flex-shrink:0;padding:4px 0}
.ag-brand img{width:192px;height:auto;display:block}
.ag-header--dark .ag-logo-color{display:none}
.ag-header--light .ag-logo-reverse{display:none}

/* ==========================================================================
   极简通透顶栏导航 + 悬停/激活时的克制 Liquid 液态玻璃水滴
   （去掉外层大圆框胶囊，恢复轻盈协调的经典顶栏，仅按钮本体保留液态玻璃滑动反馈）
   ========================================================================== */
.ag-nav{
  position:relative;display:flex;align-items:center;gap:6px;
  padding:0;isolation:isolate;
}

/* 仅在悬停/激活单个按钮时浮现的轻透 Liquid 液态玻璃水滴 */
.ag-liquid-indicator{
  position:absolute;top:0;left:0;z-index:0;border-radius:999px;pointer-events:none;
  opacity:0;
  transition:
    transform .34s cubic-bezier(.22,1,.36,1),
    width .32s cubic-bezier(.22,1,.36,1),
    height .32s cubic-bezier(.22,1,.36,1),
    opacity .18s ease;
  will-change:transform,width;
}
.ag-header--dark .ag-liquid-indicator{
  background:rgba(255,255,255,.11);
  border:0;
  box-shadow:0 4px 14px rgba(0,0,0,.22);
}
.ag-header--light .ag-liquid-indicator{
  background:rgba(15,21,40,.06);
  border:0;
  box-shadow:none;
}

.ag-header .ag-nav-link,
.ag-header .ag-nav-trigger{
  position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;gap:5px;
  height:36px;padding:0 15px;border-radius:999px;border:0;background:transparent;
  font-family:var(--ag-sans);font-size:14.5px;font-weight:500;line-height:1;letter-spacing:0;white-space:nowrap;
  transition:color .18s ease,transform .16s var(--ag-ease);
}
.ag-header .ag-nav-link:active,
.ag-header .ag-nav-trigger:active{transform:scale(.97)}

.ag-header--dark .ag-nav-link,
.ag-header--dark .ag-nav-trigger{color:rgba(240,244,255,.82)}
.ag-header--dark .ag-nav-link:hover,
.ag-header--dark .ag-nav-trigger:hover,
.ag-header--dark .ag-nav-trigger[aria-expanded="true"],
.ag-header--dark .ag-nav-link.is-active,
.ag-header--dark .ag-nav-trigger.is-active{
  color:#FFFFFF;
}

.ag-header--light .ag-nav-link,
.ag-header--light .ag-nav-trigger{color:#485068}
.ag-header--light .ag-nav-link:hover,
.ag-header--light .ag-nav-trigger:hover,
.ag-header--light .ag-nav-trigger[aria-expanded="true"],
.ag-header--light .ag-nav-link.is-active,
.ag-header--light .ag-nav-trigger.is-active{
  color:#0F1528;
}

.ag-caret{
  width:10px;height:10px;display:inline-block;
  transition:transform .28s var(--ag-ease);opacity:.7;
}
.ag-nav-trigger[aria-expanded="true"] .ag-caret{transform:rotate(180deg);opacity:1}

.ag-nav-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}

/* 0.00px 绝对光学居中的 Liquid 中 / EN 胶囊切换开关 */
.ag-lang-switch{
  position:relative;display:grid;grid-template-columns:1fr 1fr;align-items:center;
  width:76px;height:34px;padding:3px;border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background:linear-gradient(180deg,rgba(255,255,255,.10) 0%,rgba(20,22,42,.38) 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.24),0 6px 18px rgba(0,0,0,.22);
  backdrop-filter:blur(24px) saturate(185%);-webkit-backdrop-filter:blur(24px) saturate(185%);
}
.ag-lang-switch::before{
  content:'';position:absolute;top:3px;left:3px;
  width:34px;height:26px;border-radius:999px;
  background:linear-gradient(180deg,#FFFFFF 0%,#EEF1FF 100%);
  box-shadow:0 2px 8px rgba(0,0,0,.28),inset 0 1px 0 #fff;
  transition:transform .4s cubic-bezier(.24,1.25,.36,1);
}
.ag-lang-switch.is-en::before{transform:translateX(34px)}
.ag-lang-switch button{
  position:relative;z-index:1;border:0;background:transparent;
  width:100%;height:100%;padding:0;margin:0;
  display:flex;align-items:center;justify-content:center;
  font-size:11.5px;font-weight:700;line-height:1;letter-spacing:0;
  color:rgba(240,244,255,.74);transition:color .25s ease;
}
.ag-lang-switch button[aria-pressed="true"]{color:#090B14}

.ag-header--light .ag-lang-switch,
.ag-mobile-drawer--light .ag-lang-switch{
  border-color:rgba(14,17,64,.14);
  background:rgba(14,17,64,.06);
  box-shadow:inset 0 1px 2px rgba(14,17,64,.06);
}
.ag-header--light .ag-lang-switch::before,
.ag-mobile-drawer--light .ag-lang-switch::before{
  background:linear-gradient(180deg,#181C4B 0%,#0E1140 100%);
  box-shadow:0 2px 8px rgba(14,17,64,.22);
}
.ag-header--light .ag-lang-switch button,
.ag-mobile-drawer--light .ag-lang-switch button{color:rgba(14,17,64,.65)}
.ag-header--light .ag-lang-switch button[aria-pressed="true"],
.ag-mobile-drawer--light .ag-lang-switch button[aria-pressed="true"]{color:#FFFFFF}

.ag-cta-btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:9px 18px;border-radius:999px;font-size:13.5px;font-weight:600;
  white-space:nowrap;transition:transform .28s var(--ag-ease),background .25s,box-shadow .25s,border-color .25s;
}
/* 深色页主 CTA 按钮采用长弧紫的精准互补对立色：暖琥珀流金（高对比深曜石黑字） */
.ag-header--dark .ag-cta-btn{
  color:#090B14;font-weight:700;border:1px solid rgba(255,228,150,.55);
  background:linear-gradient(135deg,#F8CA57 0%,#EE982B 100%);
  box-shadow:0 6px 20px rgba(240,154,46,.28),inset 0 1px 0 rgba(255,255,255,.45);
}
.ag-header--dark .ag-cta-btn:hover{
  border-color:rgba(255,238,180,.85);
  background:linear-gradient(135deg,#FFD76E 0%,#F5A63B 100%);
  box-shadow:0 10px 28px rgba(245,183,49,.42),inset 0 1px 0 rgba(255,255,255,.6);
  transform:translateY(-1px);
}
.ag-header--light .ag-cta-btn{
  color:#fff;border:1px solid transparent;
  background:linear-gradient(135deg,#1D358A,#4F46E5 55%,#7B4DFF);
  box-shadow:0 6px 18px rgba(79,70,229,.22);
}
.ag-header--light .ag-cta-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 26px rgba(79,70,229,.32);
}

.ag-mobile-btn{
  display:none;width:40px;height:40px;border-radius:12px;
  align-items:center;justify-content:center;flex-direction:column;gap:5px;
  border:1px solid currentColor;background:transparent;opacity:.85;
}
.ag-mobile-btn span{display:block;width:18px;height:1.5px;background:currentColor;border-radius:2px;transition:transform .28s var(--ag-ease),opacity .2s}
.ag-mobile-btn[aria-expanded="true"] span:first-child{transform:translateY(3.25px) rotate(45deg)}
.ag-mobile-btn[aria-expanded="true"] span:last-child{transform:translateY(-3.25px) rotate(-45deg)}

/* ==========================================================================
   毛玻璃下拉菜单面板（高通透强质感液态毛玻璃 · 深浅自适应）
   ========================================================================== */
.ag-menu-backdrop{
  position:fixed;inset:0;z-index:1980;
  background:rgba(8,16,40,.18);
  opacity:0;pointer-events:none;transition:opacity .28s ease;
}
.ag-menu-backdrop.is-open{opacity:1;pointer-events:auto}

.ag-popover{
  position:fixed;top:calc(var(--ag-nav-h) + 10px);left:50%;z-index:1990;
  width:min(980px,calc(100vw - 32px));
  transform:translateX(-50%) translateY(-10px) scale(.985);
  opacity:0;pointer-events:none;
  border-radius:24px;overflow:hidden;
  font-family:var(--ag-sans);
  transition:opacity .28s var(--ag-ease),transform .32s var(--ag-ease);
}
.ag-popover *{box-sizing:border-box}
.ag-popover a{text-decoration:none}
.ag-popover--compact{width:min(680px,calc(100vw - 32px))}
.ag-popover.is-open{
  opacity:1;pointer-events:auto;
  transform:translateX(-50%) translateY(0) scale(1);
}

/* 暗色液态毛玻璃（用于黑曜石深色首页：高通透 + 强模糊 + 紫银折射亮边） */
.ag-popover--dark{
  color:#F5F7FF;
  background:linear-gradient(140deg,rgba(18,20,38,.66) 0%,rgba(11,13,26,.72) 55%,rgba(20,16,42,.68) 100%);
  border:1px solid rgba(206,192,255,.30);
  box-shadow:
    0 32px 96px rgba(0,0,0,.72),
    inset 0 1.5px 0 rgba(255,255,255,.28),
    inset 0 0 42px rgba(123,77,255,.16);
  backdrop-filter:blur(48px) saturate(200%) brightness(1.06);
  -webkit-backdrop-filter:blur(48px) saturate(200%) brightness(1.06);
}
/* 浅色冰雾毛玻璃（用于浅色内页：高通透冰晶折射感） */
.ag-popover--light{
  color:#0E1140;
  background:linear-gradient(140deg,rgba(255,255,255,.68) 0%,rgba(242,245,255,.74) 55%,rgba(248,244,255,.72) 100%);
  border:1px solid rgba(115,135,220,.26);
  box-shadow:
    0 30px 80px rgba(14,17,64,.16),
    inset 0 1.5px 0 rgba(255,255,255,.95),
    inset 0 0 36px rgba(123,77,255,.07);
  backdrop-filter:blur(48px) saturate(210%);
  -webkit-backdrop-filter:blur(48px) saturate(210%);
}

.ag-pop-head{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:15px 22px;font-size:13px;
  border-bottom:1px solid rgba(150,170,255,.14);
}
.ag-popover--light .ag-pop-head{border-bottom-color:rgba(14,17,64,.08)}
.ag-pop-head strong{font-family:var(--ag-mono);font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;opacity:.75}
.ag-pop-head a{font-weight:600;color:#7BA7FF;display:inline-flex;align-items:center;gap:4px}
.ag-popover--light .ag-pop-head a{color:#4F46E5}
.ag-pop-head a:hover{text-decoration:underline;text-underline-offset:4px}

/* CITEARC 7 项紧凑分级菜单 */
.ag-product-grid{display:grid;grid-template-columns:280px 1fr;min-height:362px}
.ag-family-list{
  padding:10px;display:flex;flex-direction:column;gap:3px;
  border-right:1px solid rgba(150,170,255,.12);
}
.ag-popover--light .ag-family-list{border-right-color:rgba(14,17,64,.08)}

.ag-family-item{
  width:100%;display:flex;align-items:center;gap:12px;
  padding:9px 11px;border-radius:12px;border:1px solid transparent;
  background:transparent;text-align:left;color:inherit;
  transition:background .2s,border-color .2s,transform .2s;
}
.ag-family-item:hover,
.ag-family-item.is-selected{
  background:rgba(123,77,255,.14);border-color:rgba(143,182,255,.26);
}
.ag-popover--light .ag-family-item:hover,
.ag-popover--light .ag-family-item.is-selected{
  background:rgba(123,77,255,.08);border-color:rgba(123,77,255,.22);
}
.ag-family-letter{
  width:28px;height:28px;border-radius:8px;flex-shrink:0;
  display:grid;place-items:center;font-family:var(--ag-mono);font-size:13px;font-weight:700;
  background:linear-gradient(135deg,rgba(47,107,255,.24),rgba(123,77,255,.28));
  color:#CFE1FF;border:1px solid rgba(155,175,255,.24);
}
.ag-popover--light .ag-family-letter{
  background:linear-gradient(135deg,#EEF2FF,#ECE8FF);color:#4338CA;border-color:rgba(79,70,229,.18);
}
.ag-family-copy{min-width:0;flex:1}
.ag-family-copy strong{display:block;font-size:13.5px;font-weight:600;line-height:1.3}
.ag-family-copy small{display:block;font-size:11.5px;opacity:.68;line-height:1.35;margin-top:1px}
.ag-family-badge{
  font-size:10.5px;padding:2px 7px;border-radius:999px;white-space:nowrap;
  background:rgba(47,107,255,.18);color:#9FC5FF;border:1px solid rgba(143,216,255,.24);
}
.ag-popover--light .ag-family-badge{background:#EEF2FF;color:#4338CA;border-color:rgba(79,70,229,.18)}
.ag-family-badge--muted{background:rgba(255,255,255,.08);color:rgba(255,255,255,.6);border-color:rgba(255,255,255,.12)}
.ag-popover--light .ag-family-badge--muted{background:#F1F2F8;color:#66708A;border-color:#DFE3F0}

.ag-family-stage{padding:24px 26px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}
.ag-family-stage::before{
  content:'';position:absolute;right:-60px;top:-60px;width:240px;height:240px;border-radius:50%;
  background:radial-gradient(circle,rgba(123,77,255,.18),rgba(47,107,255,.08) 45%,transparent 70%);
  pointer-events:none;
}
.ag-popover--light .ag-family-stage::before{
  background:radial-gradient(circle,rgba(123,77,255,.1),rgba(47,107,255,.05) 45%,transparent 70%);
}
.ag-detail-panel[hidden]{display:none}
.ag-detail-kicker{font-family:var(--ag-mono);font-size:11px;letter-spacing:.14em;color:#8FA8FF;text-transform:uppercase}
.ag-popover--light .ag-detail-kicker{color:#5B52D6}
.ag-detail-panel h3{font-size:24px;font-weight:650;margin:8px 0 10px;line-height:1.25}
.ag-detail-panel > p{font-size:14.5px;line-height:1.75;opacity:.82;max-width:46ch}

.ag-detail-meta{
  margin-top:18px;padding:13px 16px;border-radius:14px;
  background:rgba(255,255,255,.04);border:1px solid rgba(155,175,255,.14);
}
.ag-popover--light .ag-detail-meta{background:#F8F9FE;border-color:rgba(14,17,64,.08)}
.ag-detail-meta span{display:block;font-size:11.5px;opacity:.62;margin-bottom:4px}
.ag-detail-meta strong{font-size:14px;font-weight:600}

.ag-detail-cta{
  display:inline-flex;align-items:center;gap:8px;margin-top:20px;
  padding:10px 18px;border-radius:999px;font-size:13.5px;font-weight:600;
  background:linear-gradient(135deg,#2F6BFF,#7B4DFF);color:#fff;
  box-shadow:0 8px 20px rgba(79,70,229,.28);transition:transform .25s var(--ag-ease);
}
.ag-detail-cta:hover{transform:translateY(-1px)}
.ag-detail-pending{
  display:inline-flex;align-items:center;margin-top:20px;
  padding:8px 14px;border-radius:999px;font-size:13px;opacity:.7;
  border:1px dashed rgba(155,175,255,.35);
}

/* Radarbot 三种二级形态卡片 */
.ag-variant-list{display:grid;gap:9px;margin-top:16px}
.ag-variant-card{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:12px 15px;border-radius:14px;
  background:rgba(255,255,255,.045);border:1px solid rgba(155,175,255,.16);
  transition:border-color .2s,background .2s,transform .2s;
}
.ag-variant-card:hover{background:rgba(123,77,255,.16);border-color:rgba(165,185,255,.42);transform:translateX(3px)}
.ag-popover--light .ag-variant-card{background:#fff;border-color:rgba(14,17,64,.1)}
.ag-popover--light .ag-variant-card:hover{background:#F5F4FF;border-color:rgba(123,77,255,.38)}
.ag-variant-card strong{display:block;font-size:14px;font-weight:600}
.ag-variant-card small{display:block;font-size:12px;opacity:.7;margin-top:2px}
.ag-variant-go{font-size:12px;font-weight:600;color:#8FD8FF;white-space:nowrap}
.ag-popover--light .ag-variant-go{color:#4F46E5}

/* 紧凑 2x2 玻璃网格（解决方案 / 资源） */
.ag-compact-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:16px}
.ag-compact-item{
  padding:15px 16px;border-radius:14px;
  background:rgba(255,255,255,.035);border:1px solid rgba(155,175,255,.12);
  transition:background .2s,border-color .2s,transform .2s;
}
.ag-compact-item:hover{background:rgba(123,77,255,.14);border-color:rgba(165,185,255,.35);transform:translateY(-2px)}
.ag-popover--light .ag-compact-item{background:#F8F9FE;border-color:rgba(14,17,64,.08)}
.ag-popover--light .ag-compact-item:hover{background:#F2F0FF;border-color:rgba(123,77,255,.3)}
.ag-compact-tag{
  display:inline-block;font-family:var(--ag-mono);font-size:10.5px;letter-spacing:.08em;
  padding:2px 8px;border-radius:999px;margin-bottom:8px;
  background:rgba(47,107,255,.18);color:#9FC5FF;
}
.ag-popover--light .ag-compact-tag{background:#EAEAFF;color:#4338CA}
.ag-compact-item strong{display:block;font-size:15px;font-weight:600;margin-bottom:4px}
.ag-compact-item span{display:block;font-size:13px;line-height:1.55;opacity:.75}

.ag-pop-foot{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:12px 22px;font-size:12.5px;opacity:.82;
  border-top:1px solid rgba(150,170,255,.12);
  background:rgba(0,0,0,.14);
}
.ag-popover--light .ag-pop-foot{border-top-color:rgba(14,17,64,.07);background:#F5F6FC}
.ag-pop-foot a{font-weight:600;color:#8FD8FF}
.ag-popover--light .ag-pop-foot a{color:#4F46E5}

/* ==========================================================================
   移动端抽屉导航
   ========================================================================== */
.ag-mobile-drawer{
  position:fixed;inset:0;z-index:1995;
  padding:88px 22px 40px;overflow-y:auto;
  font-family:var(--ag-sans);
  opacity:0;pointer-events:none;transform:translateY(-12px);
  transition:opacity .28s ease,transform .3s var(--ag-ease);
}
.ag-mobile-drawer *{box-sizing:border-box}
.ag-mobile-drawer a{text-decoration:none}
.ag-mobile-drawer--dark{background:rgba(4,9,22,.97);color:#EEF2FF;backdrop-filter:blur(24px)}
.ag-mobile-drawer--light{background:rgba(248,249,253,.98);color:#0E1140;backdrop-filter:blur(24px)}
.ag-mobile-drawer.is-open{opacity:1;pointer-events:auto;transform:none}

.ag-mob-link,
.ag-mobile-drawer summary{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 4px;font-size:17px;font-weight:600;list-style:none;cursor:pointer;
  border-bottom:1px solid rgba(150,170,255,.14);
}
.ag-mobile-drawer--light .ag-mob-link,
.ag-mobile-drawer--light summary{border-bottom-color:rgba(14,17,64,.09)}
.ag-mobile-drawer summary::-webkit-details-marker{display:none}
.ag-mob-sub{padding:8px 0 12px 12px;display:grid;gap:6px}
.ag-mob-sub a{display:block;padding:8px 10px;border-radius:10px;font-size:14.5px;opacity:.85}
.ag-mob-sub a small{display:block;font-size:12px;opacity:.65}
.ag-mob-sub details{padding-left:8px;margin-top:4px}
.ag-mob-sub details summary{font-size:14.5px;padding:8px 6px;border-bottom:0}

/* ==========================================================================
   导入的第三方原生产品页顶栏防遮挡适配（零破坏原页面）
   ========================================================================== */
body.ag-import-page{padding-top:var(--ag-nav-h) !important}
body.ag-import-page .nav,
body.ag-import-page header[data-local-nav]{top:var(--ag-nav-h) !important}

/* ==========================================================================
   全局 GEO 枢纽 Footer（黑曜石高对比深色 + 独立横向 11 生态平台徽章带）
   ========================================================================== */
.ag-footer{
  position:relative;padding:52px var(--ag-gutter) 32px;
  font-family:var(--ag-sans);
  border-top:1px solid rgba(196,181,253,.2);
}
.ag-footer--dark{
  background:linear-gradient(180deg,#0A0C16 0%,#06070D 100%);
  color:#E2E7F7;
}
.ag-footer--light{background:#EFF1F8;color:#323A64;border-top-color:rgba(14,17,64,.1)}

.ag-footer-inner{max-width:var(--ag-maxw);margin:0 auto}
.ag-footer-grid{
  display:grid;
  grid-template-columns:1.25fr .9fr 1.25fr .95fr;
  gap:clamp(24px,3.2vw,48px);
  padding-bottom:30px;
  border-bottom:1px solid rgba(196,181,253,.14);
}
.ag-footer--light .ag-footer-grid{border-bottom-color:rgba(14,17,64,.1)}

.ag-footer-brand img{width:176px;height:auto;margin-bottom:14px}
.ag-footer--dark .ag-logo-color{display:none}
.ag-footer--light .ag-logo-reverse{display:none}
.ag-footer-brand p{font-size:13.5px;line-height:1.8;color:#D4DBEE;max-width:34ch}
.ag-footer--light .ag-footer-brand p{color:#434D74}

/* 独立横向生态与开放平台徽章带（保持原微紫玻璃胶囊，单行无缝无限循环滚动） */
.ag-footer-eco{
  padding:20px 0;
  border-bottom:1px solid rgba(196,181,253,.13);
  display:flex;align-items:center;gap:18px;
}
.ag-footer--light .ag-footer-eco{border-bottom-color:rgba(14,17,64,.09)}
.ag-eco-label{
  font-family:var(--ag-mono);font-size:11px;font-weight:600;letter-spacing:.14em;
  color:#C4B5FD;white-space:nowrap;flex-shrink:0;
}
.ag-footer--light .ag-eco-label{color:#535E88}

.ag-marquee-viewport{
  position:relative;flex:1;min-width:0;overflow:hidden;
  mask-image:linear-gradient(90deg,transparent 0%,#000 7%,#000 93%,transparent 100%);
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 7%,#000 93%,transparent 100%);
}
.ag-marquee-track{
  display:flex;align-items:center;width:max-content;
  animation:ag-eco-marquee 34s linear infinite;
  will-change:transform;
}
.ag-marquee-viewport:hover .ag-marquee-track{animation-play-state:paused}
@keyframes ag-eco-marquee{
  from{transform:translate3d(0,0,0)}
  to{transform:translate3d(-50%,0,0)}
}

.ag-footer-chips{display:flex;align-items:center;gap:10px;padding-right:10px;flex-shrink:0}
.ag-footer-chips span{
  display:inline-flex;align-items:center;gap:6px;white-space:nowrap;
  font-size:12px;font-weight:550;padding:5px 13px;border-radius:999px;
  color:#F2F5FF;
  border:1px solid rgba(196,181,253,.28);
  background:linear-gradient(135deg,rgba(123,77,255,.16),rgba(255,255,255,.04));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12);
  transition:border-color .2s,background .2s;
}
.ag-footer-chips span:hover{border-color:rgba(216,202,255,.55);background:rgba(123,77,255,.26)}
.ag-footer-chips span::before{
  content:'';width:5px;height:5px;border-radius:50%;
  background:#C4B5FD;box-shadow:0 0 6px rgba(196,181,253,.9);flex-shrink:0;
}
.ag-footer--light .ag-footer-chips span{
  color:#1E2758;border-color:rgba(79,70,229,.22);background:#fff;box-shadow:0 2px 6px rgba(14,17,64,.05);
}
.ag-footer--light .ag-footer-chips span::before{background:#6D4AFF;box-shadow:none}

@media(max-width:700px){
  .ag-footer-eco{flex-direction:column;align-items:stretch;gap:10px}
}
@media(prefers-reduced-motion:reduce){
  .ag-marquee-track{animation:none;width:auto}
  .ag-marquee-viewport{mask-image:none;-webkit-mask-image:none}
  .ag-footer-chips[aria-hidden="true"]{display:none}
  .ag-footer-chips{flex-wrap:wrap}
}

/* 三列标题底部拉通细线 + 全部列表行高绝对等高水平对齐 */
.ag-footer-col .ag-footer-title{
  font-family:var(--ag-mono);font-size:11.5px;font-weight:600;letter-spacing:.15em;text-transform:uppercase;
  padding-bottom:10px;margin:0 0 12px;color:#C4B5FD;
  border-bottom:1px solid rgba(196,181,253,.18);
}
.ag-footer--light .ag-footer-col .ag-footer-title{color:#535E88;border-bottom-color:rgba(14,17,64,.12)}
.ag-footer-col ul{display:grid;gap:4px}
.ag-footer-col li{margin:0;padding:0}
.ag-footer-col a{
  display:flex;align-items:center;height:28px;line-height:28px;
  font-size:13.5px;color:#E8EDFB;transition:color .2s;white-space:nowrap;
}
.ag-footer--light .ag-footer-col a{color:#273058}
.ag-footer-col a:hover{color:#F8CA57}
.ag-footer--light .ag-footer-col a:hover{color:#4F46E5}

/* 产品列：主单词 + 简短中文解释，严格与左右两列 28px 行高像素级水平对齐 */
.ag-fp-list{gap:4px !important}
.ag-fp-item{
  display:grid !important;grid-template-columns:112px 1fr;align-items:center;gap:12px;
  height:28px;line-height:28px;padding:0;white-space:nowrap;
}
.ag-fp-item strong{
  font-size:13.5px;font-weight:650;letter-spacing:.01em;color:#FFFFFF;
  transition:color .2s;
}
.ag-footer--light .ag-fp-item strong{color:#0E1140}
.ag-fp-item span{
  font-size:12.5px;color:#BCC6E2;overflow:hidden;text-overflow:ellipsis;
  transition:color .2s;
}
.ag-footer--light .ag-fp-item span{color:#505B84}
.ag-fp-item:hover strong{color:#F8CA57}
.ag-footer--light .ag-fp-item:hover strong{color:#4F46E5}
.ag-fp-item:hover span{color:#FFFFFF}
.ag-footer--light .ag-fp-item:hover span{color:#0E1140}
.ag-fp-all span{color:#D4C4FF}
.ag-footer--light .ag-fp-all span{color:#4F46E5}

.ag-footer-bottom{
  padding-top:18px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;
  font-size:12.5px;color:#B8C2DC;
}
.ag-footer--light .ag-footer-bottom{color:#566089}
.ag-footer-bottom-links{display:flex;flex-wrap:wrap;gap:18px}
.ag-footer-bottom a:hover{color:#FFFFFF;text-decoration:underline;text-underline-offset:4px}
.ag-footer--light .ag-footer-bottom a:hover{color:#0E1140}

@media(max-width:1020px){
  .ag-nav,.ag-nav-actions .ag-cta-btn{display:none}
  .ag-mobile-btn{display:flex}
  .ag-footer-grid{grid-template-columns:1fr 1fr;gap:32px}
}
@media(max-width:640px){
  .ag-brand img{width:158px}
  .ag-footer-grid{grid-template-columns:1fr;gap:28px}
}
@media(prefers-reduced-motion:reduce){
  .ag-popover,.ag-mobile-drawer,.ag-header,.ag-cta-btn,.ag-variant-card,.ag-compact-item{transition:none!important}
}
