/* ===== Content Page Layout ===== */
.page-wrap { max-width: 780px; margin: 0 auto; padding: 48px 24px 80px; width: 100%; }

.page-header { margin-bottom: 40px; animation: fadeUp .6s ease; }
.page-header h1 {
    font-family: 'Syne', sans-serif; font-weight: 800; font-size: 34px;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--text) 30%, #6bcb77);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; margin-bottom: 12px;
}
.page-header .subtitle { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.page-header .updated { font-size: 11px; color: var(--text-dim); letter-spacing: .05em; }

/* ===== Content Section ===== */
.content-section { animation: fadeUp .6s ease backwards; }
.content-section:nth-child(2) { animation-delay: .05s; }
.content-section:nth-child(3) { animation-delay: .1s; }
.content-section:nth-child(4) { animation-delay: .15s; }
.content-section:nth-child(5) { animation-delay: .2s; }
.content-section:nth-child(6) { animation-delay: .25s; }
.content-section:nth-child(7) { animation-delay: .3s; }
.content-section:nth-child(8) { animation-delay: .35s; }
.content-section:nth-child(9) { animation-delay: .4s; }
.content-section:nth-child(10) { animation-delay: .45s; }

/* ===== Section Card ===== */
.section-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 12px; padding: 28px 26px; margin-bottom: 18px;
    transition: border-color .25s, background .4s;
}
.section-card:hover { border-color: #3a3a55; }
.section-card h2 {
    font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: 17px; color: var(--text); margin-bottom: 14px;
    display: flex; align-items: center; gap: 10px;
    text-shadow: var(--t-shadow);
}
.section-card h2 .num {
    font-size: 12px; color: #6bcb77; font-weight: 600;
    background: rgba(107,203,119,.1); padding: 3px 8px;
    border-radius: 4px; letter-spacing: .04em;
}
.section-card p { font-size: 13px; line-height: 1.8; color: var(--text-muted); margin-bottom: 12px; }
.section-card p:last-child { margin-bottom: 0; }
.section-card ul { padding-left: 20px; margin-bottom: 12px; }
.section-card li { font-size: 13px; line-height: 1.9; color: var(--text-muted); margin-bottom: 4px; }
.section-card li strong { color: var(--text); font-weight: 500; }
.section-card a { color: #6bcb77; border-bottom: 1px solid rgba(107,203,119,.25); transition: border-color .2s; }
.section-card a:hover { border-color: #6bcb77; }
.section-card code { background: var(--surface-2); padding: 2px 6px; border-radius: 4px; font-size: 12px; color: #4d96ff; }

/* ===== Highlight Box ===== */
.highlight-box {
    background: rgba(107,203,119,.05); border: 1px solid rgba(107,203,119,.15);
    border-radius: 8px; padding: 16px 18px; margin-top: 12px;
}
.highlight-box p { font-size: 12px; color: var(--text-muted); line-height: 1.7; margin-bottom: 0; }

/* ===== Hero Banner (About) ===== */
.hero-banner {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 14px; padding: 48px 36px; margin-bottom: 18px;
    text-align: center; position: relative; overflow: hidden;
    animation: fadeUp .6s ease .05s backwards;
}
.hero-banner::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(107,203,119,.06), transparent 60%);
    pointer-events: none;
}
.hero-icon {
    font-family: 'Syne', sans-serif; font-weight: 800; font-size: 48px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #6bcb77, #4d96ff);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-banner h2 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 22px; color: var(--text); margin-bottom: 12px; text-shadow: var(--t-shadow); }
.hero-banner p { font-size: 13px; line-height: 1.8; color: var(--text-muted); max-width: 540px; margin: 0 auto; }

/* ===== Feature Grid ===== */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 16px; }
.feature-item {
    background: var(--surface-2); border: 1px solid var(--border);
    border-radius: 10px; padding: 18px 16px;
    transition: border-color .25s, transform .2s;
}
.feature-item:hover { border-color: #3a3a55; transform: translateY(-2px); }
.feature-item .f-label {
    font-family: 'Syne', sans-serif; font-weight: 700; font-size: 12px;
    color: var(--text); margin-bottom: 6px;
    display: flex; align-items: center; gap: 6px; text-shadow: var(--t-shadow);
}
.feature-item .f-label .dot { width: 6px; height: 6px; border-radius: 50%; }
.feature-item .f-desc { font-size: 11px; color: var(--text-muted); line-height: 1.6; }

/* ===== Stats Row ===== */
.stats-row { display: flex; justify-content: center; gap: 40px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.stat-block { text-align: center; }
.stat-block .sv { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 28px; color: #6bcb77; }
.stat-block .sl { font-size: 10px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .1em; margin-top: 2px; }

/* ===== CTA Card ===== */
.cta-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 12px; padding: 32px; margin-bottom: 18px;
    text-align: center; position: relative; overflow: hidden;
    animation: fadeUp .6s ease .3s backwards;
}
.cta-card::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(107,203,119,.06), transparent 60%);
    pointer-events: none;
}
.cta-card h2 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 18px; color: var(--text); margin-bottom: 10px; text-shadow: var(--t-shadow); }
.cta-card p { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.cta-btn {
    display: inline-block; padding: 10px 28px; border-radius: 8px;
    font-size: 13px; font-weight: 600; font-family: 'DM Mono', monospace;
    background: linear-gradient(135deg, #6bcb77, #4da85a);
    color: #08080c; text-decoration: none; transition: all .2s; letter-spacing: .03em;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(107,203,119,.3); }

/* ===== Contact Grid ===== */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 18px; }
.contact-item {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 12px; padding: 24px 20px; text-align: center;
    transition: border-color .25s, transform .2s;
    animation: fadeUp .6s ease backwards;
}
.contact-item:nth-child(1) { animation-delay: .05s; }
.contact-item:nth-child(2) { animation-delay: .1s; }
.contact-item:hover { border-color: #3a3a55; transform: translateY(-2px); }
.contact-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px; font-size: 14px;
    font-family: 'Syne', sans-serif; font-weight: 800;
}
.contact-item h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 14px; color: var(--text); margin-bottom: 6px; text-shadow: var(--t-shadow); }
.contact-item p { font-size: 12px; color: var(--text-muted); line-height: 1.6; margin-bottom: 10px; }
.contact-item a { font-size: 12px; color: #6bcb77; border-bottom: 1px solid rgba(107,203,119,.25); transition: border-color .2s; }
.contact-item a:hover { border-color: #6bcb77; }
.ci-green .contact-icon { background: rgba(107,203,119,.12); color: #6bcb77; }
.ci-blue .contact-icon  { background: rgba(77,150,255,.12); color: #4d96ff; }

/* ===== Form ===== */
.form-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 12px; padding: 28px 26px; margin-bottom: 18px;
    transition: border-color .25s, background .4s;
    animation: fadeUp .6s ease .15s backwards;
}
.form-card:hover { border-color: #3a3a55; }
.form-card h2 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 17px; color: var(--text); margin-bottom: 6px; text-shadow: var(--t-shadow); }
.form-card .form-desc { font-size: 12px; color: var(--text-muted); margin-bottom: 20px; line-height: 1.6; }
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block; font-size: 11px; color: var(--text-dim);
    text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%; padding: 10px 14px;
    background: var(--surface-2); border: 1px solid var(--border);
    border-radius: 8px; color: var(--text);
    font-family: 'DM Mono', monospace; font-size: 13px;
    transition: border-color .2s, box-shadow .2s; outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: #6bcb77; box-shadow: 0 0 0 3px rgba(107,203,119,.1);
}
.form-group textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.form-group select {
    cursor: pointer; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%236e6c7e' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.submit-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 28px; border-radius: 8px; font-size: 13px;
    font-weight: 600; font-family: 'DM Mono', monospace;
    background: linear-gradient(135deg, #6bcb77, #4da85a);
    color: #08080c; border: none; cursor: pointer;
    transition: all .2s; letter-spacing: .03em;
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(107,203,119,.3); }
.submit-btn:active { transform: translateY(0); }
.form-success { display: none; padding: 20px; text-align: center; background: rgba(107,203,119,.06); border: 1px solid rgba(107,203,119,.2); border-radius: 10px; }
.form-success.show { display: block; animation: fadeUp .4s ease; }
.form-success h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 16px; color: #6bcb77; margin-bottom: 6px; }
.form-success p { font-size: 12px; color: var(--text-muted); line-height: 1.6; }

/* ===== FAQ ===== */
.faq-item { border-bottom: 1px solid var(--border); padding: 16px 0; }
.faq-item:last-child { border-bottom: none; padding-bottom: 0; }
.faq-q {
    font-family: 'Syne', sans-serif; font-weight: 700; font-size: 13px;
    color: var(--text); margin-bottom: 8px;
    display: flex; align-items: center; gap: 8px; text-shadow: var(--t-shadow);
}
.faq-q .q-mark { font-size: 10px; color: #4d96ff; background: rgba(77,150,255,.1); padding: 2px 6px; border-radius: 4px; font-weight: 600; }
.faq-a { font-size: 12px; color: var(--text-muted); line-height: 1.7; padding-left: 30px; }

/* ===== Pages Responsive ===== */
@media (max-width: 640px) {
    .page-header h1 { font-size: 26px; }
    .hero-banner { padding: 32px 20px; }
    .hero-icon { font-size: 36px; }
    .feature-grid { grid-template-columns: 1fr; }
    .stats-row { gap: 24px; flex-wrap: wrap; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .section-card { padding: 22px 18px; }
    .form-card { padding: 22px 18px; }
}

/* ===== Blog List ===== */
.post-list { display: flex; flex-direction: column; gap: 14px; }
.post-card {
    display: block; background: var(--surface); border: 1px solid var(--border);
    border-radius: 12px; padding: 24px 26px;
    text-decoration: none; color: var(--text);
    transition: border-color .25s, transform .2s, box-shadow .25s;
    animation: fadeUp .6s ease backwards;
}
.post-card:hover {
    border-color: #3a3a55; transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.post-meta {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 10px; flex-wrap: wrap;
}
.post-date {
    font-size: 11px; color: var(--text-dim);
    letter-spacing: .04em;
}
.post-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
    font-size: 9px; color: #6bcb77;
    background: rgba(107,203,119,.1);
    border: 1px solid rgba(107,203,119,.2);
    padding: 2px 8px; border-radius: 4px;
    text-transform: uppercase; letter-spacing: .06em;
    font-weight: 500;
}
.post-title {
    font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: 18px; color: var(--text); margin-bottom: 8px;
    text-shadow: var(--t-shadow);
    transition: color .2s;
}
.post-card:hover .post-title { color: #6bcb77; }
.post-desc {
    font-size: 13px; color: var(--text-muted); line-height: 1.7;
    margin-bottom: 12px;
}
.post-read {
    font-size: 12px; color: #6bcb77; font-weight: 500;
    transition: letter-spacing .2s;
}
.post-card:hover .post-read { letter-spacing: .04em; }

/* ===== Article Detail ===== */
.article-meta {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 8px; flex-wrap: wrap;
}
.article-body {
    animation: fadeUp .6s ease .1s backwards;
}
.article-body h2 {
    font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: 22px; color: var(--text); margin-top: 36px;
    margin-bottom: 14px; text-shadow: var(--t-shadow);
}
.article-body h3 {
    font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: 17px; color: var(--text); margin-top: 28px;
    margin-bottom: 10px; text-shadow: var(--t-shadow);
}
.article-body p {
    font-size: 14px; line-height: 1.85; color: var(--text-muted);
    margin-bottom: 16px;
}
.article-body strong { color: var(--text); font-weight: 500; }
.article-body ul, .article-body ol {
    padding-left: 22px; margin-bottom: 16px;
}
.article-body li {
    font-size: 14px; line-height: 1.85; color: var(--text-muted);
    margin-bottom: 6px;
}
.article-body blockquote {
    border-left: 3px solid #6bcb77;
    padding: 14px 20px; margin: 20px 0;
    background: rgba(107,203,119,.04);
    border-radius: 0 8px 8px 0;
}
.article-body blockquote p {
    font-size: 14px; color: var(--text-muted);
    margin-bottom: 0; font-style: italic;
}
.article-body blockquote a { color: #6bcb77; }
.article-body table {
    width: 100%; border-collapse: collapse;
    margin: 20px 0; font-size: 13px;
}
.article-body th {
    text-align: left; padding: 10px 14px;
    background: var(--surface-2); color: var(--text);
    font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: 12px; text-transform: uppercase;
    letter-spacing: .06em; border-bottom: 2px solid var(--border);
}
.article-body td {
    padding: 10px 14px; border-bottom: 1px solid var(--border);
    color: var(--text-muted);
}
.article-body tr:last-child td { border-bottom: none; }
.article-body a {
    color: #6bcb77; border-bottom: 1px solid rgba(107,203,119,.25);
    transition: border-color .2s; text-decoration: none;
}
.article-body a:hover { border-color: #6bcb77; }
.article-body code {
    background: var(--surface-2); padding: 2px 6px;
    border-radius: 4px; font-size: 13px; color: #4d96ff;
}
.article-body hr {
    border: none; border-top: 1px solid var(--border);
    margin: 32px 0;
}

/* ===== Article Nav ===== */
.article-nav {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 14px; margin-top: 40px; padding-top: 24px;
    border-top: 1px solid var(--border);
}
.nav-prev, .nav-next {
    display: flex; flex-direction: column; gap: 4px;
    padding: 16px 18px; background: var(--surface);
    border: 1px solid var(--border); border-radius: 10px;
    text-decoration: none; transition: border-color .2s, transform .2s;
}
.nav-next { text-align: right; }
.nav-prev:hover, .nav-next:hover {
    border-color: #3a3a55; transform: translateY(-2px);
}
.nav-label {
    font-size: 10px; color: var(--text-dim);
    text-transform: uppercase; letter-spacing: .08em;
}
.nav-title {
    font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: 13px; color: var(--text);
}

/* ===== Blog Responsive ===== */
@media (max-width: 640px) {
    .article-nav { grid-template-columns: 1fr; }
    .article-body h2 { font-size: 19px; }
    .article-body p, .article-body li { font-size: 13px; }
}

/* ===== Full-width Contact Card ===== */
.contact-card-full {
    background: var(--surface);
    border: 1px solid rgba(107,203,119,.15);
    border-radius: 12px;
    padding: 32px 28px;
    margin-bottom: 18px;
    transition: border-color .25s, background .4s;
    animation: fadeUp .6s ease backwards;
}
.contact-card-full:hover {
    border-color: rgba(107,203,119,.35);
}
.contact-card-inner {
    display: flex;
    align-items: center;
    gap: 28px;
}
.contact-card-left {
    flex-shrink: 0;
}
.contact-icon-lg {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: rgba(107,203,119,.12);
    color: #6bcb77;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
}
.contact-card-right h3 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--text);
    margin-bottom: 8px;
    text-shadow: var(--t-shadow);
}
.contact-card-right p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 14px;
}
.contact-email-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: #6bcb77;
    background: rgba(107,203,119,.08);
    border: 1px solid rgba(107,203,119,.2);
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: all .2s;
}
.contact-email-link:hover {
    background: rgba(107,203,119,.15);
    border-color: rgba(107,203,119,.4);
    transform: translateY(-1px);
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
    .contact-card-inner {
        flex-direction: column;
        text-align: center;
    }
    .contact-card-right p {
        text-align: center;
    }
}

