:root {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #14b8a6;
    --accent: #ea580c;
    --accent-hover: #c2410c;
    --surface: #f0fdfa;
    --surface-2: #ffffff;
    --text: #134e4a;
    --text-muted: #5b7c78;
    --border: rgba(13, 148, 136, 0.15);
    --shadow: 0 4px 24px rgba(15, 118, 110, 0.08);
    --shadow-lg: 0 12px 40px rgba(15, 118, 110, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --nav-h: 72px;
    --transition: 0.25s ease;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
    color: var(--text);
    line-height: 1.65;
    background: var(--surface-2);
    overflow-x: hidden;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 导航 */
.za10d2navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0.65rem 0;
}

.za10d2navbar-sticky {
    position: sticky;
    top: 0;
    z-index: 1030;
}

.za10d2navbar-brand img {
    height: 42px;
    width: auto;
}

.za10d2nav-link {
    color: var(--text) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.45rem 0.85rem !important;
    border-radius: 8px;
    transition: color var(--transition), background var(--transition);
}

.za10d2nav-link:hover,
.za10d2nav-link.active {
    color: var(--primary) !important;
    background: rgba(13, 148, 136, 0.08);
}

.navbar-toggler {
    border: 1px solid var(--border);
    padding: 0.4rem 0.55rem;
}

.navbar-collapse {
    background: var(--surface-2);
}

@media (min-width: 992px) {
    .navbar-collapse {
        background: transparent;
        box-shadow: none;
        padding: 0;
    }
}

/* 按钮 */
.za10d2btn {
    border-radius: 10px;
    font-weight: 600;
    padding: 0.65rem 1.25rem;
    transition: transform var(--transition), box-shadow var(--transition);
    border: none;
}

.za10d2btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #fff;
}

.za10d2btn-accent:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(234, 88, 12, 0.35);
}

.za10d2btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
}

.za10d2btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.35);
}

.za10d2btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.85);
    color: #fff;
}

.za10d2btn-outline:hover {
    background: #fff;
    color: var(--primary-dark);
}

.za10d2btn-ghost {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.za10d2btn-ghost:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.za10d2btn-outline-dark {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary-dark);
}

.za10d2btn-outline-dark:hover {
    background: var(--primary);
    color: #fff;
}

.za10d2article-section .za10d2btn-outline {
    border-color: var(--primary);
    color: var(--primary-dark);
    background: transparent;
}

.za10d2article-section .za10d2btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

/* Hero */
.za10d2hero-section {
    position: relative;
    padding: 4rem 0 3.5rem;
    color: #fff;
    overflow: hidden;
    min-height: auto;
}

.za10d2hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, #042f2e 0%, #0d9488 45%, #115e59 100%);
    z-index: 0;
}

.za10d2hero-bg::after {
    content: '';
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(234, 88, 12, 0.25) 0%, transparent 70%);
    top: -120px;
    right: -80px;
    pointer-events: none;
}

.za10d2hero-section .container,
.za10d2hero-section .row {
    position: relative;
    z-index: 1;
}

.za10d2hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1rem;
}

.za10d2hero-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.za10d2hero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    opacity: 0.92;
    max-width: 36em;
    margin-bottom: 1.5rem;
}

.za10d2hero-subtitle strong {
    font-weight: 600;
    color: #fef3c7;
}

.za10d2hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.za10d2hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.za10d2hero-image {
    max-width: 280px;
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin: 0 auto;
}

.za10d2hero-image-shadow {
    display: none;
}

/* Intro strip */
.za10d2intro-strip {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 0;
}

.za10d2intro-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    text-align: center;
    max-width: 52em;
    margin: 0 auto;
}

.za10d2intro-text strong {
    color: var(--primary-dark);
}

/* Section common */
.za10d2section {
    padding: 4rem 0;
}

.za10d2section-head {
    max-width: 40rem;
    margin: 0 auto 2.5rem;
}

.za10d2section-head h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text);
    margin: 0.5rem 0 0.75rem;
}

.za10d2section-head p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.98rem;
}

.za10d2section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    background: rgba(13, 148, 136, 0.1);
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
}

.za10d2section-label--light {
    color: #ccfbf1;
    background: rgba(255, 255, 255, 0.15);
}

.za10d2section-head--light h2 {
    color: #fff;
}

/* Bento features */
.za10d2features-section {
    background: var(--surface-2);
}

.za10d2bento-card {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    height: 100%;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.za10d2bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.za10d2bento-card--accent {
    background: linear-gradient(160deg, #f0fdfa, #fff);
    border-color: rgba(13, 148, 136, 0.25);
}

.za10d2bento-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.za10d2bento-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.za10d2bento-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* Stats */
.za10d2stats-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 3.5rem 0;
    color: #fff;
}

.za10d2stat-pill {
    text-align: center;
    padding: 1.25rem 0.75rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    height: 100%;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.za10d2stat-number {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    line-height: 1.2;
}

.za10d2stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.25rem;
}

/* Download */
.za10d2download-section {
    padding: 4rem 0;
    background: var(--surface);
}

.za10d2download-subtitle {
    color: var(--text-muted);
    font-size: 0.98rem;
}

.za10d2dl-tile {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
    min-height: 220px;
}

.za10d2dl-tile--highlight {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(234, 88, 12, 0.2), var(--shadow);
}

.za10d2dl-tile-head {
    margin-bottom: 0.75rem;
}

.za10d2dl-tile-head h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0.5rem 0 0;
    color: var(--text);
}

.za10d2dl-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    flex: 1;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.za10d2dl-list li {
    padding: 0.25rem 0;
    padding-left: 1rem;
    position: relative;
}

.za10d2dl-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.za10d2platform-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
}

.za10d2ios-icon {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
}

.za10d2android-icon {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

/* Knowledge */
.za10d2knowledge-section {
    padding: 4rem 0;
    background: var(--surface-2);
    border-top: 1px solid var(--border);
}

.za10d2kb-title {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    margin: 0.5rem 0 1rem;
}

.za10d2kb-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.15rem;
    height: 100%;
}

.za10d2kb-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.4rem;
}

.za10d2kb-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.55;
}

/* Security */
.za10d2security-section {
    padding: 4rem 0;
    background: var(--surface);
}

.za10d2security-subtitle {
    color: var(--text-muted);
}

.za10d2security-card {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.35rem;
    text-align: center;
    box-shadow: var(--shadow);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.za10d2security-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 0.85rem;
    flex-shrink: 0;
}

.za10d2security-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.za10d2security-features {
    width: 100%;
    background: var(--surface);
    border-radius: var(--radius);
    padding: 0.85rem;
    border: 1px solid var(--border);
    margin-top: auto;
}

.za10d2feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.za10d2feature-item:last-child {
    margin-bottom: 0;
}

.za10d2feature-item i {
    color: var(--primary);
    font-size: 0.75rem;
}

.za10d2mt-cert {
    margin-top: 1.5rem !important;
}

.za10d2certificate-card {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    min-height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.za10d2certificate-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.za10d2certificate-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--text);
}

.za10d2certificate-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* FAQ */
.za10d2faq-section {
    padding: 4rem 0;
    background: var(--surface-2);
}

.za10d2faq-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.35rem;
    height: 100%;
    box-shadow: var(--shadow);
}

.za10d2faq-card h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.za10d2faq-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* Articles */
.za10d2article-section {
    padding: 4rem 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.za10d2article-card {
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition);
}

.za10d2article-card:hover {
    transform: translateY(-3px);
}

.za10d2thumb-home {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.za10d2article-card .card-body {
    padding: 0.85rem;
}

/* Footer */
.za10d2footer {
    background: #042f2e;
    color: #99f6e4;
    padding: 3rem 0 1.5rem;
}

.za10d2footer-title {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.za10d2footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.za10d2footer-links li {
    margin-bottom: 0.5rem;
}

.za10d2footer-link {
    color: #99f6e4;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition);
}

.za10d2footer-link:hover {
    color: #fff;
}

.za10d2friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.za10d2friend-links a {
    color: #99f6e4;
    font-size: 0.85rem;
    text-decoration: none;
}

.za10d2friend-links a:hover {
    color: #fff;
}

.za10d2footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.za10d2footer-bottom a {
    color: #5eead4;
    text-decoration: none;
}

.za10d2footer-bottom a:hover {
    color: #fff;
}

/* 列表/内页 */
.za10d2page-main {
    padding: 2rem 0 3rem;
    background: var(--surface);
    min-height: 50vh;
}

.za10d2page-main .card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.za10d2article-content {
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.za10d2article-content img {
    max-width: 100%;
    height: auto;
}

/* 分页 */
.pagebar .pagelist {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.pagebar .pagelist li {
    display: inline-flex;
    margin: 0;
}

/* Legacy aliases */
.za10d2feature-card,
.za10d2download-card,
.za10d2download-header,
.za10d2download-info,
.za10d2download-action,
.za10d2guide-item,
.za10d2security-header,
.za10d2stat-item,
.za10d2hero-content,
.za10d2hero-buttons,
.za10d2hero-image-container {
    /* kept for CMS compatibility */
}

.za10d2py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* 响应式 */
@media (max-width: 991px) {
    .za10d2hero-section {
        padding: 3rem 0 2.5rem;
        text-align: center;
    }

    .za10d2hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .za10d2hero-buttons {
        justify-content: center;
    }

    .za10d2hero-visual {
        margin-top: 1rem;
    }
}

@media (max-width: 767px) {
    .za10d2navbar {
        padding: 0.5rem 0;
    }

    .za10d2navbar .navbar-collapse {
        margin-top: 0.5rem;
        padding: 0.75rem;
        border-radius: var(--radius);
        border: 1px solid var(--border);
        max-height: 70vh;
        overflow-y: auto;
    }

    .za10d2navbar .nav-link {
        padding: 0.5rem 0.35rem !important;
    }

    .za10d2hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .za10d2hero-buttons .btn {
        width: 100%;
        white-space: normal;
    }

    .za10d2section,
    .za10d2download-section,
    .za10d2security-section,
    .za10d2knowledge-section,
    .za10d2faq-section,
    .za10d2article-section {
        padding: 2.75rem 0;
    }

    .za10d2section-head {
        margin-bottom: 1.75rem;
    }

    .za10d2dl-tile {
        min-height: auto;
    }

    .za10d2dl-tile .btn {
        white-space: normal;
    }

    .za10d2security-card {
        min-height: auto;
    }

    .za10d2intro-text {
        font-size: 0.9rem;
        text-align: left;
    }

    .za10d2footer {
        text-align: center;
    }

    .za10d2friend-links {
        justify-content: center;
    }

    #article .za10d2thumb-home {
        height: 96px !important;
    }

    #article h3.h6,
    #article h3.h5 {
        font-size: 0.9rem;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .listbox .e2 li {
        padding-bottom: 0.75rem !important;
        margin-bottom: 0.75rem !important;
    }

    .listbox .e2 li h2.h5 {
        font-size: 1rem;
        line-height: 1.35;
    }

    .za10d2thumb-list,
    .za10d2thumb-related {
        height: 72px !important;
    }

    .za10d2thumb-side {
        height: 50px !important;
    }

    .za10d2thumb-cover {
        max-width: 100% !important;
        width: 100%;
        height: 170px !important;
    }
}

@media (max-width: 575px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .za10d2stat-pill {
        min-height: 88px;
        padding: 0.85rem 0.5rem;
    }

    .za10d2stat-number {
        font-size: 1.35rem;
    }

    .za10d2certificate-card {
        min-height: auto;
        padding: 1.15rem;
    }

    #article .za10d2thumb-home {
        height: 88px !important;
    }

    .za10d2thumb-list,
    .za10d2thumb-related {
        height: 64px !important;
    }

    .za10d2thumb-cover {
        height: 150px !important;
    }

    .pagebar .pagelist {
        gap: 0.35rem;
    }
}
