.seo-page {
    background: var(--bg-primary);
}

.seo-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.seo-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
}

.seo-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0.4;
}

.seo-section:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-color-light);
}

.seo-section h2 {
    margin-bottom: 14px;
    font-size: 1.6rem;
}

.seo-section h3 {
    margin-top: 18px;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.seo-section p,
.seo-section li {
    color: var(--text-secondary);
    line-height: 1.75;
}

.seo-section ul {
    padding-left: 20px;
}

.seo-extra {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.seo-section.expanded .seo-extra {
    max-height: 2000px;
}

.seo-toggle {
    margin-top: 12px;
    border: 1px solid var(--border-color-light);
    border-radius: 999px;
    padding: 8px 14px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

.seo-toggle:hover {
    background: var(--bg-secondary);
}

.seo-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.seo-quick-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px;
}

.seo-quick-card strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.seo-quick-card span {
    font-size: 0.84rem;
    color: var(--text-secondary);
}

.seo-faq-item {
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
    margin-top: 10px;
}

.seo-faq-item:first-of-type {
    margin-top: 6px;
    padding-top: 6px;
    border-top: none;
}

.seo-related {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.seo-related a {
    display: block;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    transition: var(--transition-fast);
}

.seo-related a:hover {
    border-color: var(--border-color-light);
    color: var(--text-primary);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .seo-main {
        padding: 28px 20px 60px;
    }

    .seo-section {
        padding: 22px;
    }

    .seo-section h2 {
        font-size: 1.35rem;
    }

    .seo-related {
        grid-template-columns: 1fr;
    }

    .seo-quick-grid {
        grid-template-columns: 1fr;
    }
}
