/* ============================================================
   TiredWork 官网通用样式 (首页/产品页/静态页共用)
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    background:
        radial-gradient(circle at 8% -10%, rgba(47, 128, 237, 0.10), transparent 32rem),
        linear-gradient(180deg, #F4F8FC 0%, #F6FAFD 52%, #F4F8FC 100%);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: rgba(244, 248, 252, 0.86);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 40px rgba(23, 63, 98, 0.08);
}
.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; transition: transform 0.25s ease, filter 0.25s ease; }
.logo:hover { transform: translateY(-1px); filter: drop-shadow(0 0 16px var(--brand-glow)); }
.brand-icon { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; flex: 0 0 auto; box-shadow: 0 0 18px rgba(47, 128, 237, 0.16); }
.brand-wordmark { display: block; line-height: 1; white-space: nowrap; }
.brand-wordmark strong, .brand-wordmark > span { font-size: 21px; font-weight: 800; letter-spacing: -0.045em; color: #4F9BE8; }
.brand-wordmark > span { color: #6FB0EA; }
.brand-wordmark strong { color: #3B8BDF; }
.brand-wordmark small { display: block; margin-top: 5px; color: #A9CFF0; font-size: 12px; letter-spacing: 0.08em; }
.nav-links { display: flex; gap: 8px; list-style: none; }
/* 语言切换器 */
.nav-lang { display: flex; align-items: center; gap: 6px; margin-left: 16px; }
.nav-lang a {
    color: var(--text-dim);
    font-size: 13px;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}
.nav-lang a:hover { color: var(--accent); border-color: var(--accent); }
.nav-lang a.active { color: var(--accent); background: rgba(47, 128, 237, 0.08); border-color: var(--accent); }
.nav-links > li > a, .nav-links > li > .nav-dropdown {
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.5;
    padding: 8px 14px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    position: relative;
    transition: color 0.2s ease, background 0.2s ease;
    cursor: pointer;
}
.nav-links > li > a::after, .nav-links > li > .nav-dropdown::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}
.nav-links > li > a:hover, .nav-links > li > a.active,
.nav-links > li > .nav-dropdown:hover,
.nav-links > li:focus-within > a, .nav-links > li:focus-within > .nav-dropdown {
    color: var(--text);
    background: rgba(47, 128, 237, 0.08);
}
.nav-links > li > a:hover::after, .nav-links > li > a.active::after,
.nav-links > li > .nav-dropdown:hover::after,
.nav-links > li:focus-within > .nav-dropdown::after {
    transform: scaleX(1);
}
.nav-links .nav-dropdown { display: inline-block; outline: none; }

/* 两级导航: 悬停下拉 */
.nav-links li { position: relative; }
.nav-links .nav-caret { font-size: 10px; margin-left: 4px; opacity: .7; display: inline-block; transition: transform 0.25s ease; }
/* 悬停/聚焦父级时下拉箭头翻转，指示菜单已展开 */
.nav-links li:hover .nav-caret,
.nav-links li:focus-within .nav-caret { transform: rotate(180deg); }
.nav-links .sub-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 180px;
    list-style: none;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    box-shadow: 0 20px 40px rgba(23, 63, 98, 0.14);
    backdrop-filter: blur(12px);
    z-index: 200;
}
.nav-links .sub-nav::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}
.nav-links li:hover > .sub-nav,
.nav-links li:focus-within > .sub-nav {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.nav-links .sub-nav .sub-nav {
    top: -9px;
    left: calc(100% + 8px);
    transform: translateX(-6px);
}
.nav-links .sub-nav .sub-nav::before {
    top: 0;
    left: -8px;
    right: auto;
    width: 8px;
    height: 100%;
}
.nav-links .sub-nav li:hover > .sub-nav,
.nav-links .sub-nav li:focus-within > .sub-nav {
    transform: translateX(0);
}
.nav-links .sub-nav a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    color: var(--text-dim);
    transition: color 0.2s ease, background 0.2s ease, padding-left 0.2s ease;
}
.nav-links .sub-nav a:hover {
    background: rgba(47, 128, 237, 0.12);
    color: var(--text);
    padding-left: 18px;
}

.nav { position: relative; }
.nav-burger {
    display: none;
    background: none;
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 20px;
    line-height: 1;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
}
.nav-burger:hover { border-color: var(--accent); }

/* ===== 公告条 ===== */
.announcement {
    max-width: 1200px;
    margin: 12px auto 0;
    padding: 10px 20px;
    border: 1px solid rgba(47, 128, 237, 0.25);
    border-radius: 10px;
    background: rgba(47, 128, 237, 0.08);
    color: var(--accent);
    font-size: 14px;
    text-align: center;
}

/* ===== Hero (首页) ===== */
.hero {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 96px 24px 80px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
    align-items: center;
}
.hero::before {
    content: "";
    position: absolute;
    top: -120px; left: -80px; right: -80px; bottom: 0;
    background:
        radial-gradient(circle at 20% 0%, rgba(47, 128, 237, 0.18), transparent 35%),
        radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.12), transparent 30%);
    z-index: -1;
    pointer-events: none;
}
.hero-left .badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px; border: 1px solid var(--border); border-radius: 999px;
    font-size: 13px; color: var(--text-dim); margin-bottom: 28px;
    background: rgba(23, 63, 98, 0.04);
}
.badge .dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 8px rgba(47, 128, 237, 0.8); }
/* 首页品牌主标题: 采用更醒目的品牌主张, 去掉"line-1/line-2"产品句(改为主推软件位承担产品叙事) */
.hero-left h1.brand-h1 {
    font-size: clamp(34px, 4.8vw, 56px); font-weight: 800; line-height: 1.16; letter-spacing: -0.02em;
    max-width: 560px; margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text), var(--accent));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-left .brand-sub { font-size: clamp(16px, 1.8vw, 19px); color: var(--text-dim); max-width: 520px; margin-bottom: 30px; }
/* 主推软件位(品牌主张之下挂一个具体产品) */
.feat-product {
    max-width: 540px; padding: 22px; border-radius: 16px;
    border: 1px solid var(--border); background: rgba(255, 255, 255, 0.55);
    box-shadow: var(--shadow-card);
}
.feat-product-label {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 10px;
}
.feat-product-label .dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 8px rgba(47, 128, 237, 0.8); }
.feat-product-name { font-size: 24px; font-weight: 800; line-height: 1.2; margin-bottom: 10px; color: var(--text); }
.feat-product-desc { color: var(--text-dim); font-size: 15px; margin-bottom: 14px; }
/* 首页未加载 product.css, 这里给主推软件位内的价格/版本行补充样式 */
.feat-product .pricing-line { font-size: 15px; color: var(--accent-3); margin-bottom: 16px; }
.feat-product .meta-line { margin-top: 16px; font-size: 14px; color: var(--text-dim); }
.hero-left .subtitle { font-size: clamp(16px, 1.8vw, 19px); color: var(--text-dim); max-width: 520px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.tech-note { margin-top: 32px; font-size: 14px; color: var(--text-dim); }
.tech-note code {
    background: rgba(23, 63, 98, 0.05); padding: 3px 10px; border-radius: 6px;
    border: 1px solid var(--border); color: var(--accent);
    font-family: "Consolas", "SF Mono", monospace;
}

.hero-right { position: relative; }
.hero-right::after {
    content: "";
    position: absolute; inset: -30px;
    background: radial-gradient(circle, var(--brand-glow), transparent 68%);
    filter: blur(10px); z-index: -1; pointer-events: none;
}
.hero-window {
    background: rgba(23, 63, 98, 0.03);
    border: 1px solid rgba(47, 128, 237, 0.22);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 28px 90px rgba(23, 63, 98, 0.18), 0 0 56px var(--brand-glow);
    animation: tiredwork-float 8s ease-in-out infinite;
    cursor: zoom-in;
}
.hero-window img { display: block; width: 100%; transition: transform 0.45s ease, filter 0.45s ease; }
.hero-window:hover img { transform: scale(1.018); filter: saturate(1.08) contrast(1.02); }
.window-bar { display: flex; align-items: center; gap: 8px; padding: 13px 18px; background: rgba(23, 63, 98, 0.03); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.window-bar .dots { display: flex; gap: 7px; }
.window-bar .dots span { width: 12px; height: 12px; border-radius: 50%; display: block; }
.window-bar .dots span:nth-child(1) { background: #FF5F57; }
.window-bar .dots span:nth-child(2) { background: #FEBC2E; }
.window-bar .dots span:nth-child(3) { background: #28C840; }
.window-bar .title { flex: 1; text-align: center; font-size: 13px; color: var(--text-dim); }

@keyframes tiredwork-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

/* ===== 按钮 ===== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 26px; border-radius: 10px;
    font-size: 15px; font-weight: 600; cursor: pointer; border: none;
    transition: transform 0.15s, box-shadow 0.2s, border-color 0.2s;
}
.btn-primary {
    background: linear-gradient(135deg, #4A90E2, #2F80ED);
    color: #FFFFFF;
    box-shadow: 0 8px 24px rgba(47, 128, 237, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(47, 128, 237, 0.45); }
.btn-ghost { background: rgba(23, 63, 98, 0.05); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { transform: translateY(-2px); border-color: rgba(47, 128, 237, 0.5); }
.btn-small { padding: 8px 14px; font-size: 13px; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; box-shadow: none; }

/* ===== Section ===== */
section { max-width: 1200px; margin: 0 auto; padding: 70px 24px; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head .eyebrow { color: var(--accent); font-size: 14px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 700; margin-bottom: 12px; }
.section-head p { color: var(--text-dim); max-width: 560px; margin: 0 auto; }

/* ===== 产品卡 (首页) ===== */
.products { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 24px; }
.pcard {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(244, 248, 252, 0.96));
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 26px;
    display: flex; flex-direction: column; gap: 14px;
    box-shadow: var(--shadow-card);
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
    /* 卡片统一宽度, 多余一张居中而不是右侧留白 */
    flex: 1 1 320px;
    max-width: 380px;
}
.pcard:hover {
    transform: translateY(-7px);
    background: var(--surface-hover);
    border-color: rgba(47, 128, 237, 0.32);
    box-shadow: 0 24px 70px rgba(23, 63, 98, 0.12), 0 0 30px rgba(47, 128, 237, 0.08);
}
.p-head { display: flex; align-items: center; gap: 12px; }
.p-icon {
    width: 48px; height: 48px; display: grid; place-items: center;
    border-radius: 14px; font-size: 24px; flex: 0 0 auto;
    background: rgba(47, 128, 237, 0.08);
}
.p-name h3 { font-size: 19px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.p-tag {
    font-size: 11px; padding: 2px 8px; border-radius: 999px; font-weight: 600;
    background: rgba(56, 189, 248, 0.1); color: var(--blue); border: 1px solid rgba(56, 189, 248, 0.25);
}
.p-desc { color: var(--text-dim); font-size: 14px; min-height: 40px; }
.product-dl-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dl-kind {
    font-size: 12px; color: var(--text-dim);
    background: rgba(56, 189, 248, 0.1); border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 3px 10px; border-radius: 999px;
}
.p-shot {
    border: 1px solid rgba(47, 128, 237, 0.16); border-radius: 12px; overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    cursor: zoom-in;
}
.p-shot img { display: block; width: 100%; height: auto; }
.p-feats { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.p-feats li { font-size: 13px; color: var(--text-dim); padding-left: 18px; position: relative; }
.p-feats li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); }
.p-actions { display: flex; gap: 10px; margin-top: auto; }
.p-actions .btn { flex: 1; justify-content: center; }

/* ===== Values ===== */
.values { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.value {
    background: var(--card); border: 1px solid var(--border); border-radius: 16px;
    padding: 26px; text-align: center;
}
.value .v-icon { font-size: 32px; margin-bottom: 12px; }
.value h3 { font-size: 17px; margin-bottom: 6px; }
.value p { color: var(--text-dim); font-size: 13px; }

/* ===== 为什么选择我们 (独立页) ===== */
.why-page { max-width: 1200px; margin: 0 auto; padding: 80px 24px 90px; }
.why-hero .section-head { margin-bottom: 44px; }
.why-hero h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 700; margin-bottom: 12px; }
.why-grid { max-width: 1100px; margin: 0 auto; }

/* ===== 联系我们 (首页) ===== */
.contact { padding-bottom: 90px; }
.contact-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; max-width: 720px; margin: 0 auto; }
.contact-card {
    flex: 1 1 200px; max-width: 320px; text-align: center;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(244, 248, 252, 0.96));
    border: 1px solid var(--border); border-radius: 18px; padding: 30px;
    box-shadow: var(--shadow-card); transition: transform 0.25s, border-color 0.25s;
}
.contact-card:hover { transform: translateY(-5px); border-color: rgba(47, 128, 237, 0.32); }
.contact-card .c-icon { font-size: 34px; margin-bottom: 12px; }
/* 用官方品牌 SVG 图标替换 emoji: 圆形品牌色底 + 白色图标 */
.contact-card .c-icon {
    width: 60px; height: 60px; margin: 0 auto 14px;
    border-radius: 50%; display: grid; place-items: center;
}
.contact-card .c-icon svg { width: 30px; height: 30px; display: block; }
.contact-card .c-icon-qq { background: #12B7F5; color: #ffffff; }
.contact-card .c-icon-wechat { background: #07C160; color: #ffffff; }
.contact-card .c-icon-email { background: #6A82FB; color: #ffffff; }
.contact-card h3 { font-size: 18px; margin-bottom: 8px; }
.contact-card p { font-size: 15px; color: var(--text-dim); word-break: break-all; }
.contact-card a { color: var(--accent); font-weight: 600; }
.contact-card a:hover { text-decoration: underline; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--border); padding: 40px 24px; text-align: center; color: var(--text-dim); font-size: 14px; }
.site-footer a { color: var(--accent); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo .brand-icon { width: 36px; height: 36px; }
.footer-cn { color: var(--text); }
.footer-legal { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; font-size: 14px; }
.footer-beian { display: flex; gap: 8px; font-size: 13px; }
.footer-copy { margin-top: 6px; font-size: 13px; }

/* ===== 静态页 (隐私/协议/404) ===== */
.static-page { max-width: 820px; margin: 0 auto; padding: 70px 24px 90px; }
.static-page h1 { font-size: 32px; margin-bottom: 6px; }
.static-page .updated { color: var(--text-dim); font-size: 13px; margin-bottom: 28px; }
.static-page h2 { font-size: 19px; margin: 30px 0 12px; color: var(--accent); }
.static-page p, .static-page li { color: var(--text-dim); font-size: 15px; margin-bottom: 10px; }
.static-page ul { padding-left: 22px; }
.static-page.not-found { text-align: center; padding-top: 110px; }
.static-page.not-found h1 { font-size: 96px; color: var(--accent); }
.static-page.not-found p { margin-bottom: 28px; }
.static-page.not-found .btn { margin: 0 6px; }

/* ===== Lightbox ===== */
.lightbox {
    position: fixed; inset: 0; z-index: 1000;
    display: none; align-items: center; justify-content: center;
    background: rgba(23, 63, 98, 0.62);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 82vh; border-radius: 10px; }
.lightbox-bar {
    position: absolute; top: 16px; left: 0; right: 0;
    display: flex; justify-content: center; align-items: center; gap: 16px;
}
.lightbox-title { color: var(--text-dim); font-size: 14px; }
.lightbox-close {
    position: absolute; top: 20px; right: 24px;
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.08);
    color: #fff; font-size: 22px; cursor: pointer;
}
.lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 48px; height: 48px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15); background: rgba(255, 255, 255, 0.06);
    color: #fff; font-size: 24px; cursor: pointer;
}
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }
.lightbox-counter { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: var(--text-dim); font-size: 13px; }

/* ===== 验证码弹窗 ===== */
.modal-mask {
    position: fixed; inset: 0; z-index: 1200;
    background: rgba(23, 63, 98, 0.5);
    backdrop-filter: blur(4px);
    display: none; align-items: center; justify-content: center;
}
.modal-mask.open { display: flex; }
.modal {
    background: linear-gradient(145deg, #FFFFFF, #F6FAFD);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
    width: 340px;
    box-shadow: 0 30px 80px rgba(23, 63, 98, 0.28);
}
.modal h3 { font-size: 18px; margin-bottom: 6px; }
.modal .sub { font-size: 13px; color: var(--text-dim); margin-bottom: 16px; }
.cap-row { display: flex; gap: 12px; align-items: stretch; margin-bottom: 12px; }
.cap-row img { height: 48px; width: 118px; flex: 0 0 auto; border-radius: 8px; border: 1px solid var(--border); cursor: pointer; background: #FFFFFF; object-fit: contain; }
.cap-row input {
    flex: 1 1 auto; min-width: 0; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--border);
    background: rgba(23, 63, 98, 0.04); color: var(--text);
    font-size: 16px; letter-spacing: 0.2em; text-transform: uppercase;
}
.cap-row input:focus { outline: 2px solid rgba(47, 128, 237, 0.5); }
.modal .err { color: var(--danger); font-size: 13px; min-height: 18px; margin-bottom: 6px; }
.modal .btn { width: 100%; justify-content: center; }

/* ===== 焦点可见性 / 减少动效 ===== */
.btn:focus-visible, .nav-links a:focus-visible, .logo:focus-visible, .p-shot img:focus-visible {
    outline: 3px solid rgba(56, 189, 248, 0.8);
    outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; gap: 56px; padding: 72px 20px 64px; }
    .hero-right { order: -1; max-width: 620px; margin: 0 auto; }
    .hero-left h1 { font-size: clamp(36px, 8vw, 52px); }
    .hero-left h1.brand-h1 { font-size: clamp(30px, 7vw, 44px); }
    .feat-product { max-width: 100%; }
    section { padding: 64px 20px; }
    .contact { padding-bottom: 72px; }
    .nav-burger { display: inline-flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 20px 40px rgba(23, 63, 98, 0.12);
        padding: 8px 0;
    }
    .nav-links.open { display: flex; }
    .nav-links li { width: 100%; position: relative; }
    .nav-links a, .nav-links .nav-dropdown { display: block; padding: 13px 24px; font-size: 15px; }
    .nav-links a:hover, .nav-links a.active, .nav-links .nav-dropdown:hover { background: rgba(47, 128, 237, 0.08); }
    /* 移动端子菜单: 直接展开显示(不依赖悬停) */
    .nav-links .sub-nav {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: none;
        border: none;
        box-shadow: none;
        padding: 0 0 6px;
        min-width: 0;
    }
    .nav-links .sub-nav .sub-nav { transform: none; }
    .nav-links .sub-nav .sub-nav::before { display: none; }
    .nav-links .sub-nav a { padding: 10px 24px 10px 40px; font-size: 14px; }
    .nav-links .sub-nav a:hover { background: rgba(47, 128, 237, 0.06); }
    .nav-links .nav-caret { display: none; }
    .nav-lang { margin-left: 0; margin-top: 8px; }
    .nav-lang a { font-size: 12px; padding: 5px 8px; }
}
@media (max-width: 640px) {
    .value-grid { grid-template-columns: 1fr 1fr; }
    .brand-wordmark small { display: none; }
    .brand-icon { width: 36px; height: 36px; }
}

/* ===== 教程/博客 ===== */
.blog-page { max-width: 860px; margin: 0 auto; padding: 48px 20px 72px; }
.blog-hero .section-head { margin-bottom: 40px; }
.blog-list { display: grid; gap: 20px; }
.blog-card {
    display: block; padding: 24px 28px; border: 1px solid var(--border);
    border-radius: 16px; background: var(--card); transition: border-color .2s, transform .2s;
}
.blog-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.blog-card h3 { font-size: 20px; margin-bottom: 8px; }
.blog-card p { color: var(--text-dim); font-size: 14px; line-height: 1.7; margin-bottom: 14px; }
.blog-article h1 { font-size: clamp(26px, 4vw, 36px); margin-bottom: 10px; }
.blog-date { color: var(--text-dim); font-size: 13px; margin-bottom: 24px; }
.blog-back { margin-bottom: 20px; }
.blog-back a { color: var(--accent); text-decoration: none; }
.blog-body { line-height: 1.9; color: var(--text); }
.blog-body h2 { font-size: 22px; margin: 28px 0 12px; }
.blog-body p { margin-bottom: 14px; }
.blog-body ul { margin: 0 0 16px 20px; padding: 0; }
.blog-body li { margin-bottom: 6px; }
.blog-cta {
    margin-top: 28px; padding: 24px; border: 1px solid var(--border);
    border-radius: 16px; background: linear-gradient(135deg, rgba(47,128,237,0.08), rgba(47,128,237,0.02));
    text-align: center;
}
.blog-cta p { color: var(--text-dim); font-size: 14px; margin: 12px 0 0; }
[dir="rtl"] .blog-body ul { margin-left: 0; margin-right: 20px; }

/* 首页教程区 */
.blog-home { padding: 0 20px 72px; }
.blog-home .blog-list { max-width: 860px; margin: 0 auto; }
.blog-more { text-align: center; margin-top: 28px; }

/* 首页主推卖点高亮 (rm 防误删) */
.home-highlight { padding: 0 20px 72px; }
.home-highlight .highlight-card {
    max-width: 860px; margin: 0 auto;
    display: flex; gap: 20px; align-items: flex-start;
    background: linear-gradient(135deg, rgba(47,128,237,0.08), rgba(47,128,237,0.02));
    border: 1px solid var(--border); border-radius: 16px; padding: 28px 30px;
}
.home-highlight .highlight-icon {
    flex: 0 0 auto; width: 52px; height: 52px; border-radius: 14px;
    background: var(--card); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.home-highlight h2 { font-size: 22px; margin-bottom: 10px; }
.home-highlight p { color: var(--text-dim); font-size: 15px; line-height: 1.7; margin: 0 0 16px; }
@media (max-width: 640px) {
    .home-highlight .highlight-card { flex-direction: column; padding: 22px; }
}






