/*
Theme Name: StablEdge
Theme URI: https://stbledge.com
Author: wuzejian
Author URI: https://stbledge.com
Description: AI Agent & AI Flow SaaS 企业级官网主题，含 WebGL 双摆背景、Three.js 线框动画、毛玻璃网格特效。所有文案、颜色、动效参数均可在「外观 → 自定义」中修改。
Version: 1.4.8
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stbledge
Tags: one-page, custom-colors, custom-logo, custom-menu, threaded-comments
*/

/* ── CSS Custom Properties (overridden by Customizer via inline style) ── */

:root {
    --bg-light: #f9fbf9;
    --text-dark: #111111;
    --text-muted: #888888;
    --dark-section: #2a2a2c;
    --accent-green: #a8d5ba;
}

@font-face {
    font-family: 'Alibaba PuHuiTi';
    src: url('https://cdn.jsdelivr.net/npm/alibabapuhuiti-3-55-regular@1.0.0/AlibabaPuHuiTi-3-55-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'JetBrains Mono', Consolas, 'SF Mono', 'Fira Code', 'Cascadia Code', 'Microsoft YaHei', 'PingFang SC', 'Noto Sans SC', 'Heiti SC', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: 100vh;
}

body.home {
    background-color: #010208;
}

#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

/* ── Navigation ── */

nav.site-nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 4.5rem;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.0125rem;
    line-height: 1;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.09);
    transition: color 0.4s ease;
    box-sizing: border-box;
}

nav.site-nav.dark {
    color: var(--text-dark);
}

.nav-links {
    display: flex;
    align-items: center;
    align-self: stretch;
    gap: 2.5rem;
    height: 100%;
}

.nav-links a,
.logo {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    height: 100%;
    line-height: 1;
}

.nav-links a:hover {
    opacity: 0.6;
}

.logo {
    display: flex;
    align-items: center;
    height: 1.75rem;
    position: relative;
}

.logo img {
    height: 100%;
    width: auto;
    transition: opacity 0.4s ease;
}

.logo .logo-dark {
    position: absolute;
    opacity: 0;
}

nav.site-nav.dark .logo-light { opacity: 0; }
nav.site-nav.dark .logo-dark  { opacity: 1; }

body.home nav.site-nav {
    color: #fff;
}

body.home nav.site-nav .logo-light {
    opacity: 1;
}

body.home nav.site-nav .logo-dark {
    opacity: 0;
}

body.home .nav-links a {
    color: #fff;
}

@media (max-width: 768px) {
    nav.site-nav {
        height: 3.5rem;
        padding: 0 1.25rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.75rem;
    }
}

/* ── Panels & Layout ── */

section {
    position: relative;
    width: 100vw;
    z-index: 1;
    padding: 48px;
}

.panel {
    height: 100vh;
    overflow: hidden;
}

/* ── Hero ── */

.hero {
    display: block;
    padding-top: 6.25rem;
}

.hero-left {
    z-index: 10;
    pointer-events: none;
}

.hero-left .panel-scroll {
    pointer-events: auto;
}

.hero h1 {
    font-size: 5.5vw;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.05em;
    position: relative;
    mix-blend-mode: difference;
    color: #ffffff;
    white-space: pre-wrap;
}

.hero-sub {
    margin-top: 24px;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,.5);
    mix-blend-mode: difference;
}

.cursor {
    font-weight: 300;
    animation: blink .6s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* ── Hero Grid ── */

.hero-grid {
    position: absolute;
    inset: 0;
    display: grid;
    z-index: 2;
    pointer-events: none;
}

.grid-cell {
    position: relative;
    border: 1px solid rgba(255,255,255,var(--grid-border-opacity, 0.04));
}

.grid-cell::after {
    content: '';
    position: absolute;
    inset: 0;
    backdrop-filter: blur(var(--grid-blur, 10px)) saturate(1.2);
    -webkit-backdrop-filter: blur(var(--grid-blur, 10px)) saturate(1.2);
    background: rgba(255,255,255,var(--grid-bg-opacity, 0.045));
    opacity: 0;
    transition: opacity 1.4s ease;
    pointer-events: none;
}

.grid-cell.blur::after {
    opacity: 1;
}

/* ── Hero News Cards ── */

.hero-right {
    z-index: 10;
    pointer-events: auto;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    scrollbar-width: none;
}

.hero-right::-webkit-scrollbar {
    display: none;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-card {
    display: block;
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
    padding: 24px 28px;
    text-decoration: none;
    color: #fff;
    position: relative;
    transition: background 0.3s, border-color 0.3s, transform 0.25s;
}

.news-card:hover {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.18);
    transform: translateX(4px);
}

.news-date {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,.35);
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.news-title {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}

.news-excerpt {
    font-size: 12px;
    line-height: 1.6;
    color: rgba(255,255,255,.4);
    font-weight: 400;
    padding-right: 28px;
}

.news-arrow {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: rgba(255,255,255,.2);
    transition: color 0.25s, right 0.25s;
}

.news-card:hover .news-arrow {
    color: rgba(255,255,255,.7);
    right: 20px;
}

/* ── Core Tech Section ── */

.content-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 8vh;
    padding-bottom: 8vh;
    background-color: var(--bg-light);
}

.content-left {
    max-width: 580px;
    pointer-events: auto;
}

.section-title {
    font-size: 3.4vw;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 32px;
}

.section-title span {
    color: #d0d0d0;
}

.section-desc {
    font-size: 13px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 48px;
    max-width: 90%;
    font-weight: 400;
}

.accordion {
    border-top: 1px solid #e0e0e0;
}

.accordion-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 24px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.accordion-item.active {
    color: var(--text-dark);
}

.accordion-item:not(.active) {
    color: #b0b0b0;
}

.accordion-title {
    font-size: 16px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 16px;
    letter-spacing: -0.02em;
}

.acc-number {
    font-size: 13px;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid currentColor;
    font-weight: 400;
}

.accordion-item.active .acc-number {
    background: var(--text-dark);
    color: #fff;
    border-color: var(--text-dark);
}

.accordion-icon {
    font-size: 24px;
    font-weight: 300;
}

.content-right {
    pointer-events: auto;
    width: 100%;
    height: 80vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.three-anim {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.92) translateY(10px);
    pointer-events: none;
}

.three-anim.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    z-index: 2;
}

/* ── Product Section (Screen 2) ── */

.product-section {
    background: #000000;
    color: #ffffff;
    padding: 5rem 3rem 3rem;
    overflow: hidden;
    position: relative;
}

.product-section__backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Figma Rectangle 1528: 顶部由 Hero 蓝过渡到黑，星星为小块 SVG 平铺 */
.product-section__gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: clamp(12rem, 22.55vw, 27.0625rem);
    background: linear-gradient(
        180deg,
        rgba(0, 119, 255, 0.38) 0%,
        rgba(0, 119, 255, 0.12) 35%,
        rgba(0, 0, 0, 0) 100%
    );
}

.product-header {
    position: relative;
    text-align: center;
    isolation: isolate;
}

/* 星星仅覆盖标题区，不超过「不卖工具」主标题底部（Figma） */
.product-header__stars {
    position: absolute;
    z-index: -1;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    top: -5rem;
    height: calc(100% + 5rem);
    overflow: hidden;
    background-image: url('img/product-stars.svg');
    background-repeat: repeat;
    background-size: 334px 223px;
    background-position: left top;
    opacity: 0.85;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
}

.product-inner {
    position: relative;
    z-index: 2;
    max-width: 87.5rem;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
}

.product-tag-box {
    position: relative;
    display: inline-block;
    max-width: 56rem;
    margin: 0 auto 1.5rem;
    padding: 0.65rem 2rem;
    background-color: rgba(110, 127, 152, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.product-tag-corner {
    position: absolute;
    width: 0.5rem;
    height: 0.5rem;
    border-color: rgba(255, 255, 255, 0.9);
    border-style: solid;
    pointer-events: none;
}

.product-tag-corner--tl {
    top: -1px;
    left: -1px;
    border-width: 1px 0 0 1px;
}

.product-tag-corner--tr {
    top: -1px;
    right: -1px;
    border-width: 1px 1px 0 0;
}

.product-tag-corner--bl {
    bottom: -1px;
    left: -1px;
    border-width: 0 0 1px 1px;
}

.product-tag-corner--br {
    bottom: -1px;
    right: -1px;
    border-width: 0 1px 1px 0;
}

.product-tag {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
    letter-spacing: 0.01em;
}

.product-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1.15;
    color: #ffffff;
}

.product-title-muted {
    color: #9D9D9D;
}

.product-title-rest {
    color: #ffffff;
}

.product-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.product-accordion {
    pointer-events: auto;
}

.product-accordion-item {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.product-accordion-item.active {
    border-top-color: #0077FF;
}

.product-accordion-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.product-accordion-head {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem 0;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 400;
    text-align: left;
    cursor: pointer;
    transition: color 0.3s ease;
    letter-spacing: -0.02em;
}

.product-accordion-item.active .product-accordion-head {
    color: #0077FF;
}

.product-acc-num {
    flex-shrink: 0;
    font-size: 0.875rem;
    width: 1.75rem;
    padding-top: 0.1rem;
}

.product-acc-title {
    flex: 1;
    line-height: 1.5;
}

.product-acc-toggle {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.6);
    line-height: 0;
}

.product-accordion-item.active .product-acc-toggle {
    color: #0077FF;
}

.acc-icon {
    display: block;
}

.acc-icon--up {
    display: none;
}

.product-accordion-item.active .acc-icon--down {
    display: none;
}

.product-accordion-item.active .acc-icon--up {
    display: block;
}

.product-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    padding-left: 2.75rem;
    padding-right: 3.5rem;
}

.product-accordion-item.active .product-accordion-body {
    opacity: 1;
    padding-bottom: 1.5rem;
}

.product-accordion-body p {
    font-size: 0.8125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
}

.product-diagram {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 24rem;
    pointer-events: auto;
}

.product-diagram-placeholder,
.product-diagram-svg {
    width: 100%;
    max-width: 36rem;
}

.product-diagram-art,
.product-diagram-svg img.product-diagram-art,
.product-diagram-placeholder svg,
.product-diagram-svg svg {
    width: 100%;
    height: auto;
    display: block;
}

.product-side-label {
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    white-space: nowrap;
    width: max-content;
    font-family: 'Actor', sans-serif;
    font-size: 3rem;
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: #9D9D9D;
}

@media (max-width: 900px) {
    .product-body {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-side-label {
        display: none;
    }
}

/* ── Results Section (Screen 3) — 完整样式见 css/results-screen.css + css/frame-grid.css ── */

.results-section {
    background-color: #000000;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.results-inner {
    position: relative;
    z-index: 3;
    max-width: 87.5rem;
    margin: 0 auto;
    height: 100%;
    min-height: 100vh;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.results-top-en {
    position: absolute;
    z-index: 3;
    top: var(--frame-inset-y-top, 7.5rem);
    left: var(--frame-inset-x, 8rem);
    margin: 0;
    padding: 1.5rem 0 0 1.5rem;
    font-family: 'Actor', sans-serif;
    font-size: 3rem;
    line-height: 1.2;
    color: #9D9D9D;
    letter-spacing: 0.01em;
}

.results-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 6rem;
    row-gap: 2rem;
    align-items: start;
    max-width: 72rem;
    margin: 0 auto;
    width: 100%;
    padding: 0 2rem;
}

.results-stat {
    text-align: center;
}

.results-stat-label {
    margin: 0 0 1.25rem;
    font-family: 'Alibaba PuHuiTi', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 1.5rem;
    line-height: 1.4;
    color: #9D9D9D;
    font-weight: 400;
}

.results-stat-value {
    margin: 0;
    font-family: 'Alibaba PuHuiTi', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.results-side {
    position: absolute;
    z-index: 3;
    left: var(--frame-inset-x, 8rem);
    bottom: var(--frame-inset-y-bottom, 7.5rem);
    padding: 0 0 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    pointer-events: none;
    font-family: 'Alibaba PuHuiTi', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.results-side-char {
    font-size: 3rem;
    line-height: 1.15;
    color: #ffffff;
}

.results-side-phrase {
    font-size: 3rem;
    line-height: 1.15;
    white-space: nowrap;
}

.results-side-highlight {
    color: #0077FF;
}

.results-side-suffix {
    color: #ffffff;
}

@media (max-width: 768px) {
    .results-top-en {
        top: var(--frame-inset-y-top, 4rem);
        left: var(--frame-inset-x, 1.5rem);
        padding: 1rem 0 0 1rem;
        font-size: 2rem;
    }

    .results-stats {
        grid-template-columns: 1fr;
        column-gap: 0;
        gap: 2.5rem;
    }

    .results-stat-label {
        font-size: 1.25rem;
    }

    .results-stat-value {
        font-size: 2.75rem;
    }

    .results-side {
        left: var(--frame-inset-x, 1.5rem);
        bottom: var(--frame-inset-y-bottom, 4rem);
        padding: 0 0 1rem 1rem;
    }

    .results-side-char,
    .results-side-phrase {
        font-size: 2rem;
    }
}

/* ── Contacts & Footer — 已迁移至 template-parts/contact-panel.php ── */

/* ══════════════════════════════════════════════════════════
   Single Post
   ══════════════════════════════════════════════════════════ */

body.single-post {
    overflow-y: auto;
    height: auto;
}

.post-hero {
    position: relative;
    height: 40vh;
    min-height: 320px;
    background: var(--dark-section) center/cover no-repeat;
    display: flex;
    align-items: flex-end;
    padding: 48px;
    overflow: hidden;
}

.post-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
    z-index: 1;
}

.post-hero-content {
    position: relative;
    z-index: 10;
    color: #fff;
    max-width: 800px;
}

.post-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.04em;
    margin-bottom: 16px;
}

.post-cat {
    background: rgba(255,255,255,0.12);
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 11px;
}

.post-hero h1 {
    font-size: clamp(28px, 4vw, 56px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: #fff;
}

.post-hero .hero-grid {
    z-index: 2;
}

/* Post Body */

.post-body {
    max-width: 780px;
    margin: 0 auto;
    padding: 64px 24px 80px;
}

.post-content {
    font-size: 15px;
    line-height: 1.9;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.post-content h2 {
    font-size: 24px;
    font-weight: 500;
    margin: 48px 0 16px;
    letter-spacing: -0.02em;
}

.post-content h3 {
    font-size: 20px;
    font-weight: 500;
    margin: 36px 0 12px;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content a {
    color: var(--text-dark);
    border-bottom: 1px solid var(--text-muted);
    text-decoration: none;
    transition: opacity 0.3s;
}

.post-content a:hover {
    opacity: 0.6;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 24px 0;
}

.post-content blockquote {
    border-left: 3px solid var(--text-muted);
    padding: 8px 24px;
    margin: 24px 0;
    color: var(--text-muted);
    font-style: italic;
}

.post-content pre {
    background: #f5f5f5;
    padding: 20px 24px;
    border-radius: 6px;
    overflow-x: auto;
    font-size: 13px;
    line-height: 1.6;
    margin: 24px 0;
}

.post-content code {
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
}

.post-content pre code {
    background: none;
    padding: 0;
}

.post-content ul,
.post-content ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.post-content li {
    margin-bottom: 8px;
}

/* Post Navigation */

.post-nav {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #e0e0e0;
    padding-top: 40px;
    margin-top: 60px;
    gap: 32px;
}

.post-nav-prev,
.post-nav-next {
    flex: 1;
    min-width: 0;
}

.post-nav-next {
    text-align: right;
}

.post-nav-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.post-nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.3s;
}

.post-nav a:hover {
    opacity: 0.6;
}

/* ══════════════════════════════════════════════════════════
   Company Page Template
   ══════════════════════════════════════════════════════════ */

body.page-template-page-company {
    overflow-y: auto;
    height: auto;
}

.company-page {
    --co-accent: #3b82f6;
    --co-accent-light: #60a5fa;
    --co-bg-dark: #0b0f1a;
    --co-bg-dark-2: #111827;
    --co-text-muted: rgba(255,255,255,0.55);
    --co-border: rgba(255,255,255,0.08);
}

.co-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero */

.co-hero {
    min-height: 100vh;
    background: var(--co-bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 80px 48px;
}

.co-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(59,130,246,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 80% 20%, rgba(96,165,250,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.co-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.co-hero-tag {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(59,130,246,0.15);
    border: 1px solid rgba(59,130,246,0.3);
    border-radius: 24px;
    font-size: 13px;
    color: var(--co-accent-light);
    margin-bottom: 28px;
    letter-spacing: 2px;
    font-weight: 500;
}

.co-hero-title {
    font-size: clamp(32px, 7vw, 64px);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.co-hero-title em {
    font-style: normal;
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.co-hero-sub {
    font-size: clamp(15px, 2.5vw, 18px);
    color: var(--co-text-muted);
    max-width: 640px;
    margin: 0 auto 36px;
    line-height: 1.8;
    font-weight: 300;
}

.co-hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.co-stat-num {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 900;
    color: var(--co-accent-light);
    line-height: 1.1;
}

.co-stat-label {
    font-size: 13px;
    color: var(--co-text-muted);
    margin-top: 4px;
    letter-spacing: 1px;
}

/* Section Common */

.co-section-header {
    text-align: center;
    margin-bottom: 56px;
}

.co-tag {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(59,130,246,0.08);
    color: var(--co-accent);
    font-size: 12px;
    font-weight: 500;
    border-radius: 20px;
    margin-bottom: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.co-tag-dark {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.co-section-header h2 {
    font-size: clamp(26px, 4.5vw, 38px);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.co-section-header p {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.75;
}

/* Capabilities */

.co-capabilities {
    background: #f7f8fc;
    padding: 100px 48px;
}

.co-cap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.co-cap-card {
    background: #fff;
    padding: 32px 24px;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    text-align: center;
    transition: all 0.3s ease;
}

.co-cap-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.co-cap-num {
    font-size: 36px;
    font-weight: 900;
    color: var(--co-accent);
    opacity: 0.15;
    margin-bottom: 12px;
    line-height: 1;
}

.co-cap-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
}

.co-cap-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Pain + Scenarios */

.co-painscene {
    background: var(--co-bg-dark-2);
    color: #fff;
    padding: 100px 48px;
}

.co-painscene .co-section-header h2 { color: #fff; }
.co-painscene .co-section-header p { color: var(--co-text-muted); }

.co-ps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.co-ps-card {
    padding: 28px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--co-border);
    border-radius: 12px;
    transition: all 0.3s;
}

.co-ps-card:hover {
    background: rgba(255,255,255,0.07);
}

.co-ps-pain {
    font-size: 13px;
    color: #f87171;
    margin-bottom: 8px;
    font-weight: 500;
}

.co-ps-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.co-ps-card p {
    font-size: 13px;
    color: var(--co-text-muted);
    line-height: 1.7;
}

/* Cases */

.co-cases {
    background: #fff;
    padding: 100px 48px;
}

.co-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.co-case-card {
    background: #f7f8fc;
    border-radius: 14px;
    padding: 28px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.co-case-card:hover {
    border-color: var(--co-accent);
    box-shadow: 0 8px 32px rgba(59,130,246,0.08);
}

.co-case-header { margin-bottom: 14px; }

.co-case-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.co-case-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.co-case-tag {
    padding: 3px 10px;
    background: rgba(59,130,246,0.08);
    color: var(--co-accent);
    font-size: 12px;
    border-radius: 16px;
    font-weight: 500;
}

.co-case-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 14px;
}

.co-case-results {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.co-case-result {
    padding: 8px 14px;
    background: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    border-left: 3px solid var(--co-accent);
}

/* Team */

.co-team {
    background: #f7f8fc;
    padding: 100px 48px;
}

.co-team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.co-team-block {
    background: #fff;
    padding: 36px 32px;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.co-team-block h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.co-team-block p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.9;
}

/* Why Us */

.co-whyus {
    background: #fff;
    padding: 100px 48px;
}

.co-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.co-why-item {
    padding: 32px 24px;
    border-radius: 14px;
    background: #f7f8fc;
    transition: all 0.3s;
}

.co-why-item:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

.co-why-num {
    font-size: 40px;
    font-weight: 900;
    color: var(--co-accent);
    opacity: 0.12;
    margin-bottom: 12px;
    line-height: 1;
}

.co-why-item h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
}

.co-why-item p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* CTA */

.co-cta {
    background: linear-gradient(135deg, var(--co-bg-dark) 0%, var(--co-bg-dark-2) 100%);
    color: #fff;
    text-align: center;
    padding: 100px 48px;
}

.co-cta h2 {
    font-size: clamp(22px, 4.5vw, 34px);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.4;
}

.co-cta-text {
    font-size: 15px;
    color: var(--co-text-muted);
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.co-cta-box {
    display: inline-block;
    padding: 24px 40px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
}

.co-cta-hint {
    font-size: 14px;
    color: var(--co-text-muted);
    margin-bottom: 10px;
}

.co-cta-wechat {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .co-team-grid { grid-template-columns: 1fr; }
    .co-case-grid { grid-template-columns: 1fr; }
    .co-ps-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════
   About Us Page
   ══════════════════════════════════════════════════════════ */

html:has(body.stbledge-about-page) {
    height: 100%;
}

body.stbledge-about-page {
    overflow: hidden !important;
    height: 100vh !important;
    background: #000 !important;
}

body.stbledge-about-page nav.site-nav {
    position: fixed;
    z-index: 200;
    color: #fff !important;
}

body.stbledge-about-page .logo-light {
    opacity: 1 !important;
}

body.stbledge-about-page .logo-dark {
    opacity: 0 !important;
}

body.stbledge-about-page .nav-links a {
    color: #fff !important;
    mix-blend-mode: normal !important;
}

.about-page {
    --about-accent: #0077FF;
    --about-text: rgba(255, 255, 255, 0.8);
    --about-text-dim: rgba(255, 255, 255, 0.5);
    position: relative;
    color: #fff;
    isolation: isolate;
    background-color: #000000;
}

.about-page,
.about-page * {
    mix-blend-mode: normal !important;
}

.about-page .panel {
    height: 100vh;
    overflow: hidden;
    position: relative;
    z-index: 2;
    padding: 6.5rem 3rem 4rem;
    box-sizing: border-box;
}

.about-page .about-panel-contact {
    padding: 0;
}

.about-panel-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 6.25rem var(--frame-inset-x, clamp(4rem, 10vw, 8rem)) 0;
}

.about-hero-left {
    grid-column: 1;
    z-index: 10;
    pointer-events: auto;
    max-width: 36rem;
}

.about-panel-story {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6.25rem 3rem;
}

.about-story-wrap {
    width: 100%;
    max-width: 72rem;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.about-story-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.about-story-intro {
    display: grid;
    grid-template-columns: minmax(11rem, 26%) 1fr;
    gap: 2.5rem 4rem;
    align-items: start;
}

.about-panel-inner {
    position: relative;
    z-index: 2;
}

.about-panel-intro .about-panel-inner {
    max-width: none;
}

.about-panel-story .about-panel-inner {
    max-width: 36rem;
    width: 100%;
}

/* ── Background（Figma 长图：第 1 / 2 屏） ── */

.about-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200vh;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background-color: #000000;
}

.about-bg picture {
    display: block;
    width: 100%;
    height: 100%;
}

.about-bg__art {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.about-title-zh {
    font-size: 5.5vw;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.05em;
    color: #ffffff;
    margin: 0;
}

.about-title-en {
    margin-top: 0.5rem;
    font-size: 2.5vw;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.about-panel-intro .about-title-zh,
.about-panel-intro .about-title-en {
    mix-blend-mode: difference !important;
}

.panel-scroll {
    display: inline-flex;
    margin-top: 2rem;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    pointer-events: auto;
    transition: opacity 0.3s;
    mix-blend-mode: normal;
}

.panel-scroll:hover {
    opacity: 0.75;
}

.panel-scroll__icon {
    display: block;
    width: clamp(4.5rem, 7.5vw, 7.625rem);
    height: auto;
}

.about-heading {
    font-size: clamp(1.75rem, 3.2vw, 2.75rem);
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
    padding-top: 0.125rem;
    white-space: nowrap;
}

.about-heading-main {
    color: #ffffff;
}

.about-heading-accent {
    color: #0077FF;
}

.about-story-lead,
.about-paragraphs p {
    font-size: 0.875rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 1.5rem;
}

.about-story-lead {
    margin-bottom: 0;
}

.about-paragraphs p:last-child {
    margin-bottom: 0;
}

.about-highlight {
    color: #0077FF;
}

/* ── 第 3 屏：关于团队 ── */

.about-page .about-panel-team {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem var(--frame-inset-x, clamp(4rem, 10vw, 8rem)) 4rem;
    background-color: #000000;
    --about-team-gutter: 3.75rem;
}

.about-team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(4.5rem, 9vw, 8rem);
    align-items: center;
    width: 100%;
    max-width: none;
    margin: 0;
    position: relative;
    z-index: 2;
}

.about-team-left {
    position: relative;
    z-index: 5;
    padding-left: calc(var(--about-team-gutter) * 2);
    box-sizing: border-box;
    pointer-events: auto;
}

.about-team-title {
    font-family: 'Alibaba PuHuiTi', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 0.25rem;
    color: #fff;
}

.about-team-sub {
    font-family: 'Alibaba PuHuiTi', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #9D9D9D;
    margin: 0 0 2.5rem;
}

.about-team-list {
    list-style: none;
    border-top: 1px solid #D9D9D9;
}

.about-team-item {
    padding: 0;
    border-bottom: 1px solid #D9D9D9;
    color: #FFFFFF;
}

.about-team-trigger {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    margin: 0;
    padding: 1.5rem 0;
    border: 0;
    background: transparent;
    font: inherit;
    text-align: left;
    color: inherit;
    cursor: pointer;
    transition: color 0.3s ease;
    box-sizing: border-box;
}

.about-team-item.active {
    color: #0077FF;
}

.about-team-num {
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid currentColor;
    background: transparent;
    color: inherit;
    font-size: 0.8125rem;
    line-height: 1;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.about-team-item.active .about-team-num {
    background: #0077FF;
    border-color: #0077FF;
    color: #ffffff;
}

.about-team-text {
    font-size: 0.9375rem;
    line-height: 1.5;
    color: inherit;
    transition: color 0.3s ease;
}

.about-team-visual {
    width: 100%;
    height: min(70vh, 36rem);
    position: relative;
    z-index: 1;
    padding-right: var(--about-team-gutter);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    overflow: hidden;
}

.about-team-visual .three-anim {
    border-radius: 0;
}

/* ── 第 4 屏：联系我们 — 见 css/contact-panel.css ── */

@media (max-width: 768px) {
    .about-page .panel {
        padding: 6rem 1.5rem 3rem;
    }

    .about-panel-intro {
        grid-template-columns: 1fr;
        padding: 6rem var(--frame-inset-x, 1.5rem) 0;
    }

    .about-hero-left {
        max-width: 100%;
    }

    .about-title-zh {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }

    .about-title-en {
        font-size: clamp(1.25rem, 5vw, 1.75rem);
    }

    .about-panel-story {
        padding: 6rem 1.5rem;
    }

    .about-story-intro {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-heading {
        white-space: normal;
    }

    .about-panel-intro .about-panel-inner,
    .about-panel-story .about-panel-inner {
        max-width: 100%;
    }

    .about-page .about-panel-team {
        padding-left: var(--frame-inset-x, 1.5rem);
        padding-right: var(--frame-inset-x, 1.5rem);
        --about-team-gutter: 2.25rem;
    }

    .about-team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-team-title,
    .about-team-sub {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .about-team-visual {
        height: 16rem;
    }
}
