/* Digital Workshop Theme */
/* Base Variables */
:root {
    --base-font: 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    --color-white: #f8f9fa;
    --color-prussian-blue: #1d3557;
    --color-coral: #e63946;
    --color-amber: #f4a261;
    --color-teal: #2a9d8f;
    --color-violet: #7b2d8b;
    --color-sky: #48cae4;
    --color-ink: #212529;
    --color-surface: #f8f9fa;
    --color-surface2: #e9ecef;
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--base-font);
    background-color: var(--color-white);
    color: var(--color-ink);
    line-height: 1.6;
    font-size: 16px;
}

a {
    color: var(--color-coral);
    text-decoration: none;
}

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sec {
    padding: 80px 0;
}

.sec-hd {
    text-align: center;
    margin-bottom: 60px;
}

.sec-eyebrow {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 99px;
    margin-bottom: 12px;
}

.ey-coral { background-color: #e6394620; color: var(--color-coral); }
.ey-blue { background-color: #1d355720; color: var(--color-prussian-blue); }

.sec-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-ink);
    margin-bottom: 16px;
}

.sec-sub {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    color: #495057;
}

.sec-title.light, .sec-sub.light { color: var(--color-white); }

/* Buttons */
.btn {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 2px solid transparent;
    padding: 12px 28px;
    font-size: 16px;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
}

.btn-coral { background-color: var(--color-coral); color: #fff; }
.btn-coral:hover { background-color: #c02d39; }

.btn-blue { background-color: var(--color-prussian-blue); color: #fff; }
.btn-blue:hover { background-color: #13233a; }

.btn-outline-w {
    border-color: #fff;
    color: #fff;
}
.btn-outline-w:hover {
    background-color: #fff;
    color: var(--color-prussian-blue);
}

.btn-lg { padding: 16px 40px; font-size: 18px; }

/* Navigation */
.dw-nav {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #dee2e6;
}

.dw-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.dw-brand {
    display: flex;
    align-items: center;
}

.dw-brand-mark {
    width: 32px;
    height: 32px;
}

.dw-brand-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-prussian-blue);
    margin-left: 12px;
}

.dw-links {
    display: flex;
    gap: 24px;
}

.dw-link {
    font-weight: 600;
    color: var(--color-ink);
    padding: 8px 12px;
    border-radius: 99px;
    position: relative;
}

.dw-link.on, .dw-link:hover {
    color: var(--color-coral);
}

.dw-link.on {
    background-color: #e639461a;
}

.dw-cta {
    margin-left: 24px;
}

.dw-burger {
    display: none;
    cursor: pointer;
}

.dw-mob {
    display: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(45deg, var(--color-prussian-blue), #111e36);
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 99px;
    background-color: var(--color-coral);
    color: #fff;
    margin-bottom: 20px;
}

.hero-h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 24px;
}

.hero-p {
    font-size: 20px;
    max-width: 750px;
    margin: 0 auto 32px;
    opacity: 0.9;
}

.hero-btns { display: flex; justify-content: center; gap: 16px; margin-bottom: 40px; }

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 14px;
}

.hero-badge { opacity: 0.8; }

/* Feature Grid */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feat-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background-color: var(--color-coral);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feat-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.feat-card:hover::before { transform: scaleX(1); }

.fc-amber:hover::before { background-color: var(--color-amber); }
.fc-teal:hover::before { background-color: var(--color-teal); }
.fc-violet:hover::before { background-color: var(--color-violet); }
.fc-sky:hover::before { background-color: var(--color-sky); }
.fc-blue:hover::before { background-color: var(--color-prussian-blue); }

.feat-icon {
    margin-bottom: 20px;
    height: 48px;
    width: 48px;
}

.fi-coral { color: var(--color-coral); }
.fi-amber { color: var(--color-amber); }
.fi-teal { color: var(--color-teal); }

.feat-name { font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.feat-desc { color: #495057; }

/* Platforms */
.plat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.plat-card {
    background-color: var(--color-surface2);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.plat-card.featured {
    background-color: #fff;
    border-color: var(--color-coral);
}

.plat-icon { width: 48px; height: 48px; margin-bottom: 16px; color: var(--color-prussian-blue); }
.plat-name { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.plat-req { font-size: 14px; color: #6c757d; margin-bottom: 20px; }

/* Reviews */
.rev-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.rev-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 24px;
}

.rev-stars { margin-bottom: 12px; color: var(--color-amber); }
.rev-text { margin-bottom: 16px; }
.rev-footer { display: flex; align-items: center; }
.rev-avatar { width: 40px; height: 40px; border-radius: 50%; margin-right: 12px; }
.rev-name { font-weight: 600; }
.rev-role { font-size: 14px; color: #6c757d; }

/* Security & Comparison */
.sec-items-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.sec-item-card {
    text-align: center;
}

.sec-item-icon { width: 40px; height: 40px; margin-bottom: 16px; }
.sii-coral { color: var(--color-coral); }
.sii-amber { color: var(--color-amber); }
.sii-teal { color: var(--color-teal); }
.sii-blue { color: var(--color-prussian-blue); }

.sec-item-title { font-weight: 600; margin-bottom: 8px; }
.sec-item-desc { font-size: 14px; color: #6c757d; }

.cmp-wrap { overflow-x: auto; }
.cmp-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.cmp-table th, .cmp-table td {
    padding: 12px 16px;
    border: 1px solid #dee2e6;
    text-align: left;
}

.cmp-table th { background-color: var(--color-surface2); }
.cmp-hl { font-weight: 600; color: var(--color-prussian-blue); }
.yes { color: var(--color-teal); font-weight: 700; }
.no { color: var(--color-coral); font-weight: 700; }

/* Versions */
.ver-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.ver-card {
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    position: relative;
}

.ver-card.popular {
    border-width: 2px;
    border-color: var(--color-coral);
}

.ver-pop-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--color-coral); color: #fff; padding: 4px 12px; border-radius: 99px; font-size: 12px; font-weight: 600; }
.ver-name { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.ver-desc { font-size: 14px; color: #6c757d; margin-bottom: 20px; }
.ver-price { font-size: 32px; font-weight: 700; margin-bottom: 20px; }
.ver-price .coral { color: var(--color-coral); }
.ver-sep { height: 1px; background: #dee2e6; margin: 24px 0; }
.ver-list { list-style: none; text-align: left; margin-bottom: 30px; }
.ver-check { display: flex; align-items: center; margin-bottom: 12px; }
.ver-check svg { width: 20px; height: 20px; color: var(--color-teal); margin-right: 8px; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #dee2e6; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-item.open .faq-a { max-height: 300px; padding-top: 16px; }
.faq-q { display: flex; justify-content: space-between; align-items: center; cursor: pointer; padding: 20px 0; font-size: 18px; font-weight: 600; }
.faq-chevron { transition: transform 0.3s; width: 24px; height: 24px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out, padding-top 0.3s ease-out; }
.faq-a-inner { padding-bottom: 20px; color: #495057; }

/* CTA Banner */
.cta-banner {
    background: linear-gradient(45deg, var(--color-coral), var(--color-amber));
    color: #fff;
    padding: 60px 0;
    text-align: center;
    border-radius: 16px;
}
.cta-h2 { font-size: 32px; font-weight: 700; margin-bottom: 16px; }
.cta-p { max-width: 600px; margin: 0 auto 24px; opacity: 0.9; }

/* Footer */
.site-footer {
    padding: 40px 0;
    text-align: center;
    font-size: 14px;
    color: #6c757d;
    border-top: 1px solid #e9ecef;
}

/* Download Page Specific */
.dl-hero { text-align: center; padding: 80px 0; background-color: var(--color-surface); }
.dl-hero-tag { display: inline-block; padding: 4px 12px; background-color: #1d355720; color: var(--color-prussian-blue); border-radius: 99px; font-weight: 600; font-size: 14px; margin-bottom: 16px; }
.dl-hero-h1 { font-size: 44px; font-weight: 700; margin-bottom: 16px; }
.dl-hero-sub { font-size: 18px; color: #495057; max-width: 700px; margin: 0 auto 32px; }

.dl-main-card {
    background: #fff;
    border: 2px solid var(--color-coral);
    border-radius: 16px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
}

.dl-main-top { display: flex; align-items: center; margin-bottom: 24px; }
.dl-main-icon { width: 64px; height: 64px; margin-right: 20px; }
.dl-main-name { font-size: 28px; font-weight: 700; }
.dl-main-meta { font-size: 14px; color: #6c757d; }

.dl-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; text-align: left; margin: 24px 0; }
.dl-spec { display: flex; flex-direction: column; }
.dl-spec-label { font-size: 14px; color: #6c757d; }
.dl-spec-val { font-weight: 600; }

.dl-sec-badge { display: inline-flex; align-items: center; gap: 8px; color: var(--color-teal); font-weight: 600; margin-bottom: 24px; }
.dl-sec-badge svg { width: 20px; height: 20px; }

.dl-main-btns { display: flex; justify-content: center; gap: 16px; }

.op-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 60px; }
.op-card { background: var(--color-surface); border-radius: 12px; padding: 30px; text-align: center; }
.op-icon { width: 48px; height: 48px; margin-bottom: 16px; }
.op-name { font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.op-steps { text-align: left; font-size: 14px; margin-top: 16px; }

.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.guide-col-title { font-size: 22px; font-weight: 600; margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.guide-col-dot { width: 12px; height: 12px; border-radius: 50%; }
.gcd-mint { background-color: var(--color-teal); }
.gcd-indigo { background-color: var(--color-prussian-blue); }

.gstep { display: flex; gap: 16px; margin-bottom: 20px; }
.gstep-num { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; }
.gsn-mint { background-color: var(--color-teal); }
.gsn-indigo { background-color: var(--color-prussian-blue); }
.gstep-title { font-weight: 600; }
.gstep-desc { font-size: 14px; color: #495057; }

.req-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.req-card { background: var(--color-surface2); padding: 20px; border-radius: 8px; }
.req-title { font-weight: 600; margin-bottom: 8px; }
.req-val { font-size: 14px; }

.ver-list { position: relative; }
.ver-line { position: absolute; left: 12px; top: 0; bottom: 0; width: 2px; background-color: #dee2e6; }
.ver-item { display: flex; gap: 24px; margin-bottom: 24px; position: relative; }
.ver-dot-col { flex-shrink: 0; }
.ver-dot { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 4px solid; }
.vd-mint { border-color: var(--color-teal); }
.vd-amber { border-color: var(--color-amber); }
.vd-rose { border-color: var(--color-coral); }
.ver-head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.ver-num { font-weight: 700; font-size: 18px; }
.ver-date { font-size: 14px; color: #6c757d; }
.ver-desc { font-size: 15px; }

/* zh-cn page */
.art-hero { padding: 60px 0; text-align: center; background-color: var(--color-surface); }
.art-hero-title { font-size: 40px; font-weight: 700; margin-bottom: 16px; }
.art-hero-sub { font-size: 18px; color: #495057; max-width: 700px; margin: 0 auto 24px; }

.art-layout { display: grid; grid-template-columns: 1fr 300px; gap: 60px; align-items: start; }
.art-body h2 { font-size: 28px; margin-top: 40px; margin-bottom: 20px; border-bottom: 2px solid var(--color-coral); padding-bottom: 8px; }
.art-body p { margin-bottom: 16px; }

.sidebar { position: sticky; top: 90px; }
.sbox { background: var(--color-surface); padding: 20px; border-radius: 8px; margin-bottom: 20px; }
.sbox-title { font-weight: 700; margin-bottom: 16px; }
.sdl-btn { display: block; width: 100%; margin-bottom: 12px; }

/* Responsive */
@media (max-width: 1024px) {
    .dw-links { display: none; }
    .dw-burger { display: block; }
    .dw-mob { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff; padding: 20px; border-bottom: 1px solid #dee2e6; flex-direction: column; gap: 10px; }
    .dw-mob.show { display: flex; }
    .dw-mob .dw-link { display: block; text-align: center; }
    .feat-grid, .rev-grid, .ver-grid, .op-grid { grid-template-columns: repeat(2, 1fr); }
    .plat-grid, .sec-items-grid { grid-template-columns: repeat(2, 1fr); }
    .guide-grid { grid-template-columns: 1fr; }
    .art-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
}

@media (max-width: 768px) {
    .hero-h1 { font-size: 40px; }
    .feat-grid, .rev-grid, .ver-grid, .op-grid, .plat-grid, .sec-items-grid, .req-grid { grid-template-columns: 1fr; }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
