/*
Theme: Studio Press / Creative Workspace
Palette:
- Background: #fdfcf9 (Warm Off-White)
- Text/Dark: #212121 (Deep Charcoal)
- Primary: #e07a5f (Terracotta)
- Secondary: #3d8a86 (Muted Teal)
- Tertiary: #f2cc8f (Golden Ochre)
*/

:root {
    --bg-color: #fdfcf9;
    --text-color: #212121;
    --primary-color: #e07a5f;
    --secondary-color: #3d8a86;
    --tertiary-color: #f2cc8f;
    --white-color: #ffffff;
    --gray-light: #f1f1f1;
    --gray-medium: #e0e0e0;
    --gray-dark: #616161;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    font-size: 16px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Animation --- */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    border: 2px solid transparent;
    padding: 12px 28px;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #d46a4d;
    border-color: #d46a4d;
    color: var(--white-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #337370;
    border-color: #337370;
    color: var(--white-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* --- Navigation --- */
.site-nav {
    background-color: rgba(253, 252, 249, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--gray-light);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-brand-icon {
    width: 36px;
    height: 36px;
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 600;
    color: var(--text-color);
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    padding: 100px 0;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title .hl {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--gray-dark);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* --- Section Headings --- */
.sec-head {
    text-align: center;
    margin-bottom: 60px;
}

.sec-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.sec-sub {
    font-size: 1.1rem;
    color: var(--gray-dark);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Feature Section --- */
.features {
    padding: 80px 0;
    background-color: var(--white-color);
}

.feat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feat-card {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--gray-light);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.feat-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.feat-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.feat-desc {
    color: var(--gray-dark);
}

/* --- Platform Section --- */
.platforms {
    padding: 80px 0;
}

.plat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.plat-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--gray-light);
    text-align: center;
}

.plat-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
}

.plat-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.plat-desc {
    font-size: 0.9rem;
    color: var(--gray-dark);
    margin-bottom: 20px;
}

/* --- Deep Dive Section --- */
.deep-dive {
    padding: 80px 0;
    background-color: var(--white-color);
}

.deep-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.deep-row:last-child {
    margin-bottom: 0;
}

.deep-row.reverse {
    flex-direction: row-reverse;
}

.deep-text, .deep-visual {
    flex: 1;
}

.deep-visual {
    background-color: var(--bg-color);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
}

.deep-visual img {
    max-width: 100%;
    border-radius: 8px;
}

.deep-icon {
    width: 120px;
    height: 120px;
    color: var(--secondary-color);
    stroke-width: 1.5;
}

.deep-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.deep-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-dark);
}

/* --- Reviews Section --- */
.reviews {
    padding: 80px 0;
}

.rev-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.rev-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--gray-light);
}

.rev-stars {
    margin-bottom: 15px;
    color: var(--tertiary-color);
}

.rev-text {
    font-style: italic;
    margin-bottom: 20px;
}

.rev-user {
    display: flex;
    align-items: center;
}

.rev-user-name {
    font-weight: 600;
}

/* --- Stats Section --- */
.stats {
    padding: 60px 0;
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item .stat-num {
    font-size: 2.5rem;
    font-weight: 700;
}

.stat-item .stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

/* --- Comparison Table --- */
.comparison {
    padding: 80px 0;
}

.cmp-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white-color);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--gray-light);
}

.cmp-table th, .cmp-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--gray-light);
}

.cmp-table th {
    background-color: var(--bg-color);
    font-weight: 600;
}

.cmp-table td:not(:first-child) {
    text-align: center;
}

.cmp-table .hl {
    background-color: #fffbeB;
    font-weight: 600;
}

.cmp-table .icon-check, .cmp-table .icon-cross {
    width: 24px;
    height: 24px;
}

.icon-check { color: var(--secondary-color); }
.icon-cross { color: var(--primary-color); }

/* --- FAQ Section --- */
.faq {
    padding: 80px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-light);
}

.faq-q {
    padding: 20px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
}

.faq-chevron {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq-a-inner {
    padding-bottom: 20px;
    color: var(--gray-dark);
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-item.open .faq-a {
    max-height: 300px;
}

/* --- Footer --- */
.site-footer {
    padding: 40px 0;
    background-color: #212121;
    color: #a0a0a0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.footer-text p:first-child {
    margin-bottom: 10px;
}

/* --- Download Page Specific --- */
.dl-hero {
    padding: 80px 0;
    background-color: var(--secondary-color);
    color: var(--white-color);
    text-align: center;
}

.dl-main-card {
    background-color: var(--white-color);
    color: var(--text-color);
    padding: 40px;
    border-radius: 16px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.dl-main-card h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.dl-meta {
    display: flex; 
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    color: var(--gray-dark);
}

.dl-platforms {
    padding: 80px 0;
}

.guide {
    padding: 80px 0;
    background-color: var(--white-color);
}

.guide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.guide-col h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.guide-steps {
    list-style: none;
}

.gstep {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.gstep-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white-color);
    display: grid;
    place-items: center;
    font-weight: 700;
}

.gstep-body h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

.gstep-body p {
    color: var(--gray-dark);
}

.guide-col.macos .gstep-num { background-color: var(--secondary-color); }

.req-list, .ver-list {
    padding: 80px 0;
}

.req-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.req-card {
    background-color: var(--white-color);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--gray-light);
}

.req-card h4 { font-size: 1.2rem; margin-bottom: 10px; }
.req-card ul { list-style-position: inside; padding-left: 5px; color: var(--gray-dark); }

.ver-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.ver-timeline::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--gray-light);
}

.ver-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 30px;
}

.ver-dot {
    position: absolute;
    left: 10px;
    top: 5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--tertiary-color);
    border: 3px solid var(--bg-color);
}

.ver-head {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 5px;
}

.ver-num {
    font-size: 1.2rem;
    font-weight: 700;
}

.ver-date {
    font-size: 0.9rem;
    color: var(--gray-dark);
}

.ver-desc ul {
    list-style-position: inside;
    color: var(--gray-dark);
}

.sec-banner {
    padding: 40px;
    margin: 80px 0;
    background-color: var(--secondary-color);
    color: var(--white-color);
    border-radius: 12px;
    text-align: center;
}

.sec-banner h3 { font-size: 1.5rem; margin-bottom: 10px; }

/* --- ZH-CN Page Specific --- */
.art-hero {
    padding: 60px 0;
    text-align: center;
    background-color: var(--white-color);
}

.art-hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.art-hero-sub {
    font-size: 1.1rem;
    color: var(--gray-dark);
}

.article {
    padding: 80px 0;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-content h2 {
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gray-light);
}

.article-content p, .article-content ul {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--gray-dark);
}

.article-content ul {
    padding-left: 20px;
}

.cta-box {
    margin: 60px 0;
    padding: 40px;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 12px;
}

.cta-box-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-box .btn {
    margin-top: 20px;
    background-color: var(--white-color);
    color: var(--primary-color);
    border-color: var(--white-color);
}

.cta-box .btn:hover {
    background-color: var(--bg-color);
    border-color: var(--bg-color);
}

/* --- News Preview Section --- */
.news-preview {
    padding: 80px 0;
}

.news-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-preview-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--gray-light);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.npc-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.npc-excerpt {
    font-size: 0.95rem;
    color: var(--gray-dark);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.npc-more {
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.news-preview-footer {
    text-align: center;
}

/* --- News List Page --- */
.news-list {
    padding: 80px 0;
}

.news-grid-vertical {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.news-item-card {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--gray-light);
    display: flex;
    gap: 30px;
    transition: box-shadow 0.3s;
}

.news-item-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.news-card-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--gray-light);
    color: var(--primary-color);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.news-card-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.news-card-excerpt {
    font-size: 1.05rem;
    color: var(--gray-dark);
    margin-bottom: 25px;
}

.news-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--gray-light);
}

.news-card-date {
    font-size: 0.9rem;
    color: var(--gray-dark);
}

.news-card-more {
    font-weight: 700;
    color: var(--primary-color);
}

/* --- Article Detail Page --- */
.article-detail {
    padding: 80px 0;
}

.article-header {
    text-align: center;
    margin-bottom: 50px;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.article-meta {
    font-size: 1rem;
    color: var(--gray-dark);
}

.article-content {
    max-width: 800px;
    margin: 0 auto 60px;
}

.article-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: var(--text-color);
}

.article-content a {
    text-decoration: underline;
}

.article-back {
    text-align: center;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .news-card-title { font-size: 1.4rem; }
    .article-title { font-size: 1.8rem; }
    .news-item-card { padding: 25px; }
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .deep-row, .deep-row.reverse {
        flex-direction: column;
        gap: 40px;
    }
    .guide-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-color);
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
        border-bottom: 1px solid var(--gray-light);
    }
    .nav-menu.show {
        display: flex;
    }
    .nav-link {
        padding: 15px 20px;
    }
    .nav-link::after { display: none; }
    .nav-link.active { background-color: var(--gray-light); }
    .nav-toggle {
        display: block;
    }
    .hero-title { font-size: 2.5rem; }
    .sec-title { font-size: 2rem; }
    .hero, .features, .platforms, .deep-dive, .reviews, .comparison, .faq, .dl-platforms, .guide, .req-list, .ver-list, .article {
        padding: 60px 0;
    }
    .sec-head { margin-bottom: 40px; }
}
