/* 匿名信官网 — 与集团站协调的轻量现代风格 */
:root {
    --ink: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --bg: #f8fafc;
    --surface: #ffffff;
    --indigo: #6366f1;
    --indigo-dark: #4f46e5;
    --cyan: #06b6d4;
    --violet: #8b5cf6;
    --header-h: 60px;
    --max: 1120px;
    --r: 14px;
    --shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 4px 14px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 4px 6px rgba(15, 23, 42, 0.05), 0 20px 40px rgba(15, 23, 42, 0.08);
    --font: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font: 16px/1.65 var(--font);
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    padding-top: var(--header-h);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo-dark); text-decoration: none; transition: color 0.15s ease, opacity 0.15s ease, border-color 0.15s ease; }
a:hover { color: var(--indigo); }

ul { list-style: none; margin: 0; padding: 0; }

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 20px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 999;
    padding: 8px 16px;
    background: var(--indigo);
    color: #fff;
    font-weight: 600;
}
.skip-link:focus { left: 16px; top: 16px; }

/* —— 顶栏 —— */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.95);
    transition: box-shadow 0.2s ease, background 0.2s ease;
}
.site-header.is-scrolled {
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.06);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 16px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: var(--ink);
}
.site-logo:hover { color: var(--ink); }
.site-logo__mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--indigo) 0%, var(--cyan) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.35);
}
.site-logo__text { font-size: 1.15rem; letter-spacing: -0.02em; }
.site-logo--footer { pointer-events: none; }
.site-logo--footer .site-logo__text { color: #f1f5f9; }

.site-nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.site-nav-toggle__bar,
.site-nav-toggle__bar::before,
.site-nav-toggle__bar::after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 1px;
    position: relative;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.site-nav-toggle__bar::before,
.site-nav-toggle__bar::after {
    content: "";
    position: absolute;
    left: 0;
}
.site-nav-toggle__bar::before { top: -6px; }
.site-nav-toggle__bar::after { top: 6px; }
.site-header.is-open .site-nav-toggle__bar { background: transparent; }
.site-header.is-open .site-nav-toggle__bar::before { top: 0; transform: rotate(45deg); }
.site-header.is-open .site-nav-toggle__bar::after { top: 0; transform: rotate(-45deg); }

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
}
.site-nav a {
    display: block;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--muted);
}
.site-nav a:hover { color: var(--ink); background: rgba(99, 102, 241, 0.08); }
.site-nav__cta {
    background: linear-gradient(135deg, var(--indigo-dark), #0891b2) !important;
    color: #fff !important;
    margin-left: 6px;
    box-shadow: 0 2px 10px rgba(79, 70, 229, 0.25);
}
.site-nav__cta:hover {
    color: #fff !important;
    filter: brightness(1.05);
}

@media (max-width: 768px) {
    .site-nav-toggle { display: flex; }
    .site-nav {
        display: none;
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--line);
        padding: 12px 20px 20px;
        box-shadow: var(--shadow-lg);
    }
    .site-header.is-open .site-nav { display: block; }
    .site-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
    .site-nav__cta { margin-left: 0; text-align: center; }
}

/* 锚点偏移（固定顶栏） */
section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* —— Hero —— */
.hero {
    position: relative;
    padding: 56px 0 80px;
    overflow: hidden;
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 90% 60% at 15% -10%, rgba(99, 102, 241, 0.18), transparent 55%),
        radial-gradient(ellipse 70% 50% at 95% 20%, rgba(6, 182, 212, 0.12), transparent 50%),
        radial-gradient(ellipse 50% 40% at 50% 100%, rgba(139, 92, 246, 0.06), transparent 45%),
        linear-gradient(180deg, #eef2ff 0%, var(--bg) 55%);
    pointer-events: none;
}
.hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 40px;
    align-items: center;
}
@media (min-width: 900px) {
    .hero__grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
}

.hero__copy {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 32rem;
}
@media (max-width: 899px) {
    .hero__copy { max-width: none; }
    .hero__lead { max-width: none; }
}
.hero__product {
    margin: 0 0 10px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}
.hero__slogan {
    margin: 0 0 22px;
    font-size: clamp(1.35rem, 3.2vw, 1.75rem);
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--ink);
    line-height: 1.35;
}
.hero__slogan-sep {
    margin: 0 0.35em;
    color: var(--indigo-dark);
    font-weight: 800;
}
.hero__title {
    margin: 0 0 18px;
    font-size: clamp(1.65rem, 4vw, 2.15rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--ink);
}
.hero__accent {
    background: linear-gradient(90deg, var(--indigo) 0%, var(--cyan) 50%, var(--violet) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero__lead {
    margin: 0 0 32px;
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.85;
    max-width: 22em;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 0; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: filter 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn--primary {
    background: linear-gradient(135deg, var(--indigo-dark), #2563eb);
    color: #fff;
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.35);
}
.btn--primary:hover { filter: brightness(1.06); color: #fff; }
.btn--ghost {
    background: rgba(255, 255, 255, 0.75);
    color: var(--ink);
    border: 1px solid var(--line);
}
.btn--ghost:hover { background: var(--surface); border-color: #cbd5e1; color: var(--ink); }

.hero__visual { display: flex; justify-content: center; align-items: flex-start; padding-top: 8px; }
.hero__phone {
    max-width: 280px;
    border-radius: 28px;
    padding: 12px;
    background: linear-gradient(145deg, #fff 0%, #f1f5f9 100%);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(226, 232, 240, 0.9);
}
.hero__phone img {
    border-radius: 20px;
    width: 100%;
    height: auto;
}

/* —— Section 通用 —— */
.section { padding: 64px 0; }
.section--features {
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(99, 102, 241, 0.06), transparent 55%),
        linear-gradient(180deg, #f1f5f9 0%, var(--surface) 22%);
    border-top: 1px solid var(--line);
    padding: 72px 0 80px;
}
.section--about { background: var(--bg); }
.section--download { padding: 56px 0 72px; }

.section__head { text-align: center; max-width: 40em; margin: 0 auto 28px; }
.section__head--left { text-align: left; margin-left: 0; margin-bottom: 20px; }
.section__label {
    margin: 0 0 8px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--indigo-dark);
}
.section__label--on-dark { color: #94a3b8; }
.section__title {
    margin: 0 0 12px;
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
}
.section__sub {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--muted);
    line-height: 1.75;
}

/* —— Features 引导带 —— */
.features__band {
    margin: 0 auto 28px;
    max-width: 52rem;
    padding: 20px 22px;
    border-radius: var(--r);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--line);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.features__path {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 6px;
    margin-bottom: 16px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--ink);
}
.features__path-step {
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(6, 182, 212, 0.08));
    border: 1px solid rgba(99, 102, 241, 0.15);
}
.features__path-arrow {
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.9rem;
    user-select: none;
}
.features__highlights {
    display: grid;
    gap: 8px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.8125rem;
    color: #475569;
    line-height: 1.55;
}
@media (min-width: 640px) {
    .features__highlights {
        grid-template-columns: repeat(3, 1fr);
        text-align: center;
    }
}
.features__highlights strong {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--indigo-dark);
    margin-bottom: 2px;
}

/* —— Features 卡片 —— */
.feature-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr;
}
@media (min-width: 640px) {
    .feature-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}
.feature-card {
    display: flex;
    flex-direction: column;
    min-height: 280px;
    padding: 22px 22px 20px;
    border-radius: var(--r);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.feature-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.feature-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(6, 182, 212, 0.08));
}
.feature-card__icon img { opacity: 0.9; }
.feature-card__badge {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--bg);
    border: 1px solid var(--line);
}
.feature-card--1 { border-top: 3px solid var(--indigo); }
.feature-card--2 { border-top: 3px solid var(--violet); }
.feature-card--3 { border-top: 3px solid var(--cyan); }
.feature-card--4 { border-top: 3px solid #10b981; }
.feature-card__title {
    margin: 0 0 10px;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
}
.feature-card__desc {
    margin: 0 0 12px;
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.7;
    flex: 1;
}
.feature-card__hint {
    margin: 0;
    padding-top: 12px;
    border-top: 1px dashed var(--line);
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.55;
}
@media (max-width: 639px) {
    .feature-card { min-height: 0; }
}

/* —— About —— */
.about {
    display: grid;
    gap: 32px;
    align-items: start;
}
@media (min-width: 800px) {
    .about { grid-template-columns: 1.2fr 1fr; gap: 48px; }
}
.about__col--text p {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 1.75;
}
.about__col--text p:last-child { margin-bottom: 0; }
.about__aside {
    padding: 24px 22px;
    border-radius: var(--r);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.about__quote {
    margin: 0 0 16px;
    padding: 0;
    border: none;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.5;
}
.about__quote p { margin: 0; }
.about__bullets {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.8125rem;
    color: var(--muted);
    line-height: 1.7;
}
.about__bullets li { margin-bottom: 8px; }
.about__bullets li:last-child { margin-bottom: 0; }

/* —— Download —— */
.download-panel { max-width: 720px; margin: 0 auto; }
.download-panel__inner {
    padding: 32px 28px;
    border-radius: var(--r);
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 55%, #0c1222 100%);
    border: 1px solid #334155;
    box-shadow: var(--shadow-lg);
    text-align: center;
}
.download-panel__head { margin-bottom: 28px; }
.download-panel__title {
    margin: 0 0 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}
.download-panel__lead {
    margin: 0;
    font-size: 0.875rem;
    color: #94a3b8;
    line-height: 1.65;
    max-width: 28em;
    margin-left: auto;
    margin-right: auto;
}
.download-panel__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}
.dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--indigo-dark), #2563eb);
    color: #fff !important;
    box-shadow: 0 4px 18px rgba(79, 70, 229, 0.4);
    min-width: 200px;
    justify-content: flex-start;
}
.dl-btn:hover { filter: brightness(1.06); color: #fff !important; }
.dl-btn__text { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.dl-btn__line { font-size: 1rem; line-height: 1.2; }
.dl-btn__sub { font-size: 0.75rem; font-weight: 600; opacity: 0.9; }
.dl-btn--ios.dl-btn--soon {
    background: #334155;
    box-shadow: none;
    cursor: default;
    pointer-events: none;
    opacity: 0.92;
}

/* —— Footer —— */
.site-footer {
    background: #020617;
    color: #94a3b8;
    padding: 48px 0 24px;
    border-top: 1px solid #1e293b;
}
.site-footer__grid {
    display: grid;
    gap: 32px;
    margin-bottom: 32px;
}
@media (min-width: 640px) {
    .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.site-footer__tagline {
    margin: 10px 0 0;
    font-size: 0.875rem;
    color: #64748b;
    max-width: 16em;
    line-height: 1.5;
}
.site-footer__h {
    margin: 0 0 12px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64748b;
}
.site-footer__col ul li { margin-bottom: 8px; }
.site-footer__col a {
    font-size: 0.875rem;
    font-weight: 600;
    color: #cbd5e1;
}
.site-footer__col a:hover { color: #a5b4fc; }
.site-footer__bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #1e293b;
    font-size: 0.8125rem;
    color: #64748b;
}
.site-footer__bottom p { margin: 0 0 6px; }
.site-footer__icp a { color: #64748b; }
.site-footer__icp a:hover { color: #94a3b8; }

/* —— 内页兼容（旧 class 仍可用） —— */
.policy-content h1,
.policy-content h2 { color: var(--ink); }
.policy-content { padding: 32px 0 48px; }
.policy-content h1 { font-size: 1.75rem; margin-bottom: 1rem; }
.policy-content h2 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: var(--ink);
}
.policy-content h3 {
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    color: #334155;
}
.policy-content p,
.policy-content ul { margin-bottom: 1rem; line-height: 1.75; color: #475569; font-size: 0.9375rem; }
.policy-content ul { padding-left: 1.25em; list-style: disc; }
.policy-content li { margin-bottom: 0.35rem; }
.policy-content .update-date {
    font-style: italic;
    margin-top: 2.5rem;
    color: var(--muted);
    font-size: 0.875rem;
}
.breadcrumb {
    padding: 14px 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    font-size: 0.875rem;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--indigo-dark); }
.breadcrumb span { color: #94a3b8; margin: 0 8px; }
.highlight {
    background: #fffbeb;
    padding: 14px 16px;
    border-radius: 10px;
    border-left: 4px solid #f59e0b;
    margin: 1.25rem 0;
    color: #78350f;
    font-size: 0.9rem;
}

/* 旧 footer 结构（未改模板的子页） */
footer:not(.site-footer) {
    background: #020617;
    color: #94a3b8;
    padding: 48px 0 24px;
    border-top: 1px solid #1e293b;
}
footer:not(.site-footer) .footer-content {
    display: grid;
    gap: 28px;
    margin-bottom: 28px;
}
@media (min-width: 640px) {
    footer:not(.site-footer) .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
}
footer:not(.site-footer) .footer-logo h3 {
    font-size: 1.2rem;
    color: #f1f5f9;
    margin-bottom: 8px;
}
footer:not(.site-footer) .footer-logo p { color: #64748b; font-size: 0.875rem; }
footer:not(.site-footer) .footer-links h4 {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 12px;
}
footer:not(.site-footer) .footer-links ul li { margin-bottom: 8px; }
footer:not(.site-footer) .footer-links a { color: #cbd5e1; font-size: 0.875rem; font-weight: 600; }
footer:not(.site-footer) .footer-links a:hover { color: #a5b4fc; }
footer:not(.site-footer) .footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #1e293b;
    font-size: 0.8125rem;
    color: #64748b;
}
footer:not(.site-footer) .icp-info { margin-top: 6px; }
footer:not(.site-footer) .icp-info a { color: #64748b; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .feature-card { transition: none; }
    .feature-card:hover { transform: none; }
}
