:root {
    --ink: #101419;
    --paper: #f3f5f7;
    --panel: #ffffff;
    --steel: #69737e;
    --line: #dfe4e8;
    --acid: #d9ff3f;
    --signal: #ff4e45;
    --blue: #367cff;
    --radius: 18px;
    --shadow: 0 16px 48px rgba(18, 25, 34, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.75; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header { background: rgba(16,20,25,.96); color: #fff; position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-header .container { min-height: 78px; display: flex; align-items: center; gap: 24px; }
.logo a { display: flex; align-items: center; gap: 9px; }
.logo img { width: 42px; height: 42px; object-fit: cover; object-position: center; border-radius: 10px; }
.logo h1 { margin: 0; font-size: 24px; letter-spacing: -.04em; color: var(--acid); }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 21px; margin: 0; padding: 0; }
.main-nav a { color: #e8edf0; font-size: 14px; font-weight: 700; transition: color .2s; }
.main-nav a:hover, .main-nav a:focus { color: var(--acid); }
.search-box { display: flex; border: 1px solid rgba(255,255,255,.28); overflow: hidden; border-radius: 8px; }
.search-box input { color: #fff; width: 166px; background: transparent; outline: 0; border: 0; padding: 7px 10px; font-size: 12px; }
.search-box input::placeholder { color: #9ca6ae; }
.search-box button { color: #101419; background: var(--acid); border: 0; padding: 6px 10px; cursor: pointer; font-size: 12px; font-weight: 800; }

.hero-banner { color: #fff; min-height: 570px; display: flex; align-items: center; position: relative; overflow: hidden; background-image: linear-gradient(90deg, rgba(10,14,19,.88) 0%, rgba(10,14,19,.58) 42%, rgba(10,14,19,.18) 75%), url('/assets/images/banner.jpg'); background-position: center; background-size: cover; }
.hero-banner::after { content: ""; width: 800px; height: 800px; background: radial-gradient(circle, rgba(217,255,63,.18), transparent 61%); position: absolute; top: -440px; right: -250px; pointer-events: none; }
.hero-content { position: relative; z-index: 1; max-width: 780px; }
.BE82gED, .section-title > span { color: var(--signal); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.hero-content h2 { max-width: 630px; font-size: clamp(44px, 6vw, 76px); letter-spacing: -.06em; line-height: 1.08; margin: 12px 0 20px; }
.hero-content p { max-width: 680px; margin: 0; color: #e1e7e9; font-size: 18px; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; min-height: 45px; padding: 0 20px; border-radius: 8px; font-size: 14px; font-weight: 900; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #15191d; background: var(--acid); }
.button-ghost { color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.42); }

.breadcrumbs { padding: 18px 0; font-size: 13px; color: #64717c; }
.breadcrumbs a { color: #24313b; font-weight: 800; }
.section-shell { background: var(--panel); margin: 0 auto 20px; padding: clamp(32px, 5vw, 58px); border-radius: var(--radius); box-shadow: var(--shadow); }
.section-title { max-width: 800px; margin-bottom: 30px; }
.section-title h3 { margin: 7px 0 0; color: #11181e; font-size: clamp(25px, 3.5vw, 39px); line-height: 1.25; letter-spacing: -.04em; }
.intro-section > p { margin: 0; color: #44515b; font-size: 16px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.tag-cloud span { color: #35414a; background: #e8edf1; border-radius: 999px; padding: 5px 13px; font-size: 12px; font-weight: 700; }

.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.video-card { min-width: 0; background: #f7f8f9; border-radius: 12px; padding: 9px; transition: transform .25s, box-shadow .25s; }
.video-card:hover { transform: translateY(-5px); box-shadow: 0 18px 28px rgba(20, 30, 38, .14); }
.video-placeholder { aspect-ratio: 16 / 9; position: relative; overflow: hidden; border-radius: 8px; background-size: cover; background-position: center; cursor: pointer; isolation: isolate; }
.video-placeholder::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.60), transparent 56%); z-index: -1; }
.video-thumb-1 { background-image: url('/assets/images/video_thumb_1.jpg'); }
.video-thumb-2 { background-image: url('/assets/images/video_thumb_2.jpg'); }
.video-thumb-3 { background-image: url('/assets/images/video_thumb_3.jpg'); }
.video-thumb-4 { background-image: url('/assets/images/video_thumb_4.jpg'); }
.play-btn { position: absolute; inset: 50% auto auto 50%; width: 54px; height: 54px; transform: translate(-50%, -50%) scale(.82); display: grid; place-items: center; padding-left: 3px; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; color: #fff; background: rgba(16,20,25,.48); opacity: 0; transition: .25s; }
.video-placeholder:hover .play-btn, .video-placeholder:focus .play-btn { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.Ba5hBg, .F6MBd { position: absolute; font-size: 11px; font-weight: 800; }
.Ba5hBg { top: 10px; left: 10px; padding: 2px 8px; border-radius: 4px; color: #101419; background: var(--acid); }
.F6MBd { right: 9px; bottom: 7px; color: #fff; }
.QkAjjl { display: flex; justify-content: space-between; gap: 8px; margin: 11px 2px 5px; color: #8a939b; font-size: 11px; }
.video-card h4 { margin: 0 2px 6px; font-size: 16px; line-height: 1.42; }
.video-card p { margin: 0 2px 5px; color: #67737d; font-size: 12px; line-height: 1.65; }
.BXxxA { text-align: center; margin-top: 28px; }
.text-link { color: #ec3d36; font-size: 14px; font-weight: 900; }

.ai-section { color: #eef4f5; background: #11191f; background-image: radial-gradient(circle at 98% 5%, rgba(54,124,255,.36), transparent 28%), radial-gradient(circle at 8% 100%, rgba(217,255,63,.15), transparent 30%); }
.ai-section .section-title h3 { color: #fff; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.2); border-left: 1px solid rgba(255,255,255,.2); }
.feature-card { min-height: 154px; padding: 24px; border-right: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.feature-card b { color: var(--acid); font-size: 16px; }
.feature-card p { margin: 9px 0 0; color: #b7c2c8; font-size: 13px; line-height: 1.7; }

.community-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.community-card { min-height: 155px; padding: 25px; display: flex; flex-direction: column; justify-content: end; color: #fff; border-radius: 10px; background: #1b2630; background-image: linear-gradient(135deg, rgba(54,124,255,.66), transparent 68%); transition: transform .2s; }
.community-card:nth-child(2n) { color: #101419; background: var(--acid); background-image: linear-gradient(135deg, rgba(255,255,255,.66), transparent 65%); }
.community-card:nth-child(3n) { background: var(--signal); background-image: linear-gradient(135deg, rgba(255,255,255,.37), transparent 65%); }
.community-card:hover { transform: translateY(-4px); }
.community-card strong { font-size: 21px; line-height: 1.25; }
.community-card span { margin-top: 9px; font-size: 12px; line-height: 1.6; opacity: .86; }

.expert-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.expert-card { padding: 24px; background: #f4f6f8; border-radius: 14px; text-align: left; }
.expert-card > img { width: 74px; height: 74px; object-fit: cover; border-radius: 50%; float: left; margin: 0 17px 8px 0; }
.expert-card h4 { margin: 0; font-size: 22px; }
.t58CK { margin: 5px 0; color: #fa4038; font-size: 12px; font-weight: 900; }
.expert-card p { margin: 9px 0; clear: both; color: #53606a; font-size: 13px; }
.expert-card .rrjVK { color: #77818a; }
.expert-card button { margin: 4px 5px 0 0; border: 1px solid #11191f; padding: 7px 11px; color: #11191f; background: transparent; border-radius: 5px; font-size: 12px; font-weight: 800; cursor: pointer; }
.expert-card button:hover { color: #fff; background: #11191f; }

.partner-wall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.partner-wall span { display: grid; min-height: 88px; place-items: center; padding: 15px; color: #48545e; background: #f2f4f6; border: 1px solid #e1e6e9; border-radius: 8px; font-weight: 900; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.how-grid i { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #11191f; background: var(--acid); font-style: normal; font-size: 12px; font-weight: 900; }
.how-grid h4 { margin: 14px 0 5px; font-size: 19px; }
.how-grid p { margin: 0; color: #5a6670; font-size: 14px; }

.review-list { list-style: none; margin: 0; padding: 0; }
.review-list li { padding: 18px 0; border-bottom: 1px solid var(--line); color: #35414a; }
.review-list li:first-child { padding-top: 0; }
.review-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.review-list span { display: inline-block; margin-left: 6px; color: #ed443c; font-size: 12px; font-weight: 800; }
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; }
.contact-grid > div:first-child { color: #53606a; font-size: 14px; }
.G01BQAm { width: 100%; aspect-ratio: 2.4 / 1; margin-bottom: 15px; object-fit: cover; border-radius: 10px; }
.qr-panel { display: grid; grid-template-columns: repeat(2, 1fr); align-content: start; gap: 12px; padding: 20px; text-align: center; background: #11191f; color: #fff; border-radius: 10px; }
.qr-panel div { min-width: 0; }
.qr-panel img { width: min(100%, 124px); border-radius: 4px; background: #fff; padding: 4px; }
.qr-panel p { margin: 5px 0; font-size: 12px; }
.qr-panel .UIUDf1 { grid-column: span 2; margin-top: 6px; color: #c9d1d5; line-height: 1.8; }
.faq-item { margin-bottom: 9px; padding: 0; border: 1px solid #e0e5e8; border-radius: 8px; background: #fff; }
.faq-item summary { cursor: pointer; padding: 15px 18px; font-weight: 900; }
.faq-item p { margin: 0; padding: 0 18px 17px; color: #5c6871; font-size: 14px; }

.site-footer { margin-top: 40px; padding: 50px 0 20px; color: #c6d0d4; background: #11191f; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.4fr 1.1fr 1.1fr; gap: 28px; }
.footer-col h3 { margin: 0 0 13px; color: #fff; font-size: 16px; }
.footer-col p { margin: 4px 0; color: #9eabb2; font-size: 12px; }
.footer-col a:hover { color: var(--acid); }
.xAz1y4v { width: 50px; height: 50px; object-fit: cover; border-radius: 10px; }
.qr-row { display: flex; gap: 13px; }
.qr-row div { display: grid; gap: 4px; text-align: center; font-size: 11px; }
.qr-row img { width: 66px; height: 66px; padding: 3px; background: #fff; border-radius: 3px; }
.RlYUSFeo { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13); font-size: 12px; }
.RlYUSFeo button { margin-left: 5px; padding: 5px 9px; color: #fff; background: #26323b; border: 0; border-radius: 4px; cursor: pointer; }
.RlYUSFeo button:hover { color: #11191f; background: var(--acid); }
.iCpxPE { margin-top: 20px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.13); text-align: center; color: #77858d; font-size: 11px; }

@media (max-width: 980px) {
    .site-header .container { padding: 12px 0; }
    .main-nav { order: 3; margin-left: 0; width: 100%; }
    .main-nav ul { justify-content: space-between; gap: 7px; }
    .video-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .partner-wall { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .container { width: min(100% - 28px, 1180px); }
    .site-header .container { gap: 13px; }
    .logo h1 { font-size: 21px; }
    .search-box { margin-left: auto; }
    .search-box input { width: 108px; }
    .main-nav { overflow-x: auto; }
    .main-nav ul { width: max-content; gap: 17px; }
    .hero-banner { min-height: 520px; background-position: 67% center; }
    .hero-content h2 { font-size: 44px; }
    .hero-content p { font-size: 15px; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .section-shell { padding: 28px 20px; }
    .section-title h3 { font-size: 27px; }
    .video-grid, .community-grid, .expert-grid, .how-grid, .contact-grid { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .partner-wall { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* 妻社 MCP 前端服务面板 */
.mcp-panel { position: fixed; right: 20px; bottom: 20px; z-index: 9999; display: flex; width: 300px; flex-direction: column; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; color: #fff; background: #11191f; box-shadow: 0 10px 30px rgba(0,0,0,.3); transform: translateY(120%); transition: transform .3s ease; }
.mcp-panel.is-open { transform: translateY(0); }
.mcp-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 15px; border-bottom: 1px solid rgba(255,255,255,.05); background: #1b2630; }
.mcp-panel-head strong { color: var(--acid); font-size: 14px; }
.mcp-panel-head button { border: 0; padding: 0; color: #8a939b; background: transparent; cursor: pointer; font-size: 17px; }
.mcp-panel-content { padding: 15px; color: #c6d0d4; font-size: 13px; line-height: 1.6; }
.mcp-panel-content p { margin: 0 0 10px; }
.mcp-input-row { display: flex; gap: 8px; margin-top: 15px; }
.mcp-input-row input { min-width: 0; flex: 1; border: 1px solid rgba(255,255,255,.2); border-radius: 6px; outline: 0; padding: 8px 10px; color: #fff; background: rgba(0,0,0,.2); font-size: 12px; }
.mcp-input-row button { border: 0; border-radius: 6px; padding: 0 12px; color: #11191f; background: var(--acid); cursor: pointer; font-size: 12px; font-weight: 800; }
.mcp-toggle { position: fixed; right: 20px; bottom: 20px; z-index: 9998; display: grid; width: 50px; height: 50px; place-items: center; border: 0; border-radius: 50%; color: #11191f; background: var(--acid); box-shadow: 0 4px 15px rgba(0,0,0,.2); cursor: pointer; font-size: 18px; font-weight: 900; transition: transform .2s; }
.mcp-toggle.is-hidden { transform: scale(0); }
@media (max-width: 640px) { .mcp-panel { right: 14px; bottom: 14px; width: min(300px, calc(100vw - 28px)); } .mcp-toggle { right: 14px; bottom: 14px; } }

/* 内页内容样式 */
.UTEuP { color: #44515b; font-size: 16px; line-height: 1.8; }
.UTEuP h2 { margin: 30px 0 12px; color: #11181e; font-size: 22px; }
.UTEuP ul { margin: 0 0 20px 20px; }
.wqQ7144 { width: 100%; margin-top: 40px; border-radius: 12px; aspect-ratio: 21 / 9; object-fit: cover; }
.ZYUZh70 { margin: 0 0 30px; color: #44515b; font-size: 16px; line-height: 1.8; }
.topic-card h2, .product-card h2 { margin: 0 0 10px; color: #11181e; font-size: 18px; line-height: 1.45; }
.topic-card .vTJesb { margin: 0 0 10px; color: #8a939b; font-size: 12px; }
.topic-card .topic-link { display: inline-block; margin-top: 10px; }
.product-card h2 { font-size: 20px; }
.product-card .chhlN { margin: 0 0 15px; color: #53606a; font-size: 13px; line-height: 1.6; }
.product-card .TQQxL { margin: 0 0 15px; color: #ed443c; font-size: 18px; font-weight: 900; }
.not-found { padding: 100px 20px; text-align: center; }
.not-found .xPSB98 { margin: 0; color: var(--acid); font-size: 80px; line-height: 1; text-shadow: 2px 2px 4px rgba(0,0,0,.1); }
.not-found h1 { margin: 20px 0; color: #11181e; font-size: 24px; }
.not-found p { margin: 0 0 40px; color: #53606a; }
.not-found .button { margin: 0 10px; }
.not-found .Aqpvh { color: #11191f; border-color: #11191f; }
