/* ========================================
   BLOG DETAIL PAGE - ENHANCED STYLES
   ======================================== */

/* Breadcrumb */
.blog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(146, 85, 206, 0.05), rgba(169, 127, 216, 0.08));
    border-radius: 8px;
}

.blog-breadcrumb a {
    color: var(--chy-pr-1);
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-breadcrumb a:hover {
    color: var(--chy-pr-2);
}

.blog-breadcrumb .separator {
    color: #999;
}

.blog-breadcrumb .current {
    color: #666;
}

/* Main Image with Badge */
.blog-details-content .main-img {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.blog-details-content .image-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--chy-pr-1), var(--chy-pr-2));
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(var(--chy-pr-1-rgb), 0.3);
}

/* Meta Information */
.blog-details-content-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(146, 85, 206, 0.05), rgba(169, 127, 216, 0.08));
    border-radius: 10px;
    border-left: 4px solid var(--chy-pr-1);
}

.blog-details-content-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.blog-details-content-meta .meta-item i {
    color: var(--chy-pr-1);
    font-size: 16px;
}

/* Main Title */
.blog-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
}

/* Lead Text */
.lead-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
    font-weight: 400;
}

/* Table of Contents */
.table-of-contents {
    background: linear-gradient(135deg, rgba(146, 85, 206, 0.05), rgba(169, 127, 216, 0.08));
    border: 2px solid rgba(146, 85, 206, 0.2);
    border-radius: 12px;
    padding: 30px;
}

.table-of-contents .toc-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--chy-pr-1);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-of-contents .toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.table-of-contents .toc-list li {
    margin-bottom: 12px;
}

.table-of-contents .toc-list li a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
}

.table-of-contents .toc-list li a:hover {
    background: rgba(146, 85, 206, 0.1);
    color: var(--chy-pr-1);
    transform: translateX(5px);
}

/* Section Titles */
.section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #1a1a1a;
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 50px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--chy-pr-1);
}

.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--chy-pr-1), var(--chy-pr-2));
    color: white;
    border-radius: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Highlight Box */
.highlight-box {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(146, 85, 206, 0.1), rgba(169, 127, 216, 0.15));
    border-left: 5px solid var(--chy-pr-1);
    border-radius: 10px;
}

.highlight-icon {
    font-size: 2.5rem;
    color: var(--chy-pr-1);
    flex-shrink: 0;
}

.highlight-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.highlight-content p {
    color: #666;
    margin: 0;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.metric-card {
    padding: 30px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-color: var(--chy-pr-1);
}

.metric-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--chy-pr-1), var(--chy-pr-2));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.metric-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.metric-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Method List */
.method-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.method-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.method-item:hover {
    border-color: var(--chy-pr-1);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.method-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--chy-pr-1), var(--chy-pr-2));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.method-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.method-content p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* Tools Comparison */
.tools-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.tool-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tool-card.featured {
    border-color: var(--chy-pr-1);
    box-shadow: 0 8px 24px rgba(var(--chy-pr-1-rgb), 0.15);
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.tool-header {
    padding: 20px;
    background: linear-gradient(135deg, rgba(146, 85, 206, 0.05), rgba(169, 127, 216, 0.08));
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tool-card.featured .tool-header {
    background: linear-gradient(135deg, var(--chy-pr-1), var(--chy-pr-2));
    color: white;
}

.tool-header h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tool-card.featured .tool-header h4 {
    color: white;
}

.badge {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge.free {
    background: rgba(146, 85, 206, 0.15);
    color: var(--chy-pr-1);
}

.badge.premium {
    background: linear-gradient(135deg, var(--chy-pr-1), var(--chy-pr-2));
    color: white;
}

.badge.freemium {
    background: rgba(146, 85, 206, 0.2);
    color: var(--chy-pr-1);
}

.tool-features {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.tool-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    border-bottom: 1px solid #f1f1f1;
}

.tool-features li:last-child {
    border-bottom: none;
}

.tool-features li i {
    color: var(--chy-pr-1);
    font-size: 1rem;
}

/* Optimization Steps */
.optimization-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.step-card {
    padding: 25px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: var(--chy-pr-1);
    transform: translateY(-5px);
}

.step-header {
    margin-bottom: 15px;
}

.step-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--chy-pr-1), var(--chy-pr-2));
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.step-card p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* ROI Formula */
.roi-formula {
    padding: 30px;
    background: linear-gradient(135deg, rgba(146, 85, 206, 0.08), rgba(169, 127, 216, 0.12));
    border-radius: 12px;
}

.formula-box h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--chy-pr-1);
    margin-bottom: 20px;
}

.formula {
    padding: 20px;
    background: white;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 15px;
    font-family: 'Courier New', monospace;
}

.formula-example {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* Key Points */
.key-points {
    padding: 30px;
    background: linear-gradient(135deg, rgba(146, 85, 206, 0.05), rgba(169, 127, 216, 0.08));
    border-left: 5px solid var(--chy-pr-1);
    border-radius: 10px;
}

.key-points h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.key-points h3 i {
    color: var(--chy-pr-1);
}

.points-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.points-list li {
    padding: 12px 0;
    display: flex;
    align-items: start;
    gap: 12px;
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
}

.points-list li i {
    color: var(--chy-pr-1);
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Success Story */
.success-story {
    padding: 35px;
    background: linear-gradient(135deg, rgba(146, 85, 206, 0.1), rgba(169, 127, 216, 0.12));
    border-radius: 12px;
    border: 2px solid rgba(146, 85, 206, 0.3);
}

.story-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.story-header i {
    font-size: 2rem;
    color: var(--chy-pr-1);
}

.story-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.story-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

.story-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.stat-box {
    padding: 20px;
    background: white;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--chy-pr-1);
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
}

/* Conclusion Box */
.conclusion-box {
    padding: 30px;
    background: linear-gradient(135deg, rgba(146, 85, 206, 0.08), rgba(169, 127, 216, 0.12));
    border-left: 5px solid var(--chy-pr-1);
    border-radius: 10px;
}

.conclusion-box h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--chy-pr-1);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.conclusion-box p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.conclusion-box p:last-child {
    margin-bottom: 0;
}

/* Sidebar CTA Box */
.sidebar-cta-box {
    background: linear-gradient(135deg, var(--chy-pr-1), var(--chy-pr-2));
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    color: white;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(var(--chy-pr-1-rgb), 0.3);
}

.sidebar-cta-box::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -30%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.sidebar-cta-box .cta-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 20px;
}

.sidebar-cta-box h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
    line-height: 1.3;
}

.sidebar-cta-box p {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.9;
    line-height: 1.4;
}

.sidebar-cta-box .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--chy-pr-1);
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.sidebar-cta-box .cta-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    color: var(--chy-pr-1);
}

/* CTA Box */
.cta-box {
    padding: 40px;
    background: linear-gradient(135deg, var(--chy-pr-1), var(--chy-pr-2));
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(var(--chy-pr-1-rgb), 0.3);
}

.cta-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 25px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: white;
    color: var(--chy-pr-1);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* Tags & Share */
.blog-details-tag-share-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    background: linear-gradient(135deg, rgba(146, 85, 206, 0.05), rgba(169, 127, 216, 0.08));
    border-radius: 10px;
    flex-wrap: wrap;
    gap: 20px;
}

.blog-details-tag h6,
.blog-details-share h6 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
}

.blog-details-tag {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.blog-details-tag a {
    padding: 8px 16px;
    background: white;
    color: var(--chy-pr-1);
    border: 2px solid var(--chy-pr-1);
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-details-tag a:hover {
    background: var(--chy-pr-1);
    color: white;
}

.blog-details-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.blog-details-share a {
    transition: all 0.3s ease;
}

.blog-details-share a:hover {
    transform: translateY(-3px);
}

/* Sidebar Enhancements */
.blog-sidebar-item,
.sidebar-widget {
    padding: 30px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
}

.blog-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-sidebar-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f1f1;
}

.blog-sidebar-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.blog-sidebar-list .img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.blog-sidebar-list .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-sidebar-list .content {
    flex: 1;
}

.blog-sidebar-list .content .title {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.blog-sidebar-list .content .title a {
    color: #1a1a1a;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.blog-sidebar-list .content .title a:hover {
    color: var(--chy-pr-1);
}

.blog-sidebar-list .content .date {
    font-size: 0.85rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}

.author-box {
    padding: 30px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    text-align: center;
}

.author-avatar {
    font-size: 4rem;
    color: var(--chy-pr-1);
    margin-bottom: 15px;
}

.author-info h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.author-title {
    color: var(--chy-pr-1);
    font-weight: 600;
    margin-bottom: 10px;
}

.author-bio {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.author-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.author-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(146, 85, 206, 0.1), rgba(169, 127, 216, 0.15));
    color: var(--chy-pr-1);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.author-social a:hover {
    background: var(--chy-pr-1);
    color: white;
    transform: translateY(-3px);
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-title i {
    color: var(--chy-pr-1);
}

.quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links li {
    margin-bottom: 12px;
}

.quick-links li a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    text-decoration: none;
    padding: 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.quick-links li a:hover {
    background: linear-gradient(135deg, rgba(146, 85, 206, 0.1), rgba(169, 127, 216, 0.12));
    color: var(--chy-pr-1);
    transform: translateX(5px);
}

.newsletter-box {
    padding: 30px;
    background: linear-gradient(135deg, rgba(146, 85, 206, 0.1), rgba(169, 127, 216, 0.15));
    border-radius: 12px;
    text-align: center;
}

.newsletter-icon {
    font-size: 2.5rem;
    color: var(--chy-pr-1);
    margin-bottom: 15px;
}

.newsletter-box h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.newsletter-box p {
    color: #666;
    margin-bottom: 20px;
}

.newsletter-form input {
    width: 100%;
    padding: 12px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.newsletter-form button {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--chy-pr-1), var(--chy-pr-2));
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(var(--chy-pr-1-rgb), 0.3);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-cloud a {
    padding: 8px 16px;
    background: white;
    color: #666;
    border: 2px solid #e9ecef;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag-cloud a:hover {
    background: var(--chy-pr-1);
    color: white;
    border-color: var(--chy-pr-1);
}

/* Responsive */
@media (max-width: 991px) {
    .blog-main-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .metrics-grid,
    .tools-comparison,
    .optimization-steps {
        grid-template-columns: 1fr;
    }
    
    .blog-details-tag-share-wrap {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .blog-main-title {
        font-size: 1.7rem;
    }
    
    .lead-text {
        font-size: 1rem;
    }
    
    .method-item {
        flex-direction: column;
    }
    
    .story-stats {
        grid-template-columns: 1fr;
    }
    
    .cta-content h3 {
        font-size: 1.4rem;
    }
}

