@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: rgba(255, 255, 255, 0.92);
    background: #0c0c14;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #12121a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header.scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo-icon svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.header-logo-text {
    font-size: 17px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: -0.01em;
}

.header-logo-text span {
    color: #a5b4fc;
    font-weight: 800;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-nav a {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    padding: 8px 14px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.header-nav a:hover,
.header-nav a.active {
    color: #c7d2fe;
    background: rgba(99, 102, 241, 0.15);
}

.header-search {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s;
    color: rgba(255, 255, 255, 0.45);
    margin-left: 4px;
}

.header-search:hover {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
}

.header-search svg {
    width: 20px;
    height: 20px;
}

.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.65);
}

.mobile-menu-btn svg {
    width: 22px;
    height: 22px;
}

.workspace {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px 0;
}

.workspace-inner {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 28px;
    align-items: start;
}

.workspace-sidebar {
    position: sticky;
    top: 88px;
    background: #16161f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 14px;
}

.workspace-sidebar-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    padding: 0 8px 12px;
}

.workspace-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.workspace-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    transition: background 0.2s, color 0.2s;
}

.workspace-nav a svg {
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

.workspace-nav a:hover {
    background: rgba(99, 102, 241, 0.12);
    color: #e0e7ff;
}

.workspace-nav a.active {
    background: rgba(99, 102, 241, 0.2);
    color: #fff;
}

.workspace-main {
    min-width: 0;
}

.hero {
    position: relative;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    min-height: clamp(320px, 42vw, 480px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #16161f;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 15% 40%, rgba(99, 102, 241, 0.22) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 85% 20%, rgba(139, 92, 246, 0.14) 0%, transparent 50%),
        linear-gradient(180deg, #12121a 0%, #0c0c14 100%);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(12, 12, 20, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 28px;
    max-width: 720px;
}

.hero-logo-mark {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    border-radius: 14px;
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.35);
}

.hero-logo-mark svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

.hero-title {
    font-size: clamp(26px, 4vw, 44px);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.96);
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.hero-sub {
    margin-top: 16px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.65;
}

.section-latest {
    padding: 48px 0 72px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
}

.section-more {
    font-size: 14px;
    font-weight: 500;
    color: #a5b4fc;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}

.section-more:hover {
    gap: 8px;
    color: #c7d2fe;
}

.section-more svg {
    width: 16px;
    height: 16px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    background: #16161f;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.card-thumb {
    width: 100%;
    aspect-ratio: 16/10;
    background: linear-gradient(145deg, #1e1e2a 0%, #16161f 100%);
    position: relative;
    overflow: hidden;
}

.card-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(99, 102, 241, 0.04) 100%);
}

.card-thumb-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    color: rgba(99, 102, 241, 0.45);
}

.card-body {
    padding: 18px;
}

.card-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #a5b4fc;
    background: rgba(99, 102, 241, 0.15);
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.45;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card a:hover .card-title {
    color: #c7d2fe;
}

.card-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.52);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 14px;
}

.card-date {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.38);
    font-weight: 400;
}

.footer {
    background: #101018;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 48px 0 32px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-brand {
    max-width: 340px;
}

.footer-brand-name {
    font-size: 16px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 8px;
}

.footer-brand-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.48);
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: 48px;
}

.footer-col-title {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.48);
    transition: color 0.2s;
}

.footer-col ul a:hover {
    color: #a5b4fc;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    text-align: center;
}

.page-content {
    padding: 48px 0 80px;
    min-height: 60vh;
}

.page-content h1 {
    font-size: 28px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.96);
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 2px solid #6366f1;
}

.page-content h2 {
    font-size: 19px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    margin: 28px 0 12px;
}

.page-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.85;
    margin-bottom: 16px;
}

.page-content ul {
    margin: 8px 0 16px 20px;
    list-style: disc;
}

.page-content ul li {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.8;
    margin-bottom: 4px;
}

.about-intro {
    max-width: 800px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.about-intro p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 1.25rem;
}

.about-values {
    background: #12121a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 3rem 0;
    margin-top: 2rem;
}

.about-values .card-grid {
    grid-template-columns: repeat(4, 1fr);
}

.about-values .card-thumb {
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.2) 0%, #16161f 100%);
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.about-stat-card {
    text-align: center;
    padding: 2rem 1rem;
    background: #16161f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
}

.about-stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1;
}

.about-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.48);
    margin-top: 0.75rem;
    font-weight: 500;
}

.about-operator {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
}

.about-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.35);
}

.about-operator-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.96);
    margin-bottom: 0.5rem;
}

.about-operator-role {
    color: #a5b4fc;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-operator-bio {
    font-size: 1.05rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.62);
}

.about-cta-section {
    background: linear-gradient(135deg, #16161f 0%, #0c0c14 100%);
    padding: 5rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.about-cta-title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.about-cta-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.55);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.75;
}

.about-cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 8px 28px rgba(99, 102, 241, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.about-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(99, 102, 241, 0.45);
}

.section-about-operator {
    padding: 4rem 0;
}

.blog-hero {
    background: linear-gradient(180deg, #12121a 0%, #0c0c14 100%);
    padding: 52px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-hero-title {
    font-size: 32px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.96);
    margin-bottom: 8px;
}

.blog-hero-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.52);
}

.blog-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 28px 0 0;
}

.blog-filter-btn {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    background: #16161f;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.blog-filter-btn:hover,
.blog-filter-btn.active {
    color: #fff;
    background: #6366f1;
    border-color: #6366f1;
}

.blog-list {
    padding: 40px 0 72px;
}

@media (max-width: 1024px) {
    .workspace-inner {
        grid-template-columns: 1fr;
    }

    .workspace-sidebar {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        align-items: center;
        padding: 12px 14px;
    }

    .workspace-sidebar-title {
        width: 100%;
        padding-bottom: 4px;
    }

    .workspace-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .about-values .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 920px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .header-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: #12121a;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 12px 16px 16px;
        gap: 4px;
    }

    .header-nav.active {
        display: flex;
    }

    .header-nav a {
        width: 100%;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        min-height: 280px;
    }

    .hero-logo-mark {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        margin-bottom: 22px;
    }

    .hero-logo-mark svg {
        width: 26px;
        height: 26px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links {
        gap: 32px;
    }

    .section-latest {
        padding: 40px 0 56px;
    }

    .blog-hero-title {
        font-size: 26px;
    }
}

@media (max-width: 600px) {
    .card-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .footer-links {
        flex-direction: column;
        gap: 24px;
    }

    .blog-filters {
        flex-wrap: wrap;
    }

    .header-inner {
        padding: 0 16px;
    }

    .container {
        padding: 0 16px;
    }

    .workspace {
        padding: 20px 16px 0;
    }

    .about-values .card-grid {
        grid-template-columns: 1fr;
    }

    .about-stats-grid {
        grid-template-columns: 1fr;
    }
}

.card-thumb img{width:100%;height:100%;object-fit:cover}
.card-thumb:has(img)::after{display:none}

.workspace-main .post-page-main {
    padding: 8px 0 56px;
}

.post-page-main {
    padding: 40px 0 72px;
}

.post-single-header {
    margin-bottom: 24px;
}

.post-single-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.96);
    line-height: 1.35;
    margin: 12px 0 8px;
}

.post-single-date {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
}

.post-single-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 28px;
    background: #16161f;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.post-single-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-single-body {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.85;
    max-width: 720px;
}

.post-single-body p {
    margin-bottom: 18px;
}

.post-single-body h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    margin: 32px 0 12px;
}

.post-single-body ul {
    margin: 12px 0 18px 20px;
    list-style: disc;
}

.post-single-body li {
    margin-bottom: 8px;
}

.post-single-body figure {
    margin: 24px 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.post-single-body figure img {
    width: 100%;
    height: auto;
    display: block;
}