@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Noto+Serif:wght@400;600;700&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.blog-post-header-inline {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 2px solid rgba(201,0,89,0.15);
    position: relative;
}

.blog-post-header-inline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, #C90059 0%, #B0004E 50%, transparent 100%);
    box-shadow: 0 0 10px rgba(201,0,89,0.3);
}

.blog-post-header-inline h1 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.4;
    color: #fff;
    letter-spacing: -0.3px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 400;
    color: #d0d0d0;
    opacity: 0.85;
}

.blog-meta-item i {
    color: #C90059;
    font-size: 16px;
}

.blog-layout-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px 80px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 50px;
    align-items: start;
}

.blog-content {
    max-width: 100%;
}

.blog-intro {
    background: rgba(201,0,89,0.05);
    border-left: 3px solid #C90059;
    padding: 30px 35px;
    margin: 50px 0;
    border-radius: 8px;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #e5e5e5;
}

.blog-intro p {
    margin-bottom: 20px;
}

.blog-intro p:last-child {
    margin-bottom: 0;
}

.blog-section {
    margin: 50px 0;
}

.blog-section h2 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.875rem;
    color: #C90059;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(201,0,89,0.15);
    font-weight: 700;
    letter-spacing: -0.1px;
    line-height: 1.4;
}

.blog-section h3 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.375rem;
    color: #fff;
    margin: 35px 0 18px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -0.05px;
}

.blog-section p {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #d5d5d5;
    margin-bottom: 20px;
    text-align: left;
    font-weight: 400;
}

.blog-section p strong {
    color: #fff;
    font-weight: 600;
    opacity: 1;
}

.blog-comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 45px 0;
    background: rgba(8,8,8,0.95);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 35px 90px rgba(0,0,0,0.35);
}

.blog-comparison-table thead th {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(120deg, #C90059 0%, #8E0A6D 70%);
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.blog-comparison-table tbody td {
    font-size: 1rem;
    color: #d8d8d8;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.blog-comparison-table tbody tr:nth-child(odd) td {
    background: rgba(255,255,255,0.015);
}

.blog-comparison-table tbody tr:hover td {
    background: rgba(201,0,89,0.08);
    color: #fff;
}

.blog-comparison-table tbody td:first-child {
    font-weight: 600;
    color: #fff;
}

.blog-comparison-table-wrapper {
    margin: 40px 0;
    border-radius: 20px;
    overflow: hidden;
}

.blog-comparison-table-wrapper {
    background: rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .blog-comparison-table,
    .blog-section table {
        display: block;
        overflow-x: auto;
    }

    .blog-comparison-table thead,
    .blog-comparison-table tbody,
    .blog-comparison-table tr,
    .blog-comparison-table th,
    .blog-comparison-table td {
        white-space: nowrap;
    }
}

.blog-highlight-box {
    margin: 34px 0;
    padding: 22px 26px 26px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(135deg, rgba(18,18,34,0.92) 0%, rgba(10,10,10,0.7) 65%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02), 0 26px 70px rgba(0,0,0,0.45);
}

.blog-highlight-box::before {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, #FF5C95 0%, rgba(255,92,149,0));
    margin-bottom: 18px;
}

.blog-highlight-box h3 {
    margin-top: 0;
    color: #FF8FB8;
    letter-spacing: 0.04rem;
}

.blog-highlight-box p {
    font-size: 1.02rem;
    line-height: 1.78;
    color: #e6e6e6;
}

.blog-highlight-box ul,
.blog-highlight-box ol {
    padding-left: 24px;
    margin: 0;
}

.blog-highlight-box ul li,
.blog-highlight-box ol li {
    padding: 6px 0;
    color: #d5d5d5;
    line-height: 1.8;
    font-size: 1.0625rem;
}

.blog-highlight-box li strong {
    color: #fff;
    font-weight: 600;
}

.blog-conclusion {
    background: rgba(201,0,89,0.08);
    border-radius: 8px;
    padding: 35px 40px;
    margin: 50px 0;
    text-align: left;
    border: 1px solid rgba(201,0,89,0.15);
}

.blog-conclusion h3 {
    color: #C90059;
    margin-bottom: 20px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.blog-conclusion p {
    font-size: 1.0625rem;
    line-height: 1.75;
    margin-bottom: 18px;
    color: #d5d5d5;
}

.author-box {
    background: rgba(0,0,0,0.2);
    border-left: 3px solid #C90059;
    padding: 25px 30px;
    margin: 50px 0;
    border-radius: 8px;
}

.author-box p {
    margin: 0;
    color: #d5d5d5;
    line-height: 1.75;
    font-size: 1.0625rem;
}

.author-name {
    color: #C90059;
    font-weight: 600;
    font-size: 1.125rem;
    display: block;
    margin-bottom: 10px;
}

.sidebar-stack {
    display: flex;
    flex-direction: column;
    gap: 45px;
    margin-top: 30px;
    align-self: stretch;
    min-height: 100%;
}

.product-sidebar,
.blog-sidebar {
    border-radius: 32px;
    background: rgba(5,5,5,0.9);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 34px 32px;
    box-shadow: 0 35px 90px rgba(0,0,0,0.35);
    backdrop-filter: blur(18px);
}

.product-sidebar {
    margin-top: 20px;
}

.blog-sidebar {
    position: sticky;
    top: 30px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    padding-right: 12px;
}

/* custom scrollbar */
.blog-sidebar::-webkit-scrollbar {
    width: 8px;
}

.blog-sidebar::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
}

.blog-sidebar::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #C90059 0%, #B0004E 100%);
    border-radius: 10px;
}

.blog-sidebar {
    scrollbar-width: thin;
    scrollbar-color: #C90059 rgba(255,255,255,0.05);
}

.sidebar-feature-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-right: 6px;
}

.sidebar-label {
    margin: 0 0 22px;
    padding-left: 6px;
    font-family: 'Noto Serif', 'Inter', serif;
    font-size: 1.25rem;
    letter-spacing: 0.18rem;
    text-transform: uppercase;
    color: #fff;
    position: relative;
}

.sidebar-label::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 6px;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #C90059 0%, rgba(201,0,89,0));
    box-shadow: 0 0 12px rgba(201,0,89,0.5);
}

.product-sidebar-label {
    margin: 0 0 22px;
    padding-left: 6px;
    font-family: 'Noto Serif', 'Inter', serif;
    font-size: 1.2rem;
    letter-spacing: 0.18rem;
    text-transform: uppercase;
    color: #fff;
    position: relative;
}

.product-sidebar-label::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 6px;
    width: 90px;
    height: 3px;
    background: linear-gradient(90deg, #FF4B83 0%, rgba(255,75,131,0));
    box-shadow: 0 0 12px rgba(255,75,131,0.4);
}


.product-sidebar-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.product-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    border-radius: 26px;
    background: rgba(5,5,5,0.92);
    border: 1px solid rgba(255,255,255,0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201,0,89,0.45);
    background: rgba(10,10,10,0.96);
}

.product-card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 22px;
    overflow: hidden;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-card-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-card-body h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #fff;
}

.product-card-prices {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.price-old {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    text-decoration: line-through;
}

.price-new {
    font-size: 1rem;
    color: #FF4B83;
    font-weight: 600;
}

.sidebar-feature-card {
    border-radius: 26px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(5,5,5,0.92);
    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
    overflow: hidden;
    backdrop-filter: blur(14px);
    transition: transform 0.4s ease, border-color 0.4s ease;
    animation: sidebarFadeUp 0.45s ease backwards;
}

.sidebar-feature-card:nth-child(odd) {
    animation-delay: 0.05s;
}

.sidebar-feature-card:nth-child(even) {
    animation-delay: 0.1s;
}

.sidebar-feature-card a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.sidebar-feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201,0,89,0.45);
}

.sidebar-feature-image {
    width: 100%;
    height: 170px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.sidebar-feature-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%);
}

.sidebar-feature-card h3 {
    margin: 0;
    padding: 22px 24px 24px;
    color: #fff;
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: -0.1px;
}

@keyframes sidebarFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-image-placeholder {
    margin: 40px 0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.blog-image-placeholder img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}

/* 竖图样式 - 当图片是竖图时，宽度缩小到30% */
.blog-image-placeholder.portrait img {
    max-width: 60%;
    width: auto;
}

@media (max-width: 1200px) {
    .blog-layout-container {
        grid-template-columns: 1fr 320px;
        gap: 40px;
        padding: 50px 30px 80px;
    }
    
    .blog-post-header-inline h1 {
        font-size: 2.4rem;
    }
}

@media (max-width: 992px) {
    .blog-layout-container {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 50px 30px 80px;
    }
    
    .blog-post-header-inline h1 {
        font-size: 2.2rem;
    }
    
    .product-sidebar,
    .blog-sidebar {
        padding: 28px 24px;
    }
    
    .blog-sidebar {
        position: static;
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .blog-post-header-inline h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .blog-layout-container {
        padding: 40px 20px 60px;
        gap: 50px;
    }
    
    .blog-post-header-inline {
        margin-bottom: 40px;
        padding-bottom: 30px;
    }
    
    .blog-meta {
        gap: 15px;
    }
    
    .blog-meta-item {
        font-size: 13px;
    }
    
    .blog-content {
        padding: 0;
    }
    
    .blog-section {
        margin: 50px 0;
    }
    
    .blog-section h2 {
        font-size: 1.8rem;
    }
    
    .blog-section h3 {
        font-size: 1.4rem;
    }
    
    .blog-intro {
        padding: 25px 20px;
        font-size: 1rem;
        margin: 40px 0;
    }
    
    .blog-section {
        margin: 40px 0;
    }
    
    .blog-highlight-box {
        margin: 24px 0;
    }
    
    .blog-highlight-box ul,
    .blog-highlight-box ol {
        padding-left: 20px;
    }
    
    .blog-conclusion {
        padding: 25px 30px;
        margin: 40px 0;
    }
    
    .author-box {
        padding: 20px 25px;
        margin: 40px 0;
    }
    
    .product-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .product-card-image {
        width: 100%;
        height: 200px;
        border-radius: 16px;
    }
    
    .product-card-prices {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .sidebar-feature-grid {
        gap: 22px;
    }
    
    .sidebar-feature-image {
        height: 150px;
    }
}

html {
    scroll-behavior: smooth;
}

::selection {
    background: rgba(201,0,89,0.3);
    color: #fff;
}

a {
    transition: all 0.3s ease;
}

