/* Blog Post Content Page Styles */

/* Blog Post Header */
.blog-post-header {
    padding: 10rem 0 4rem;
    background: linear-gradient(135deg, #1C0033 0%, #39055A 50%, #1C0033 100%);
    position: relative;
    overflow: hidden;
}

.blog-post-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(139, 66, 251, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.breadcrumb a {
    color: var(--accent-orange);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.breadcrumb a:hover {
    color: #ffffff;
    background: rgba(255, 113, 51, 0.1);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.4);
}

.post-title-main {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1.2;
    max-width: 900px;
}

.post-meta-main {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.meta-item i {
    color: var(--accent-orange);
}

.post-featured-image {
    width: 100%;
    max-width: 1000px;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Blog Post Content */
.blog-post-content {
    padding: 6rem 0;
    background: linear-gradient(180deg, #0a0a15 0%, #1C0033 100%);
    position: relative;
}

.blog-post-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-orange), var(--accent-purple), transparent);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Main Content */
.post-content-main {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3.5rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.post-content-main:hover {
    border-color: rgba(139, 66, 251, 0.3);
    box-shadow: 0 15px 50px rgba(139, 66, 251, 0.1);
}

.post-content-main .lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    padding-left: 1.5rem;
    border-left: 4px solid var(--accent-orange);
}

.post-content-main h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 3.5rem 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(139, 66, 251, 0.3);
    position: relative;
}

.post-content-main h2::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-purple));
}

.post-content-main h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin: 2.5rem 0 1.25rem;
}

.post-content-main h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 2rem 0 1rem;
}

.post-content-main p {
    font-size: 1.075rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.75rem;
    text-align: justify;
}

.post-content-main ul,
.post-content-main ol {
    margin: 1.75rem 0 1.75rem 2rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.85;
}

.post-content-main li {
    margin-bottom: 1rem;
    font-size: 1.075rem;
    position: relative;
    padding-left: 0.5rem;
}

.post-content-main ul li::marker {
    color: var(--accent-orange);
}

.post-content-main ol li::marker {
    color: var(--accent-purple);
    font-weight: 600;
}

.post-content-main li strong {
    color: var(--accent-orange);
}

.post-content-main strong {
    color: #ffffff;
    font-weight: 600;
}

/* Case Study Box */
.case-study-box {
    background: linear-gradient(135deg, rgba(139, 66, 251, 0.15), rgba(255, 107, 53, 0.15));
    border: 1px solid rgba(139, 66, 251, 0.4);
    border-radius: 20px;
    padding: 3rem;
    margin: 3rem 0;
    box-shadow: 0 8px 30px rgba(139, 66, 251, 0.2);
    position: relative;
    overflow: hidden;
}

.case-study-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-orange), var(--accent-purple));
}

.case-study-box h3 {
    color: var(--accent-orange);
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.case-study-box ul {
    margin-left: 1.5rem;
}

.savings-highlight {
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid rgba(16, 185, 129, 0.4);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    text-align: center;
}

.savings-highlight strong {
    color: #10b981;
    font-size: 1.25rem;
    display: block;
    margin: 0.5rem 0;
}

/* Setup Options & Cost Breakdown */
.setup-options,
.cost-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.option-card,
.cost-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.option-card:hover,
.cost-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-orange);
    transform: translateY(-3px);
}

.option-card h4,
.cost-item h4 {
    color: var(--accent-orange);
    margin-top: 0;
    margin-bottom: 1rem;
}

.option-card ul {
    margin-left: 1.25rem;
}

.cost-item p {
    font-size: 1.25rem;
    font-weight: 600;
    color: #10b981;
    margin: 0;
}

/* Code Examples */
.code-example {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(139, 66, 251, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.code-example h4 {
    color: var(--accent-purple);
    margin-top: 0;
}

.code-example blockquote {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--accent-orange);
    padding: 1rem 1.5rem;
    margin: 1rem 0 0 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

/* Automation Flow */
.automation-flow {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.flow-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.flow-step:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-orange);
}

.step-number {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-purple));
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #ffffff;
    flex-shrink: 0;
}

.step-content h4 {
    margin: 0 0 0.5rem 0;
    color: #ffffff;
}

.step-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

/* Language Support Grid */
.language-support {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.language-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.language-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.language-item .flag {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}

.language-item span:last-child {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Sentiment Examples */
.sentiment-examples {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
}

.sentiment-positive,
.sentiment-neutral,
.sentiment-negative {
    padding: 1.25rem;
    border-radius: 12px;
    border-left: 4px solid;
}

.sentiment-positive {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
}

.sentiment-neutral {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
}

.sentiment-negative {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.result-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.result-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-orange);
    transform: translateY(-5px);
}

.result-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.result-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* ROI Calculator */
.roi-calculator {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(59, 130, 246, 0.1));
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: 16px;
    padding: 2.5rem;
    margin: 2.5rem 0;
}

.roi-calculator h3 {
    color: #10b981;
    margin-top: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(139, 66, 251, 0.15), rgba(255, 107, 53, 0.15));
    border: 1px solid rgba(139, 66, 251, 0.4);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    margin: 3rem 0 0;
}

.cta-section h3 {
    font-size: 2rem;
    color: #ffffff;
    margin: 0 0 1rem;
}

.cta-section p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

/* Sidebar */
.post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    position: sticky;
    top: 100px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.sidebar-widget:hover {
    border-color: rgba(139, 66, 251, 0.3);
    box-shadow: 0 12px 40px rgba(139, 66, 251, 0.15);
    transform: translateY(-3px);
}

.sidebar-widget h3 {
    font-size: 1.25rem;
    color: #ffffff;
    margin: 0 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(139, 66, 251, 0.3);
}

.sidebar-widget p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Related Posts */
.related-posts {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.related-post {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-post:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-orange);
    transform: translateX(5px);
}

.related-post img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.related-content h4 {
    font-size: 1rem;
    color: #ffffff;
    margin: 0 0 0.5rem;
    line-height: 1.4;
}

.related-content span {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .post-sidebar {
        order: 2;
    }
    
    .sidebar-widget {
        position: static;
    }
}

@media (max-width: 768px) {
    .blog-post-header {
        padding: 8rem 0 3rem;
    }
    
    .post-title-main {
        font-size: 2.5rem;
    }
    
    .post-meta-main {
        gap: 1rem;
    }
    
    .post-featured-image {
        height: 300px;
    }
    
    .post-content-main {
        padding: 2rem;
    }
    
    .post-content-main h2 {
        font-size: 1.75rem;
    }
    
    .setup-options,
    .cost-breakdown,
    .results-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .blog-post-header {
        padding: 7rem 0 2rem;
    }
    
    .post-title-main {
        font-size: 2rem;
    }
    
    .post-featured-image {
        height: 250px;
    }
    
    .post-content-main {
        padding: 1.5rem;
    }
    
    .post-content-main .lead {
        font-size: 1.1rem;
        padding-left: 1rem;
    }
    
    .case-study-box,
    .cta-section {
        padding: 1.5rem;
    }
    
    .result-number {
        font-size: 2.5rem;
    }
}

/* ============================================
   MOBILE RESPONSIVE STYLES
   ============================================ */

@media (max-width: 768px) {
    /* Blog Post Header */
    .blog-post-header {
        padding: 10rem 1.5rem 4rem !important;
        min-height: 60vh;
    }
    
    .post-header-content {
        padding: 0 1rem;
    }
    
    .post-title-large {
        font-size: 2rem !important;
        line-height: 1.2;
    }
    
    .post-meta-large {
        flex-wrap: wrap;
        gap: 1rem;
        font-size: 0.875rem;
    }
    
    /* Blog Content */
    .blog-post-container {
        grid-template-columns: 1fr !important;
        padding: 0 1rem;
    }
    
    .blog-post-content {
        padding: 2rem 1rem;
        max-width: 100%;
    }
    
    .blog-post-content h2 {
        font-size: 1.75rem;
        margin-top: 2rem;
    }
    
    .blog-post-content h3 {
        font-size: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .blog-post-content p,
    .blog-post-content li {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    /* Sidebar */
    .blog-sidebar {
        position: static !important;
        padding: 2rem 1rem;
        margin-top: 2rem;
    }
    
    .sidebar-section {
        padding: 1.5rem;
    }
    
    /* Case Study Box */
    .case-study-box {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .case-study-header h3 {
        font-size: 1.25rem;
    }
    
    /* ROI Calculator */
    .roi-calculator {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .roi-calculator h3 {
        font-size: 1.25rem;
    }
    
    /* Automation Steps */
    .automation-steps {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .automation-step {
        padding: 1rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .step-content h4 {
        font-size: 1.125rem;
    }
    
    /* Language Grid */
    .language-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    /* Results Grid */
    .results-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    /* Comparison Table */
    .comparison-table {
        overflow-x: auto;
        margin: 1.5rem 0;
    }
    
    .comparison-table table {
        min-width: 600px;
        font-size: 0.875rem;
    }
    
    /* Testimonial Cards */
    .testimonial-card {
        padding: 1.5rem;
    }
    
    /* Related Posts */
    .related-posts {
        padding: 3rem 1rem;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .blog-post-header {
        padding: 7rem 1rem 3rem !important;
    }
    
    .post-title-large {
        font-size: 1.75rem !important;
    }
    
    .blog-post-content {
        padding: 1.5rem 0.5rem;
    }
    
    .blog-post-content h2 {
        font-size: 1.5rem;
    }
    
    .blog-post-content h3 {
        font-size: 1.25rem;
    }
}

