/* Blog Detail Page Styles */
.blog-detail {
    padding: 150px 0 100px;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.blog-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"%3E%3Cpath fill="%236e42ff" fill-opacity="0.05" d="M0,128L48,144C96,160,192,192,288,186.7C384,181,480,139,576,138.7C672,139,768,181,864,181.3C960,181,1056,139,1152,122.7C1248,107,1344,117,1392,122.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"%3E%3C/path%3E%3C/svg%3E');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: -1;
}

/* Futuristic grid pattern overlay */
.blog-detail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(110, 66, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(110, 66, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: -1;
    pointer-events: none;
}

/* Blog Header */
.blog-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.blog-header::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(110, 66, 255, 0.2) 0%, rgba(110, 66, 255, 0) 70%);
    border-radius: 50%;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    animation: pulse 4s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: translateX(-50%) scale(1);
        opacity: 0.5;
    }
    100% {
        transform: translateX(-50%) scale(1.5);
        opacity: 0.2;
    }
}

.blog-header .blog-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(110, 66, 255, 0.5);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.blog-header .blog-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    20% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.blog-header .blog-title {
    font-size: 3.2rem;
    margin-bottom: 30px;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--primary-color) 0%, #9c7aff 50%, #ff61a6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 5px 15px rgba(110, 66, 255, 0.2);
    position: relative;
    display: inline-block;
}

.blog-header .blog-title::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, var(--primary-color) 0%, #9c7aff 50%, #ff61a6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: blur(8px);
    opacity: 0.5;
}

.blog-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    font-size: 0.95rem;
    color: var(--text-light);
    position: relative;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
}

.blog-date {
    display: flex;
    align-items: center;
}

.blog-date i {
    margin-right: 8px;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.blog-author {
    display: flex;
    align-items: center;
    position: relative;
}

.blog-author img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 12px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 10px rgba(110, 66, 255, 0.5);
    transition: transform 0.3s ease;
}

.blog-author:hover img {
    transform: scale(1.1);
}

.blog-share {
    display: flex;
    align-items: center;
    gap: 12px;
}

.blog-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(110, 66, 255, 0.1);
    color: var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.blog-share a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transform: scale(0);
    transition: transform 0.3s ease;
    border-radius: 50%;
    z-index: -1;
}

.blog-share a:hover {
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(110, 66, 255, 0.3);
}

.blog-share a:hover::before {
    transform: scale(1);
}

/* Featured Image */
.blog-featured-image {
    margin-bottom: 50px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    transform: perspective(1000px) rotateX(2deg);
    transition: transform 0.5s ease;
}

.blog-featured-image:hover {
    transform: perspective(1000px) rotateX(0deg);
}

.blog-featured-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(110, 66, 255, 0.3) 0%, rgba(255, 97, 166, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.blog-featured-image:hover::before {
    opacity: 1;
}

.blog-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.blog-featured-image:hover img {
    transform: scale(1.05);
}

/* Content Wrapper */
.blog-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
}

/* Main Content */
.blog-content {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.blog-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(110, 66, 255, 0.05) 0%, rgba(110, 66, 255, 0) 70%);
    z-index: -1;
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.blog-content .lead {
    font-size: 1.3rem;
    line-height: 1.9;
    color: var(--dark-color);
    margin-bottom: 40px;
    font-weight: 500;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--primary-color);
}

.blog-content h2 {
    font-size: 2rem;
    margin: 50px 0 25px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.blog-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.blog-content h2:hover::after {
    width: 100%;
}

.blog-content h3 {
    font-size: 1.5rem;
    margin: 35px 0 20px;
    color: var(--dark-color);
    position: relative;
    padding-left: 15px;
}

.blog-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 3px;
}

.blog-content p {
    margin-bottom: 25px;
    line-height: 1.9;
    color: var(--text-color);
}

.blog-content ul, .blog-content ol {
    margin-bottom: 25px;
    padding-left: 25px;
}

.blog-content li {
    margin-bottom: 12px;
    line-height: 1.7;
    position: relative;
}

.blog-content ul li::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

.blog-content blockquote {
    border-left: none;
    padding: 30px;
    margin: 40px 0;
    background: rgba(110, 66, 255, 0.05);
    font-style: italic;
    color: var(--dark-color);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}

.blog-content blockquote::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: rgba(110, 66, 255, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.blog-content blockquote p {
    margin: 0;
    position: relative;
    z-index: 1;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, #9c7aff 50%, #ff61a6 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    margin-top: 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(110, 66, 255, 0.2);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"%3E%3Cpath fill="%23ffffff" fill-opacity="0.05" d="M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z"%3E%3C/path%3E%3C/svg%3E');
    background-size: 80px 80px;
    z-index: 0;
}

.cta-box h3 {
    color: white;
    margin-top: 0;
    font-size: 1.8rem;
    position: relative;
    z-index: 1;
}

.cta-box .btn {
    background: white;
    color: var(--primary-color);
    margin-top: 20px;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.cta-box .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.1));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: -1;
}

.cta-box .btn:hover {
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cta-box .btn:hover::before {
    transform: translateX(100%);
}

/* Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.sidebar-widget {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.sidebar-widget::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(110, 66, 255, 0.1) 0%, rgba(110, 66, 255, 0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.sidebar-widget h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.sidebar-widget:hover h3::after {
    width: 100%;
}

.recent-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts li {
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 20px;
    transition: transform 0.3s ease;
}

.recent-posts li:hover {
    transform: translateX(5px);
}

.recent-posts li:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.recent-posts a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

.recent-posts a:hover {
    color: var(--primary-color);
}

.recent-posts img {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recent-posts a:hover img {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.recent-posts h4 {
    font-size: 1rem;
    margin: 0 0 8px;
    line-height: 1.4;
    transition: var(--transition);
}

.recent-posts span {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.recent-posts span::before {
    content: '\f017';
    font-family: 'Font Awesome 5 Free';
    margin-right: 5px;
    color: var(--primary-color);
}

.categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories li {
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.categories li:hover {
    transform: translateX(5px);
}

.categories a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    padding: 12px 20px;
    border-radius: 15px;
    background: rgba(110, 66, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.categories a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #9c7aff 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.categories a:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(110, 66, 255, 0.2);
}

.categories a:hover::before {
    opacity: 1;
}

.categories span {
    background: rgba(110, 66, 255, 0.1);
    color: var(--primary-color);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.categories a:hover span {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tags a {
    display: inline-block;
    padding: 8px 15px;
    background: rgba(110, 66, 255, 0.05);
    color: var(--text-color);
    border-radius: 30px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.tags a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #9c7aff 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.tags a:hover {
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(110, 66, 255, 0.2);
}

.tags a:hover::before {
    opacity: 1;
}

.cta-widget {
    background: linear-gradient(135deg, var(--primary-color) 0%, #9c7aff 50%, #ff61a6 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"%3E%3Cpath fill="%23ffffff" fill-opacity="0.05" d="M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z"%3E%3C/path%3E%3C/svg%3E');
    background-size: 80px 80px;
    z-index: 0;
}

.cta-widget {
    background: linear-gradient(135deg, var(--primary-color) 0%, #9c7aff 50%, #ff61a6 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"%3E%3Cpath fill="%23ffffff" fill-opacity="0.05" d="M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z"%3E%3C/path%3E%3C/svg%3E');
    background-size: 80px 80px;
    z-index: 0;
}

.cta-widget h3 {
    color: white;
    margin-top: 0;
    font-size: 1.6rem;
    position: relative;
    z-index: 1;
}

.cta-widget p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.cta-widget .btn {
    background: white;
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    position: relative;
    z-index: 1;
    overflow: hidden;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-widget .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.1));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: -1;
}

.cta-widget .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cta-widget .btn:hover::before {
    transform: translateX(100%);
}

/* Author Bio */
.author-bio {
    display: flex;
    align-items: center;
    gap: 30px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    margin-top: 60px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.author-bio::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(110, 66, 255, 0.1) 0%, rgba(110, 66, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.author-bio img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(110, 66, 255, 0.3);
    transition: transform 0.3s ease;
}

.author-bio:hover img {
    transform: scale(1.05);
}

.author-bio-content {
    flex: 1;
}

.author-bio h3 {
    font-size: 1.6rem;
    margin: 0 0 10px;
    color: var(--dark-color);
}

.author-bio p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: var(--text-color);
}

.author-social {
    display: flex;
    gap: 15px;
}

.author-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(110, 66, 255, 0.1);
    color: var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.author-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transform: scale(0);
    transition: transform 0.3s ease;
    border-radius: 50%;
    z-index: -1;
}

.author-social a:hover {
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(110, 66, 255, 0.3);
}

.author-social a:hover::before {
    transform: scale(1);
}

/* Related Posts */
.related-posts {
    margin-top: 80px;
}

.related-posts h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    text-align: center;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.related-posts h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    border-radius: 3px;
    transition: width 0.3s ease;
    left: 50%;
    transform: translateX(-50%);
}

.related-posts h2:hover::after {
    width: 100px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-post-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.related-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.related-post-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.related-post-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(110, 66, 255, 0.3) 0%, rgba(255, 97, 166, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.related-post-card:hover .related-post-image::before {
    opacity: 1;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.1);
}

.related-post-content {
    padding: 25px;
}

.related-post-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 15px;
    font-weight: 600;
    box-shadow: 0 0 10px rgba(110, 66, 255, 0.3);
}

.related-post-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.related-post-card:hover .related-post-title {
    color: var(--primary-color);
}

.related-post-date {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.related-post-date::before {
    content: '\f017';
    font-family: 'Font Awesome 5 Free';
    margin-right: 5px;
    color: var(--primary-color);
}

/* Comments Section */
.comments-section {
    margin-top: 80px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.comments-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(110, 66, 255, 0.05) 0%, rgba(110, 66, 255, 0) 70%);
    z-index: -1;
}

.comments-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.comments-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.comments-section h2:hover::after {
    width: 100%;
}

.comment {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
    position: relative;
}

.comment:last-child {
    margin-bottom: 0;
}

.comment-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(110, 66, 255, 0.2);
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.comment-author {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
}

.comment-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.comment-text {
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 15px;
}

.comment-reply {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.comment-reply::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.comment-reply:hover::after {
    width: 100%;
}

.comment-reply:hover {
    color: var(--primary-color);
}

.comment-form {
    margin-top: 60px;
}

.comment-form h3 {
    font-size: 1.6rem;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.form-group {
    margin-bottom: 25px;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.5);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(110, 66, 255, 0.1);
    background: white;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #9c7aff 100%);
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: -1;
}

.submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(110, 66, 255, 0.2);
}

.submit-btn:hover::before {
    transform: translateX(100%);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .blog-content-wrapper {
        grid-template-columns: 1.5fr 1fr;
    }
    
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .blog-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .blog-header .blog-title {
        font-size: 2.5rem;
    }
    
    .blog-content {
        padding: 40px 30px;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .author-social {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .blog-detail {
        padding: 120px 0 80px;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 15px;
    }
    
    .blog-header .blog-title {
        font-size: 2rem;
    }
    
    .blog-content h2 {
        font-size: 1.8rem;
    }
    
    .blog-content h3 {
        font-size: 1.4rem;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .comment {
        flex-direction: column;
        gap: 15px;
    }
    
    .comment-avatar {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 576px) {
    .blog-detail {
        padding: 100px 0 60px;
    }
    
    .blog-header .blog-title {
        font-size: 1.8rem;
    }
    
    .blog-content {
        padding: 30px 20px;
    }
    
    .blog-content .lead {
        font-size: 1.1rem;
    }
    
    .blog-content h2 {
        font-size: 1.6rem;
    }
    
    .blog-content h3 {
        font-size: 1.3rem;
    }
    
    .comments-section {
        padding: 30px 20px;
    }
}