/* ========================================
   酸奶哥 — Apple-inspired, Chinese Red Accent
   Ghost Theme: suannaige
   ======================================== */

/* ---------- Font ---------- */
@font-face {
    font-family: 'ShangShouZhuiGuang';
    src: url('../fonts/ShangShouZhuiGuang.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ---------- Reset ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
    --text-tertiary: #86868b;
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f7;
    --bg-tertiary: #fbfbfd;
    --accent: #C8102E;
    --accent-hover: #A00D24;
    --accent-light: rgba(200, 16, 46, 0.08);
    --border: #d2d2d7;
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.06);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.08);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 980px;
    --gh-font-heading: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "PingFang SC", "Noto Sans SC", sans-serif;
    --gh-font-body: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "PingFang SC", "Noto Sans SC", sans-serif;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
                 "Helvetica Neue", "PingFang SC", "Noto Sans SC", sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.5;
    letter-spacing: -0.01em;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 22px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: -0.01em;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}
.btn-primary:hover {
    background: var(--accent-hover);
    transform: scale(1.02);
}

.btn-ghost {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}
.btn-ghost:hover {
    background: var(--accent-light);
}

.btn-full { width: 100%; }

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
}
.nav.scrolled {
    background: rgba(255,255,255,0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
}
.nav-inner {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 22px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    transition: color 0.4s ease;
}
.nav.scrolled .nav-links a { color: var(--text-secondary); }
.nav-links a:hover { color: #fff; }
.nav.scrolled .nav-links a:hover { color: var(--text-primary); }

.nav-cta {
    background: var(--accent);
    color: #fff !important;
    padding: 6px 16px;
    border-radius: 980px;
}
.nav-cta:hover { background: var(--accent-hover); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
}
.nav-toggle span {
    width: 22px;
    height: 1.5px;
    background: #fff;
    transition: var(--transition);
}
.nav.scrolled .nav-toggle span { background: var(--text-primary); }

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 22px 60px;
    background: #1a1a1c;
    position: relative;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 1;
    z-index: 0;
    pointer-events: none;
    animation: heroBgZoom 15s ease-out forwards;
}
@keyframes heroBgZoom {
    from { transform: scale(1.1); }
    to { transform: scale(1); }
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(26,26,28,0.35) 0%,
        rgba(26,26,28,0.25) 40%,
        rgba(26,26,28,0.55) 80%,
        rgba(26,26,28,0.75) 100%);
    z-index: 1;
    pointer-events: none;
}
.hero-content {
    max-width: 980px;
    position: relative;
    z-index: 2;
}
.hero-eyebrow {
    font-size: 17px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}
.hero-title {
    font-family: 'ShangShouZhuiGuang', cursive;
    font-size: clamp(56px, 10vw, 128px);
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0.04em;
    margin-bottom: 28px;
    color: #fff;
    text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-actions .btn-ghost {
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}
.hero-actions .btn-ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, rgba(255,255,255,0.5), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
    0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* ---------- Sections ---------- */
.section {
    padding: 120px 0;
}
.section-alt {
    background: var(--bg-secondary);
}
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}
.section-eyebrow {
    font-size: 17px;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 16px;
}
.section-desc {
    font-size: clamp(17px, 2vw, 21px);
    color: var(--text-secondary);
    line-height: 1.4;
}
.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* ---------- Course Cards ---------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.card-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 760px;
    margin: 0 auto;
}
.card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.card-icon {
    color: var(--accent);
    margin-bottom: 24px;
}
.card-title {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}
.card-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
}
.card-meta {
    display: flex;
    gap: 8px;
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 20px;
}
.card-link {
    font-size: 17px;
    color: var(--accent);
    font-weight: 500;
    transition: var(--transition);
}
.card-link:hover { color: var(--accent-hover); }

/* ---------- Consulting ---------- */
.consult-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}
.consult-item {
    display: flex;
    gap: 24px;
    padding: 40px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}
.consult-item:hover {
    background: rgba(255,255,255,0.6);
}
.consult-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.4;
    letter-spacing: -0.02em;
    min-width: 48px;
}
.consult-body h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.consult-body p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ---------- Visual Statement ---------- */
.visual-section {
    background: var(--bg-secondary);
    padding: 80px 0 140px;
    overflow: hidden;
}
.visual-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.visual-quote {
    margin-bottom: 56px;
    max-width: 760px;
}
.visual-quote p {
    font-family: 'ShangShouZhuiGuang', cursive;
    font-size: clamp(36px, 8vw, 96px);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.04em;
    color: var(--text-primary);
    white-space: nowrap;
}
.visual-image {
    width: 100%;
    max-width: 900px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}
.visual-image:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 30px 80px rgba(0,0,0,0.12);
}
.visual-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ---------- Articles / Column ---------- */
.article-list {
    display: flex;
    flex-direction: column;
}
.article-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 32px 0;
    border-top: 1px solid var(--border);
    transition: var(--transition);
}
.article-item:last-child {
    border-bottom: 1px solid var(--border);
}
.article-item:hover {
    padding-left: 12px;
}
.article-item:hover .article-arrow {
    color: var(--accent);
    transform: translateX(4px);
}
.article-date {
    font-size: 14px;
    color: var(--text-tertiary);
    font-weight: 500;
    min-width: 64px;
    padding-top: 2px;
}
.article-body {
    flex: 1;
}
.article-body h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}
.article-body p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
}
.article-arrow {
    font-size: 22px;
    color: var(--text-tertiary);
    transition: var(--transition);
    padding-top: 2px;
}

/* ---------- Podcast ---------- */
.podcast-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.podcast-card {
    display: flex;
    gap: 24px;
    align-items: center;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}
.podcast-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.podcast-cover {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #f5f5f7, #e8e8ed);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}
.podcast-info { flex: 1; }
.podcast-ep {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.05em;
}
.podcast-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 6px 0 14px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}
.podcast-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-tertiary);
}
.play-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--accent);
    background: transparent;
    color: var(--accent);
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
    outline: none;
    padding: 0;
}
.play-btn svg {
    width: 16px;
    height: 16px;
    fill: var(--accent);
    pointer-events: none;
}
.play-btn:hover {
    background: var(--accent);
    color: #fff;
}
.play-btn:hover svg {
    fill: #fff;
}
.play-btn:active,
.play-btn:focus {
    background: transparent;
    color: var(--accent);
    -webkit-tap-highlight-color: transparent;
}
.play-btn:active svg,
.play-btn:focus svg {
    fill: var(--accent);
}
.play-btn.is-playing {
    background: var(--accent);
    color: #fff;
}
.play-btn.is-playing svg {
    fill: #fff;
}
.play-btn.is-loading .loading-icon {
    animation: spin 1s linear infinite;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ---------- Subscribe / Pricing ---------- */
.subscribe-section {
    background: #1a1a1c;
    position: relative;
    overflow: hidden;
}
.subscribe-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    z-index: 0;
    pointer-events: none;
}
.subscribe-section .container {
    position: relative;
    z-index: 1;
}
.subscribe-section .section-title,
.subscribe-section .section-eyebrow {
    color: #fff;
}
.subscribe-section .section-desc {
    color: rgba(255,255,255,0.7);
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 720px;
    margin: 0 auto;
}
.pricing-card {
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    backdrop-filter: blur(10px);
}
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.pricing-featured {
    border: 2px solid var(--accent);
}
.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 980px;
}
.pricing-name {
    font-size: 17px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 16px;
}
.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 32px;
}
.pricing-price .currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
}
.pricing-price .amount {
    font-size: 64px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}
.pricing-price .period {
    font-size: 17px;
    color: var(--text-tertiary);
}
.pricing-features {
    text-align: left;
    margin-bottom: 32px;
}
.pricing-features li {
    padding: 10px 0;
    font-size: 16px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}
.pricing-features li::before {
    content: "\2713";
    color: var(--accent);
    font-weight: 700;
    font-size: 14px;
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-note {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-top: 16px;
}

/* ---------- Subscribe Form ---------- */
.subscribe-form {
    max-width: 520px;
    margin: 64px auto 0;
    text-align: center;
}
.form-title {
    font-size: 17px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}
.form-hint {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-top: 14px;
}

/* ---------- Footer ---------- */
.footer {
    background: #111;
    padding: 60px 0 32px;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 32px;
}
.footer-logo {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}
.footer-tagline {
    font-family: 'ShangShouZhuiGuang', cursive;
    font-size: 28px;
    font-weight: 400;
    color: rgba(255,255,255,0.9);
    margin-top: 0;
    letter-spacing: 0.04em;
}
.footer-links {
    display: flex;
    gap: 28px;
}
.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}
.footer-links a:hover { color: #fff; }
.footer-social {
    display: flex;
    gap: 16px;
}
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}
.footer-social a:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.2);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
}
.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}
.footer-legal {
    margin-top: 12px;
    text-align: center;
}
.footer-legal a {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-legal a:hover {
    color: rgba(255,255,255,0.7);
}
.footer-legal span {
    font-size: 13px;
    color: rgba(255,255,255,0.3);
    margin: 0 6px;
}

/* ---------- Koenig Editor Image Widths ---------- */
.kg-width-wide {
    width: 100vw;
    max-width: 1200px;
    margin-left: calc(50% - 600px);
    margin-right: calc(50% - 600px);
}
.kg-width-full {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* ---------- Koenig Editor: Gallery ---------- */
.kg-gallery-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 2em auto;
}
.kg-gallery-row {
    display: flex;
    gap: 16px;
    justify-content: center;
}
.kg-gallery-image {
    flex: 1;
}
.kg-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

/* ---------- Koenig Editor: Bookmark ---------- */
.kg-bookmark-card {
    margin: 2em auto;
}
.kg-bookmark-container {
    display: flex;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-decoration: none;
    transition: var(--transition);
}
.kg-bookmark-container:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}
.kg-bookmark-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.kg-bookmark-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.kg-bookmark-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.kg-bookmark-metadata {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}
.kg-bookmark-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.kg-bookmark-author,
.kg-bookmark-publisher {
    font-size: 13px;
    color: var(--text-tertiary);
}
.kg-bookmark-thumbnail {
    width: 160px;
    max-width: 30%;
    flex-shrink: 0;
}
.kg-bookmark-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- Koenig Editor: Callout ---------- */
.kg-callout-card {
    margin: 2em auto;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.kg-callout-emoji {
    font-size: 20px;
    flex-shrink: 0;
}
.kg-callout-text {
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-primary);
}
.kg-callout-card-grey { background: var(--bg-secondary); }
.kg-callout-card-white { background: var(--bg-primary); border: 1px solid var(--border); }
.kg-callout-card-blue { background: #e8f0fe; }
.kg-callout-card-green { background: #e6f4ea; }
.kg-callout-card-yellow { background: #fef7e0; }
.kg-callout-card-pink { background: #fce8f3; }
.kg-callout-card-purple { background: #f3e8fd; }
.kg-callout-card-red { background: #fce8e8; }

/* ---------- Koenig Editor: Button ---------- */
.kg-button-card {
    margin: 2em auto;
    text-align: center;
}
.kg-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 980px;
    font-size: 16px;
    font-weight: 500;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}
.kg-button:hover {
    background: var(--accent-hover);
}

/* ---------- Koenig Editor: Header ---------- */
.kg-header-card {
    text-align: center;
    padding: 2em 0;
}
.kg-header-card h2 {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 700;
    margin-bottom: 12px;
}
.kg-header-card h3 {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 600;
}

/* ---------- Koenig Editor: Toggle ---------- */
.kg-toggle-card {
    margin: 2em auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.kg-toggle-heading {
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 600;
}
.kg-toggle-content {
    padding: 0 20px 16px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ---------- Koenig Editor: Code ---------- */
.kg-codecard {
    margin: 2em auto;
}
.kg-codecard pre {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 20px;
    font-size: 14px;
    overflow-x: auto;
}

/* ---------- Koenig Editor: NFT ---------- */
.kg-nft-card {
    margin: 2em auto;
}

/* ---------- Koenig Editor: Signup ---------- */
.kg-signup-card {
    margin: 2em auto;
    padding: 40px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    text-align: center;
}
.kg-signup-card h2 {
    font-size: 24px;
    margin-bottom: 8px;
}
.kg-signup-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* ---------- Koenig Editor: File ---------- */
.kg-file-card {
    margin: 2em auto;
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    gap: 16px;
}
.kg-file-card a {
    color: var(--accent);
    text-decoration: none;
}

/* ---------- Koenig Editor: Audio — 小宇宙风格自定义播放器 ---------- */
.kg-audio-card {
    margin: 2em auto;
    display: block;
    border: none;
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    padding: 28px 32px;
    position: relative;
}

/* 隐藏 Ghost 默认 UI，只保留 audio 元素和标题 */
.kg-audio-thumbnail,
.kg-audio-thumbnail.placeholder,
.kg-audio-player {
    display: none !important;
}

.kg-audio-player-container {
    padding: 0;
    display: block;
}

.kg-audio-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}

/* 自定义播放器 */
.podcast-player {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.podcast-player-progress {
    display: flex;
    align-items: center;
    gap: 12px;
}

.podcast-player-time {
    font-size: 14px;
    color: var(--text-tertiary);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    min-width: 42px;
    line-height: 1;
}

.podcast-player-bar {
    flex: 1;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}

.podcast-player-bar-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
    width: 0%;
    pointer-events: none;
}

.podcast-player-bar-thumb {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.15s ease, transform 0.15s ease;
    pointer-events: none;
}

.podcast-player-bar:hover .podcast-player-bar-thumb,
.podcast-player-bar.is-dragging .podcast-player-bar-thumb {
    opacity: 1;
}

.podcast-player-controls {
    display: flex;
    align-items: center;
    gap: 14px;
}

.podcast-player-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
    flex-shrink: 0;
    background: none;
}

.podcast-play-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
}
.podcast-play-btn:hover {
    background: var(--accent-hover);
    transform: scale(1.05);
}
.podcast-play-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    margin-left: 2px;
}

.podcast-speed-btn {
    width: 64px;
    height: 36px;
    border-radius: 8px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 700;
    position: relative;
}
.podcast-speed-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.podcast-speed-menu {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 4px 0;
    box-shadow: var(--shadow-md);
    z-index: 100;
    display: none;
    min-width: 90px;
}
.podcast-speed-menu.open {
    display: block;
}
.podcast-speed-option {
    display: block;
    width: 100%;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background: none;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
}
.podcast-speed-option:hover {
    background: var(--accent-light);
    color: var(--accent);
}
.podcast-speed-option.active {
    color: var(--accent);
    font-weight: 700;
}

.podcast-volume {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.podcast-volume-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-tertiary);
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.podcast-volume-btn:hover {
    color: var(--accent);
}
.podcast-volume-btn svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.podcast-volume-slider {
    width: 100px;
    height: 6px;
    appearance: none;
    -webkit-appearance: none;
    background: var(--border);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}
.podcast-volume-slider::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 3px;
}
.podcast-volume-slider::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    border: none;
    margin-top: -4px;
}
.podcast-volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    border: none;
}
.podcast-volume-slider::-moz-range-progress {
    background: var(--accent);
    border-radius: 3px;
}

/* Koenig Audio: responsive */
@media (max-width: 768px) {
    .kg-audio-card {
        padding: 20px 16px;
    }
    .kg-audio-title {
        font-size: 17px;
        margin-bottom: 16px;
    }
    .podcast-play-btn {
        width: 48px;
        height: 48px;
    }
    .podcast-play-btn svg {
        width: 20px;
        height: 20px;
    }
    .podcast-speed-btn {
        width: 52px;
        height: 32px;
        font-size: 13px;
    }
    .podcast-volume-btn {
        width: 36px;
        height: 36px;
    }
    .podcast-volume-btn svg {
        width: 20px;
        height: 20px;
    }
    .podcast-volume-slider {
        width: 70px;
    }
    .podcast-player-time {
        font-size: 12px;
        min-width: 38px;
    }
    .podcast-speed-option {
        padding: 8px 16px;
        font-size: 13px;
    }
}

.kg-audio-hide {
    display: none !important;
}
/* ---------- Koenig Editor: Product ---------- */
.kg-product-card {
    margin: 2em auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.kg-product-card-image img {
    width: 100%;
}
.kg-product-card-title {
    font-size: 20px;
    font-weight: 600;
    padding: 20px 20px 0;
}
.kg-product-card-description {
    padding: 8px 20px 0;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.5;
}
.kg-product-card-meta {
    padding: 12px 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.kg-product-card-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
}
.kg-product-card-button {
    background: var(--accent);
    color: #fff;
    padding: 8px 20px;
    border-radius: 980px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

/* ---------- Article Page (post.hbs) ---------- */
.article-page {
    padding: 100px 0 80px;
}
.article-header {
    text-align: left;
    max-width: 720px;
    margin: 0 auto 48px;
}
.article-page-title {
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 16px;
}
.article-page-date {
    font-size: 15px;
    color: var(--text-tertiary);
}
.article-feature-image {
    width: 100%;
    margin-bottom: 32px;
    border-radius: var(--radius-md);
    overflow: hidden;
}
.article-feature-image img {
    width: 100%;
    height: auto;
    border-radius: 0;
    margin: 0;
    display: block;
}
.article-page-content {
    max-width: 720px;
    margin: 0 auto;
}
.article-page-content p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 1.5em;
    color: var(--text-primary);
}
.article-page-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 2em 0 0.8em;
    letter-spacing: -0.02em;
}
.article-page-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 1.8em 0 0.6em;
}
.article-page-content img {
    border-radius: var(--radius-md);
    margin: 2em auto;
}
.article-page-content blockquote {
    border-left: 3px solid var(--accent);
    padding-left: 20px;
    margin: 2em 0;
    font-size: 19px;
    color: var(--text-secondary);
    font-style: italic;
}
.article-page-content a {
    color: var(--accent);
    text-decoration: underline;
}

/* ---------- 评论区 ---------- */
.article-comments {
    max-width: 720px;
    margin: 48px auto 0;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.article-comments .gh-comments-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
}
.article-comments .gh-comment {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}
.article-comments .gh-comment:last-child {
    border-bottom: none;
}
.article-comments .gh-comment-author {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
}
.article-comments .gh-comment-date {
    font-size: 13px;
    color: var(--text-tertiary);
}
.article-comments .gh-comment-content {
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
}
.article-comments .gh-comment-form {
    margin-top: 24px;
}
.article-comments textarea {
    width: 100%;
    min-height: 100px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-family: inherit;
    resize: vertical;
    transition: var(--transition);
}
.article-comments textarea:focus {
    outline: none;
    border-color: var(--accent);
}
.article-comments .gh-btn-primary {
    margin-top: 12px;
    padding: 10px 24px;
    border-radius: 980px;
    border: none;
    background: var(--accent);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.article-comments .gh-btn-primary:hover {
    opacity: 0.9;
}

/* 时间戳链接（shownotes 里的可点击时间） */
.audio-timestamp {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    font-weight: 500;
    transition: opacity 0.2s;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
    display: inline-block;
    min-width: 3.5em;
    text-align: center;
}

.audio-timestamp:hover {
    opacity: 0.8;
}

.audio-timestamp:active {
    opacity: 0.6;
}

.article-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    transition: var(--transition);
}
.article-back:hover {
    color: var(--accent);
}
.article-tag-badge {
    display: inline-block;
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    background: var(--accent-light);
    padding: 4px 14px;
    border-radius: 980px;
    margin-bottom: 20px;
}

/* ---------- Tag / Listing Page ---------- */
.listing-header {
    text-align: center;
    padding: 140px 22px 60px;
    background: var(--bg-secondary);
}
.listing-header h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.listing-header p {
    font-size: clamp(17px, 2vw, 21px);
    color: var(--text-secondary);
}
.listing-content {
    padding: 0 0 80px;
}

/* ---------- Reveal Animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1),
                transform 0.8s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 52px;
        left: 0; right: 0;
        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.open { display: flex; }
    .nav-links.open a { color: var(--text-secondary); }
    .nav-toggle { display: flex; }
    .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.open span:nth-child(2) { transform: rotate(-45deg) translate(5px, -5px); }

    .card-grid { grid-template-columns: 1fr; }
    .consult-grid { grid-template-columns: 1fr; }
    .podcast-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }

    .section { padding: 80px 0; }
    .section-header { margin-bottom: 40px; }

    .footer-inner { flex-direction: column; text-align: center; }

    .article-item { flex-direction: column; gap: 8px; }
    .article-arrow { display: none; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 48px; line-height: 1.3; }
    .pricing-price .amount { font-size: 48px; }
    .card { padding: 32px 24px; }
}

/* ---------- Pagination ---------- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 48px;
    padding-top: 32px;
}
.pagination a {
    font-size: 15px;
    color: var(--accent);
    font-weight: 500;
    transition: var(--transition);
}
.pagination a:hover {
    color: var(--accent-hover);
}
.pagination .page-number {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* ---------- Mobile: one section per screen ---------- */
@media (max-width: 768px) {
    .section {
        min-height: 100vh;
        display: flex;
        align-items: center;
        padding: 80px 0;
    }
    .section .container {
        width: 100%;
    }
    .visual-section {
        min-height: auto;
    }
}
