/* ========================================
   BLOG POST PAGE STYLES - ALPHA MARKETING AGENCY
   Creative & Modern Design for Marketing Agency
   ======================================== */

/* Fix scrolling for post page */
html,
body {
    overflow-y: visible !important;
    overflow-x: hidden !important;
    height: auto !important;
}

.cd-index {
    height: auto !important;
    overflow: visible !important;
}

#content-scroll {
    position: relative !important;
    height: auto !important;
    overflow: visible !important;
    transform: none !important;
}

#main {
    position: relative !important;
    height: auto !important;
}

/* ========================================
   POST HERO SECTION
   ======================================== */
.post-hero-section {
    position: relative;
    min-height: 100vh;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at top left, rgba(77, 85, 245, 0.3) 0%, transparent 40%),
        radial-gradient(ellipse at bottom right, rgba(219, 131, 57, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at center, rgba(0, 0, 0, 0.5) 0%, transparent 70%);
    animation: gradientShift 20s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.1) rotate(5deg);
    }
}

.particle-field {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 20%, white, transparent);
    background-size: 200% 200%;
    animation: particleMove 30s linear infinite;
    opacity: 0.3;
}

@keyframes particleMove {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #4d55f5, #667eea);
    top: -200px;
    left: -200px;
    animation: float1 20s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #db8339, #f59e0b);
    bottom: -150px;
    right: -150px;
    animation: float2 25s ease-in-out infinite;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #4d55f5, #db8339);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float3 30s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(100px, 50px) rotate(120deg);
    }
    66% {
        transform: translate(-50px, 100px) rotate(240deg);
    }
}

@keyframes float2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(-100px, -50px) rotate(-120deg);
    }
    66% {
        transform: translate(50px, -100px) rotate(-240deg);
    }
}

@keyframes float3 {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    text-align: center;
}

.post-category-badge {
    display: inline-block;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out;
}

.post-category-badge span {
    display: inline-block;
    background: linear-gradient(135deg, #4d55f5, #db8339);
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 10px 30px rgba(77, 85, 245, 0.3);
    position: relative;
    overflow: hidden;
}

.post-category-badge span::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.post-hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.1;
    font-family: 'Playfair Display', serif;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.title-line {
    display: block;
    background: linear-gradient(135deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.post-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.meta-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(77, 85, 245, 0.2);
}

.meta-item i {
    color: #4d55f5;
    font-size: 18px;
}

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

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 80px;
    animation: fadeIn 1s ease-out 0.8s both;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: #4d55f5;
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(20px);
        opacity: 0;
    }
}

.scroll-indicator span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ========================================
   POST CONTENT SECTION
   ======================================== */
.post-content-section {
    padding: 80px 0;
    position: relative;
}

.post-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    align-items: start;
}

/* Main Content Column */
.post-main {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.post-featured-image {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.post-featured-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
}

.post-excerpt {
    padding: 40px;
    background: linear-gradient(135deg, #f8f8f8, #fff);
    border-left: 4px solid #4d55f5;
    margin: 0;
    font-size: 20px;
    line-height: 1.8;
    color: #333;
    font-style: italic;
    font-family: 'Playfair Display', serif;
}

.post-body {
    padding: 40px;
    color: #333;
    line-height: 1.8;
    font-size: 18px;
}

.post-body h2 {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 40px 0 20px;
    font-family: 'Playfair Display', serif;
    position: relative;
    padding-left: 20px;
}

.post-body h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 30px;
    background: linear-gradient(135deg, #4d55f5, #db8339);
    border-radius: 2px;
}

.post-body h3 {
    font-size: 24px;
    font-weight: 700;
    color: #2a2a2a;
    margin: 30px 0 15px;
}

.post-body p {
    margin-bottom: 20px;
}

.post-body ul,
.post-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.post-body li {
    margin-bottom: 10px;
    position: relative;
}

.post-body ul li::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 10px;
    width: 6px;
    height: 6px;
    background: #4d55f5;
    border-radius: 50%;
}

.post-body blockquote {
    background: linear-gradient(135deg, #f8f8f8, #fff);
    border-left: 4px solid #db8339;
    padding: 30px;
    margin: 30px 0;
    font-size: 20px;
    font-style: italic;
    color: #555;
    border-radius: 10px;
    position: relative;
}

.post-body blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 80px;
    color: rgba(219, 131, 57, 0.2);
    font-family: 'Playfair Display', serif;
}

.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

.post-body a {
    color: #4d55f5;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.post-body a:hover {
    border-bottom-color: #4d55f5;
}

/* Post Tags */
.post-tags {
    padding: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    border-top: 1px solid #eee;
}

.post-tags .tag {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #f8f8f8, #fff);
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    color: #666;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.post-tags .tag:hover {
    background: linear-gradient(135deg, #4d55f5, #db8339);
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(77, 85, 245, 0.2);
}

/* Share Section */
.post-share {
    padding: 40px;
    background: linear-gradient(135deg, #f8f8f8, #fff);
    border-top: 1px solid #eee;
}

.post-share h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.share-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.share-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.share-btn:hover::before {
    width: 100%;
    height: 100%;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.copy {
    background: linear-gradient(135deg, #4d55f5, #db8339);
}

.share-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Author Bio */
.author-bio {
    padding: 40px;
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    display: flex;
    gap: 30px;
    align-items: center;
}

.author-image {
    flex-shrink: 0;
}

.author-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #4d55f5;
}

.author-info h4 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.author-role {
    color: #db8339;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.author-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.author-description p {
    color: #777;
}

/* ========================================
   SIDEBAR
   ======================================== */
.post-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.sidebar-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.sidebar-widget h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #4d55f5, #db8339);
    border-radius: 2px;
}

/* Table of Contents */
.toc-nav {
    max-height: 400px;
    overflow-y: auto;
}

.toc-nav::-webkit-scrollbar {
    width: 4px;
}

.toc-nav::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.toc-nav::-webkit-scrollbar-thumb {
    background: #4d55f5;
    border-radius: 2px;
}

.toc-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-nav li {
    margin-bottom: 10px;
}

.toc-nav a {
    color: #666;
    text-decoration: none;
    display: block;
    padding: 8px 15px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.toc-nav a:hover,
.toc-nav a.active {
    color: #4d55f5;
    background: linear-gradient(90deg, rgba(77, 85, 245, 0.1), transparent);
    border-left-color: #4d55f5;
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, #4d55f5, #db8339);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.newsletter-widget::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.widget-icon {
    font-size: 40px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.newsletter-widget h3 {
    color: #fff;
}

.newsletter-widget h3::after {
    background: rgba(255, 255, 255, 0.3);
}

.newsletter-widget p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.newsletter-form {
    position: relative;
    z-index: 2;
}

.newsletter-form input {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form input:focus {
    background: rgba(255, 255, 255, 0.3);
    border-color: #fff;
    outline: none;
}

.newsletter-form button {
    width: 100%;
    padding: 15px;
    background: #fff;
    color: #4d55f5;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Categories Widget */
.categories-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-widget li {
    margin-bottom: 15px;
}

.categories-widget a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: #f8f8f8;
    border-radius: 10px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.categories-widget a:hover {
    background: linear-gradient(135deg, #4d55f5, #db8339);
    color: #fff;
    transform: translateX(5px);
}

.categories-widget .count {
    background: rgba(0, 0, 0, 0.1);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

/* ========================================
   RELATED POSTS SECTION
   ======================================== */
.related-posts-section {
    background: #c8c8c8;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.related-posts-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(77, 85, 245, 0.03) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(219, 131, 57, 0.03) 50%, transparent 70%);
    animation: meshMove 30s linear infinite;
}

@keyframes meshMove {
    0% {
        transform: translateX(-100px) translateY(-100px);
    }
    100% {
        transform: translateX(100px) translateY(100px);
    }
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.section-header p {
    font-size: 18px;
    color: #666;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

.related-post-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.related-post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(77, 85, 245, 0.15);
}

.related-post-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.1) rotate(2deg);
}

.related-post-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #4d55f5, #db8339);
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.related-post-content {
    padding: 30px;
}

.related-post-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.related-post-card:hover .related-post-title {
    color: #4d55f5;
}

.related-post-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.related-post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #999;
    font-size: 14px;
}

.related-post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.related-post-meta i {
    color: #4d55f5;
}

.view-all-posts {
    text-align: center;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 50px;
    background: linear-gradient(135deg, #4d55f5, #db8339);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.view-all-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.view-all-btn:hover::before {
    width: 300px;
    height: 300px;
}

.view-all-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(77, 85, 245, 0.3);
}

.view-all-btn i {
    transition: transform 0.4s ease;
}

.view-all-btn:hover i {
    transform: translateX(5px);
}

/* ========================================
   CTA SECTION
   ======================================== */
.post-cta-section {
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.post-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(77, 85, 245, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(219, 131, 57, 0.2) 0%, transparent 50%);
    animation: nebulaPulse 20s ease-in-out infinite;
}

@keyframes nebulaPulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.cta-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 20px 50px;
    background: linear-gradient(135deg, #4d55f5, #db8339);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(77, 85, 245, 0.4);
}

.cta-button i {
    transition: transform 0.4s ease;
}

.cta-button:hover i {
    transform: translateX(5px);
}

.cta-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.decoration-shape {
    position: absolute;
    width: 600px;
    height: 600px;
    border: 2px solid rgba(77, 85, 245, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotateShape 60s linear infinite;
}

.decoration-shape::before,
.decoration-shape::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(219, 131, 57, 0.1);
    border-radius: 50%;
    top: 0;
    left: 0;
}

.decoration-shape::before {
    transform: scale(0.8);
    animation: rotateShape 40s linear infinite reverse;
}

.decoration-shape::after {
    transform: scale(1.2);
    animation: rotateShape 80s linear infinite;
}

@keyframes rotateShape {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ========================================
   RTL SUPPORT
   ======================================== */
body[dir="rtl"] .post-excerpt {
    border-left: none;
    border-right: 4px solid #4d55f5;
}

body[dir="rtl"] .post-body h2 {
    padding-left: 0;
    padding-right: 20px;
}

body[dir="rtl"] .post-body h2::before {
    left: auto;
    right: 0;
}

body[dir="rtl"] .post-body ul li::before {
    left: auto;
    right: -20px;
}

body[dir="rtl"] .post-body blockquote {
    border-left: none;
    border-right: 4px solid #db8339;
}

body[dir="rtl"] .post-body blockquote::before {
    left: auto;
    right: 20px;
}

body[dir="rtl"] .toc-nav a {
    border-left: none;
    border-right: 3px solid transparent;
    padding-left: 0;
    padding-right: 15px;
}

body[dir="rtl"] .toc-nav a:hover,
body[dir="rtl"] .toc-nav a.active {
    border-right-color: #4d55f5;
    background: linear-gradient(-90deg, rgba(77, 85, 245, 0.1), transparent);
}

body[dir="rtl"] .categories-widget a:hover {
    transform: translateX(-5px);
}

body[dir="rtl"] .related-post-category {
    left: auto;
    right: 20px;
}

body[dir="rtl"] .view-all-btn i,
body[dir="rtl"] .cta-button i {
    transform: rotate(180deg);
}

body[dir="rtl"] .view-all-btn:hover i,
body[dir="rtl"] .cta-button:hover i {
    transform: rotate(180deg) translateX(-5px);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .post-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .post-sidebar {
        position: relative;
        top: 0;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
    
    .related-posts-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .post-hero-section {
        min-height: 60vh;
        padding: 100px 0 60px;
    }
    
    .post-hero-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    
    .post-hero-meta {
        gap: 15px;
    }
    
    .meta-item {
        font-size: 14px;
        padding: 8px 15px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .post-featured-image {
        height: 300px;
    }
    
    .post-excerpt,
    .post-body {
        padding: 25px;
    }
    
    .post-body {
        font-size: 16px;
    }
    
    .post-body h2 {
        font-size: 26px;
    }
    
    .post-body h3 {
        font-size: 20px;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 36px;
    }
    
    .related-posts-grid {
        gap: 30px;
    }
    
    .cta-content h2 {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }
}

@media (max-width: 480px) {
    .post-hero-section {
        min-height: 50vh;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    .post-content-section {
        padding: 40px 0;
    }
    
    .post-main {
        border-radius: 0;
    }
    
    .sidebar-widget {
        border-radius: 15px;
        padding: 20px;
    }
    
    .share-buttons {
        justify-content: center;
    }
    
    .related-post-card {
        border-radius: 15px;
    }
    
    .view-all-btn,
    .cta-button {
        padding: 15px 40px;
        font-size: 16px;
    }
}
