/* ======================================================================
   iChina Arena · Component Overrides
   补全 HTML 中使用但 arena.css / styles.css 未定义的组件类
   ====================================================================== */

/* ----------------------------------------------------------------------
   Animations
   ---------------------------------------------------------------------- */
.fade-in-up{animation:fadeInUp .8s ease-out both}
@keyframes fadeInUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}

/* ----------------------------------------------------------------------
   Page structure
   ---------------------------------------------------------------------- */
.page-inner{max-width:1200px;margin:0 auto;padding:6rem 1.5rem 4rem}
.section-inner{max-width:1200px;margin:0 auto;padding:5rem 1.5rem}
.section-subtitle{font-size:clamp(1rem,1.4vw,1.25rem);color:var(--text-secondary);text-align:center;max-width:760px;margin:0 auto 2.5rem;line-height:1.7}
.section-alt{background:var(--bg-secondary)}

/* ----------------------------------------------------------------------
   Grids
   ---------------------------------------------------------------------- */
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem}
@media (max-width:1024px){.grid-4{grid-template-columns:repeat(2,1fr)}.grid-3{grid-template-columns:repeat(2,1fr)}}
@media (max-width:768px){.grid-2,.grid-3,.grid-4{grid-template-columns:1fr}}

/* ----------------------------------------------------------------------
   Generic cards
   ---------------------------------------------------------------------- */
.card{background:var(--bg-card);border:1px solid var(--border-color);border-radius:16px;padding:1.8rem;transition:all .3s ease}
.card:hover{border-color:var(--border-strong);transform:translateY(-4px);box-shadow:0 20px 60px rgba(0,0,0,.12)}
.feature-card,.capability-card,.case-card,.module-card,.model-card,.industry-card,.benefit-card,.value-card,.service-card,.arch-card,.chip-card,.process-card,.tech-card,.copyright-card,.gov-card,.brain-value-card,.brain-pain-card,.honor-item,.training-item,.case-row{background:var(--bg-card);border:1px solid var(--border-color);border-radius:14px;padding:1.5rem;transition:all .25s ease}
.feature-card:hover,.capability-card:hover,.case-card:hover,.module-card:hover,.model-card:hover,.industry-card:hover,.benefit-card:hover,.value-card:hover,.service-card:hover,.arch-card:hover,.chip-card:hover,.process-card:hover,.tech-card:hover,.copyright-card:hover,.gov-card:hover,.brain-value-card:hover,.brain-pain-card:hover,.honor-item:hover,.training-item:hover,.case-row:hover{border-color:var(--accent)}

/* ----------------------------------------------------------------------
   Feature lists & icons
   ---------------------------------------------------------------------- */
.feature-list{display:grid;gap:1rem;margin-top:1.5rem}
.feature-item{display:flex;align-items:flex-start;gap:1rem;padding:1rem;background:var(--bg-card);border:1px solid var(--border-color);border-radius:12px}
.feature-check{display:flex;align-items:center;gap:.75rem}
.check-icon{width:20px;height:20px;border-radius:50%;background:var(--accent);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:.75rem;flex-shrink:0}
.icon-box{width:48px;height:48px;border-radius:12px;background:rgba(107,78,230,.1);border:1px solid rgba(107,78,230,.2);display:flex;align-items:center;justify-content:center;font-size:1.4rem;flex-shrink:0}
.feature-icon{font-size:1.6rem;margin-bottom:.75rem}
.benefit-icon{font-size:1.8rem;margin-bottom:.75rem}

/* ----------------------------------------------------------------------
   GEO FAQ (all pages)
   ---------------------------------------------------------------------- */
.geo-faq{padding:4rem 1.5rem;background:var(--bg-secondary);border-top:1px solid var(--border-color)}
.geo-faq-inner{max-width:1000px;margin:0 auto}
.geo-faq h2{font-size:clamp(1.6rem,3vw,2.2rem);font-weight:800;text-align:center;margin-bottom:2.5rem;color:var(--text-primary)}
.geo-faq-list{display:grid;gap:1.2rem}
.geo-faq-item{background:var(--bg-card);border:1px solid var(--border-color);border-radius:14px;padding:1.6rem 1.8rem;transition:all .25s}
.geo-faq-item:hover{border-color:var(--accent)}
.geo-faq-item h3{font-size:1.05rem;font-weight:700;color:var(--text-primary);margin-bottom:.8rem;line-height:1.4}
.geo-faq-item p{font-size:.95rem;color:var(--text-secondary);line-height:1.7;margin:0}
.geo-faq-cta{text-align:center;margin-top:2.5rem}

/* ----------------------------------------------------------------------
   FAQ items (accordion style)
   ---------------------------------------------------------------------- */
.faq-item{background:var(--bg-card);border:1px solid var(--border-color);border-radius:14px;margin-bottom:1rem;overflow:hidden}
.faq-question,.faq-q{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.2rem 1.5rem;cursor:pointer;font-weight:600;color:var(--text-primary)}
.faq-icon{width:28px;height:28px;border-radius:50%;background:rgba(107,78,230,.1);color:var(--accent);display:flex;align-items:center;justify-content:center;font-size:.9rem;flex-shrink:0}
.faq-chevron{transition:transform .3s;color:var(--text-muted)}
.faq-answer,.faq-a,.faq-answer-inner{padding:0 1.5rem 1.5rem;color:var(--text-secondary);line-height:1.7;font-size:.95rem}

/* ----------------------------------------------------------------------
   Product module sections
   ---------------------------------------------------------------------- */
.module-section{background:var(--bg-card);border:1px solid var(--border-color);border-radius:18px;padding:2rem;margin:0 2rem 2rem;max-width:1200px;margin-left:auto;margin-right:auto}
.module-title{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem;flex-wrap:wrap}
.module-icon{width:48px;height:48px;border-radius:12px;background:linear-gradient(135deg,var(--accent),var(--accent-2));display:flex;align-items:center;justify-content:center;font-size:1.5rem;color:#fff}
.module-title h3{font-size:1.4rem;font-weight:700;color:var(--text-primary);margin:0}
.module-title p{flex-basis:100%;color:var(--text-secondary);font-size:.95rem;margin:.5rem 0 0}
.module-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1rem}
.module-feature{padding:1.2rem;background:var(--bg-primary);border:1px solid var(--border-color);border-radius:12px}
.module-feature h4{font-size:.95rem;font-weight:700;margin:.5rem 0;color:var(--text-primary)}
.module-feature p{font-size:.85rem;color:var(--text-secondary);line-height:1.5;margin:0}
.mf-icon{width:36px;height:36px;border-radius:8px;background:rgba(107,78,230,.1);display:flex;align-items:center;justify-content:center;font-size:1.1rem;margin-bottom:.5rem}

/* ----------------------------------------------------------------------
   Agent platform
   ---------------------------------------------------------------------- */
.agent-platform{max-width:1200px;margin:0 auto;display:grid;gap:1.5rem}
.ap-row{display:grid;grid-template-columns:200px 1fr;gap:1.5rem;background:var(--bg-card);border:1px solid var(--border-color);border-radius:16px;padding:1.5rem}
.ap-label{font-weight:700;color:var(--accent);font-size:.95rem}
.ap-features{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1rem}
.ap-feat{display:flex;align-items:flex-start;gap:.75rem;padding:1rem;background:var(--bg-primary);border:1px solid var(--border-color);border-radius:12px}
.apf-icon{width:32px;height:32px;border-radius:8px;background:rgba(107,78,230,.1);display:flex;align-items:center;justify-content:center;font-size:1rem;color:var(--accent);flex-shrink:0}
.ap-feat h5{font-size:.9rem;font-weight:700;color:var(--text-primary);margin:0 0 .25rem}
.ap-feat p{font-size:.8rem;color:var(--text-secondary);line-height:1.5;margin:0}
@media (max-width:768px){.ap-row{grid-template-columns:1fr}}

/* ----------------------------------------------------------------------
   Agent cards
   ---------------------------------------------------------------------- */
.agent-tag{display:inline-block;padding:.25rem .6rem;background:rgba(107,78,230,.1);border:1px solid rgba(107,78,230,.2);border-radius:100px;font-size:.75rem;color:var(--accent);font-weight:500}
.agent-card{background:var(--bg-card);border:1px solid var(--border-color);border-radius:16px;padding:1.5rem;transition:all .25s}
.agent-head{display:flex;align-items:center;gap:1rem;margin-bottom:1rem}
.agent-badge{width:44px;height:44px;border-radius:12px;background:linear-gradient(135deg,var(--accent),var(--accent-2));display:flex;align-items:center;justify-content:center;font-size:1.4rem}
.agent-title{font-size:1.1rem;font-weight:700;color:var(--text-primary);margin:0}
.agent-subtitle{font-size:.85rem;color:var(--text-secondary);margin:0}
.agent-tags{display:flex;gap:.5rem;flex-wrap:wrap;margin:1rem 0}
.agent-output{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:10px;padding:1rem}
.agent-output-label{font-size:.75rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.5px;margin-bottom:.5rem}
.agent-output-content{font-size:.9rem;color:var(--text-secondary);line-height:1.6}
.agent-node{display:flex;align-items:center;gap:1rem;padding:1rem;background:var(--bg-card);border:1px solid var(--border-color);border-radius:12px}

/* ----------------------------------------------------------------------
   Industry cards
   ---------------------------------------------------------------------- */
.industry-head{display:flex;align-items:center;gap:1rem;margin-bottom:1rem}
.industry-icon{width:48px;height:48px;border-radius:12px;background:rgba(107,78,230,.1);display:flex;align-items:center;justify-content:center;font-size:1.5rem}
.industry-title{font-size:1.2rem;font-weight:700;color:var(--text-primary)}
.industry-metric{font-size:.85rem;color:var(--text-muted);margin-top:.25rem}

/* ----------------------------------------------------------------------
   Case metrics
   ---------------------------------------------------------------------- */
.case-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:1rem;margin-top:1.5rem}
.case-metric{text-align:center;padding:1rem;background:var(--bg-primary);border:1px solid var(--border-color);border-radius:12px}
.case-metric-value{font-size:1.6rem;font-weight:800;color:var(--accent);display:block}
.case-metric-label{font-size:.8rem;color:var(--text-secondary);margin-top:.25rem}
.case-label{display:inline-block;padding:.3rem .8rem;background:rgba(107,78,230,.1);border:1px solid rgba(107,78,230,.2);border-radius:100px;font-size:.75rem;color:var(--accent);margin-bottom:.75rem}
.case-tag{display:inline-block;padding:.25rem .6rem;background:var(--bg-primary);border:1px solid var(--border-color);border-radius:100px;font-size:.75rem;color:var(--text-secondary)}
.case-stat{font-size:1.4rem;font-weight:700;color:var(--text-primary)}
.case-result{padding:1rem;background:rgba(16,185,129,.1);border:1px solid rgba(16,185,129,.2);border-radius:12px;color:var(--text-secondary);font-size:.9rem}
.case-row{display:flex;justify-content:space-between;align-items:center;padding:1rem;border-bottom:1px solid var(--border-color)}
.case-row-label{color:var(--text-secondary);font-size:.9rem}
.case-row-value{font-weight:600;color:var(--text-primary)}

/* ----------------------------------------------------------------------
   Stats
   ---------------------------------------------------------------------- */
.stat-value{font-size:2rem;font-weight:800;color:var(--accent)}
.stat-bar{height:4px;background:var(--border-color);border-radius:2px;overflow:hidden;margin:.5rem 0}
.hero-stat{text-align:center;padding:1rem}
.hero-stat-value{font-size:2rem;font-weight:800;color:var(--accent);display:block}
.hero-stat-label{font-size:.85rem;color:var(--text-secondary)}
.quick-stat,.region-stat{text-align:center;padding:1rem;background:var(--bg-card);border:1px solid var(--border-color);border-radius:12px}
.region-card{padding:1.5rem;background:var(--bg-card);border:1px solid var(--border-color);border-radius:14px}

/* ----------------------------------------------------------------------
   Model / price
   ---------------------------------------------------------------------- */
.model-row{display:grid;grid-template-columns:2fr 1fr 1fr;align-items:center;gap:1rem;padding:1rem;border-bottom:1px solid var(--border-color)}
.model-row-label{color:var(--text-secondary);font-size:.9rem}
.model-row-value{font-weight:600;color:var(--text-primary)}
.model-card{padding:1.5rem}
.model-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem}
.model-name{font-size:1.1rem;font-weight:700;color:var(--text-primary)}
.model-vendor{font-size:.8rem;color:var(--text-muted)}
.model-tag{display:inline-block;padding:.2rem .5rem;background:var(--bg-primary);border:1px solid var(--border-color);border-radius:6px;font-size:.75rem;color:var(--text-secondary)}
.price{font-size:1.8rem;font-weight:800;color:var(--accent)}

/* ----------------------------------------------------------------------
   Careers
   ---------------------------------------------------------------------- */
.position-tag{display:inline-block;padding:.25rem .6rem;background:rgba(107,78,230,.1);border:1px solid rgba(107,78,230,.2);border-radius:100px;font-size:.75rem;color:var(--accent)}
.position-card{background:var(--bg-card);border:1px solid var(--border-color);border-radius:14px;padding:1.5rem;margin-bottom:1rem}
.position-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem;flex-wrap:wrap;gap:.5rem}
.position-title{font-size:1.1rem;font-weight:700;color:var(--text-primary)}
.position-dept{font-size:.85rem;color:var(--text-muted)}
.position-desc{color:var(--text-secondary);font-size:.9rem;line-height:1.6;margin-bottom:1rem}
.position-tags{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:1rem}
.position-meta{display:flex;gap:1.5rem;flex-wrap:wrap}
.position-meta-item{font-size:.85rem;color:var(--text-secondary);display:flex;align-items:center;gap:.3rem}
.benefit-header{display:flex;align-items:center;gap:1rem;margin-bottom:1rem}
.step-number{width:36px;height:36px;border-radius:50%;background:linear-gradient(135deg,var(--accent),var(--accent-2));display:flex;align-items:center;justify-content:center;font-weight:700;color:#fff}
.process-label{font-size:.9rem;color:var(--text-secondary);margin-top:.5rem}
.step-arrow{font-size:1.5rem;color:var(--accent);text-align:center}

/* ----------------------------------------------------------------------
   Timeline
   ---------------------------------------------------------------------- */
.timeline-item{position:relative;padding-left:2rem;padding-bottom:2rem;border-left:2px solid var(--border-color)}
.timeline-dot{position:absolute;left:-7px;top:0;width:12px;height:12px;border-radius:50%;background:var(--accent)}
.timeline-content{padding:1rem;background:var(--bg-card);border:1px solid var(--border-color);border-radius:12px}
.timeline-year{font-size:.8rem;color:var(--accent);font-weight:700;margin-bottom:.25rem}
.timeline-date{font-size:.8rem;color:var(--text-muted)}
.timeline-title{font-size:1rem;font-weight:700;color:var(--text-primary);margin:.25rem 0}
.timeline-desc{font-size:.9rem;color:var(--text-secondary);line-height:1.6}

/* ----------------------------------------------------------------------
   Investor relations
   ---------------------------------------------------------------------- */
.ratio-tag{display:inline-block;padding:.25rem .6rem;background:rgba(107,78,230,.1);border-radius:100px;font-size:.75rem;color:var(--accent)}
.board-member{background:var(--bg-card);border:1px solid var(--border-color);border-radius:14px;padding:1.5rem}
.board-member-header{display:flex;align-items:center;gap:1rem;margin-bottom:1rem}
.board-member-name{font-size:1.1rem;font-weight:700;color:var(--text-primary)}
.board-member-pos{font-size:.85rem;color:var(--text-muted)}
.disclosure-item{padding:1rem;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;align-items:center;gap:1rem}
.mono{font-family:JetBrains Mono,monospace;font-size:.9rem}
.secondary{color:var(--text-secondary)}

/* ----------------------------------------------------------------------
   Page hero (sub-pages)
   ---------------------------------------------------------------------- */
.page-hero{position:relative;padding:9rem 1.5rem 5rem;background:radial-gradient(ellipse 80% 60% at 50% 0%,rgba(107,78,230,.15),transparent 60%),var(--bg-primary);text-align:center}
.page-hero-content{max-width:900px;margin:0 auto}
.hero-badge{display:inline-block;padding:.4rem 1rem;background:rgba(107,78,230,.1);border:1px solid rgba(107,78,230,.3);border-radius:100px;font-size:.8rem;color:var(--accent);font-weight:600;margin-bottom:1.5rem}
.hero-title{font-size:clamp(2rem,4vw,3.2rem);font-weight:800;color:var(--text-primary);margin-bottom:1rem}
.hero-desc{font-size:clamp(1rem,1.4vw,1.25rem);color:var(--text-secondary);max-width:680px;margin:0 auto;line-height:1.7}
.hero-line{width:60px;height:3px;background:linear-gradient(90deg,var(--accent),var(--accent-2));border-radius:2px;margin:1.5rem auto}

/* ----------------------------------------------------------------------
   Legal sections
   ---------------------------------------------------------------------- */
.legal-section{background:var(--bg-card);border:1px solid var(--border-color);border-radius:14px;padding:1.5rem;margin-bottom:1.5rem}
.legal-section-header{display:flex;align-items:center;gap:1rem;margin-bottom:1rem}
.legal-section-num{width:32px;height:32px;border-radius:50%;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.9rem}
.legal-section-title{font-size:1.1rem;font-weight:700;color:var(--text-primary)}
.legal-section-body{color:var(--text-secondary);line-height:1.7;font-size:.95rem}

/* ----------------------------------------------------------------------
   Old header/footer compatibility
   ---------------------------------------------------------------------- */
.site-header{position:fixed;top:0;left:0;right:0;z-index:1000;padding:1.1rem 2.5rem;background:color-mix(in srgb,var(--bg-primary) 85%,transparent);backdrop-filter:blur(24px);border-bottom:1px solid var(--border-color)}
.header-inner{max-width:1440px;margin:0 auto;display:flex;align-items:center;justify-content:space-between}
.header-actions{display:flex;align-items:center;gap:1rem}
.theme-toggle{background:transparent;border:1px solid var(--border-color);color:var(--text-secondary);padding:.5rem 1rem;border-radius:8px;cursor:pointer;font-size:.85rem}
.hamburger{display:none;flex-direction:column;gap:5px;background:transparent;border:none;cursor:pointer;padding:.5rem}
.hamburger span{width:24px;height:2px;background:var(--text-primary)}
.mobile-menu{display:none;position:absolute;top:100%;left:0;right:0;background:var(--bg-primary);border-bottom:1px solid var(--border-color);padding:1rem}
.mobile-menu.active{display:block}
.site-footer{background:var(--bg-secondary);border-top:1px solid var(--border-color);padding:4rem 1.5rem 2rem}
.footer-grid{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:2rem}
.footer-section{margin-bottom:1.5rem}
.footer-links{list-style:none;padding:0}
.footer-links li{margin-bottom:.5rem}
.footer-links a{color:var(--text-secondary);text-decoration:none;font-size:.9rem}
.footer-links a:hover{color:var(--text-primary)}
.footer-bottom-links{display:flex;gap:1.5rem;justify-content:center;flex-wrap:wrap;margin-top:1.5rem}
.footer-bottom-links a{color:var(--text-muted);text-decoration:none;font-size:.85rem}
.back-to-top{position:fixed;bottom:2rem;right:2rem;width:44px;height:44px;border-radius:50%;background:var(--bg-card);border:1px solid var(--border-color);color:var(--text-primary);display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:100}
.lang-btn{background:transparent;border:1px solid var(--border-color);color:var(--text-secondary);padding:.4rem .8rem;border-radius:6px;cursor:pointer;font-size:.85rem}
.lang-btn.active{background:var(--accent);color:#fff;border-color:var(--accent)}
@media (max-width:768px){.footer-grid{grid-template-columns:repeat(2,1fr)}.hamburger{display:flex}}

/* ----------------------------------------------------------------------
   Tags & buttons
   ---------------------------------------------------------------------- */
.tag{display:inline-block;padding:.25rem .6rem;background:var(--bg-primary);border:1px solid var(--border-color);border-radius:100px;font-size:.75rem;color:var(--text-secondary)}
.tag-blue{display:inline-block;padding:.25rem .6rem;background:rgba(59,130,246,.1);border:1px solid rgba(59,130,246,.2);border-radius:100px;font-size:.75rem;color:#60a5fa}
.cta-btn{display:inline-flex;align-items:center;justify-content:center;padding:.75rem 1.5rem;background:linear-gradient(135deg,var(--accent),var(--accent-2));color:#fff;border-radius:8px;text-decoration:none;font-weight:600;transition:all .2s}
.cta-btn:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(107,78,230,.3)}
.orange{color:#f97316}
.emerald{color:#10b981}

/* ----------------------------------------------------------------------
   KHB brain
   ---------------------------------------------------------------------- */
.brain-value-card{padding:1.5rem;background:var(--bg-card);border:1px solid var(--border-color);border-radius:14px}
.brain-value-icon{font-size:2rem;margin-bottom:.75rem}
.brain-value-tagline{font-size:.8rem;color:var(--accent);font-weight:600;margin-bottom:.25rem}
.brain-value-name{font-size:1.1rem;font-weight:700;color:var(--text-primary)}
.brain-value-desc{font-size:.9rem;color:var(--text-secondary);line-height:1.6;margin:.5rem 0}
.brain-value-meta{font-size:.8rem;color:var(--text-muted)}
.brain-pain-card{padding:1.5rem;background:var(--bg-card);border:1px solid var(--border-color);border-radius:14px}
.brain-pain-icon{font-size:1.6rem;margin-bottom:.75rem}
.brain-pain-name{font-size:1rem;font-weight:700;color:var(--text-primary);margin-bottom:.25rem}
.brain-pain-desc{font-size:.9rem;color:var(--text-secondary);line-height:1.6}
.brain-flow-step{text-align:center;padding:1rem}

/* ----------------------------------------------------------------------
   Qualifications / honors
   ---------------------------------------------------------------------- */
.honor-year{font-size:.85rem;color:var(--accent);font-weight:700;margin-bottom:.25rem}
.honor-icon{font-size:1.6rem;margin-bottom:.5rem}
.honor-title{font-size:1rem;font-weight:700;color:var(--text-primary)}
.honor-issuer{font-size:.85rem;color:var(--text-secondary)}
.cc-icon{font-size:2rem;margin-bottom:.75rem}
.gov-icon{font-size:1.8rem;margin-bottom:.75rem}

/* ----------------------------------------------------------------------
   Advantages
   ---------------------------------------------------------------------- */
.adv-card{background:var(--bg-card);border:1px solid var(--border-color);border-radius:14px;padding:1.5rem}
.adv-head{display:flex;align-items:center;gap:1rem;margin-bottom:1rem}
.adv-num{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,var(--accent),var(--accent-2));display:flex;align-items:center;justify-content:center;font-weight:700;color:#fff}

/* ----------------------------------------------------------------------
   Service / arch / chip / capability
   ---------------------------------------------------------------------- */
.service-card,.arch-card,.chip-card,.capability-card,.process-card,.tech-card{padding:1.5rem}
.service-icon,.service-title,.arch-title,.chip-name,.capability-card h4,.process-icon{font-size:1.1rem;font-weight:700;color:var(--text-primary);margin-bottom:.5rem}
.service-desc,.service-title+p,.arch-desc,.chip-use,.capability-card p,.tech-list{font-size:.9rem;color:var(--text-secondary);line-height:1.6}
.brain-section{padding:4rem 1.5rem}
.chip-type{font-size:.75rem;color:var(--text-muted);margin:.25rem 0}
.arch-layer{margin-bottom:1rem}
.arch-details{font-size:.85rem;color:var(--text-muted);margin-top:.5rem}
.tech-list{list-style:none;padding:0}
.tech-list li{padding:.4rem 0;border-bottom:1px solid var(--border-color)}
.usecase-icon{font-size:1.5rem;margin-bottom:.5rem}

/* ----------------------------------------------------------------------
   Tech items / feature grid / value labels
   ---------------------------------------------------------------------- */
.tech-item{display:flex;align-items:center;gap:.75rem;padding:1rem;background:var(--bg-card);border:1px solid var(--border-color);border-radius:12px}
.tech-dot{width:8px;height:8px;border-radius:50%;background:var(--accent)}
.value{font-size:1.5rem;font-weight:800;color:var(--text-primary)}
.label{font-size:.85rem;color:var(--text-secondary)}
.value-icon{font-size:1.6rem;margin-bottom:.75rem}
.feature-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1rem}
.desc{color:var(--text-secondary);line-height:1.7}

/* ----------------------------------------------------------------------
   Process / steps
   ---------------------------------------------------------------------- */
.process-num{font-size:.8rem;color:var(--accent);font-weight:700}
.process-container{position:relative}
.process-line{height:2px;background:var(--border-color);position:absolute;top:18px;left:0;right:0;z-index:0}
.process-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1rem;position:relative;z-index:1}
.step-arrow{display:flex;align-items:center;justify-content:center;color:var(--accent);font-size:1.5rem}

/* ----------------------------------------------------------------------
   Icons
   ---------------------------------------------------------------------- */
.chip-icon{font-size:1.5rem;margin-bottom:.5rem}
.cross-icon{color:#ef4444;font-weight:700}
.tri-icon{color:#f97316;font-weight:700}
.training-num{width:32px;height:32px;border-radius:50%;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.85rem}
.timeline-dot-inner{width:6px;height:6px;border-radius:50%;background:#fff}

/* ----------------------------------------------------------------------
   Model section (ai-compute)
   ---------------------------------------------------------------------- */
.model-section{margin-bottom:3rem}
.model-category{font-size:1.4rem;font-weight:700;color:var(--text-primary);margin-bottom:1rem}
.pricing-table{width:100%;border-collapse:collapse;margin-top:1rem}
.pricing-table th,.pricing-table td{padding:1rem;border-bottom:1px solid var(--border-color);text-align:left}
.pricing-table th{color:var(--text-muted);font-size:.85rem;font-weight:600}
.cta-btn-outline{display:inline-flex;align-items:center;justify-content:center;padding:.75rem 1.5rem;background:transparent;border:2px solid var(--accent);color:var(--accent);border-radius:8px;text-decoration:none;font-weight:600;transition:all .2s}
.cta-btn-outline:hover{background:var(--accent);color:#fff}
.badge-green{display:inline-block;padding:.25rem .6rem;background:rgba(16,185,129,.1);border:1px solid rgba(16,185,129,.2);border-radius:100px;font-size:.75rem;color:#10b981}
.badge-violet{display:inline-block;padding:.25rem .6rem;background:rgba(107,78,230,.1);border:1px solid rgba(107,78,230,.2);border-radius:100px;font-size:.75rem;color:var(--accent)}
.grid-5{display:grid;grid-template-columns:repeat(5,1fr);gap:1rem}
.overflow-x{overflow-x:auto}

/* ----------------------------------------------------------------------
   CTA blocks
   ---------------------------------------------------------------------- */
.cta-inner{max-width:900px;margin:0 auto;text-align:center;padding:3rem 1.5rem}
.cta-icon{font-size:2.5rem;margin-bottom:1rem}
.cta-actions{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;margin-top:1.5rem}
.cta-link{color:var(--accent);text-decoration:none;font-weight:600}
.cta-email-box{padding:1.5rem;background:var(--bg-card);border:1px solid var(--border-color);border-radius:14px}
.cta-email-links{display:flex;gap:1rem;flex-wrap:wrap;justify-content:center}
.cta-email-divider{width:1px;background:var(--border-color)}
.cta-email-label{font-size:.8rem;color:var(--text-muted);margin-bottom:.25rem}
.cta-email-link{color:var(--text-primary);text-decoration:none;font-weight:600}
.cta-format-section{margin-top:1.5rem}
.cta-format{font-size:.9rem;color:var(--text-secondary)}

/* ----------------------------------------------------------------------
   Comparison / pricing
   ---------------------------------------------------------------------- */
.comparison-card{background:var(--bg-card);border:1px solid var(--border-color);border-radius:14px;padding:1.5rem}
.comparison-list{list-style:none;padding:0;margin:1rem 0}
.comparison-list li{padding:.5rem 0;border-bottom:1px solid var(--border-color);display:flex;align-items:center;gap:.5rem}
.pricing-card{background:var(--bg-card);border:1px solid var(--border-color);border-radius:14px;padding:1.5rem;text-align:center}
.price-period{font-size:.85rem;color:var(--text-secondary)}
.price-original{text-decoration:line-through;color:var(--text-muted);font-size:.9rem}

/* ----------------------------------------------------------------------
   Filters / info cards
   ---------------------------------------------------------------------- */
.filter-btn{padding:.5rem 1rem;background:var(--bg-card);border:1px solid var(--border-color);border-radius:8px;color:var(--text-secondary);cursor:pointer;font-size:.85rem}
.filter-btn.active{background:var(--accent);color:#fff;border-color:var(--accent)}
.info-card{background:var(--bg-card);border:1px solid var(--border-color);border-radius:14px;padding:1.5rem}
.info-card-header{font-size:.85rem;color:var(--text-muted);margin-bottom:.5rem}
.info-card-value{font-size:1.5rem;font-weight:800;color:var(--text-primary)}
.info-banner-item{text-align:center;padding:1rem}
.info-banner-label{font-size:.8rem;color:var(--text-muted)}
.info-banner-value{font-size:1.3rem;font-weight:700;color:var(--text-primary)}

/* ----------------------------------------------------------------------
   Brain flow
   ---------------------------------------------------------------------- */
.brain-flow-num{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,var(--accent),var(--accent-2));display:flex;align-items:center;justify-content:center;font-weight:700;color:#fff;margin-bottom:.75rem}
.brain-flow-icon{font-size:1.6rem;margin-bottom:.5rem}
.brain-flow-name{font-size:1rem;font-weight:700;color:var(--text-primary)}
.brain-flow-desc{font-size:.85rem;color:var(--text-secondary);line-height:1.5}
.brain-head{font-size:clamp(1.6rem,3vw,2.2rem);font-weight:800;color:var(--text-primary);margin-bottom:1rem}
.brain-section-tag{font-size:.8rem;color:var(--accent);font-weight:600;margin-bottom:.5rem}
.brain-section-title{font-size:1.4rem;font-weight:700;color:var(--text-primary);margin-bottom:.5rem}
.brain-section-subtitle{font-size:.95rem;color:var(--text-secondary)}
.brain-cta{display:flex;gap:1rem;flex-wrap:wrap;margin-top:1.5rem}
.brain-slogan-pill{display:inline-block;padding:.4rem 1rem;background:rgba(107,78,230,.1);border:1px solid rgba(107,78,230,.2);border-radius:100px;font-size:.85rem;color:var(--accent);margin-bottom:1rem}
.brain-inner{max-width:1200px;margin:0 auto;padding:0 1.5rem}
.ghost{opacity:.5}

/* ----------------------------------------------------------------------
   Target / job / tabs
   ---------------------------------------------------------------------- */
.target-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}
.target-card{background:var(--bg-card);border:1px solid var(--border-color);border-radius:14px;padding:1.5rem}
.target-card-header{display:flex;align-items:center;gap:1rem;margin-bottom:1rem}
.target-icon{font-size:1.6rem}
.positions-grid{display:grid;gap:1rem}
.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}
.tabs{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:1.5rem}
.tab-btn{padding:.5rem 1rem;background:var(--bg-card);border:1px solid var(--border-color);border-radius:8px;color:var(--text-secondary);cursor:pointer;font-size:.85rem}
.tab-btn.active{background:var(--accent);color:#fff;border-color:var(--accent)}
.tab-content{display:none}
.tab-content.active{display:block}
.jobs-list{display:grid;gap:1rem}
.job-card{background:var(--bg-card);border:1px solid var(--border-color);border-radius:14px;padding:1.5rem}
.job-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem;flex-wrap:wrap;gap:.5rem}
.job-header-top{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.job-title-row{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.job-title{font-size:1.1rem;font-weight:700;color:var(--text-primary)}
.job-meta{display:flex;gap:1rem;flex-wrap:wrap;font-size:.85rem;color:var(--text-secondary)}
.job-info{margin-top:1rem}
.job-body-section{margin-top:1.5rem}
.cta-email{text-align:center;margin-top:1.5rem}

/* ----------------------------------------------------------------------
   Tables
   ---------------------------------------------------------------------- */
.table-wrapper{overflow-x:auto;margin:1.5rem 0}
.data-table{width:100%;border-collapse:collapse}
.data-table th,.data-table td{padding:.75rem 1rem;border-bottom:1px solid var(--border-color);text-align:left;font-size:.9rem}
.data-table th{color:var(--text-muted);font-weight:600}

/* ----------------------------------------------------------------------
   Board / contact
   ---------------------------------------------------------------------- */
.board-section-header{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem}
.board-icon{font-size:1.6rem}
.board-section-title{font-size:1.3rem;font-weight:700;color:var(--text-primary)}
.board-list{display:grid;gap:1rem}
.board-member-pos-muted{font-size:.85rem;color:var(--text-muted)}
.cta-contact-card{display:flex;align-items:center;gap:1rem;padding:1rem;background:var(--bg-card);border:1px solid var(--border-color);border-radius:12px}
.cta-contact-icon{font-size:1.5rem}
.cta-contact-label{font-size:.8rem;color:var(--text-muted)}
.cta-contact-value{font-size:1rem;font-weight:600;color:var(--text-primary)}

/* ----------------------------------------------------------------------
   Legal page extras
   ---------------------------------------------------------------------- */
.legal-content{max-width:900px;margin:0 auto;padding:6rem 1.5rem 4rem}
.legal-header{text-align:center;margin-bottom:3rem}
.legal-label{font-size:.8rem;color:var(--accent);font-weight:600;margin-bottom:.5rem}
.legal-title{font-size:clamp(1.8rem,4vw,2.8rem);font-weight:800;color:var(--text-primary)}
.legal-updated{font-size:.85rem;color:var(--text-muted);margin-top:1rem}
.toc{background:var(--bg-card);border:1px solid var(--border-color);border-radius:14px;padding:1.5rem;margin-bottom:2rem}
.toc-label{font-size:.85rem;color:var(--text-muted);font-weight:600;margin-bottom:1rem}
.contact-box{padding:1.5rem;background:var(--bg-card);border:1px solid var(--border-color);border-radius:14px;margin-top:2rem}

/* ----------------------------------------------------------------------
   About extras
   ---------------------------------------------------------------------- */
.about-responsibility{padding:4rem 1.5rem;background:var(--bg-secondary)}
.resp-card{background:var(--bg-card);border:1px solid var(--border-color);border-radius:14px;padding:1.5rem}
.resp-icon{font-size:1.6rem;margin-bottom:.75rem}
.timeline{position:relative;max-width:900px;margin:0 auto}
.adv-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem}

/* ----------------------------------------------------------------------
   Agent grid
   ---------------------------------------------------------------------- */
.agent-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem}
.hero-stats{display:flex;gap:1.5rem;justify-content:center;flex-wrap:wrap;margin-top:1.5rem}
.section-badge{display:inline-block;padding:.3rem .8rem;background:rgba(107,78,230,.1);border:1px solid rgba(107,78,230,.2);border-radius:100px;font-size:.75rem;color:var(--accent);margin-bottom:1rem}
.benefits-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}
.top-bar{padding:.5rem 0;background:var(--bg-secondary);text-align:center;font-size:.85rem;color:var(--text-secondary)}

/* ----------------------------------------------------------------------
   Case study extras
   ---------------------------------------------------------------------- */
.case-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;flex-wrap:wrap;gap:1rem}
.case-logo{font-size:1.3rem;font-weight:700;color:var(--text-primary)}
.case-stats{display:flex;gap:1.5rem;flex-wrap:wrap}
.case-tags{display:flex;gap:.5rem;flex-wrap:wrap}
.quick-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:1rem;margin-top:1.5rem}
.subtitle{font-size:1rem;color:var(--text-secondary);text-align:center;max-width:700px;margin:0 auto 2rem}
.faq-list{display:grid;gap:1rem;margin-top:1.5rem}

/* ----------------------------------------------------------------------
   Training / culture / honor
   ---------------------------------------------------------------------- */
.training-card{background:var(--bg-card);border:1px solid var(--border-color);border-radius:14px;padding:1.5rem}
.culture-card{background:var(--bg-card);border:1px solid var(--border-color);border-radius:14px;padding:1.5rem;text-align:center}
.honor-cat-card{background:var(--bg-card);border:1px solid var(--border-color);border-radius:14px;padding:1.5rem}

/* ----------------------------------------------------------------------
   Misc helpers
   ---------------------------------------------------------------------- */
.cta-title{font-size:clamp(1.6rem,3vw,2.2rem);font-weight:800;color:var(--text-primary);margin-bottom:1rem}
.cta-desc{font-size:1rem;color:var(--text-secondary);margin-bottom:1.5rem}
.b{font-weight:700}

/* =============================================================================
   MISSING CLASS RECOVERY — auto-added to fix layout breakage across pages
   ============================================================================= */

/* Service titles (ai-compute) */
.service-title{font-size:1.1rem;font-weight:700;color:var(--text-primary);margin-bottom:.5rem}

/* KHB brain page English/TW variants */
.brain-hero{padding:8rem 1.5rem 4rem;background:radial-gradient(ellipse 80% 60% at 50% 0%,rgba(107,78,230,.15),transparent 60%),var(--bg-primary);text-align:center}
.brain-hero-content{max-width:900px;margin:0 auto}
.brain-badge{display:inline-block;padding:.4rem 1rem;background:rgba(107,78,230,.1);border:1px solid rgba(107,78,230,.3);border-radius:100px;font-size:.8rem;color:var(--accent);font-weight:600;margin-bottom:1rem}
.dot{width:8px;height:8px;border-radius:50%;background:var(--accent);display:inline-block}
.brain-title{font-size:clamp(2rem,4vw,3.2rem);font-weight:800;color:var(--text-primary);margin-bottom:1rem}
.brain-desc{font-size:clamp(1rem,1.4vw,1.25rem);color:var(--text-secondary);max-width:680px;margin:0 auto;line-height:1.7}
.brain-slogan-row{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;margin-top:1.5rem}
.brain-pain-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem}
.brain-section-alt{padding:4rem 1.5rem;background:var(--bg-secondary)}
.brain-value-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem}
.brain-flow-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1rem}
.brain-final-cta{text-align:center;padding:4rem 1.5rem;background:var(--bg-secondary)}
.brain-final-title{font-size:clamp(1.6rem,3vw,2.2rem);font-weight:800;color:var(--text-primary);margin-bottom:1rem}
.brain-final-sub{font-size:1rem;color:var(--text-secondary);margin-bottom:1.5rem}
.brain-compliance{text-align:center;font-size:.85rem;color:var(--text-muted);margin-top:1.5rem}

/* Careers / jobs */
.job-dept{font-size:.85rem;color:var(--text-muted)}
.job-chevron{font-size:1.2rem;color:var(--text-muted);transition:transform .3s}
.job-desc{color:var(--text-secondary);font-size:.9rem;line-height:1.6;margin:.5rem 0}
.job-body{color:var(--text-secondary);font-size:.9rem;line-height:1.6}
.nice{color:var(--accent);font-weight:600}
.culture-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}

/* Compute export */
.badge-yellow{display:inline-block;padding:.25rem .6rem;background:rgba(245,158,11,.1);border:1px solid rgba(245,158,11,.2);border-radius:100px;font-size:.75rem;color:#f59e0b}

/* GEO optimization pricing */
.recommended,.popular{border:2px solid var(--accent);position:relative}
.popular-badge{position:absolute;top:-12px;left:50%;transform:translateX(-50%);background:var(--accent);color:#fff;font-size:.75rem;padding:.25rem .8rem;border-radius:100px}
.tag-amber{display:inline-block;padding:.25rem .6rem;background:rgba(245,158,11,.1);border:1px solid rgba(245,158,11,.2);border-radius:100px;font-size:.75rem;color:#f59e0b}

/* Honors page */
.content-section{padding:5rem 1.5rem}
.content-inner{max-width:1200px;margin:0 auto}
.section-intro{font-size:1rem;color:var(--text-secondary);text-align:center;max-width:700px;margin:0 auto 2.5rem;line-height:1.7}
.filter-group{display:flex;gap:.5rem;flex-wrap:wrap;justify-content:center;margin-bottom:2rem}
.cards-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem}
.honor-card-bg{background:var(--bg-card);border:1px solid var(--border-color);border-radius:14px;overflow:hidden}
.honor-card-content{padding:1.5rem}
.honor-card-header{display:flex;align-items:center;gap:1rem;margin-bottom:1rem}
.honor-card-icon{font-size:1.6rem}
.honor-card-title{font-size:1.1rem;font-weight:700;color:var(--text-primary)}
.honor-card-issuer{font-size:.85rem;color:var(--text-secondary)}
.honor-categories{margin-top:2rem}

/* Industries */
.industry-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.5rem}

/* Investor relations */
.hero-en{font-size:.9rem;color:var(--accent);font-weight:600;letter-spacing:1px;text-transform:uppercase;margin-bottom:1rem}
.hero-code{font-family:JetBrains Mono,monospace;font-size:.85rem;color:var(--text-muted);background:var(--bg-card);padding:.25rem .6rem;border-radius:6px}
.info-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-top:2rem}
.info-banner{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1rem;background:var(--bg-card);border:1px solid var(--border-color);border-radius:14px;padding:1.5rem;margin:2rem 0}
.info-banner-divider{width:1px;background:var(--border-color)}
.timeline-line{position:absolute;left:7px;top:0;bottom:0;width:2px;background:var(--border-color)}
.timeline-items{position:relative;padding-left:2rem}
.primary{color:var(--accent)}
.board-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.5rem}
.disclosure-box{background:var(--bg-card);border:1px solid var(--border-color);border-radius:14px;padding:1.5rem}
.cta-contact-box{background:var(--bg-card);border:1px solid var(--border-color);border-radius:14px;padding:1.5rem}
.cta-contact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}

/* Products */
.alt{background:var(--bg-secondary)}
.ap-mcp{display:flex;align-items:flex-start;gap:1rem;padding:1rem;background:var(--bg-card);border:1px solid var(--border-color);border-radius:12px}

/* Qualifications */
.copyright-section{padding:4rem 1.5rem;background:var(--bg-secondary)}
.honor-section{padding:4rem 1.5rem}
.gov-honor{background:var(--bg-card);border:1px solid var(--border-color);border-radius:14px;padding:1.5rem}
.gov-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.5rem}
.highlight-gov{border:2px solid var(--accent);background:rgba(107,78,230,.05)}

/* About EN/TW variants */
.timeline-section{padding:4rem 1.5rem;background:var(--bg-secondary)}
.about-values{padding:4rem 1.5rem}
.value-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}
.resp-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem}
.section-subhead{font-size:1rem;color:var(--text-secondary);text-align:center;max-width:700px;margin:0 auto 2.5rem;line-height:1.7}

/* Agents EN/TW */
.agent-section{padding:4rem 1.5rem}

/* Index EN/TW */
.hero-visual{position:relative;max-width:800px;margin:2rem auto 0}
.hero-visual .node-1,.hero-visual .node-2,.hero-visual .node-3,.hero-visual .node-4,.hero-visual .node-5,.hero-visual .node-6{position:absolute;width:60px;height:60px;border-radius:50%;background:var(--bg-card);border:1px solid var(--border-color);display:flex;align-items:center;justify-content:center;font-size:1.4rem;box-shadow:0 12px 32px rgba(0,0,0,.12)}
.hero-visual .node-1{top:0;left:20%}
.hero-visual .node-2{top:10%;right:20%}
.hero-visual .node-3{top:40%;left:5%}
.hero-visual .node-4{top:45%;right:5%}
.hero-visual .node-5{bottom:10%;left:25%}
.hero-visual .node-6{bottom:5%;right:25%}
.agent-center{max-width:800px;margin:0 auto;background:var(--bg-card);border:1px solid var(--border-color);border-radius:18px;padding:1.5rem;display:flex;gap:1rem;align-items:center}
.agent-center-label{font-size:.9rem;color:var(--text-secondary);white-space:nowrap}
.agent-center-input{flex:1;padding:.75rem 1rem;background:var(--bg-primary);border:1px solid var(--border-color);border-radius:8px;color:var(--text-primary);font-size:.95rem}
@media (max-width:768px){.agent-center{flex-direction:column;align-items:stretch}.hero-visual .node-1,.hero-visual .node-2,.hero-visual .node-3,.hero-visual .node-4,.hero-visual .node-5,.hero-visual .node-6{position:static;display:inline-flex;margin:.25rem}}
