.elementor-5644 .elementor-element.elementor-element-24dd993{--display:flex;}/* Start custom CSS *//* ===== ARTICLE HERO WITH TITLE ===== */
.article-hero {
    text-align: center;
    padding: 3rem 1rem 2rem;
    margin-bottom: 0;
}

.article-hero__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.article-hero__date {
    color: #6c757d;
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
}

.article-hero + .hero-image-section {
    margin-top: 0;
}
.article {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    max-width: 100%;
    margin: 0 auto;
}

.article-intro {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: #495057;
}

.intro-text {
    font-weight: 500;
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.hero-image-section {
    margin: 3rem 0;
    text-align: center;
}

.hero-figure {
    margin: 0;
    display: inline-block;
    max-width: 100%;
}

.hero-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: translateY(-5px);
}

.hero-figure figcaption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #6c757d;
    font-style: italic;
}

.interface-showcase {
    margin: 2rem 0;
    text-align: center;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
}

.interface-figure {
    margin: 0;
    display: inline-block;
    max-width: 100%;
}

.interface-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.interface-image:hover {
    transform: scale(1.02);
}

.interface-figure figcaption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #495057;
    font-style: italic;
}

.benchmark-showcase {
    margin: 2rem 0;
    text-align: center;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.benchmark-figure {
    margin: 0;
    display: inline-block;
    max-width: 100%;
}

.benchmark-image {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    background: white;
    padding: 1rem;
}

.benchmark-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.benchmark-figure figcaption {
    margin-top: 1.5rem;
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 500;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.content-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.subsection-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 2rem 0 1rem;
}

.highlight-box {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
    border-left: 4px solid #667eea;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.1);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    position: relative;
    padding: 0.5rem 0 0.5rem 2rem;
    margin-bottom: 0.5rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: #28a745;
    font-weight: bold;
    font-size: 1.1rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.pricing-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #667eea;
}

.pricing-card.featured {
    border-color: #667eea;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #667eea;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 1rem;
}

.price-period {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 400;
}

.pricing-description {
    color: #495057;
    line-height: 1.6;
}

.pricing-details {
    list-style: none;
    padding: 0;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.pricing-details li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.pricing-details li:last-child {
    border-bottom: none;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.9rem;
}

.comparison-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    white-space: nowrap;
}

.comparison-table tr:hover {
    background-color: #f8f9fa;
}

.comparison-table .highlight {
    background-color: #e8f5e8;
    font-weight: 600;
    color: #155724;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.application-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    text-align: center;
}

.application-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #667eea;
}

.application-card h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 2rem 0;
}

.cta-section p {
    margin: 0;
    font-size: 1.1rem;
}

.conclusion-cta {
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 2rem 0;
    font-style: italic;
}

.internal-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.internal-link:hover {
    border-bottom-color: #667eea;
    color: #5a67d8;
}

.external-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
    display: inline-block;
}

.external-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Fix visibility for external links inside CTA sections */
.cta-section .external-link {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-section .external-link:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .grok4-article {
        padding: 0 1rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        font-size: 0.8rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem;
    }
    
    .applications-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth scrolling and improved readability */
html {
    scroll-behavior: smooth;
}

p {
    margin-bottom: 1.2rem;
}

strong {
    color: #2c3e50;
}

/* Focus states for accessibility */
.internal-link:focus,
.external-link:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}/* End custom CSS */