@import url('https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&family=ZCOOL+XiaoWei&family=Noto+Sans+SC:wght@300;400;500&display=swap');

:root {
    --ink-black: #0c0c0c;
    --ink-dark: #1a1714;
    --ink-paper: #f5f0e8;
    --ink-paper-dim: #e8e0d0;
    --ink-red: #b5372e;
    --ink-red-light: #d4544a;
    --ink-gold: #8b7340;
    --ink-gold-light: #a89050;
    --ink-text: #2c2418;
    --ink-text-light: #5a4e3c;
    --ink-text-muted: #8a7e6c;
    --ink-border: #d4c8b0;
    --ink-border-light: #e0d8c8;
    --font-brush: 'Ma Shan Zheng', cursive;
    --font-art: 'ZCOOL XiaoWei', serif;
    --font-body: 'Noto Sans SC', sans-serif;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--ink-paper);
    color: var(--ink-text);
    line-height: 1.9;
    overflow-x: hidden;
}

::selection {
    background: var(--ink-red);
    color: var(--ink-paper);
}

.topnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(12, 12, 12, 0.95);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    padding: 0 2.5rem;
    height: 60px;
    border-bottom: 1px solid rgba(181, 55, 46, 0.2);
}

.topnav-brand {
    font-family: var(--font-brush);
    font-size: 1.8rem;
    color: var(--ink-red);
    letter-spacing: 0.2em;
    margin-right: 2rem;
    flex-shrink: 0;
}

.topnav-links {
    list-style: none;
    display: flex;
    gap: 0.15rem;
    flex-wrap: wrap;
}

.topnav-links li a {
    text-decoration: none;
    color: #998877;
    font-size: 0.82rem;
    padding: 0.35rem 0.65rem;
    border-radius: 3px;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.topnav-links li a:hover {
    color: var(--ink-paper);
    background: rgba(181, 55, 46, 0.2);
}

.nav-num {
    font-family: var(--font-brush);
    font-size: 0.9rem;
    color: var(--ink-red);
    margin-right: 0.15rem;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    background: var(--ink-black);
    overflow: hidden;
    padding-top: 60px;
}

.hero-left {
    flex: 0 0 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background:
        radial-gradient(ellipse at center, rgba(181, 55, 46, 0.08) 0%, transparent 70%),
        var(--ink-black);
}

.hero-char {
    font-family: var(--font-brush);
    font-size: 22rem;
    color: rgba(181, 55, 46, 0.12);
    line-height: 1;
    user-select: none;
}

.hero-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    position: relative;
}

.hero-title {
    font-family: var(--font-brush);
    font-size: 5rem;
    color: var(--ink-paper);
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-sub {
    font-family: var(--font-art);
    font-size: 1.3rem;
    color: var(--ink-red-light);
    letter-spacing: 0.5em;
    margin-bottom: 2rem;
}

.hero-desc {
    font-size: 0.95rem;
    color: #998877;
    line-height: 2.2;
    max-width: 480px;
}

.hero-line {
    width: 60px;
    height: 2px;
    background: var(--ink-red);
    margin-top: 2.5rem;
}

.section {
    padding: 5rem 4rem;
    position: relative;
}

.section-alt {
    background: var(--ink-paper-dim);
}

.section-header {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--ink-border);
}

.section-num {
    font-family: var(--font-brush);
    font-size: 3.5rem;
    color: var(--ink-red);
    line-height: 1;
    opacity: 0.6;
}

.section-title {
    font-family: var(--font-art);
    font-size: 2rem;
    color: var(--ink-text);
    letter-spacing: 0.15em;
    font-weight: 400;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.content-block {
    margin-bottom: 2.5rem;
}

.content-block h3 {
    font-family: var(--font-art);
    font-size: 1.2rem;
    color: var(--ink-red);
    margin-bottom: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    position: relative;
    padding-left: 1rem;
}

.content-block h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.35rem;
    bottom: 0.35rem;
    width: 3px;
    background: var(--ink-red);
    border-radius: 2px;
}

.content-block p {
    font-size: 0.92rem;
    color: var(--ink-text-light);
    margin-bottom: 0.75rem;
    line-height: 2;
    text-align: justify;
}

.content-block p strong {
    color: var(--ink-text);
    font-weight: 500;
}

.full-width {
    max-width: 100%;
}

.pull-quote {
    max-width: 700px;
    margin: 0 auto 3rem;
    padding: 2rem 2.5rem;
    border-left: 4px solid var(--ink-red);
    background: rgba(181, 55, 46, 0.04);
    position: relative;
}

.pull-quote::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--ink-red), var(--ink-gold));
}

.pull-quote p {
    font-family: var(--font-art);
    font-size: 1.15rem;
    color: var(--ink-text);
    line-height: 2;
    font-style: italic;
}

.h-timeline {
    overflow-x: auto;
    padding: 2rem 0;
    margin-top: 2rem;
    -webkit-overflow-scrolling: touch;
}

.h-timeline-track {
    display: flex;
    gap: 0;
    min-width: max-content;
    position: relative;
    padding: 0 1rem;
}

.h-timeline-track::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 1rem;
    right: 1rem;
    height: 1px;
    background: var(--ink-border);
}

.h-timeline-item {
    flex: 0 0 140px;
    text-align: center;
    position: relative;
    padding-top: 2rem;
}

.h-timeline-marker {
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--ink-red);
    background: var(--ink-paper);
    z-index: 1;
}

.h-timeline-year {
    font-family: var(--font-art);
    font-size: 0.85rem;
    color: var(--ink-red);
    margin-bottom: 0.3rem;
    letter-spacing: 0.05em;
}

.h-timeline-text {
    font-size: 0.78rem;
    color: var(--ink-text-muted);
    line-height: 1.5;
}

.masonry-grid {
    columns: 2;
    column-gap: 1.5rem;
}

.card {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    padding: 1.75rem;
    border: 1px solid var(--ink-border-light);
    background: white;
    position: relative;
    transition: all 0.3s ease;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--ink-red);
    transition: height 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--ink-border);
}

.card:hover::before {
    height: 100%;
}

.card-icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.card h3 {
    font-family: var(--font-art);
    font-size: 1.25rem;
    color: var(--ink-text);
    margin-bottom: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.08em;
}

.card p {
    font-size: 0.88rem;
    color: var(--ink-text-light);
    margin-bottom: 0.6rem;
    line-height: 1.85;
}

.card p strong {
    color: var(--ink-red);
    font-weight: 500;
}

.method-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.method-row {
    display: flex;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--ink-border-light);
}

.method-row:last-child {
    border-bottom: none;
}

.method-index {
    font-family: var(--font-brush);
    font-size: 2.5rem;
    color: var(--ink-red);
    opacity: 0.3;
    flex: 0 0 3rem;
    text-align: center;
    line-height: 1;
    padding-top: 0.25rem;
}

.method-body h3 {
    font-family: var(--font-art);
    font-size: 1.2rem;
    color: var(--ink-text);
    margin-bottom: 0.5rem;
    font-weight: 400;
    letter-spacing: 0.08em;
}

.method-body > p {
    font-size: 0.9rem;
    color: var(--ink-text-light);
    margin-bottom: 0.75rem;
    line-height: 1.85;
}

.method-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.method-details span {
    font-size: 0.82rem;
    color: var(--ink-text-muted);
    padding: 0.3rem 0.75rem;
    border: 1px solid var(--ink-border-light);
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.5);
}

.tips-flow {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--ink-border);
}

.tips-flow h3 {
    font-family: var(--font-art);
    font-size: 1.2rem;
    color: var(--ink-red);
    margin-bottom: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.1em;
}

.tips-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.tip {
    font-size: 0.88rem;
    color: var(--ink-text-light);
    line-height: 1.8;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-left: 2px solid var(--ink-gold);
}

.tip-mark {
    color: var(--ink-red);
    font-size: 0.7rem;
    margin-right: 0.3rem;
}

.tip strong {
    color: var(--ink-text);
}

.quotes-flow {
    columns: 2;
    column-gap: 2rem;
}

.quote-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    position: relative;
}

.quote-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid var(--ink-border-light);
    opacity: 0.5;
}

.quote-item blockquote {
    font-family: var(--font-art);
    font-size: 1.05rem;
    color: var(--ink-text);
    line-height: 2;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.quote-item cite {
    font-size: 0.8rem;
    color: var(--ink-text-muted);
    font-style: normal;
    position: relative;
    z-index: 1;
}

.conclusion-content {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

.conclusion-char {
    font-family: var(--font-brush);
    font-size: 8rem;
    color: var(--ink-red);
    opacity: 0.1;
    line-height: 1;
    margin-bottom: 1rem;
}

.conclusion-content p {
    font-size: 0.95rem;
    color: var(--ink-text-light);
    margin-bottom: 1.25rem;
    line-height: 2.2;
}

.conclusion-final {
    font-family: var(--font-art);
    font-size: 1.15rem;
    color: var(--ink-red);
    margin-top: 2rem !important;
    letter-spacing: 0.1em;
}

.footer {
    background: var(--ink-black);
    padding: 2.5rem 4rem;
    text-align: center;
    border-top: 1px solid rgba(181, 55, 46, 0.2);
}

.footer-text {
    font-family: var(--font-art);
    color: #776655;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    margin-bottom: 0.4rem;
}

.footer-sub {
    color: #554433;
    font-size: 0.75rem;
}

@media (max-width: 1024px) {
    .topnav {
        padding: 0 1.25rem;
        height: auto;
        min-height: 50px;
        flex-wrap: wrap;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .topnav-brand {
        font-size: 1.5rem;
        margin-right: 1rem;
    }

    .topnav-links {
        gap: 0;
    }

    .topnav-links li a {
        font-size: 0.75rem;
        padding: 0.25rem 0.45rem;
    }

    .hero {
        flex-direction: column;
    }

    .hero-left {
        flex: none;
        padding: 3rem 0;
    }

    .hero-char {
        font-size: 10rem;
    }

    .hero-right {
        padding: 2rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .masonry-grid {
        columns: 1;
    }

    .tips-row {
        grid-template-columns: 1fr;
    }

    .quotes-flow {
        columns: 1;
    }

    .section {
        padding: 3rem 1.5rem;
    }

    .footer {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 600px) {
    .hero-char {
        font-size: 6rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-sub {
        font-size: 1rem;
        letter-spacing: 0.2em;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-num {
        font-size: 2.5rem;
    }

    .method-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .method-index {
        flex: none;
    }
}
