/* Advanced SEO Content Section - Modern Professional Design */

.seo-content-advanced-section {
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 50%, #ffffff 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.seo-content-advanced-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
}

.seo-article-modern {
    max-width: 1200px;
    margin: 0 auto;
}

/* Typography - Professional Hierarchy */
.seo-article-modern h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1e2a44;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #1e2a44 0%, #4051B5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.seo-article-modern h2 {
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 1.3;
    color: #2d3748;
    margin-top: 5rem;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: 1rem;
}

.seo-article-modern h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4051B5, #5a6bc7);
    border-radius: 2px;
}

.seo-article-modern h3 {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.4;
    color: #374151;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1rem;
}

.seo-article-modern h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: linear-gradient(180deg, #4051B5, #5a6bc7);
    border-radius: 2px;
}

.seo-article-modern h4 {
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.5;
    color: #4051B5;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding: 1.25rem 1.75rem;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border-left: 4px solid #4051B5;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Paragraphs */
.seo-article-modern p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.seo-article-modern > p:first-of-type {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #374151;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(64, 81, 181, 0.03) 0%, rgba(90, 107, 199, 0.05) 100%);
    border-radius: 16px;
    border: 1px solid rgba(64, 81, 181, 0.1);
}

/* Links */
.seo-article-modern a {
    color: #4051B5;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.2s ease;
}

.seo-article-modern a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4051B5, #5a6bc7);
    transition: width 0.3s ease;
}

.seo-article-modern a:hover {
    color: #2f3d8f;
}

.seo-article-modern a:hover::after {
    width: 100%;
}

/* Lists - Modern Card Style */
.seo-article-modern ul,
.seo-article-modern ol {
    margin: 2rem 0;
    padding: 0;
    list-style: none;
}

.seo-article-modern ul li,
.seo-article-modern ol li {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 1rem;
    padding: 1rem 1.5rem 1rem 3.5rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    transition: all 0.3s ease;
}

.seo-article-modern ul li::before {
    content: '\2713';
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #4051B5 0%, #5a6bc7 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.seo-article-modern ol li {
    counter-increment: list-counter;
}

.seo-article-modern ol {
    counter-reset: list-counter;
}

.seo-article-modern ol li::before {
    content: counter(list-counter);
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #4051B5 0%, #5a6bc7 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
}

.seo-article-modern ul li:hover,
.seo-article-modern ol li:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 16px rgba(64, 81, 181, 0.15);
}

/* Tables - Premium Design */
.seo-article-modern table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 3rem 0;
    font-size: 0.9375rem;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.seo-article-modern table thead {
    background: linear-gradient(135deg, #4051B5 0%, #5a6bc7 100%);
    color: #ffffff;
}

.seo-article-modern table th {
    padding: 20px 24px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8125rem;
    border: none;
}

.seo-article-modern table th:first-child {
    padding-left: 32px;
}

.seo-article-modern table td {
    padding: 18px 24px;
    color: #4b5563;
    border-bottom: 1px solid #f3f4f6;
}

.seo-article-modern table td:first-child {
    padding-left: 32px;
    font-weight: 600;
    color: #2d3748;
}

.seo-article-modern table tbody tr {
    transition: all 0.2s ease;
}

.seo-article-modern table tbody tr:hover {
    background: linear-gradient(90deg, rgba(64, 81, 181, 0.03) 0%, transparent 100%);
}

.seo-article-modern table tbody tr:last-child td {
    border-bottom: none;
}

/* Blockquotes - Professional Style */
.seo-article-modern blockquote {
    position: relative;
    padding: 2rem 2.5rem 2rem 4rem;
    margin: 3rem 0;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border-left: 5px solid #4051B5;
    border-radius: 0 16px 16px 0;
    font-style: italic;
    color: #374151;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.seo-article-modern blockquote::before {
    content: '"';
    position: absolute;
    left: 1rem;
    top: 1.5rem;
    font-size: 4rem;
    color: rgba(64, 81, 181, 0.15);
    font-family: Georgia, serif;
    line-height: 1;
}

/* Strong/Bold */
.seo-article-modern strong,
.seo-article-modern b {
    font-weight: 600;
    color: #1e2a44;
}

/* Code Blocks - Modern Developer Style */
.seo-article-modern code {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
    font-family: 'Courier New', Consolas, Monaco, monospace;
    font-size: 0.875rem;
    color: #d63384;
    border: 1px solid rgba(214, 51, 132, 0.15);
}

.seo-article-modern pre {
    background: linear-gradient(135deg, #1e2a44 0%, #2d3748 100%);
    color: #f9fafb;
    padding: 2rem;
    border-radius: 16px;
    overflow-x: auto;
    margin: 2.5rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.seo-article-modern pre code {
    background: none;
    padding: 0;
    color: #f9fafb;
    border: none;
}

/* Italics - Transition Hints */
.seo-article-modern em {
    font-style: italic;
    color: #6b7280;
    display: block;
    text-align: center;
    margin: 2rem 0;
    font-size: 0.9375rem;
}

/* Special Formatting for Suggested Content */
.seo-article-modern p em:only-child {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(64, 81, 181, 0.05) 0%, rgba(90, 107, 199, 0.08) 100%);
    border-radius: 12px;
    border: 1px dashed rgba(64, 81, 181, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .seo-article-modern h1 {
        font-size: 2.5rem;
    }

    .seo-article-modern h2 {
        font-size: 2rem;
    }

    .seo-article-modern h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .seo-content-advanced-section {
        padding: 60px 0;
    }

    .seo-article-modern h1 {
        font-size: 2rem;
    }

    .seo-article-modern h2 {
        font-size: 1.75rem;
        margin-top: 3.5rem;
    }

    .seo-article-modern h3 {
        font-size: 1.375rem;
    }

    .seo-article-modern h4 {
        font-size: 1.125rem;
        padding: 1rem 1.25rem;
    }

    .seo-article-modern ul li,
    .seo-article-modern ol li {
        padding: 0.875rem 1.25rem 0.875rem 3rem;
    }

    .seo-article-modern table {
        font-size: 0.875rem;
    }

    .seo-article-modern table th,
    .seo-article-modern table td {
        padding: 14px 16px;
    }

    .seo-article-modern table th:first-child,
    .seo-article-modern table td:first-child {
        padding-left: 20px;
    }

    .seo-article-modern blockquote {
        padding: 1.5rem 1.5rem 1.5rem 3.5rem;
    }
}

@media (max-width: 480px) {
    .seo-content-advanced-section {
        padding: 40px 0;
    }

    .seo-article-modern h1 {
        font-size: 1.75rem;
    }

    .seo-article-modern h2 {
        font-size: 1.5rem;
    }

    .seo-article-modern > p:first-of-type {
        font-size: 1.0625rem;
        padding: 1.5rem;
    }

    .seo-article-modern ul li,
    .seo-article-modern ol li {
        font-size: 1rem;
        padding: 0.75rem 1rem 0.75rem 2.75rem;
    }

    .seo-article-modern table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
}

/* Accessibility */
.seo-article-modern :focus {
    outline: 3px solid rgba(64, 81, 181, 0.5);
    outline-offset: 3px;
    border-radius: 4px;
}

.seo-article-modern img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 3rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* Print Styles */
@media print {
    .seo-content-advanced-section {
        background: #ffffff;
    }

    .seo-article-modern {
        box-shadow: none;
    }

    .seo-article-modern h1,
    .seo-article-modern h2,
    .seo-article-modern h3 {
        -webkit-text-fill-color: #1e2a44;
        color: #1e2a44;
    }
}

/* Animation on Scroll (Optional Enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .seo-article-modern h2,
    .seo-article-modern h3,
    .seo-article-modern table,
    .seo-article-modern blockquote {
        opacity: 0;
        animation: fadeInUp 0.6s ease forwards;
    }

    .seo-article-modern h2 {
        animation-delay: 0.1s;
    }

    .seo-article-modern h3 {
        animation-delay: 0.2s;
    }

    .seo-article-modern table {
        animation-delay: 0.3s;
    }

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